@neiltron/session-visualizer 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +92 -0
- package/bin/session-visualizer.js +1371 -0
- package/dist/assets/index-CDAS4q4l.css +1 -0
- package/dist/assets/index-JUkOHAxs.js +77 -0
- package/dist/index.html +13 -0
- package/package.json +67 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const h of s)if(h.type==="childList")for(const f of h.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function u(s){const h={};return s.integrity&&(h.integrity=s.integrity),s.referrerPolicy&&(h.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?h.credentials="include":s.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function r(s){if(s.ep)return;s.ep=!0;const h=u(s);fetch(s.href,h)}})();function pr(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Bc={exports:{}},ba={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Ud;function h0(){if(Ud)return ba;Ud=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function u(r,s,h){var f=null;if(h!==void 0&&(f=""+h),s.key!==void 0&&(f=""+s.key),"key"in s){h={};for(var d in s)d!=="key"&&(h[d]=s[d])}else h=s;return s=h.ref,{$$typeof:n,type:r,key:f,ref:s!==void 0?s:null,props:h}}return ba.Fragment=a,ba.jsx=u,ba.jsxs=u,ba}var Hd;function m0(){return Hd||(Hd=1,Bc.exports=h0()),Bc.exports}var k=m0(),Uc={exports:{}},pt={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var qd;function d0(){if(qd)return pt;qd=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),S=Symbol.iterator;function x(z){return z===null||typeof z!="object"?null:(z=S&&z[S]||z["@@iterator"],typeof z=="function"?z:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,H={};function D(z,Y,E){this.props=z,this.context=Y,this.refs=H,this.updater=E||w}D.prototype.isReactComponent={},D.prototype.setState=function(z,Y){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,Y,"setState")},D.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function K(){}K.prototype=D.prototype;function Q(z,Y,E){this.props=z,this.context=Y,this.refs=H,this.updater=E||w}var ut=Q.prototype=new K;ut.constructor=Q,R(ut,D.prototype),ut.isPureReactComponent=!0;var rt=Array.isArray;function U(){}var W={H:null,A:null,T:null,S:null},st=Object.prototype.hasOwnProperty;function F(z,Y,E){var et=E.ref;return{$$typeof:n,type:z,key:Y,ref:et!==void 0?et:null,props:E}}function j(z,Y){return F(z.type,Y,z.props)}function P(z){return typeof z=="object"&&z!==null&&z.$$typeof===n}function tt(z){var Y={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(E){return Y[E]})}var bt=/\/+/g;function it(z,Y){return typeof z=="object"&&z!==null&&z.key!=null?tt(""+z.key):Y.toString(36)}function I(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(U,U):(z.status="pending",z.then(function(Y){z.status==="pending"&&(z.status="fulfilled",z.value=Y)},function(Y){z.status==="pending"&&(z.status="rejected",z.reason=Y)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function _(z,Y,E,et,mt){var ot=typeof z;(ot==="undefined"||ot==="boolean")&&(z=null);var zt=!1;if(z===null)zt=!0;else switch(ot){case"bigint":case"string":case"number":zt=!0;break;case"object":switch(z.$$typeof){case n:case a:zt=!0;break;case b:return zt=z._init,_(zt(z._payload),Y,E,et,mt)}}if(zt)return mt=mt(z),zt=et===""?"."+it(z,0):et,rt(mt)?(E="",zt!=null&&(E=zt.replace(bt,"$&/")+"/"),_(mt,Y,E,"",function(Ye){return Ye})):mt!=null&&(P(mt)&&(mt=j(mt,E+(mt.key==null||z&&z.key===mt.key?"":(""+mt.key).replace(bt,"$&/")+"/")+zt)),Y.push(mt)),1;zt=0;var Kt=et===""?".":et+":";if(rt(z))for(var Bt=0;Bt<z.length;Bt++)et=z[Bt],ot=Kt+it(et,Bt),zt+=_(et,Y,E,ot,mt);else if(Bt=x(z),typeof Bt=="function")for(z=Bt.call(z),Bt=0;!(et=z.next()).done;)et=et.value,ot=Kt+it(et,Bt++),zt+=_(et,Y,E,ot,mt);else if(ot==="object"){if(typeof z.then=="function")return _(I(z),Y,E,et,mt);throw Y=String(z),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return zt}function G(z,Y,E){if(z==null)return z;var et=[],mt=0;return _(z,et,"","",function(ot){return Y.call(E,ot,mt++)}),et}function nt(z){if(z._status===-1){var Y=z._result;Y=Y(),Y.then(function(E){(z._status===0||z._status===-1)&&(z._status=1,z._result=E)},function(E){(z._status===0||z._status===-1)&&(z._status=2,z._result=E)}),z._status===-1&&(z._status=0,z._result=Y)}if(z._status===1)return z._result.default;throw z._result}var gt=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},T={map:G,forEach:function(z,Y,E){G(z,function(){Y.apply(this,arguments)},E)},count:function(z){var Y=0;return G(z,function(){Y++}),Y},toArray:function(z){return G(z,function(Y){return Y})||[]},only:function(z){if(!P(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return pt.Activity=y,pt.Children=T,pt.Component=D,pt.Fragment=u,pt.Profiler=s,pt.PureComponent=Q,pt.StrictMode=r,pt.Suspense=p,pt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,pt.__COMPILER_RUNTIME={__proto__:null,c:function(z){return W.H.useMemoCache(z)}},pt.cache=function(z){return function(){return z.apply(null,arguments)}},pt.cacheSignal=function(){return null},pt.cloneElement=function(z,Y,E){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var et=R({},z.props),mt=z.key;if(Y!=null)for(ot in Y.key!==void 0&&(mt=""+Y.key),Y)!st.call(Y,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&Y.ref===void 0||(et[ot]=Y[ot]);var ot=arguments.length-2;if(ot===1)et.children=E;else if(1<ot){for(var zt=Array(ot),Kt=0;Kt<ot;Kt++)zt[Kt]=arguments[Kt+2];et.children=zt}return F(z.type,mt,et)},pt.createContext=function(z){return z={$$typeof:f,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:h,_context:z},z},pt.createElement=function(z,Y,E){var et,mt={},ot=null;if(Y!=null)for(et in Y.key!==void 0&&(ot=""+Y.key),Y)st.call(Y,et)&&et!=="key"&&et!=="__self"&&et!=="__source"&&(mt[et]=Y[et]);var zt=arguments.length-2;if(zt===1)mt.children=E;else if(1<zt){for(var Kt=Array(zt),Bt=0;Bt<zt;Bt++)Kt[Bt]=arguments[Bt+2];mt.children=Kt}if(z&&z.defaultProps)for(et in zt=z.defaultProps,zt)mt[et]===void 0&&(mt[et]=zt[et]);return F(z,ot,mt)},pt.createRef=function(){return{current:null}},pt.forwardRef=function(z){return{$$typeof:d,render:z}},pt.isValidElement=P,pt.lazy=function(z){return{$$typeof:b,_payload:{_status:-1,_result:z},_init:nt}},pt.memo=function(z,Y){return{$$typeof:m,type:z,compare:Y===void 0?null:Y}},pt.startTransition=function(z){var Y=W.T,E={};W.T=E;try{var et=z(),mt=W.S;mt!==null&&mt(E,et),typeof et=="object"&&et!==null&&typeof et.then=="function"&&et.then(U,gt)}catch(ot){gt(ot)}finally{Y!==null&&E.types!==null&&(Y.types=E.types),W.T=Y}},pt.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},pt.use=function(z){return W.H.use(z)},pt.useActionState=function(z,Y,E){return W.H.useActionState(z,Y,E)},pt.useCallback=function(z,Y){return W.H.useCallback(z,Y)},pt.useContext=function(z){return W.H.useContext(z)},pt.useDebugValue=function(){},pt.useDeferredValue=function(z,Y){return W.H.useDeferredValue(z,Y)},pt.useEffect=function(z,Y){return W.H.useEffect(z,Y)},pt.useEffectEvent=function(z){return W.H.useEffectEvent(z)},pt.useId=function(){return W.H.useId()},pt.useImperativeHandle=function(z,Y,E){return W.H.useImperativeHandle(z,Y,E)},pt.useInsertionEffect=function(z,Y){return W.H.useInsertionEffect(z,Y)},pt.useLayoutEffect=function(z,Y){return W.H.useLayoutEffect(z,Y)},pt.useMemo=function(z,Y){return W.H.useMemo(z,Y)},pt.useOptimistic=function(z,Y){return W.H.useOptimistic(z,Y)},pt.useReducer=function(z,Y,E){return W.H.useReducer(z,Y,E)},pt.useRef=function(z){return W.H.useRef(z)},pt.useState=function(z){return W.H.useState(z)},pt.useSyncExternalStore=function(z,Y,E){return W.H.useSyncExternalStore(z,Y,E)},pt.useTransition=function(){return W.H.useTransition()},pt.version="19.2.4",pt}var Yd;function Es(){return Yd||(Yd=1,Uc.exports=d0()),Uc.exports}var St=Es();const p0=pr(St);var Hc={exports:{}},va={},qc={exports:{}},Yc={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var Vd;function g0(){return Vd||(Vd=1,(function(n){function a(_,G){var nt=_.length;_.push(G);t:for(;0<nt;){var gt=nt-1>>>1,T=_[gt];if(0<s(T,G))_[gt]=G,_[nt]=T,nt=gt;else break t}}function u(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var G=_[0],nt=_.pop();if(nt!==G){_[0]=nt;t:for(var gt=0,T=_.length,z=T>>>1;gt<z;){var Y=2*(gt+1)-1,E=_[Y],et=Y+1,mt=_[et];if(0>s(E,nt))et<T&&0>s(mt,E)?(_[gt]=mt,_[et]=nt,gt=et):(_[gt]=E,_[Y]=nt,gt=Y);else if(et<T&&0>s(mt,nt))_[gt]=mt,_[et]=nt,gt=et;else break t}}return G}function s(_,G){var nt=_.sortIndex-G.sortIndex;return nt!==0?nt:_.id-G.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;n.unstable_now=function(){return h.now()}}else{var f=Date,d=f.now();n.unstable_now=function(){return f.now()-d}}var p=[],m=[],b=1,y=null,S=3,x=!1,w=!1,R=!1,H=!1,D=typeof setTimeout=="function"?setTimeout:null,K=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function ut(_){for(var G=u(m);G!==null;){if(G.callback===null)r(m);else if(G.startTime<=_)r(m),G.sortIndex=G.expirationTime,a(p,G);else break;G=u(m)}}function rt(_){if(R=!1,ut(_),!w)if(u(p)!==null)w=!0,U||(U=!0,tt());else{var G=u(m);G!==null&&I(rt,G.startTime-_)}}var U=!1,W=-1,st=5,F=-1;function j(){return H?!0:!(n.unstable_now()-F<st)}function P(){if(H=!1,U){var _=n.unstable_now();F=_;var G=!0;try{t:{w=!1,R&&(R=!1,K(W),W=-1),x=!0;var nt=S;try{e:{for(ut(_),y=u(p);y!==null&&!(y.expirationTime>_&&j());){var gt=y.callback;if(typeof gt=="function"){y.callback=null,S=y.priorityLevel;var T=gt(y.expirationTime<=_);if(_=n.unstable_now(),typeof T=="function"){y.callback=T,ut(_),G=!0;break e}y===u(p)&&r(p),ut(_)}else r(p);y=u(p)}if(y!==null)G=!0;else{var z=u(m);z!==null&&I(rt,z.startTime-_),G=!1}}break t}finally{y=null,S=nt,x=!1}G=void 0}}finally{G?tt():U=!1}}}var tt;if(typeof Q=="function")tt=function(){Q(P)};else if(typeof MessageChannel<"u"){var bt=new MessageChannel,it=bt.port2;bt.port1.onmessage=P,tt=function(){it.postMessage(null)}}else tt=function(){D(P,0)};function I(_,G){W=D(function(){_(n.unstable_now())},G)}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(_){_.callback=null},n.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):st=0<_?Math.floor(1e3/_):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_next=function(_){switch(S){case 1:case 2:case 3:var G=3;break;default:G=S}var nt=S;S=G;try{return _()}finally{S=nt}},n.unstable_requestPaint=function(){H=!0},n.unstable_runWithPriority=function(_,G){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var nt=S;S=_;try{return G()}finally{S=nt}},n.unstable_scheduleCallback=function(_,G,nt){var gt=n.unstable_now();switch(typeof nt=="object"&&nt!==null?(nt=nt.delay,nt=typeof nt=="number"&&0<nt?gt+nt:gt):nt=gt,_){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=nt+T,_={id:b++,callback:G,priorityLevel:_,startTime:nt,expirationTime:T,sortIndex:-1},nt>gt?(_.sortIndex=nt,a(m,_),u(p)===null&&_===u(m)&&(R?(K(W),W=-1):R=!0,I(rt,nt-gt))):(_.sortIndex=T,a(p,_),w||x||(w=!0,U||(U=!0,tt()))),_},n.unstable_shouldYield=j,n.unstable_wrapCallback=function(_){var G=S;return function(){var nt=S;S=G;try{return _.apply(this,arguments)}finally{S=nt}}}})(Yc)),Yc}var Xd;function y0(){return Xd||(Xd=1,qc.exports=g0()),qc.exports}var Vc={exports:{}},de={};/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var Gd;function b0(){if(Gd)return de;Gd=1;var n=Es();function a(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)m+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var r={d:{f:u,r:function(){throw Error(a(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},s=Symbol.for("react.portal");function h(p,m,b){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:y==null?null:""+y,children:p,containerInfo:m,implementation:b}}var f=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return de.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,de.createPortal=function(p,m){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(a(299));return h(p,m,null,b)},de.flushSync=function(p){var m=f.T,b=r.p;try{if(f.T=null,r.p=2,p)return p()}finally{f.T=m,r.p=b,r.d.f()}},de.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(p,m))},de.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},de.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var b=m.as,y=d(b,m.crossOrigin),S=typeof m.integrity=="string"?m.integrity:void 0,x=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;b==="style"?r.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:y,integrity:S,fetchPriority:x}):b==="script"&&r.d.X(p,{crossOrigin:y,integrity:S,fetchPriority:x,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},de.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var b=d(m.as,m.crossOrigin);r.d.M(p,{crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(p)},de.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var b=m.as,y=d(b,m.crossOrigin);r.d.L(p,b,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},de.preloadModule=function(p,m){if(typeof p=="string")if(m){var b=d(m.as,m.crossOrigin);r.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(p)},de.requestFormReset=function(p){r.d.r(p)},de.unstable_batchedUpdates=function(p,m){return p(m)},de.useFormState=function(p,m,b){return f.H.useFormState(p,m,b)},de.useFormStatus=function(){return f.H.useHostTransitionStatus()},de.version="19.2.4",de}var Qd;function v0(){if(Qd)return Vc.exports;Qd=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(),Vc.exports=b0(),Vc.exports}/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var Zd;function x0(){if(Zd)return va;Zd=1;var n=y0(),a=Es(),u=v0();function r(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function h(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function f(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function d(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(h(t)!==t)throw Error(r(188))}function m(t){var e=t.alternate;if(!e){if(e=h(t),e===null)throw Error(r(188));return e!==t?null:t}for(var l=t,i=e;;){var o=l.return;if(o===null)break;var c=o.alternate;if(c===null){if(i=o.return,i!==null){l=i;continue}break}if(o.child===c.child){for(c=o.child;c;){if(c===l)return p(o),t;if(c===i)return p(o),e;c=c.sibling}throw Error(r(188))}if(l.return!==i.return)l=o,i=c;else{for(var g=!1,v=o.child;v;){if(v===l){g=!0,l=o,i=c;break}if(v===i){g=!0,i=o,l=c;break}v=v.sibling}if(!g){for(v=c.child;v;){if(v===l){g=!0,l=c,i=o;break}if(v===i){g=!0,i=c,l=o;break}v=v.sibling}if(!g)throw Error(r(189))}}if(l.alternate!==i)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?t:e}function b(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=b(t),e!==null)return e;t=t.sibling}return null}var y=Object.assign,S=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),K=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),ut=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),st=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),j=Symbol.for("react.memo_cache_sentinel"),P=Symbol.iterator;function tt(t){return t===null||typeof t!="object"?null:(t=P&&t[P]||t["@@iterator"],typeof t=="function"?t:null)}var bt=Symbol.for("react.client.reference");function it(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===bt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case R:return"Fragment";case D:return"Profiler";case H:return"StrictMode";case rt:return"Suspense";case U:return"SuspenseList";case F:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case w:return"Portal";case Q:return t.displayName||"Context";case K:return(t._context.displayName||"Context")+".Consumer";case ut:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case W:return e=t.displayName||null,e!==null?e:it(t.type)||"Memo";case st:e=t._payload,t=t._init;try{return it(t(e))}catch{}}return null}var I=Array.isArray,_=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,nt={pending:!1,data:null,method:null,action:null},gt=[],T=-1;function z(t){return{current:t}}function Y(t){0>T||(t.current=gt[T],gt[T]=null,T--)}function E(t,e){T++,gt[T]=t.current,t.current=e}var et=z(null),mt=z(null),ot=z(null),zt=z(null);function Kt(t,e){switch(E(ot,e),E(mt,t),E(et,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?rd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=rd(e),t=od(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y(et),E(et,t)}function Bt(){Y(et),Y(mt),Y(ot)}function Ye(t){t.memoizedState!==null&&E(zt,t);var e=et.current,l=od(e,t.type);e!==l&&(E(mt,t),E(et,l))}function fn(t){mt.current===t&&(Y(et),Y(mt)),zt.current===t&&(Y(zt),da._currentValue=nt)}var Ai,ja;function hn(t){if(Ai===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);Ai=e&&e[1]||"",ja=-1<l.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+Ai+t+ja}var Ml=!1;function _l(t,e){if(!t||Ml)return"";Ml=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(B){var L=B}Reflect.construct(t,[],Z)}else{try{Z.call()}catch(B){L=B}t.call(Z.prototype)}}else{try{throw Error()}catch(B){L=B}(Z=t())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(B){if(B&&L&&typeof B.stack=="string")return[B.stack,L.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=i.DetermineComponentFrameRoot(),g=c[0],v=c[1];if(g&&v){var A=g.split(`
|
|
44
|
+
`),N=v.split(`
|
|
45
|
+
`);for(o=i=0;i<A.length&&!A[i].includes("DetermineComponentFrameRoot");)i++;for(;o<N.length&&!N[o].includes("DetermineComponentFrameRoot");)o++;if(i===A.length||o===N.length)for(i=A.length-1,o=N.length-1;1<=i&&0<=o&&A[i]!==N[o];)o--;for(;1<=i&&0<=o;i--,o--)if(A[i]!==N[o]){if(i!==1||o!==1)do if(i--,o--,0>o||A[i]!==N[o]){var q=`
|
|
46
|
+
`+A[i].replace(" at new "," at ");return t.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",t.displayName)),q}while(1<=i&&0<=o);break}}}finally{Ml=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?hn(l):""}function La(t,e){switch(t.tag){case 26:case 27:case 5:return hn(t.type);case 16:return hn("Lazy");case 13:return t.child!==e&&e!==null?hn("Suspense Fallback"):hn("Suspense");case 19:return hn("SuspenseList");case 0:case 15:return _l(t.type,!1);case 11:return _l(t.type.render,!1);case 1:return _l(t.type,!0);case 31:return hn("Activity");default:return""}}function Ba(t){try{var e="",l=null;do e+=La(t,l),l=t,t=t.return;while(t);return e}catch(i){return`
|
|
47
|
+
Error generating stack: `+i.message+`
|
|
48
|
+
`+i.stack}}var Dl=Object.prototype.hasOwnProperty,Ol=n.unstable_scheduleCallback,zi=n.unstable_cancelCallback,Sr=n.unstable_shouldYield,Er=n.unstable_requestPaint,ye=n.unstable_now,Tr=n.unstable_getCurrentPriorityLevel,V=n.unstable_ImmediatePriority,$=n.unstable_UserBlockingPriority,dt=n.unstable_NormalPriority,Et=n.unstable_LowPriority,Rt=n.unstable_IdlePriority,De=n.log,mn=n.unstable_setDisableYieldValue,be=null,ae=null;function Se(t){if(typeof De=="function"&&mn(t),ae&&typeof ae.setStrictMode=="function")try{ae.setStrictMode(be,t)}catch{}}var Yt=Math.clz32?Math.clz32:Wg,Rn=Math.log,Pe=Math.LN2;function Wg(t){return t>>>=0,t===0?32:31-(Rn(t)/Pe|0)|0}var Ua=256,Ha=262144,qa=4194304;function rl(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ya(t,e,l){var i=t.pendingLanes;if(i===0)return 0;var o=0,c=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var v=i&134217727;return v!==0?(i=v&~c,i!==0?o=rl(i):(g&=v,g!==0?o=rl(g):l||(l=v&~t,l!==0&&(o=rl(l))))):(v=i&~c,v!==0?o=rl(v):g!==0?o=rl(g):l||(l=i&~t,l!==0&&(o=rl(l)))),o===0?0:e!==0&&e!==o&&(e&c)===0&&(c=o&-o,l=e&-e,c>=l||c===32&&(l&4194048)!==0)?e:o}function Ci(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Pg(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ys(){var t=qa;return qa<<=1,(qa&62914560)===0&&(qa=4194304),t}function kr(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function wi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function ty(t,e,l,i,o,c){var g=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var v=t.entanglements,A=t.expirationTimes,N=t.hiddenUpdates;for(l=g&~l;0<l;){var q=31-Yt(l),Z=1<<q;v[q]=0,A[q]=-1;var L=N[q];if(L!==null)for(N[q]=null,q=0;q<L.length;q++){var B=L[q];B!==null&&(B.lane&=-536870913)}l&=~Z}i!==0&&Vs(t,i,0),c!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=c&~(g&~e))}function Vs(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-Yt(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|l&261930}function Xs(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var i=31-Yt(l),o=1<<i;o&e|t[i]&e&&(t[i]|=e),l&=~o}}function Gs(t,e){var l=e&-e;return l=(l&42)!==0?1:Ar(l),(l&(t.suspendedLanes|e))!==0?0:l}function Ar(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function zr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Qs(){var t=G.p;return t!==0?t:(t=window.event,t===void 0?32:Dd(t.type))}function Zs(t,e){var l=G.p;try{return G.p=t,e()}finally{G.p=l}}var jn=Math.random().toString(36).slice(2),ce="__reactFiber$"+jn,Ee="__reactProps$"+jn,Nl="__reactContainer$"+jn,Cr="__reactEvents$"+jn,ey="__reactListeners$"+jn,ny="__reactHandles$"+jn,Ks="__reactResources$"+jn,Mi="__reactMarker$"+jn;function wr(t){delete t[ce],delete t[Ee],delete t[Cr],delete t[ey],delete t[ny]}function Rl(t){var e=t[ce];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Nl]||l[ce]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=pd(t);t!==null;){if(l=t[ce])return l;t=pd(t)}return e}t=l,l=t.parentNode}return null}function jl(t){if(t=t[ce]||t[Nl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function _i(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function Ll(t){var e=t[Ks];return e||(e=t[Ks]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function re(t){t[Mi]=!0}var Js=new Set,Fs={};function ol(t,e){Bl(t,e),Bl(t+"Capture",e)}function Bl(t,e){for(Fs[t]=e,t=0;t<e.length;t++)Js.add(e[t])}var ly=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]*$"),Is={},$s={};function iy(t){return Dl.call($s,t)?!0:Dl.call(Is,t)?!1:ly.test(t)?$s[t]=!0:(Is[t]=!0,!1)}function Va(t,e,l){if(iy(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function Xa(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function dn(t,e,l,i){if(i===null)t.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+i)}}function Ve(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ws(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function ay(t,e,l){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,c=i.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(g){l=""+g,c.call(this,g)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return l},setValue:function(g){l=""+g},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Mr(t){if(!t._valueTracker){var e=Ws(t)?"checked":"value";t._valueTracker=ay(t,e,""+t[e])}}function Ps(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),i="";return t&&(i=Ws(t)?t.checked?"true":"false":t.value),t=i,t!==l?(e.setValue(t),!0):!1}function Ga(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var uy=/[\n"\\]/g;function Xe(t){return t.replace(uy,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function _r(t,e,l,i,o,c,g,v){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.type=g:t.removeAttribute("type"),e!=null?g==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ve(e)):t.value!==""+Ve(e)&&(t.value=""+Ve(e)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),e!=null?Dr(t,g,Ve(e)):l!=null?Dr(t,g,Ve(l)):i!=null&&t.removeAttribute("value"),o==null&&c!=null&&(t.defaultChecked=!!c),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+Ve(v):t.removeAttribute("name")}function tf(t,e,l,i,o,c,g,v){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||l!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){Mr(t);return}l=l!=null?""+Ve(l):"",e=e!=null?""+Ve(e):l,v||e===t.value||(t.value=e),t.defaultValue=e}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=v?t.checked:!!i,t.defaultChecked=!!i,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.name=g),Mr(t)}function Dr(t,e,l){e==="number"&&Ga(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Ul(t,e,l,i){if(t=t.options,e){e={};for(var o=0;o<l.length;o++)e["$"+l[o]]=!0;for(l=0;l<t.length;l++)o=e.hasOwnProperty("$"+t[l].value),t[l].selected!==o&&(t[l].selected=o),o&&i&&(t[l].defaultSelected=!0)}else{for(l=""+Ve(l),e=null,o=0;o<t.length;o++){if(t[o].value===l){t[o].selected=!0,i&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function ef(t,e,l){if(e!=null&&(e=""+Ve(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Ve(l):""}function nf(t,e,l,i){if(e==null){if(i!=null){if(l!=null)throw Error(r(92));if(I(i)){if(1<i.length)throw Error(r(93));i=i[0]}l=i}l==null&&(l=""),e=l}l=Ve(e),t.defaultValue=l,i=t.textContent,i===l&&i!==""&&i!==null&&(t.value=i),Mr(t)}function Hl(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var ry=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 lf(t,e,l){var i=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,l):typeof l!="number"||l===0||ry.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function af(t,e,l){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,l!=null){for(var i in l)!l.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="");for(var o in e)i=e[o],e.hasOwnProperty(o)&&l[o]!==i&&lf(t,o,i)}else for(var c in e)e.hasOwnProperty(c)&&lf(t,c,e[c])}function Or(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var oy=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),cy=/^[\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 Qa(t){return cy.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function pn(){}var Nr=null;function Rr(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ql=null,Yl=null;function uf(t){var e=jl(t);if(e&&(t=e.stateNode)){var l=t[Ee]||null;t:switch(t=e.stateNode,e.type){case"input":if(_r(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Xe(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var i=l[e];if(i!==t&&i.form===t.form){var o=i[Ee]||null;if(!o)throw Error(r(90));_r(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(e=0;e<l.length;e++)i=l[e],i.form===t.form&&Ps(i)}break t;case"textarea":ef(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&Ul(t,!!l.multiple,e,!1)}}}var jr=!1;function rf(t,e,l){if(jr)return t(e,l);jr=!0;try{var i=t(e);return i}finally{if(jr=!1,(ql!==null||Yl!==null)&&(Ou(),ql&&(e=ql,t=Yl,Yl=ql=null,uf(e),t)))for(e=0;e<t.length;e++)uf(t[e])}}function Di(t,e){var l=t.stateNode;if(l===null)return null;var i=l[Ee]||null;if(i===null)return null;l=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(r(231,e,typeof l));return l}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Lr=!1;if(gn)try{var Oi={};Object.defineProperty(Oi,"passive",{get:function(){Lr=!0}}),window.addEventListener("test",Oi,Oi),window.removeEventListener("test",Oi,Oi)}catch{Lr=!1}var Ln=null,Br=null,Za=null;function of(){if(Za)return Za;var t,e=Br,l=e.length,i,o="value"in Ln?Ln.value:Ln.textContent,c=o.length;for(t=0;t<l&&e[t]===o[t];t++);var g=l-t;for(i=1;i<=g&&e[l-i]===o[c-i];i++);return Za=o.slice(t,1<i?1-i:void 0)}function Ka(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ja(){return!0}function cf(){return!1}function Te(t){function e(l,i,o,c,g){this._reactName=l,this._targetInst=o,this.type=i,this.nativeEvent=c,this.target=g,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(l=t[v],this[v]=l?l(c):c[v]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Ja:cf,this.isPropagationStopped=cf,this}return y(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ja)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ja)},persist:function(){},isPersistent:Ja}),e}var cl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fa=Te(cl),Ni=y({},cl,{view:0,detail:0}),sy=Te(Ni),Ur,Hr,Ri,Ia=y({},Ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yr,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ri&&(Ri&&t.type==="mousemove"?(Ur=t.screenX-Ri.screenX,Hr=t.screenY-Ri.screenY):Hr=Ur=0,Ri=t),Ur)},movementY:function(t){return"movementY"in t?t.movementY:Hr}}),sf=Te(Ia),fy=y({},Ia,{dataTransfer:0}),hy=Te(fy),my=y({},Ni,{relatedTarget:0}),qr=Te(my),dy=y({},cl,{animationName:0,elapsedTime:0,pseudoElement:0}),py=Te(dy),gy=y({},cl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),yy=Te(gy),by=y({},cl,{data:0}),ff=Te(by),vy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xy={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"},Sy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ey(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Sy[t])?!!e[t]:!1}function Yr(){return Ey}var Ty=y({},Ni,{key:function(t){if(t.key){var e=vy[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ka(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?xy[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yr,charCode:function(t){return t.type==="keypress"?Ka(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ka(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),ky=Te(Ty),Ay=y({},Ia,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hf=Te(Ay),zy=y({},Ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yr}),Cy=Te(zy),wy=y({},cl,{propertyName:0,elapsedTime:0,pseudoElement:0}),My=Te(wy),_y=y({},Ia,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Dy=Te(_y),Oy=y({},cl,{newState:0,oldState:0}),Ny=Te(Oy),Ry=[9,13,27,32],Vr=gn&&"CompositionEvent"in window,ji=null;gn&&"documentMode"in document&&(ji=document.documentMode);var jy=gn&&"TextEvent"in window&&!ji,mf=gn&&(!Vr||ji&&8<ji&&11>=ji),df=" ",pf=!1;function gf(t,e){switch(t){case"keyup":return Ry.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Vl=!1;function Ly(t,e){switch(t){case"compositionend":return yf(e);case"keypress":return e.which!==32?null:(pf=!0,df);case"textInput":return t=e.data,t===df&&pf?null:t;default:return null}}function By(t,e){if(Vl)return t==="compositionend"||!Vr&&gf(t,e)?(t=of(),Za=Br=Ln=null,Vl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return mf&&e.locale!=="ko"?null:e.data;default:return null}}var Uy={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 bf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Uy[t.type]:e==="textarea"}function vf(t,e,l,i){ql?Yl?Yl.push(i):Yl=[i]:ql=i,e=Hu(e,"onChange"),0<e.length&&(l=new Fa("onChange","change",null,l,i),t.push({event:l,listeners:e}))}var Li=null,Bi=null;function Hy(t){ed(t,0)}function $a(t){var e=_i(t);if(Ps(e))return t}function xf(t,e){if(t==="change")return e}var Sf=!1;if(gn){var Xr;if(gn){var Gr="oninput"in document;if(!Gr){var Ef=document.createElement("div");Ef.setAttribute("oninput","return;"),Gr=typeof Ef.oninput=="function"}Xr=Gr}else Xr=!1;Sf=Xr&&(!document.documentMode||9<document.documentMode)}function Tf(){Li&&(Li.detachEvent("onpropertychange",kf),Bi=Li=null)}function kf(t){if(t.propertyName==="value"&&$a(Bi)){var e=[];vf(e,Bi,t,Rr(t)),rf(Hy,e)}}function qy(t,e,l){t==="focusin"?(Tf(),Li=e,Bi=l,Li.attachEvent("onpropertychange",kf)):t==="focusout"&&Tf()}function Yy(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return $a(Bi)}function Vy(t,e){if(t==="click")return $a(e)}function Xy(t,e){if(t==="input"||t==="change")return $a(e)}function Gy(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Oe=typeof Object.is=="function"?Object.is:Gy;function Ui(t,e){if(Oe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),i=Object.keys(e);if(l.length!==i.length)return!1;for(i=0;i<l.length;i++){var o=l[i];if(!Dl.call(e,o)||!Oe(t[o],e[o]))return!1}return!0}function Af(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function zf(t,e){var l=Af(t);t=0;for(var i;l;){if(l.nodeType===3){if(i=t+l.textContent.length,t<=e&&i>=e)return{node:l,offset:e-t};t=i}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Af(l)}}function Cf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Cf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function wf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Ga(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Ga(t.document)}return e}function Qr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Qy=gn&&"documentMode"in document&&11>=document.documentMode,Xl=null,Zr=null,Hi=null,Kr=!1;function Mf(t,e,l){var i=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Kr||Xl==null||Xl!==Ga(i)||(i=Xl,"selectionStart"in i&&Qr(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Hi&&Ui(Hi,i)||(Hi=i,i=Hu(Zr,"onSelect"),0<i.length&&(e=new Fa("onSelect","select",null,e,l),t.push({event:e,listeners:i}),e.target=Xl)))}function sl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var Gl={animationend:sl("Animation","AnimationEnd"),animationiteration:sl("Animation","AnimationIteration"),animationstart:sl("Animation","AnimationStart"),transitionrun:sl("Transition","TransitionRun"),transitionstart:sl("Transition","TransitionStart"),transitioncancel:sl("Transition","TransitionCancel"),transitionend:sl("Transition","TransitionEnd")},Jr={},_f={};gn&&(_f=document.createElement("div").style,"AnimationEvent"in window||(delete Gl.animationend.animation,delete Gl.animationiteration.animation,delete Gl.animationstart.animation),"TransitionEvent"in window||delete Gl.transitionend.transition);function fl(t){if(Jr[t])return Jr[t];if(!Gl[t])return t;var e=Gl[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in _f)return Jr[t]=e[l];return t}var Df=fl("animationend"),Of=fl("animationiteration"),Nf=fl("animationstart"),Zy=fl("transitionrun"),Ky=fl("transitionstart"),Jy=fl("transitioncancel"),Rf=fl("transitionend"),jf=new Map,Fr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Fr.push("scrollEnd");function tn(t,e){jf.set(t,e),ol(e,[t])}var Wa=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ge=[],Ql=0,Ir=0;function Pa(){for(var t=Ql,e=Ir=Ql=0;e<t;){var l=Ge[e];Ge[e++]=null;var i=Ge[e];Ge[e++]=null;var o=Ge[e];Ge[e++]=null;var c=Ge[e];if(Ge[e++]=null,i!==null&&o!==null){var g=i.pending;g===null?o.next=o:(o.next=g.next,g.next=o),i.pending=o}c!==0&&Lf(l,o,c)}}function tu(t,e,l,i){Ge[Ql++]=t,Ge[Ql++]=e,Ge[Ql++]=l,Ge[Ql++]=i,Ir|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function $r(t,e,l,i){return tu(t,e,l,i),eu(t)}function hl(t,e){return tu(t,null,null,e),eu(t)}function Lf(t,e,l){t.lanes|=l;var i=t.alternate;i!==null&&(i.lanes|=l);for(var o=!1,c=t.return;c!==null;)c.childLanes|=l,i=c.alternate,i!==null&&(i.childLanes|=l),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(o=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,o&&e!==null&&(o=31-Yt(l),t=c.hiddenUpdates,i=t[o],i===null?t[o]=[e]:i.push(e),e.lane=l|536870912),c):null}function eu(t){if(50<ra)throw ra=0,rc=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Zl={};function Fy(t,e,l,i){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(t,e,l,i){return new Fy(t,e,l,i)}function Wr(t){return t=t.prototype,!(!t||!t.isReactComponent)}function yn(t,e){var l=t.alternate;return l===null?(l=Ne(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Bf(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function nu(t,e,l,i,o,c){var g=0;if(i=t,typeof t=="function")Wr(t)&&(g=1);else if(typeof t=="string")g=t0(t,l,et.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case F:return t=Ne(31,l,e,o),t.elementType=F,t.lanes=c,t;case R:return ml(l.children,o,c,e);case H:g=8,o|=24;break;case D:return t=Ne(12,l,e,o|2),t.elementType=D,t.lanes=c,t;case rt:return t=Ne(13,l,e,o),t.elementType=rt,t.lanes=c,t;case U:return t=Ne(19,l,e,o),t.elementType=U,t.lanes=c,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Q:g=10;break t;case K:g=9;break t;case ut:g=11;break t;case W:g=14;break t;case st:g=16,i=null;break t}g=29,l=Error(r(130,t===null?"null":typeof t,"")),i=null}return e=Ne(g,l,e,o),e.elementType=t,e.type=i,e.lanes=c,e}function ml(t,e,l,i){return t=Ne(7,t,i,e),t.lanes=l,t}function Pr(t,e,l){return t=Ne(6,t,null,e),t.lanes=l,t}function Uf(t){var e=Ne(18,null,null,0);return e.stateNode=t,e}function to(t,e,l){return e=Ne(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Hf=new WeakMap;function Qe(t,e){if(typeof t=="object"&&t!==null){var l=Hf.get(t);return l!==void 0?l:(e={value:t,source:e,stack:Ba(e)},Hf.set(t,e),e)}return{value:t,source:e,stack:Ba(e)}}var Kl=[],Jl=0,lu=null,qi=0,Ze=[],Ke=0,Bn=null,an=1,un="";function bn(t,e){Kl[Jl++]=qi,Kl[Jl++]=lu,lu=t,qi=e}function qf(t,e,l){Ze[Ke++]=an,Ze[Ke++]=un,Ze[Ke++]=Bn,Bn=t;var i=an;t=un;var o=32-Yt(i)-1;i&=~(1<<o),l+=1;var c=32-Yt(e)+o;if(30<c){var g=o-o%5;c=(i&(1<<g)-1).toString(32),i>>=g,o-=g,an=1<<32-Yt(e)+o|l<<o|i,un=c+t}else an=1<<c|l<<o|i,un=t}function eo(t){t.return!==null&&(bn(t,1),qf(t,1,0))}function no(t){for(;t===lu;)lu=Kl[--Jl],Kl[Jl]=null,qi=Kl[--Jl],Kl[Jl]=null;for(;t===Bn;)Bn=Ze[--Ke],Ze[Ke]=null,un=Ze[--Ke],Ze[Ke]=null,an=Ze[--Ke],Ze[Ke]=null}function Yf(t,e){Ze[Ke++]=an,Ze[Ke++]=un,Ze[Ke++]=Bn,an=e.id,un=e.overflow,Bn=t}var se=null,Qt=null,Mt=!1,Un=null,Je=!1,lo=Error(r(519));function Hn(t){var e=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Yi(Qe(e,t)),lo}function Vf(t){var e=t.stateNode,l=t.type,i=t.memoizedProps;switch(e[ce]=t,e[Ee]=i,l){case"dialog":kt("cancel",e),kt("close",e);break;case"iframe":case"object":case"embed":kt("load",e);break;case"video":case"audio":for(l=0;l<ca.length;l++)kt(ca[l],e);break;case"source":kt("error",e);break;case"img":case"image":case"link":kt("error",e),kt("load",e);break;case"details":kt("toggle",e);break;case"input":kt("invalid",e),tf(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":kt("invalid",e);break;case"textarea":kt("invalid",e),nf(e,i.value,i.defaultValue,i.children)}l=i.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||i.suppressHydrationWarning===!0||ad(e.textContent,l)?(i.popover!=null&&(kt("beforetoggle",e),kt("toggle",e)),i.onScroll!=null&&kt("scroll",e),i.onScrollEnd!=null&&kt("scrollend",e),i.onClick!=null&&(e.onclick=pn),e=!0):e=!1,e||Hn(t,!0)}function Xf(t){for(se=t.return;se;)switch(se.tag){case 5:case 31:case 13:Je=!1;return;case 27:case 3:Je=!0;return;default:se=se.return}}function Fl(t){if(t!==se)return!1;if(!Mt)return Xf(t),Mt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Ec(t.type,t.memoizedProps)),l=!l),l&&Qt&&Hn(t),Xf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));Qt=dd(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));Qt=dd(t)}else e===27?(e=Qt,Pn(t.type)?(t=Cc,Cc=null,Qt=t):Qt=e):Qt=se?Ie(t.stateNode.nextSibling):null;return!0}function dl(){Qt=se=null,Mt=!1}function io(){var t=Un;return t!==null&&(Ce===null?Ce=t:Ce.push.apply(Ce,t),Un=null),t}function Yi(t){Un===null?Un=[t]:Un.push(t)}var ao=z(null),pl=null,vn=null;function qn(t,e,l){E(ao,e._currentValue),e._currentValue=l}function xn(t){t._currentValue=ao.current,Y(ao)}function uo(t,e,l){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===l)break;t=t.return}}function ro(t,e,l,i){var o=t.child;for(o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){var g=o.child;c=c.firstContext;t:for(;c!==null;){var v=c;c=o;for(var A=0;A<e.length;A++)if(v.context===e[A]){c.lanes|=l,v=c.alternate,v!==null&&(v.lanes|=l),uo(c.return,l,t),i||(g=null);break t}c=v.next}}else if(o.tag===18){if(g=o.return,g===null)throw Error(r(341));g.lanes|=l,c=g.alternate,c!==null&&(c.lanes|=l),uo(g,l,t),g=null}else g=o.child;if(g!==null)g.return=o;else for(g=o;g!==null;){if(g===t){g=null;break}if(o=g.sibling,o!==null){o.return=g.return,g=o;break}g=g.return}o=g}}function Il(t,e,l,i){t=null;for(var o=e,c=!1;o!==null;){if(!c){if((o.flags&524288)!==0)c=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var g=o.alternate;if(g===null)throw Error(r(387));if(g=g.memoizedProps,g!==null){var v=o.type;Oe(o.pendingProps.value,g.value)||(t!==null?t.push(v):t=[v])}}else if(o===zt.current){if(g=o.alternate,g===null)throw Error(r(387));g.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(t!==null?t.push(da):t=[da])}o=o.return}t!==null&&ro(e,t,l,i),e.flags|=262144}function iu(t){for(t=t.firstContext;t!==null;){if(!Oe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function gl(t){pl=t,vn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function fe(t){return Gf(pl,t)}function au(t,e){return pl===null&&gl(t),Gf(t,e)}function Gf(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},vn===null){if(t===null)throw Error(r(308));vn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else vn=vn.next=e;return l}var Iy=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},$y=n.unstable_scheduleCallback,Wy=n.unstable_NormalPriority,te={$$typeof:Q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oo(){return{controller:new Iy,data:new Map,refCount:0}}function Vi(t){t.refCount--,t.refCount===0&&$y(Wy,function(){t.controller.abort()})}var Xi=null,co=0,$l=0,Wl=null;function Py(t,e){if(Xi===null){var l=Xi=[];co=0,$l=mc(),Wl={status:"pending",value:void 0,then:function(i){l.push(i)}}}return co++,e.then(Qf,Qf),e}function Qf(){if(--co===0&&Xi!==null){Wl!==null&&(Wl.status="fulfilled");var t=Xi;Xi=null,$l=0,Wl=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function t1(t,e){var l=[],i={status:"pending",value:null,reason:null,then:function(o){l.push(o)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var o=0;o<l.length;o++)(0,l[o])(e)},function(o){for(i.status="rejected",i.reason=o,o=0;o<l.length;o++)(0,l[o])(void 0)}),i}var Zf=_.S;_.S=function(t,e){Mm=ye(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Py(t,e),Zf!==null&&Zf(t,e)};var yl=z(null);function so(){var t=yl.current;return t!==null?t:Vt.pooledCache}function uu(t,e){e===null?E(yl,yl.current):E(yl,e.pool)}function Kf(){var t=so();return t===null?null:{parent:te._currentValue,pool:t}}var Pl=Error(r(460)),fo=Error(r(474)),ru=Error(r(542)),ou={then:function(){}};function Jf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Ff(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(pn,pn),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,$f(t),t;default:if(typeof e.status=="string")e.then(pn,pn);else{if(t=Vt,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var o=e;o.status="fulfilled",o.value=i}},function(i){if(e.status==="pending"){var o=e;o.status="rejected",o.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,$f(t),t}throw vl=e,Pl}}function bl(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(vl=l,Pl):l}}var vl=null;function If(){if(vl===null)throw Error(r(459));var t=vl;return vl=null,t}function $f(t){if(t===Pl||t===ru)throw Error(r(483))}var ti=null,Gi=0;function cu(t){var e=Gi;return Gi+=1,ti===null&&(ti=[]),Ff(ti,t,e)}function Qi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function su(t,e){throw e.$$typeof===S?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Wf(t){function e(M,C){if(t){var O=M.deletions;O===null?(M.deletions=[C],M.flags|=16):O.push(C)}}function l(M,C){if(!t)return null;for(;C!==null;)e(M,C),C=C.sibling;return null}function i(M){for(var C=new Map;M!==null;)M.key!==null?C.set(M.key,M):C.set(M.index,M),M=M.sibling;return C}function o(M,C){return M=yn(M,C),M.index=0,M.sibling=null,M}function c(M,C,O){return M.index=O,t?(O=M.alternate,O!==null?(O=O.index,O<C?(M.flags|=67108866,C):O):(M.flags|=67108866,C)):(M.flags|=1048576,C)}function g(M){return t&&M.alternate===null&&(M.flags|=67108866),M}function v(M,C,O,X){return C===null||C.tag!==6?(C=Pr(O,M.mode,X),C.return=M,C):(C=o(C,O),C.return=M,C)}function A(M,C,O,X){var ct=O.type;return ct===R?q(M,C,O.props.children,X,O.key):C!==null&&(C.elementType===ct||typeof ct=="object"&&ct!==null&&ct.$$typeof===st&&bl(ct)===C.type)?(C=o(C,O.props),Qi(C,O),C.return=M,C):(C=nu(O.type,O.key,O.props,null,M.mode,X),Qi(C,O),C.return=M,C)}function N(M,C,O,X){return C===null||C.tag!==4||C.stateNode.containerInfo!==O.containerInfo||C.stateNode.implementation!==O.implementation?(C=to(O,M.mode,X),C.return=M,C):(C=o(C,O.children||[]),C.return=M,C)}function q(M,C,O,X,ct){return C===null||C.tag!==7?(C=ml(O,M.mode,X,ct),C.return=M,C):(C=o(C,O),C.return=M,C)}function Z(M,C,O){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Pr(""+C,M.mode,O),C.return=M,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case x:return O=nu(C.type,C.key,C.props,null,M.mode,O),Qi(O,C),O.return=M,O;case w:return C=to(C,M.mode,O),C.return=M,C;case st:return C=bl(C),Z(M,C,O)}if(I(C)||tt(C))return C=ml(C,M.mode,O,null),C.return=M,C;if(typeof C.then=="function")return Z(M,cu(C),O);if(C.$$typeof===Q)return Z(M,au(M,C),O);su(M,C)}return null}function L(M,C,O,X){var ct=C!==null?C.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return ct!==null?null:v(M,C,""+O,X);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case x:return O.key===ct?A(M,C,O,X):null;case w:return O.key===ct?N(M,C,O,X):null;case st:return O=bl(O),L(M,C,O,X)}if(I(O)||tt(O))return ct!==null?null:q(M,C,O,X,null);if(typeof O.then=="function")return L(M,C,cu(O),X);if(O.$$typeof===Q)return L(M,C,au(M,O),X);su(M,O)}return null}function B(M,C,O,X,ct){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return M=M.get(O)||null,v(C,M,""+X,ct);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case x:return M=M.get(X.key===null?O:X.key)||null,A(C,M,X,ct);case w:return M=M.get(X.key===null?O:X.key)||null,N(C,M,X,ct);case st:return X=bl(X),B(M,C,O,X,ct)}if(I(X)||tt(X))return M=M.get(O)||null,q(C,M,X,ct,null);if(typeof X.then=="function")return B(M,C,O,cu(X),ct);if(X.$$typeof===Q)return B(M,C,O,au(C,X),ct);su(C,X)}return null}function lt(M,C,O,X){for(var ct=null,Dt=null,at=C,vt=C=0,wt=null;at!==null&&vt<O.length;vt++){at.index>vt?(wt=at,at=null):wt=at.sibling;var Ot=L(M,at,O[vt],X);if(Ot===null){at===null&&(at=wt);break}t&&at&&Ot.alternate===null&&e(M,at),C=c(Ot,C,vt),Dt===null?ct=Ot:Dt.sibling=Ot,Dt=Ot,at=wt}if(vt===O.length)return l(M,at),Mt&&bn(M,vt),ct;if(at===null){for(;vt<O.length;vt++)at=Z(M,O[vt],X),at!==null&&(C=c(at,C,vt),Dt===null?ct=at:Dt.sibling=at,Dt=at);return Mt&&bn(M,vt),ct}for(at=i(at);vt<O.length;vt++)wt=B(at,M,vt,O[vt],X),wt!==null&&(t&&wt.alternate!==null&&at.delete(wt.key===null?vt:wt.key),C=c(wt,C,vt),Dt===null?ct=wt:Dt.sibling=wt,Dt=wt);return t&&at.forEach(function(il){return e(M,il)}),Mt&&bn(M,vt),ct}function ht(M,C,O,X){if(O==null)throw Error(r(151));for(var ct=null,Dt=null,at=C,vt=C=0,wt=null,Ot=O.next();at!==null&&!Ot.done;vt++,Ot=O.next()){at.index>vt?(wt=at,at=null):wt=at.sibling;var il=L(M,at,Ot.value,X);if(il===null){at===null&&(at=wt);break}t&&at&&il.alternate===null&&e(M,at),C=c(il,C,vt),Dt===null?ct=il:Dt.sibling=il,Dt=il,at=wt}if(Ot.done)return l(M,at),Mt&&bn(M,vt),ct;if(at===null){for(;!Ot.done;vt++,Ot=O.next())Ot=Z(M,Ot.value,X),Ot!==null&&(C=c(Ot,C,vt),Dt===null?ct=Ot:Dt.sibling=Ot,Dt=Ot);return Mt&&bn(M,vt),ct}for(at=i(at);!Ot.done;vt++,Ot=O.next())Ot=B(at,M,vt,Ot.value,X),Ot!==null&&(t&&Ot.alternate!==null&&at.delete(Ot.key===null?vt:Ot.key),C=c(Ot,C,vt),Dt===null?ct=Ot:Dt.sibling=Ot,Dt=Ot);return t&&at.forEach(function(f0){return e(M,f0)}),Mt&&bn(M,vt),ct}function qt(M,C,O,X){if(typeof O=="object"&&O!==null&&O.type===R&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case x:t:{for(var ct=O.key;C!==null;){if(C.key===ct){if(ct=O.type,ct===R){if(C.tag===7){l(M,C.sibling),X=o(C,O.props.children),X.return=M,M=X;break t}}else if(C.elementType===ct||typeof ct=="object"&&ct!==null&&ct.$$typeof===st&&bl(ct)===C.type){l(M,C.sibling),X=o(C,O.props),Qi(X,O),X.return=M,M=X;break t}l(M,C);break}else e(M,C);C=C.sibling}O.type===R?(X=ml(O.props.children,M.mode,X,O.key),X.return=M,M=X):(X=nu(O.type,O.key,O.props,null,M.mode,X),Qi(X,O),X.return=M,M=X)}return g(M);case w:t:{for(ct=O.key;C!==null;){if(C.key===ct)if(C.tag===4&&C.stateNode.containerInfo===O.containerInfo&&C.stateNode.implementation===O.implementation){l(M,C.sibling),X=o(C,O.children||[]),X.return=M,M=X;break t}else{l(M,C);break}else e(M,C);C=C.sibling}X=to(O,M.mode,X),X.return=M,M=X}return g(M);case st:return O=bl(O),qt(M,C,O,X)}if(I(O))return lt(M,C,O,X);if(tt(O)){if(ct=tt(O),typeof ct!="function")throw Error(r(150));return O=ct.call(O),ht(M,C,O,X)}if(typeof O.then=="function")return qt(M,C,cu(O),X);if(O.$$typeof===Q)return qt(M,C,au(M,O),X);su(M,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,C!==null&&C.tag===6?(l(M,C.sibling),X=o(C,O),X.return=M,M=X):(l(M,C),X=Pr(O,M.mode,X),X.return=M,M=X),g(M)):l(M,C)}return function(M,C,O,X){try{Gi=0;var ct=qt(M,C,O,X);return ti=null,ct}catch(at){if(at===Pl||at===ru)throw at;var Dt=Ne(29,at,null,M.mode);return Dt.lanes=X,Dt.return=M,Dt}finally{}}}var xl=Wf(!0),Pf=Wf(!1),Yn=!1;function ho(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mo(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Vn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Xn(t,e,l){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(Nt&2)!==0){var o=i.pending;return o===null?e.next=e:(e.next=o.next,o.next=e),i.pending=e,e=eu(t),Lf(t,null,l),e}return tu(t,i,e,l),eu(t)}function Zi(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,l|=i,e.lanes=l,Xs(t,l)}}function po(t,e){var l=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,l===i)){var o=null,c=null;if(l=l.firstBaseUpdate,l!==null){do{var g={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};c===null?o=c=g:c=c.next=g,l=l.next}while(l!==null);c===null?o=c=e:c=c.next=e}else o=c=e;l={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:c,shared:i.shared,callbacks:i.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var go=!1;function Ki(){if(go){var t=Wl;if(t!==null)throw t}}function Ji(t,e,l,i){go=!1;var o=t.updateQueue;Yn=!1;var c=o.firstBaseUpdate,g=o.lastBaseUpdate,v=o.shared.pending;if(v!==null){o.shared.pending=null;var A=v,N=A.next;A.next=null,g===null?c=N:g.next=N,g=A;var q=t.alternate;q!==null&&(q=q.updateQueue,v=q.lastBaseUpdate,v!==g&&(v===null?q.firstBaseUpdate=N:v.next=N,q.lastBaseUpdate=A))}if(c!==null){var Z=o.baseState;g=0,q=N=A=null,v=c;do{var L=v.lane&-536870913,B=L!==v.lane;if(B?(Ct&L)===L:(i&L)===L){L!==0&&L===$l&&(go=!0),q!==null&&(q=q.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{var lt=t,ht=v;L=e;var qt=l;switch(ht.tag){case 1:if(lt=ht.payload,typeof lt=="function"){Z=lt.call(qt,Z,L);break t}Z=lt;break t;case 3:lt.flags=lt.flags&-65537|128;case 0:if(lt=ht.payload,L=typeof lt=="function"?lt.call(qt,Z,L):lt,L==null)break t;Z=y({},Z,L);break t;case 2:Yn=!0}}L=v.callback,L!==null&&(t.flags|=64,B&&(t.flags|=8192),B=o.callbacks,B===null?o.callbacks=[L]:B.push(L))}else B={lane:L,tag:v.tag,payload:v.payload,callback:v.callback,next:null},q===null?(N=q=B,A=Z):q=q.next=B,g|=L;if(v=v.next,v===null){if(v=o.shared.pending,v===null)break;B=v,v=B.next,B.next=null,o.lastBaseUpdate=B,o.shared.pending=null}}while(!0);q===null&&(A=Z),o.baseState=A,o.firstBaseUpdate=N,o.lastBaseUpdate=q,c===null&&(o.shared.lanes=0),Jn|=g,t.lanes=g,t.memoizedState=Z}}function th(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function eh(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)th(l[t],e)}var ei=z(null),fu=z(0);function nh(t,e){t=Mn,E(fu,t),E(ei,e),Mn=t|e.baseLanes}function yo(){E(fu,Mn),E(ei,ei.current)}function bo(){Mn=fu.current,Y(ei),Y(fu)}var Re=z(null),Fe=null;function Gn(t){var e=t.alternate;E(Wt,Wt.current&1),E(Re,t),Fe===null&&(e===null||ei.current!==null||e.memoizedState!==null)&&(Fe=t)}function vo(t){E(Wt,Wt.current),E(Re,t),Fe===null&&(Fe=t)}function lh(t){t.tag===22?(E(Wt,Wt.current),E(Re,t),Fe===null&&(Fe=t)):Qn()}function Qn(){E(Wt,Wt.current),E(Re,Re.current)}function je(t){Y(Re),Fe===t&&(Fe=null),Y(Wt)}var Wt=z(0);function hu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Ac(l)||zc(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Sn=0,yt=null,Ut=null,ee=null,mu=!1,ni=!1,Sl=!1,du=0,Fi=0,li=null,e1=0;function It(){throw Error(r(321))}function xo(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!Oe(t[l],e[l]))return!1;return!0}function So(t,e,l,i,o,c){return Sn=c,yt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,_.H=t===null||t.memoizedState===null?qh:Lo,Sl=!1,c=l(i,o),Sl=!1,ni&&(c=ah(e,l,i,o)),ih(t),c}function ih(t){_.H=Wi;var e=Ut!==null&&Ut.next!==null;if(Sn=0,ee=Ut=yt=null,mu=!1,Fi=0,li=null,e)throw Error(r(300));t===null||ne||(t=t.dependencies,t!==null&&iu(t)&&(ne=!0))}function ah(t,e,l,i){yt=t;var o=0;do{if(ni&&(li=null),Fi=0,ni=!1,25<=o)throw Error(r(301));if(o+=1,ee=Ut=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}_.H=Yh,c=e(l,i)}while(ni);return c}function n1(){var t=_.H,e=t.useState()[0];return e=typeof e.then=="function"?Ii(e):e,t=t.useState()[0],(Ut!==null?Ut.memoizedState:null)!==t&&(yt.flags|=1024),e}function Eo(){var t=du!==0;return du=0,t}function To(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function ko(t){if(mu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}mu=!1}Sn=0,ee=Ut=yt=null,ni=!1,Fi=du=0,li=null}function ve(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ee===null?yt.memoizedState=ee=t:ee=ee.next=t,ee}function Pt(){if(Ut===null){var t=yt.alternate;t=t!==null?t.memoizedState:null}else t=Ut.next;var e=ee===null?yt.memoizedState:ee.next;if(e!==null)ee=e,Ut=t;else{if(t===null)throw yt.alternate===null?Error(r(467)):Error(r(310));Ut=t,t={memoizedState:Ut.memoizedState,baseState:Ut.baseState,baseQueue:Ut.baseQueue,queue:Ut.queue,next:null},ee===null?yt.memoizedState=ee=t:ee=ee.next=t}return ee}function pu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ii(t){var e=Fi;return Fi+=1,li===null&&(li=[]),t=Ff(li,t,e),e=yt,(ee===null?e.memoizedState:ee.next)===null&&(e=e.alternate,_.H=e===null||e.memoizedState===null?qh:Lo),t}function gu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ii(t);if(t.$$typeof===Q)return fe(t)}throw Error(r(438,String(t)))}function Ao(t){var e=null,l=yt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var i=yt.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(o){return o.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=pu(),yt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),i=0;i<t;i++)l[i]=j;return e.index++,l}function En(t,e){return typeof e=="function"?e(t):e}function yu(t){var e=Pt();return zo(e,Ut,t)}function zo(t,e,l){var i=t.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=l;var o=t.baseQueue,c=i.pending;if(c!==null){if(o!==null){var g=o.next;o.next=c.next,c.next=g}e.baseQueue=o=c,i.pending=null}if(c=t.baseState,o===null)t.memoizedState=c;else{e=o.next;var v=g=null,A=null,N=e,q=!1;do{var Z=N.lane&-536870913;if(Z!==N.lane?(Ct&Z)===Z:(Sn&Z)===Z){var L=N.revertLane;if(L===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),Z===$l&&(q=!0);else if((Sn&L)===L){N=N.next,L===$l&&(q=!0);continue}else Z={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},A===null?(v=A=Z,g=c):A=A.next=Z,yt.lanes|=L,Jn|=L;Z=N.action,Sl&&l(c,Z),c=N.hasEagerState?N.eagerState:l(c,Z)}else L={lane:Z,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},A===null?(v=A=L,g=c):A=A.next=L,yt.lanes|=Z,Jn|=Z;N=N.next}while(N!==null&&N!==e);if(A===null?g=c:A.next=v,!Oe(c,t.memoizedState)&&(ne=!0,q&&(l=Wl,l!==null)))throw l;t.memoizedState=c,t.baseState=g,t.baseQueue=A,i.lastRenderedState=c}return o===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function Co(t){var e=Pt(),l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=t;var i=l.dispatch,o=l.pending,c=e.memoizedState;if(o!==null){l.pending=null;var g=o=o.next;do c=t(c,g.action),g=g.next;while(g!==o);Oe(c,e.memoizedState)||(ne=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),l.lastRenderedState=c}return[c,i]}function uh(t,e,l){var i=yt,o=Pt(),c=Mt;if(c){if(l===void 0)throw Error(r(407));l=l()}else l=e();var g=!Oe((Ut||o).memoizedState,l);if(g&&(o.memoizedState=l,ne=!0),o=o.queue,_o(ch.bind(null,i,o,t),[t]),o.getSnapshot!==e||g||ee!==null&&ee.memoizedState.tag&1){if(i.flags|=2048,ii(9,{destroy:void 0},oh.bind(null,i,o,l,e),null),Vt===null)throw Error(r(349));c||(Sn&127)!==0||rh(i,e,l)}return l}function rh(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=yt.updateQueue,e===null?(e=pu(),yt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function oh(t,e,l,i){e.value=l,e.getSnapshot=i,sh(e)&&fh(t)}function ch(t,e,l){return l(function(){sh(e)&&fh(t)})}function sh(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!Oe(t,l)}catch{return!0}}function fh(t){var e=hl(t,2);e!==null&&we(e,t,2)}function wo(t){var e=ve();if(typeof t=="function"){var l=t;if(t=l(),Sl){Se(!0);try{l()}finally{Se(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:t},e}function hh(t,e,l,i){return t.baseState=l,zo(t,Ut,typeof i=="function"?i:En)}function l1(t,e,l,i,o){if(xu(t))throw Error(r(485));if(t=e.action,t!==null){var c={payload:o,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){c.listeners.push(g)}};_.T!==null?l(!0):c.isTransition=!1,i(c),l=e.pending,l===null?(c.next=e.pending=c,mh(e,c)):(c.next=l.next,e.pending=l.next=c)}}function mh(t,e){var l=e.action,i=e.payload,o=t.state;if(e.isTransition){var c=_.T,g={};_.T=g;try{var v=l(o,i),A=_.S;A!==null&&A(g,v),dh(t,e,v)}catch(N){Mo(t,e,N)}finally{c!==null&&g.types!==null&&(c.types=g.types),_.T=c}}else try{c=l(o,i),dh(t,e,c)}catch(N){Mo(t,e,N)}}function dh(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(i){ph(t,e,i)},function(i){return Mo(t,e,i)}):ph(t,e,l)}function ph(t,e,l){e.status="fulfilled",e.value=l,gh(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,mh(t,l)))}function Mo(t,e,l){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=l,gh(e),e=e.next;while(e!==i)}t.action=null}function gh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function yh(t,e){return e}function bh(t,e){if(Mt){var l=Vt.formState;if(l!==null){t:{var i=yt;if(Mt){if(Qt){e:{for(var o=Qt,c=Je;o.nodeType!==8;){if(!c){o=null;break e}if(o=Ie(o.nextSibling),o===null){o=null;break e}}c=o.data,o=c==="F!"||c==="F"?o:null}if(o){Qt=Ie(o.nextSibling),i=o.data==="F!";break t}}Hn(i)}i=!1}i&&(e=l[0])}}return l=ve(),l.memoizedState=l.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yh,lastRenderedState:e},l.queue=i,l=Bh.bind(null,yt,i),i.dispatch=l,i=wo(!1),c=jo.bind(null,yt,!1,i.queue),i=ve(),o={state:e,dispatch:null,action:t,pending:null},i.queue=o,l=l1.bind(null,yt,o,c,l),o.dispatch=l,i.memoizedState=t,[e,l,!1]}function vh(t){var e=Pt();return xh(e,Ut,t)}function xh(t,e,l){if(e=zo(t,e,yh)[0],t=yu(En)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=Ii(e)}catch(g){throw g===Pl?ru:g}else i=e;e=Pt();var o=e.queue,c=o.dispatch;return l!==e.memoizedState&&(yt.flags|=2048,ii(9,{destroy:void 0},i1.bind(null,o,l),null)),[i,c,t]}function i1(t,e){t.action=e}function Sh(t){var e=Pt(),l=Ut;if(l!==null)return xh(e,l,t);Pt(),e=e.memoizedState,l=Pt();var i=l.queue.dispatch;return l.memoizedState=t,[e,i,!1]}function ii(t,e,l,i){return t={tag:t,create:l,deps:i,inst:e,next:null},e=yt.updateQueue,e===null&&(e=pu(),yt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(i=l.next,l.next=t,t.next=i,e.lastEffect=t),t}function Eh(){return Pt().memoizedState}function bu(t,e,l,i){var o=ve();yt.flags|=t,o.memoizedState=ii(1|e,{destroy:void 0},l,i===void 0?null:i)}function vu(t,e,l,i){var o=Pt();i=i===void 0?null:i;var c=o.memoizedState.inst;Ut!==null&&i!==null&&xo(i,Ut.memoizedState.deps)?o.memoizedState=ii(e,c,l,i):(yt.flags|=t,o.memoizedState=ii(1|e,c,l,i))}function Th(t,e){bu(8390656,8,t,e)}function _o(t,e){vu(2048,8,t,e)}function a1(t){yt.flags|=4;var e=yt.updateQueue;if(e===null)e=pu(),yt.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function kh(t){var e=Pt().memoizedState;return a1({ref:e,nextImpl:t}),function(){if((Nt&2)!==0)throw Error(r(440));return e.impl.apply(void 0,arguments)}}function Ah(t,e){return vu(4,2,t,e)}function zh(t,e){return vu(4,4,t,e)}function Ch(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function wh(t,e,l){l=l!=null?l.concat([t]):null,vu(4,4,Ch.bind(null,e,t),l)}function Do(){}function Mh(t,e){var l=Pt();e=e===void 0?null:e;var i=l.memoizedState;return e!==null&&xo(e,i[1])?i[0]:(l.memoizedState=[t,e],t)}function _h(t,e){var l=Pt();e=e===void 0?null:e;var i=l.memoizedState;if(e!==null&&xo(e,i[1]))return i[0];if(i=t(),Sl){Se(!0);try{t()}finally{Se(!1)}}return l.memoizedState=[i,e],i}function Oo(t,e,l){return l===void 0||(Sn&1073741824)!==0&&(Ct&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=Dm(),yt.lanes|=t,Jn|=t,l)}function Dh(t,e,l,i){return Oe(l,e)?l:ei.current!==null?(t=Oo(t,l,i),Oe(t,e)||(ne=!0),t):(Sn&42)===0||(Sn&1073741824)!==0&&(Ct&261930)===0?(ne=!0,t.memoizedState=l):(t=Dm(),yt.lanes|=t,Jn|=t,e)}function Oh(t,e,l,i,o){var c=G.p;G.p=c!==0&&8>c?c:8;var g=_.T,v={};_.T=v,jo(t,!1,e,l);try{var A=o(),N=_.S;if(N!==null&&N(v,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var q=t1(A,i);$i(t,e,q,Ue(t))}else $i(t,e,i,Ue(t))}catch(Z){$i(t,e,{then:function(){},status:"rejected",reason:Z},Ue())}finally{G.p=c,g!==null&&v.types!==null&&(g.types=v.types),_.T=g}}function u1(){}function No(t,e,l,i){if(t.tag!==5)throw Error(r(476));var o=Nh(t).queue;Oh(t,o,e,nt,l===null?u1:function(){return Rh(t),l(i)})}function Nh(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:nt,baseState:nt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:nt},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Rh(t){var e=Nh(t);e.next===null&&(e=t.alternate.memoizedState),$i(t,e.next.queue,{},Ue())}function Ro(){return fe(da)}function jh(){return Pt().memoizedState}function Lh(){return Pt().memoizedState}function r1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Ue();t=Vn(l);var i=Xn(e,t,l);i!==null&&(we(i,e,l),Zi(i,e,l)),e={cache:oo()},t.payload=e;return}e=e.return}}function o1(t,e,l){var i=Ue();l={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},xu(t)?Uh(e,l):(l=$r(t,e,l,i),l!==null&&(we(l,t,i),Hh(l,e,i)))}function Bh(t,e,l){var i=Ue();$i(t,e,l,i)}function $i(t,e,l,i){var o={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(xu(t))Uh(e,o);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var g=e.lastRenderedState,v=c(g,l);if(o.hasEagerState=!0,o.eagerState=v,Oe(v,g))return tu(t,e,o,0),Vt===null&&Pa(),!1}catch{}finally{}if(l=$r(t,e,o,i),l!==null)return we(l,t,i),Hh(l,e,i),!0}return!1}function jo(t,e,l,i){if(i={lane:2,revertLane:mc(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},xu(t)){if(e)throw Error(r(479))}else e=$r(t,l,i,2),e!==null&&we(e,t,2)}function xu(t){var e=t.alternate;return t===yt||e!==null&&e===yt}function Uh(t,e){ni=mu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Hh(t,e,l){if((l&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,l|=i,e.lanes=l,Xs(t,l)}}var Wi={readContext:fe,use:gu,useCallback:It,useContext:It,useEffect:It,useImperativeHandle:It,useLayoutEffect:It,useInsertionEffect:It,useMemo:It,useReducer:It,useRef:It,useState:It,useDebugValue:It,useDeferredValue:It,useTransition:It,useSyncExternalStore:It,useId:It,useHostTransitionStatus:It,useFormState:It,useActionState:It,useOptimistic:It,useMemoCache:It,useCacheRefresh:It};Wi.useEffectEvent=It;var qh={readContext:fe,use:gu,useCallback:function(t,e){return ve().memoizedState=[t,e===void 0?null:e],t},useContext:fe,useEffect:Th,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,bu(4194308,4,Ch.bind(null,e,t),l)},useLayoutEffect:function(t,e){return bu(4194308,4,t,e)},useInsertionEffect:function(t,e){bu(4,2,t,e)},useMemo:function(t,e){var l=ve();e=e===void 0?null:e;var i=t();if(Sl){Se(!0);try{t()}finally{Se(!1)}}return l.memoizedState=[i,e],i},useReducer:function(t,e,l){var i=ve();if(l!==void 0){var o=l(e);if(Sl){Se(!0);try{l(e)}finally{Se(!1)}}}else o=e;return i.memoizedState=i.baseState=o,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},i.queue=t,t=t.dispatch=o1.bind(null,yt,t),[i.memoizedState,t]},useRef:function(t){var e=ve();return t={current:t},e.memoizedState=t},useState:function(t){t=wo(t);var e=t.queue,l=Bh.bind(null,yt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Do,useDeferredValue:function(t,e){var l=ve();return Oo(l,t,e)},useTransition:function(){var t=wo(!1);return t=Oh.bind(null,yt,t.queue,!0,!1),ve().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var i=yt,o=ve();if(Mt){if(l===void 0)throw Error(r(407));l=l()}else{if(l=e(),Vt===null)throw Error(r(349));(Ct&127)!==0||rh(i,e,l)}o.memoizedState=l;var c={value:l,getSnapshot:e};return o.queue=c,Th(ch.bind(null,i,c,t),[t]),i.flags|=2048,ii(9,{destroy:void 0},oh.bind(null,i,c,l,e),null),l},useId:function(){var t=ve(),e=Vt.identifierPrefix;if(Mt){var l=un,i=an;l=(i&~(1<<32-Yt(i)-1)).toString(32)+l,e="_"+e+"R_"+l,l=du++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=e1++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Ro,useFormState:bh,useActionState:bh,useOptimistic:function(t){var e=ve();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=jo.bind(null,yt,!0,l),l.dispatch=e,[t,e]},useMemoCache:Ao,useCacheRefresh:function(){return ve().memoizedState=r1.bind(null,yt)},useEffectEvent:function(t){var e=ve(),l={impl:t};return e.memoizedState=l,function(){if((Nt&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}},Lo={readContext:fe,use:gu,useCallback:Mh,useContext:fe,useEffect:_o,useImperativeHandle:wh,useInsertionEffect:Ah,useLayoutEffect:zh,useMemo:_h,useReducer:yu,useRef:Eh,useState:function(){return yu(En)},useDebugValue:Do,useDeferredValue:function(t,e){var l=Pt();return Dh(l,Ut.memoizedState,t,e)},useTransition:function(){var t=yu(En)[0],e=Pt().memoizedState;return[typeof t=="boolean"?t:Ii(t),e]},useSyncExternalStore:uh,useId:jh,useHostTransitionStatus:Ro,useFormState:vh,useActionState:vh,useOptimistic:function(t,e){var l=Pt();return hh(l,Ut,t,e)},useMemoCache:Ao,useCacheRefresh:Lh};Lo.useEffectEvent=kh;var Yh={readContext:fe,use:gu,useCallback:Mh,useContext:fe,useEffect:_o,useImperativeHandle:wh,useInsertionEffect:Ah,useLayoutEffect:zh,useMemo:_h,useReducer:Co,useRef:Eh,useState:function(){return Co(En)},useDebugValue:Do,useDeferredValue:function(t,e){var l=Pt();return Ut===null?Oo(l,t,e):Dh(l,Ut.memoizedState,t,e)},useTransition:function(){var t=Co(En)[0],e=Pt().memoizedState;return[typeof t=="boolean"?t:Ii(t),e]},useSyncExternalStore:uh,useId:jh,useHostTransitionStatus:Ro,useFormState:Sh,useActionState:Sh,useOptimistic:function(t,e){var l=Pt();return Ut!==null?hh(l,Ut,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Ao,useCacheRefresh:Lh};Yh.useEffectEvent=kh;function Bo(t,e,l,i){e=t.memoizedState,l=l(i,e),l=l==null?e:y({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Uo={enqueueSetState:function(t,e,l){t=t._reactInternals;var i=Ue(),o=Vn(i);o.payload=e,l!=null&&(o.callback=l),e=Xn(t,o,i),e!==null&&(we(e,t,i),Zi(e,t,i))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var i=Ue(),o=Vn(i);o.tag=1,o.payload=e,l!=null&&(o.callback=l),e=Xn(t,o,i),e!==null&&(we(e,t,i),Zi(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Ue(),i=Vn(l);i.tag=2,e!=null&&(i.callback=e),e=Xn(t,i,l),e!==null&&(we(e,t,l),Zi(e,t,l))}};function Vh(t,e,l,i,o,c,g){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(i,c,g):e.prototype&&e.prototype.isPureReactComponent?!Ui(l,i)||!Ui(o,c):!0}function Xh(t,e,l,i){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,i),e.state!==t&&Uo.enqueueReplaceState(e,e.state,null)}function El(t,e){var l=e;if("ref"in e){l={};for(var i in e)i!=="ref"&&(l[i]=e[i])}if(t=t.defaultProps){l===e&&(l=y({},l));for(var o in t)l[o]===void 0&&(l[o]=t[o])}return l}function Gh(t){Wa(t)}function Qh(t){console.error(t)}function Zh(t){Wa(t)}function Su(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function Kh(t,e,l){try{var i=t.onCaughtError;i(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Ho(t,e,l){return l=Vn(l),l.tag=3,l.payload={element:null},l.callback=function(){Su(t,e)},l}function Jh(t){return t=Vn(t),t.tag=3,t}function Fh(t,e,l,i){var o=l.type.getDerivedStateFromError;if(typeof o=="function"){var c=i.value;t.payload=function(){return o(c)},t.callback=function(){Kh(e,l,i)}}var g=l.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(t.callback=function(){Kh(e,l,i),typeof o!="function"&&(Fn===null?Fn=new Set([this]):Fn.add(this));var v=i.stack;this.componentDidCatch(i.value,{componentStack:v!==null?v:""})})}function c1(t,e,l,i,o){if(l.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=l.alternate,e!==null&&Il(e,l,o,!0),l=Re.current,l!==null){switch(l.tag){case 31:case 13:return Fe===null?Nu():l.alternate===null&&$t===0&&($t=3),l.flags&=-257,l.flags|=65536,l.lanes=o,i===ou?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([i]):e.add(i),sc(t,i,o)),!1;case 22:return l.flags|=65536,i===ou?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([i]):l.add(i)),sc(t,i,o)),!1}throw Error(r(435,l.tag))}return sc(t,i,o),Nu(),!1}if(Mt)return e=Re.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=o,i!==lo&&(t=Error(r(422),{cause:i}),Yi(Qe(t,l)))):(i!==lo&&(e=Error(r(423),{cause:i}),Yi(Qe(e,l))),t=t.current.alternate,t.flags|=65536,o&=-o,t.lanes|=o,i=Qe(i,l),o=Ho(t.stateNode,i,o),po(t,o),$t!==4&&($t=2)),!1;var c=Error(r(520),{cause:i});if(c=Qe(c,l),ua===null?ua=[c]:ua.push(c),$t!==4&&($t=2),e===null)return!0;i=Qe(i,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=o&-o,l.lanes|=t,t=Ho(l.stateNode,i,t),po(l,t),!1;case 1:if(e=l.type,c=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Fn===null||!Fn.has(c))))return l.flags|=65536,o&=-o,l.lanes|=o,o=Jh(o),Fh(o,t,l,i),po(l,o),!1}l=l.return}while(l!==null);return!1}var qo=Error(r(461)),ne=!1;function he(t,e,l,i){e.child=t===null?Pf(e,null,l,i):xl(e,t.child,l,i)}function Ih(t,e,l,i,o){l=l.render;var c=e.ref;if("ref"in i){var g={};for(var v in i)v!=="ref"&&(g[v]=i[v])}else g=i;return gl(e),i=So(t,e,l,g,c,o),v=Eo(),t!==null&&!ne?(To(t,e,o),Tn(t,e,o)):(Mt&&v&&eo(e),e.flags|=1,he(t,e,i,o),e.child)}function $h(t,e,l,i,o){if(t===null){var c=l.type;return typeof c=="function"&&!Wr(c)&&c.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=c,Wh(t,e,c,i,o)):(t=nu(l.type,null,i,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!Jo(t,o)){var g=c.memoizedProps;if(l=l.compare,l=l!==null?l:Ui,l(g,i)&&t.ref===e.ref)return Tn(t,e,o)}return e.flags|=1,t=yn(c,i),t.ref=e.ref,t.return=e,e.child=t}function Wh(t,e,l,i,o){if(t!==null){var c=t.memoizedProps;if(Ui(c,i)&&t.ref===e.ref)if(ne=!1,e.pendingProps=i=c,Jo(t,o))(t.flags&131072)!==0&&(ne=!0);else return e.lanes=t.lanes,Tn(t,e,o)}return Yo(t,e,l,i,o)}function Ph(t,e,l,i){var o=i.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|l:l,t!==null){for(i=e.child=t.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~c}else i=0,e.child=null;return tm(t,e,c,l,i)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&uu(e,c!==null?c.cachePool:null),c!==null?nh(e,c):yo(),lh(e);else return i=e.lanes=536870912,tm(t,e,c!==null?c.baseLanes|l:l,l,i)}else c!==null?(uu(e,c.cachePool),nh(e,c),Qn(),e.memoizedState=null):(t!==null&&uu(e,null),yo(),Qn());return he(t,e,o,l),e.child}function Pi(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function tm(t,e,l,i,o){var c=so();return c=c===null?null:{parent:te._currentValue,pool:c},e.memoizedState={baseLanes:l,cachePool:c},t!==null&&uu(e,null),yo(),lh(e),t!==null&&Il(t,e,i,!0),e.childLanes=o,null}function Eu(t,e){return e=ku({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function em(t,e,l){return xl(e,t.child,null,l),t=Eu(e,e.pendingProps),t.flags|=2,je(e),e.memoizedState=null,t}function s1(t,e,l){var i=e.pendingProps,o=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Mt){if(i.mode==="hidden")return t=Eu(e,i),e.lanes=536870912,Pi(null,t);if(vo(e),(t=Qt)?(t=md(t,Je),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Bn!==null?{id:an,overflow:un}:null,retryLane:536870912,hydrationErrors:null},l=Uf(t),l.return=e,e.child=l,se=e,Qt=null)):t=null,t===null)throw Hn(e);return e.lanes=536870912,null}return Eu(e,i)}var c=t.memoizedState;if(c!==null){var g=c.dehydrated;if(vo(e),o)if(e.flags&256)e.flags&=-257,e=em(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(r(558));else if(ne||Il(t,e,l,!1),o=(l&t.childLanes)!==0,ne||o){if(i=Vt,i!==null&&(g=Gs(i,l),g!==0&&g!==c.retryLane))throw c.retryLane=g,hl(t,g),we(i,t,g),qo;Nu(),e=em(t,e,l)}else t=c.treeContext,Qt=Ie(g.nextSibling),se=e,Mt=!0,Un=null,Je=!1,t!==null&&Yf(e,t),e=Eu(e,i),e.flags|=4096;return e}return t=yn(t.child,{mode:i.mode,children:i.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Tu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Yo(t,e,l,i,o){return gl(e),l=So(t,e,l,i,void 0,o),i=Eo(),t!==null&&!ne?(To(t,e,o),Tn(t,e,o)):(Mt&&i&&eo(e),e.flags|=1,he(t,e,l,o),e.child)}function nm(t,e,l,i,o,c){return gl(e),e.updateQueue=null,l=ah(e,i,l,o),ih(t),i=Eo(),t!==null&&!ne?(To(t,e,c),Tn(t,e,c)):(Mt&&i&&eo(e),e.flags|=1,he(t,e,l,c),e.child)}function lm(t,e,l,i,o){if(gl(e),e.stateNode===null){var c=Zl,g=l.contextType;typeof g=="object"&&g!==null&&(c=fe(g)),c=new l(i,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Uo,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=i,c.state=e.memoizedState,c.refs={},ho(e),g=l.contextType,c.context=typeof g=="object"&&g!==null?fe(g):Zl,c.state=e.memoizedState,g=l.getDerivedStateFromProps,typeof g=="function"&&(Bo(e,l,g,i),c.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(g=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),g!==c.state&&Uo.enqueueReplaceState(c,c.state,null),Ji(e,i,c,o),Ki(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),i=!0}else if(t===null){c=e.stateNode;var v=e.memoizedProps,A=El(l,v);c.props=A;var N=c.context,q=l.contextType;g=Zl,typeof q=="object"&&q!==null&&(g=fe(q));var Z=l.getDerivedStateFromProps;q=typeof Z=="function"||typeof c.getSnapshotBeforeUpdate=="function",v=e.pendingProps!==v,q||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(v||N!==g)&&Xh(e,c,i,g),Yn=!1;var L=e.memoizedState;c.state=L,Ji(e,i,c,o),Ki(),N=e.memoizedState,v||L!==N||Yn?(typeof Z=="function"&&(Bo(e,l,Z,i),N=e.memoizedState),(A=Yn||Vh(e,l,A,i,L,N,g))?(q||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"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=N),c.props=i,c.state=N,c.context=g,i=A):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{c=e.stateNode,mo(t,e),g=e.memoizedProps,q=El(l,g),c.props=q,Z=e.pendingProps,L=c.context,N=l.contextType,A=Zl,typeof N=="object"&&N!==null&&(A=fe(N)),v=l.getDerivedStateFromProps,(N=typeof v=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g!==Z||L!==A)&&Xh(e,c,i,A),Yn=!1,L=e.memoizedState,c.state=L,Ji(e,i,c,o),Ki();var B=e.memoizedState;g!==Z||L!==B||Yn||t!==null&&t.dependencies!==null&&iu(t.dependencies)?(typeof v=="function"&&(Bo(e,l,v,i),B=e.memoizedState),(q=Yn||Vh(e,l,q,i,L,B,A)||t!==null&&t.dependencies!==null&&iu(t.dependencies))?(N||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(i,B,A),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(i,B,A)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||g===t.memoizedProps&&L===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&L===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=B),c.props=i,c.state=B,c.context=A,i=q):(typeof c.componentDidUpdate!="function"||g===t.memoizedProps&&L===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&L===t.memoizedState||(e.flags|=1024),i=!1)}return c=i,Tu(t,e),i=(e.flags&128)!==0,c||i?(c=e.stateNode,l=i&&typeof l.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&i?(e.child=xl(e,t.child,null,o),e.child=xl(e,null,l,o)):he(t,e,l,o),e.memoizedState=c.state,t=e.child):t=Tn(t,e,o),t}function im(t,e,l,i){return dl(),e.flags|=256,he(t,e,l,i),e.child}var Vo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xo(t){return{baseLanes:t,cachePool:Kf()}}function Go(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Be),t}function am(t,e,l){var i=e.pendingProps,o=!1,c=(e.flags&128)!==0,g;if((g=c)||(g=t!==null&&t.memoizedState===null?!1:(Wt.current&2)!==0),g&&(o=!0,e.flags&=-129),g=(e.flags&32)!==0,e.flags&=-33,t===null){if(Mt){if(o?Gn(e):Qn(),(t=Qt)?(t=md(t,Je),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Bn!==null?{id:an,overflow:un}:null,retryLane:536870912,hydrationErrors:null},l=Uf(t),l.return=e,e.child=l,se=e,Qt=null)):t=null,t===null)throw Hn(e);return zc(t)?e.lanes=32:e.lanes=536870912,null}var v=i.children;return i=i.fallback,o?(Qn(),o=e.mode,v=ku({mode:"hidden",children:v},o),i=ml(i,o,l,null),v.return=e,i.return=e,v.sibling=i,e.child=v,i=e.child,i.memoizedState=Xo(l),i.childLanes=Go(t,g,l),e.memoizedState=Vo,Pi(null,i)):(Gn(e),Qo(e,v))}var A=t.memoizedState;if(A!==null&&(v=A.dehydrated,v!==null)){if(c)e.flags&256?(Gn(e),e.flags&=-257,e=Zo(t,e,l)):e.memoizedState!==null?(Qn(),e.child=t.child,e.flags|=128,e=null):(Qn(),v=i.fallback,o=e.mode,i=ku({mode:"visible",children:i.children},o),v=ml(v,o,l,null),v.flags|=2,i.return=e,v.return=e,i.sibling=v,e.child=i,xl(e,t.child,null,l),i=e.child,i.memoizedState=Xo(l),i.childLanes=Go(t,g,l),e.memoizedState=Vo,e=Pi(null,i));else if(Gn(e),zc(v)){if(g=v.nextSibling&&v.nextSibling.dataset,g)var N=g.dgst;g=N,i=Error(r(419)),i.stack="",i.digest=g,Yi({value:i,source:null,stack:null}),e=Zo(t,e,l)}else if(ne||Il(t,e,l,!1),g=(l&t.childLanes)!==0,ne||g){if(g=Vt,g!==null&&(i=Gs(g,l),i!==0&&i!==A.retryLane))throw A.retryLane=i,hl(t,i),we(g,t,i),qo;Ac(v)||Nu(),e=Zo(t,e,l)}else Ac(v)?(e.flags|=192,e.child=t.child,e=null):(t=A.treeContext,Qt=Ie(v.nextSibling),se=e,Mt=!0,Un=null,Je=!1,t!==null&&Yf(e,t),e=Qo(e,i.children),e.flags|=4096);return e}return o?(Qn(),v=i.fallback,o=e.mode,A=t.child,N=A.sibling,i=yn(A,{mode:"hidden",children:i.children}),i.subtreeFlags=A.subtreeFlags&65011712,N!==null?v=yn(N,v):(v=ml(v,o,l,null),v.flags|=2),v.return=e,i.return=e,i.sibling=v,e.child=i,Pi(null,i),i=e.child,v=t.child.memoizedState,v===null?v=Xo(l):(o=v.cachePool,o!==null?(A=te._currentValue,o=o.parent!==A?{parent:A,pool:A}:o):o=Kf(),v={baseLanes:v.baseLanes|l,cachePool:o}),i.memoizedState=v,i.childLanes=Go(t,g,l),e.memoizedState=Vo,Pi(t.child,i)):(Gn(e),l=t.child,t=l.sibling,l=yn(l,{mode:"visible",children:i.children}),l.return=e,l.sibling=null,t!==null&&(g=e.deletions,g===null?(e.deletions=[t],e.flags|=16):g.push(t)),e.child=l,e.memoizedState=null,l)}function Qo(t,e){return e=ku({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function ku(t,e){return t=Ne(22,t,null,e),t.lanes=0,t}function Zo(t,e,l){return xl(e,t.child,null,l),t=Qo(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function um(t,e,l){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),uo(t.return,e,l)}function Ko(t,e,l,i,o,c){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:l,tailMode:o,treeForkCount:c}:(g.isBackwards=e,g.rendering=null,g.renderingStartTime=0,g.last=i,g.tail=l,g.tailMode=o,g.treeForkCount=c)}function rm(t,e,l){var i=e.pendingProps,o=i.revealOrder,c=i.tail;i=i.children;var g=Wt.current,v=(g&2)!==0;if(v?(g=g&1|2,e.flags|=128):g&=1,E(Wt,g),he(t,e,i,l),i=Mt?qi:0,!v&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&um(t,l,e);else if(t.tag===19)um(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(o){case"forwards":for(l=e.child,o=null;l!==null;)t=l.alternate,t!==null&&hu(t)===null&&(o=l),l=l.sibling;l=o,l===null?(o=e.child,e.child=null):(o=l.sibling,l.sibling=null),Ko(e,!1,o,l,c,i);break;case"backwards":case"unstable_legacy-backwards":for(l=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&hu(t)===null){e.child=o;break}t=o.sibling,o.sibling=l,l=o,o=t}Ko(e,!0,l,null,c,i);break;case"together":Ko(e,!1,null,null,void 0,i);break;default:e.memoizedState=null}return e.child}function Tn(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Jn|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(Il(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,l=yn(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=yn(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Jo(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&iu(t)))}function f1(t,e,l){switch(e.tag){case 3:Kt(e,e.stateNode.containerInfo),qn(e,te,t.memoizedState.cache),dl();break;case 27:case 5:Ye(e);break;case 4:Kt(e,e.stateNode.containerInfo);break;case 10:qn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,vo(e),null;break;case 13:var i=e.memoizedState;if(i!==null)return i.dehydrated!==null?(Gn(e),e.flags|=128,null):(l&e.child.childLanes)!==0?am(t,e,l):(Gn(e),t=Tn(t,e,l),t!==null?t.sibling:null);Gn(e);break;case 19:var o=(t.flags&128)!==0;if(i=(l&e.childLanes)!==0,i||(Il(t,e,l,!1),i=(l&e.childLanes)!==0),o){if(i)return rm(t,e,l);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),E(Wt,Wt.current),i)break;return null;case 22:return e.lanes=0,Ph(t,e,l,e.pendingProps);case 24:qn(e,te,t.memoizedState.cache)}return Tn(t,e,l)}function om(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)ne=!0;else{if(!Jo(t,l)&&(e.flags&128)===0)return ne=!1,f1(t,e,l);ne=(t.flags&131072)!==0}else ne=!1,Mt&&(e.flags&1048576)!==0&&qf(e,qi,e.index);switch(e.lanes=0,e.tag){case 16:t:{var i=e.pendingProps;if(t=bl(e.elementType),e.type=t,typeof t=="function")Wr(t)?(i=El(t,i),e.tag=1,e=lm(null,e,t,i,l)):(e.tag=0,e=Yo(null,e,t,i,l));else{if(t!=null){var o=t.$$typeof;if(o===ut){e.tag=11,e=Ih(null,e,t,i,l);break t}else if(o===W){e.tag=14,e=$h(null,e,t,i,l);break t}}throw e=it(t)||t,Error(r(306,e,""))}}return e;case 0:return Yo(t,e,e.type,e.pendingProps,l);case 1:return i=e.type,o=El(i,e.pendingProps),lm(t,e,i,o,l);case 3:t:{if(Kt(e,e.stateNode.containerInfo),t===null)throw Error(r(387));i=e.pendingProps;var c=e.memoizedState;o=c.element,mo(t,e),Ji(e,i,null,l);var g=e.memoizedState;if(i=g.cache,qn(e,te,i),i!==c.cache&&ro(e,[te],l,!0),Ki(),i=g.element,c.isDehydrated)if(c={element:i,isDehydrated:!1,cache:g.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=im(t,e,i,l);break t}else if(i!==o){o=Qe(Error(r(424)),e),Yi(o),e=im(t,e,i,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Qt=Ie(t.firstChild),se=e,Mt=!0,Un=null,Je=!0,l=Pf(e,null,i,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(dl(),i===o){e=Tn(t,e,l);break t}he(t,e,i,l)}e=e.child}return e;case 26:return Tu(t,e),t===null?(l=vd(e.type,null,e.pendingProps,null))?e.memoizedState=l:Mt||(l=e.type,t=e.pendingProps,i=qu(ot.current).createElement(l),i[ce]=e,i[Ee]=t,me(i,l,t),re(i),e.stateNode=i):e.memoizedState=vd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ye(e),t===null&&Mt&&(i=e.stateNode=gd(e.type,e.pendingProps,ot.current),se=e,Je=!0,o=Qt,Pn(e.type)?(Cc=o,Qt=Ie(i.firstChild)):Qt=o),he(t,e,e.pendingProps.children,l),Tu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Mt&&((o=i=Qt)&&(i=Y1(i,e.type,e.pendingProps,Je),i!==null?(e.stateNode=i,se=e,Qt=Ie(i.firstChild),Je=!1,o=!0):o=!1),o||Hn(e)),Ye(e),o=e.type,c=e.pendingProps,g=t!==null?t.memoizedProps:null,i=c.children,Ec(o,c)?i=null:g!==null&&Ec(o,g)&&(e.flags|=32),e.memoizedState!==null&&(o=So(t,e,n1,null,null,l),da._currentValue=o),Tu(t,e),he(t,e,i,l),e.child;case 6:return t===null&&Mt&&((t=l=Qt)&&(l=V1(l,e.pendingProps,Je),l!==null?(e.stateNode=l,se=e,Qt=null,t=!0):t=!1),t||Hn(e)),null;case 13:return am(t,e,l);case 4:return Kt(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=xl(e,null,i,l):he(t,e,i,l),e.child;case 11:return Ih(t,e,e.type,e.pendingProps,l);case 7:return he(t,e,e.pendingProps,l),e.child;case 8:return he(t,e,e.pendingProps.children,l),e.child;case 12:return he(t,e,e.pendingProps.children,l),e.child;case 10:return i=e.pendingProps,qn(e,e.type,i.value),he(t,e,i.children,l),e.child;case 9:return o=e.type._context,i=e.pendingProps.children,gl(e),o=fe(o),i=i(o),e.flags|=1,he(t,e,i,l),e.child;case 14:return $h(t,e,e.type,e.pendingProps,l);case 15:return Wh(t,e,e.type,e.pendingProps,l);case 19:return rm(t,e,l);case 31:return s1(t,e,l);case 22:return Ph(t,e,l,e.pendingProps);case 24:return gl(e),i=fe(te),t===null?(o=so(),o===null&&(o=Vt,c=oo(),o.pooledCache=c,c.refCount++,c!==null&&(o.pooledCacheLanes|=l),o=c),e.memoizedState={parent:i,cache:o},ho(e),qn(e,te,o)):((t.lanes&l)!==0&&(mo(t,e),Ji(e,null,null,l),Ki()),o=t.memoizedState,c=e.memoizedState,o.parent!==i?(o={parent:i,cache:i},e.memoizedState=o,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=o),qn(e,te,i)):(i=c.cache,qn(e,te,i),i!==o.cache&&ro(e,[te],l,!0))),he(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function kn(t){t.flags|=4}function Fo(t,e,l,i,o){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(o&335544128)===o)if(t.stateNode.complete)t.flags|=8192;else if(jm())t.flags|=8192;else throw vl=ou,fo}else t.flags&=-16777217}function cm(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!kd(e))if(jm())t.flags|=8192;else throw vl=ou,fo}function Au(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Ys():536870912,t.lanes|=e,oi|=e)}function ta(t,e){if(!Mt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}function Zt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,i=0;if(e)for(var o=t.child;o!==null;)l|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)l|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=i,t.childLanes=l,e}function h1(t,e,l){var i=e.pendingProps;switch(no(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(e),null;case 1:return Zt(e),null;case 3:return l=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),xn(te),Bt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Fl(e)?kn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,io())),Zt(e),null;case 26:var o=e.type,c=e.memoizedState;return t===null?(kn(e),c!==null?(Zt(e),cm(e,c)):(Zt(e),Fo(e,o,null,i,l))):c?c!==t.memoizedState?(kn(e),Zt(e),cm(e,c)):(Zt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&kn(e),Zt(e),Fo(e,o,t,i,l)),null;case 27:if(fn(e),l=ot.current,o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&kn(e);else{if(!i){if(e.stateNode===null)throw Error(r(166));return Zt(e),null}t=et.current,Fl(e)?Vf(e):(t=gd(o,i,l),e.stateNode=t,kn(e))}return Zt(e),null;case 5:if(fn(e),o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&kn(e);else{if(!i){if(e.stateNode===null)throw Error(r(166));return Zt(e),null}if(c=et.current,Fl(e))Vf(e);else{var g=qu(ot.current);switch(c){case 1:c=g.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:c=g.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":c=g.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":c=g.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":c=g.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof i.is=="string"?g.createElement("select",{is:i.is}):g.createElement("select"),i.multiple?c.multiple=!0:i.size&&(c.size=i.size);break;default:c=typeof i.is=="string"?g.createElement(o,{is:i.is}):g.createElement(o)}}c[ce]=e,c[Ee]=i;t:for(g=e.child;g!==null;){if(g.tag===5||g.tag===6)c.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break t;for(;g.sibling===null;){if(g.return===null||g.return===e)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}e.stateNode=c;t:switch(me(c,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&kn(e)}}return Zt(e),Fo(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&kn(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(r(166));if(t=ot.current,Fl(e)){if(t=e.stateNode,l=e.memoizedProps,i=null,o=se,o!==null)switch(o.tag){case 27:case 5:i=o.memoizedProps}t[ce]=e,t=!!(t.nodeValue===l||i!==null&&i.suppressHydrationWarning===!0||ad(t.nodeValue,l)),t||Hn(e,!0)}else t=qu(t).createTextNode(i),t[ce]=e,e.stateNode=t}return Zt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(i=Fl(e),l!==null){if(t===null){if(!i)throw Error(r(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[ce]=e}else dl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Zt(e),t=!1}else l=io(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(je(e),e):(je(e),null);if((e.flags&128)!==0)throw Error(r(558))}return Zt(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(o=Fl(e),i!==null&&i.dehydrated!==null){if(t===null){if(!o)throw Error(r(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));o[ce]=e}else dl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Zt(e),o=!1}else o=io(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),o=!0;if(!o)return e.flags&256?(je(e),e):(je(e),null)}return je(e),(e.flags&128)!==0?(e.lanes=l,e):(l=i!==null,t=t!==null&&t.memoizedState!==null,l&&(i=e.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==o&&(i.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),Au(e,e.updateQueue),Zt(e),null);case 4:return Bt(),t===null&&yc(e.stateNode.containerInfo),Zt(e),null;case 10:return xn(e.type),Zt(e),null;case 19:if(Y(Wt),i=e.memoizedState,i===null)return Zt(e),null;if(o=(e.flags&128)!==0,c=i.rendering,c===null)if(o)ta(i,!1);else{if($t!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=hu(t),c!==null){for(e.flags|=128,ta(i,!1),t=c.updateQueue,e.updateQueue=t,Au(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Bf(l,t),l=l.sibling;return E(Wt,Wt.current&1|2),Mt&&bn(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&ye()>_u&&(e.flags|=128,o=!0,ta(i,!1),e.lanes=4194304)}else{if(!o)if(t=hu(c),t!==null){if(e.flags|=128,o=!0,t=t.updateQueue,e.updateQueue=t,Au(e,t),ta(i,!0),i.tail===null&&i.tailMode==="hidden"&&!c.alternate&&!Mt)return Zt(e),null}else 2*ye()-i.renderingStartTime>_u&&l!==536870912&&(e.flags|=128,o=!0,ta(i,!1),e.lanes=4194304);i.isBackwards?(c.sibling=e.child,e.child=c):(t=i.last,t!==null?t.sibling=c:e.child=c,i.last=c)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ye(),t.sibling=null,l=Wt.current,E(Wt,o?l&1|2:l&1),Mt&&bn(e,i.treeForkCount),t):(Zt(e),null);case 22:case 23:return je(e),bo(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(l&536870912)!==0&&(e.flags&128)===0&&(Zt(e),e.subtreeFlags&6&&(e.flags|=8192)):Zt(e),l=e.updateQueue,l!==null&&Au(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==l&&(e.flags|=2048),t!==null&&Y(yl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),xn(te),Zt(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function m1(t,e){switch(no(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return xn(te),Bt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return fn(e),null;case 31:if(e.memoizedState!==null){if(je(e),e.alternate===null)throw Error(r(340));dl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(je(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));dl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Y(Wt),null;case 4:return Bt(),null;case 10:return xn(e.type),null;case 22:case 23:return je(e),bo(),t!==null&&Y(yl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return xn(te),null;case 25:return null;default:return null}}function sm(t,e){switch(no(e),e.tag){case 3:xn(te),Bt();break;case 26:case 27:case 5:fn(e);break;case 4:Bt();break;case 31:e.memoizedState!==null&&je(e);break;case 13:je(e);break;case 19:Y(Wt);break;case 10:xn(e.type);break;case 22:case 23:je(e),bo(),t!==null&&Y(yl);break;case 24:xn(te)}}function ea(t,e){try{var l=e.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var o=i.next;l=o;do{if((l.tag&t)===t){i=void 0;var c=l.create,g=l.inst;i=c(),g.destroy=i}l=l.next}while(l!==o)}}catch(v){Lt(e,e.return,v)}}function Zn(t,e,l){try{var i=e.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var c=o.next;i=c;do{if((i.tag&t)===t){var g=i.inst,v=g.destroy;if(v!==void 0){g.destroy=void 0,o=e;var A=l,N=v;try{N()}catch(q){Lt(o,A,q)}}}i=i.next}while(i!==c)}}catch(q){Lt(e,e.return,q)}}function fm(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{eh(e,l)}catch(i){Lt(t,t.return,i)}}}function hm(t,e,l){l.props=El(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(i){Lt(t,e,i)}}function na(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:i=t.stateNode;break;default:i=t.stateNode}typeof l=="function"?t.refCleanup=l(i):l.current=i}}catch(o){Lt(t,e,o)}}function rn(t,e){var l=t.ref,i=t.refCleanup;if(l!==null)if(typeof i=="function")try{i()}catch(o){Lt(t,e,o)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(o){Lt(t,e,o)}else l.current=null}function mm(t){var e=t.type,l=t.memoizedProps,i=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&i.focus();break t;case"img":l.src?i.src=l.src:l.srcSet&&(i.srcset=l.srcSet)}}catch(o){Lt(t,t.return,o)}}function Io(t,e,l){try{var i=t.stateNode;j1(i,t.type,l,e),i[Ee]=e}catch(o){Lt(t,t.return,o)}}function dm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Pn(t.type)||t.tag===4}function $o(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||dm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Pn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Wo(t,e,l){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=pn));else if(i!==4&&(i===27&&Pn(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Wo(t,e,l),t=t.sibling;t!==null;)Wo(t,e,l),t=t.sibling}function zu(t,e,l){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(i!==4&&(i===27&&Pn(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(zu(t,e,l),t=t.sibling;t!==null;)zu(t,e,l),t=t.sibling}function pm(t){var e=t.stateNode,l=t.memoizedProps;try{for(var i=t.type,o=e.attributes;o.length;)e.removeAttributeNode(o[0]);me(e,i,l),e[ce]=t,e[Ee]=l}catch(c){Lt(t,t.return,c)}}var An=!1,le=!1,Po=!1,gm=typeof WeakSet=="function"?WeakSet:Set,oe=null;function d1(t,e){if(t=t.containerInfo,xc=Ku,t=wf(t),Qr(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var i=l.getSelection&&l.getSelection();if(i&&i.rangeCount!==0){l=i.anchorNode;var o=i.anchorOffset,c=i.focusNode;i=i.focusOffset;try{l.nodeType,c.nodeType}catch{l=null;break t}var g=0,v=-1,A=-1,N=0,q=0,Z=t,L=null;e:for(;;){for(var B;Z!==l||o!==0&&Z.nodeType!==3||(v=g+o),Z!==c||i!==0&&Z.nodeType!==3||(A=g+i),Z.nodeType===3&&(g+=Z.nodeValue.length),(B=Z.firstChild)!==null;)L=Z,Z=B;for(;;){if(Z===t)break e;if(L===l&&++N===o&&(v=g),L===c&&++q===i&&(A=g),(B=Z.nextSibling)!==null)break;Z=L,L=Z.parentNode}Z=B}l=v===-1||A===-1?null:{start:v,end:A}}else l=null}l=l||{start:0,end:0}}else l=null;for(Sc={focusedElem:t,selectionRange:l},Ku=!1,oe=e;oe!==null;)if(e=oe,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,oe=t;else for(;oe!==null;){switch(e=oe,c=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)o=t[l],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&c!==null){t=void 0,l=e,o=c.memoizedProps,c=c.memoizedState,i=l.stateNode;try{var lt=El(l.type,o);t=i.getSnapshotBeforeUpdate(lt,c),i.__reactInternalSnapshotBeforeUpdate=t}catch(ht){Lt(l,l.return,ht)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)kc(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":kc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=e.sibling,t!==null){t.return=e.return,oe=t;break}oe=e.return}}function ym(t,e,l){var i=l.flags;switch(l.tag){case 0:case 11:case 15:Cn(t,l),i&4&&ea(5,l);break;case 1:if(Cn(t,l),i&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(g){Lt(l,l.return,g)}else{var o=El(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(o,e,t.__reactInternalSnapshotBeforeUpdate)}catch(g){Lt(l,l.return,g)}}i&64&&fm(l),i&512&&na(l,l.return);break;case 3:if(Cn(t,l),i&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{eh(t,e)}catch(g){Lt(l,l.return,g)}}break;case 27:e===null&&i&4&&pm(l);case 26:case 5:Cn(t,l),e===null&&i&4&&mm(l),i&512&&na(l,l.return);break;case 12:Cn(t,l);break;case 31:Cn(t,l),i&4&&xm(t,l);break;case 13:Cn(t,l),i&4&&Sm(t,l),i&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=T1.bind(null,l),X1(t,l))));break;case 22:if(i=l.memoizedState!==null||An,!i){e=e!==null&&e.memoizedState!==null||le,o=An;var c=le;An=i,(le=e)&&!c?wn(t,l,(l.subtreeFlags&8772)!==0):Cn(t,l),An=o,le=c}break;case 30:break;default:Cn(t,l)}}function bm(t){var e=t.alternate;e!==null&&(t.alternate=null,bm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&wr(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Jt=null,ke=!1;function zn(t,e,l){for(l=l.child;l!==null;)vm(t,e,l),l=l.sibling}function vm(t,e,l){if(ae&&typeof ae.onCommitFiberUnmount=="function")try{ae.onCommitFiberUnmount(be,l)}catch{}switch(l.tag){case 26:le||rn(l,e),zn(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:le||rn(l,e);var i=Jt,o=ke;Pn(l.type)&&(Jt=l.stateNode,ke=!1),zn(t,e,l),fa(l.stateNode),Jt=i,ke=o;break;case 5:le||rn(l,e);case 6:if(i=Jt,o=ke,Jt=null,zn(t,e,l),Jt=i,ke=o,Jt!==null)if(ke)try{(Jt.nodeType===9?Jt.body:Jt.nodeName==="HTML"?Jt.ownerDocument.body:Jt).removeChild(l.stateNode)}catch(c){Lt(l,e,c)}else try{Jt.removeChild(l.stateNode)}catch(c){Lt(l,e,c)}break;case 18:Jt!==null&&(ke?(t=Jt,fd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),gi(t)):fd(Jt,l.stateNode));break;case 4:i=Jt,o=ke,Jt=l.stateNode.containerInfo,ke=!0,zn(t,e,l),Jt=i,ke=o;break;case 0:case 11:case 14:case 15:Zn(2,l,e),le||Zn(4,l,e),zn(t,e,l);break;case 1:le||(rn(l,e),i=l.stateNode,typeof i.componentWillUnmount=="function"&&hm(l,e,i)),zn(t,e,l);break;case 21:zn(t,e,l);break;case 22:le=(i=le)||l.memoizedState!==null,zn(t,e,l),le=i;break;default:zn(t,e,l)}}function xm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{gi(t)}catch(l){Lt(e,e.return,l)}}}function Sm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{gi(t)}catch(l){Lt(e,e.return,l)}}function p1(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new gm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new gm),e;default:throw Error(r(435,t.tag))}}function Cu(t,e){var l=p1(t);e.forEach(function(i){if(!l.has(i)){l.add(i);var o=k1.bind(null,t,i);i.then(o,o)}})}function Ae(t,e){var l=e.deletions;if(l!==null)for(var i=0;i<l.length;i++){var o=l[i],c=t,g=e,v=g;t:for(;v!==null;){switch(v.tag){case 27:if(Pn(v.type)){Jt=v.stateNode,ke=!1;break t}break;case 5:Jt=v.stateNode,ke=!1;break t;case 3:case 4:Jt=v.stateNode.containerInfo,ke=!0;break t}v=v.return}if(Jt===null)throw Error(r(160));vm(c,g,o),Jt=null,ke=!1,c=o.alternate,c!==null&&(c.return=null),o.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Em(e,t),e=e.sibling}var en=null;function Em(t,e){var l=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ae(e,t),ze(t),i&4&&(Zn(3,t,t.return),ea(3,t),Zn(5,t,t.return));break;case 1:Ae(e,t),ze(t),i&512&&(le||l===null||rn(l,l.return)),i&64&&An&&(t=t.updateQueue,t!==null&&(i=t.callbacks,i!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?i:l.concat(i))));break;case 26:var o=en;if(Ae(e,t),ze(t),i&512&&(le||l===null||rn(l,l.return)),i&4){var c=l!==null?l.memoizedState:null;if(i=t.memoizedState,l===null)if(i===null)if(t.stateNode===null){t:{i=t.type,l=t.memoizedProps,o=o.ownerDocument||o;e:switch(i){case"title":c=o.getElementsByTagName("title")[0],(!c||c[Mi]||c[ce]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=o.createElement(i),o.head.insertBefore(c,o.querySelector("head > title"))),me(c,i,l),c[ce]=t,re(c),i=c;break t;case"link":var g=Ed("link","href",o).get(i+(l.href||""));if(g){for(var v=0;v<g.length;v++)if(c=g[v],c.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&c.getAttribute("rel")===(l.rel==null?null:l.rel)&&c.getAttribute("title")===(l.title==null?null:l.title)&&c.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){g.splice(v,1);break e}}c=o.createElement(i),me(c,i,l),o.head.appendChild(c);break;case"meta":if(g=Ed("meta","content",o).get(i+(l.content||""))){for(v=0;v<g.length;v++)if(c=g[v],c.getAttribute("content")===(l.content==null?null:""+l.content)&&c.getAttribute("name")===(l.name==null?null:l.name)&&c.getAttribute("property")===(l.property==null?null:l.property)&&c.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&c.getAttribute("charset")===(l.charSet==null?null:l.charSet)){g.splice(v,1);break e}}c=o.createElement(i),me(c,i,l),o.head.appendChild(c);break;default:throw Error(r(468,i))}c[ce]=t,re(c),i=c}t.stateNode=i}else Td(o,t.type,t.stateNode);else t.stateNode=Sd(o,i,t.memoizedProps);else c!==i?(c===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):c.count--,i===null?Td(o,t.type,t.stateNode):Sd(o,i,t.memoizedProps)):i===null&&t.stateNode!==null&&Io(t,t.memoizedProps,l.memoizedProps)}break;case 27:Ae(e,t),ze(t),i&512&&(le||l===null||rn(l,l.return)),l!==null&&i&4&&Io(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Ae(e,t),ze(t),i&512&&(le||l===null||rn(l,l.return)),t.flags&32){o=t.stateNode;try{Hl(o,"")}catch(lt){Lt(t,t.return,lt)}}i&4&&t.stateNode!=null&&(o=t.memoizedProps,Io(t,o,l!==null?l.memoizedProps:o)),i&1024&&(Po=!0);break;case 6:if(Ae(e,t),ze(t),i&4){if(t.stateNode===null)throw Error(r(162));i=t.memoizedProps,l=t.stateNode;try{l.nodeValue=i}catch(lt){Lt(t,t.return,lt)}}break;case 3:if(Xu=null,o=en,en=Yu(e.containerInfo),Ae(e,t),en=o,ze(t),i&4&&l!==null&&l.memoizedState.isDehydrated)try{gi(e.containerInfo)}catch(lt){Lt(t,t.return,lt)}Po&&(Po=!1,Tm(t));break;case 4:i=en,en=Yu(t.stateNode.containerInfo),Ae(e,t),ze(t),en=i;break;case 12:Ae(e,t),ze(t);break;case 31:Ae(e,t),ze(t),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,Cu(t,i)));break;case 13:Ae(e,t),ze(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Mu=ye()),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,Cu(t,i)));break;case 22:o=t.memoizedState!==null;var A=l!==null&&l.memoizedState!==null,N=An,q=le;if(An=N||o,le=q||A,Ae(e,t),le=q,An=N,ze(t),i&8192)t:for(e=t.stateNode,e._visibility=o?e._visibility&-2:e._visibility|1,o&&(l===null||A||An||le||Tl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){A=l=e;try{if(c=A.stateNode,o)g=c.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{v=A.stateNode;var Z=A.memoizedProps.style,L=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;v.style.display=L==null||typeof L=="boolean"?"":(""+L).trim()}}catch(lt){Lt(A,A.return,lt)}}}else if(e.tag===6){if(l===null){A=e;try{A.stateNode.nodeValue=o?"":A.memoizedProps}catch(lt){Lt(A,A.return,lt)}}}else if(e.tag===18){if(l===null){A=e;try{var B=A.stateNode;o?hd(B,!0):hd(A.stateNode,!1)}catch(lt){Lt(A,A.return,lt)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}i&4&&(i=t.updateQueue,i!==null&&(l=i.retryQueue,l!==null&&(i.retryQueue=null,Cu(t,l))));break;case 19:Ae(e,t),ze(t),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,Cu(t,i)));break;case 30:break;case 21:break;default:Ae(e,t),ze(t)}}function ze(t){var e=t.flags;if(e&2){try{for(var l,i=t.return;i!==null;){if(dm(i)){l=i;break}i=i.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var o=l.stateNode,c=$o(t);zu(t,c,o);break;case 5:var g=l.stateNode;l.flags&32&&(Hl(g,""),l.flags&=-33);var v=$o(t);zu(t,v,g);break;case 3:case 4:var A=l.stateNode.containerInfo,N=$o(t);Wo(t,N,A);break;default:throw Error(r(161))}}catch(q){Lt(t,t.return,q)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Tm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Tm(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Cn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)ym(t,e.alternate,e),e=e.sibling}function Tl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Zn(4,e,e.return),Tl(e);break;case 1:rn(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&hm(e,e.return,l),Tl(e);break;case 27:fa(e.stateNode);case 26:case 5:rn(e,e.return),Tl(e);break;case 22:e.memoizedState===null&&Tl(e);break;case 30:Tl(e);break;default:Tl(e)}t=t.sibling}}function wn(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var i=e.alternate,o=t,c=e,g=c.flags;switch(c.tag){case 0:case 11:case 15:wn(o,c,l),ea(4,c);break;case 1:if(wn(o,c,l),i=c,o=i.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(N){Lt(i,i.return,N)}if(i=c,o=i.updateQueue,o!==null){var v=i.stateNode;try{var A=o.shared.hiddenCallbacks;if(A!==null)for(o.shared.hiddenCallbacks=null,o=0;o<A.length;o++)th(A[o],v)}catch(N){Lt(i,i.return,N)}}l&&g&64&&fm(c),na(c,c.return);break;case 27:pm(c);case 26:case 5:wn(o,c,l),l&&i===null&&g&4&&mm(c),na(c,c.return);break;case 12:wn(o,c,l);break;case 31:wn(o,c,l),l&&g&4&&xm(o,c);break;case 13:wn(o,c,l),l&&g&4&&Sm(o,c);break;case 22:c.memoizedState===null&&wn(o,c,l),na(c,c.return);break;case 30:break;default:wn(o,c,l)}e=e.sibling}}function tc(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Vi(l))}function ec(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Vi(t))}function nn(t,e,l,i){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)km(t,e,l,i),e=e.sibling}function km(t,e,l,i){var o=e.flags;switch(e.tag){case 0:case 11:case 15:nn(t,e,l,i),o&2048&&ea(9,e);break;case 1:nn(t,e,l,i);break;case 3:nn(t,e,l,i),o&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Vi(t)));break;case 12:if(o&2048){nn(t,e,l,i),t=e.stateNode;try{var c=e.memoizedProps,g=c.id,v=c.onPostCommit;typeof v=="function"&&v(g,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){Lt(e,e.return,A)}}else nn(t,e,l,i);break;case 31:nn(t,e,l,i);break;case 13:nn(t,e,l,i);break;case 23:break;case 22:c=e.stateNode,g=e.alternate,e.memoizedState!==null?c._visibility&2?nn(t,e,l,i):la(t,e):c._visibility&2?nn(t,e,l,i):(c._visibility|=2,ai(t,e,l,i,(e.subtreeFlags&10256)!==0||!1)),o&2048&&tc(g,e);break;case 24:nn(t,e,l,i),o&2048&&ec(e.alternate,e);break;default:nn(t,e,l,i)}}function ai(t,e,l,i,o){for(o=o&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,g=e,v=l,A=i,N=g.flags;switch(g.tag){case 0:case 11:case 15:ai(c,g,v,A,o),ea(8,g);break;case 23:break;case 22:var q=g.stateNode;g.memoizedState!==null?q._visibility&2?ai(c,g,v,A,o):la(c,g):(q._visibility|=2,ai(c,g,v,A,o)),o&&N&2048&&tc(g.alternate,g);break;case 24:ai(c,g,v,A,o),o&&N&2048&&ec(g.alternate,g);break;default:ai(c,g,v,A,o)}e=e.sibling}}function la(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,i=e,o=i.flags;switch(i.tag){case 22:la(l,i),o&2048&&tc(i.alternate,i);break;case 24:la(l,i),o&2048&&ec(i.alternate,i);break;default:la(l,i)}e=e.sibling}}var ia=8192;function ui(t,e,l){if(t.subtreeFlags&ia)for(t=t.child;t!==null;)Am(t,e,l),t=t.sibling}function Am(t,e,l){switch(t.tag){case 26:ui(t,e,l),t.flags&ia&&t.memoizedState!==null&&e0(l,en,t.memoizedState,t.memoizedProps);break;case 5:ui(t,e,l);break;case 3:case 4:var i=en;en=Yu(t.stateNode.containerInfo),ui(t,e,l),en=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=ia,ia=16777216,ui(t,e,l),ia=i):ui(t,e,l));break;default:ui(t,e,l)}}function zm(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function aa(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var i=e[l];oe=i,wm(i,t)}zm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cm(t),t=t.sibling}function Cm(t){switch(t.tag){case 0:case 11:case 15:aa(t),t.flags&2048&&Zn(9,t,t.return);break;case 3:aa(t);break;case 12:aa(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,wu(t)):aa(t);break;default:aa(t)}}function wu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var i=e[l];oe=i,wm(i,t)}zm(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Zn(8,e,e.return),wu(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,wu(e));break;default:wu(e)}t=t.sibling}}function wm(t,e){for(;oe!==null;){var l=oe;switch(l.tag){case 0:case 11:case 15:Zn(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var i=l.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Vi(l.memoizedState.cache)}if(i=l.child,i!==null)i.return=l,oe=i;else t:for(l=t;oe!==null;){i=oe;var o=i.sibling,c=i.return;if(bm(i),i===l){oe=null;break t}if(o!==null){o.return=c,oe=o;break t}oe=c}}}var g1={getCacheForType:function(t){var e=fe(te),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return fe(te).controller.signal}},y1=typeof WeakMap=="function"?WeakMap:Map,Nt=0,Vt=null,Tt=null,Ct=0,jt=0,Le=null,Kn=!1,ri=!1,nc=!1,Mn=0,$t=0,Jn=0,kl=0,lc=0,Be=0,oi=0,ua=null,Ce=null,ic=!1,Mu=0,Mm=0,_u=1/0,Du=null,Fn=null,ue=0,In=null,ci=null,_n=0,ac=0,uc=null,_m=null,ra=0,rc=null;function Ue(){return(Nt&2)!==0&&Ct!==0?Ct&-Ct:_.T!==null?mc():Qs()}function Dm(){if(Be===0)if((Ct&536870912)===0||Mt){var t=Ha;Ha<<=1,(Ha&3932160)===0&&(Ha=262144),Be=t}else Be=536870912;return t=Re.current,t!==null&&(t.flags|=32),Be}function we(t,e,l){(t===Vt&&(jt===2||jt===9)||t.cancelPendingCommit!==null)&&(si(t,0),$n(t,Ct,Be,!1)),wi(t,l),((Nt&2)===0||t!==Vt)&&(t===Vt&&((Nt&2)===0&&(kl|=l),$t===4&&$n(t,Ct,Be,!1)),on(t))}function Om(t,e,l){if((Nt&6)!==0)throw Error(r(327));var i=!l&&(e&127)===0&&(e&t.expiredLanes)===0||Ci(t,e),o=i?x1(t,e):cc(t,e,!0),c=i;do{if(o===0){ri&&!i&&$n(t,e,0,!1);break}else{if(l=t.current.alternate,c&&!b1(l)){o=cc(t,e,!1),c=!1;continue}if(o===2){if(c=e,t.errorRecoveryDisabledLanes&c)var g=0;else g=t.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){e=g;t:{var v=t;o=ua;var A=v.current.memoizedState.isDehydrated;if(A&&(si(v,g).flags|=256),g=cc(v,g,!1),g!==2){if(nc&&!A){v.errorRecoveryDisabledLanes|=c,kl|=c,o=4;break t}c=Ce,Ce=o,c!==null&&(Ce===null?Ce=c:Ce.push.apply(Ce,c))}o=g}if(c=!1,o!==2)continue}}if(o===1){si(t,0),$n(t,e,0,!0);break}t:{switch(i=t,c=o,c){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:$n(i,e,Be,!Kn);break t;case 2:Ce=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(o=Mu+300-ye(),10<o)){if($n(i,e,Be,!Kn),Ya(i,0,!0)!==0)break t;_n=e,i.timeoutHandle=cd(Nm.bind(null,i,l,Ce,Du,ic,e,Be,kl,oi,Kn,c,"Throttled",-0,0),o);break t}Nm(i,l,Ce,Du,ic,e,Be,kl,oi,Kn,c,null,-0,0)}}break}while(!0);on(t)}function Nm(t,e,l,i,o,c,g,v,A,N,q,Z,L,B){if(t.timeoutHandle=-1,Z=e.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:pn},Am(e,c,Z);var lt=(c&62914560)===c?Mu-ye():(c&4194048)===c?Mm-ye():0;if(lt=n0(Z,lt),lt!==null){_n=c,t.cancelPendingCommit=lt(Ym.bind(null,t,e,c,l,i,o,g,v,A,q,Z,null,L,B)),$n(t,c,g,!N);return}}Ym(t,e,c,l,i,o,g,v,A)}function b1(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var i=0;i<l.length;i++){var o=l[i],c=o.getSnapshot;o=o.value;try{if(!Oe(c(),o))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function $n(t,e,l,i){e&=~lc,e&=~kl,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var o=e;0<o;){var c=31-Yt(o),g=1<<c;i[c]=-1,o&=~g}l!==0&&Vs(t,l,e)}function Ou(){return(Nt&6)===0?(oa(0),!1):!0}function oc(){if(Tt!==null){if(jt===0)var t=Tt.return;else t=Tt,vn=pl=null,ko(t),ti=null,Gi=0,t=Tt;for(;t!==null;)sm(t.alternate,t),t=t.return;Tt=null}}function si(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,U1(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),_n=0,oc(),Vt=t,Tt=l=yn(t.current,null),Ct=e,jt=0,Le=null,Kn=!1,ri=Ci(t,e),nc=!1,oi=Be=lc=kl=Jn=$t=0,Ce=ua=null,ic=!1,(e&8)!==0&&(e|=e&32);var i=t.entangledLanes;if(i!==0)for(t=t.entanglements,i&=e;0<i;){var o=31-Yt(i),c=1<<o;e|=t[o],i&=~c}return Mn=e,Pa(),l}function Rm(t,e){yt=null,_.H=Wi,e===Pl||e===ru?(e=If(),jt=3):e===fo?(e=If(),jt=4):jt=e===qo?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Le=e,Tt===null&&($t=1,Su(t,Qe(e,t.current)))}function jm(){var t=Re.current;return t===null?!0:(Ct&4194048)===Ct?Fe===null:(Ct&62914560)===Ct||(Ct&536870912)!==0?t===Fe:!1}function Lm(){var t=_.H;return _.H=Wi,t===null?Wi:t}function Bm(){var t=_.A;return _.A=g1,t}function Nu(){$t=4,Kn||(Ct&4194048)!==Ct&&Re.current!==null||(ri=!0),(Jn&134217727)===0&&(kl&134217727)===0||Vt===null||$n(Vt,Ct,Be,!1)}function cc(t,e,l){var i=Nt;Nt|=2;var o=Lm(),c=Bm();(Vt!==t||Ct!==e)&&(Du=null,si(t,e)),e=!1;var g=$t;t:do try{if(jt!==0&&Tt!==null){var v=Tt,A=Le;switch(jt){case 8:oc(),g=6;break t;case 3:case 2:case 9:case 6:Re.current===null&&(e=!0);var N=jt;if(jt=0,Le=null,fi(t,v,A,N),l&&ri){g=0;break t}break;default:N=jt,jt=0,Le=null,fi(t,v,A,N)}}v1(),g=$t;break}catch(q){Rm(t,q)}while(!0);return e&&t.shellSuspendCounter++,vn=pl=null,Nt=i,_.H=o,_.A=c,Tt===null&&(Vt=null,Ct=0,Pa()),g}function v1(){for(;Tt!==null;)Um(Tt)}function x1(t,e){var l=Nt;Nt|=2;var i=Lm(),o=Bm();Vt!==t||Ct!==e?(Du=null,_u=ye()+500,si(t,e)):ri=Ci(t,e);t:do try{if(jt!==0&&Tt!==null){e=Tt;var c=Le;e:switch(jt){case 1:jt=0,Le=null,fi(t,e,c,1);break;case 2:case 9:if(Jf(c)){jt=0,Le=null,Hm(e);break}e=function(){jt!==2&&jt!==9||Vt!==t||(jt=7),on(t)},c.then(e,e);break t;case 3:jt=7;break t;case 4:jt=5;break t;case 7:Jf(c)?(jt=0,Le=null,Hm(e)):(jt=0,Le=null,fi(t,e,c,7));break;case 5:var g=null;switch(Tt.tag){case 26:g=Tt.memoizedState;case 5:case 27:var v=Tt;if(g?kd(g):v.stateNode.complete){jt=0,Le=null;var A=v.sibling;if(A!==null)Tt=A;else{var N=v.return;N!==null?(Tt=N,Ru(N)):Tt=null}break e}}jt=0,Le=null,fi(t,e,c,5);break;case 6:jt=0,Le=null,fi(t,e,c,6);break;case 8:oc(),$t=6;break t;default:throw Error(r(462))}}S1();break}catch(q){Rm(t,q)}while(!0);return vn=pl=null,_.H=i,_.A=o,Nt=l,Tt!==null?0:(Vt=null,Ct=0,Pa(),$t)}function S1(){for(;Tt!==null&&!Sr();)Um(Tt)}function Um(t){var e=om(t.alternate,t,Mn);t.memoizedProps=t.pendingProps,e===null?Ru(t):Tt=e}function Hm(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=nm(l,e,e.pendingProps,e.type,void 0,Ct);break;case 11:e=nm(l,e,e.pendingProps,e.type.render,e.ref,Ct);break;case 5:ko(e);default:sm(l,e),e=Tt=Bf(e,Mn),e=om(l,e,Mn)}t.memoizedProps=t.pendingProps,e===null?Ru(t):Tt=e}function fi(t,e,l,i){vn=pl=null,ko(e),ti=null,Gi=0;var o=e.return;try{if(c1(t,o,e,l,Ct)){$t=1,Su(t,Qe(l,t.current)),Tt=null;return}}catch(c){if(o!==null)throw Tt=o,c;$t=1,Su(t,Qe(l,t.current)),Tt=null;return}e.flags&32768?(Mt||i===1?t=!0:ri||(Ct&536870912)!==0?t=!1:(Kn=t=!0,(i===2||i===9||i===3||i===6)&&(i=Re.current,i!==null&&i.tag===13&&(i.flags|=16384))),qm(e,t)):Ru(e)}function Ru(t){var e=t;do{if((e.flags&32768)!==0){qm(e,Kn);return}t=e.return;var l=h1(e.alternate,e,Mn);if(l!==null){Tt=l;return}if(e=e.sibling,e!==null){Tt=e;return}Tt=e=t}while(e!==null);$t===0&&($t=5)}function qm(t,e){do{var l=m1(t.alternate,t);if(l!==null){l.flags&=32767,Tt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){Tt=t;return}Tt=t=l}while(t!==null);$t=6,Tt=null}function Ym(t,e,l,i,o,c,g,v,A){t.cancelPendingCommit=null;do ju();while(ue!==0);if((Nt&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(c=e.lanes|e.childLanes,c|=Ir,ty(t,l,c,g,v,A),t===Vt&&(Tt=Vt=null,Ct=0),ci=e,In=t,_n=l,ac=c,uc=o,_m=i,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,A1(dt,function(){return Zm(),null})):(t.callbackNode=null,t.callbackPriority=0),i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=_.T,_.T=null,o=G.p,G.p=2,g=Nt,Nt|=4;try{d1(t,e,l)}finally{Nt=g,G.p=o,_.T=i}}ue=1,Vm(),Xm(),Gm()}}function Vm(){if(ue===1){ue=0;var t=In,e=ci,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=_.T,_.T=null;var i=G.p;G.p=2;var o=Nt;Nt|=4;try{Em(e,t);var c=Sc,g=wf(t.containerInfo),v=c.focusedElem,A=c.selectionRange;if(g!==v&&v&&v.ownerDocument&&Cf(v.ownerDocument.documentElement,v)){if(A!==null&&Qr(v)){var N=A.start,q=A.end;if(q===void 0&&(q=N),"selectionStart"in v)v.selectionStart=N,v.selectionEnd=Math.min(q,v.value.length);else{var Z=v.ownerDocument||document,L=Z&&Z.defaultView||window;if(L.getSelection){var B=L.getSelection(),lt=v.textContent.length,ht=Math.min(A.start,lt),qt=A.end===void 0?ht:Math.min(A.end,lt);!B.extend&&ht>qt&&(g=qt,qt=ht,ht=g);var M=zf(v,ht),C=zf(v,qt);if(M&&C&&(B.rangeCount!==1||B.anchorNode!==M.node||B.anchorOffset!==M.offset||B.focusNode!==C.node||B.focusOffset!==C.offset)){var O=Z.createRange();O.setStart(M.node,M.offset),B.removeAllRanges(),ht>qt?(B.addRange(O),B.extend(C.node,C.offset)):(O.setEnd(C.node,C.offset),B.addRange(O))}}}}for(Z=[],B=v;B=B.parentNode;)B.nodeType===1&&Z.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Z.length;v++){var X=Z[v];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Ku=!!xc,Sc=xc=null}finally{Nt=o,G.p=i,_.T=l}}t.current=e,ue=2}}function Xm(){if(ue===2){ue=0;var t=In,e=ci,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=_.T,_.T=null;var i=G.p;G.p=2;var o=Nt;Nt|=4;try{ym(t,e.alternate,e)}finally{Nt=o,G.p=i,_.T=l}}ue=3}}function Gm(){if(ue===4||ue===3){ue=0,Er();var t=In,e=ci,l=_n,i=_m;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ue=5:(ue=0,ci=In=null,Qm(t,t.pendingLanes));var o=t.pendingLanes;if(o===0&&(Fn=null),zr(l),e=e.stateNode,ae&&typeof ae.onCommitFiberRoot=="function")try{ae.onCommitFiberRoot(be,e,void 0,(e.current.flags&128)===128)}catch{}if(i!==null){e=_.T,o=G.p,G.p=2,_.T=null;try{for(var c=t.onRecoverableError,g=0;g<i.length;g++){var v=i[g];c(v.value,{componentStack:v.stack})}}finally{_.T=e,G.p=o}}(_n&3)!==0&&ju(),on(t),o=t.pendingLanes,(l&261930)!==0&&(o&42)!==0?t===rc?ra++:(ra=0,rc=t):ra=0,oa(0)}}function Qm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Vi(e)))}function ju(){return Vm(),Xm(),Gm(),Zm()}function Zm(){if(ue!==5)return!1;var t=In,e=ac;ac=0;var l=zr(_n),i=_.T,o=G.p;try{G.p=32>l?32:l,_.T=null,l=uc,uc=null;var c=In,g=_n;if(ue=0,ci=In=null,_n=0,(Nt&6)!==0)throw Error(r(331));var v=Nt;if(Nt|=4,Cm(c.current),km(c,c.current,g,l),Nt=v,oa(0,!1),ae&&typeof ae.onPostCommitFiberRoot=="function")try{ae.onPostCommitFiberRoot(be,c)}catch{}return!0}finally{G.p=o,_.T=i,Qm(t,e)}}function Km(t,e,l){e=Qe(l,e),e=Ho(t.stateNode,e,2),t=Xn(t,e,2),t!==null&&(wi(t,2),on(t))}function Lt(t,e,l){if(t.tag===3)Km(t,t,l);else for(;e!==null;){if(e.tag===3){Km(e,t,l);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Fn===null||!Fn.has(i))){t=Qe(l,t),l=Jh(2),i=Xn(e,l,2),i!==null&&(Fh(l,i,e,t),wi(i,2),on(i));break}}e=e.return}}function sc(t,e,l){var i=t.pingCache;if(i===null){i=t.pingCache=new y1;var o=new Set;i.set(e,o)}else o=i.get(e),o===void 0&&(o=new Set,i.set(e,o));o.has(l)||(nc=!0,o.add(l),t=E1.bind(null,t,e,l),e.then(t,t))}function E1(t,e,l){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Vt===t&&(Ct&l)===l&&($t===4||$t===3&&(Ct&62914560)===Ct&&300>ye()-Mu?(Nt&2)===0&&si(t,0):lc|=l,oi===Ct&&(oi=0)),on(t)}function Jm(t,e){e===0&&(e=Ys()),t=hl(t,e),t!==null&&(wi(t,e),on(t))}function T1(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Jm(t,l)}function k1(t,e){var l=0;switch(t.tag){case 31:case 13:var i=t.stateNode,o=t.memoizedState;o!==null&&(l=o.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(r(314))}i!==null&&i.delete(e),Jm(t,l)}function A1(t,e){return Ol(t,e)}var Lu=null,hi=null,fc=!1,Bu=!1,hc=!1,Wn=0;function on(t){t!==hi&&t.next===null&&(hi===null?Lu=hi=t:hi=hi.next=t),Bu=!0,fc||(fc=!0,C1())}function oa(t,e){if(!hc&&Bu){hc=!0;do for(var l=!1,i=Lu;i!==null;){if(t!==0){var o=i.pendingLanes;if(o===0)var c=0;else{var g=i.suspendedLanes,v=i.pingedLanes;c=(1<<31-Yt(42|t)+1)-1,c&=o&~(g&~v),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(l=!0,Wm(i,c))}else c=Ct,c=Ya(i,i===Vt?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(c&3)===0||Ci(i,c)||(l=!0,Wm(i,c));i=i.next}while(l);hc=!1}}function z1(){Fm()}function Fm(){Bu=fc=!1;var t=0;Wn!==0&&B1()&&(t=Wn);for(var e=ye(),l=null,i=Lu;i!==null;){var o=i.next,c=Im(i,e);c===0?(i.next=null,l===null?Lu=o:l.next=o,o===null&&(hi=l)):(l=i,(t!==0||(c&3)!==0)&&(Bu=!0)),i=o}ue!==0&&ue!==5||oa(t),Wn!==0&&(Wn=0)}function Im(t,e){for(var l=t.suspendedLanes,i=t.pingedLanes,o=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var g=31-Yt(c),v=1<<g,A=o[g];A===-1?((v&l)===0||(v&i)!==0)&&(o[g]=Pg(v,e)):A<=e&&(t.expiredLanes|=v),c&=~v}if(e=Vt,l=Ct,l=Ya(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,l===0||t===e&&(jt===2||jt===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&zi(i),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Ci(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(i!==null&&zi(i),zr(l)){case 2:case 8:l=$;break;case 32:l=dt;break;case 268435456:l=Rt;break;default:l=dt}return i=$m.bind(null,t),l=Ol(l,i),t.callbackPriority=e,t.callbackNode=l,e}return i!==null&&i!==null&&zi(i),t.callbackPriority=2,t.callbackNode=null,2}function $m(t,e){if(ue!==0&&ue!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(ju()&&t.callbackNode!==l)return null;var i=Ct;return i=Ya(t,t===Vt?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0?null:(Om(t,i,e),Im(t,ye()),t.callbackNode!=null&&t.callbackNode===l?$m.bind(null,t):null)}function Wm(t,e){if(ju())return null;Om(t,e,!0)}function C1(){H1(function(){(Nt&6)!==0?Ol(V,z1):Fm()})}function mc(){if(Wn===0){var t=$l;t===0&&(t=Ua,Ua<<=1,(Ua&261888)===0&&(Ua=256)),Wn=t}return Wn}function Pm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Qa(""+t)}function td(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function w1(t,e,l,i,o){if(e==="submit"&&l&&l.stateNode===o){var c=Pm((o[Ee]||null).action),g=i.submitter;g&&(e=(e=g[Ee]||null)?Pm(e.formAction):g.getAttribute("formAction"),e!==null&&(c=e,g=null));var v=new Fa("action","action",null,i,o);t.push({event:v,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Wn!==0){var A=g?td(o,g):new FormData(o);No(l,{pending:!0,data:A,method:o.method,action:c},null,A)}}else typeof c=="function"&&(v.preventDefault(),A=g?td(o,g):new FormData(o),No(l,{pending:!0,data:A,method:o.method,action:c},c,A))},currentTarget:o}]})}}for(var dc=0;dc<Fr.length;dc++){var pc=Fr[dc],M1=pc.toLowerCase(),_1=pc[0].toUpperCase()+pc.slice(1);tn(M1,"on"+_1)}tn(Df,"onAnimationEnd"),tn(Of,"onAnimationIteration"),tn(Nf,"onAnimationStart"),tn("dblclick","onDoubleClick"),tn("focusin","onFocus"),tn("focusout","onBlur"),tn(Zy,"onTransitionRun"),tn(Ky,"onTransitionStart"),tn(Jy,"onTransitionCancel"),tn(Rf,"onTransitionEnd"),Bl("onMouseEnter",["mouseout","mouseover"]),Bl("onMouseLeave",["mouseout","mouseover"]),Bl("onPointerEnter",["pointerout","pointerover"]),Bl("onPointerLeave",["pointerout","pointerover"]),ol("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ol("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ol("onBeforeInput",["compositionend","keypress","textInput","paste"]),ol("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ol("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ol("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ca="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(" "),D1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ca));function ed(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var i=t[l],o=i.event;i=i.listeners;t:{var c=void 0;if(e)for(var g=i.length-1;0<=g;g--){var v=i[g],A=v.instance,N=v.currentTarget;if(v=v.listener,A!==c&&o.isPropagationStopped())break t;c=v,o.currentTarget=N;try{c(o)}catch(q){Wa(q)}o.currentTarget=null,c=A}else for(g=0;g<i.length;g++){if(v=i[g],A=v.instance,N=v.currentTarget,v=v.listener,A!==c&&o.isPropagationStopped())break t;c=v,o.currentTarget=N;try{c(o)}catch(q){Wa(q)}o.currentTarget=null,c=A}}}}function kt(t,e){var l=e[Cr];l===void 0&&(l=e[Cr]=new Set);var i=t+"__bubble";l.has(i)||(nd(e,t,2,!1),l.add(i))}function gc(t,e,l){var i=0;e&&(i|=4),nd(l,t,i,e)}var Uu="_reactListening"+Math.random().toString(36).slice(2);function yc(t){if(!t[Uu]){t[Uu]=!0,Js.forEach(function(l){l!=="selectionchange"&&(D1.has(l)||gc(l,!1,t),gc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Uu]||(e[Uu]=!0,gc("selectionchange",!1,e))}}function nd(t,e,l,i){switch(Dd(e)){case 2:var o=a0;break;case 8:o=u0;break;default:o=Oc}l=o.bind(null,e,l,t),o=void 0,!Lr||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),i?o!==void 0?t.addEventListener(e,l,{capture:!0,passive:o}):t.addEventListener(e,l,!0):o!==void 0?t.addEventListener(e,l,{passive:o}):t.addEventListener(e,l,!1)}function bc(t,e,l,i,o){var c=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var g=i.tag;if(g===3||g===4){var v=i.stateNode.containerInfo;if(v===o)break;if(g===4)for(g=i.return;g!==null;){var A=g.tag;if((A===3||A===4)&&g.stateNode.containerInfo===o)return;g=g.return}for(;v!==null;){if(g=Rl(v),g===null)return;if(A=g.tag,A===5||A===6||A===26||A===27){i=c=g;continue t}v=v.parentNode}}i=i.return}rf(function(){var N=c,q=Rr(l),Z=[];t:{var L=jf.get(t);if(L!==void 0){var B=Fa,lt=t;switch(t){case"keypress":if(Ka(l)===0)break t;case"keydown":case"keyup":B=ky;break;case"focusin":lt="focus",B=qr;break;case"focusout":lt="blur",B=qr;break;case"beforeblur":case"afterblur":B=qr;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=sf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=hy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=Cy;break;case Df:case Of:case Nf:B=py;break;case Rf:B=My;break;case"scroll":case"scrollend":B=sy;break;case"wheel":B=Dy;break;case"copy":case"cut":case"paste":B=yy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=hf;break;case"toggle":case"beforetoggle":B=Ny}var ht=(e&4)!==0,qt=!ht&&(t==="scroll"||t==="scrollend"),M=ht?L!==null?L+"Capture":null:L;ht=[];for(var C=N,O;C!==null;){var X=C;if(O=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||O===null||M===null||(X=Di(C,M),X!=null&&ht.push(sa(C,X,O))),qt)break;C=C.return}0<ht.length&&(L=new B(L,lt,null,l,q),Z.push({event:L,listeners:ht}))}}if((e&7)===0){t:{if(L=t==="mouseover"||t==="pointerover",B=t==="mouseout"||t==="pointerout",L&&l!==Nr&&(lt=l.relatedTarget||l.fromElement)&&(Rl(lt)||lt[Nl]))break t;if((B||L)&&(L=q.window===q?q:(L=q.ownerDocument)?L.defaultView||L.parentWindow:window,B?(lt=l.relatedTarget||l.toElement,B=N,lt=lt?Rl(lt):null,lt!==null&&(qt=h(lt),ht=lt.tag,lt!==qt||ht!==5&&ht!==27&&ht!==6)&&(lt=null)):(B=null,lt=N),B!==lt)){if(ht=sf,X="onMouseLeave",M="onMouseEnter",C="mouse",(t==="pointerout"||t==="pointerover")&&(ht=hf,X="onPointerLeave",M="onPointerEnter",C="pointer"),qt=B==null?L:_i(B),O=lt==null?L:_i(lt),L=new ht(X,C+"leave",B,l,q),L.target=qt,L.relatedTarget=O,X=null,Rl(q)===N&&(ht=new ht(M,C+"enter",lt,l,q),ht.target=O,ht.relatedTarget=qt,X=ht),qt=X,B&<)e:{for(ht=O1,M=B,C=lt,O=0,X=M;X;X=ht(X))O++;X=0;for(var ct=C;ct;ct=ht(ct))X++;for(;0<O-X;)M=ht(M),O--;for(;0<X-O;)C=ht(C),X--;for(;O--;){if(M===C||C!==null&&M===C.alternate){ht=M;break e}M=ht(M),C=ht(C)}ht=null}else ht=null;B!==null&&ld(Z,L,B,ht,!1),lt!==null&&qt!==null&&ld(Z,qt,lt,ht,!0)}}t:{if(L=N?_i(N):window,B=L.nodeName&&L.nodeName.toLowerCase(),B==="select"||B==="input"&&L.type==="file")var Dt=xf;else if(bf(L))if(Sf)Dt=Xy;else{Dt=Yy;var at=qy}else B=L.nodeName,!B||B.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?N&&Or(N.elementType)&&(Dt=xf):Dt=Vy;if(Dt&&(Dt=Dt(t,N))){vf(Z,Dt,l,q);break t}at&&at(t,L,N),t==="focusout"&&N&&L.type==="number"&&N.memoizedProps.value!=null&&Dr(L,"number",L.value)}switch(at=N?_i(N):window,t){case"focusin":(bf(at)||at.contentEditable==="true")&&(Xl=at,Zr=N,Hi=null);break;case"focusout":Hi=Zr=Xl=null;break;case"mousedown":Kr=!0;break;case"contextmenu":case"mouseup":case"dragend":Kr=!1,Mf(Z,l,q);break;case"selectionchange":if(Qy)break;case"keydown":case"keyup":Mf(Z,l,q)}var vt;if(Vr)t:{switch(t){case"compositionstart":var wt="onCompositionStart";break t;case"compositionend":wt="onCompositionEnd";break t;case"compositionupdate":wt="onCompositionUpdate";break t}wt=void 0}else Vl?gf(t,l)&&(wt="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(wt="onCompositionStart");wt&&(mf&&l.locale!=="ko"&&(Vl||wt!=="onCompositionStart"?wt==="onCompositionEnd"&&Vl&&(vt=of()):(Ln=q,Br="value"in Ln?Ln.value:Ln.textContent,Vl=!0)),at=Hu(N,wt),0<at.length&&(wt=new ff(wt,t,null,l,q),Z.push({event:wt,listeners:at}),vt?wt.data=vt:(vt=yf(l),vt!==null&&(wt.data=vt)))),(vt=jy?Ly(t,l):By(t,l))&&(wt=Hu(N,"onBeforeInput"),0<wt.length&&(at=new ff("onBeforeInput","beforeinput",null,l,q),Z.push({event:at,listeners:wt}),at.data=vt)),w1(Z,t,N,l,q)}ed(Z,e)})}function sa(t,e,l){return{instance:t,listener:e,currentTarget:l}}function Hu(t,e){for(var l=e+"Capture",i=[];t!==null;){var o=t,c=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||c===null||(o=Di(t,l),o!=null&&i.unshift(sa(t,o,c)),o=Di(t,e),o!=null&&i.push(sa(t,o,c))),t.tag===3)return i;t=t.return}return[]}function O1(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ld(t,e,l,i,o){for(var c=e._reactName,g=[];l!==null&&l!==i;){var v=l,A=v.alternate,N=v.stateNode;if(v=v.tag,A!==null&&A===i)break;v!==5&&v!==26&&v!==27||N===null||(A=N,o?(N=Di(l,c),N!=null&&g.unshift(sa(l,N,A))):o||(N=Di(l,c),N!=null&&g.push(sa(l,N,A)))),l=l.return}g.length!==0&&t.push({event:e,listeners:g})}var N1=/\r\n?/g,R1=/\u0000|\uFFFD/g;function id(t){return(typeof t=="string"?t:""+t).replace(N1,`
|
|
49
|
+
`).replace(R1,"")}function ad(t,e){return e=id(e),id(t)===e}function Ht(t,e,l,i,o,c){switch(l){case"children":typeof i=="string"?e==="body"||e==="textarea"&&i===""||Hl(t,i):(typeof i=="number"||typeof i=="bigint")&&e!=="body"&&Hl(t,""+i);break;case"className":Xa(t,"class",i);break;case"tabIndex":Xa(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Xa(t,l,i);break;case"style":af(t,i,c);break;case"data":if(e!=="object"){Xa(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(l);break}i=Qa(""+i),t.setAttribute(l,i);break;case"action":case"formAction":if(typeof i=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(l==="formAction"?(e!=="input"&&Ht(t,e,"name",o.name,o,null),Ht(t,e,"formEncType",o.formEncType,o,null),Ht(t,e,"formMethod",o.formMethod,o,null),Ht(t,e,"formTarget",o.formTarget,o,null)):(Ht(t,e,"encType",o.encType,o,null),Ht(t,e,"method",o.method,o,null),Ht(t,e,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(l);break}i=Qa(""+i),t.setAttribute(l,i);break;case"onClick":i!=null&&(t.onclick=pn);break;case"onScroll":i!=null&&kt("scroll",t);break;case"onScrollEnd":i!=null&&kt("scrollend",t);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(r(61));if(l=i.__html,l!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=l}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){t.removeAttribute("xlink:href");break}l=Qa(""+i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(l,""+i):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":i===!0?t.setAttribute(l,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(l,i):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(l,i):t.removeAttribute(l);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(l):t.setAttribute(l,i);break;case"popover":kt("beforetoggle",t),kt("toggle",t),Va(t,"popover",i);break;case"xlinkActuate":dn(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":dn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":dn(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":dn(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":dn(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":dn(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":dn(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":dn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":dn(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Va(t,"is",i);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=oy.get(l)||l,Va(t,l,i))}}function vc(t,e,l,i,o,c){switch(l){case"style":af(t,i,c);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(r(61));if(l=i.__html,l!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=l}}break;case"children":typeof i=="string"?Hl(t,i):(typeof i=="number"||typeof i=="bigint")&&Hl(t,""+i);break;case"onScroll":i!=null&&kt("scroll",t);break;case"onScrollEnd":i!=null&&kt("scrollend",t);break;case"onClick":i!=null&&(t.onclick=pn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Fs.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(o=l.endsWith("Capture"),e=l.slice(2,o?l.length-7:void 0),c=t[Ee]||null,c=c!=null?c[l]:null,typeof c=="function"&&t.removeEventListener(e,c,o),typeof i=="function")){typeof c!="function"&&c!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,i,o);break t}l in t?t[l]=i:i===!0?t.setAttribute(l,""):Va(t,l,i)}}}function me(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":kt("error",t),kt("load",t);var i=!1,o=!1,c;for(c in l)if(l.hasOwnProperty(c)){var g=l[c];if(g!=null)switch(c){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:Ht(t,e,c,g,l,null)}}o&&Ht(t,e,"srcSet",l.srcSet,l,null),i&&Ht(t,e,"src",l.src,l,null);return;case"input":kt("invalid",t);var v=c=g=o=null,A=null,N=null;for(i in l)if(l.hasOwnProperty(i)){var q=l[i];if(q!=null)switch(i){case"name":o=q;break;case"type":g=q;break;case"checked":A=q;break;case"defaultChecked":N=q;break;case"value":c=q;break;case"defaultValue":v=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,e));break;default:Ht(t,e,i,q,l,null)}}tf(t,c,v,A,N,g,o,!1);return;case"select":kt("invalid",t),i=g=c=null;for(o in l)if(l.hasOwnProperty(o)&&(v=l[o],v!=null))switch(o){case"value":c=v;break;case"defaultValue":g=v;break;case"multiple":i=v;default:Ht(t,e,o,v,l,null)}e=c,l=g,t.multiple=!!i,e!=null?Ul(t,!!i,e,!1):l!=null&&Ul(t,!!i,l,!0);return;case"textarea":kt("invalid",t),c=o=i=null;for(g in l)if(l.hasOwnProperty(g)&&(v=l[g],v!=null))switch(g){case"value":i=v;break;case"defaultValue":o=v;break;case"children":c=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(91));break;default:Ht(t,e,g,v,l,null)}nf(t,i,o,c);return;case"option":for(A in l)if(l.hasOwnProperty(A)&&(i=l[A],i!=null))switch(A){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Ht(t,e,A,i,l,null)}return;case"dialog":kt("beforetoggle",t),kt("toggle",t),kt("cancel",t),kt("close",t);break;case"iframe":case"object":kt("load",t);break;case"video":case"audio":for(i=0;i<ca.length;i++)kt(ca[i],t);break;case"image":kt("error",t),kt("load",t);break;case"details":kt("toggle",t);break;case"embed":case"source":case"link":kt("error",t),kt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(N in l)if(l.hasOwnProperty(N)&&(i=l[N],i!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:Ht(t,e,N,i,l,null)}return;default:if(Or(e)){for(q in l)l.hasOwnProperty(q)&&(i=l[q],i!==void 0&&vc(t,e,q,i,l,void 0));return}}for(v in l)l.hasOwnProperty(v)&&(i=l[v],i!=null&&Ht(t,e,v,i,l,null))}function j1(t,e,l,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,c=null,g=null,v=null,A=null,N=null,q=null;for(B in l){var Z=l[B];if(l.hasOwnProperty(B)&&Z!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":A=Z;default:i.hasOwnProperty(B)||Ht(t,e,B,null,i,Z)}}for(var L in i){var B=i[L];if(Z=l[L],i.hasOwnProperty(L)&&(B!=null||Z!=null))switch(L){case"type":c=B;break;case"name":o=B;break;case"checked":N=B;break;case"defaultChecked":q=B;break;case"value":g=B;break;case"defaultValue":v=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,e));break;default:B!==Z&&Ht(t,e,L,B,i,Z)}}_r(t,g,v,A,N,q,c,o);return;case"select":B=g=v=L=null;for(c in l)if(A=l[c],l.hasOwnProperty(c)&&A!=null)switch(c){case"value":break;case"multiple":B=A;default:i.hasOwnProperty(c)||Ht(t,e,c,null,i,A)}for(o in i)if(c=i[o],A=l[o],i.hasOwnProperty(o)&&(c!=null||A!=null))switch(o){case"value":L=c;break;case"defaultValue":v=c;break;case"multiple":g=c;default:c!==A&&Ht(t,e,o,c,i,A)}e=v,l=g,i=B,L!=null?Ul(t,!!l,L,!1):!!i!=!!l&&(e!=null?Ul(t,!!l,e,!0):Ul(t,!!l,l?[]:"",!1));return;case"textarea":B=L=null;for(v in l)if(o=l[v],l.hasOwnProperty(v)&&o!=null&&!i.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ht(t,e,v,null,i,o)}for(g in i)if(o=i[g],c=l[g],i.hasOwnProperty(g)&&(o!=null||c!=null))switch(g){case"value":L=o;break;case"defaultValue":B=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(r(91));break;default:o!==c&&Ht(t,e,g,o,i,c)}ef(t,L,B);return;case"option":for(var lt in l)if(L=l[lt],l.hasOwnProperty(lt)&&L!=null&&!i.hasOwnProperty(lt))switch(lt){case"selected":t.selected=!1;break;default:Ht(t,e,lt,null,i,L)}for(A in i)if(L=i[A],B=l[A],i.hasOwnProperty(A)&&L!==B&&(L!=null||B!=null))switch(A){case"selected":t.selected=L&&typeof L!="function"&&typeof L!="symbol";break;default:Ht(t,e,A,L,i,B)}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 ht in l)L=l[ht],l.hasOwnProperty(ht)&&L!=null&&!i.hasOwnProperty(ht)&&Ht(t,e,ht,null,i,L);for(N in i)if(L=i[N],B=l[N],i.hasOwnProperty(N)&&L!==B&&(L!=null||B!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(137,e));break;default:Ht(t,e,N,L,i,B)}return;default:if(Or(e)){for(var qt in l)L=l[qt],l.hasOwnProperty(qt)&&L!==void 0&&!i.hasOwnProperty(qt)&&vc(t,e,qt,void 0,i,L);for(q in i)L=i[q],B=l[q],!i.hasOwnProperty(q)||L===B||L===void 0&&B===void 0||vc(t,e,q,L,i,B);return}}for(var M in l)L=l[M],l.hasOwnProperty(M)&&L!=null&&!i.hasOwnProperty(M)&&Ht(t,e,M,null,i,L);for(Z in i)L=i[Z],B=l[Z],!i.hasOwnProperty(Z)||L===B||L==null&&B==null||Ht(t,e,Z,L,i,B)}function ud(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function L1(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),i=0;i<l.length;i++){var o=l[i],c=o.transferSize,g=o.initiatorType,v=o.duration;if(c&&v&&ud(g)){for(g=0,v=o.responseEnd,i+=1;i<l.length;i++){var A=l[i],N=A.startTime;if(N>v)break;var q=A.transferSize,Z=A.initiatorType;q&&ud(Z)&&(A=A.responseEnd,g+=q*(A<v?1:(v-N)/(A-N)))}if(--i,e+=8*(c+g)/(o.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var xc=null,Sc=null;function qu(t){return t.nodeType===9?t:t.ownerDocument}function rd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function od(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Ec(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Tc=null;function B1(){var t=window.event;return t&&t.type==="popstate"?t===Tc?!1:(Tc=t,!0):(Tc=null,!1)}var cd=typeof setTimeout=="function"?setTimeout:void 0,U1=typeof clearTimeout=="function"?clearTimeout:void 0,sd=typeof Promise=="function"?Promise:void 0,H1=typeof queueMicrotask=="function"?queueMicrotask:typeof sd<"u"?function(t){return sd.resolve(null).then(t).catch(q1)}:cd;function q1(t){setTimeout(function(){throw t})}function Pn(t){return t==="head"}function fd(t,e){var l=e,i=0;do{var o=l.nextSibling;if(t.removeChild(l),o&&o.nodeType===8)if(l=o.data,l==="/$"||l==="/&"){if(i===0){t.removeChild(o),gi(e);return}i--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")i++;else if(l==="html")fa(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,fa(l);for(var c=l.firstChild;c;){var g=c.nextSibling,v=c.nodeName;c[Mi]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&c.rel.toLowerCase()==="stylesheet"||l.removeChild(c),c=g}}else l==="body"&&fa(t.ownerDocument.body);l=o}while(l);gi(e)}function hd(t,e){var l=t;t=0;do{var i=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),i&&i.nodeType===8)if(l=i.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=i}while(l)}function kc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":kc(l),wr(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Y1(t,e,l,i){for(;t.nodeType===1;){var o=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[Mi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==o.rel||t.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||t.getAttribute("title")!==(o.title==null?null:o.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(o.src==null?null:o.src)||t.getAttribute("type")!==(o.type==null?null:o.type)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=o.name==null?null:""+o.name;if(o.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=Ie(t.nextSibling),t===null)break}return null}function V1(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ie(t.nextSibling),t===null))return null;return t}function md(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ie(t.nextSibling),t===null))return null;return t}function Ac(t){return t.data==="$?"||t.data==="$~"}function zc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function X1(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var i=function(){e(),l.removeEventListener("DOMContentLoaded",i)};l.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function Ie(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Cc=null;function dd(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Ie(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function pd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function gd(t,e,l){switch(e=qu(l),t){case"html":if(t=e.documentElement,!t)throw Error(r(452));return t;case"head":if(t=e.head,!t)throw Error(r(453));return t;case"body":if(t=e.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function fa(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);wr(t)}var $e=new Map,yd=new Set;function Yu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Dn=G.d;G.d={f:G1,r:Q1,D:Z1,C:K1,L:J1,m:F1,X:$1,S:I1,M:W1};function G1(){var t=Dn.f(),e=Ou();return t||e}function Q1(t){var e=jl(t);e!==null&&e.tag===5&&e.type==="form"?Rh(e):Dn.r(t)}var mi=typeof document>"u"?null:document;function bd(t,e,l){var i=mi;if(i&&typeof e=="string"&&e){var o=Xe(e);o='link[rel="'+t+'"][href="'+o+'"]',typeof l=="string"&&(o+='[crossorigin="'+l+'"]'),yd.has(o)||(yd.add(o),t={rel:t,crossOrigin:l,href:e},i.querySelector(o)===null&&(e=i.createElement("link"),me(e,"link",t),re(e),i.head.appendChild(e)))}}function Z1(t){Dn.D(t),bd("dns-prefetch",t,null)}function K1(t,e){Dn.C(t,e),bd("preconnect",t,e)}function J1(t,e,l){Dn.L(t,e,l);var i=mi;if(i&&t&&e){var o='link[rel="preload"][as="'+Xe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(o+='[imagesrcset="'+Xe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(o+='[imagesizes="'+Xe(l.imageSizes)+'"]')):o+='[href="'+Xe(t)+'"]';var c=o;switch(e){case"style":c=di(t);break;case"script":c=pi(t)}$e.has(c)||(t=y({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),$e.set(c,t),i.querySelector(o)!==null||e==="style"&&i.querySelector(ha(c))||e==="script"&&i.querySelector(ma(c))||(e=i.createElement("link"),me(e,"link",t),re(e),i.head.appendChild(e)))}}function F1(t,e){Dn.m(t,e);var l=mi;if(l&&t){var i=e&&typeof e.as=="string"?e.as:"script",o='link[rel="modulepreload"][as="'+Xe(i)+'"][href="'+Xe(t)+'"]',c=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=pi(t)}if(!$e.has(c)&&(t=y({rel:"modulepreload",href:t},e),$e.set(c,t),l.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ma(c)))return}i=l.createElement("link"),me(i,"link",t),re(i),l.head.appendChild(i)}}}function I1(t,e,l){Dn.S(t,e,l);var i=mi;if(i&&t){var o=Ll(i).hoistableStyles,c=di(t);e=e||"default";var g=o.get(c);if(!g){var v={loading:0,preload:null};if(g=i.querySelector(ha(c)))v.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":e},l),(l=$e.get(c))&&wc(t,l);var A=g=i.createElement("link");re(A),me(A,"link",t),A._p=new Promise(function(N,q){A.onload=N,A.onerror=q}),A.addEventListener("load",function(){v.loading|=1}),A.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Vu(g,e,i)}g={type:"stylesheet",instance:g,count:1,state:v},o.set(c,g)}}}function $1(t,e){Dn.X(t,e);var l=mi;if(l&&t){var i=Ll(l).hoistableScripts,o=pi(t),c=i.get(o);c||(c=l.querySelector(ma(o)),c||(t=y({src:t,async:!0},e),(e=$e.get(o))&&Mc(t,e),c=l.createElement("script"),re(c),me(c,"link",t),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(o,c))}}function W1(t,e){Dn.M(t,e);var l=mi;if(l&&t){var i=Ll(l).hoistableScripts,o=pi(t),c=i.get(o);c||(c=l.querySelector(ma(o)),c||(t=y({src:t,async:!0,type:"module"},e),(e=$e.get(o))&&Mc(t,e),c=l.createElement("script"),re(c),me(c,"link",t),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(o,c))}}function vd(t,e,l,i){var o=(o=ot.current)?Yu(o):null;if(!o)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=di(l.href),l=Ll(o).hoistableStyles,i=l.get(e),i||(i={type:"style",instance:null,count:0,state:null},l.set(e,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=di(l.href);var c=Ll(o).hoistableStyles,g=c.get(t);if(g||(o=o.ownerDocument||o,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,g),(c=o.querySelector(ha(t)))&&!c._p&&(g.instance=c,g.state.loading=5),$e.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},$e.set(t,l),c||P1(o,t,l,g.state))),e&&i===null)throw Error(r(528,""));return g}if(e&&i!==null)throw Error(r(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=pi(l),l=Ll(o).hoistableScripts,i=l.get(e),i||(i={type:"script",instance:null,count:0,state:null},l.set(e,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function di(t){return'href="'+Xe(t)+'"'}function ha(t){return'link[rel="stylesheet"]['+t+"]"}function xd(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function P1(t,e,l,i){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=1:(e=t.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2}),me(e,"link",l),re(e),t.head.appendChild(e))}function pi(t){return'[src="'+Xe(t)+'"]'}function ma(t){return"script[async]"+t}function Sd(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+Xe(l.href)+'"]');if(i)return e.instance=i,re(i),i;var o=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),re(i),me(i,"style",o),Vu(i,l.precedence,t),e.instance=i;case"stylesheet":o=di(l.href);var c=t.querySelector(ha(o));if(c)return e.state.loading|=4,e.instance=c,re(c),c;i=xd(l),(o=$e.get(o))&&wc(i,o),c=(t.ownerDocument||t).createElement("link"),re(c);var g=c;return g._p=new Promise(function(v,A){g.onload=v,g.onerror=A}),me(c,"link",i),e.state.loading|=4,Vu(c,l.precedence,t),e.instance=c;case"script":return c=pi(l.src),(o=t.querySelector(ma(c)))?(e.instance=o,re(o),o):(i=l,(o=$e.get(c))&&(i=y({},l),Mc(i,o)),t=t.ownerDocument||t,o=t.createElement("script"),re(o),me(o,"link",i),t.head.appendChild(o),e.instance=o);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,Vu(i,l.precedence,t));return e.instance}function Vu(t,e,l){for(var i=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,c=o,g=0;g<i.length;g++){var v=i[g];if(v.dataset.precedence===e)c=v;else if(c!==o)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function wc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Mc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Xu=null;function Ed(t,e,l){if(Xu===null){var i=new Map,o=Xu=new Map;o.set(l,i)}else o=Xu,i=o.get(l),i||(i=new Map,o.set(l,i));if(i.has(t))return i;for(i.set(t,null),l=l.getElementsByTagName(t),o=0;o<l.length;o++){var c=l[o];if(!(c[Mi]||c[ce]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var g=c.getAttribute(e)||"";g=t+g;var v=i.get(g);v?v.push(c):i.set(g,[c])}}return i}function Td(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function t0(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function kd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function e0(t,e,l,i){if(l.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var o=di(i.href),c=e.querySelector(ha(o));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Gu.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=c,re(c);return}c=e.ownerDocument||e,i=xd(i),(o=$e.get(o))&&wc(i,o),c=c.createElement("link"),re(c);var g=c;g._p=new Promise(function(v,A){g.onload=v,g.onerror=A}),me(c,"link",i),l.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Gu.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var _c=0;function n0(t,e){return t.stylesheets&&t.count===0&&Zu(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var i=setTimeout(function(){if(t.stylesheets&&Zu(t,t.stylesheets),t.unsuspend){var c=t.unsuspend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&_c===0&&(_c=62500*L1());var o=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Zu(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>_c?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function Gu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Qu=null;function Zu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Qu=new Map,e.forEach(l0,t),Qu=null,Gu.call(t))}function l0(t,e){if(!(e.state.loading&4)){var l=Qu.get(t);if(l)var i=l.get(null);else{l=new Map,Qu.set(t,l);for(var o=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<o.length;c++){var g=o[c];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(l.set(g.dataset.precedence,g),i=g)}i&&l.set(null,i)}o=e.instance,g=o.getAttribute("data-precedence"),c=l.get(g)||i,c===i&&l.set(null,o),l.set(g,o),this.count++,i=Gu.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),c?c.parentNode.insertBefore(o,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(o,t.firstChild)),e.state.loading|=4}}var da={$$typeof:Q,Provider:null,Consumer:null,_currentValue:nt,_currentValue2:nt,_threadCount:0};function i0(t,e,l,i,o,c,g,v,A){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=kr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kr(0),this.hiddenUpdates=kr(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=c,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Ad(t,e,l,i,o,c,g,v,A,N,q,Z){return t=new i0(t,e,l,g,A,N,q,Z,v),e=1,c===!0&&(e|=24),c=Ne(3,null,null,e),t.current=c,c.stateNode=t,e=oo(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:i,isDehydrated:l,cache:e},ho(c),t}function zd(t){return t?(t=Zl,t):Zl}function Cd(t,e,l,i,o,c){o=zd(o),i.context===null?i.context=o:i.pendingContext=o,i=Vn(e),i.payload={element:l},c=c===void 0?null:c,c!==null&&(i.callback=c),l=Xn(t,i,e),l!==null&&(we(l,t,e),Zi(l,t,e))}function wd(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Dc(t,e){wd(t,e),(t=t.alternate)&&wd(t,e)}function Md(t){if(t.tag===13||t.tag===31){var e=hl(t,67108864);e!==null&&we(e,t,67108864),Dc(t,67108864)}}function _d(t){if(t.tag===13||t.tag===31){var e=Ue();e=Ar(e);var l=hl(t,e);l!==null&&we(l,t,e),Dc(t,e)}}var Ku=!0;function a0(t,e,l,i){var o=_.T;_.T=null;var c=G.p;try{G.p=2,Oc(t,e,l,i)}finally{G.p=c,_.T=o}}function u0(t,e,l,i){var o=_.T;_.T=null;var c=G.p;try{G.p=8,Oc(t,e,l,i)}finally{G.p=c,_.T=o}}function Oc(t,e,l,i){if(Ku){var o=Nc(i);if(o===null)bc(t,e,i,Ju,l),Od(t,i);else if(o0(o,t,e,l,i))i.stopPropagation();else if(Od(t,i),e&4&&-1<r0.indexOf(t)){for(;o!==null;){var c=jl(o);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var g=rl(c.pendingLanes);if(g!==0){var v=c;for(v.pendingLanes|=2,v.entangledLanes|=2;g;){var A=1<<31-Yt(g);v.entanglements[1]|=A,g&=~A}on(c),(Nt&6)===0&&(_u=ye()+500,oa(0))}}break;case 31:case 13:v=hl(c,2),v!==null&&we(v,c,2),Ou(),Dc(c,2)}if(c=Nc(i),c===null&&bc(t,e,i,Ju,l),c===o)break;o=c}o!==null&&i.stopPropagation()}else bc(t,e,i,null,l)}}function Nc(t){return t=Rr(t),Rc(t)}var Ju=null;function Rc(t){if(Ju=null,t=Rl(t),t!==null){var e=h(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=f(e),t!==null)return t;t=null}else if(l===31){if(t=d(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ju=t,null}function Dd(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Tr()){case V:return 2;case $:return 8;case dt:case Et:return 32;case Rt:return 268435456;default:return 32}default:return 32}}var jc=!1,tl=null,el=null,nl=null,pa=new Map,ga=new Map,ll=[],r0="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 Od(t,e){switch(t){case"focusin":case"focusout":tl=null;break;case"dragenter":case"dragleave":el=null;break;case"mouseover":case"mouseout":nl=null;break;case"pointerover":case"pointerout":pa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ga.delete(e.pointerId)}}function ya(t,e,l,i,o,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:l,eventSystemFlags:i,nativeEvent:c,targetContainers:[o]},e!==null&&(e=jl(e),e!==null&&Md(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function o0(t,e,l,i,o){switch(e){case"focusin":return tl=ya(tl,t,e,l,i,o),!0;case"dragenter":return el=ya(el,t,e,l,i,o),!0;case"mouseover":return nl=ya(nl,t,e,l,i,o),!0;case"pointerover":var c=o.pointerId;return pa.set(c,ya(pa.get(c)||null,t,e,l,i,o)),!0;case"gotpointercapture":return c=o.pointerId,ga.set(c,ya(ga.get(c)||null,t,e,l,i,o)),!0}return!1}function Nd(t){var e=Rl(t.target);if(e!==null){var l=h(e);if(l!==null){if(e=l.tag,e===13){if(e=f(l),e!==null){t.blockedOn=e,Zs(t.priority,function(){_d(l)});return}}else if(e===31){if(e=d(l),e!==null){t.blockedOn=e,Zs(t.priority,function(){_d(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Fu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Nc(t.nativeEvent);if(l===null){l=t.nativeEvent;var i=new l.constructor(l.type,l);Nr=i,l.target.dispatchEvent(i),Nr=null}else return e=jl(l),e!==null&&Md(e),t.blockedOn=l,!1;e.shift()}return!0}function Rd(t,e,l){Fu(t)&&l.delete(e)}function c0(){jc=!1,tl!==null&&Fu(tl)&&(tl=null),el!==null&&Fu(el)&&(el=null),nl!==null&&Fu(nl)&&(nl=null),pa.forEach(Rd),ga.forEach(Rd)}function Iu(t,e){t.blockedOn===e&&(t.blockedOn=null,jc||(jc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,c0)))}var $u=null;function jd(t){$u!==t&&($u=t,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){$u===t&&($u=null);for(var e=0;e<t.length;e+=3){var l=t[e],i=t[e+1],o=t[e+2];if(typeof i!="function"){if(Rc(i||l)===null)continue;break}var c=jl(l);c!==null&&(t.splice(e,3),e-=3,No(c,{pending:!0,data:o,method:l.method,action:i},i,o))}}))}function gi(t){function e(A){return Iu(A,t)}tl!==null&&Iu(tl,t),el!==null&&Iu(el,t),nl!==null&&Iu(nl,t),pa.forEach(e),ga.forEach(e);for(var l=0;l<ll.length;l++){var i=ll[l];i.blockedOn===t&&(i.blockedOn=null)}for(;0<ll.length&&(l=ll[0],l.blockedOn===null);)Nd(l),l.blockedOn===null&&ll.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(i=0;i<l.length;i+=3){var o=l[i],c=l[i+1],g=o[Ee]||null;if(typeof c=="function")g||jd(l);else if(g){var v=null;if(c&&c.hasAttribute("formAction")){if(o=c,g=c[Ee]||null)v=g.formAction;else if(Rc(o)!==null)continue}else v=g.action;typeof v=="function"?l[i+1]=v:(l.splice(i,3),i-=3),jd(l)}}}function Ld(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(g){return o=g})},focusReset:"manual",scroll:"manual"})}function e(){o!==null&&(o(),o=null),i||setTimeout(l,20)}function l(){if(!i&&!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 i=!1,o=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),o!==null&&(o(),o=null)}}}function Lc(t){this._internalRoot=t}Wu.prototype.render=Lc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var l=e.current,i=Ue();Cd(l,i,t,e,null,null)},Wu.prototype.unmount=Lc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Cd(t.current,2,null,t,null,null),Ou(),e[Nl]=null}};function Wu(t){this._internalRoot=t}Wu.prototype.unstable_scheduleHydration=function(t){if(t){var e=Qs();t={blockedOn:null,target:t,priority:e};for(var l=0;l<ll.length&&e!==0&&e<ll[l].priority;l++);ll.splice(l,0,t),l===0&&Nd(t)}};var Bd=a.version;if(Bd!=="19.2.4")throw Error(r(527,Bd,"19.2.4"));G.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=m(e),t=t!==null?b(t):null,t=t===null?null:t.stateNode,t};var s0={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Pu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pu.isDisabled&&Pu.supportsFiber)try{be=Pu.inject(s0),ae=Pu}catch{}}return va.createRoot=function(t,e){if(!s(t))throw Error(r(299));var l=!1,i="",o=Gh,c=Qh,g=Zh;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(o=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(g=e.onRecoverableError)),e=Ad(t,1,!1,null,null,l,i,null,o,c,g,Ld),t[Nl]=e.current,yc(t),new Lc(e)},va.hydrateRoot=function(t,e,l){if(!s(t))throw Error(r(299));var i=!1,o="",c=Gh,g=Qh,v=Zh,A=null;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(o=l.identifierPrefix),l.onUncaughtError!==void 0&&(c=l.onUncaughtError),l.onCaughtError!==void 0&&(g=l.onCaughtError),l.onRecoverableError!==void 0&&(v=l.onRecoverableError),l.formState!==void 0&&(A=l.formState)),e=Ad(t,1,!0,e,l??null,i,o,A,c,g,v,Ld),e.context=zd(null),l=e.current,i=Ue(),i=Ar(i),o=Vn(i),o.callback=null,Xn(l,o,i),l=i,e.current.lanes=l,wi(e,l),on(e),t[Nl]=e.current,yc(t),new Wu(e)},va.version="19.2.4",va}var Kd;function S0(){if(Kd)return Hc.exports;Kd=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(),Hc.exports=x0(),Hc.exports}var E0=S0();const T0=pr(E0);function zl(n){if(n===null||!Number.isFinite(n))return"—";if(n<1e3)return`${Math.round(n)}ms`;const a=n/1e3;if(a<60)return`${a.toFixed(a>=10?1:2)}s`;const u=Math.floor(a/60),r=Math.round(a%60).toString().padStart(2,"0");if(u>=60){const s=Math.floor(u/60),h=(u%60).toString().padStart(2,"0");return`${s}:${h}:${r}`}return`${u}:${r}`}function Aa(n){if(!n)return"—";const a=new Date(n);return Number.isNaN(a.valueOf())?n:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(a)}function Qp(n,a){return n===null||a===null?"—":zl(Math.max(0,n-a))}function On(n,a,u){return Math.min(u,Math.max(a,n))}function k0(n){const{source:a,sourceNotice:u,sessions:r,loading:s,error:h,currentSessionKey:f,onOpenSession:d}=n,[p,m]=St.useState(""),[b,y]=St.useState("newest"),S=St.useMemo(()=>{const x=p.trim().toLowerCase();return[...x?r.filter(R=>[R.relativePath,R.fileName,R.groupLabel,R.taskId,R.chatId,R.provider,R.modelId].filter(Boolean).some(H=>H.toLowerCase().includes(x))):r].sort((R,H)=>{switch(b){case"oldest":{const D=R.startedAt?Date.parse(R.startedAt):0,K=H.startedAt?Date.parse(H.startedAt):0;return D-K}case"duration":return(H.durationMs??0)-(R.durationMs??0);case"tools":return H.toolCount-R.toolCount;case"errors":return H.errorCount-R.errorCount||(H.startedAt?Date.parse(H.startedAt):0)-(R.startedAt?Date.parse(R.startedAt):0);case"newest":default:{const D=R.startedAt?Date.parse(R.startedAt):0;return(H.startedAt?Date.parse(H.startedAt):0)-D}}})},[p,r,b]);return k.jsxs("section",{className:"view view-browser",children:[k.jsxs("div",{className:"toolbar panel",children:[k.jsxs("div",{className:"panel-header toolbar-filter-bar",children:[k.jsxs("div",{className:"toolbar-search",children:[k.jsxs("svg",{className:"toolbar-icon",width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[k.jsx("circle",{cx:"7",cy:"7",r:"5"}),k.jsx("line",{x1:"11",y1:"11",x2:"15",y2:"15"})]}),k.jsx("input",{className:"search-input selectable",type:"text",value:p,onChange:x=>m(x.currentTarget.value),placeholder:"Filter path, folder, model…"})]}),k.jsxs("label",{className:"toolbar-select-wrap",children:[k.jsx("span",{className:"toolbar-label",children:"Sort"}),k.jsxs("select",{className:"toolbar-select selectable",value:b,onChange:x=>y(x.currentTarget.value),children:[k.jsx("option",{value:"newest",children:"Newest first"}),k.jsx("option",{value:"oldest",children:"Oldest first"}),k.jsx("option",{value:"duration",children:"Longest duration"}),k.jsx("option",{value:"tools",children:"Most tools"}),k.jsx("option",{value:"errors",children:"Most errors"})]})]}),k.jsx("div",{className:"toolbar-count mono",children:S.length===r.length?`${S.length} sessions`:`${S.length} / ${r.length} sessions`})]}),u?k.jsx(Jd,{notice:u}):null,a.error?k.jsx(Jd,{notice:{tone:"error",title:"Source error",description:a.error}}):null]}),k.jsx("div",{className:"panel table-panel",children:s?k.jsx(tr,{title:a.rootPath?"Scanning Pi session logs":"Loading source state",description:a.rootPath?"Recursively inspecting JSONL files under the active root…":"Checking whether a default source root is already configured…"}):h?k.jsx(tr,{title:"Could not load sessions",description:h,tone:"error"}):a.rootPath?S.length===0?k.jsx(tr,{title:r.length===0?"No Pi session logs found under this root":"No sessions match this filter",description:r.length===0?"Try a broader root directory or point the visualizer at a copied/exported Pi session tree.":"Try a broader path, folder, or model search."}):k.jsx("div",{className:"table-scroll",children:k.jsxs("table",{className:"session-table",children:[k.jsx("thead",{children:k.jsxs("tr",{children:[k.jsx("th",{children:"Group / folder"}),k.jsx("th",{children:"File"}),k.jsxs("th",{className:"sortable-th",onClick:()=>y(b==="newest"?"oldest":"newest"),children:["Started ",b==="newest"?"▾":b==="oldest"?"▴":""]}),k.jsxs("th",{className:"sortable-th",onClick:()=>y("duration"),children:["Duration ",b==="duration"?"▾":""]}),k.jsxs("th",{className:"sortable-th",onClick:()=>y("tools"),children:["Ev / Tools / Err ",b==="tools"||b==="errors"?"▾":""]}),k.jsx("th",{children:"Model / provider"})]})}),k.jsx("tbody",{children:S.map(x=>{const w=x.relativePath;return k.jsxs("tr",{className:w===f?"is-active":void 0,onClick:()=>d(x.relativePath),children:[k.jsx("td",{className:"mono cell-strong selectable cell-group-path",title:x.groupLabel??void 0,children:A0(x.groupLabel)??"(root)"}),k.jsx("td",{className:"mono selectable",children:x.fileName}),k.jsx("td",{className:"mono cell-muted selectable",children:Aa(x.startedAt)}),k.jsx("td",{className:x.durationMs!==null&&x.durationMs>6e4?"mono cell-warning selectable":"mono selectable",children:zl(x.durationMs)}),k.jsx("td",{className:"mono selectable",children:k.jsxs("span",{className:"cell-stats",children:[k.jsx("span",{children:x.eventCount}),k.jsx("span",{className:"cell-stats-sep",children:"/"}),k.jsx("span",{children:x.toolCount}),k.jsx("span",{className:"cell-stats-sep",children:"/"}),k.jsx("span",{className:x.errorCount>0?"cell-error":"",children:x.errorCount})]})}),k.jsx("td",{className:"selectable",children:[x.modelId,x.provider].filter(Boolean).join(" / ")||"—"})]},w)})})]})}):k.jsx(tr,{title:"Choose a source root",description:"Choose a directory that contains Pi session JSONL files or nested pi-sessions/ folders."})})]})}function tr(n){return k.jsxs("div",{className:`empty-panel ${n.tone==="error"?"empty-panel-error":""}`,children:[k.jsx("h2",{children:n.title}),k.jsx("p",{children:n.description})]})}function Jd(n){return k.jsxs("div",{className:`notice-banner notice-${n.notice.tone}`,children:[k.jsx("strong",{children:n.notice.title}),k.jsx("span",{children:n.notice.description})]})}function A0(n){if(!n)return null;const a=n.split("/").filter(Boolean);return a.length<=3?n:"…/"+a.slice(-3).join("/")}function z0(n,a){const u={};return(n[n.length-1]===""?[...n,""]:n).join((u.padRight?" ":"")+","+(u.padLeft===!1?"":" ")).trim()}const C0=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,w0=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,M0={};function Fd(n,a){return(M0.jsx?w0:C0).test(n)}const _0=/[ \t\n\f\r]/g;function D0(n){return typeof n=="object"?n.type==="text"?Id(n.value):!1:Id(n)}function Id(n){return n.replace(_0,"")===""}class Oa{constructor(a,u,r){this.normal=u,this.property=a,r&&(this.space=r)}}Oa.prototype.normal={};Oa.prototype.property={};Oa.prototype.space=void 0;function Zp(n,a){const u={},r={};for(const s of n)Object.assign(u,s.property),Object.assign(r,s.normal);return new Oa(u,r,a)}function ss(n){return n.toLowerCase()}class _e{constructor(a,u){this.attribute=u,this.property=a}}_e.prototype.attribute="";_e.prototype.booleanish=!1;_e.prototype.boolean=!1;_e.prototype.commaOrSpaceSeparated=!1;_e.prototype.commaSeparated=!1;_e.prototype.defined=!1;_e.prototype.mustUseProperty=!1;_e.prototype.number=!1;_e.prototype.overloadedBoolean=!1;_e.prototype.property="";_e.prototype.spaceSeparated=!1;_e.prototype.space=void 0;let O0=0;const xt=wl(),ie=wl(),fs=wl(),J=wl(),Gt=wl(),Si=wl(),He=wl();function wl(){return 2**++O0}const hs=Object.freeze(Object.defineProperty({__proto__:null,boolean:xt,booleanish:ie,commaOrSpaceSeparated:He,commaSeparated:Si,number:J,overloadedBoolean:fs,spaceSeparated:Gt},Symbol.toStringTag,{value:"Module"})),Xc=Object.keys(hs);class Ts extends _e{constructor(a,u,r,s){let h=-1;if(super(a,u),$d(this,"space",s),typeof r=="number")for(;++h<Xc.length;){const f=Xc[h];$d(this,Xc[h],(r&hs[f])===hs[f])}}}Ts.prototype.defined=!0;function $d(n,a,u){u&&(n[a]=u)}function Ti(n){const a={},u={};for(const[r,s]of Object.entries(n.properties)){const h=new Ts(r,n.transform(n.attributes||{},r),s,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(h.mustUseProperty=!0),a[r]=h,u[ss(r)]=r,u[ss(h.attribute)]=r}return new Oa(a,u,n.space)}const Kp=Ti({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:Gt,ariaCurrent:null,ariaDescribedBy:Gt,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:Gt,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:Gt,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Gt,ariaLevel:J,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:Gt,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:Gt,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:ie,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function Jp(n,a){return a in n?n[a]:a}function Fp(n,a){return Jp(n,a.toLowerCase())}const N0=Ti({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Si,acceptCharset:Gt,accessKey:Gt,action:null,allow:null,allowFullScreen:xt,allowPaymentRequest:xt,allowUserMedia:xt,alt:null,as:null,async:xt,autoCapitalize:null,autoComplete:Gt,autoFocus:xt,autoPlay:xt,blocking:Gt,capture:null,charSet:null,checked:xt,cite:null,className:Gt,cols:J,colSpan:null,content:null,contentEditable:ie,controls:xt,controlsList:Gt,coords:J|Si,crossOrigin:null,data:null,dateTime:null,decoding:null,default:xt,defer:xt,dir:null,dirName:null,disabled:xt,download:fs,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:xt,formTarget:null,headers:Gt,height:J,hidden:fs,high:J,href:null,hrefLang:null,htmlFor:Gt,httpEquiv:Gt,id:null,imageSizes:null,imageSrcSet:null,inert:xt,inputMode:null,integrity:null,is:null,isMap:xt,itemId:null,itemProp:Gt,itemRef:Gt,itemScope:xt,itemType:Gt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:xt,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:xt,muted:xt,name:null,nonce:null,noModule:xt,noValidate:xt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:xt,optimum:J,pattern:null,ping:Gt,placeholder:null,playsInline:xt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:xt,referrerPolicy:null,rel:Gt,required:xt,reversed:xt,rows:J,rowSpan:J,sandbox:Gt,scope:null,scoped:xt,seamless:xt,selected:xt,shadowRootClonable:xt,shadowRootDelegatesFocus:xt,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:xt,useMap:null,value:ie,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Gt,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:xt,declare:xt,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:xt,noHref:xt,noShade:xt,noWrap:xt,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:xt,disableRemotePlayback:xt,prefix:null,property:null,results:J,security:null,unselectable:null},space:"html",transform:Fp}),R0=Ti({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:He,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:Gt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:xt,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Si,g2:Si,glyphName:Si,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:He,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Gt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:He,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:He,rev:He,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:He,requiredFeatures:He,requiredFonts:He,requiredFormats:He,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:He,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:He,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:He,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Jp}),Ip=Ti({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),$p=Ti({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Fp}),Wp=Ti({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),j0={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},L0=/[A-Z]/g,Wd=/-[a-z]/g,B0=/^data[-\w.:]+$/i;function U0(n,a){const u=ss(a);let r=a,s=_e;if(u in n.normal)return n.property[n.normal[u]];if(u.length>4&&u.slice(0,4)==="data"&&B0.test(a)){if(a.charAt(4)==="-"){const h=a.slice(5).replace(Wd,q0);r="data"+h.charAt(0).toUpperCase()+h.slice(1)}else{const h=a.slice(4);if(!Wd.test(h)){let f=h.replace(L0,H0);f.charAt(0)!=="-"&&(f="-"+f),a="data"+f}}s=Ts}return new s(r,a)}function H0(n){return"-"+n.toLowerCase()}function q0(n){return n.charAt(1).toUpperCase()}const Y0=Zp([Kp,N0,Ip,$p,Wp],"html"),ks=Zp([Kp,R0,Ip,$p,Wp],"svg");function V0(n){return n.join(" ").trim()}var yi={},Gc,Pd;function X0(){if(Pd)return Gc;Pd=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,u=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,h=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,d=/^\s+|\s+$/g,p=`
|
|
50
|
+
`,m="/",b="*",y="",S="comment",x="declaration";function w(H,D){if(typeof H!="string")throw new TypeError("First argument must be a string");if(!H)return[];D=D||{};var K=1,Q=1;function ut(it){var I=it.match(a);I&&(K+=I.length);var _=it.lastIndexOf(p);Q=~_?it.length-_:Q+it.length}function rt(){var it={line:K,column:Q};return function(I){return I.position=new U(it),F(),I}}function U(it){this.start=it,this.end={line:K,column:Q},this.source=D.source}U.prototype.content=H;function W(it){var I=new Error(D.source+":"+K+":"+Q+": "+it);if(I.reason=it,I.filename=D.source,I.line=K,I.column=Q,I.source=H,!D.silent)throw I}function st(it){var I=it.exec(H);if(I){var _=I[0];return ut(_),H=H.slice(_.length),I}}function F(){st(u)}function j(it){var I;for(it=it||[];I=P();)I!==!1&&it.push(I);return it}function P(){var it=rt();if(!(m!=H.charAt(0)||b!=H.charAt(1))){for(var I=2;y!=H.charAt(I)&&(b!=H.charAt(I)||m!=H.charAt(I+1));)++I;if(I+=2,y===H.charAt(I-1))return W("End of comment missing");var _=H.slice(2,I-2);return Q+=2,ut(_),H=H.slice(I),Q+=2,it({type:S,comment:_})}}function tt(){var it=rt(),I=st(r);if(I){if(P(),!st(s))return W("property missing ':'");var _=st(h),G=it({type:x,property:R(I[0].replace(n,y)),value:_?R(_[0].replace(n,y)):y});return st(f),G}}function bt(){var it=[];j(it);for(var I;I=tt();)I!==!1&&(it.push(I),j(it));return it}return F(),bt()}function R(H){return H?H.replace(d,y):y}return Gc=w,Gc}var tp;function G0(){if(tp)return yi;tp=1;var n=yi&&yi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(yi,"__esModule",{value:!0}),yi.default=u;const a=n(X0());function u(r,s){let h=null;if(!r||typeof r!="string")return h;const f=(0,a.default)(r),d=typeof s=="function";return f.forEach(p=>{if(p.type!=="declaration")return;const{property:m,value:b}=p;d?s(m,b,p):b&&(h=h||{},h[m]=b)}),h}return yi}var xa={},ep;function Q0(){if(ep)return xa;ep=1,Object.defineProperty(xa,"__esModule",{value:!0}),xa.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,u=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,h=function(m){return!m||u.test(m)||n.test(m)},f=function(m,b){return b.toUpperCase()},d=function(m,b){return"".concat(b,"-")},p=function(m,b){return b===void 0&&(b={}),h(m)?m:(m=m.toLowerCase(),b.reactCompat?m=m.replace(s,d):m=m.replace(r,d),m.replace(a,f))};return xa.camelCase=p,xa}var Sa,np;function Z0(){if(np)return Sa;np=1;var n=Sa&&Sa.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},a=n(G0()),u=Q0();function r(s,h){var f={};return!s||typeof s!="string"||(0,a.default)(s,function(d,p){d&&p&&(f[(0,u.camelCase)(d,h)]=p)}),f}return r.default=r,Sa=r,Sa}var K0=Z0();const J0=pr(K0),Pp=tg("end"),As=tg("start");function tg(n){return a;function a(u){const r=u&&u.position&&u.position[n]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function F0(n){const a=As(n),u=Pp(n);if(a&&u)return{start:a,end:u}}function za(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?lp(n.position):"start"in n||"end"in n?lp(n):"line"in n||"column"in n?ms(n):""}function ms(n){return ip(n&&n.line)+":"+ip(n&&n.column)}function lp(n){return ms(n&&n.start)+"-"+ms(n&&n.end)}function ip(n){return n&&typeof n=="number"?n:1}class ge extends Error{constructor(a,u,r){super(),typeof u=="string"&&(r=u,u=void 0);let s="",h={},f=!1;if(u&&("line"in u&&"column"in u?h={place:u}:"start"in u&&"end"in u?h={place:u}:"type"in u?h={ancestors:[u],place:u.position}:h={...u}),typeof a=="string"?s=a:!h.cause&&a&&(f=!0,s=a.message,h.cause=a),!h.ruleId&&!h.source&&typeof r=="string"){const p=r.indexOf(":");p===-1?h.ruleId=r:(h.source=r.slice(0,p),h.ruleId=r.slice(p+1))}if(!h.place&&h.ancestors&&h.ancestors){const p=h.ancestors[h.ancestors.length-1];p&&(h.place=p.position)}const d=h.place&&"start"in h.place?h.place.start:h.place;this.ancestors=h.ancestors||void 0,this.cause=h.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=d?d.line:void 0,this.name=za(h.place)||"1:1",this.place=h.place||void 0,this.reason=this.message,this.ruleId=h.ruleId||void 0,this.source=h.source||void 0,this.stack=f&&h.cause&&typeof h.cause.stack=="string"?h.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ge.prototype.file="";ge.prototype.name="";ge.prototype.reason="";ge.prototype.message="";ge.prototype.stack="";ge.prototype.column=void 0;ge.prototype.line=void 0;ge.prototype.ancestors=void 0;ge.prototype.cause=void 0;ge.prototype.fatal=void 0;ge.prototype.place=void 0;ge.prototype.ruleId=void 0;ge.prototype.source=void 0;const zs={}.hasOwnProperty,I0=new Map,$0=/[A-Z]/g,W0=new Set(["table","tbody","thead","tfoot","tr"]),P0=new Set(["td","th"]),eg="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function tb(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const u=a.filePath||void 0;let r;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=ob(u,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=rb(u,a.jsx,a.jsxs)}const s={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:r,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:u,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?ks:Y0,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},h=ng(s,n,void 0);return h&&typeof h!="string"?h:s.create(n,s.Fragment,{children:h||void 0},void 0)}function ng(n,a,u){if(a.type==="element")return eb(n,a,u);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return nb(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return ib(n,a,u);if(a.type==="mdxjsEsm")return lb(n,a);if(a.type==="root")return ab(n,a,u);if(a.type==="text")return ub(n,a)}function eb(n,a,u){const r=n.schema;let s=r;a.tagName.toLowerCase()==="svg"&&r.space==="html"&&(s=ks,n.schema=s),n.ancestors.push(a);const h=ig(n,a.tagName,!1),f=cb(n,a);let d=ws(n,a);return W0.has(a.tagName)&&(d=d.filter(function(p){return typeof p=="string"?!D0(p):!0})),lg(n,f,h,a),Cs(f,d),n.ancestors.pop(),n.schema=r,n.create(a,h,f,u)}function nb(n,a){if(a.data&&a.data.estree&&n.evaluater){const r=a.data.estree.body[0];return r.type,n.evaluater.evaluateExpression(r.expression)}Ma(n,a.position)}function lb(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Ma(n,a.position)}function ib(n,a,u){const r=n.schema;let s=r;a.name==="svg"&&r.space==="html"&&(s=ks,n.schema=s),n.ancestors.push(a);const h=a.name===null?n.Fragment:ig(n,a.name,!0),f=sb(n,a),d=ws(n,a);return lg(n,f,h,a),Cs(f,d),n.ancestors.pop(),n.schema=r,n.create(a,h,f,u)}function ab(n,a,u){const r={};return Cs(r,ws(n,a)),n.create(a,n.Fragment,r,u)}function ub(n,a){return a.value}function lg(n,a,u,r){typeof u!="string"&&u!==n.Fragment&&n.passNode&&(a.node=r)}function Cs(n,a){if(a.length>0){const u=a.length>1?a:a[0];u&&(n.children=u)}}function rb(n,a,u){return r;function r(s,h,f,d){const m=Array.isArray(f.children)?u:a;return d?m(h,f,d):m(h,f)}}function ob(n,a){return u;function u(r,s,h,f){const d=Array.isArray(h.children),p=As(r);return a(s,h,f,d,{columnNumber:p?p.column-1:void 0,fileName:n,lineNumber:p?p.line:void 0},void 0)}}function cb(n,a){const u={};let r,s;for(s in a.properties)if(s!=="children"&&zs.call(a.properties,s)){const h=fb(n,s,a.properties[s]);if(h){const[f,d]=h;n.tableCellAlignToStyle&&f==="align"&&typeof d=="string"&&P0.has(a.tagName)?r=d:u[f]=d}}if(r){const h=u.style||(u.style={});h[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return u}function sb(n,a){const u={};for(const r of a.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&n.evaluater){const h=r.data.estree.body[0];h.type;const f=h.expression;f.type;const d=f.properties[0];d.type,Object.assign(u,n.evaluater.evaluateExpression(d.argument))}else Ma(n,a.position);else{const s=r.name;let h;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&n.evaluater){const d=r.value.data.estree.body[0];d.type,h=n.evaluater.evaluateExpression(d.expression)}else Ma(n,a.position);else h=r.value===null?!0:r.value;u[s]=h}return u}function ws(n,a){const u=[];let r=-1;const s=n.passKeys?new Map:I0;for(;++r<a.children.length;){const h=a.children[r];let f;if(n.passKeys){const p=h.type==="element"?h.tagName:h.type==="mdxJsxFlowElement"||h.type==="mdxJsxTextElement"?h.name:void 0;if(p){const m=s.get(p)||0;f=p+"-"+m,s.set(p,m+1)}}const d=ng(n,h,f);d!==void 0&&u.push(d)}return u}function fb(n,a,u){const r=U0(n.schema,a);if(!(u==null||typeof u=="number"&&Number.isNaN(u))){if(Array.isArray(u)&&(u=r.commaSeparated?z0(u):V0(u)),r.property==="style"){let s=typeof u=="object"?u:hb(n,String(u));return n.stylePropertyNameCase==="css"&&(s=mb(s)),["style",s]}return[n.elementAttributeNameCase==="react"&&r.space?j0[r.property]||r.property:r.attribute,u]}}function hb(n,a){try{return J0(a,{reactCompat:!0})}catch(u){if(n.ignoreInvalidStyle)return{};const r=u,s=new ge("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=n.filePath||void 0,s.url=eg+"#cannot-parse-style-attribute",s}}function ig(n,a,u){let r;if(!u)r={type:"Literal",value:a};else if(a.includes(".")){const s=a.split(".");let h=-1,f;for(;++h<s.length;){const d=Fd(s[h])?{type:"Identifier",name:s[h]}:{type:"Literal",value:s[h]};f=f?{type:"MemberExpression",object:f,property:d,computed:!!(h&&d.type==="Literal"),optional:!1}:d}r=f}else r=Fd(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(r.type==="Literal"){const s=r.value;return zs.call(n.components,s)?n.components[s]:s}if(n.evaluater)return n.evaluater.evaluateExpression(r);Ma(n)}function Ma(n,a){const u=new ge("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw u.file=n.filePath||void 0,u.url=eg+"#cannot-handle-mdx-estrees-without-createevaluater",u}function mb(n){const a={};let u;for(u in n)zs.call(n,u)&&(a[db(u)]=n[u]);return a}function db(n){let a=n.replace($0,pb);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function pb(n){return"-"+n.toLowerCase()}const Qc={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},gb={};function Ms(n,a){const u=gb,r=typeof u.includeImageAlt=="boolean"?u.includeImageAlt:!0,s=typeof u.includeHtml=="boolean"?u.includeHtml:!0;return ag(n,r,s)}function ag(n,a,u){if(yb(n)){if("value"in n)return n.type==="html"&&!u?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return ap(n.children,a,u)}return Array.isArray(n)?ap(n,a,u):""}function ap(n,a,u){const r=[];let s=-1;for(;++s<n.length;)r[s]=ag(n[s],a,u);return r.join("")}function yb(n){return!!(n&&typeof n=="object")}const up=document.createElement("i");function _s(n){const a="&"+n+";";up.innerHTML=a;const u=up.textContent;return u.charCodeAt(u.length-1)===59&&n!=="semi"||u===a?!1:u}function qe(n,a,u,r){const s=n.length;let h=0,f;if(a<0?a=-a>s?0:s+a:a=a>s?s:a,u=u>0?u:0,r.length<1e4)f=Array.from(r),f.unshift(a,u),n.splice(...f);else for(u&&n.splice(a,u);h<r.length;)f=r.slice(h,h+1e4),f.unshift(a,0),n.splice(...f),h+=1e4,a+=1e4}function We(n,a){return n.length>0?(qe(n,n.length,0,a),n):a}const rp={}.hasOwnProperty;function ug(n){const a={};let u=-1;for(;++u<n.length;)bb(a,n[u]);return a}function bb(n,a){let u;for(u in a){const s=(rp.call(n,u)?n[u]:void 0)||(n[u]={}),h=a[u];let f;if(h)for(f in h){rp.call(s,f)||(s[f]=[]);const d=h[f];vb(s[f],Array.isArray(d)?d:d?[d]:[])}}}function vb(n,a){let u=-1;const r=[];for(;++u<a.length;)(a[u].add==="after"?n:r).push(a[u]);qe(n,0,0,r)}function rg(n,a){const u=Number.parseInt(n,a);return u<9||u===11||u>13&&u<32||u>126&&u<160||u>55295&&u<57344||u>64975&&u<65008||(u&65535)===65535||(u&65535)===65534||u>1114111?"�":String.fromCodePoint(u)}function ln(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const xe=ul(/[A-Za-z]/),pe=ul(/[\dA-Za-z]/),xb=ul(/[#-'*+\--9=?A-Z^-~]/);function sr(n){return n!==null&&(n<32||n===127)}const ds=ul(/\d/),Sb=ul(/[\dA-Fa-f]/),Eb=ul(/[!-/:-@[-`{-~]/);function ft(n){return n!==null&&n<-2}function Xt(n){return n!==null&&(n<0||n===32)}function At(n){return n===-2||n===-1||n===32}const gr=ul(new RegExp("\\p{P}|\\p{S}","u")),Cl=ul(/\s/);function ul(n){return a;function a(u){return u!==null&&u>-1&&n.test(String.fromCharCode(u))}}function ki(n){const a=[];let u=-1,r=0,s=0;for(;++u<n.length;){const h=n.charCodeAt(u);let f="";if(h===37&&pe(n.charCodeAt(u+1))&&pe(n.charCodeAt(u+2)))s=2;else if(h<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(h))||(f=String.fromCharCode(h));else if(h>55295&&h<57344){const d=n.charCodeAt(u+1);h<56320&&d>56319&&d<57344?(f=String.fromCharCode(h,d),s=1):f="�"}else f=String.fromCharCode(h);f&&(a.push(n.slice(r,u),encodeURIComponent(f)),r=u+s+1,f=""),s&&(u+=s,s=0)}return a.join("")+n.slice(r)}function _t(n,a,u,r){const s=r?r-1:Number.POSITIVE_INFINITY;let h=0;return f;function f(p){return At(p)?(n.enter(u),d(p)):a(p)}function d(p){return At(p)&&h++<s?(n.consume(p),d):(n.exit(u),a(p))}}const Tb={tokenize:kb};function kb(n){const a=n.attempt(this.parser.constructs.contentInitial,r,s);let u;return a;function r(d){if(d===null){n.consume(d);return}return n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),_t(n,a,"linePrefix")}function s(d){return n.enter("paragraph"),h(d)}function h(d){const p=n.enter("chunkText",{contentType:"text",previous:u});return u&&(u.next=p),u=p,f(d)}function f(d){if(d===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(d);return}return ft(d)?(n.consume(d),n.exit("chunkText"),h):(n.consume(d),f)}}const Ab={tokenize:zb},op={tokenize:Cb};function zb(n){const a=this,u=[];let r=0,s,h,f;return d;function d(Q){if(r<u.length){const ut=u[r];return a.containerState=ut[1],n.attempt(ut[0].continuation,p,m)(Q)}return m(Q)}function p(Q){if(r++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,s&&K();const ut=a.events.length;let rt=ut,U;for(;rt--;)if(a.events[rt][0]==="exit"&&a.events[rt][1].type==="chunkFlow"){U=a.events[rt][1].end;break}D(r);let W=ut;for(;W<a.events.length;)a.events[W][1].end={...U},W++;return qe(a.events,rt+1,0,a.events.slice(ut)),a.events.length=W,m(Q)}return d(Q)}function m(Q){if(r===u.length){if(!s)return S(Q);if(s.currentConstruct&&s.currentConstruct.concrete)return w(Q);a.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(op,b,y)(Q)}function b(Q){return s&&K(),D(r),S(Q)}function y(Q){return a.parser.lazy[a.now().line]=r!==u.length,f=a.now().offset,w(Q)}function S(Q){return a.containerState={},n.attempt(op,x,w)(Q)}function x(Q){return r++,u.push([a.currentConstruct,a.containerState]),S(Q)}function w(Q){if(Q===null){s&&K(),D(0),n.consume(Q);return}return s=s||a.parser.flow(a.now()),n.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:h}),R(Q)}function R(Q){if(Q===null){H(n.exit("chunkFlow"),!0),D(0),n.consume(Q);return}return ft(Q)?(n.consume(Q),H(n.exit("chunkFlow")),r=0,a.interrupt=void 0,d):(n.consume(Q),R)}function H(Q,ut){const rt=a.sliceStream(Q);if(ut&&rt.push(null),Q.previous=h,h&&(h.next=Q),h=Q,s.defineSkip(Q.start),s.write(rt),a.parser.lazy[Q.start.line]){let U=s.events.length;for(;U--;)if(s.events[U][1].start.offset<f&&(!s.events[U][1].end||s.events[U][1].end.offset>f))return;const W=a.events.length;let st=W,F,j;for(;st--;)if(a.events[st][0]==="exit"&&a.events[st][1].type==="chunkFlow"){if(F){j=a.events[st][1].end;break}F=!0}for(D(r),U=W;U<a.events.length;)a.events[U][1].end={...j},U++;qe(a.events,st+1,0,a.events.slice(W)),a.events.length=U}}function D(Q){let ut=u.length;for(;ut-- >Q;){const rt=u[ut];a.containerState=rt[1],rt[0].exit.call(a,n)}u.length=Q}function K(){s.write([null]),h=void 0,s=void 0,a.containerState._closeFlow=void 0}}function Cb(n,a,u){return _t(n,n.attempt(this.parser.constructs.document,a,u),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ei(n){if(n===null||Xt(n)||Cl(n))return 1;if(gr(n))return 2}function yr(n,a,u){const r=[];let s=-1;for(;++s<n.length;){const h=n[s].resolveAll;h&&!r.includes(h)&&(a=h(a,u),r.push(h))}return a}const ps={name:"attention",resolveAll:wb,tokenize:Mb};function wb(n,a){let u=-1,r,s,h,f,d,p,m,b;for(;++u<n.length;)if(n[u][0]==="enter"&&n[u][1].type==="attentionSequence"&&n[u][1]._close){for(r=u;r--;)if(n[r][0]==="exit"&&n[r][1].type==="attentionSequence"&&n[r][1]._open&&a.sliceSerialize(n[r][1]).charCodeAt(0)===a.sliceSerialize(n[u][1]).charCodeAt(0)){if((n[r][1]._close||n[u][1]._open)&&(n[u][1].end.offset-n[u][1].start.offset)%3&&!((n[r][1].end.offset-n[r][1].start.offset+n[u][1].end.offset-n[u][1].start.offset)%3))continue;p=n[r][1].end.offset-n[r][1].start.offset>1&&n[u][1].end.offset-n[u][1].start.offset>1?2:1;const y={...n[r][1].end},S={...n[u][1].start};cp(y,-p),cp(S,p),f={type:p>1?"strongSequence":"emphasisSequence",start:y,end:{...n[r][1].end}},d={type:p>1?"strongSequence":"emphasisSequence",start:{...n[u][1].start},end:S},h={type:p>1?"strongText":"emphasisText",start:{...n[r][1].end},end:{...n[u][1].start}},s={type:p>1?"strong":"emphasis",start:{...f.start},end:{...d.end}},n[r][1].end={...f.start},n[u][1].start={...d.end},m=[],n[r][1].end.offset-n[r][1].start.offset&&(m=We(m,[["enter",n[r][1],a],["exit",n[r][1],a]])),m=We(m,[["enter",s,a],["enter",f,a],["exit",f,a],["enter",h,a]]),m=We(m,yr(a.parser.constructs.insideSpan.null,n.slice(r+1,u),a)),m=We(m,[["exit",h,a],["enter",d,a],["exit",d,a],["exit",s,a]]),n[u][1].end.offset-n[u][1].start.offset?(b=2,m=We(m,[["enter",n[u][1],a],["exit",n[u][1],a]])):b=0,qe(n,r-1,u-r+3,m),u=r+m.length-b-2;break}}for(u=-1;++u<n.length;)n[u][1].type==="attentionSequence"&&(n[u][1].type="data");return n}function Mb(n,a){const u=this.parser.constructs.attentionMarkers.null,r=this.previous,s=Ei(r);let h;return f;function f(p){return h=p,n.enter("attentionSequence"),d(p)}function d(p){if(p===h)return n.consume(p),d;const m=n.exit("attentionSequence"),b=Ei(p),y=!b||b===2&&s||u.includes(p),S=!s||s===2&&b||u.includes(r);return m._open=!!(h===42?y:y&&(s||!S)),m._close=!!(h===42?S:S&&(b||!y)),a(p)}}function cp(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const _b={name:"autolink",tokenize:Db};function Db(n,a,u){let r=0;return s;function s(x){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(x),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),h}function h(x){return xe(x)?(n.consume(x),f):x===64?u(x):m(x)}function f(x){return x===43||x===45||x===46||pe(x)?(r=1,d(x)):m(x)}function d(x){return x===58?(n.consume(x),r=0,p):(x===43||x===45||x===46||pe(x))&&r++<32?(n.consume(x),d):(r=0,m(x))}function p(x){return x===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(x),n.exit("autolinkMarker"),n.exit("autolink"),a):x===null||x===32||x===60||sr(x)?u(x):(n.consume(x),p)}function m(x){return x===64?(n.consume(x),b):xb(x)?(n.consume(x),m):u(x)}function b(x){return pe(x)?y(x):u(x)}function y(x){return x===46?(n.consume(x),r=0,b):x===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(x),n.exit("autolinkMarker"),n.exit("autolink"),a):S(x)}function S(x){if((x===45||pe(x))&&r++<63){const w=x===45?S:y;return n.consume(x),w}return u(x)}}const Na={partial:!0,tokenize:Ob};function Ob(n,a,u){return r;function r(h){return At(h)?_t(n,s,"linePrefix")(h):s(h)}function s(h){return h===null||ft(h)?a(h):u(h)}}const og={continuation:{tokenize:Rb},exit:jb,name:"blockQuote",tokenize:Nb};function Nb(n,a,u){const r=this;return s;function s(f){if(f===62){const d=r.containerState;return d.open||(n.enter("blockQuote",{_container:!0}),d.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(f),n.exit("blockQuoteMarker"),h}return u(f)}function h(f){return At(f)?(n.enter("blockQuotePrefixWhitespace"),n.consume(f),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),a):(n.exit("blockQuotePrefix"),a(f))}}function Rb(n,a,u){const r=this;return s;function s(f){return At(f)?_t(n,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):h(f)}function h(f){return n.attempt(og,a,u)(f)}}function jb(n){n.exit("blockQuote")}const cg={name:"characterEscape",tokenize:Lb};function Lb(n,a,u){return r;function r(h){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(h),n.exit("escapeMarker"),s}function s(h){return Eb(h)?(n.enter("characterEscapeValue"),n.consume(h),n.exit("characterEscapeValue"),n.exit("characterEscape"),a):u(h)}}const sg={name:"characterReference",tokenize:Bb};function Bb(n,a,u){const r=this;let s=0,h,f;return d;function d(y){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(y),n.exit("characterReferenceMarker"),p}function p(y){return y===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(y),n.exit("characterReferenceMarkerNumeric"),m):(n.enter("characterReferenceValue"),h=31,f=pe,b(y))}function m(y){return y===88||y===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(y),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),h=6,f=Sb,b):(n.enter("characterReferenceValue"),h=7,f=ds,b(y))}function b(y){if(y===59&&s){const S=n.exit("characterReferenceValue");return f===pe&&!_s(r.sliceSerialize(S))?u(y):(n.enter("characterReferenceMarker"),n.consume(y),n.exit("characterReferenceMarker"),n.exit("characterReference"),a)}return f(y)&&s++<h?(n.consume(y),b):u(y)}}const sp={partial:!0,tokenize:Hb},fp={concrete:!0,name:"codeFenced",tokenize:Ub};function Ub(n,a,u){const r=this,s={partial:!0,tokenize:rt};let h=0,f=0,d;return p;function p(U){return m(U)}function m(U){const W=r.events[r.events.length-1];return h=W&&W[1].type==="linePrefix"?W[2].sliceSerialize(W[1],!0).length:0,d=U,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),b(U)}function b(U){return U===d?(f++,n.consume(U),b):f<3?u(U):(n.exit("codeFencedFenceSequence"),At(U)?_t(n,y,"whitespace")(U):y(U))}function y(U){return U===null||ft(U)?(n.exit("codeFencedFence"),r.interrupt?a(U):n.check(sp,R,ut)(U)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),S(U))}function S(U){return U===null||ft(U)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),y(U)):At(U)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),_t(n,x,"whitespace")(U)):U===96&&U===d?u(U):(n.consume(U),S)}function x(U){return U===null||ft(U)?y(U):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),w(U))}function w(U){return U===null||ft(U)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),y(U)):U===96&&U===d?u(U):(n.consume(U),w)}function R(U){return n.attempt(s,ut,H)(U)}function H(U){return n.enter("lineEnding"),n.consume(U),n.exit("lineEnding"),D}function D(U){return h>0&&At(U)?_t(n,K,"linePrefix",h+1)(U):K(U)}function K(U){return U===null||ft(U)?n.check(sp,R,ut)(U):(n.enter("codeFlowValue"),Q(U))}function Q(U){return U===null||ft(U)?(n.exit("codeFlowValue"),K(U)):(n.consume(U),Q)}function ut(U){return n.exit("codeFenced"),a(U)}function rt(U,W,st){let F=0;return j;function j(I){return U.enter("lineEnding"),U.consume(I),U.exit("lineEnding"),P}function P(I){return U.enter("codeFencedFence"),At(I)?_t(U,tt,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):tt(I)}function tt(I){return I===d?(U.enter("codeFencedFenceSequence"),bt(I)):st(I)}function bt(I){return I===d?(F++,U.consume(I),bt):F>=f?(U.exit("codeFencedFenceSequence"),At(I)?_t(U,it,"whitespace")(I):it(I)):st(I)}function it(I){return I===null||ft(I)?(U.exit("codeFencedFence"),W(I)):st(I)}}}function Hb(n,a,u){const r=this;return s;function s(f){return f===null?u(f):(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),h)}function h(f){return r.parser.lazy[r.now().line]?u(f):a(f)}}const Zc={name:"codeIndented",tokenize:Yb},qb={partial:!0,tokenize:Vb};function Yb(n,a,u){const r=this;return s;function s(m){return n.enter("codeIndented"),_t(n,h,"linePrefix",5)(m)}function h(m){const b=r.events[r.events.length-1];return b&&b[1].type==="linePrefix"&&b[2].sliceSerialize(b[1],!0).length>=4?f(m):u(m)}function f(m){return m===null?p(m):ft(m)?n.attempt(qb,f,p)(m):(n.enter("codeFlowValue"),d(m))}function d(m){return m===null||ft(m)?(n.exit("codeFlowValue"),f(m)):(n.consume(m),d)}function p(m){return n.exit("codeIndented"),a(m)}}function Vb(n,a,u){const r=this;return s;function s(f){return r.parser.lazy[r.now().line]?u(f):ft(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),s):_t(n,h,"linePrefix",5)(f)}function h(f){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(f):ft(f)?s(f):u(f)}}const Xb={name:"codeText",previous:Qb,resolve:Gb,tokenize:Zb};function Gb(n){let a=n.length-4,u=3,r,s;if((n[u][1].type==="lineEnding"||n[u][1].type==="space")&&(n[a][1].type==="lineEnding"||n[a][1].type==="space")){for(r=u;++r<a;)if(n[r][1].type==="codeTextData"){n[u][1].type="codeTextPadding",n[a][1].type="codeTextPadding",u+=2,a-=2;break}}for(r=u-1,a++;++r<=a;)s===void 0?r!==a&&n[r][1].type!=="lineEnding"&&(s=r):(r===a||n[r][1].type==="lineEnding")&&(n[s][1].type="codeTextData",r!==s+2&&(n[s][1].end=n[r-1][1].end,n.splice(s+2,r-s-2),a-=r-s-2,r=s+2),s=void 0);return n}function Qb(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Zb(n,a,u){let r=0,s,h;return f;function f(y){return n.enter("codeText"),n.enter("codeTextSequence"),d(y)}function d(y){return y===96?(n.consume(y),r++,d):(n.exit("codeTextSequence"),p(y))}function p(y){return y===null?u(y):y===32?(n.enter("space"),n.consume(y),n.exit("space"),p):y===96?(h=n.enter("codeTextSequence"),s=0,b(y)):ft(y)?(n.enter("lineEnding"),n.consume(y),n.exit("lineEnding"),p):(n.enter("codeTextData"),m(y))}function m(y){return y===null||y===32||y===96||ft(y)?(n.exit("codeTextData"),p(y)):(n.consume(y),m)}function b(y){return y===96?(n.consume(y),s++,b):s===r?(n.exit("codeTextSequence"),n.exit("codeText"),a(y)):(h.type="codeTextData",m(y))}}class Kb{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,u){const r=u??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(a,r):a>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(a,u,r){const s=u||0;this.setCursor(Math.trunc(a));const h=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return r&&Ea(this.left,r),h.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),Ea(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),Ea(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const u=this.left.splice(a,Number.POSITIVE_INFINITY);Ea(this.right,u.reverse())}else{const u=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);Ea(this.left,u.reverse())}}}function Ea(n,a){let u=0;if(a.length<1e4)n.push(...a);else for(;u<a.length;)n.push(...a.slice(u,u+1e4)),u+=1e4}function fg(n){const a={};let u=-1,r,s,h,f,d,p,m;const b=new Kb(n);for(;++u<b.length;){for(;u in a;)u=a[u];if(r=b.get(u),u&&r[1].type==="chunkFlow"&&b.get(u-1)[1].type==="listItemPrefix"&&(p=r[1]._tokenizer.events,h=0,h<p.length&&p[h][1].type==="lineEndingBlank"&&(h+=2),h<p.length&&p[h][1].type==="content"))for(;++h<p.length&&p[h][1].type!=="content";)p[h][1].type==="chunkText"&&(p[h][1]._isInFirstContentOfListItem=!0,h++);if(r[0]==="enter")r[1].contentType&&(Object.assign(a,Jb(b,u)),u=a[u],m=!0);else if(r[1]._container){for(h=u,s=void 0;h--;)if(f=b.get(h),f[1].type==="lineEnding"||f[1].type==="lineEndingBlank")f[0]==="enter"&&(s&&(b.get(s)[1].type="lineEndingBlank"),f[1].type="lineEnding",s=h);else if(!(f[1].type==="linePrefix"||f[1].type==="listItemIndent"))break;s&&(r[1].end={...b.get(s)[1].start},d=b.slice(s,u),d.unshift(r),b.splice(s,u-s+1,d))}}return qe(n,0,Number.POSITIVE_INFINITY,b.slice(0)),!m}function Jb(n,a){const u=n.get(a)[1],r=n.get(a)[2];let s=a-1;const h=[];let f=u._tokenizer;f||(f=r.parser[u.contentType](u.start),u._contentTypeTextTrailing&&(f._contentTypeTextTrailing=!0));const d=f.events,p=[],m={};let b,y,S=-1,x=u,w=0,R=0;const H=[R];for(;x;){for(;n.get(++s)[1]!==x;);h.push(s),x._tokenizer||(b=r.sliceStream(x),x.next||b.push(null),y&&f.defineSkip(x.start),x._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(b),x._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),y=x,x=x.next}for(x=u;++S<d.length;)d[S][0]==="exit"&&d[S-1][0]==="enter"&&d[S][1].type===d[S-1][1].type&&d[S][1].start.line!==d[S][1].end.line&&(R=S+1,H.push(R),x._tokenizer=void 0,x.previous=void 0,x=x.next);for(f.events=[],x?(x._tokenizer=void 0,x.previous=void 0):H.pop(),S=H.length;S--;){const D=d.slice(H[S],H[S+1]),K=h.pop();p.push([K,K+D.length-1]),n.splice(K,2,D)}for(p.reverse(),S=-1;++S<p.length;)m[w+p[S][0]]=w+p[S][1],w+=p[S][1]-p[S][0]-1;return m}const Fb={resolve:$b,tokenize:Wb},Ib={partial:!0,tokenize:Pb};function $b(n){return fg(n),n}function Wb(n,a){let u;return r;function r(d){return n.enter("content"),u=n.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?h(d):ft(d)?n.check(Ib,f,h)(d):(n.consume(d),s)}function h(d){return n.exit("chunkContent"),n.exit("content"),a(d)}function f(d){return n.consume(d),n.exit("chunkContent"),u.next=n.enter("chunkContent",{contentType:"content",previous:u}),u=u.next,s}}function Pb(n,a,u){const r=this;return s;function s(f){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),_t(n,h,"linePrefix")}function h(f){if(f===null||ft(f))return u(f);const d=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(f):n.interrupt(r.parser.constructs.flow,u,a)(f)}}function hg(n,a,u,r,s,h,f,d,p){const m=p||Number.POSITIVE_INFINITY;let b=0;return y;function y(D){return D===60?(n.enter(r),n.enter(s),n.enter(h),n.consume(D),n.exit(h),S):D===null||D===32||D===41||sr(D)?u(D):(n.enter(r),n.enter(f),n.enter(d),n.enter("chunkString",{contentType:"string"}),R(D))}function S(D){return D===62?(n.enter(h),n.consume(D),n.exit(h),n.exit(s),n.exit(r),a):(n.enter(d),n.enter("chunkString",{contentType:"string"}),x(D))}function x(D){return D===62?(n.exit("chunkString"),n.exit(d),S(D)):D===null||D===60||ft(D)?u(D):(n.consume(D),D===92?w:x)}function w(D){return D===60||D===62||D===92?(n.consume(D),x):x(D)}function R(D){return!b&&(D===null||D===41||Xt(D))?(n.exit("chunkString"),n.exit(d),n.exit(f),n.exit(r),a(D)):b<m&&D===40?(n.consume(D),b++,R):D===41?(n.consume(D),b--,R):D===null||D===32||D===40||sr(D)?u(D):(n.consume(D),D===92?H:R)}function H(D){return D===40||D===41||D===92?(n.consume(D),R):R(D)}}function mg(n,a,u,r,s,h){const f=this;let d=0,p;return m;function m(x){return n.enter(r),n.enter(s),n.consume(x),n.exit(s),n.enter(h),b}function b(x){return d>999||x===null||x===91||x===93&&!p||x===94&&!d&&"_hiddenFootnoteSupport"in f.parser.constructs?u(x):x===93?(n.exit(h),n.enter(s),n.consume(x),n.exit(s),n.exit(r),a):ft(x)?(n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),b):(n.enter("chunkString",{contentType:"string"}),y(x))}function y(x){return x===null||x===91||x===93||ft(x)||d++>999?(n.exit("chunkString"),b(x)):(n.consume(x),p||(p=!At(x)),x===92?S:y)}function S(x){return x===91||x===92||x===93?(n.consume(x),d++,y):y(x)}}function dg(n,a,u,r,s,h){let f;return d;function d(S){return S===34||S===39||S===40?(n.enter(r),n.enter(s),n.consume(S),n.exit(s),f=S===40?41:S,p):u(S)}function p(S){return S===f?(n.enter(s),n.consume(S),n.exit(s),n.exit(r),a):(n.enter(h),m(S))}function m(S){return S===f?(n.exit(h),p(f)):S===null?u(S):ft(S)?(n.enter("lineEnding"),n.consume(S),n.exit("lineEnding"),_t(n,m,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),b(S))}function b(S){return S===f||S===null||ft(S)?(n.exit("chunkString"),m(S)):(n.consume(S),S===92?y:b)}function y(S){return S===f||S===92?(n.consume(S),b):b(S)}}function Ca(n,a){let u;return r;function r(s){return ft(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),u=!0,r):At(s)?_t(n,r,u?"linePrefix":"lineSuffix")(s):a(s)}}const tv={name:"definition",tokenize:nv},ev={partial:!0,tokenize:lv};function nv(n,a,u){const r=this;let s;return h;function h(x){return n.enter("definition"),f(x)}function f(x){return mg.call(r,n,d,u,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function d(x){return s=ln(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),x===58?(n.enter("definitionMarker"),n.consume(x),n.exit("definitionMarker"),p):u(x)}function p(x){return Xt(x)?Ca(n,m)(x):m(x)}function m(x){return hg(n,b,u,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function b(x){return n.attempt(ev,y,y)(x)}function y(x){return At(x)?_t(n,S,"whitespace")(x):S(x)}function S(x){return x===null||ft(x)?(n.exit("definition"),r.parser.defined.push(s),a(x)):u(x)}}function lv(n,a,u){return r;function r(d){return Xt(d)?Ca(n,s)(d):u(d)}function s(d){return dg(n,h,u,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function h(d){return At(d)?_t(n,f,"whitespace")(d):f(d)}function f(d){return d===null||ft(d)?a(d):u(d)}}const iv={name:"hardBreakEscape",tokenize:av};function av(n,a,u){return r;function r(h){return n.enter("hardBreakEscape"),n.consume(h),s}function s(h){return ft(h)?(n.exit("hardBreakEscape"),a(h)):u(h)}}const uv={name:"headingAtx",resolve:rv,tokenize:ov};function rv(n,a){let u=n.length-2,r=3,s,h;return n[r][1].type==="whitespace"&&(r+=2),u-2>r&&n[u][1].type==="whitespace"&&(u-=2),n[u][1].type==="atxHeadingSequence"&&(r===u-1||u-4>r&&n[u-2][1].type==="whitespace")&&(u-=r+1===u?2:4),u>r&&(s={type:"atxHeadingText",start:n[r][1].start,end:n[u][1].end},h={type:"chunkText",start:n[r][1].start,end:n[u][1].end,contentType:"text"},qe(n,r,u-r+1,[["enter",s,a],["enter",h,a],["exit",h,a],["exit",s,a]])),n}function ov(n,a,u){let r=0;return s;function s(b){return n.enter("atxHeading"),h(b)}function h(b){return n.enter("atxHeadingSequence"),f(b)}function f(b){return b===35&&r++<6?(n.consume(b),f):b===null||Xt(b)?(n.exit("atxHeadingSequence"),d(b)):u(b)}function d(b){return b===35?(n.enter("atxHeadingSequence"),p(b)):b===null||ft(b)?(n.exit("atxHeading"),a(b)):At(b)?_t(n,d,"whitespace")(b):(n.enter("atxHeadingText"),m(b))}function p(b){return b===35?(n.consume(b),p):(n.exit("atxHeadingSequence"),d(b))}function m(b){return b===null||b===35||Xt(b)?(n.exit("atxHeadingText"),d(b)):(n.consume(b),m)}}const cv=["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"],hp=["pre","script","style","textarea"],sv={concrete:!0,name:"htmlFlow",resolveTo:mv,tokenize:dv},fv={partial:!0,tokenize:gv},hv={partial:!0,tokenize:pv};function mv(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type==="htmlFlow"););return a>1&&n[a-2][1].type==="linePrefix"&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function dv(n,a,u){const r=this;let s,h,f,d,p;return m;function m(E){return b(E)}function b(E){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(E),y}function y(E){return E===33?(n.consume(E),S):E===47?(n.consume(E),h=!0,R):E===63?(n.consume(E),s=3,r.interrupt?a:T):xe(E)?(n.consume(E),f=String.fromCharCode(E),H):u(E)}function S(E){return E===45?(n.consume(E),s=2,x):E===91?(n.consume(E),s=5,d=0,w):xe(E)?(n.consume(E),s=4,r.interrupt?a:T):u(E)}function x(E){return E===45?(n.consume(E),r.interrupt?a:T):u(E)}function w(E){const et="CDATA[";return E===et.charCodeAt(d++)?(n.consume(E),d===et.length?r.interrupt?a:tt:w):u(E)}function R(E){return xe(E)?(n.consume(E),f=String.fromCharCode(E),H):u(E)}function H(E){if(E===null||E===47||E===62||Xt(E)){const et=E===47,mt=f.toLowerCase();return!et&&!h&&hp.includes(mt)?(s=1,r.interrupt?a(E):tt(E)):cv.includes(f.toLowerCase())?(s=6,et?(n.consume(E),D):r.interrupt?a(E):tt(E)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?u(E):h?K(E):Q(E))}return E===45||pe(E)?(n.consume(E),f+=String.fromCharCode(E),H):u(E)}function D(E){return E===62?(n.consume(E),r.interrupt?a:tt):u(E)}function K(E){return At(E)?(n.consume(E),K):j(E)}function Q(E){return E===47?(n.consume(E),j):E===58||E===95||xe(E)?(n.consume(E),ut):At(E)?(n.consume(E),Q):j(E)}function ut(E){return E===45||E===46||E===58||E===95||pe(E)?(n.consume(E),ut):rt(E)}function rt(E){return E===61?(n.consume(E),U):At(E)?(n.consume(E),rt):Q(E)}function U(E){return E===null||E===60||E===61||E===62||E===96?u(E):E===34||E===39?(n.consume(E),p=E,W):At(E)?(n.consume(E),U):st(E)}function W(E){return E===p?(n.consume(E),p=null,F):E===null||ft(E)?u(E):(n.consume(E),W)}function st(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Xt(E)?rt(E):(n.consume(E),st)}function F(E){return E===47||E===62||At(E)?Q(E):u(E)}function j(E){return E===62?(n.consume(E),P):u(E)}function P(E){return E===null||ft(E)?tt(E):At(E)?(n.consume(E),P):u(E)}function tt(E){return E===45&&s===2?(n.consume(E),_):E===60&&s===1?(n.consume(E),G):E===62&&s===4?(n.consume(E),z):E===63&&s===3?(n.consume(E),T):E===93&&s===5?(n.consume(E),gt):ft(E)&&(s===6||s===7)?(n.exit("htmlFlowData"),n.check(fv,Y,bt)(E)):E===null||ft(E)?(n.exit("htmlFlowData"),bt(E)):(n.consume(E),tt)}function bt(E){return n.check(hv,it,Y)(E)}function it(E){return n.enter("lineEnding"),n.consume(E),n.exit("lineEnding"),I}function I(E){return E===null||ft(E)?bt(E):(n.enter("htmlFlowData"),tt(E))}function _(E){return E===45?(n.consume(E),T):tt(E)}function G(E){return E===47?(n.consume(E),f="",nt):tt(E)}function nt(E){if(E===62){const et=f.toLowerCase();return hp.includes(et)?(n.consume(E),z):tt(E)}return xe(E)&&f.length<8?(n.consume(E),f+=String.fromCharCode(E),nt):tt(E)}function gt(E){return E===93?(n.consume(E),T):tt(E)}function T(E){return E===62?(n.consume(E),z):E===45&&s===2?(n.consume(E),T):tt(E)}function z(E){return E===null||ft(E)?(n.exit("htmlFlowData"),Y(E)):(n.consume(E),z)}function Y(E){return n.exit("htmlFlow"),a(E)}}function pv(n,a,u){const r=this;return s;function s(f){return ft(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),h):u(f)}function h(f){return r.parser.lazy[r.now().line]?u(f):a(f)}}function gv(n,a,u){return r;function r(s){return n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),n.attempt(Na,a,u)}}const yv={name:"htmlText",tokenize:bv};function bv(n,a,u){const r=this;let s,h,f;return d;function d(T){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(T),p}function p(T){return T===33?(n.consume(T),m):T===47?(n.consume(T),rt):T===63?(n.consume(T),Q):xe(T)?(n.consume(T),st):u(T)}function m(T){return T===45?(n.consume(T),b):T===91?(n.consume(T),h=0,w):xe(T)?(n.consume(T),K):u(T)}function b(T){return T===45?(n.consume(T),x):u(T)}function y(T){return T===null?u(T):T===45?(n.consume(T),S):ft(T)?(f=y,G(T)):(n.consume(T),y)}function S(T){return T===45?(n.consume(T),x):y(T)}function x(T){return T===62?_(T):T===45?S(T):y(T)}function w(T){const z="CDATA[";return T===z.charCodeAt(h++)?(n.consume(T),h===z.length?R:w):u(T)}function R(T){return T===null?u(T):T===93?(n.consume(T),H):ft(T)?(f=R,G(T)):(n.consume(T),R)}function H(T){return T===93?(n.consume(T),D):R(T)}function D(T){return T===62?_(T):T===93?(n.consume(T),D):R(T)}function K(T){return T===null||T===62?_(T):ft(T)?(f=K,G(T)):(n.consume(T),K)}function Q(T){return T===null?u(T):T===63?(n.consume(T),ut):ft(T)?(f=Q,G(T)):(n.consume(T),Q)}function ut(T){return T===62?_(T):Q(T)}function rt(T){return xe(T)?(n.consume(T),U):u(T)}function U(T){return T===45||pe(T)?(n.consume(T),U):W(T)}function W(T){return ft(T)?(f=W,G(T)):At(T)?(n.consume(T),W):_(T)}function st(T){return T===45||pe(T)?(n.consume(T),st):T===47||T===62||Xt(T)?F(T):u(T)}function F(T){return T===47?(n.consume(T),_):T===58||T===95||xe(T)?(n.consume(T),j):ft(T)?(f=F,G(T)):At(T)?(n.consume(T),F):_(T)}function j(T){return T===45||T===46||T===58||T===95||pe(T)?(n.consume(T),j):P(T)}function P(T){return T===61?(n.consume(T),tt):ft(T)?(f=P,G(T)):At(T)?(n.consume(T),P):F(T)}function tt(T){return T===null||T===60||T===61||T===62||T===96?u(T):T===34||T===39?(n.consume(T),s=T,bt):ft(T)?(f=tt,G(T)):At(T)?(n.consume(T),tt):(n.consume(T),it)}function bt(T){return T===s?(n.consume(T),s=void 0,I):T===null?u(T):ft(T)?(f=bt,G(T)):(n.consume(T),bt)}function it(T){return T===null||T===34||T===39||T===60||T===61||T===96?u(T):T===47||T===62||Xt(T)?F(T):(n.consume(T),it)}function I(T){return T===47||T===62||Xt(T)?F(T):u(T)}function _(T){return T===62?(n.consume(T),n.exit("htmlTextData"),n.exit("htmlText"),a):u(T)}function G(T){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(T),n.exit("lineEnding"),nt}function nt(T){return At(T)?_t(n,gt,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):gt(T)}function gt(T){return n.enter("htmlTextData"),f(T)}}const Ds={name:"labelEnd",resolveAll:Ev,resolveTo:Tv,tokenize:kv},vv={tokenize:Av},xv={tokenize:zv},Sv={tokenize:Cv};function Ev(n){let a=-1;const u=[];for(;++a<n.length;){const r=n[a][1];if(u.push(n[a]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const s=r.type==="labelImage"?4:2;r.type="data",a+=s}}return n.length!==u.length&&qe(n,0,n.length,u),n}function Tv(n,a){let u=n.length,r=0,s,h,f,d;for(;u--;)if(s=n[u][1],h){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;n[u][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(f){if(n[u][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(h=u,s.type!=="labelLink")){r=2;break}}else s.type==="labelEnd"&&(f=u);const p={type:n[h][1].type==="labelLink"?"link":"image",start:{...n[h][1].start},end:{...n[n.length-1][1].end}},m={type:"label",start:{...n[h][1].start},end:{...n[f][1].end}},b={type:"labelText",start:{...n[h+r+2][1].end},end:{...n[f-2][1].start}};return d=[["enter",p,a],["enter",m,a]],d=We(d,n.slice(h+1,h+r+3)),d=We(d,[["enter",b,a]]),d=We(d,yr(a.parser.constructs.insideSpan.null,n.slice(h+r+4,f-3),a)),d=We(d,[["exit",b,a],n[f-2],n[f-1],["exit",m,a]]),d=We(d,n.slice(f+1)),d=We(d,[["exit",p,a]]),qe(n,h,n.length,d),n}function kv(n,a,u){const r=this;let s=r.events.length,h,f;for(;s--;)if((r.events[s][1].type==="labelImage"||r.events[s][1].type==="labelLink")&&!r.events[s][1]._balanced){h=r.events[s][1];break}return d;function d(S){return h?h._inactive?y(S):(f=r.parser.defined.includes(ln(r.sliceSerialize({start:h.end,end:r.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(S),n.exit("labelMarker"),n.exit("labelEnd"),p):u(S)}function p(S){return S===40?n.attempt(vv,b,f?b:y)(S):S===91?n.attempt(xv,b,f?m:y)(S):f?b(S):y(S)}function m(S){return n.attempt(Sv,b,y)(S)}function b(S){return a(S)}function y(S){return h._balanced=!0,u(S)}}function Av(n,a,u){return r;function r(y){return n.enter("resource"),n.enter("resourceMarker"),n.consume(y),n.exit("resourceMarker"),s}function s(y){return Xt(y)?Ca(n,h)(y):h(y)}function h(y){return y===41?b(y):hg(n,f,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(y)}function f(y){return Xt(y)?Ca(n,p)(y):b(y)}function d(y){return u(y)}function p(y){return y===34||y===39||y===40?dg(n,m,u,"resourceTitle","resourceTitleMarker","resourceTitleString")(y):b(y)}function m(y){return Xt(y)?Ca(n,b)(y):b(y)}function b(y){return y===41?(n.enter("resourceMarker"),n.consume(y),n.exit("resourceMarker"),n.exit("resource"),a):u(y)}}function zv(n,a,u){const r=this;return s;function s(d){return mg.call(r,n,h,f,"reference","referenceMarker","referenceString")(d)}function h(d){return r.parser.defined.includes(ln(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?a(d):u(d)}function f(d){return u(d)}}function Cv(n,a,u){return r;function r(h){return n.enter("reference"),n.enter("referenceMarker"),n.consume(h),n.exit("referenceMarker"),s}function s(h){return h===93?(n.enter("referenceMarker"),n.consume(h),n.exit("referenceMarker"),n.exit("reference"),a):u(h)}}const wv={name:"labelStartImage",resolveAll:Ds.resolveAll,tokenize:Mv};function Mv(n,a,u){const r=this;return s;function s(d){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(d),n.exit("labelImageMarker"),h}function h(d){return d===91?(n.enter("labelMarker"),n.consume(d),n.exit("labelMarker"),n.exit("labelImage"),f):u(d)}function f(d){return d===94&&"_hiddenFootnoteSupport"in r.parser.constructs?u(d):a(d)}}const _v={name:"labelStartLink",resolveAll:Ds.resolveAll,tokenize:Dv};function Dv(n,a,u){const r=this;return s;function s(f){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(f),n.exit("labelMarker"),n.exit("labelLink"),h}function h(f){return f===94&&"_hiddenFootnoteSupport"in r.parser.constructs?u(f):a(f)}}const Kc={name:"lineEnding",tokenize:Ov};function Ov(n,a){return u;function u(r){return n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),_t(n,a,"linePrefix")}}const rr={name:"thematicBreak",tokenize:Nv};function Nv(n,a,u){let r=0,s;return h;function h(m){return n.enter("thematicBreak"),f(m)}function f(m){return s=m,d(m)}function d(m){return m===s?(n.enter("thematicBreakSequence"),p(m)):r>=3&&(m===null||ft(m))?(n.exit("thematicBreak"),a(m)):u(m)}function p(m){return m===s?(n.consume(m),r++,p):(n.exit("thematicBreakSequence"),At(m)?_t(n,d,"whitespace")(m):d(m))}}const Me={continuation:{tokenize:Bv},exit:Hv,name:"list",tokenize:Lv},Rv={partial:!0,tokenize:qv},jv={partial:!0,tokenize:Uv};function Lv(n,a,u){const r=this,s=r.events[r.events.length-1];let h=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,f=0;return d;function d(x){const w=r.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||x===r.containerState.marker:ds(x)){if(r.containerState.type||(r.containerState.type=w,n.enter(w,{_container:!0})),w==="listUnordered")return n.enter("listItemPrefix"),x===42||x===45?n.check(rr,u,m)(x):m(x);if(!r.interrupt||x===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),p(x)}return u(x)}function p(x){return ds(x)&&++f<10?(n.consume(x),p):(!r.interrupt||f<2)&&(r.containerState.marker?x===r.containerState.marker:x===41||x===46)?(n.exit("listItemValue"),m(x)):u(x)}function m(x){return n.enter("listItemMarker"),n.consume(x),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||x,n.check(Na,r.interrupt?u:b,n.attempt(Rv,S,y))}function b(x){return r.containerState.initialBlankLine=!0,h++,S(x)}function y(x){return At(x)?(n.enter("listItemPrefixWhitespace"),n.consume(x),n.exit("listItemPrefixWhitespace"),S):u(x)}function S(x){return r.containerState.size=h+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,a(x)}}function Bv(n,a,u){const r=this;return r.containerState._closeFlow=void 0,n.check(Na,s,h);function s(d){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,_t(n,a,"listItemIndent",r.containerState.size+1)(d)}function h(d){return r.containerState.furtherBlankLines||!At(d)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,f(d)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(jv,a,f)(d))}function f(d){return r.containerState._closeFlow=!0,r.interrupt=void 0,_t(n,n.attempt(Me,a,u),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function Uv(n,a,u){const r=this;return _t(n,s,"listItemIndent",r.containerState.size+1);function s(h){const f=r.events[r.events.length-1];return f&&f[1].type==="listItemIndent"&&f[2].sliceSerialize(f[1],!0).length===r.containerState.size?a(h):u(h)}}function Hv(n){n.exit(this.containerState.type)}function qv(n,a,u){const r=this;return _t(n,s,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(h){const f=r.events[r.events.length-1];return!At(h)&&f&&f[1].type==="listItemPrefixWhitespace"?a(h):u(h)}}const mp={name:"setextUnderline",resolveTo:Yv,tokenize:Vv};function Yv(n,a){let u=n.length,r,s,h;for(;u--;)if(n[u][0]==="enter"){if(n[u][1].type==="content"){r=u;break}n[u][1].type==="paragraph"&&(s=u)}else n[u][1].type==="content"&&n.splice(u,1),!h&&n[u][1].type==="definition"&&(h=u);const f={type:"setextHeading",start:{...n[r][1].start},end:{...n[n.length-1][1].end}};return n[s][1].type="setextHeadingText",h?(n.splice(s,0,["enter",f,a]),n.splice(h+1,0,["exit",n[r][1],a]),n[r][1].end={...n[h][1].end}):n[r][1]=f,n.push(["exit",f,a]),n}function Vv(n,a,u){const r=this;let s;return h;function h(m){let b=r.events.length,y;for(;b--;)if(r.events[b][1].type!=="lineEnding"&&r.events[b][1].type!=="linePrefix"&&r.events[b][1].type!=="content"){y=r.events[b][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||y)?(n.enter("setextHeadingLine"),s=m,f(m)):u(m)}function f(m){return n.enter("setextHeadingLineSequence"),d(m)}function d(m){return m===s?(n.consume(m),d):(n.exit("setextHeadingLineSequence"),At(m)?_t(n,p,"lineSuffix")(m):p(m))}function p(m){return m===null||ft(m)?(n.exit("setextHeadingLine"),a(m)):u(m)}}const Xv={tokenize:Gv};function Gv(n){const a=this,u=n.attempt(Na,r,n.attempt(this.parser.constructs.flowInitial,s,_t(n,n.attempt(this.parser.constructs.flow,s,n.attempt(Fb,s)),"linePrefix")));return u;function r(h){if(h===null){n.consume(h);return}return n.enter("lineEndingBlank"),n.consume(h),n.exit("lineEndingBlank"),a.currentConstruct=void 0,u}function s(h){if(h===null){n.consume(h);return}return n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),a.currentConstruct=void 0,u}}const Qv={resolveAll:gg()},Zv=pg("string"),Kv=pg("text");function pg(n){return{resolveAll:gg(n==="text"?Jv:void 0),tokenize:a};function a(u){const r=this,s=this.parser.constructs[n],h=u.attempt(s,f,d);return f;function f(b){return m(b)?h(b):d(b)}function d(b){if(b===null){u.consume(b);return}return u.enter("data"),u.consume(b),p}function p(b){return m(b)?(u.exit("data"),h(b)):(u.consume(b),p)}function m(b){if(b===null)return!0;const y=s[b];let S=-1;if(y)for(;++S<y.length;){const x=y[S];if(!x.previous||x.previous.call(r,r.previous))return!0}return!1}}}function gg(n){return a;function a(u,r){let s=-1,h;for(;++s<=u.length;)h===void 0?u[s]&&u[s][1].type==="data"&&(h=s,s++):(!u[s]||u[s][1].type!=="data")&&(s!==h+2&&(u[h][1].end=u[s-1][1].end,u.splice(h+2,s-h-2),s=h+2),h=void 0);return n?n(u,r):u}}function Jv(n,a){let u=0;for(;++u<=n.length;)if((u===n.length||n[u][1].type==="lineEnding")&&n[u-1][1].type==="data"){const r=n[u-1][1],s=a.sliceStream(r);let h=s.length,f=-1,d=0,p;for(;h--;){const m=s[h];if(typeof m=="string"){for(f=m.length;m.charCodeAt(f-1)===32;)d++,f--;if(f)break;f=-1}else if(m===-2)p=!0,d++;else if(m!==-1){h++;break}}if(a._contentTypeTextTrailing&&u===n.length&&(d=0),d){const m={type:u===n.length||p||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:h?f:r.start._bufferIndex+f,_index:r.start._index+h,line:r.end.line,column:r.end.column-d,offset:r.end.offset-d},end:{...r.end}};r.end={...m.start},r.start.offset===r.end.offset?Object.assign(r,m):(n.splice(u,0,["enter",m,a],["exit",m,a]),u+=2)}u++}return n}const Fv={42:Me,43:Me,45:Me,48:Me,49:Me,50:Me,51:Me,52:Me,53:Me,54:Me,55:Me,56:Me,57:Me,62:og},Iv={91:tv},$v={[-2]:Zc,[-1]:Zc,32:Zc},Wv={35:uv,42:rr,45:[mp,rr],60:sv,61:mp,95:rr,96:fp,126:fp},Pv={38:sg,92:cg},tx={[-5]:Kc,[-4]:Kc,[-3]:Kc,33:wv,38:sg,42:ps,60:[_b,yv],91:_v,92:[iv,cg],93:Ds,95:ps,96:Xb},ex={null:[ps,Qv]},nx={null:[42,95]},lx={null:[]},ix=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:nx,contentInitial:Iv,disable:lx,document:Fv,flow:Wv,flowInitial:$v,insideSpan:ex,string:Pv,text:tx},Symbol.toStringTag,{value:"Module"}));function ax(n,a,u){let r={_bufferIndex:-1,_index:0,line:u&&u.line||1,column:u&&u.column||1,offset:u&&u.offset||0};const s={},h=[];let f=[],d=[];const p={attempt:W(rt),check:W(U),consume:K,enter:Q,exit:ut,interrupt:W(U,{interrupt:!0})},m={code:null,containerState:{},defineSkip:R,events:[],now:w,parser:n,previous:null,sliceSerialize:S,sliceStream:x,write:y};let b=a.tokenize.call(m,p);return a.resolveAll&&h.push(a),m;function y(P){return f=We(f,P),H(),f[f.length-1]!==null?[]:(st(a,0),m.events=yr(h,m.events,m),m.events)}function S(P,tt){return rx(x(P),tt)}function x(P){return ux(f,P)}function w(){const{_bufferIndex:P,_index:tt,line:bt,column:it,offset:I}=r;return{_bufferIndex:P,_index:tt,line:bt,column:it,offset:I}}function R(P){s[P.line]=P.column,j()}function H(){let P;for(;r._index<f.length;){const tt=f[r._index];if(typeof tt=="string")for(P=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===P&&r._bufferIndex<tt.length;)D(tt.charCodeAt(r._bufferIndex));else D(tt)}}function D(P){b=b(P)}function K(P){ft(P)?(r.line++,r.column=1,r.offset+=P===-3?2:1,j()):P!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===f[r._index].length&&(r._bufferIndex=-1,r._index++)),m.previous=P}function Q(P,tt){const bt=tt||{};return bt.type=P,bt.start=w(),m.events.push(["enter",bt,m]),d.push(bt),bt}function ut(P){const tt=d.pop();return tt.end=w(),m.events.push(["exit",tt,m]),tt}function rt(P,tt){st(P,tt.from)}function U(P,tt){tt.restore()}function W(P,tt){return bt;function bt(it,I,_){let G,nt,gt,T;return Array.isArray(it)?Y(it):"tokenize"in it?Y([it]):z(it);function z(ot){return zt;function zt(Kt){const Bt=Kt!==null&&ot[Kt],Ye=Kt!==null&&ot.null,fn=[...Array.isArray(Bt)?Bt:Bt?[Bt]:[],...Array.isArray(Ye)?Ye:Ye?[Ye]:[]];return Y(fn)(Kt)}}function Y(ot){return G=ot,nt=0,ot.length===0?_:E(ot[nt])}function E(ot){return zt;function zt(Kt){return T=F(),gt=ot,ot.partial||(m.currentConstruct=ot),ot.name&&m.parser.constructs.disable.null.includes(ot.name)?mt():ot.tokenize.call(tt?Object.assign(Object.create(m),tt):m,p,et,mt)(Kt)}}function et(ot){return P(gt,T),I}function mt(ot){return T.restore(),++nt<G.length?E(G[nt]):_}}}function st(P,tt){P.resolveAll&&!h.includes(P)&&h.push(P),P.resolve&&qe(m.events,tt,m.events.length-tt,P.resolve(m.events.slice(tt),m)),P.resolveTo&&(m.events=P.resolveTo(m.events,m))}function F(){const P=w(),tt=m.previous,bt=m.currentConstruct,it=m.events.length,I=Array.from(d);return{from:it,restore:_};function _(){r=P,m.previous=tt,m.currentConstruct=bt,m.events.length=it,d=I,j()}}function j(){r.line in s&&r.column<2&&(r.column=s[r.line],r.offset+=s[r.line]-1)}}function ux(n,a){const u=a.start._index,r=a.start._bufferIndex,s=a.end._index,h=a.end._bufferIndex;let f;if(u===s)f=[n[u].slice(r,h)];else{if(f=n.slice(u,s),r>-1){const d=f[0];typeof d=="string"?f[0]=d.slice(r):f.shift()}h>0&&f.push(n[s].slice(0,h))}return f}function rx(n,a){let u=-1;const r=[];let s;for(;++u<n.length;){const h=n[u];let f;if(typeof h=="string")f=h;else switch(h){case-5:{f="\r";break}case-4:{f=`
|
|
51
|
+
`;break}case-3:{f=`\r
|
|
52
|
+
`;break}case-2:{f=a?" ":" ";break}case-1:{if(!a&&s)continue;f=" ";break}default:f=String.fromCharCode(h)}s=h===-2,r.push(f)}return r.join("")}function ox(n){const r={constructs:ug([ix,...(n||{}).extensions||[]]),content:s(Tb),defined:[],document:s(Ab),flow:s(Xv),lazy:{},string:s(Zv),text:s(Kv)};return r;function s(h){return f;function f(d){return ax(r,h,d)}}}function cx(n){for(;!fg(n););return n}const dp=/[\0\t\n\r]/g;function sx(){let n=1,a="",u=!0,r;return s;function s(h,f,d){const p=[];let m,b,y,S,x;for(h=a+(typeof h=="string"?h.toString():new TextDecoder(f||void 0).decode(h)),y=0,a="",u&&(h.charCodeAt(0)===65279&&y++,u=void 0);y<h.length;){if(dp.lastIndex=y,m=dp.exec(h),S=m&&m.index!==void 0?m.index:h.length,x=h.charCodeAt(S),!m){a=h.slice(y);break}if(x===10&&y===S&&r)p.push(-3),r=void 0;else switch(r&&(p.push(-5),r=void 0),y<S&&(p.push(h.slice(y,S)),n+=S-y),x){case 0:{p.push(65533),n++;break}case 9:{for(b=Math.ceil(n/4)*4,p.push(-2);n++<b;)p.push(-1);break}case 10:{p.push(-4),n=1;break}default:r=!0,n=1}y=S+1}return d&&(r&&p.push(-5),a&&p.push(a),p.push(null)),p}}const fx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function hx(n){return n.replace(fx,mx)}function mx(n,a,u){if(a)return a;if(u.charCodeAt(0)===35){const s=u.charCodeAt(1),h=s===120||s===88;return rg(u.slice(h?2:1),h?16:10)}return _s(u)||n}const yg={}.hasOwnProperty;function dx(n,a,u){return a&&typeof a=="object"&&(u=a,a=void 0),px(u)(cx(ox(u).document().write(sx()(n,a,!0))))}function px(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:h(Dl),autolinkProtocol:F,autolinkEmail:F,atxHeading:h(Ml),blockQuote:h(Ye),characterEscape:F,characterReference:F,codeFenced:h(fn),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:h(fn,f),codeText:h(Ai,f),codeTextData:F,data:F,codeFlowValue:F,definition:h(ja),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:h(hn),hardBreakEscape:h(_l),hardBreakTrailing:h(_l),htmlFlow:h(La,f),htmlFlowData:F,htmlText:h(La,f),htmlTextData:F,image:h(Ba),label:f,link:h(Dl),listItem:h(zi),listItemValue:S,listOrdered:h(Ol,y),listUnordered:h(Ol),paragraph:h(Sr),reference:E,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:h(Ml),strong:h(Er),thematicBreak:h(Tr)},exit:{atxHeading:p(),atxHeadingSequence:rt,autolink:p(),autolinkEmail:Bt,autolinkProtocol:Kt,blockQuote:p(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:mt,characterReferenceMarkerNumeric:mt,characterReferenceValue:ot,characterReference:zt,codeFenced:p(H),codeFencedFence:R,codeFencedFenceInfo:x,codeFencedFenceMeta:w,codeFlowValue:j,codeIndented:p(D),codeText:p(I),codeTextData:j,data:j,definition:p(),definitionDestinationString:ut,definitionLabelString:K,definitionTitleString:Q,emphasis:p(),hardBreakEscape:p(tt),hardBreakTrailing:p(tt),htmlFlow:p(bt),htmlFlowData:j,htmlText:p(it),htmlTextData:j,image:p(G),label:gt,labelText:nt,lineEnding:P,link:p(_),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:et,resourceDestinationString:T,resourceTitleString:z,resource:Y,setextHeading:p(st),setextHeadingLineSequence:W,setextHeadingText:U,strong:p(),thematicBreak:p()}};bg(a,(n||{}).mdastExtensions||[]);const u={};return r;function r(V){let $={type:"root",children:[]};const dt={stack:[$],tokenStack:[],config:a,enter:d,exit:m,buffer:f,resume:b,data:u},Et=[];let Rt=-1;for(;++Rt<V.length;)if(V[Rt][1].type==="listOrdered"||V[Rt][1].type==="listUnordered")if(V[Rt][0]==="enter")Et.push(Rt);else{const De=Et.pop();Rt=s(V,De,Rt)}for(Rt=-1;++Rt<V.length;){const De=a[V[Rt][0]];yg.call(De,V[Rt][1].type)&&De[V[Rt][1].type].call(Object.assign({sliceSerialize:V[Rt][2].sliceSerialize},dt),V[Rt][1])}if(dt.tokenStack.length>0){const De=dt.tokenStack[dt.tokenStack.length-1];(De[1]||pp).call(dt,void 0,De[0])}for($.position={start:al(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:al(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},Rt=-1;++Rt<a.transforms.length;)$=a.transforms[Rt]($)||$;return $}function s(V,$,dt){let Et=$-1,Rt=-1,De=!1,mn,be,ae,Se;for(;++Et<=dt;){const Yt=V[Et];switch(Yt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Yt[0]==="enter"?Rt++:Rt--,Se=void 0;break}case"lineEndingBlank":{Yt[0]==="enter"&&(mn&&!Se&&!Rt&&!ae&&(ae=Et),Se=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Se=void 0}if(!Rt&&Yt[0]==="enter"&&Yt[1].type==="listItemPrefix"||Rt===-1&&Yt[0]==="exit"&&(Yt[1].type==="listUnordered"||Yt[1].type==="listOrdered")){if(mn){let Rn=Et;for(be=void 0;Rn--;){const Pe=V[Rn];if(Pe[1].type==="lineEnding"||Pe[1].type==="lineEndingBlank"){if(Pe[0]==="exit")continue;be&&(V[be][1].type="lineEndingBlank",De=!0),Pe[1].type="lineEnding",be=Rn}else if(!(Pe[1].type==="linePrefix"||Pe[1].type==="blockQuotePrefix"||Pe[1].type==="blockQuotePrefixWhitespace"||Pe[1].type==="blockQuoteMarker"||Pe[1].type==="listItemIndent"))break}ae&&(!be||ae<be)&&(mn._spread=!0),mn.end=Object.assign({},be?V[be][1].start:Yt[1].end),V.splice(be||Et,0,["exit",mn,Yt[2]]),Et++,dt++}if(Yt[1].type==="listItemPrefix"){const Rn={type:"listItem",_spread:!1,start:Object.assign({},Yt[1].start),end:void 0};mn=Rn,V.splice(Et,0,["enter",Rn,Yt[2]]),Et++,dt++,ae=void 0,Se=!0}}}return V[$][1]._spread=De,dt}function h(V,$){return dt;function dt(Et){d.call(this,V(Et),Et),$&&$.call(this,Et)}}function f(){this.stack.push({type:"fragment",children:[]})}function d(V,$,dt){this.stack[this.stack.length-1].children.push(V),this.stack.push(V),this.tokenStack.push([$,dt||void 0]),V.position={start:al($.start),end:void 0}}function p(V){return $;function $(dt){V&&V.call(this,dt),m.call(this,dt)}}function m(V,$){const dt=this.stack.pop(),Et=this.tokenStack.pop();if(Et)Et[0].type!==V.type&&($?$.call(this,V,Et[0]):(Et[1]||pp).call(this,V,Et[0]));else throw new Error("Cannot close `"+V.type+"` ("+za({start:V.start,end:V.end})+"): it’s not open");dt.position.end=al(V.end)}function b(){return Ms(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function S(V){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(V),10),this.data.expectingFirstListItemValue=void 0}}function x(){const V=this.resume(),$=this.stack[this.stack.length-1];$.lang=V}function w(){const V=this.resume(),$=this.stack[this.stack.length-1];$.meta=V}function R(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function H(){const V=this.resume(),$=this.stack[this.stack.length-1];$.value=V.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function D(){const V=this.resume(),$=this.stack[this.stack.length-1];$.value=V.replace(/(\r?\n|\r)$/g,"")}function K(V){const $=this.resume(),dt=this.stack[this.stack.length-1];dt.label=$,dt.identifier=ln(this.sliceSerialize(V)).toLowerCase()}function Q(){const V=this.resume(),$=this.stack[this.stack.length-1];$.title=V}function ut(){const V=this.resume(),$=this.stack[this.stack.length-1];$.url=V}function rt(V){const $=this.stack[this.stack.length-1];if(!$.depth){const dt=this.sliceSerialize(V).length;$.depth=dt}}function U(){this.data.setextHeadingSlurpLineEnding=!0}function W(V){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(V).codePointAt(0)===61?1:2}function st(){this.data.setextHeadingSlurpLineEnding=void 0}function F(V){const dt=this.stack[this.stack.length-1].children;let Et=dt[dt.length-1];(!Et||Et.type!=="text")&&(Et=ye(),Et.position={start:al(V.start),end:void 0},dt.push(Et)),this.stack.push(Et)}function j(V){const $=this.stack.pop();$.value+=this.sliceSerialize(V),$.position.end=al(V.end)}function P(V){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const dt=$.children[$.children.length-1];dt.position.end=al(V.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes($.type)&&(F.call(this,V),j.call(this,V))}function tt(){this.data.atHardBreak=!0}function bt(){const V=this.resume(),$=this.stack[this.stack.length-1];$.value=V}function it(){const V=this.resume(),$=this.stack[this.stack.length-1];$.value=V}function I(){const V=this.resume(),$=this.stack[this.stack.length-1];$.value=V}function _(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=$,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function G(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=$,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function nt(V){const $=this.sliceSerialize(V),dt=this.stack[this.stack.length-2];dt.label=hx($),dt.identifier=ln($).toLowerCase()}function gt(){const V=this.stack[this.stack.length-1],$=this.resume(),dt=this.stack[this.stack.length-1];if(this.data.inReference=!0,dt.type==="link"){const Et=V.children;dt.children=Et}else dt.alt=$}function T(){const V=this.resume(),$=this.stack[this.stack.length-1];$.url=V}function z(){const V=this.resume(),$=this.stack[this.stack.length-1];$.title=V}function Y(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function et(V){const $=this.resume(),dt=this.stack[this.stack.length-1];dt.label=$,dt.identifier=ln(this.sliceSerialize(V)).toLowerCase(),this.data.referenceType="full"}function mt(V){this.data.characterReferenceType=V.type}function ot(V){const $=this.sliceSerialize(V),dt=this.data.characterReferenceType;let Et;dt?(Et=rg($,dt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Et=_s($);const Rt=this.stack[this.stack.length-1];Rt.value+=Et}function zt(V){const $=this.stack.pop();$.position.end=al(V.end)}function Kt(V){j.call(this,V);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(V)}function Bt(V){j.call(this,V);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(V)}function Ye(){return{type:"blockquote",children:[]}}function fn(){return{type:"code",lang:null,meta:null,value:""}}function Ai(){return{type:"inlineCode",value:""}}function ja(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function hn(){return{type:"emphasis",children:[]}}function Ml(){return{type:"heading",depth:0,children:[]}}function _l(){return{type:"break"}}function La(){return{type:"html",value:""}}function Ba(){return{type:"image",title:null,url:"",alt:null}}function Dl(){return{type:"link",title:null,url:"",children:[]}}function Ol(V){return{type:"list",ordered:V.type==="listOrdered",start:null,spread:V._spread,children:[]}}function zi(V){return{type:"listItem",spread:V._spread,checked:null,children:[]}}function Sr(){return{type:"paragraph",children:[]}}function Er(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function Tr(){return{type:"thematicBreak"}}}function al(n){return{line:n.line,column:n.column,offset:n.offset}}function bg(n,a){let u=-1;for(;++u<a.length;){const r=a[u];Array.isArray(r)?bg(n,r):gx(n,r)}}function gx(n,a){let u;for(u in a)if(yg.call(a,u))switch(u){case"canContainEols":{const r=a[u];r&&n[u].push(...r);break}case"transforms":{const r=a[u];r&&n[u].push(...r);break}case"enter":case"exit":{const r=a[u];r&&Object.assign(n[u],r);break}}}function pp(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+za({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+za({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+za({start:a.start,end:a.end})+") is still open")}function yx(n){const a=this;a.parser=u;function u(r){return dx(r,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function bx(n,a){const u={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,u),n.applyData(a,u)}function vx(n,a){const u={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,u),[n.applyData(a,u),{type:"text",value:`
|
|
53
|
+
`}]}function xx(n,a){const u=a.value?a.value+`
|
|
54
|
+
`:"",r={},s=a.lang?a.lang.split(/\s+/):[];s.length>0&&(r.className=["language-"+s[0]]);let h={type:"element",tagName:"code",properties:r,children:[{type:"text",value:u}]};return a.meta&&(h.data={meta:a.meta}),n.patch(a,h),h=n.applyData(a,h),h={type:"element",tagName:"pre",properties:{},children:[h]},n.patch(a,h),h}function Sx(n,a){const u={type:"element",tagName:"del",properties:{},children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function Ex(n,a){const u={type:"element",tagName:"em",properties:{},children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function Tx(n,a){const u=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",r=String(a.identifier).toUpperCase(),s=ki(r.toLowerCase()),h=n.footnoteOrder.indexOf(r);let f,d=n.footnoteCounts.get(r);d===void 0?(d=0,n.footnoteOrder.push(r),f=n.footnoteOrder.length):f=h+1,d+=1,n.footnoteCounts.set(r,d);const p={type:"element",tagName:"a",properties:{href:"#"+u+"fn-"+s,id:u+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(f)}]};n.patch(a,p);const m={type:"element",tagName:"sup",properties:{},children:[p]};return n.patch(a,m),n.applyData(a,m)}function kx(n,a){const u={type:"element",tagName:"h"+a.depth,properties:{},children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function Ax(n,a){if(n.options.allowDangerousHtml){const u={type:"raw",value:a.value};return n.patch(a,u),n.applyData(a,u)}}function vg(n,a){const u=a.referenceType;let r="]";if(u==="collapsed"?r+="[]":u==="full"&&(r+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+r}];const s=n.all(a),h=s[0];h&&h.type==="text"?h.value="["+h.value:s.unshift({type:"text",value:"["});const f=s[s.length-1];return f&&f.type==="text"?f.value+=r:s.push({type:"text",value:r}),s}function zx(n,a){const u=String(a.identifier).toUpperCase(),r=n.definitionById.get(u);if(!r)return vg(n,a);const s={src:ki(r.url||""),alt:a.alt};r.title!==null&&r.title!==void 0&&(s.title=r.title);const h={type:"element",tagName:"img",properties:s,children:[]};return n.patch(a,h),n.applyData(a,h)}function Cx(n,a){const u={src:ki(a.url)};a.alt!==null&&a.alt!==void 0&&(u.alt=a.alt),a.title!==null&&a.title!==void 0&&(u.title=a.title);const r={type:"element",tagName:"img",properties:u,children:[]};return n.patch(a,r),n.applyData(a,r)}function wx(n,a){const u={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};n.patch(a,u);const r={type:"element",tagName:"code",properties:{},children:[u]};return n.patch(a,r),n.applyData(a,r)}function Mx(n,a){const u=String(a.identifier).toUpperCase(),r=n.definitionById.get(u);if(!r)return vg(n,a);const s={href:ki(r.url||"")};r.title!==null&&r.title!==void 0&&(s.title=r.title);const h={type:"element",tagName:"a",properties:s,children:n.all(a)};return n.patch(a,h),n.applyData(a,h)}function _x(n,a){const u={href:ki(a.url)};a.title!==null&&a.title!==void 0&&(u.title=a.title);const r={type:"element",tagName:"a",properties:u,children:n.all(a)};return n.patch(a,r),n.applyData(a,r)}function Dx(n,a,u){const r=n.all(a),s=u?Ox(u):xg(a),h={},f=[];if(typeof a.checked=="boolean"){const b=r[0];let y;b&&b.type==="element"&&b.tagName==="p"?y=b:(y={type:"element",tagName:"p",properties:{},children:[]},r.unshift(y)),y.children.length>0&&y.children.unshift({type:"text",value:" "}),y.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),h.className=["task-list-item"]}let d=-1;for(;++d<r.length;){const b=r[d];(s||d!==0||b.type!=="element"||b.tagName!=="p")&&f.push({type:"text",value:`
|
|
55
|
+
`}),b.type==="element"&&b.tagName==="p"&&!s?f.push(...b.children):f.push(b)}const p=r[r.length-1];p&&(s||p.type!=="element"||p.tagName!=="p")&&f.push({type:"text",value:`
|
|
56
|
+
`});const m={type:"element",tagName:"li",properties:h,children:f};return n.patch(a,m),n.applyData(a,m)}function Ox(n){let a=!1;if(n.type==="list"){a=n.spread||!1;const u=n.children;let r=-1;for(;!a&&++r<u.length;)a=xg(u[r])}return a}function xg(n){const a=n.spread;return a??n.children.length>1}function Nx(n,a){const u={},r=n.all(a);let s=-1;for(typeof a.start=="number"&&a.start!==1&&(u.start=a.start);++s<r.length;){const f=r[s];if(f.type==="element"&&f.tagName==="li"&&f.properties&&Array.isArray(f.properties.className)&&f.properties.className.includes("task-list-item")){u.className=["contains-task-list"];break}}const h={type:"element",tagName:a.ordered?"ol":"ul",properties:u,children:n.wrap(r,!0)};return n.patch(a,h),n.applyData(a,h)}function Rx(n,a){const u={type:"element",tagName:"p",properties:{},children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function jx(n,a){const u={type:"root",children:n.wrap(n.all(a))};return n.patch(a,u),n.applyData(a,u)}function Lx(n,a){const u={type:"element",tagName:"strong",properties:{},children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function Bx(n,a){const u=n.all(a),r=u.shift(),s=[];if(r){const f={type:"element",tagName:"thead",properties:{},children:n.wrap([r],!0)};n.patch(a.children[0],f),s.push(f)}if(u.length>0){const f={type:"element",tagName:"tbody",properties:{},children:n.wrap(u,!0)},d=As(a.children[1]),p=Pp(a.children[a.children.length-1]);d&&p&&(f.position={start:d,end:p}),s.push(f)}const h={type:"element",tagName:"table",properties:{},children:n.wrap(s,!0)};return n.patch(a,h),n.applyData(a,h)}function Ux(n,a,u){const r=u?u.children:void 0,h=(r?r.indexOf(a):1)===0?"th":"td",f=u&&u.type==="table"?u.align:void 0,d=f?f.length:a.children.length;let p=-1;const m=[];for(;++p<d;){const y=a.children[p],S={},x=f?f[p]:void 0;x&&(S.align=x);let w={type:"element",tagName:h,properties:S,children:[]};y&&(w.children=n.all(y),n.patch(y,w),w=n.applyData(y,w)),m.push(w)}const b={type:"element",tagName:"tr",properties:{},children:n.wrap(m,!0)};return n.patch(a,b),n.applyData(a,b)}function Hx(n,a){const u={type:"element",tagName:"td",properties:{},children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}const gp=9,yp=32;function qx(n){const a=String(n),u=/\r?\n|\r/g;let r=u.exec(a),s=0;const h=[];for(;r;)h.push(bp(a.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=u.exec(a);return h.push(bp(a.slice(s),s>0,!1)),h.join("")}function bp(n,a,u){let r=0,s=n.length;if(a){let h=n.codePointAt(r);for(;h===gp||h===yp;)r++,h=n.codePointAt(r)}if(u){let h=n.codePointAt(s-1);for(;h===gp||h===yp;)s--,h=n.codePointAt(s-1)}return s>r?n.slice(r,s):""}function Yx(n,a){const u={type:"text",value:qx(String(a.value))};return n.patch(a,u),n.applyData(a,u)}function Vx(n,a){const u={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(a,u),n.applyData(a,u)}const Xx={blockquote:bx,break:vx,code:xx,delete:Sx,emphasis:Ex,footnoteReference:Tx,heading:kx,html:Ax,imageReference:zx,image:Cx,inlineCode:wx,linkReference:Mx,link:_x,listItem:Dx,list:Nx,paragraph:Rx,root:jx,strong:Lx,table:Bx,tableCell:Hx,tableRow:Ux,text:Yx,thematicBreak:Vx,toml:er,yaml:er,definition:er,footnoteDefinition:er};function er(){}const Sg=-1,br=0,wa=1,fr=2,Os=3,Ns=4,Rs=5,js=6,Eg=7,Tg=8,vp=typeof self=="object"?self:globalThis,Gx=(n,a)=>{const u=(s,h)=>(n.set(h,s),s),r=s=>{if(n.has(s))return n.get(s);const[h,f]=a[s];switch(h){case br:case Sg:return u(f,s);case wa:{const d=u([],s);for(const p of f)d.push(r(p));return d}case fr:{const d=u({},s);for(const[p,m]of f)d[r(p)]=r(m);return d}case Os:return u(new Date(f),s);case Ns:{const{source:d,flags:p}=f;return u(new RegExp(d,p),s)}case Rs:{const d=u(new Map,s);for(const[p,m]of f)d.set(r(p),r(m));return d}case js:{const d=u(new Set,s);for(const p of f)d.add(r(p));return d}case Eg:{const{name:d,message:p}=f;return u(new vp[d](p),s)}case Tg:return u(BigInt(f),s);case"BigInt":return u(Object(BigInt(f)),s);case"ArrayBuffer":return u(new Uint8Array(f).buffer,f);case"DataView":{const{buffer:d}=new Uint8Array(f);return u(new DataView(d),f)}}return u(new vp[h](f),s)};return r},xp=n=>Gx(new Map,n)(0),bi="",{toString:Qx}={},{keys:Zx}=Object,Ta=n=>{const a=typeof n;if(a!=="object"||!n)return[br,a];const u=Qx.call(n).slice(8,-1);switch(u){case"Array":return[wa,bi];case"Object":return[fr,bi];case"Date":return[Os,bi];case"RegExp":return[Ns,bi];case"Map":return[Rs,bi];case"Set":return[js,bi];case"DataView":return[wa,u]}return u.includes("Array")?[wa,u]:u.includes("Error")?[Eg,u]:[fr,u]},nr=([n,a])=>n===br&&(a==="function"||a==="symbol"),Kx=(n,a,u,r)=>{const s=(f,d)=>{const p=r.push(f)-1;return u.set(d,p),p},h=f=>{if(u.has(f))return u.get(f);let[d,p]=Ta(f);switch(d){case br:{let b=f;switch(p){case"bigint":d=Tg,b=f.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+p);b=null;break;case"undefined":return s([Sg],f)}return s([d,b],f)}case wa:{if(p){let S=f;return p==="DataView"?S=new Uint8Array(f.buffer):p==="ArrayBuffer"&&(S=new Uint8Array(f)),s([p,[...S]],f)}const b=[],y=s([d,b],f);for(const S of f)b.push(h(S));return y}case fr:{if(p)switch(p){case"BigInt":return s([p,f.toString()],f);case"Boolean":case"Number":case"String":return s([p,f.valueOf()],f)}if(a&&"toJSON"in f)return h(f.toJSON());const b=[],y=s([d,b],f);for(const S of Zx(f))(n||!nr(Ta(f[S])))&&b.push([h(S),h(f[S])]);return y}case Os:return s([d,f.toISOString()],f);case Ns:{const{source:b,flags:y}=f;return s([d,{source:b,flags:y}],f)}case Rs:{const b=[],y=s([d,b],f);for(const[S,x]of f)(n||!(nr(Ta(S))||nr(Ta(x))))&&b.push([h(S),h(x)]);return y}case js:{const b=[],y=s([d,b],f);for(const S of f)(n||!nr(Ta(S)))&&b.push(h(S));return y}}const{message:m}=f;return s([d,{name:p,message:m}],f)};return h},Sp=(n,{json:a,lossy:u}={})=>{const r=[];return Kx(!(a||u),!!a,new Map,r)(n),r},hr=typeof structuredClone=="function"?(n,a)=>a&&("json"in a||"lossy"in a)?xp(Sp(n,a)):structuredClone(n):(n,a)=>xp(Sp(n,a));function Jx(n,a){const u=[{type:"text",value:"↩"}];return a>1&&u.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),u}function Fx(n,a){return"Back to reference "+(n+1)+(a>1?"-"+a:"")}function Ix(n){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",u=n.options.footnoteBackContent||Jx,r=n.options.footnoteBackLabel||Fx,s=n.options.footnoteLabel||"Footnotes",h=n.options.footnoteLabelTagName||"h2",f=n.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let p=-1;for(;++p<n.footnoteOrder.length;){const m=n.footnoteById.get(n.footnoteOrder[p]);if(!m)continue;const b=n.all(m),y=String(m.identifier).toUpperCase(),S=ki(y.toLowerCase());let x=0;const w=[],R=n.footnoteCounts.get(y);for(;R!==void 0&&++x<=R;){w.length>0&&w.push({type:"text",value:" "});let K=typeof u=="string"?u:u(p,x);typeof K=="string"&&(K={type:"text",value:K}),w.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+S+(x>1?"-"+x:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(p,x),className:["data-footnote-backref"]},children:Array.isArray(K)?K:[K]})}const H=b[b.length-1];if(H&&H.type==="element"&&H.tagName==="p"){const K=H.children[H.children.length-1];K&&K.type==="text"?K.value+=" ":H.children.push({type:"text",value:" "}),H.children.push(...w)}else b.push(...w);const D={type:"element",tagName:"li",properties:{id:a+"fn-"+S},children:n.wrap(b,!0)};n.patch(m,D),d.push(D)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:h,properties:{...hr(f),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
|
|
57
|
+
`},{type:"element",tagName:"ol",properties:{},children:n.wrap(d,!0)},{type:"text",value:`
|
|
58
|
+
`}]}}const vr=(function(n){if(n==null)return tS;if(typeof n=="function")return xr(n);if(typeof n=="object")return Array.isArray(n)?$x(n):Wx(n);if(typeof n=="string")return Px(n);throw new Error("Expected function, string, or object as test")});function $x(n){const a=[];let u=-1;for(;++u<n.length;)a[u]=vr(n[u]);return xr(r);function r(...s){let h=-1;for(;++h<a.length;)if(a[h].apply(this,s))return!0;return!1}}function Wx(n){const a=n;return xr(u);function u(r){const s=r;let h;for(h in n)if(s[h]!==a[h])return!1;return!0}}function Px(n){return xr(a);function a(u){return u&&u.type===n}}function xr(n){return a;function a(u,r,s){return!!(eS(u)&&n.call(this,u,typeof r=="number"?r:void 0,s||void 0))}}function tS(){return!0}function eS(n){return n!==null&&typeof n=="object"&&"type"in n}const kg=[],nS=!0,gs=!1,lS="skip";function Ag(n,a,u,r){let s;typeof a=="function"&&typeof u!="function"?(r=u,u=a):s=a;const h=vr(s),f=r?-1:1;d(n,void 0,[])();function d(p,m,b){const y=p&&typeof p=="object"?p:{};if(typeof y.type=="string"){const x=typeof y.tagName=="string"?y.tagName:typeof y.name=="string"?y.name:void 0;Object.defineProperty(S,"name",{value:"node ("+(p.type+(x?"<"+x+">":""))+")"})}return S;function S(){let x=kg,w,R,H;if((!a||h(p,m,b[b.length-1]||void 0))&&(x=iS(u(p,b)),x[0]===gs))return x;if("children"in p&&p.children){const D=p;if(D.children&&x[0]!==lS)for(R=(r?D.children.length:-1)+f,H=b.concat(D);R>-1&&R<D.children.length;){const K=D.children[R];if(w=d(K,R,H)(),w[0]===gs)return w;R=typeof w[1]=="number"?w[1]:R+f}}return x}}}function iS(n){return Array.isArray(n)?n:typeof n=="number"?[nS,n]:n==null?kg:[n]}function Ls(n,a,u,r){let s,h,f;typeof a=="function"&&typeof u!="function"?(h=void 0,f=a,s=u):(h=a,f=u,s=r),Ag(n,h,d,s);function d(p,m){const b=m[m.length-1],y=b?b.children.indexOf(p):void 0;return f(p,y,b)}}const ys={}.hasOwnProperty,aS={};function uS(n,a){const u=a||aS,r=new Map,s=new Map,h=new Map,f={...Xx,...u.handlers},d={all:m,applyData:oS,definitionById:r,footnoteById:s,footnoteCounts:h,footnoteOrder:[],handlers:f,one:p,options:u,patch:rS,wrap:sS};return Ls(n,function(b){if(b.type==="definition"||b.type==="footnoteDefinition"){const y=b.type==="definition"?r:s,S=String(b.identifier).toUpperCase();y.has(S)||y.set(S,b)}}),d;function p(b,y){const S=b.type,x=d.handlers[S];if(ys.call(d.handlers,S)&&x)return x(d,b,y);if(d.options.passThrough&&d.options.passThrough.includes(S)){if("children"in b){const{children:R,...H}=b,D=hr(H);return D.children=d.all(b),D}return hr(b)}return(d.options.unknownHandler||cS)(d,b,y)}function m(b){const y=[];if("children"in b){const S=b.children;let x=-1;for(;++x<S.length;){const w=d.one(S[x],b);if(w){if(x&&S[x-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=Ep(w.value)),!Array.isArray(w)&&w.type==="element")){const R=w.children[0];R&&R.type==="text"&&(R.value=Ep(R.value))}Array.isArray(w)?y.push(...w):y.push(w)}}}return y}}function rS(n,a){n.position&&(a.position=F0(n))}function oS(n,a){let u=a;if(n&&n.data){const r=n.data.hName,s=n.data.hChildren,h=n.data.hProperties;if(typeof r=="string")if(u.type==="element")u.tagName=r;else{const f="children"in u?u.children:[u];u={type:"element",tagName:r,properties:{},children:f}}u.type==="element"&&h&&Object.assign(u.properties,hr(h)),"children"in u&&u.children&&s!==null&&s!==void 0&&(u.children=s)}return u}function cS(n,a){const u=a.data||{},r="value"in a&&!(ys.call(u,"hProperties")||ys.call(u,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:n.all(a)};return n.patch(a,r),n.applyData(a,r)}function sS(n,a){const u=[];let r=-1;for(a&&u.push({type:"text",value:`
|
|
59
|
+
`});++r<n.length;)r&&u.push({type:"text",value:`
|
|
60
|
+
`}),u.push(n[r]);return a&&n.length>0&&u.push({type:"text",value:`
|
|
61
|
+
`}),u}function Ep(n){let a=0,u=n.charCodeAt(a);for(;u===9||u===32;)a++,u=n.charCodeAt(a);return n.slice(a)}function Tp(n,a){const u=uS(n,a),r=u.one(n,void 0),s=Ix(u),h=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&h.children.push({type:"text",value:`
|
|
62
|
+
`},s),h}function fS(n,a){return n&&"run"in n?async function(u,r){const s=Tp(u,{file:r,...a});await n.run(s,r)}:function(u,r){return Tp(u,{file:r,...n||a})}}function kp(n){if(n)throw n}var Jc,Ap;function hS(){if(Ap)return Jc;Ap=1;var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,u=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=function(m){return typeof Array.isArray=="function"?Array.isArray(m):a.call(m)==="[object Array]"},h=function(m){if(!m||a.call(m)!=="[object Object]")return!1;var b=n.call(m,"constructor"),y=m.constructor&&m.constructor.prototype&&n.call(m.constructor.prototype,"isPrototypeOf");if(m.constructor&&!b&&!y)return!1;var S;for(S in m);return typeof S>"u"||n.call(m,S)},f=function(m,b){u&&b.name==="__proto__"?u(m,b.name,{enumerable:!0,configurable:!0,value:b.newValue,writable:!0}):m[b.name]=b.newValue},d=function(m,b){if(b==="__proto__")if(n.call(m,b)){if(r)return r(m,b).value}else return;return m[b]};return Jc=function p(){var m,b,y,S,x,w,R=arguments[0],H=1,D=arguments.length,K=!1;for(typeof R=="boolean"&&(K=R,R=arguments[1]||{},H=2),(R==null||typeof R!="object"&&typeof R!="function")&&(R={});H<D;++H)if(m=arguments[H],m!=null)for(b in m)y=d(R,b),S=d(m,b),R!==S&&(K&&S&&(h(S)||(x=s(S)))?(x?(x=!1,w=y&&s(y)?y:[]):w=y&&h(y)?y:{},f(R,{name:b,newValue:p(K,w,S)})):typeof S<"u"&&f(R,{name:b,newValue:S}));return R},Jc}var mS=hS();const Fc=pr(mS);function bs(n){if(typeof n!="object"||n===null)return!1;const a=Object.getPrototypeOf(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function dS(){const n=[],a={run:u,use:r};return a;function u(...s){let h=-1;const f=s.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);d(null,...s);function d(p,...m){const b=n[++h];let y=-1;if(p){f(p);return}for(;++y<s.length;)(m[y]===null||m[y]===void 0)&&(m[y]=s[y]);s=m,b?pS(b,d)(...m):f(null,...m)}}function r(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return n.push(s),a}}function pS(n,a){let u;return r;function r(...f){const d=n.length>f.length;let p;d&&f.push(s);try{p=n.apply(this,f)}catch(m){const b=m;if(d&&u)throw b;return s(b)}d||(p&&p.then&&typeof p.then=="function"?p.then(h,s):p instanceof Error?s(p):h(p))}function s(f,...d){u||(u=!0,a(f,...d))}function h(f){s(null,f)}}const cn={basename:gS,dirname:yS,extname:bS,join:vS,sep:"/"};function gS(n,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');Ra(n);let u=0,r=-1,s=n.length,h;if(a===void 0||a.length===0||a.length>n.length){for(;s--;)if(n.codePointAt(s)===47){if(h){u=s+1;break}}else r<0&&(h=!0,r=s+1);return r<0?"":n.slice(u,r)}if(a===n)return"";let f=-1,d=a.length-1;for(;s--;)if(n.codePointAt(s)===47){if(h){u=s+1;break}}else f<0&&(h=!0,f=s+1),d>-1&&(n.codePointAt(s)===a.codePointAt(d--)?d<0&&(r=s):(d=-1,r=f));return u===r?r=f:r<0&&(r=n.length),n.slice(u,r)}function yS(n){if(Ra(n),n.length===0)return".";let a=-1,u=n.length,r;for(;--u;)if(n.codePointAt(u)===47){if(r){a=u;break}}else r||(r=!0);return a<0?n.codePointAt(0)===47?"/":".":a===1&&n.codePointAt(0)===47?"//":n.slice(0,a)}function bS(n){Ra(n);let a=n.length,u=-1,r=0,s=-1,h=0,f;for(;a--;){const d=n.codePointAt(a);if(d===47){if(f){r=a+1;break}continue}u<0&&(f=!0,u=a+1),d===46?s<0?s=a:h!==1&&(h=1):s>-1&&(h=-1)}return s<0||u<0||h===0||h===1&&s===u-1&&s===r+1?"":n.slice(s,u)}function vS(...n){let a=-1,u;for(;++a<n.length;)Ra(n[a]),n[a]&&(u=u===void 0?n[a]:u+"/"+n[a]);return u===void 0?".":xS(u)}function xS(n){Ra(n);const a=n.codePointAt(0)===47;let u=SS(n,!a);return u.length===0&&!a&&(u="."),u.length>0&&n.codePointAt(n.length-1)===47&&(u+="/"),a?"/"+u:u}function SS(n,a){let u="",r=0,s=-1,h=0,f=-1,d,p;for(;++f<=n.length;){if(f<n.length)d=n.codePointAt(f);else{if(d===47)break;d=47}if(d===47){if(!(s===f-1||h===1))if(s!==f-1&&h===2){if(u.length<2||r!==2||u.codePointAt(u.length-1)!==46||u.codePointAt(u.length-2)!==46){if(u.length>2){if(p=u.lastIndexOf("/"),p!==u.length-1){p<0?(u="",r=0):(u=u.slice(0,p),r=u.length-1-u.lastIndexOf("/")),s=f,h=0;continue}}else if(u.length>0){u="",r=0,s=f,h=0;continue}}a&&(u=u.length>0?u+"/..":"..",r=2)}else u.length>0?u+="/"+n.slice(s+1,f):u=n.slice(s+1,f),r=f-s-1;s=f,h=0}else d===46&&h>-1?h++:h=-1}return u}function Ra(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const ES={cwd:TS};function TS(){return"/"}function vs(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function kS(n){if(typeof n=="string")n=new URL(n);else if(!vs(n)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(n.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return AS(n)}function AS(n){if(n.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const a=n.pathname;let u=-1;for(;++u<a.length;)if(a.codePointAt(u)===37&&a.codePointAt(u+1)===50){const r=a.codePointAt(u+2);if(r===70||r===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(a)}const Ic=["history","path","basename","stem","extname","dirname"];class zg{constructor(a){let u;a?vs(a)?u={path:a}:typeof a=="string"||zS(a)?u={value:a}:u=a:u={},this.cwd="cwd"in u?"":ES.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Ic.length;){const h=Ic[r];h in u&&u[h]!==void 0&&u[h]!==null&&(this[h]=h==="history"?[...u[h]]:u[h])}let s;for(s in u)Ic.includes(s)||(this[s]=u[s])}get basename(){return typeof this.path=="string"?cn.basename(this.path):void 0}set basename(a){Wc(a,"basename"),$c(a,"basename"),this.path=cn.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?cn.dirname(this.path):void 0}set dirname(a){zp(this.basename,"dirname"),this.path=cn.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?cn.extname(this.path):void 0}set extname(a){if($c(a,"extname"),zp(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=cn.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){vs(a)&&(a=kS(a)),Wc(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?cn.basename(this.path,this.extname):void 0}set stem(a){Wc(a,"stem"),$c(a,"stem"),this.path=cn.join(this.dirname||"",a+(this.extname||""))}fail(a,u,r){const s=this.message(a,u,r);throw s.fatal=!0,s}info(a,u,r){const s=this.message(a,u,r);return s.fatal=void 0,s}message(a,u,r){const s=new ge(a,u,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function $c(n,a){if(n&&n.includes(cn.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+cn.sep+"`")}function Wc(n,a){if(!n)throw new Error("`"+a+"` cannot be empty")}function zp(n,a){if(!n)throw new Error("Setting `"+a+"` requires `path` to be set too")}function zS(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const CS=(function(n){const r=this.constructor.prototype,s=r[n],h=function(){return s.apply(h,arguments)};return Object.setPrototypeOf(h,r),h}),wS={}.hasOwnProperty;class Bs extends CS{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=dS()}copy(){const a=new Bs;let u=-1;for(;++u<this.attachers.length;){const r=this.attachers[u];a.use(...r)}return a.data(Fc(!0,{},this.namespace)),a}data(a,u){return typeof a=="string"?arguments.length===2?(es("data",this.frozen),this.namespace[a]=u,this):wS.call(this.namespace,a)&&this.namespace[a]||void 0:a?(es("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[u,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const s=u.call(a,...r);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const u=lr(a),r=this.parser||this.Parser;return Pc("parse",r),r(String(u),u)}process(a,u){const r=this;return this.freeze(),Pc("process",this.parser||this.Parser),ts("process",this.compiler||this.Compiler),u?s(void 0,u):new Promise(s);function s(h,f){const d=lr(a),p=r.parse(d);r.run(p,d,function(b,y,S){if(b||!y||!S)return m(b);const x=y,w=r.stringify(x,S);DS(w)?S.value=w:S.result=w,m(b,S)});function m(b,y){b||!y?f(b):h?h(y):u(void 0,y)}}}processSync(a){let u=!1,r;return this.freeze(),Pc("processSync",this.parser||this.Parser),ts("processSync",this.compiler||this.Compiler),this.process(a,s),wp("processSync","process",u),r;function s(h,f){u=!0,kp(h),r=f}}run(a,u,r){Cp(a),this.freeze();const s=this.transformers;return!r&&typeof u=="function"&&(r=u,u=void 0),r?h(void 0,r):new Promise(h);function h(f,d){const p=lr(u);s.run(a,p,m);function m(b,y,S){const x=y||a;b?d(b):f?f(x):r(void 0,x,S)}}}runSync(a,u){let r=!1,s;return this.run(a,u,h),wp("runSync","run",r),s;function h(f,d){kp(f),s=d,r=!0}}stringify(a,u){this.freeze();const r=lr(u),s=this.compiler||this.Compiler;return ts("stringify",s),Cp(a),s(a,r)}use(a,...u){const r=this.attachers,s=this.namespace;if(es("use",this.frozen),a!=null)if(typeof a=="function")p(a,u);else if(typeof a=="object")Array.isArray(a)?d(a):f(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function h(m){if(typeof m=="function")p(m,[]);else if(typeof m=="object")if(Array.isArray(m)){const[b,...y]=m;p(b,y)}else f(m);else throw new TypeError("Expected usable value, not `"+m+"`")}function f(m){if(!("plugins"in m)&&!("settings"in m))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(m.plugins),m.settings&&(s.settings=Fc(!0,s.settings,m.settings))}function d(m){let b=-1;if(m!=null)if(Array.isArray(m))for(;++b<m.length;){const y=m[b];h(y)}else throw new TypeError("Expected a list of plugins, not `"+m+"`")}function p(m,b){let y=-1,S=-1;for(;++y<r.length;)if(r[y][0]===m){S=y;break}if(S===-1)r.push([m,...b]);else if(b.length>0){let[x,...w]=b;const R=r[S][1];bs(R)&&bs(x)&&(x=Fc(!0,R,x)),r[S]=[m,x,...w]}}}}const MS=new Bs().freeze();function Pc(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function ts(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function es(n,a){if(a)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Cp(n){if(!bs(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function wp(n,a,u){if(!u)throw new Error("`"+n+"` finished async. Use `"+a+"` instead")}function lr(n){return _S(n)?n:new zg(n)}function _S(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function DS(n){return typeof n=="string"||OS(n)}function OS(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const NS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Mp=[],_p={allowDangerousHtml:!0},RS=/^(https?|ircs?|mailto|xmpp)$/i,jS=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function LS(n){const a=BS(n),u=US(n);return HS(a.runSync(a.parse(u),u),n)}function BS(n){const a=n.rehypePlugins||Mp,u=n.remarkPlugins||Mp,r=n.remarkRehypeOptions?{...n.remarkRehypeOptions,..._p}:_p;return MS().use(yx).use(u).use(fS,r).use(a)}function US(n){const a=n.children||"",u=new zg;return typeof a=="string"&&(u.value=a),u}function HS(n,a){const u=a.allowedElements,r=a.allowElement,s=a.components,h=a.disallowedElements,f=a.skipHtml,d=a.unwrapDisallowed,p=a.urlTransform||qS;for(const b of jS)Object.hasOwn(a,b.from)&&(""+b.from+(b.to?"use `"+b.to+"` instead":"remove it")+NS+b.id,void 0);return Ls(n,m),tb(n,{Fragment:k.Fragment,components:s,ignoreInvalidStyle:!0,jsx:k.jsx,jsxs:k.jsxs,passKeys:!0,passNode:!0});function m(b,y,S){if(b.type==="raw"&&S&&typeof y=="number")return f?S.children.splice(y,1):S.children[y]={type:"text",value:b.value},y;if(b.type==="element"){let x;for(x in Qc)if(Object.hasOwn(Qc,x)&&Object.hasOwn(b.properties,x)){const w=b.properties[x],R=Qc[x];(R===null||R.includes(b.tagName))&&(b.properties[x]=p(String(w||""),x,b))}}if(b.type==="element"){let x=u?!u.includes(b.tagName):h?h.includes(b.tagName):!1;if(!x&&r&&typeof y=="number"&&(x=!r(b,y,S)),x&&S&&typeof y=="number")return d&&b.children?S.children.splice(y,1,...b.children):S.children.splice(y,1),y}}}function qS(n){const a=n.indexOf(":"),u=n.indexOf("?"),r=n.indexOf("#"),s=n.indexOf("/");return a===-1||s!==-1&&a>s||u!==-1&&a>u||r!==-1&&a>r||RS.test(n.slice(0,a))?n:""}function YS(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Cg(n,a,u){const s=vr((u||{}).ignore||[]),h=VS(a);let f=-1;for(;++f<h.length;)Ag(n,"text",d);function d(m,b){let y=-1,S;for(;++y<b.length;){const x=b[y],w=S?S.children:void 0;if(s(x,w?w.indexOf(x):void 0,S))return;S=x}if(S)return p(m,b)}function p(m,b){const y=b[b.length-1],S=h[f][0],x=h[f][1];let w=0;const H=y.children.indexOf(m);let D=!1,K=[];S.lastIndex=0;let Q=S.exec(m.value);for(;Q;){const ut=Q.index,rt={index:Q.index,input:Q.input,stack:[...b,m]};let U=x(...Q,rt);if(typeof U=="string"&&(U=U.length>0?{type:"text",value:U}:void 0),U===!1?S.lastIndex=ut+1:(w!==ut&&K.push({type:"text",value:m.value.slice(w,ut)}),Array.isArray(U)?K.push(...U):U&&K.push(U),w=ut+Q[0].length,D=!0),!S.global)break;Q=S.exec(m.value)}return D?(w<m.value.length&&K.push({type:"text",value:m.value.slice(w)}),y.children.splice(H,1,...K)):K=[m],H+K.length}}function VS(n){const a=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const u=!n[0]||Array.isArray(n[0])?n:[n];let r=-1;for(;++r<u.length;){const s=u[r];a.push([XS(s[0]),GS(s[1])])}return a}function XS(n){return typeof n=="string"?new RegExp(YS(n),"g"):n}function GS(n){return typeof n=="function"?n:function(){return n}}function QS(n){Cg(n,[/\r?\n|\r/g,ZS])}function ZS(){return{type:"break"}}function KS(){return function(n){QS(n)}}function Dp(n,a){const u=String(n);if(typeof a!="string")throw new TypeError("Expected character");let r=0,s=u.indexOf(a);for(;s!==-1;)r++,s=u.indexOf(a,s+a.length);return r}const ns="phrasing",ls=["autolink","link","image","label"];function JS(){return{transforms:[e2],enter:{literalAutolink:IS,literalAutolinkEmail:is,literalAutolinkHttp:is,literalAutolinkWww:is},exit:{literalAutolink:t2,literalAutolinkEmail:PS,literalAutolinkHttp:$S,literalAutolinkWww:WS}}}function FS(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ns,notInConstruct:ls},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ns,notInConstruct:ls},{character:":",before:"[ps]",after:"\\/",inConstruct:ns,notInConstruct:ls}]}}function IS(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function is(n){this.config.enter.autolinkProtocol.call(this,n)}function $S(n){this.config.exit.autolinkProtocol.call(this,n)}function WS(n){this.config.exit.data.call(this,n);const a=this.stack[this.stack.length-1];a.type,a.url="http://"+this.sliceSerialize(n)}function PS(n){this.config.exit.autolinkEmail.call(this,n)}function t2(n){this.exit(n)}function e2(n){Cg(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,n2],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),l2]],{ignore:["link","linkReference"]})}function n2(n,a,u,r,s){let h="";if(!wg(s)||(/^w/i.test(a)&&(u=a+u,a="",h="http://"),!i2(u)))return!1;const f=a2(u+r);if(!f[0])return!1;const d={type:"link",title:null,url:h+a+f[0],children:[{type:"text",value:a+f[0]}]};return f[1]?[d,{type:"text",value:f[1]}]:d}function l2(n,a,u,r){return!wg(r,!0)||/[-\d_]$/.test(u)?!1:{type:"link",title:null,url:"mailto:"+a+"@"+u,children:[{type:"text",value:a+"@"+u}]}}function i2(n){const a=n.split(".");return!(a.length<2||a[a.length-1]&&(/_/.test(a[a.length-1])||!/[a-zA-Z\d]/.test(a[a.length-1]))||a[a.length-2]&&(/_/.test(a[a.length-2])||!/[a-zA-Z\d]/.test(a[a.length-2])))}function a2(n){const a=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!a)return[n,void 0];n=n.slice(0,a.index);let u=a[0],r=u.indexOf(")");const s=Dp(n,"(");let h=Dp(n,")");for(;r!==-1&&s>h;)n+=u.slice(0,r+1),u=u.slice(r+1),r=u.indexOf(")"),h++;return[n,u]}function wg(n,a){const u=n.input.charCodeAt(n.index-1);return(n.index===0||Cl(u)||gr(u))&&(!a||u!==47)}Mg.peek=d2;function u2(){this.buffer()}function r2(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function o2(){this.buffer()}function c2(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function s2(n){const a=this.resume(),u=this.stack[this.stack.length-1];u.type,u.identifier=ln(this.sliceSerialize(n)).toLowerCase(),u.label=a}function f2(n){this.exit(n)}function h2(n){const a=this.resume(),u=this.stack[this.stack.length-1];u.type,u.identifier=ln(this.sliceSerialize(n)).toLowerCase(),u.label=a}function m2(n){this.exit(n)}function d2(){return"["}function Mg(n,a,u,r){const s=u.createTracker(r);let h=s.move("[^");const f=u.enter("footnoteReference"),d=u.enter("reference");return h+=s.move(u.safe(u.associationId(n),{after:"]",before:h})),d(),f(),h+=s.move("]"),h}function p2(){return{enter:{gfmFootnoteCallString:u2,gfmFootnoteCall:r2,gfmFootnoteDefinitionLabelString:o2,gfmFootnoteDefinition:c2},exit:{gfmFootnoteCallString:s2,gfmFootnoteCall:f2,gfmFootnoteDefinitionLabelString:h2,gfmFootnoteDefinition:m2}}}function g2(n){let a=!1;return n&&n.firstLineBlank&&(a=!0),{handlers:{footnoteDefinition:u,footnoteReference:Mg},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function u(r,s,h,f){const d=h.createTracker(f);let p=d.move("[^");const m=h.enter("footnoteDefinition"),b=h.enter("label");return p+=d.move(h.safe(h.associationId(r),{before:p,after:"]"})),b(),p+=d.move("]:"),r.children&&r.children.length>0&&(d.shift(4),p+=d.move((a?`
|
|
63
|
+
`:" ")+h.indentLines(h.containerFlow(r,d.current()),a?_g:y2))),m(),p}}function y2(n,a,u){return a===0?n:_g(n,a,u)}function _g(n,a,u){return(u?"":" ")+n}const b2=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Dg.peek=T2;function v2(){return{canContainEols:["delete"],enter:{strikethrough:S2},exit:{strikethrough:E2}}}function x2(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:b2}],handlers:{delete:Dg}}}function S2(n){this.enter({type:"delete",children:[]},n)}function E2(n){this.exit(n)}function Dg(n,a,u,r){const s=u.createTracker(r),h=u.enter("strikethrough");let f=s.move("~~");return f+=u.containerPhrasing(n,{...s.current(),before:f,after:"~"}),f+=s.move("~~"),h(),f}function T2(){return"~"}function k2(n){return n.length}function A2(n,a){const u=a||{},r=(u.align||[]).concat(),s=u.stringLength||k2,h=[],f=[],d=[],p=[];let m=0,b=-1;for(;++b<n.length;){const R=[],H=[];let D=-1;for(n[b].length>m&&(m=n[b].length);++D<n[b].length;){const K=z2(n[b][D]);if(u.alignDelimiters!==!1){const Q=s(K);H[D]=Q,(p[D]===void 0||Q>p[D])&&(p[D]=Q)}R.push(K)}f[b]=R,d[b]=H}let y=-1;if(typeof r=="object"&&"length"in r)for(;++y<m;)h[y]=Op(r[y]);else{const R=Op(r);for(;++y<m;)h[y]=R}y=-1;const S=[],x=[];for(;++y<m;){const R=h[y];let H="",D="";R===99?(H=":",D=":"):R===108?H=":":R===114&&(D=":");let K=u.alignDelimiters===!1?1:Math.max(1,p[y]-H.length-D.length);const Q=H+"-".repeat(K)+D;u.alignDelimiters!==!1&&(K=H.length+K+D.length,K>p[y]&&(p[y]=K),x[y]=K),S[y]=Q}f.splice(1,0,S),d.splice(1,0,x),b=-1;const w=[];for(;++b<f.length;){const R=f[b],H=d[b];y=-1;const D=[];for(;++y<m;){const K=R[y]||"";let Q="",ut="";if(u.alignDelimiters!==!1){const rt=p[y]-(H[y]||0),U=h[y];U===114?Q=" ".repeat(rt):U===99?rt%2?(Q=" ".repeat(rt/2+.5),ut=" ".repeat(rt/2-.5)):(Q=" ".repeat(rt/2),ut=Q):ut=" ".repeat(rt)}u.delimiterStart!==!1&&!y&&D.push("|"),u.padding!==!1&&!(u.alignDelimiters===!1&&K==="")&&(u.delimiterStart!==!1||y)&&D.push(" "),u.alignDelimiters!==!1&&D.push(Q),D.push(K),u.alignDelimiters!==!1&&D.push(ut),u.padding!==!1&&D.push(" "),(u.delimiterEnd!==!1||y!==m-1)&&D.push("|")}w.push(u.delimiterEnd===!1?D.join("").replace(/ +$/,""):D.join(""))}return w.join(`
|
|
64
|
+
`)}function z2(n){return n==null?"":String(n)}function Op(n){const a=typeof n=="string"?n.codePointAt(0):0;return a===67||a===99?99:a===76||a===108?108:a===82||a===114?114:0}function C2(n,a,u,r){const s=u.enter("blockquote"),h=u.createTracker(r);h.move("> "),h.shift(2);const f=u.indentLines(u.containerFlow(n,h.current()),w2);return s(),f}function w2(n,a,u){return">"+(u?"":" ")+n}function M2(n,a){return Np(n,a.inConstruct,!0)&&!Np(n,a.notInConstruct,!1)}function Np(n,a,u){if(typeof a=="string"&&(a=[a]),!a||a.length===0)return u;let r=-1;for(;++r<a.length;)if(n.includes(a[r]))return!0;return!1}function Rp(n,a,u,r){let s=-1;for(;++s<u.unsafe.length;)if(u.unsafe[s].character===`
|
|
65
|
+
`&&M2(u.stack,u.unsafe[s]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
66
|
+
`}function _2(n,a){const u=String(n);let r=u.indexOf(a),s=r,h=0,f=0;if(typeof a!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===s?++h>f&&(f=h):h=1,s=r+a.length,r=u.indexOf(a,s);return f}function D2(n,a){return!!(a.options.fences===!1&&n.value&&!n.lang&&/[^ \r\n]/.test(n.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(n.value))}function O2(n){const a=n.options.fence||"`";if(a!=="`"&&a!=="~")throw new Error("Cannot serialize code with `"+a+"` for `options.fence`, expected `` ` `` or `~`");return a}function N2(n,a,u,r){const s=O2(u),h=n.value||"",f=s==="`"?"GraveAccent":"Tilde";if(D2(n,u)){const y=u.enter("codeIndented"),S=u.indentLines(h,R2);return y(),S}const d=u.createTracker(r),p=s.repeat(Math.max(_2(h,s)+1,3)),m=u.enter("codeFenced");let b=d.move(p);if(n.lang){const y=u.enter(`codeFencedLang${f}`);b+=d.move(u.safe(n.lang,{before:b,after:" ",encode:["`"],...d.current()})),y()}if(n.lang&&n.meta){const y=u.enter(`codeFencedMeta${f}`);b+=d.move(" "),b+=d.move(u.safe(n.meta,{before:b,after:`
|
|
67
|
+
`,encode:["`"],...d.current()})),y()}return b+=d.move(`
|
|
68
|
+
`),h&&(b+=d.move(h+`
|
|
69
|
+
`)),b+=d.move(p),m(),b}function R2(n,a,u){return(u?"":" ")+n}function Us(n){const a=n.options.quote||'"';if(a!=='"'&&a!=="'")throw new Error("Cannot serialize title with `"+a+"` for `options.quote`, expected `\"`, or `'`");return a}function j2(n,a,u,r){const s=Us(u),h=s==='"'?"Quote":"Apostrophe",f=u.enter("definition");let d=u.enter("label");const p=u.createTracker(r);let m=p.move("[");return m+=p.move(u.safe(u.associationId(n),{before:m,after:"]",...p.current()})),m+=p.move("]: "),d(),!n.url||/[\0- \u007F]/.test(n.url)?(d=u.enter("destinationLiteral"),m+=p.move("<"),m+=p.move(u.safe(n.url,{before:m,after:">",...p.current()})),m+=p.move(">")):(d=u.enter("destinationRaw"),m+=p.move(u.safe(n.url,{before:m,after:n.title?" ":`
|
|
70
|
+
`,...p.current()}))),d(),n.title&&(d=u.enter(`title${h}`),m+=p.move(" "+s),m+=p.move(u.safe(n.title,{before:m,after:s,...p.current()})),m+=p.move(s),d()),f(),m}function L2(n){const a=n.options.emphasis||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize emphasis with `"+a+"` for `options.emphasis`, expected `*`, or `_`");return a}function _a(n){return"&#x"+n.toString(16).toUpperCase()+";"}function mr(n,a,u){const r=Ei(n),s=Ei(a);return r===void 0?s===void 0?u==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Og.peek=B2;function Og(n,a,u,r){const s=L2(u),h=u.enter("emphasis"),f=u.createTracker(r),d=f.move(s);let p=f.move(u.containerPhrasing(n,{after:s,before:d,...f.current()}));const m=p.charCodeAt(0),b=mr(r.before.charCodeAt(r.before.length-1),m,s);b.inside&&(p=_a(m)+p.slice(1));const y=p.charCodeAt(p.length-1),S=mr(r.after.charCodeAt(0),y,s);S.inside&&(p=p.slice(0,-1)+_a(y));const x=f.move(s);return h(),u.attentionEncodeSurroundingInfo={after:S.outside,before:b.outside},d+p+x}function B2(n,a,u){return u.options.emphasis||"*"}function U2(n,a){let u=!1;return Ls(n,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return u=!0,gs}),!!((!n.depth||n.depth<3)&&Ms(n)&&(a.options.setext||u))}function H2(n,a,u,r){const s=Math.max(Math.min(6,n.depth||1),1),h=u.createTracker(r);if(U2(n,u)){const b=u.enter("headingSetext"),y=u.enter("phrasing"),S=u.containerPhrasing(n,{...h.current(),before:`
|
|
71
|
+
`,after:`
|
|
72
|
+
`});return y(),b(),S+`
|
|
73
|
+
`+(s===1?"=":"-").repeat(S.length-(Math.max(S.lastIndexOf("\r"),S.lastIndexOf(`
|
|
74
|
+
`))+1))}const f="#".repeat(s),d=u.enter("headingAtx"),p=u.enter("phrasing");h.move(f+" ");let m=u.containerPhrasing(n,{before:"# ",after:`
|
|
75
|
+
`,...h.current()});return/^[\t ]/.test(m)&&(m=_a(m.charCodeAt(0))+m.slice(1)),m=m?f+" "+m:f,u.options.closeAtx&&(m+=" "+f),p(),d(),m}Ng.peek=q2;function Ng(n){return n.value||""}function q2(){return"<"}Rg.peek=Y2;function Rg(n,a,u,r){const s=Us(u),h=s==='"'?"Quote":"Apostrophe",f=u.enter("image");let d=u.enter("label");const p=u.createTracker(r);let m=p.move("![");return m+=p.move(u.safe(n.alt,{before:m,after:"]",...p.current()})),m+=p.move("]("),d(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(d=u.enter("destinationLiteral"),m+=p.move("<"),m+=p.move(u.safe(n.url,{before:m,after:">",...p.current()})),m+=p.move(">")):(d=u.enter("destinationRaw"),m+=p.move(u.safe(n.url,{before:m,after:n.title?" ":")",...p.current()}))),d(),n.title&&(d=u.enter(`title${h}`),m+=p.move(" "+s),m+=p.move(u.safe(n.title,{before:m,after:s,...p.current()})),m+=p.move(s),d()),m+=p.move(")"),f(),m}function Y2(){return"!"}jg.peek=V2;function jg(n,a,u,r){const s=n.referenceType,h=u.enter("imageReference");let f=u.enter("label");const d=u.createTracker(r);let p=d.move("![");const m=u.safe(n.alt,{before:p,after:"]",...d.current()});p+=d.move(m+"]["),f();const b=u.stack;u.stack=[],f=u.enter("reference");const y=u.safe(u.associationId(n),{before:p,after:"]",...d.current()});return f(),u.stack=b,h(),s==="full"||!m||m!==y?p+=d.move(y+"]"):s==="shortcut"?p=p.slice(0,-1):p+=d.move("]"),p}function V2(){return"!"}Lg.peek=X2;function Lg(n,a,u){let r=n.value||"",s="`",h=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(r);)s+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++h<u.unsafe.length;){const f=u.unsafe[h],d=u.compilePattern(f);let p;if(f.atBreak)for(;p=d.exec(r);){let m=p.index;r.charCodeAt(m)===10&&r.charCodeAt(m-1)===13&&m--,r=r.slice(0,m)+" "+r.slice(p.index+1)}}return s+r+s}function X2(){return"`"}function Bg(n,a){const u=Ms(n);return!!(!a.options.resourceLink&&n.url&&!n.title&&n.children&&n.children.length===1&&n.children[0].type==="text"&&(u===n.url||"mailto:"+u===n.url)&&/^[a-z][a-z+.-]+:/i.test(n.url)&&!/[\0- <>\u007F]/.test(n.url))}Ug.peek=G2;function Ug(n,a,u,r){const s=Us(u),h=s==='"'?"Quote":"Apostrophe",f=u.createTracker(r);let d,p;if(Bg(n,u)){const b=u.stack;u.stack=[],d=u.enter("autolink");let y=f.move("<");return y+=f.move(u.containerPhrasing(n,{before:y,after:">",...f.current()})),y+=f.move(">"),d(),u.stack=b,y}d=u.enter("link"),p=u.enter("label");let m=f.move("[");return m+=f.move(u.containerPhrasing(n,{before:m,after:"](",...f.current()})),m+=f.move("]("),p(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(p=u.enter("destinationLiteral"),m+=f.move("<"),m+=f.move(u.safe(n.url,{before:m,after:">",...f.current()})),m+=f.move(">")):(p=u.enter("destinationRaw"),m+=f.move(u.safe(n.url,{before:m,after:n.title?" ":")",...f.current()}))),p(),n.title&&(p=u.enter(`title${h}`),m+=f.move(" "+s),m+=f.move(u.safe(n.title,{before:m,after:s,...f.current()})),m+=f.move(s),p()),m+=f.move(")"),d(),m}function G2(n,a,u){return Bg(n,u)?"<":"["}Hg.peek=Q2;function Hg(n,a,u,r){const s=n.referenceType,h=u.enter("linkReference");let f=u.enter("label");const d=u.createTracker(r);let p=d.move("[");const m=u.containerPhrasing(n,{before:p,after:"]",...d.current()});p+=d.move(m+"]["),f();const b=u.stack;u.stack=[],f=u.enter("reference");const y=u.safe(u.associationId(n),{before:p,after:"]",...d.current()});return f(),u.stack=b,h(),s==="full"||!m||m!==y?p+=d.move(y+"]"):s==="shortcut"?p=p.slice(0,-1):p+=d.move("]"),p}function Q2(){return"["}function Hs(n){const a=n.options.bullet||"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bullet`, expected `*`, `+`, or `-`");return a}function Z2(n){const a=Hs(n),u=n.options.bulletOther;if(!u)return a==="*"?"-":"*";if(u!=="*"&&u!=="+"&&u!=="-")throw new Error("Cannot serialize items with `"+u+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(u===a)throw new Error("Expected `bullet` (`"+a+"`) and `bulletOther` (`"+u+"`) to be different");return u}function K2(n){const a=n.options.bulletOrdered||".";if(a!=="."&&a!==")")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOrdered`, expected `.` or `)`");return a}function qg(n){const a=n.options.rule||"*";if(a!=="*"&&a!=="-"&&a!=="_")throw new Error("Cannot serialize rules with `"+a+"` for `options.rule`, expected `*`, `-`, or `_`");return a}function J2(n,a,u,r){const s=u.enter("list"),h=u.bulletCurrent;let f=n.ordered?K2(u):Hs(u);const d=n.ordered?f==="."?")":".":Z2(u);let p=a&&u.bulletLastUsed?f===u.bulletLastUsed:!1;if(!n.ordered){const b=n.children?n.children[0]:void 0;if((f==="*"||f==="-")&&b&&(!b.children||!b.children[0])&&u.stack[u.stack.length-1]==="list"&&u.stack[u.stack.length-2]==="listItem"&&u.stack[u.stack.length-3]==="list"&&u.stack[u.stack.length-4]==="listItem"&&u.indexStack[u.indexStack.length-1]===0&&u.indexStack[u.indexStack.length-2]===0&&u.indexStack[u.indexStack.length-3]===0&&(p=!0),qg(u)===f&&b){let y=-1;for(;++y<n.children.length;){const S=n.children[y];if(S&&S.type==="listItem"&&S.children&&S.children[0]&&S.children[0].type==="thematicBreak"){p=!0;break}}}}p&&(f=d),u.bulletCurrent=f;const m=u.containerFlow(n,r);return u.bulletLastUsed=f,u.bulletCurrent=h,s(),m}function F2(n){const a=n.options.listItemIndent||"one";if(a!=="tab"&&a!=="one"&&a!=="mixed")throw new Error("Cannot serialize items with `"+a+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return a}function I2(n,a,u,r){const s=F2(u);let h=u.bulletCurrent||Hs(u);a&&a.type==="list"&&a.ordered&&(h=(typeof a.start=="number"&&a.start>-1?a.start:1)+(u.options.incrementListMarker===!1?0:a.children.indexOf(n))+h);let f=h.length+1;(s==="tab"||s==="mixed"&&(a&&a.type==="list"&&a.spread||n.spread))&&(f=Math.ceil(f/4)*4);const d=u.createTracker(r);d.move(h+" ".repeat(f-h.length)),d.shift(f);const p=u.enter("listItem"),m=u.indentLines(u.containerFlow(n,d.current()),b);return p(),m;function b(y,S,x){return S?(x?"":" ".repeat(f))+y:(x?h:h+" ".repeat(f-h.length))+y}}function $2(n,a,u,r){const s=u.enter("paragraph"),h=u.enter("phrasing"),f=u.containerPhrasing(n,r);return h(),s(),f}const W2=vr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function P2(n,a,u,r){return(n.children.some(function(f){return W2(f)})?u.containerPhrasing:u.containerFlow).call(u,n,r)}function tE(n){const a=n.options.strong||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize strong with `"+a+"` for `options.strong`, expected `*`, or `_`");return a}Yg.peek=eE;function Yg(n,a,u,r){const s=tE(u),h=u.enter("strong"),f=u.createTracker(r),d=f.move(s+s);let p=f.move(u.containerPhrasing(n,{after:s,before:d,...f.current()}));const m=p.charCodeAt(0),b=mr(r.before.charCodeAt(r.before.length-1),m,s);b.inside&&(p=_a(m)+p.slice(1));const y=p.charCodeAt(p.length-1),S=mr(r.after.charCodeAt(0),y,s);S.inside&&(p=p.slice(0,-1)+_a(y));const x=f.move(s+s);return h(),u.attentionEncodeSurroundingInfo={after:S.outside,before:b.outside},d+p+x}function eE(n,a,u){return u.options.strong||"*"}function nE(n,a,u,r){return u.safe(n.value,r)}function lE(n){const a=n.options.ruleRepetition||3;if(a<3)throw new Error("Cannot serialize rules with repetition `"+a+"` for `options.ruleRepetition`, expected `3` or more");return a}function iE(n,a,u){const r=(qg(u)+(u.options.ruleSpaces?" ":"")).repeat(lE(u));return u.options.ruleSpaces?r.slice(0,-1):r}const Vg={blockquote:C2,break:Rp,code:N2,definition:j2,emphasis:Og,hardBreak:Rp,heading:H2,html:Ng,image:Rg,imageReference:jg,inlineCode:Lg,link:Ug,linkReference:Hg,list:J2,listItem:I2,paragraph:$2,root:P2,strong:Yg,text:nE,thematicBreak:iE};function aE(){return{enter:{table:uE,tableData:jp,tableHeader:jp,tableRow:oE},exit:{codeText:cE,table:rE,tableData:as,tableHeader:as,tableRow:as}}}function uE(n){const a=n._align;this.enter({type:"table",align:a.map(function(u){return u==="none"?null:u}),children:[]},n),this.data.inTable=!0}function rE(n){this.exit(n),this.data.inTable=void 0}function oE(n){this.enter({type:"tableRow",children:[]},n)}function as(n){this.exit(n)}function jp(n){this.enter({type:"tableCell",children:[]},n)}function cE(n){let a=this.resume();this.data.inTable&&(a=a.replace(/\\([\\|])/g,sE));const u=this.stack[this.stack.length-1];u.type,u.value=a,this.exit(n)}function sE(n,a){return a==="|"?a:n}function fE(n){const a=n||{},u=a.tableCellPadding,r=a.tablePipeAlign,s=a.stringLength,h=u?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
76
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:S,table:f,tableCell:p,tableRow:d}};function f(x,w,R,H){return m(b(x,R,H),x.align)}function d(x,w,R,H){const D=y(x,R,H),K=m([D]);return K.slice(0,K.indexOf(`
|
|
77
|
+
`))}function p(x,w,R,H){const D=R.enter("tableCell"),K=R.enter("phrasing"),Q=R.containerPhrasing(x,{...H,before:h,after:h});return K(),D(),Q}function m(x,w){return A2(x,{align:w,alignDelimiters:r,padding:u,stringLength:s})}function b(x,w,R){const H=x.children;let D=-1;const K=[],Q=w.enter("table");for(;++D<H.length;)K[D]=y(H[D],w,R);return Q(),K}function y(x,w,R){const H=x.children;let D=-1;const K=[],Q=w.enter("tableRow");for(;++D<H.length;)K[D]=p(H[D],x,w,R);return Q(),K}function S(x,w,R){let H=Vg.inlineCode(x,w,R);return R.stack.includes("tableCell")&&(H=H.replace(/\|/g,"\\$&")),H}}function hE(){return{exit:{taskListCheckValueChecked:Lp,taskListCheckValueUnchecked:Lp,paragraph:dE}}}function mE(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:pE}}}function Lp(n){const a=this.stack[this.stack.length-2];a.type,a.checked=n.type==="taskListCheckValueChecked"}function dE(n){const a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){const u=this.stack[this.stack.length-1];u.type;const r=u.children[0];if(r&&r.type==="text"){const s=a.children;let h=-1,f;for(;++h<s.length;){const d=s[h];if(d.type==="paragraph"){f=d;break}}f===u&&(r.value=r.value.slice(1),r.value.length===0?u.children.shift():u.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,u.position.start=Object.assign({},r.position.start)))}}this.exit(n)}function pE(n,a,u,r){const s=n.children[0],h=typeof n.checked=="boolean"&&s&&s.type==="paragraph",f="["+(n.checked?"x":" ")+"] ",d=u.createTracker(r);h&&d.move(f);let p=Vg.listItem(n,a,u,{...r,...d.current()});return h&&(p=p.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,m)),p;function m(b){return b+f}}function gE(){return[JS(),p2(),v2(),aE(),hE()]}function yE(n){return{extensions:[FS(),g2(n),x2(),fE(n),mE()]}}const bE={tokenize:kE,partial:!0},Xg={tokenize:AE,partial:!0},Gg={tokenize:zE,partial:!0},Qg={tokenize:CE,partial:!0},vE={tokenize:wE,partial:!0},Zg={name:"wwwAutolink",tokenize:EE,previous:Jg},Kg={name:"protocolAutolink",tokenize:TE,previous:Fg},Nn={name:"emailAutolink",tokenize:SE,previous:Ig},sn={};function xE(){return{text:sn}}let Al=48;for(;Al<123;)sn[Al]=Nn,Al++,Al===58?Al=65:Al===91&&(Al=97);sn[43]=Nn;sn[45]=Nn;sn[46]=Nn;sn[95]=Nn;sn[72]=[Nn,Kg];sn[104]=[Nn,Kg];sn[87]=[Nn,Zg];sn[119]=[Nn,Zg];function SE(n,a,u){const r=this;let s,h;return f;function f(y){return!xs(y)||!Ig.call(r,r.previous)||qs(r.events)?u(y):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),d(y))}function d(y){return xs(y)?(n.consume(y),d):y===64?(n.consume(y),p):u(y)}function p(y){return y===46?n.check(vE,b,m)(y):y===45||y===95||pe(y)?(h=!0,n.consume(y),p):b(y)}function m(y){return n.consume(y),s=!0,p}function b(y){return h&&s&&xe(r.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),a(y)):u(y)}}function EE(n,a,u){const r=this;return s;function s(f){return f!==87&&f!==119||!Jg.call(r,r.previous)||qs(r.events)?u(f):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(bE,n.attempt(Xg,n.attempt(Gg,h),u),u)(f))}function h(f){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),a(f)}}function TE(n,a,u){const r=this;let s="",h=!1;return f;function f(y){return(y===72||y===104)&&Fg.call(r,r.previous)&&!qs(r.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),s+=String.fromCodePoint(y),n.consume(y),d):u(y)}function d(y){if(xe(y)&&s.length<5)return s+=String.fromCodePoint(y),n.consume(y),d;if(y===58){const S=s.toLowerCase();if(S==="http"||S==="https")return n.consume(y),p}return u(y)}function p(y){return y===47?(n.consume(y),h?m:(h=!0,p)):u(y)}function m(y){return y===null||sr(y)||Xt(y)||Cl(y)||gr(y)?u(y):n.attempt(Xg,n.attempt(Gg,b),u)(y)}function b(y){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),a(y)}}function kE(n,a,u){let r=0;return s;function s(f){return(f===87||f===119)&&r<3?(r++,n.consume(f),s):f===46&&r===3?(n.consume(f),h):u(f)}function h(f){return f===null?u(f):a(f)}}function AE(n,a,u){let r,s,h;return f;function f(m){return m===46||m===95?n.check(Qg,p,d)(m):m===null||Xt(m)||Cl(m)||m!==45&&gr(m)?p(m):(h=!0,n.consume(m),f)}function d(m){return m===95?r=!0:(s=r,r=void 0),n.consume(m),f}function p(m){return s||r||!h?u(m):a(m)}}function zE(n,a){let u=0,r=0;return s;function s(f){return f===40?(u++,n.consume(f),s):f===41&&r<u?h(f):f===33||f===34||f===38||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===60||f===63||f===93||f===95||f===126?n.check(Qg,a,h)(f):f===null||Xt(f)||Cl(f)?a(f):(n.consume(f),s)}function h(f){return f===41&&r++,n.consume(f),s}}function CE(n,a,u){return r;function r(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(n.consume(d),r):d===38?(n.consume(d),h):d===93?(n.consume(d),s):d===60||d===null||Xt(d)||Cl(d)?a(d):u(d)}function s(d){return d===null||d===40||d===91||Xt(d)||Cl(d)?a(d):r(d)}function h(d){return xe(d)?f(d):u(d)}function f(d){return d===59?(n.consume(d),r):xe(d)?(n.consume(d),f):u(d)}}function wE(n,a,u){return r;function r(h){return n.consume(h),s}function s(h){return pe(h)?u(h):a(h)}}function Jg(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||Xt(n)}function Fg(n){return!xe(n)}function Ig(n){return!(n===47||xs(n))}function xs(n){return n===43||n===45||n===46||n===95||pe(n)}function qs(n){let a=n.length,u=!1;for(;a--;){const r=n[a][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){u=!0;break}if(r._gfmAutolinkLiteralWalkedInto){u=!1;break}}return n.length>0&&!u&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),u}const ME={tokenize:BE,partial:!0};function _E(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:RE,continuation:{tokenize:jE},exit:LE}},text:{91:{name:"gfmFootnoteCall",tokenize:NE},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:DE,resolveTo:OE}}}}function DE(n,a,u){const r=this;let s=r.events.length;const h=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let f;for(;s--;){const p=r.events[s][1];if(p.type==="labelImage"){f=p;break}if(p.type==="gfmFootnoteCall"||p.type==="labelLink"||p.type==="label"||p.type==="image"||p.type==="link")break}return d;function d(p){if(!f||!f._balanced)return u(p);const m=ln(r.sliceSerialize({start:f.end,end:r.now()}));return m.codePointAt(0)!==94||!h.includes(m.slice(1))?u(p):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(p),n.exit("gfmFootnoteCallLabelMarker"),a(p))}}function OE(n,a){let u=n.length;for(;u--;)if(n[u][1].type==="labelImage"&&n[u][0]==="enter"){n[u][1];break}n[u+1][1].type="data",n[u+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},n[u+3][1].start),end:Object.assign({},n[n.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},n[u+3][1].end),end:Object.assign({},n[u+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const h={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},n[n.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},h.start),end:Object.assign({},h.end)},d=[n[u+1],n[u+2],["enter",r,a],n[u+3],n[u+4],["enter",s,a],["exit",s,a],["enter",h,a],["enter",f,a],["exit",f,a],["exit",h,a],n[n.length-2],n[n.length-1],["exit",r,a]];return n.splice(u,n.length-u+1,...d),n}function NE(n,a,u){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let h=0,f;return d;function d(y){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(y),n.exit("gfmFootnoteCallLabelMarker"),p}function p(y){return y!==94?u(y):(n.enter("gfmFootnoteCallMarker"),n.consume(y),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",m)}function m(y){if(h>999||y===93&&!f||y===null||y===91||Xt(y))return u(y);if(y===93){n.exit("chunkString");const S=n.exit("gfmFootnoteCallString");return s.includes(ln(r.sliceSerialize(S)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(y),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),a):u(y)}return Xt(y)||(f=!0),h++,n.consume(y),y===92?b:m}function b(y){return y===91||y===92||y===93?(n.consume(y),h++,m):m(y)}}function RE(n,a,u){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let h,f=0,d;return p;function p(w){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(w),n.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(w){return w===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(w),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",b):u(w)}function b(w){if(f>999||w===93&&!d||w===null||w===91||Xt(w))return u(w);if(w===93){n.exit("chunkString");const R=n.exit("gfmFootnoteDefinitionLabelString");return h=ln(r.sliceSerialize(R)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(w),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),S}return Xt(w)||(d=!0),f++,n.consume(w),w===92?y:b}function y(w){return w===91||w===92||w===93?(n.consume(w),f++,b):b(w)}function S(w){return w===58?(n.enter("definitionMarker"),n.consume(w),n.exit("definitionMarker"),s.includes(h)||s.push(h),_t(n,x,"gfmFootnoteDefinitionWhitespace")):u(w)}function x(w){return a(w)}}function jE(n,a,u){return n.check(Na,a,n.attempt(ME,a,u))}function LE(n){n.exit("gfmFootnoteDefinition")}function BE(n,a,u){const r=this;return _t(n,s,"gfmFootnoteDefinitionIndent",5);function s(h){const f=r.events[r.events.length-1];return f&&f[1].type==="gfmFootnoteDefinitionIndent"&&f[2].sliceSerialize(f[1],!0).length===4?a(h):u(h)}}function UE(n){let u=(n||{}).singleTilde;const r={name:"strikethrough",tokenize:h,resolveAll:s};return u==null&&(u=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function s(f,d){let p=-1;for(;++p<f.length;)if(f[p][0]==="enter"&&f[p][1].type==="strikethroughSequenceTemporary"&&f[p][1]._close){let m=p;for(;m--;)if(f[m][0]==="exit"&&f[m][1].type==="strikethroughSequenceTemporary"&&f[m][1]._open&&f[p][1].end.offset-f[p][1].start.offset===f[m][1].end.offset-f[m][1].start.offset){f[p][1].type="strikethroughSequence",f[m][1].type="strikethroughSequence";const b={type:"strikethrough",start:Object.assign({},f[m][1].start),end:Object.assign({},f[p][1].end)},y={type:"strikethroughText",start:Object.assign({},f[m][1].end),end:Object.assign({},f[p][1].start)},S=[["enter",b,d],["enter",f[m][1],d],["exit",f[m][1],d],["enter",y,d]],x=d.parser.constructs.insideSpan.null;x&&qe(S,S.length,0,yr(x,f.slice(m+1,p),d)),qe(S,S.length,0,[["exit",y,d],["enter",f[p][1],d],["exit",f[p][1],d],["exit",b,d]]),qe(f,m-1,p-m+3,S),p=m+S.length-2;break}}for(p=-1;++p<f.length;)f[p][1].type==="strikethroughSequenceTemporary"&&(f[p][1].type="data");return f}function h(f,d,p){const m=this.previous,b=this.events;let y=0;return S;function S(w){return m===126&&b[b.length-1][1].type!=="characterEscape"?p(w):(f.enter("strikethroughSequenceTemporary"),x(w))}function x(w){const R=Ei(m);if(w===126)return y>1?p(w):(f.consume(w),y++,x);if(y<2&&!u)return p(w);const H=f.exit("strikethroughSequenceTemporary"),D=Ei(w);return H._open=!D||D===2&&!!R,H._close=!R||R===2&&!!D,d(w)}}}class HE{constructor(){this.map=[]}add(a,u,r){qE(this,a,u,r)}consume(a){if(this.map.sort(function(h,f){return h[0]-f[0]}),this.map.length===0)return;let u=this.map.length;const r=[];for(;u>0;)u-=1,r.push(a.slice(this.map[u][0]+this.map[u][1]),this.map[u][2]),a.length=this.map[u][0];r.push(a.slice()),a.length=0;let s=r.pop();for(;s;){for(const h of s)a.push(h);s=r.pop()}this.map.length=0}}function qE(n,a,u,r){let s=0;if(!(u===0&&r.length===0)){for(;s<n.map.length;){if(n.map[s][0]===a){n.map[s][1]+=u,n.map[s][2].push(...r);return}s+=1}n.map.push([a,u,r])}}function YE(n,a){let u=!1;const r=[];for(;a<n.length;){const s=n[a];if(u){if(s[0]==="enter")s[1].type==="tableContent"&&r.push(n[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(n[a-1][1].type==="tableDelimiterMarker"){const h=r.length-1;r[h]=r[h]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(u=!0);a+=1}return r}function VE(){return{flow:{null:{name:"table",tokenize:XE,resolveAll:GE}}}}function XE(n,a,u){const r=this;let s=0,h=0,f;return d;function d(j){let P=r.events.length-1;for(;P>-1;){const it=r.events[P][1].type;if(it==="lineEnding"||it==="linePrefix")P--;else break}const tt=P>-1?r.events[P][1].type:null,bt=tt==="tableHead"||tt==="tableRow"?U:p;return bt===U&&r.parser.lazy[r.now().line]?u(j):bt(j)}function p(j){return n.enter("tableHead"),n.enter("tableRow"),m(j)}function m(j){return j===124||(f=!0,h+=1),b(j)}function b(j){return j===null?u(j):ft(j)?h>1?(h=0,r.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(j),n.exit("lineEnding"),x):u(j):At(j)?_t(n,b,"whitespace")(j):(h+=1,f&&(f=!1,s+=1),j===124?(n.enter("tableCellDivider"),n.consume(j),n.exit("tableCellDivider"),f=!0,b):(n.enter("data"),y(j)))}function y(j){return j===null||j===124||Xt(j)?(n.exit("data"),b(j)):(n.consume(j),j===92?S:y)}function S(j){return j===92||j===124?(n.consume(j),y):y(j)}function x(j){return r.interrupt=!1,r.parser.lazy[r.now().line]?u(j):(n.enter("tableDelimiterRow"),f=!1,At(j)?_t(n,w,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):w(j))}function w(j){return j===45||j===58?H(j):j===124?(f=!0,n.enter("tableCellDivider"),n.consume(j),n.exit("tableCellDivider"),R):rt(j)}function R(j){return At(j)?_t(n,H,"whitespace")(j):H(j)}function H(j){return j===58?(h+=1,f=!0,n.enter("tableDelimiterMarker"),n.consume(j),n.exit("tableDelimiterMarker"),D):j===45?(h+=1,D(j)):j===null||ft(j)?ut(j):rt(j)}function D(j){return j===45?(n.enter("tableDelimiterFiller"),K(j)):rt(j)}function K(j){return j===45?(n.consume(j),K):j===58?(f=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(j),n.exit("tableDelimiterMarker"),Q):(n.exit("tableDelimiterFiller"),Q(j))}function Q(j){return At(j)?_t(n,ut,"whitespace")(j):ut(j)}function ut(j){return j===124?w(j):j===null||ft(j)?!f||s!==h?rt(j):(n.exit("tableDelimiterRow"),n.exit("tableHead"),a(j)):rt(j)}function rt(j){return u(j)}function U(j){return n.enter("tableRow"),W(j)}function W(j){return j===124?(n.enter("tableCellDivider"),n.consume(j),n.exit("tableCellDivider"),W):j===null||ft(j)?(n.exit("tableRow"),a(j)):At(j)?_t(n,W,"whitespace")(j):(n.enter("data"),st(j))}function st(j){return j===null||j===124||Xt(j)?(n.exit("data"),W(j)):(n.consume(j),j===92?F:st)}function F(j){return j===92||j===124?(n.consume(j),st):st(j)}}function GE(n,a){let u=-1,r=!0,s=0,h=[0,0,0,0],f=[0,0,0,0],d=!1,p=0,m,b,y;const S=new HE;for(;++u<n.length;){const x=n[u],w=x[1];x[0]==="enter"?w.type==="tableHead"?(d=!1,p!==0&&(Bp(S,a,p,m,b),b=void 0,p=0),m={type:"table",start:Object.assign({},w.start),end:Object.assign({},w.end)},S.add(u,0,[["enter",m,a]])):w.type==="tableRow"||w.type==="tableDelimiterRow"?(r=!0,y=void 0,h=[0,0,0,0],f=[0,u+1,0,0],d&&(d=!1,b={type:"tableBody",start:Object.assign({},w.start),end:Object.assign({},w.end)},S.add(u,0,[["enter",b,a]])),s=w.type==="tableDelimiterRow"?2:b?3:1):s&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")?(r=!1,f[2]===0&&(h[1]!==0&&(f[0]=f[1],y=ir(S,a,h,s,void 0,y),h=[0,0,0,0]),f[2]=u)):w.type==="tableCellDivider"&&(r?r=!1:(h[1]!==0&&(f[0]=f[1],y=ir(S,a,h,s,void 0,y)),h=f,f=[h[1],u,0,0])):w.type==="tableHead"?(d=!0,p=u):w.type==="tableRow"||w.type==="tableDelimiterRow"?(p=u,h[1]!==0?(f[0]=f[1],y=ir(S,a,h,s,u,y)):f[1]!==0&&(y=ir(S,a,f,s,u,y)),s=0):s&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")&&(f[3]=u)}for(p!==0&&Bp(S,a,p,m,b),S.consume(a.events),u=-1;++u<a.events.length;){const x=a.events[u];x[0]==="enter"&&x[1].type==="table"&&(x[1]._align=YE(a.events,u))}return n}function ir(n,a,u,r,s,h){const f=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",d="tableContent";u[0]!==0&&(h.end=Object.assign({},xi(a.events,u[0])),n.add(u[0],0,[["exit",h,a]]));const p=xi(a.events,u[1]);if(h={type:f,start:Object.assign({},p),end:Object.assign({},p)},n.add(u[1],0,[["enter",h,a]]),u[2]!==0){const m=xi(a.events,u[2]),b=xi(a.events,u[3]),y={type:d,start:Object.assign({},m),end:Object.assign({},b)};if(n.add(u[2],0,[["enter",y,a]]),r!==2){const S=a.events[u[2]],x=a.events[u[3]];if(S[1].end=Object.assign({},x[1].end),S[1].type="chunkText",S[1].contentType="text",u[3]>u[2]+1){const w=u[2]+1,R=u[3]-u[2]-1;n.add(w,R,[])}}n.add(u[3]+1,0,[["exit",y,a]])}return s!==void 0&&(h.end=Object.assign({},xi(a.events,s)),n.add(s,0,[["exit",h,a]]),h=void 0),h}function Bp(n,a,u,r,s){const h=[],f=xi(a.events,u);s&&(s.end=Object.assign({},f),h.push(["exit",s,a])),r.end=Object.assign({},f),h.push(["exit",r,a]),n.add(u+1,0,h)}function xi(n,a){const u=n[a],r=u[0]==="enter"?"start":"end";return u[1][r]}const QE={name:"tasklistCheck",tokenize:KE};function ZE(){return{text:{91:QE}}}function KE(n,a,u){const r=this;return s;function s(p){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?u(p):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(p),n.exit("taskListCheckMarker"),h)}function h(p){return Xt(p)?(n.enter("taskListCheckValueUnchecked"),n.consume(p),n.exit("taskListCheckValueUnchecked"),f):p===88||p===120?(n.enter("taskListCheckValueChecked"),n.consume(p),n.exit("taskListCheckValueChecked"),f):u(p)}function f(p){return p===93?(n.enter("taskListCheckMarker"),n.consume(p),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),d):u(p)}function d(p){return ft(p)?a(p):At(p)?n.check({tokenize:JE},a,u)(p):u(p)}}function JE(n,a,u){return _t(n,r,"whitespace");function r(s){return s===null?u(s):a(s)}}function FE(n){return ug([xE(),_E(),UE(n),VE(),ZE()])}const IE={};function $E(n){const a=this,u=n||IE,r=a.data(),s=r.micromarkExtensions||(r.micromarkExtensions=[]),h=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),f=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);s.push(FE(u)),h.push(gE()),f.push(yE(u))}function Ss(n,a){var r;if(!a)return n.preview?[{title:"Display",format:"markdown",content:n.preview}]:[];const u=a.entry;if(u.type==="custom")return tT(u.data);if(!eT(u)||!u.message)return n.preview?[{title:"Display",format:"markdown",content:n.preview}]:[];if(n.contentIndex!==null){const s=(r=u.message.content)==null?void 0:r[n.contentIndex];return s?$g(s,n):[]}return u.message.role==="toolResult"?PE(u.message.content??[]):n.preview?[{title:"Display",format:"markdown",content:n.preview}]:[]}function WE(n){const a=[],u=n.callEvent?Ss(n.callEvent,n.callRaw):[];u.length>0&&a.push({title:"Parsed content — call",blocks:u});const r=n.resultEvent?Ss(n.resultEvent,n.resultRaw):[];return r.length>0&&a.push({title:"Parsed content — result",blocks:r}),a}function PE(n){return n.flatMap((u,r)=>{if(u.type==="text")return[{title:n.length>1?`Result ${r+1}`:"Result",format:"markdown",content:typeof u.text=="string"?u.text:""}];if(u.type==="image"){const s=typeof u.alt=="string"&&u.alt.trim()?u.alt:"Image attachment",h=typeof u.url=="string"&&u.url.trim()?`[${s}](${u.url})`:s;return[{title:n.length>1?`Attachment ${r+1}`:"Attachment",format:"markdown",content:h}]}return $g(u,null,r+1)}).filter(u=>u.content.trim().length>0)}function $g(n,a,u){if(n.type==="text")return[{title:(a==null?void 0:a.role)==="user"?"Message":"Assistant text",format:"markdown",content:typeof n.text=="string"?n.text:""}].filter(s=>s.content.trim().length>0);if(n.type==="thinking")return[{title:"Thinking",format:"markdown",content:typeof n.thinking=="string"?n.thinking:""}].filter(s=>s.content.trim().length>0);if(n.type==="toolCall"){const s=or(n.arguments);if(s)return[{title:`Arguments${n.name?` — ${n.name}`:""}`,format:"pre",content:s}];if(typeof n.partialJson=="string"&&n.partialJson.trim()){const h=or(n.partialJson);return[{title:`Arguments${n.name?` — ${n.name}`:""}`,format:h?"pre":"markdown",content:h??n.partialJson}]}return[]}if(n.type==="image"){const s=typeof n.alt=="string"&&n.alt.trim()?n.alt:"Image attachment",h=typeof n.url=="string"&&n.url.trim()?`[${s}](${n.url})`:s;return[{title:u?`Attachment ${u}`:"Attachment",format:"markdown",content:h}]}const r=or(n);return r?[{title:u?`Block ${u}`:"Content",format:"pre",content:r}]:[]}function tT(n){const a=or(n);return a?[{title:"Custom data",format:"pre",content:a}]:typeof n=="string"&&n.trim()?[{title:"Custom data",format:"markdown",content:n}]:[]}function or(n){if(typeof n=="string"){const a=n.trim();if(!a)return null;try{return JSON.stringify(JSON.parse(a),null,2)}catch{return null}}if(typeof n=="object"&&n!==null)try{return JSON.stringify(n,null,2)}catch{return null}if(n==null)return null;try{return JSON.stringify(n,null,2)}catch{return null}}function eT(n){return n.type==="message"&&typeof n=="object"&&n!==null}function nT(n,a){try{return JSON.stringify(JSON.parse(n),null,2)}catch{return JSON.stringify(a,null,2)}}function lT(n){const{detail:a,selection:u}=n;if(!u)return k.jsxs("aside",{className:"panel inspector-panel",children:[k.jsx("div",{className:"panel-header",children:k.jsx("span",{className:"panel-title",children:"Inspector"})}),k.jsxs("div",{className:"inspector-scroll empty-panel",children:[k.jsx("h2",{children:"No selection"}),k.jsx("p",{children:"Click any event or tool span in the filmstrip to inspect parsed details and raw JSON."})]})]});if(u.kind==="event"){const m=a.events.find(S=>S.id===u.id)??null;if(!m)return k.jsx(Up,{kind:"event"});const b=a.rawEntries[m.rawEntryIndex]??null,y=Ss(m,b);return k.jsxs("aside",{className:"panel inspector-panel",children:[k.jsx("div",{className:"panel-header",children:k.jsx("span",{className:"panel-title",children:"Inspector"})}),k.jsxs("div",{className:"inspector-scroll",children:[k.jsxs(dr,{title:"Parsed summary",children:[k.jsx(Ft,{label:"Lane",value:m.lane}),k.jsx(Ft,{label:"Label",value:m.label}),k.jsx(Ft,{label:"Type",value:m.type}),k.jsx(Ft,{label:"Role",value:m.role??"—"}),k.jsx(Ft,{label:"Timestamp",value:Aa(m.timestamp),mono:!0}),k.jsx(Ft,{label:"Line",value:b?String(b.lineNumber):"—",mono:!0}),k.jsx(Ft,{label:"Provider",value:m.provider??"—"}),k.jsx(Ft,{label:"Model",value:m.modelId??"—"}),k.jsx(Ft,{label:"Tool",value:m.toolName??"—"}),k.jsx(Ft,{label:"Call id",value:m.toolCallId??"—",mono:!0}),k.jsx(Ft,{label:"Pair",value:m.pairStatus??"—"}),k.jsx(Ft,{label:"Content idx",value:m.contentIndex===null?"—":String(m.contentIndex),mono:!0}),k.jsx(Ft,{label:"Error",value:m.isError?"yes":"no"}),k.jsx(Ft,{label:"Images",value:m.attachmentCount?String(m.attachmentCount):"0"})]}),y.length>0?k.jsx(Hp,{title:"Parsed content",blocks:y}):null,k.jsx(us,{title:"Raw JSON",rawEntry:b})]})]})}const r=a.toolSpans.find(m=>m.id===u.id)??null;if(!r)return k.jsx(Up,{kind:"tool span"});const s=a.events.find(m=>m.id===r.toolCallEventId)??null,h=r.toolResultEventId?a.events.find(m=>m.id===r.toolResultEventId)??null:null,f=s?a.rawEntries[s.rawEntryIndex]??null:null,d=h?a.rawEntries[h.rawEntryIndex]??null:null,p=WE({callEvent:s,callRaw:f,resultEvent:h,resultRaw:d});return k.jsxs("aside",{className:"panel inspector-panel",children:[k.jsx("div",{className:"panel-header",children:k.jsx("span",{className:"panel-title",children:"Inspector"})}),k.jsxs("div",{className:"inspector-scroll",children:[k.jsxs(dr,{title:"Parsed summary",children:[k.jsx(Ft,{label:"Lane",value:"tools"}),k.jsx(Ft,{label:"Tool",value:r.toolName??"tool"}),k.jsx(Ft,{label:"Duration",value:zl(r.durationMs),mono:!0}),k.jsx(Ft,{label:"Started",value:Aa(r.startedAt),mono:!0}),k.jsx(Ft,{label:"Ended",value:Aa(r.endedAt),mono:!0}),k.jsx(Ft,{label:"Pair",value:r.pairStatus}),k.jsx(Ft,{label:"Call id",value:r.toolCallId,mono:!0}),k.jsx(Ft,{label:"Error",value:r.isError?"yes":"no"}),k.jsx(Ft,{label:"Images",value:r.hasImage?"yes":"no"}),k.jsx("div",{className:"preview-block selectable",children:r.pairStatus==="paired"?"Tool call and result are paired. Use the raw sections below to inspect both source entries.":"This tool call has no matching tool result entry in the session file."})]}),p.map(m=>k.jsx(Hp,{title:m.title,blocks:m.blocks},m.title)),k.jsx(us,{title:"Raw JSON — call",rawEntry:f}),k.jsx(us,{title:"Raw JSON — result",rawEntry:d,emptyLabel:"No paired tool result recorded."})]})]})}function Up(n){return k.jsxs("aside",{className:"panel inspector-panel",children:[k.jsx("div",{className:"panel-header",children:k.jsx("span",{className:"panel-title",children:"Inspector"})}),k.jsxs("div",{className:"inspector-scroll empty-panel",children:[k.jsxs("h2",{children:["Missing ",n.kind]}),k.jsx("p",{children:"The selected item is no longer present in the loaded session detail payload."})]})]})}function dr(n){return k.jsxs("section",{className:"inspector-section",children:[k.jsx("h3",{children:n.title}),k.jsx("div",{className:"inspector-card",children:n.children})]})}function us(n){return k.jsx(dr,{title:n.title,children:n.rawEntry?k.jsxs(k.Fragment,{children:[k.jsxs("div",{className:"raw-meta mono",children:["line ",n.rawEntry.lineNumber]}),k.jsx("pre",{className:"raw-json selectable",children:nT(n.rawEntry.source,n.rawEntry.entry)})]}):k.jsx("div",{className:"empty-inline",children:n.emptyLabel??"No raw entry available."})})}function Hp(n){return k.jsx(dr,{title:n.title,children:k.jsx("div",{className:"content-block-stack",children:n.blocks.map((a,u)=>k.jsxs("div",{className:"content-block",children:[k.jsx("div",{className:"content-block-title mono",children:a.title}),a.format==="pre"?k.jsx("pre",{className:"formatted-pre selectable",children:a.content}):k.jsx("div",{className:"markdown-body selectable",children:k.jsx(LS,{remarkPlugins:[$E,KS],children:a.content})})]},`${a.title}-${u}`))})})}function Ft(n){return k.jsxs("div",{className:"kv-row",children:[k.jsx("div",{className:"kv-key mono",children:n.label}),k.jsx("div",{className:`kv-value ${n.mono?"mono selectable":"selectable"}`,children:n.value})]})}const qp=64,Yp=160,iT=900,aT=4e4,uT=24,rT=6,oT=7,ka=.05,ar=2,cT=.05,rs=["metadata","user","assistant","tools","custom"],Vp={metadata:{label:"Metadata",glyph:"◆"},user:{label:"User",glyph:"◆"},assistant:{label:"Assistant",glyph:"◆"},tools:{label:"Tools",glyph:"◆"},custom:{label:"Custom",glyph:"◆"}};function sT(n){const{detail:a,selection:u,onSelect:r}=n,[s,h]=St.useState(1),f=St.useRef(null),d=St.useRef(null),p=St.useRef(null),m=St.useMemo(()=>[...a.events.map(F=>F.timeMs).filter(F=>F!==null),...a.toolSpans.map(F=>F.endTimeMs).filter(F=>F!==null)],[a.events,a.toolSpans]),b=m.length>0?Math.min(...m):0,y=m.length>0?Math.max(...m):b+1,S=Math.max(1,y-b),x=a.session.relativePath,w=qp*s,R=On(Math.round(S/1e3*w)+Yp,iT,aT),H=yT(S,R),D=St.useMemo(()=>mT(b,y,H,R),[b,y,H,R]),K=St.useMemo(()=>{const F=D.reduce((j,P)=>{const tt=P.leftPx+rT+gT(P.label)-R,bt=P.leftPx-R;return Math.max(j,bt,tt,0)},0);return Math.round(R+Math.max(uT,F))},[D,R]),Q=bT(u,a),ut=(s-ka)/(ar-ka)*100,rt=St.useMemo(()=>Object.fromEntries(rs.map(F=>[F,a.events.filter(j=>j.lane===F)])),[a.events]);St.useEffect(()=>{p.current!==x&&(p.current=x,h(1),f.current&&(f.current.scrollLeft=0))},[x]),St.useLayoutEffect(()=>{const F=f.current,j=d.current;if(!F||j===null)return;const P=j*R-F.clientWidth/2;F.scrollLeft=Math.max(0,P),d.current=null},[R]);const U=()=>{const F=f.current;F&&(d.current=On((F.scrollLeft+F.clientWidth/2)/Math.max(1,R),0,1))},W=F=>{U(),h(On(F,ka,ar))},st=()=>{const F=f.current;if(!F)return;const P=Math.max(320,F.clientWidth-Yp)/Math.max(1,S/1e3*qp);d.current=.5,h(On(P,ka,ar))};return k.jsxs("section",{className:"panel timeline-panel",children:[k.jsxs("div",{className:"panel-header timeline-header-controls",children:[k.jsxs("div",{className:"timeline-header-main",children:[k.jsx("span",{className:"panel-title",children:"Timeline"}),k.jsxs("div",{className:"timeline-meta mono",children:[k.jsxs("span",{children:[a.events.length," renderable events"]}),k.jsxs("span",{children:[a.toolSpans.length," tool spans"]}),k.jsx("span",{children:zl(a.session.durationMs)}),k.jsx("span",{children:Q!==null?Qp(Q,b):"—"})]})]}),k.jsxs("div",{className:"timeline-zoom-controls",children:[k.jsx("button",{className:"zoom-button",type:"button",onClick:()=>W(s/1.25),"aria-label":"Zoom out",children:"−"}),k.jsxs("div",{className:"zoom-slider-shell",children:[k.jsx("div",{className:"zoom-slider-track"}),k.jsx("div",{className:"zoom-slider-fill",style:{width:`calc(${ut*.92}%)`}}),k.jsx("input",{className:"zoom-slider",type:"range",min:ka,max:ar,step:cT,value:s,onChange:F=>W(Number(F.currentTarget.value)),"aria-label":"Timeline zoom"})]}),k.jsx("button",{className:"zoom-button",type:"button",onClick:()=>W(s*1.25),"aria-label":"Zoom in",children:"+"}),k.jsx("button",{className:"zoom-pill",type:"button",onClick:st,children:"fit"}),k.jsxs("button",{className:"zoom-pill mono",type:"button",onClick:()=>W(1),children:[Math.round(s*100),"%"]})]})]}),k.jsxs("div",{className:"timeline-body",children:[k.jsxs("div",{className:"timeline-outliner",children:[k.jsx("div",{className:"timeline-ruler timeline-outliner-ruler"}),rs.map(F=>k.jsxs("div",{className:"timeline-outliner-row",children:[k.jsx("span",{className:`lane-glyph lane-${F}`,children:Vp[F].glyph}),k.jsx("span",{children:Vp[F].label})]},F))]}),k.jsxs("div",{ref:f,className:"timeline-scroll",children:[k.jsx("div",{className:"timeline-ruler",style:{width:K},children:D.map(F=>k.jsx("div",{className:"timeline-tick",style:{left:F.leftPx},children:k.jsx("span",{className:"timeline-tick-label mono",children:F.label})},F.value))}),k.jsxs("div",{className:"timeline-tracks",style:{width:K},children:[Q!==null?k.jsx("div",{className:"timeline-playhead",style:{left:Da(Q,b,S,R)}}):null,rs.map(F=>{const j=rt[F],P=F==="tools"?a.toolSpans:[];return k.jsxs("div",{className:"timeline-track-row",children:[P.map(tt=>hT(tt,u,b,S,R,r)),j.map(tt=>fT(tt,u,b,S,R,r))]},F)})]})]})]})]})}function fT(n,a,u,r,s,h){var b;const f=(a==null?void 0:a.kind)==="event"&&a.id===n.id,d=n.timeMs===null?0:Da(n.timeMs,u,r,s),p=n.type==="toolCall"?16:On((((b=n.preview)==null?void 0:b.length)??n.label.length)*5+22,18,160),m=dT(d,p,s);return k.jsx("button",{type:"button",className:["timeline-event",`lane-${n.lane}`,n.type==="toolResult"||n.type==="toolCall"?"timeline-event-anchor":"timeline-event-card",f?"is-selected":"",n.isError?"is-error":""].filter(Boolean).join(" "),style:{left:m,width:p},title:`${n.label}${n.preview?` — ${n.preview}`:""}`,onClick:()=>h({kind:"event",id:n.id}),children:k.jsxs("span",{className:"timeline-event-inner",children:[k.jsx("span",{className:"timeline-event-badge mono",children:n.badge??n.type}),k.jsx("span",{className:"timeline-event-label",children:n.label})]})},n.id)}function hT(n,a,u,r,s,h){const f=(a==null?void 0:a.kind)==="span"&&a.id===n.id,d=n.startTimeMs===null?0:Da(n.startTimeMs,u,r,s),p=n.endTimeMs===null?d+12:Da(n.endTimeMs,u,r,s),{leftPx:m,widthPx:b}=pT(d,p,s);return k.jsx("button",{type:"button",className:["timeline-span",f?"is-selected":"",n.isError?"is-error":"",n.pairStatus==="orphan_call"?"is-orphan":""].filter(Boolean).join(" "),style:{left:m,width:b},title:`${n.label} — ${zl(n.durationMs)}`,onClick:()=>h({kind:"span",id:n.id}),children:k.jsxs("span",{className:"timeline-span-inner",children:[k.jsx("span",{className:"timeline-span-label",children:n.label}),k.jsx("span",{className:"timeline-span-duration mono",children:zl(n.durationMs)})]})},n.id)}function mT(n,a,u,r){const s=[],h=Math.floor(n/u)*u;for(let f=h;f<=a+u;f+=u)s.push({value:f,leftPx:Da(f,n,Math.max(1,a-n),r),label:Qp(f,n)});return s}function Da(n,a,u,r){return(n-a)/u*r}function dT(n,a,u){const r=a/2;return On(n,r,u-r)}function pT(n,a,u){const s=On(n,0,u),h=On(a,0,u),f=Math.max(0,h-s),d=Math.min(u,Math.max(12,f));return{leftPx:On(s,0,Math.max(0,u-d)),widthPx:d}}function gT(n){return n.length*oT}function yT(n,a){const u=[250,500,1e3,2e3,5e3,1e4,15e3,3e4,6e4,12e4,3e5,6e5,9e5],r=96;for(const s of u)if(s/n*a>=r)return s;return u[u.length-1]}function bT(n,a){var u,r;return n?n.kind==="event"?((u=a.events.find(s=>s.id===n.id))==null?void 0:u.timeMs)??null:((r=a.toolSpans.find(s=>s.id===n.id))==null?void 0:r.startTimeMs)??null:null}function vT(n){const{detail:a,loading:u,error:r,selection:s,onSelect:h,onBack:f,onRefresh:d}=n;if(St.useEffect(()=>{if(!a||s)return;const y=a.toolSpans[0];if(y){h({kind:"span",id:y.id});return}const S=a.events[0];S&&h({kind:"event",id:S.id})},[a,h,s]),u)return k.jsxs("section",{className:"view view-session panel empty-panel",children:[k.jsx("h2",{children:"Loading session"}),k.jsx("p",{children:"Parsing events, pairing tool calls, and building the filmstrip…"})]});if(r)return k.jsxs("section",{className:"view view-session panel empty-panel empty-panel-error",children:[k.jsx("h2",{children:"Could not load session"}),k.jsx("p",{children:r}),k.jsxs("div",{className:"empty-panel-actions",children:[k.jsx("button",{className:"ghost-button",type:"button",onClick:f,children:"Back to browser"}),k.jsx("button",{className:"ghost-button",type:"button",onClick:d,children:"Retry"})]})]});if(!a)return k.jsxs("section",{className:"view view-session panel empty-panel",children:[k.jsx("h2",{children:"No session selected"}),k.jsx("p",{children:"Pick a Pi session from the browser to open the filmstrip view."})]});const m=a.session.relativePath.split("/").filter(Boolean).slice(0,-1),b=m.length>3?[m[0],"…",...m.slice(-2)]:m;return k.jsxs("section",{className:"view view-session",children:[k.jsxs("div",{className:"session-header panel",children:[k.jsxs("div",{className:"session-header-row",children:[k.jsxs("div",{className:"breadcrumbs",children:[k.jsx("button",{className:"icon-button",type:"button",onClick:f,title:"Back to browser",children:"←"}),b.map((y,S)=>k.jsxs("span",{className:"breadcrumbs-segment",children:[k.jsx("span",{children:"›"}),k.jsx("span",{className:"mono selectable",children:y})]},`crumb:${S}:${y}`)),k.jsx("span",{children:"›"}),k.jsx("span",{className:"mono selectable breadcrumbs-file",children:a.session.fileName})]}),k.jsx("div",{className:"session-actions",children:k.jsx("button",{className:"icon-button",type:"button",onClick:d,title:"Refresh",children:"↻"})})]}),k.jsx("div",{className:"session-path-meta mono selectable",children:a.session.relativePath}),k.jsxs("div",{className:"session-summary-grid",children:[k.jsx(vi,{label:"Started",value:Aa(a.session.startedAt)}),k.jsx(vi,{label:"Duration",value:zl(a.session.durationMs),mono:!0}),k.jsx(vi,{label:"Events",value:String(a.stats.eventCount),mono:!0}),k.jsx(vi,{label:"Tools",value:String(a.stats.toolCount),mono:!0}),k.jsx(vi,{label:"Errors",value:String(a.stats.errorCount),mono:!0,tone:a.stats.errorCount>0?"error":"default"}),k.jsx(vi,{label:"Model",value:[a.session.modelId,a.session.provider].filter(Boolean).join(" / ")||"—"})]}),a.warnings.length>0?k.jsxs("div",{className:"warning-banner",children:[k.jsxs("strong",{children:[a.warnings.length," parse warning",a.warnings.length===1?"":"s"]}),k.jsx("span",{children:"Malformed or partial trailing JSONL lines were skipped, but the rest of the session is still visible."})]}):null]}),k.jsxs("div",{className:"session-workspace",children:[k.jsx(sT,{detail:a,selection:s,onSelect:h}),k.jsx(lT,{detail:a,selection:s})]})]})}function vi(n){const a=["summary-metric"];return n.tone==="error"&&a.push("summary-metric-error"),k.jsxs("div",{className:a.join(" "),children:[k.jsx("div",{className:"summary-label",children:n.label}),k.jsx("div",{className:`summary-value ${n.mono?"mono":""} ${n.tone==="error"?"cell-error":""} selectable`,children:n.value})]})}const cr={rootPath:null,rootLabel:null,status:"unset",error:null};function xT(){const n=Xp(),[a,u]=St.useState(n.relativePath?"session":"browser"),[r,s]=St.useState(n.relativePath),[h,f]=St.useState(cr),[d,p]=St.useState([]),[m,b]=St.useState(!0),[y,S]=St.useState(null),[x,w]=St.useState(null),[R,H]=St.useState(!1),[D,K]=St.useState(null),[Q,ut]=St.useState(0),[rt,U]=St.useState(null),[W,st]=St.useState(null);St.useEffect(()=>{const _=()=>{const G=Xp();if(G.relativePath){s(G.relativePath),u("session");return}u("browser")};return window.addEventListener("popstate",_),()=>window.removeEventListener("popstate",_)},[]),St.useEffect(()=>{bt()},[]),St.useEffect(()=>{U(null)},[r,h.rootPath]),St.useEffect(()=>{!r||!h.rootPath||m||y||d.some(G=>G.relativePath===r)||(s(null),w(null),K(null),U(null),st({tone:"warning",title:"Session no longer available",description:"The selected relative path was not found under the active source root."}),cs(u))},[r,d,y,m,h.rootPath]),St.useEffect(()=>{if(!r||!h.rootPath){w(null),K(null),H(!1);return}H(!0),K(null);const _=new URLSearchParams({path:r});fetch(`/api/sessions/detail?${_.toString()}`).then(async G=>{const nt=await G.json();if(!G.ok)throw new Error(nt.error??"Failed to load session detail");return nt.detail}).then(G=>{w(G)}).catch(G=>{w(null),K(G instanceof Error?G.message:"Failed to load session detail")}).finally(()=>H(!1))},[Q,r,h.rootPath]);const F=a==="session"&&r&&h.rootPath?"session":"browser",j=r,P=St.useMemo(()=>x?x.session.fileName:ST(r)??"Current Session",[x,r]),tt=St.useMemo(()=>W||(a==="session"&&r&&!h.rootPath?{tone:"warning",title:"Select a source root",description:"Choose a directory that contains this relative path to open the session."}:null),[r,W,h.rootPath,a]);return k.jsxs("div",{className:"app-shell",children:[k.jsxs("header",{className:"app-top-bar",children:[k.jsxs("div",{className:"app-brand",children:[k.jsx("span",{className:"app-brand-mark",children:"⬢"}),k.jsx("span",{children:"Filmstrip"})]}),k.jsx("button",{className:`app-tab ${F==="browser"?"is-active":""}`,type:"button",onClick:()=>cs(u),children:"Browser"}),k.jsx("button",{className:`app-tab ${F==="session"?"is-active":""}`,type:"button",disabled:!j||!h.rootPath,onClick:()=>j?Gp(j,u):void 0,children:P}),k.jsx("div",{className:"app-spacer"}),k.jsx(TT,{source:h,onOpenSource:it,onRescanSource:I})]}),F==="browser"?k.jsx(k0,{source:h,sourceNotice:tt,sessions:d,loading:m,error:y,currentSessionKey:j,onOpenSession:_=>{st(null),s(_),Gp(_,u)}}):k.jsx(vT,{detail:x,loading:R,error:D,selection:rt,onSelect:U,onBack:()=>cs(u),onRefresh:()=>ut(_=>_+1)})]});async function bt(){b(!0),S(null);try{const _=await ur();if(f(_),!_.rootPath){p([]);return}const G=await os();p(G),f(await ur())}catch(_){S(_ instanceof Error?_.message:"Failed to load sessions")}finally{b(!1)}}async function it(_){b(!0),S(null),st(null);try{const G=await fetch("/api/source/open",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({path:_})}),nt=await G.json();if(f(nt.source??cr),!G.ok)return;const gt=await os();p(gt),ut(T=>T+1),f(await ur())}catch(G){S(G instanceof Error?G.message:"Failed to open source root")}finally{b(!1)}}async function I(){b(!0),S(null),st(null);try{const _=await fetch("/api/source/rescan",{method:"POST",headers:{"content-type":"application/json"}}),G=await _.json();if(f(G.source??cr),!_.ok)return;const nt=await os();p(nt),ut(gt=>gt+1),f(await ur())}catch(_){S(_ instanceof Error?_.message:"Failed to rescan source root")}finally{b(!1)}}}async function ur(){const n=await fetch("/api/source"),a=await n.json();if(!n.ok)throw new Error(a.error??"Failed to load source state");return a.source??cr}async function os(){const n=await fetch("/api/sessions"),a=await n.json();if(!n.ok)throw new Error(a.error??"Failed to load sessions");return a.sessions}function Xp(){return{relativePath:new URLSearchParams(window.location.search).get("path")}}function Gp(n,a){const u=new URLSearchParams({path:n});window.history.pushState({},"",`/?${u.toString()}`),a("session")}function cs(n){window.history.pushState({},"","/"),n("browser")}function ST(n){return n?n.split("/").filter(Boolean).at(-1)??n:null}function ET(n){if(!n)return"No source";const a=n.replace(/\/+$/,"").split("/").filter(Boolean);return a.length<=2?n:a.slice(-2).join("/")}function TT(n){const{source:a,onOpenSource:u,onRescanSource:r}=n,[s,h]=St.useState(!1),[f,d]=St.useState(a.rootPath??""),[p,m]=St.useState(!1),b=St.useRef(null);if(St.useEffect(()=>{a.rootPath&&d(a.rootPath)},[a.rootPath]),St.useEffect(()=>{var S,x;s&&((S=b.current)==null||S.focus(),(x=b.current)==null||x.select())},[s]),s)return k.jsxs("div",{className:"source-edit-row",children:[k.jsx("input",{ref:b,className:"search-input source-input-inline mono selectable",type:"text",value:f,onChange:S=>d(S.currentTarget.value),onKeyDown:S=>{S.key==="Enter"&&y(),S.key==="Escape"&&h(!1)},placeholder:"/path/to/pi-session-root"}),k.jsx("button",{className:"ghost-button",type:"button",disabled:p||!f.trim(),onClick:()=>void y(),children:"Save"}),k.jsx("button",{className:"ghost-button",type:"button",disabled:p,onClick:()=>h(!1),children:"Cancel"})]});return k.jsxs("div",{className:"source-display-row",children:[k.jsx("span",{className:"source-root-title",children:"Source"}),k.jsx("span",{className:"app-meta mono source-root-label",title:a.rootPath??void 0,children:ET(a.rootPath)}),k.jsx("button",{className:"ghost-button",type:"button",onClick:()=>h(!0),children:"Edit"})]});async function y(){const S=f.trim();if(S){m(!0);try{await u(S),h(!1)}finally{m(!1)}}}}T0.createRoot(document.getElementById("root")).render(k.jsxs(p0.StrictMode,{children:[k.jsx(xT,{}),!1]}));
|