@doclessai/sdk 0.3.5 → 0.4.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 +11 -2
- package/dist/chunk-LLCLTLYW.js +96 -0
- package/dist/index.cjs +70 -13
- package/dist/index.d.cts +13 -6
- package/dist/index.d.ts +13 -6
- package/dist/index.js +1 -1
- package/dist/loader.cjs +70 -13
- package/dist/loader.js +1 -1
- package/dist/loader.standalone.js +127 -55
- package/package.json +3 -2
- package/dist/chunk-IRSYXS5O.js +0 -39
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
"use strict";(()=>{var q1=Object.create;var Ao=Object.defineProperty;var j1=Object.getOwnPropertyDescriptor;var Y1=Object.getOwnPropertyNames;var V1=Object.getPrototypeOf,X1=Object.prototype.hasOwnProperty;var Gt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Sp=(t,e)=>{for(var n in e)Ao(t,n,{get:e[n],enumerable:!0})},G1=(t,e,n,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Y1(e))!X1.call(t,i)&&i!==n&&Ao(t,i,{get:()=>e[i],enumerable:!(l=j1(e,i))||l.enumerable});return t};var Ft=(t,e,n)=>(n=t!=null?q1(V1(t)):{},G1(e||!t||!t.__esModule?Ao(n,"default",{value:t,enumerable:!0}):n,t));var Mp=Gt(q=>{"use strict";var ko=Symbol.for("react.transitional.element"),Q1=Symbol.for("react.portal"),Z1=Symbol.for("react.fragment"),K1=Symbol.for("react.strict_mode"),J1=Symbol.for("react.profiler"),F1=Symbol.for("react.consumer"),I1=Symbol.for("react.context"),W1=Symbol.for("react.forward_ref"),$1=Symbol.for("react.suspense"),P1=Symbol.for("react.memo"),Cp=Symbol.for("react.lazy"),tx=Symbol.for("react.activity"),Ep=Symbol.iterator;function ex(t){return t===null||typeof t!="object"?null:(t=Ep&&t[Ep]||t["@@iterator"],typeof t=="function"?t:null)}var Op={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},kp=Object.assign,Dp={};function Yl(t,e,n){this.props=t,this.context=e,this.refs=Dp,this.updater=n||Op}Yl.prototype.isReactComponent={};Yl.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};Yl.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function wp(){}wp.prototype=Yl.prototype;function Do(t,e,n){this.props=t,this.context=e,this.refs=Dp,this.updater=n||Op}var wo=Do.prototype=new wp;wo.constructor=Do;kp(wo,Yl.prototype);wo.isPureReactComponent=!0;var Tp=Array.isArray;function Oo(){}var rt={H:null,A:null,T:null,S:null},_p=Object.prototype.hasOwnProperty;function _o(t,e,n){var l=n.ref;return{$$typeof:ko,type:t,key:e,ref:l!==void 0?l:null,props:n}}function nx(t,e){return _o(t.type,e,t.props)}function Mo(t){return typeof t=="object"&&t!==null&&t.$$typeof===ko}function lx(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var zp=/\/+/g;function Co(t,e){return typeof t=="object"&&t!==null&&t.key!=null?lx(""+t.key):e.toString(36)}function ix(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(Oo,Oo):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function jl(t,e,n,l,i){var a=typeof t;(a==="undefined"||a==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(a){case"bigint":case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case ko:case Q1:u=!0;break;case Cp:return u=t._init,jl(u(t._payload),e,n,l,i)}}if(u)return i=i(t),u=l===""?"."+Co(t,0):l,Tp(i)?(n="",u!=null&&(n=u.replace(zp,"$&/")+"/"),jl(i,e,n,"",function(f){return f})):i!=null&&(Mo(i)&&(i=nx(i,n+(i.key==null||t&&t.key===i.key?"":(""+i.key).replace(zp,"$&/")+"/")+u)),e.push(i)),1;u=0;var r=l===""?".":l+":";if(Tp(t))for(var o=0;o<t.length;o++)l=t[o],a=r+Co(l,o),u+=jl(l,e,n,a,i);else if(o=ex(t),typeof o=="function")for(t=o.call(t),o=0;!(l=t.next()).done;)l=l.value,a=r+Co(l,o++),u+=jl(l,e,n,a,i);else if(a==="object"){if(typeof t.then=="function")return jl(ix(t),e,n,l,i);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return u}function ou(t,e,n){if(t==null)return t;var l=[],i=0;return jl(t,l,"","",function(a){return e.call(n,a,i++)}),l}function ax(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Ap=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)},ux={map:ou,forEach:function(t,e,n){ou(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return ou(t,function(){e++}),e},toArray:function(t){return ou(t,function(e){return e})||[]},only:function(t){if(!Mo(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};q.Activity=tx;q.Children=ux;q.Component=Yl;q.Fragment=Z1;q.Profiler=J1;q.PureComponent=Do;q.StrictMode=K1;q.Suspense=$1;q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=rt;q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return rt.H.useMemoCache(t)}};q.cache=function(t){return function(){return t.apply(null,arguments)}};q.cacheSignal=function(){return null};q.cloneElement=function(t,e,n){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var l=kp({},t.props),i=t.key;if(e!=null)for(a in e.key!==void 0&&(i=""+e.key),e)!_p.call(e,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&e.ref===void 0||(l[a]=e[a]);var a=arguments.length-2;if(a===1)l.children=n;else if(1<a){for(var u=Array(a),r=0;r<a;r++)u[r]=arguments[r+2];l.children=u}return _o(t.type,i,l)};q.createContext=function(t){return t={$$typeof:I1,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:F1,_context:t},t};q.createElement=function(t,e,n){var l,i={},a=null;if(e!=null)for(l in e.key!==void 0&&(a=""+e.key),e)_p.call(e,l)&&l!=="key"&&l!=="__self"&&l!=="__source"&&(i[l]=e[l]);var u=arguments.length-2;if(u===1)i.children=n;else if(1<u){for(var r=Array(u),o=0;o<u;o++)r[o]=arguments[o+2];i.children=r}if(t&&t.defaultProps)for(l in u=t.defaultProps,u)i[l]===void 0&&(i[l]=u[l]);return _o(t,a,i)};q.createRef=function(){return{current:null}};q.forwardRef=function(t){return{$$typeof:W1,render:t}};q.isValidElement=Mo;q.lazy=function(t){return{$$typeof:Cp,_payload:{_status:-1,_result:t},_init:ax}};q.memo=function(t,e){return{$$typeof:P1,type:t,compare:e===void 0?null:e}};q.startTransition=function(t){var e=rt.T,n={};rt.T=n;try{var l=t(),i=rt.S;i!==null&&i(n,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&l.then(Oo,Ap)}catch(a){Ap(a)}finally{e!==null&&n.types!==null&&(e.types=n.types),rt.T=e}};q.unstable_useCacheRefresh=function(){return rt.H.useCacheRefresh()};q.use=function(t){return rt.H.use(t)};q.useActionState=function(t,e,n){return rt.H.useActionState(t,e,n)};q.useCallback=function(t,e){return rt.H.useCallback(t,e)};q.useContext=function(t){return rt.H.useContext(t)};q.useDebugValue=function(){};q.useDeferredValue=function(t,e){return rt.H.useDeferredValue(t,e)};q.useEffect=function(t,e){return rt.H.useEffect(t,e)};q.useEffectEvent=function(t){return rt.H.useEffectEvent(t)};q.useId=function(){return rt.H.useId()};q.useImperativeHandle=function(t,e,n){return rt.H.useImperativeHandle(t,e,n)};q.useInsertionEffect=function(t,e){return rt.H.useInsertionEffect(t,e)};q.useLayoutEffect=function(t,e){return rt.H.useLayoutEffect(t,e)};q.useMemo=function(t,e){return rt.H.useMemo(t,e)};q.useOptimistic=function(t,e){return rt.H.useOptimistic(t,e)};q.useReducer=function(t,e,n){return rt.H.useReducer(t,e,n)};q.useRef=function(t){return rt.H.useRef(t)};q.useState=function(t){return rt.H.useState(t)};q.useSyncExternalStore=function(t,e,n){return rt.H.useSyncExternalStore(t,e,n)};q.useTransition=function(){return rt.H.useTransition()};q.version="19.2.4"});var He=Gt((qT,Np)=>{"use strict";Np.exports=Mp()});var Xp=Gt(st=>{"use strict";function Bo(t,e){var n=t.length;t.push(e);t:for(;0<n;){var l=n-1>>>1,i=t[l];if(0<cu(i,e))t[l]=e,t[n]=i,n=l;else break t}}function Xe(t){return t.length===0?null:t[0]}function su(t){if(t.length===0)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var l=0,i=t.length,a=i>>>1;l<a;){var u=2*(l+1)-1,r=t[u],o=u+1,f=t[o];if(0>cu(r,n))o<i&&0>cu(f,r)?(t[l]=f,t[o]=n,l=o):(t[l]=r,t[u]=n,l=u);else if(o<i&&0>cu(f,n))t[l]=f,t[o]=n,l=o;else break t}}return e}function cu(t,e){var n=t.sortIndex-e.sortIndex;return n!==0?n:t.id-e.id}st.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Rp=performance,st.unstable_now=function(){return Rp.now()}):(No=Date,Up=No.now(),st.unstable_now=function(){return No.now()-Up});var Rp,No,Up,en=[],Cn=[],rx=1,Se=null,Vt=3,Ho=!1,Xi=!1,Gi=!1,Lo=!1,Lp=typeof setTimeout=="function"?setTimeout:null,qp=typeof clearTimeout=="function"?clearTimeout:null,Bp=typeof setImmediate<"u"?setImmediate:null;function fu(t){for(var e=Xe(Cn);e!==null;){if(e.callback===null)su(Cn);else if(e.startTime<=t)su(Cn),e.sortIndex=e.expirationTime,Bo(en,e);else break;e=Xe(Cn)}}function qo(t){if(Gi=!1,fu(t),!Xi)if(Xe(en)!==null)Xi=!0,Xl||(Xl=!0,Vl());else{var e=Xe(Cn);e!==null&&jo(qo,e.startTime-t)}}var Xl=!1,Qi=-1,jp=5,Yp=-1;function Vp(){return Lo?!0:!(st.unstable_now()-Yp<jp)}function Ro(){if(Lo=!1,Xl){var t=st.unstable_now();Yp=t;var e=!0;try{t:{Xi=!1,Gi&&(Gi=!1,qp(Qi),Qi=-1),Ho=!0;var n=Vt;try{e:{for(fu(t),Se=Xe(en);Se!==null&&!(Se.expirationTime>t&&Vp());){var l=Se.callback;if(typeof l=="function"){Se.callback=null,Vt=Se.priorityLevel;var i=l(Se.expirationTime<=t);if(t=st.unstable_now(),typeof i=="function"){Se.callback=i,fu(t),e=!0;break e}Se===Xe(en)&&su(en),fu(t)}else su(en);Se=Xe(en)}if(Se!==null)e=!0;else{var a=Xe(Cn);a!==null&&jo(qo,a.startTime-t),e=!1}}break t}finally{Se=null,Vt=n,Ho=!1}e=void 0}}finally{e?Vl():Xl=!1}}}var Vl;typeof Bp=="function"?Vl=function(){Bp(Ro)}:typeof MessageChannel<"u"?(Uo=new MessageChannel,Hp=Uo.port2,Uo.port1.onmessage=Ro,Vl=function(){Hp.postMessage(null)}):Vl=function(){Lp(Ro,0)};var Uo,Hp;function jo(t,e){Qi=Lp(function(){t(st.unstable_now())},e)}st.unstable_IdlePriority=5;st.unstable_ImmediatePriority=1;st.unstable_LowPriority=4;st.unstable_NormalPriority=3;st.unstable_Profiling=null;st.unstable_UserBlockingPriority=2;st.unstable_cancelCallback=function(t){t.callback=null};st.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):jp=0<t?Math.floor(1e3/t):5};st.unstable_getCurrentPriorityLevel=function(){return Vt};st.unstable_next=function(t){switch(Vt){case 1:case 2:case 3:var e=3;break;default:e=Vt}var n=Vt;Vt=e;try{return t()}finally{Vt=n}};st.unstable_requestPaint=function(){Lo=!0};st.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=Vt;Vt=t;try{return e()}finally{Vt=n}};st.unstable_scheduleCallback=function(t,e,n){var l=st.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?l+n:l):n=l,t){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=n+i,t={id:rx++,callback:e,priorityLevel:t,startTime:n,expirationTime:i,sortIndex:-1},n>l?(t.sortIndex=n,Bo(Cn,t),Xe(en)===null&&t===Xe(Cn)&&(Gi?(qp(Qi),Qi=-1):Gi=!0,jo(qo,n-l))):(t.sortIndex=i,Bo(en,t),Xi||Ho||(Xi=!0,Xl||(Xl=!0,Vl()))),t};st.unstable_shouldYield=Vp;st.unstable_wrapCallback=function(t){var e=Vt;return function(){var n=Vt;Vt=e;try{return t.apply(this,arguments)}finally{Vt=n}}}});var Qp=Gt((YT,Gp)=>{"use strict";Gp.exports=Xp()});var Kp=Gt(Zt=>{"use strict";var ox=He();function Zp(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function On(){}var Qt={d:{f:On,r:function(){throw Error(Zp(522))},D:On,C:On,L:On,m:On,X:On,S:On,M:On},p:0,findDOMNode:null},cx=Symbol.for("react.portal");function fx(t,e,n){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:cx,key:l==null?null:""+l,children:t,containerInfo:e,implementation:n}}var Zi=ox.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function pu(t,e){if(t==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}Zt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Qt;Zt.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(Zp(299));return fx(t,e,null,n)};Zt.flushSync=function(t){var e=Zi.T,n=Qt.p;try{if(Zi.T=null,Qt.p=2,t)return t()}finally{Zi.T=e,Qt.p=n,Qt.d.f()}};Zt.preconnect=function(t,e){typeof t=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,Qt.d.C(t,e))};Zt.prefetchDNS=function(t){typeof t=="string"&&Qt.d.D(t)};Zt.preinit=function(t,e){if(typeof t=="string"&&e&&typeof e.as=="string"){var n=e.as,l=pu(n,e.crossOrigin),i=typeof e.integrity=="string"?e.integrity:void 0,a=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;n==="style"?Qt.d.S(t,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:l,integrity:i,fetchPriority:a}):n==="script"&&Qt.d.X(t,{crossOrigin:l,integrity:i,fetchPriority:a,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};Zt.preinitModule=function(t,e){if(typeof t=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var n=pu(e.as,e.crossOrigin);Qt.d.M(t,{crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&Qt.d.M(t)};Zt.preload=function(t,e){if(typeof t=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var n=e.as,l=pu(n,e.crossOrigin);Qt.d.L(t,n,{crossOrigin:l,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};Zt.preloadModule=function(t,e){if(typeof t=="string")if(e){var n=pu(e.as,e.crossOrigin);Qt.d.m(t,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else Qt.d.m(t)};Zt.requestFormReset=function(t){Qt.d.r(t)};Zt.unstable_batchedUpdates=function(t,e){return t(e)};Zt.useFormState=function(t,e,n){return Zi.H.useFormState(t,e,n)};Zt.useFormStatus=function(){return Zi.H.useHostTransitionStatus()};Zt.version="19.2.4"});var Ip=Gt((XT,Fp)=>{"use strict";function Jp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jp)}catch(t){console.error(t)}}Jp(),Fp.exports=Kp()});var og=Gt(Hr=>{"use strict";var Dt=Qp(),Eh=He(),sx=Ip();function z(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Th(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Ma(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function zh(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 Ah(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 Wp(t){if(Ma(t)!==t)throw Error(z(188))}function px(t){var e=t.alternate;if(!e){if(e=Ma(t),e===null)throw Error(z(188));return e!==t?null:t}for(var n=t,l=e;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(l=i.return,l!==null){n=l;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Wp(i),t;if(a===l)return Wp(i),e;a=a.sibling}throw Error(z(188))}if(n.return!==l.return)n=i,l=a;else{for(var u=!1,r=i.child;r;){if(r===n){u=!0,n=i,l=a;break}if(r===l){u=!0,l=i,n=a;break}r=r.sibling}if(!u){for(r=a.child;r;){if(r===n){u=!0,n=a,l=i;break}if(r===l){u=!0,l=a,n=i;break}r=r.sibling}if(!u)throw Error(z(189))}}if(n.alternate!==l)throw Error(z(190))}if(n.tag!==3)throw Error(z(188));return n.stateNode.current===n?t:e}function Ch(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Ch(t),e!==null)return e;t=t.sibling}return null}var ft=Object.assign,mx=Symbol.for("react.element"),mu=Symbol.for("react.transitional.element"),ta=Symbol.for("react.portal"),Fl=Symbol.for("react.fragment"),Oh=Symbol.for("react.strict_mode"),vc=Symbol.for("react.profiler"),kh=Symbol.for("react.consumer"),fn=Symbol.for("react.context"),yf=Symbol.for("react.forward_ref"),Sc=Symbol.for("react.suspense"),Ec=Symbol.for("react.suspense_list"),gf=Symbol.for("react.memo"),kn=Symbol.for("react.lazy"),Tc=Symbol.for("react.activity"),hx=Symbol.for("react.memo_cache_sentinel"),$p=Symbol.iterator;function Ki(t){return t===null||typeof t!="object"?null:(t=$p&&t[$p]||t["@@iterator"],typeof t=="function"?t:null)}var dx=Symbol.for("react.client.reference");function zc(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===dx?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Fl:return"Fragment";case vc:return"Profiler";case Oh:return"StrictMode";case Sc:return"Suspense";case Ec:return"SuspenseList";case Tc:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case ta:return"Portal";case fn:return t.displayName||"Context";case kh:return(t._context.displayName||"Context")+".Consumer";case yf:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case gf:return e=t.displayName||null,e!==null?e:zc(t.type)||"Memo";case kn:e=t._payload,t=t._init;try{return zc(t(e))}catch{}}return null}var ea=Array.isArray,B=Eh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=sx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,dl={pending:!1,data:null,method:null,action:null},Ac=[],Il=-1;function Je(t){return{current:t}}function Mt(t){0>Il||(t.current=Ac[Il],Ac[Il]=null,Il--)}function ut(t,e){Il++,Ac[Il]=t.current,t.current=e}var Ke=Je(null),xa=Je(null),qn=Je(null),Zu=Je(null);function Ku(t,e){switch(ut(qn,e),ut(xa,t),ut(Ke,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?ah(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=ah(e),t=Jy(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Mt(Ke),ut(Ke,t)}function hi(){Mt(Ke),Mt(xa),Mt(qn)}function Cc(t){t.memoizedState!==null&&ut(Zu,t);var e=Ke.current,n=Jy(e,t.type);e!==n&&(ut(xa,t),ut(Ke,n))}function Ju(t){xa.current===t&&(Mt(Ke),Mt(xa)),Zu.current===t&&(Mt(Zu),Da._currentValue=dl)}var Yo,Pp;function sl(t){if(Yo===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Yo=e&&e[1]||"",Pp=-1<n.stack.indexOf(`
|
|
1
|
+
"use strict";(()=>{var kb=Object.create;var Zo=Object.defineProperty;var Eb=Object.getOwnPropertyDescriptor;var Tb=Object.getOwnPropertyNames;var Ab=Object.getPrototypeOf,zb=Object.prototype.hasOwnProperty;var Zt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),vp=(t,e)=>{for(var n in e)Zo(t,n,{get:e[n],enumerable:!0})},wb=(t,e,n,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Tb(e))!zb.call(t,i)&&i!==n&&Zo(t,i,{get:()=>e[i],enumerable:!(l=Eb(e,i))||l.enumerable});return t};var $t=(t,e,n)=>(n=t!=null?kb(Ab(t)):{},wb(e||!t||!t.__esModule?Zo(n,"default",{value:t,enumerable:!0}):n,t));var Mp=Zt(j=>{"use strict";var Jo=Symbol.for("react.transitional.element"),Cb=Symbol.for("react.portal"),Db=Symbol.for("react.fragment"),Ob=Symbol.for("react.strict_mode"),Mb=Symbol.for("react.profiler"),_b=Symbol.for("react.consumer"),Rb=Symbol.for("react.context"),Nb=Symbol.for("react.forward_ref"),Lb=Symbol.for("react.suspense"),Ub=Symbol.for("react.memo"),Ap=Symbol.for("react.lazy"),Bb=Symbol.for("react.activity"),Sp=Symbol.iterator;function Hb(t){return t===null||typeof t!="object"?null:(t=Sp&&t[Sp]||t["@@iterator"],typeof t=="function"?t:null)}var zp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wp=Object.assign,Cp={};function ti(t,e,n){this.props=t,this.context=e,this.refs=Cp,this.updater=n||zp}ti.prototype.isReactComponent={};ti.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};ti.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Dp(){}Dp.prototype=ti.prototype;function Io(t,e,n){this.props=t,this.context=e,this.refs=Cp,this.updater=n||zp}var Wo=Io.prototype=new Dp;Wo.constructor=Io;wp(Wo,ti.prototype);Wo.isPureReactComponent=!0;var kp=Array.isArray;function Ko(){}var ct={H:null,A:null,T:null,S:null},Op=Object.prototype.hasOwnProperty;function $o(t,e,n){var l=n.ref;return{$$typeof:Jo,type:t,key:e,ref:l!==void 0?l:null,props:n}}function qb(t,e){return $o(t.type,e,t.props)}function Po(t){return typeof t=="object"&&t!==null&&t.$$typeof===Jo}function jb(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Ep=/\/+/g;function Fo(t,e){return typeof t=="object"&&t!==null&&t.key!=null?jb(""+t.key):e.toString(36)}function Yb(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(Ko,Ko):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function Pl(t,e,n,l,i){var r=typeof t;(r==="undefined"||r==="boolean")&&(t=null);var a=!1;if(t===null)a=!0;else switch(r){case"bigint":case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case Jo:case Cb:a=!0;break;case Ap:return a=t._init,Pl(a(t._payload),e,n,l,i)}}if(a)return i=i(t),a=l===""?"."+Fo(t,0):l,kp(i)?(n="",a!=null&&(n=a.replace(Ep,"$&/")+"/"),Pl(i,e,n,"",function(c){return c})):i!=null&&(Po(i)&&(i=qb(i,n+(i.key==null||t&&t.key===i.key?"":(""+i.key).replace(Ep,"$&/")+"/")+a)),e.push(i)),1;a=0;var u=l===""?".":l+":";if(kp(t))for(var o=0;o<t.length;o++)l=t[o],r=u+Fo(l,o),a+=Pl(l,e,n,r,i);else if(o=Hb(t),typeof o=="function")for(t=o.call(t),o=0;!(l=t.next()).done;)l=l.value,r=u+Fo(l,o++),a+=Pl(l,e,n,r,i);else if(r==="object"){if(typeof t.then=="function")return Pl(Yb(t),e,n,l,i);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return a}function Ta(t,e,n){if(t==null)return t;var l=[],i=0;return Pl(t,l,"","",function(r){return e.call(n,r,i++)}),l}function Vb(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Tp=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)},Xb={map:Ta,forEach:function(t,e,n){Ta(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return Ta(t,function(){e++}),e},toArray:function(t){return Ta(t,function(e){return e})||[]},only:function(t){if(!Po(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};j.Activity=Bb;j.Children=Xb;j.Component=ti;j.Fragment=Db;j.Profiler=Mb;j.PureComponent=Io;j.StrictMode=Ob;j.Suspense=Lb;j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ct;j.__COMPILER_RUNTIME={__proto__:null,c:function(t){return ct.H.useMemoCache(t)}};j.cache=function(t){return function(){return t.apply(null,arguments)}};j.cacheSignal=function(){return null};j.cloneElement=function(t,e,n){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var l=wp({},t.props),i=t.key;if(e!=null)for(r in e.key!==void 0&&(i=""+e.key),e)!Op.call(e,r)||r==="key"||r==="__self"||r==="__source"||r==="ref"&&e.ref===void 0||(l[r]=e[r]);var r=arguments.length-2;if(r===1)l.children=n;else if(1<r){for(var a=Array(r),u=0;u<r;u++)a[u]=arguments[u+2];l.children=a}return $o(t.type,i,l)};j.createContext=function(t){return t={$$typeof:Rb,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:_b,_context:t},t};j.createElement=function(t,e,n){var l,i={},r=null;if(e!=null)for(l in e.key!==void 0&&(r=""+e.key),e)Op.call(e,l)&&l!=="key"&&l!=="__self"&&l!=="__source"&&(i[l]=e[l]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var u=Array(a),o=0;o<a;o++)u[o]=arguments[o+2];i.children=u}if(t&&t.defaultProps)for(l in a=t.defaultProps,a)i[l]===void 0&&(i[l]=a[l]);return $o(t,r,i)};j.createRef=function(){return{current:null}};j.forwardRef=function(t){return{$$typeof:Nb,render:t}};j.isValidElement=Po;j.lazy=function(t){return{$$typeof:Ap,_payload:{_status:-1,_result:t},_init:Vb}};j.memo=function(t,e){return{$$typeof:Ub,type:t,compare:e===void 0?null:e}};j.startTransition=function(t){var e=ct.T,n={};ct.T=n;try{var l=t(),i=ct.S;i!==null&&i(n,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&l.then(Ko,Tp)}catch(r){Tp(r)}finally{e!==null&&n.types!==null&&(e.types=n.types),ct.T=e}};j.unstable_useCacheRefresh=function(){return ct.H.useCacheRefresh()};j.use=function(t){return ct.H.use(t)};j.useActionState=function(t,e,n){return ct.H.useActionState(t,e,n)};j.useCallback=function(t,e){return ct.H.useCallback(t,e)};j.useContext=function(t){return ct.H.useContext(t)};j.useDebugValue=function(){};j.useDeferredValue=function(t,e){return ct.H.useDeferredValue(t,e)};j.useEffect=function(t,e){return ct.H.useEffect(t,e)};j.useEffectEvent=function(t){return ct.H.useEffectEvent(t)};j.useId=function(){return ct.H.useId()};j.useImperativeHandle=function(t,e,n){return ct.H.useImperativeHandle(t,e,n)};j.useInsertionEffect=function(t,e){return ct.H.useInsertionEffect(t,e)};j.useLayoutEffect=function(t,e){return ct.H.useLayoutEffect(t,e)};j.useMemo=function(t,e){return ct.H.useMemo(t,e)};j.useOptimistic=function(t,e){return ct.H.useOptimistic(t,e)};j.useReducer=function(t,e,n){return ct.H.useReducer(t,e,n)};j.useRef=function(t){return ct.H.useRef(t)};j.useState=function(t){return ct.H.useState(t)};j.useSyncExternalStore=function(t,e,n){return ct.H.useSyncExternalStore(t,e,n)};j.useTransition=function(){return ct.H.useTransition()};j.version="19.2.4"});var He=Zt((qz,_p)=>{"use strict";_p.exports=Mp()});var Vp=Zt(pt=>{"use strict";function lc(t,e){var n=t.length;t.push(e);t:for(;0<n;){var l=n-1>>>1,i=t[l];if(0<Aa(i,e))t[l]=e,t[n]=i,n=l;else break t}}function Qe(t){return t.length===0?null:t[0]}function wa(t){if(t.length===0)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var l=0,i=t.length,r=i>>>1;l<r;){var a=2*(l+1)-1,u=t[a],o=a+1,c=t[o];if(0>Aa(u,n))o<i&&0>Aa(c,u)?(t[l]=c,t[o]=n,l=o):(t[l]=u,t[a]=n,l=a);else if(o<i&&0>Aa(c,n))t[l]=c,t[o]=n,l=o;else break t}}return e}function Aa(t,e){var n=t.sortIndex-e.sortIndex;return n!==0?n:t.id-e.id}pt.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Rp=performance,pt.unstable_now=function(){return Rp.now()}):(tc=Date,Np=tc.now(),pt.unstable_now=function(){return tc.now()-Np});var Rp,tc,Np,an=[],Mn=[],Qb=1,ke=null,Xt=3,ic=!1,rr=!1,ar=!1,rc=!1,Bp=typeof setTimeout=="function"?setTimeout:null,Hp=typeof clearTimeout=="function"?clearTimeout:null,Lp=typeof setImmediate<"u"?setImmediate:null;function za(t){for(var e=Qe(Mn);e!==null;){if(e.callback===null)wa(Mn);else if(e.startTime<=t)wa(Mn),e.sortIndex=e.expirationTime,lc(an,e);else break;e=Qe(Mn)}}function ac(t){if(ar=!1,za(t),!rr)if(Qe(an)!==null)rr=!0,ni||(ni=!0,ei());else{var e=Qe(Mn);e!==null&&uc(ac,e.startTime-t)}}var ni=!1,ur=-1,qp=5,jp=-1;function Yp(){return rc?!0:!(pt.unstable_now()-jp<qp)}function ec(){if(rc=!1,ni){var t=pt.unstable_now();jp=t;var e=!0;try{t:{rr=!1,ar&&(ar=!1,Hp(ur),ur=-1),ic=!0;var n=Xt;try{e:{for(za(t),ke=Qe(an);ke!==null&&!(ke.expirationTime>t&&Yp());){var l=ke.callback;if(typeof l=="function"){ke.callback=null,Xt=ke.priorityLevel;var i=l(ke.expirationTime<=t);if(t=pt.unstable_now(),typeof i=="function"){ke.callback=i,za(t),e=!0;break e}ke===Qe(an)&&wa(an),za(t)}else wa(an);ke=Qe(an)}if(ke!==null)e=!0;else{var r=Qe(Mn);r!==null&&uc(ac,r.startTime-t),e=!1}}break t}finally{ke=null,Xt=n,ic=!1}e=void 0}}finally{e?ei():ni=!1}}}var ei;typeof Lp=="function"?ei=function(){Lp(ec)}:typeof MessageChannel<"u"?(nc=new MessageChannel,Up=nc.port2,nc.port1.onmessage=ec,ei=function(){Up.postMessage(null)}):ei=function(){Bp(ec,0)};var nc,Up;function uc(t,e){ur=Bp(function(){t(pt.unstable_now())},e)}pt.unstable_IdlePriority=5;pt.unstable_ImmediatePriority=1;pt.unstable_LowPriority=4;pt.unstable_NormalPriority=3;pt.unstable_Profiling=null;pt.unstable_UserBlockingPriority=2;pt.unstable_cancelCallback=function(t){t.callback=null};pt.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):qp=0<t?Math.floor(1e3/t):5};pt.unstable_getCurrentPriorityLevel=function(){return Xt};pt.unstable_next=function(t){switch(Xt){case 1:case 2:case 3:var e=3;break;default:e=Xt}var n=Xt;Xt=e;try{return t()}finally{Xt=n}};pt.unstable_requestPaint=function(){rc=!0};pt.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=Xt;Xt=t;try{return e()}finally{Xt=n}};pt.unstable_scheduleCallback=function(t,e,n){var l=pt.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?l+n:l):n=l,t){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=n+i,t={id:Qb++,callback:e,priorityLevel:t,startTime:n,expirationTime:i,sortIndex:-1},n>l?(t.sortIndex=n,lc(Mn,t),Qe(an)===null&&t===Qe(Mn)&&(ar?(Hp(ur),ur=-1):ar=!0,uc(ac,n-l))):(t.sortIndex=i,lc(an,t),rr||ic||(rr=!0,ni||(ni=!0,ei()))),t};pt.unstable_shouldYield=Yp;pt.unstable_wrapCallback=function(t){var e=Xt;return function(){var n=Xt;Xt=e;try{return t.apply(this,arguments)}finally{Xt=n}}}});var Qp=Zt((Yz,Xp)=>{"use strict";Xp.exports=Vp()});var Zp=Zt(Kt=>{"use strict";var Gb=He();function Gp(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function _n(){}var Ft={d:{f:_n,r:function(){throw Error(Gp(522))},D:_n,C:_n,L:_n,m:_n,X:_n,S:_n,M:_n},p:0,findDOMNode:null},Zb=Symbol.for("react.portal");function Fb(t,e,n){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Zb,key:l==null?null:""+l,children:t,containerInfo:e,implementation:n}}var or=Gb.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Ca(t,e){if(t==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}Kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ft;Kt.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(Gp(299));return Fb(t,e,null,n)};Kt.flushSync=function(t){var e=or.T,n=Ft.p;try{if(or.T=null,Ft.p=2,t)return t()}finally{or.T=e,Ft.p=n,Ft.d.f()}};Kt.preconnect=function(t,e){typeof t=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,Ft.d.C(t,e))};Kt.prefetchDNS=function(t){typeof t=="string"&&Ft.d.D(t)};Kt.preinit=function(t,e){if(typeof t=="string"&&e&&typeof e.as=="string"){var n=e.as,l=Ca(n,e.crossOrigin),i=typeof e.integrity=="string"?e.integrity:void 0,r=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;n==="style"?Ft.d.S(t,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:l,integrity:i,fetchPriority:r}):n==="script"&&Ft.d.X(t,{crossOrigin:l,integrity:i,fetchPriority:r,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};Kt.preinitModule=function(t,e){if(typeof t=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var n=Ca(e.as,e.crossOrigin);Ft.d.M(t,{crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&Ft.d.M(t)};Kt.preload=function(t,e){if(typeof t=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var n=e.as,l=Ca(n,e.crossOrigin);Ft.d.L(t,n,{crossOrigin:l,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};Kt.preloadModule=function(t,e){if(typeof t=="string")if(e){var n=Ca(e.as,e.crossOrigin);Ft.d.m(t,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else Ft.d.m(t)};Kt.requestFormReset=function(t){Ft.d.r(t)};Kt.unstable_batchedUpdates=function(t,e){return t(e)};Kt.useFormState=function(t,e,n){return or.H.useFormState(t,e,n)};Kt.useFormStatus=function(){return or.H.useHostTransitionStatus()};Kt.version="19.2.4"});var Jp=Zt((Xz,Kp)=>{"use strict";function Fp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Fp)}catch(t){console.error(t)}}Fp(),Kp.exports=Zp()});var u1=Zt(Pu=>{"use strict";var Mt=Qp(),Sd=He(),Kb=Jp();function w(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function kd(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Kr(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function Ed(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 Td(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 Ip(t){if(Kr(t)!==t)throw Error(w(188))}function Jb(t){var e=t.alternate;if(!e){if(e=Kr(t),e===null)throw Error(w(188));return e!==t?null:t}for(var n=t,l=e;;){var i=n.return;if(i===null)break;var r=i.alternate;if(r===null){if(l=i.return,l!==null){n=l;continue}break}if(i.child===r.child){for(r=i.child;r;){if(r===n)return Ip(i),t;if(r===l)return Ip(i),e;r=r.sibling}throw Error(w(188))}if(n.return!==l.return)n=i,l=r;else{for(var a=!1,u=i.child;u;){if(u===n){a=!0,n=i,l=r;break}if(u===l){a=!0,l=i,n=r;break}u=u.sibling}if(!a){for(u=r.child;u;){if(u===n){a=!0,n=r,l=i;break}if(u===l){a=!0,l=r,n=i;break}u=u.sibling}if(!a)throw Error(w(189))}}if(n.alternate!==l)throw Error(w(190))}if(n.tag!==3)throw Error(w(188));return n.stateNode.current===n?t:e}function Ad(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Ad(t),e!==null)return e;t=t.sibling}return null}var mt=Object.assign,Ib=Symbol.for("react.element"),Da=Symbol.for("react.transitional.element"),gr=Symbol.for("react.portal"),oi=Symbol.for("react.fragment"),zd=Symbol.for("react.strict_mode"),Yc=Symbol.for("react.profiler"),wd=Symbol.for("react.consumer"),hn=Symbol.for("react.context"),Us=Symbol.for("react.forward_ref"),Vc=Symbol.for("react.suspense"),Xc=Symbol.for("react.suspense_list"),Bs=Symbol.for("react.memo"),Rn=Symbol.for("react.lazy"),Qc=Symbol.for("react.activity"),Wb=Symbol.for("react.memo_cache_sentinel"),Wp=Symbol.iterator;function cr(t){return t===null||typeof t!="object"?null:(t=Wp&&t[Wp]||t["@@iterator"],typeof t=="function"?t:null)}var $b=Symbol.for("react.client.reference");function Gc(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===$b?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case oi:return"Fragment";case Yc:return"Profiler";case zd:return"StrictMode";case Vc:return"Suspense";case Xc:return"SuspenseList";case Qc:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case gr:return"Portal";case hn:return t.displayName||"Context";case wd:return(t._context.displayName||"Context")+".Consumer";case Us:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Bs:return e=t.displayName||null,e!==null?e:Gc(t.type)||"Memo";case Rn:e=t._payload,t=t._init;try{return Gc(t(e))}catch{}}return null}var yr=Array.isArray,H=Sd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,tt=Kb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,kl={pending:!1,data:null,method:null,action:null},Zc=[],ci=-1;function Je(t){return{current:t}}function Lt(t){0>ci||(t.current=Zc[ci],Zc[ci]=null,ci--)}function ot(t,e){ci++,Zc[ci]=t.current,t.current=e}var Ke=Je(null),Nr=Je(null),Qn=Je(null),ou=Je(null);function cu(t,e){switch(ot(Qn,e),ot(Nr,t),ot(Ke,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?id(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=id(e),t=Fy(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Lt(Ke),ot(Ke,t)}function wi(){Lt(Ke),Lt(Nr),Lt(Qn)}function Fc(t){t.memoizedState!==null&&ot(ou,t);var e=Ke.current,n=Fy(e,t.type);e!==n&&(ot(Nr,t),ot(Ke,n))}function su(t){Nr.current===t&&(Lt(Ke),Lt(Nr)),ou.current===t&&(Lt(ou),Gr._currentValue=kl)}var oc,$p;function xl(t){if(oc===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);oc=e&&e[1]||"",$p=-1<n.stack.indexOf(`
|
|
2
2
|
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+
|
|
4
|
-
`),
|
|
5
|
-
`);for(i=l=0;l<o.length&&!o[l].includes("DetermineComponentFrameRoot");)l++;for(;i<
|
|
6
|
-
`+o[l].replace(" at new "," at ");return t.displayName&&
|
|
3
|
+
`+oc+t+$p}var cc=!1;function sc(t,e){if(!t||cc)return"";cc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(p){var m=p}Reflect.construct(t,[],f)}else{try{f.call()}catch(p){m=p}t.call(f.prototype)}}else{try{throw Error()}catch(p){m=p}(f=t())&&typeof f.catch=="function"&&f.catch(function(){})}}catch(p){if(p&&m&&typeof p.stack=="string")return[p.stack,m.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=l.DetermineComponentFrameRoot(),a=r[0],u=r[1];if(a&&u){var o=a.split(`
|
|
4
|
+
`),c=u.split(`
|
|
5
|
+
`);for(i=l=0;l<o.length&&!o[l].includes("DetermineComponentFrameRoot");)l++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(l===o.length||i===c.length)for(l=o.length-1,i=c.length-1;1<=l&&0<=i&&o[l]!==c[i];)i--;for(;1<=l&&0<=i;l--,i--)if(o[l]!==c[i]){if(l!==1||i!==1)do if(l--,i--,0>i||o[l]!==c[i]){var s=`
|
|
6
|
+
`+o[l].replace(" at new "," at ");return t.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",t.displayName)),s}while(1<=l&&0<=i);break}}}finally{cc=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?xl(n):""}function Pb(t,e){switch(t.tag){case 26:case 27:case 5:return xl(t.type);case 16:return xl("Lazy");case 13:return t.child!==e&&e!==null?xl("Suspense Fallback"):xl("Suspense");case 19:return xl("SuspenseList");case 0:case 15:return sc(t.type,!1);case 11:return sc(t.type.render,!1);case 1:return sc(t.type,!0);case 31:return xl("Activity");default:return""}}function Pp(t){try{var e="",n=null;do e+=Pb(t,n),n=t,t=t.return;while(t);return e}catch(l){return`
|
|
7
7
|
Error generating stack: `+l.message+`
|
|
8
|
-
`+l.stack}}var Oc=Object.prototype.hasOwnProperty,xf=Dt.unstable_scheduleCallback,Go=Dt.unstable_cancelCallback,gx=Dt.unstable_shouldYield,xx=Dt.unstable_requestPaint,pe=Dt.unstable_now,bx=Dt.unstable_getCurrentPriorityLevel,Dh=Dt.unstable_ImmediatePriority,wh=Dt.unstable_UserBlockingPriority,Fu=Dt.unstable_NormalPriority,vx=Dt.unstable_LowPriority,_h=Dt.unstable_IdlePriority,Sx=Dt.log,Ex=Dt.unstable_setDisableYieldValue,Na=null,me=null;function Rn(t){if(typeof Sx=="function"&&Ex(t),me&&typeof me.setStrictMode=="function")try{me.setStrictMode(Na,t)}catch{}}var he=Math.clz32?Math.clz32:Ax,Tx=Math.log,zx=Math.LN2;function Ax(t){return t>>>=0,t===0?32:31-(Tx(t)/zx|0)|0}var hu=256,du=262144,yu=4194304;function pl(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 Sr(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var i=0,a=t.suspendedLanes,u=t.pingedLanes;t=t.warmLanes;var r=l&134217727;return r!==0?(l=r&~a,l!==0?i=pl(l):(u&=r,u!==0?i=pl(u):n||(n=r&~t,n!==0&&(i=pl(n))))):(r=l&~a,r!==0?i=pl(r):u!==0?i=pl(u):n||(n=l&~t,n!==0&&(i=pl(n)))),i===0?0:e!==0&&e!==i&&(e&a)===0&&(a=i&-i,n=e&-e,a>=n||a===32&&(n&4194048)!==0)?e:i}function Ra(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Cx(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 Mh(){var t=yu;return yu<<=1,(yu&62914560)===0&&(yu=4194304),t}function Qo(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Ua(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Ox(t,e,n,l,i,a){var u=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var r=t.entanglements,o=t.expirationTimes,f=t.hiddenUpdates;for(n=u&~n;0<n;){var c=31-he(n),m=1<<c;r[c]=0,o[c]=-1;var p=f[c];if(p!==null)for(f[c]=null,c=0;c<p.length;c++){var s=p[c];s!==null&&(s.lane&=-536870913)}n&=~m}l!==0&&Nh(t,l,0),a!==0&&i===0&&t.tag!==0&&(t.suspendedLanes|=a&~(u&~e))}function Nh(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-he(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function Rh(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-he(n),i=1<<l;i&e|t[l]&e&&(t[l]|=e),n&=~i}}function Uh(t,e){var n=e&-e;return n=(n&42)!==0?1:bf(n),(n&(t.suspendedLanes|e))!==0?0:n}function bf(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 vf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Bh(){var t=W.p;return t!==0?t:(t=window.event,t===void 0?32:ag(t.type))}function em(t,e){var n=W.p;try{return W.p=t,e()}finally{W.p=n}}var $n=Math.random().toString(36).slice(2),Ht="__reactFiber$"+$n,ee="__reactProps$"+$n,Ai="__reactContainer$"+$n,kc="__reactEvents$"+$n,kx="__reactListeners$"+$n,Dx="__reactHandles$"+$n,nm="__reactResources$"+$n,Ba="__reactMarker$"+$n;function Sf(t){delete t[Ht],delete t[ee],delete t[kc],delete t[kx],delete t[Dx]}function Wl(t){var e=t[Ht];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Ai]||n[Ht]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=fh(t);t!==null;){if(n=t[Ht])return n;t=fh(t)}return e}t=n,n=t.parentNode}return null}function Ci(t){if(t=t[Ht]||t[Ai]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function na(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(z(33))}function ri(t){var e=t[nm];return e||(e=t[nm]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function _t(t){t[Ba]=!0}var Hh=new Set,Lh={};function Al(t,e){di(t,e),di(t+"Capture",e)}function di(t,e){for(Lh[t]=e,t=0;t<e.length;t++)Hh.add(e[t])}var wx=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]*$"),lm={},im={};function _x(t){return Oc.call(im,t)?!0:Oc.call(lm,t)?!1:wx.test(t)?im[t]=!0:(lm[t]=!0,!1)}function _u(t,e,n){if(_x(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function gu(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function nn(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function Te(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function qh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Mx(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var i=l.get,a=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(u){n=""+u,a.call(this,u)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(u){n=""+u},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Dc(t){if(!t._valueTracker){var e=qh(t)?"checked":"value";t._valueTracker=Mx(t,e,""+t[e])}}function jh(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=qh(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function Iu(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 Nx=/[\n"\\]/g;function Ce(t){return t.replace(Nx,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function wc(t,e,n,l,i,a,u,r){t.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.type=u:t.removeAttribute("type"),e!=null?u==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Te(e)):t.value!==""+Te(e)&&(t.value=""+Te(e)):u!=="submit"&&u!=="reset"||t.removeAttribute("value"),e!=null?_c(t,u,Te(e)):n!=null?_c(t,u,Te(n)):l!=null&&t.removeAttribute("value"),i==null&&a!=null&&(t.defaultChecked=!!a),i!=null&&(t.checked=i&&typeof i!="function"&&typeof i!="symbol"),r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?t.name=""+Te(r):t.removeAttribute("name")}function Yh(t,e,n,l,i,a,u,r){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(t.type=a),e!=null||n!=null){if(!(a!=="submit"&&a!=="reset"||e!=null)){Dc(t);return}n=n!=null?""+Te(n):"",e=e!=null?""+Te(e):n,r||e===t.value||(t.value=e),t.defaultValue=e}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=r?t.checked:!!l,t.defaultChecked=!!l,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.name=u),Dc(t)}function _c(t,e,n){e==="number"&&Iu(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function oi(t,e,n,l){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Te(n),e=null,i=0;i<t.length;i++){if(t[i].value===n){t[i].selected=!0,l&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function Vh(t,e,n){if(e!=null&&(e=""+Te(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Te(n):""}function Xh(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(z(92));if(ea(l)){if(1<l.length)throw Error(z(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Te(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),Dc(t)}function yi(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Rx=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 am(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||Rx.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Gh(t,e,n){if(e!=null&&typeof e!="object")throw Error(z(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var i in e)l=e[i],e.hasOwnProperty(i)&&n[i]!==l&&am(t,i,l)}else for(var a in e)e.hasOwnProperty(a)&&am(t,a,e[a])}function Ef(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 Ux=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"]]),Bx=/^[\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 Mu(t){return Bx.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function sn(){}var Mc=null;function Tf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var $l=null,ci=null;function um(t){var e=Ci(t);if(e&&(t=e.stateNode)){var n=t[ee]||null;t:switch(t=e.stateNode,e.type){case"input":if(wc(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Ce(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var i=l[ee]||null;if(!i)throw Error(z(90));wc(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&jh(l)}break t;case"textarea":Vh(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&oi(t,!!n.multiple,e,!1)}}}var Zo=!1;function Qh(t,e,n){if(Zo)return t(e,n);Zo=!0;try{var l=t(e);return l}finally{if(Zo=!1,($l!==null||ci!==null)&&(Nr(),$l&&(e=$l,t=ci,ci=$l=null,um(e),t)))for(e=0;e<t.length;e++)um(t[e])}}function ba(t,e){var n=t.stateNode;if(n===null)return null;var l=n[ee]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(z(231,e,typeof n));return n}var yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Nc=!1;if(yn)try{Gl={},Object.defineProperty(Gl,"passive",{get:function(){Nc=!0}}),window.addEventListener("test",Gl,Gl),window.removeEventListener("test",Gl,Gl)}catch{Nc=!1}var Gl,Un=null,zf=null,Nu=null;function Zh(){if(Nu)return Nu;var t,e=zf,n=e.length,l,i="value"in Un?Un.value:Un.textContent,a=i.length;for(t=0;t<n&&e[t]===i[t];t++);var u=n-t;for(l=1;l<=u&&e[n-l]===i[a-l];l++);return Nu=i.slice(t,1<l?1-l:void 0)}function Ru(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 xu(){return!0}function rm(){return!1}function ne(t){function e(n,l,i,a,u){this._reactName=n,this._targetInst=i,this.type=l,this.nativeEvent=a,this.target=u,this.currentTarget=null;for(var r in t)t.hasOwnProperty(r)&&(n=t[r],this[r]=n?n(a):a[r]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?xu:rm,this.isPropagationStopped=rm,this}return ft(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=xu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=xu)},persist:function(){},isPersistent:xu}),e}var Cl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Er=ne(Cl),Ha=ft({},Cl,{view:0,detail:0}),Hx=ne(Ha),Ko,Jo,Ji,Tr=ft({},Ha,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Af,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!==Ji&&(Ji&&t.type==="mousemove"?(Ko=t.screenX-Ji.screenX,Jo=t.screenY-Ji.screenY):Jo=Ko=0,Ji=t),Ko)},movementY:function(t){return"movementY"in t?t.movementY:Jo}}),om=ne(Tr),Lx=ft({},Tr,{dataTransfer:0}),qx=ne(Lx),jx=ft({},Ha,{relatedTarget:0}),Fo=ne(jx),Yx=ft({},Cl,{animationName:0,elapsedTime:0,pseudoElement:0}),Vx=ne(Yx),Xx=ft({},Cl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Gx=ne(Xx),Qx=ft({},Cl,{data:0}),cm=ne(Qx),Zx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kx={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"},Jx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fx(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Jx[t])?!!e[t]:!1}function Af(){return Fx}var Ix=ft({},Ha,{key:function(t){if(t.key){var e=Zx[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ru(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Kx[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Af,charCode:function(t){return t.type==="keypress"?Ru(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ru(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Wx=ne(Ix),$x=ft({},Tr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fm=ne($x),Px=ft({},Ha,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Af}),tb=ne(Px),eb=ft({},Cl,{propertyName:0,elapsedTime:0,pseudoElement:0}),nb=ne(eb),lb=ft({},Tr,{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}),ib=ne(lb),ab=ft({},Cl,{newState:0,oldState:0}),ub=ne(ab),rb=[9,13,27,32],Cf=yn&&"CompositionEvent"in window,aa=null;yn&&"documentMode"in document&&(aa=document.documentMode);var ob=yn&&"TextEvent"in window&&!aa,Kh=yn&&(!Cf||aa&&8<aa&&11>=aa),sm=" ",pm=!1;function Jh(t,e){switch(t){case"keyup":return rb.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Pl=!1;function cb(t,e){switch(t){case"compositionend":return Fh(e);case"keypress":return e.which!==32?null:(pm=!0,sm);case"textInput":return t=e.data,t===sm&&pm?null:t;default:return null}}function fb(t,e){if(Pl)return t==="compositionend"||!Cf&&Jh(t,e)?(t=Zh(),Nu=zf=Un=null,Pl=!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 Kh&&e.locale!=="ko"?null:e.data;default:return null}}var sb={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 mm(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!sb[t.type]:e==="textarea"}function Ih(t,e,n,l){$l?ci?ci.push(l):ci=[l]:$l=l,e=hr(e,"onChange"),0<e.length&&(n=new Er("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var ua=null,va=null;function pb(t){Qy(t,0)}function zr(t){var e=na(t);if(jh(e))return t}function hm(t,e){if(t==="change")return e}var Wh=!1;yn&&(yn?(vu="oninput"in document,vu||(Io=document.createElement("div"),Io.setAttribute("oninput","return;"),vu=typeof Io.oninput=="function"),bu=vu):bu=!1,Wh=bu&&(!document.documentMode||9<document.documentMode));var bu,vu,Io;function dm(){ua&&(ua.detachEvent("onpropertychange",$h),va=ua=null)}function $h(t){if(t.propertyName==="value"&&zr(va)){var e=[];Ih(e,va,t,Tf(t)),Qh(pb,e)}}function mb(t,e,n){t==="focusin"?(dm(),ua=e,va=n,ua.attachEvent("onpropertychange",$h)):t==="focusout"&&dm()}function hb(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return zr(va)}function db(t,e){if(t==="click")return zr(e)}function yb(t,e){if(t==="input"||t==="change")return zr(e)}function gb(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ye=typeof Object.is=="function"?Object.is:gb;function Sa(t,e){if(ye(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var i=n[l];if(!Oc.call(e,i)||!ye(t[i],e[i]))return!1}return!0}function ym(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function gm(t,e){var n=ym(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=ym(n)}}function Ph(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Ph(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function td(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Iu(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Iu(t.document)}return e}function Of(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 xb=yn&&"documentMode"in document&&11>=document.documentMode,ti=null,Rc=null,ra=null,Uc=!1;function xm(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Uc||ti==null||ti!==Iu(l)||(l=ti,"selectionStart"in l&&Of(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),ra&&Sa(ra,l)||(ra=l,l=hr(Rc,"onSelect"),0<l.length&&(e=new Er("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=ti)))}function fl(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var ei={animationend:fl("Animation","AnimationEnd"),animationiteration:fl("Animation","AnimationIteration"),animationstart:fl("Animation","AnimationStart"),transitionrun:fl("Transition","TransitionRun"),transitionstart:fl("Transition","TransitionStart"),transitioncancel:fl("Transition","TransitionCancel"),transitionend:fl("Transition","TransitionEnd")},Wo={},ed={};yn&&(ed=document.createElement("div").style,"AnimationEvent"in window||(delete ei.animationend.animation,delete ei.animationiteration.animation,delete ei.animationstart.animation),"TransitionEvent"in window||delete ei.transitionend.transition);function Ol(t){if(Wo[t])return Wo[t];if(!ei[t])return t;var e=ei[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in ed)return Wo[t]=e[n];return t}var nd=Ol("animationend"),ld=Ol("animationiteration"),id=Ol("animationstart"),bb=Ol("transitionrun"),vb=Ol("transitionstart"),Sb=Ol("transitioncancel"),ad=Ol("transitionend"),ud=new Map,Bc="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(" ");Bc.push("scrollEnd");function je(t,e){ud.set(t,e),Al(e,[t])}var Wu=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)},Ee=[],ni=0,kf=0;function Ar(){for(var t=ni,e=kf=ni=0;e<t;){var n=Ee[e];Ee[e++]=null;var l=Ee[e];Ee[e++]=null;var i=Ee[e];Ee[e++]=null;var a=Ee[e];if(Ee[e++]=null,l!==null&&i!==null){var u=l.pending;u===null?i.next=i:(i.next=u.next,u.next=i),l.pending=i}a!==0&&rd(n,i,a)}}function Cr(t,e,n,l){Ee[ni++]=t,Ee[ni++]=e,Ee[ni++]=n,Ee[ni++]=l,kf|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Df(t,e,n,l){return Cr(t,e,n,l),$u(t)}function kl(t,e){return Cr(t,null,null,e),$u(t)}function rd(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var i=!1,a=t.return;a!==null;)a.childLanes|=n,l=a.alternate,l!==null&&(l.childLanes|=n),a.tag===22&&(t=a.stateNode,t===null||t._visibility&1||(i=!0)),t=a,a=a.return;return t.tag===3?(a=t.stateNode,i&&e!==null&&(i=31-he(n),t=a.hiddenUpdates,l=t[i],l===null?t[i]=[e]:l.push(e),e.lane=n|536870912),a):null}function $u(t){if(50<ya)throw ya=0,lf=null,Error(z(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var li={};function Eb(t,e,n,l){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fe(t,e,n,l){return new Eb(t,e,n,l)}function wf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function mn(t,e){var n=t.alternate;return n===null?(n=fe(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function od(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Uu(t,e,n,l,i,a){var u=0;if(l=t,typeof t=="function")wf(t)&&(u=1);else if(typeof t=="string")u=Av(t,n,Ke.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Tc:return t=fe(31,n,e,i),t.elementType=Tc,t.lanes=a,t;case Fl:return yl(n.children,i,a,e);case Oh:u=8,i|=24;break;case vc:return t=fe(12,n,e,i|2),t.elementType=vc,t.lanes=a,t;case Sc:return t=fe(13,n,e,i),t.elementType=Sc,t.lanes=a,t;case Ec:return t=fe(19,n,e,i),t.elementType=Ec,t.lanes=a,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case fn:u=10;break t;case kh:u=9;break t;case yf:u=11;break t;case gf:u=14;break t;case kn:u=16,l=null;break t}u=29,n=Error(z(130,t===null?"null":typeof t,"")),l=null}return e=fe(u,n,e,i),e.elementType=t,e.type=l,e.lanes=a,e}function yl(t,e,n,l){return t=fe(7,t,l,e),t.lanes=n,t}function $o(t,e,n){return t=fe(6,t,null,e),t.lanes=n,t}function cd(t){var e=fe(18,null,null,0);return e.stateNode=t,e}function Po(t,e,n){return e=fe(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var bm=new WeakMap;function Oe(t,e){if(typeof t=="object"&&t!==null){var n=bm.get(t);return n!==void 0?n:(e={value:t,source:e,stack:tm(e)},bm.set(t,e),e)}return{value:t,source:e,stack:tm(e)}}var ii=[],ai=0,Pu=null,Ea=0,ze=[],Ae=0,Jn=null,Ge=1,Qe="";function on(t,e){ii[ai++]=Ea,ii[ai++]=Pu,Pu=t,Ea=e}function fd(t,e,n){ze[Ae++]=Ge,ze[Ae++]=Qe,ze[Ae++]=Jn,Jn=t;var l=Ge;t=Qe;var i=32-he(l)-1;l&=~(1<<i),n+=1;var a=32-he(e)+i;if(30<a){var u=i-i%5;a=(l&(1<<u)-1).toString(32),l>>=u,i-=u,Ge=1<<32-he(e)+i|n<<i|l,Qe=a+t}else Ge=1<<a|n<<i|l,Qe=t}function _f(t){t.return!==null&&(on(t,1),fd(t,1,0))}function Mf(t){for(;t===Pu;)Pu=ii[--ai],ii[ai]=null,Ea=ii[--ai],ii[ai]=null;for(;t===Jn;)Jn=ze[--Ae],ze[Ae]=null,Qe=ze[--Ae],ze[Ae]=null,Ge=ze[--Ae],ze[Ae]=null}function sd(t,e){ze[Ae++]=Ge,ze[Ae++]=Qe,ze[Ae++]=Jn,Ge=e.id,Qe=e.overflow,Jn=t}var Lt=null,ct=null,F=!1,jn=null,ke=!1,Hc=Error(z(519));function Fn(t){var e=Error(z(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ta(Oe(e,t)),Hc}function vm(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[Ht]=t,e[ee]=l,n){case"dialog":Q("cancel",e),Q("close",e);break;case"iframe":case"object":case"embed":Q("load",e);break;case"video":case"audio":for(n=0;n<Oa.length;n++)Q(Oa[n],e);break;case"source":Q("error",e);break;case"img":case"image":case"link":Q("error",e),Q("load",e);break;case"details":Q("toggle",e);break;case"input":Q("invalid",e),Yh(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Q("invalid",e);break;case"textarea":Q("invalid",e),Xh(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||Ky(e.textContent,n)?(l.popover!=null&&(Q("beforetoggle",e),Q("toggle",e)),l.onScroll!=null&&Q("scroll",e),l.onScrollEnd!=null&&Q("scrollend",e),l.onClick!=null&&(e.onclick=sn),e=!0):e=!1,e||Fn(t,!0)}function Sm(t){for(Lt=t.return;Lt;)switch(Lt.tag){case 5:case 31:case 13:ke=!1;return;case 27:case 3:ke=!0;return;default:Lt=Lt.return}}function Ql(t){if(t!==Lt)return!1;if(!F)return Sm(t),F=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||cf(t.type,t.memoizedProps)),n=!n),n&&ct&&Fn(t),Sm(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(z(317));ct=ch(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(z(317));ct=ch(t)}else e===27?(e=ct,Pn(t.type)?(t=mf,mf=null,ct=t):ct=e):ct=Lt?we(t.stateNode.nextSibling):null;return!0}function vl(){ct=Lt=null,F=!1}function tc(){var t=jn;return t!==null&&(Pt===null?Pt=t:Pt.push.apply(Pt,t),jn=null),t}function Ta(t){jn===null?jn=[t]:jn.push(t)}var Lc=Je(null),Dl=null,pn=null;function wn(t,e,n){ut(Lc,e._currentValue),e._currentValue=n}function hn(t){t._currentValue=Lc.current,Mt(Lc)}function qc(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function jc(t,e,n,l){var i=t.child;for(i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){var u=i.child;a=a.firstContext;t:for(;a!==null;){var r=a;a=i;for(var o=0;o<e.length;o++)if(r.context===e[o]){a.lanes|=n,r=a.alternate,r!==null&&(r.lanes|=n),qc(a.return,n,t),l||(u=null);break t}a=r.next}}else if(i.tag===18){if(u=i.return,u===null)throw Error(z(341));u.lanes|=n,a=u.alternate,a!==null&&(a.lanes|=n),qc(u,n,t),u=null}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===t){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}}function Oi(t,e,n,l){t=null;for(var i=e,a=!1;i!==null;){if(!a){if((i.flags&524288)!==0)a=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var u=i.alternate;if(u===null)throw Error(z(387));if(u=u.memoizedProps,u!==null){var r=i.type;ye(i.pendingProps.value,u.value)||(t!==null?t.push(r):t=[r])}}else if(i===Zu.current){if(u=i.alternate,u===null)throw Error(z(387));u.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(t!==null?t.push(Da):t=[Da])}i=i.return}t!==null&&jc(e,t,n,l),e.flags|=262144}function tr(t){for(t=t.firstContext;t!==null;){if(!ye(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Sl(t){Dl=t,pn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function qt(t){return pd(Dl,t)}function Su(t,e){return Dl===null&&Sl(t),pd(t,e)}function pd(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},pn===null){if(t===null)throw Error(z(308));pn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else pn=pn.next=e;return n}var Tb=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},zb=Dt.unstable_scheduleCallback,Ab=Dt.unstable_NormalPriority,At={$$typeof:fn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Nf(){return{controller:new Tb,data:new Map,refCount:0}}function La(t){t.refCount--,t.refCount===0&&zb(Ab,function(){t.controller.abort()})}var oa=null,Yc=0,gi=0,fi=null;function Cb(t,e){if(oa===null){var n=oa=[];Yc=0,gi=is(),fi={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Yc++,e.then(Em,Em),e}function Em(){if(--Yc===0&&oa!==null){fi!==null&&(fi.status="fulfilled");var t=oa;oa=null,gi=0,fi=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Ob(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var i=0;i<n.length;i++)(0,n[i])(e)},function(i){for(l.status="rejected",l.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),l}var Tm=B.S;B.S=function(t,e){Cy=pe(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Cb(t,e),Tm!==null&&Tm(t,e)};var gl=Je(null);function Rf(){var t=gl.current;return t!==null?t:at.pooledCache}function Bu(t,e){e===null?ut(gl,gl.current):ut(gl,e.pool)}function md(){var t=Rf();return t===null?null:{parent:At._currentValue,pool:t}}var ki=Error(z(460)),Uf=Error(z(474)),Or=Error(z(542)),er={then:function(){}};function zm(t){return t=t.status,t==="fulfilled"||t==="rejected"}function hd(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(sn,sn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Cm(t),t;default:if(typeof e.status=="string")e.then(sn,sn);else{if(t=at,t!==null&&100<t.shellSuspendCounter)throw Error(z(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var i=e;i.status="fulfilled",i.value=l}},function(l){if(e.status==="pending"){var i=e;i.status="rejected",i.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Cm(t),t}throw xl=e,ki}}function ml(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(xl=n,ki):n}}var xl=null;function Am(){if(xl===null)throw Error(z(459));var t=xl;return xl=null,t}function Cm(t){if(t===ki||t===Or)throw Error(z(483))}var si=null,za=0;function Eu(t){var e=za;return za+=1,si===null&&(si=[]),hd(si,t,e)}function Fi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Tu(t,e){throw e.$$typeof===mx?Error(z(525)):(t=Object.prototype.toString.call(e),Error(z(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function dd(t){function e(h,d){if(t){var y=h.deletions;y===null?(h.deletions=[d],h.flags|=16):y.push(d)}}function n(h,d){if(!t)return null;for(;d!==null;)e(h,d),d=d.sibling;return null}function l(h){for(var d=new Map;h!==null;)h.key!==null?d.set(h.key,h):d.set(h.index,h),h=h.sibling;return d}function i(h,d){return h=mn(h,d),h.index=0,h.sibling=null,h}function a(h,d,y){return h.index=y,t?(y=h.alternate,y!==null?(y=y.index,y<d?(h.flags|=67108866,d):y):(h.flags|=67108866,d)):(h.flags|=1048576,d)}function u(h){return t&&h.alternate===null&&(h.flags|=67108866),h}function r(h,d,y,b){return d===null||d.tag!==6?(d=$o(y,h.mode,b),d.return=h,d):(d=i(d,y),d.return=h,d)}function o(h,d,y,b){var O=y.type;return O===Fl?c(h,d,y.props.children,b,y.key):d!==null&&(d.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===kn&&ml(O)===d.type)?(d=i(d,y.props),Fi(d,y),d.return=h,d):(d=Uu(y.type,y.key,y.props,null,h.mode,b),Fi(d,y),d.return=h,d)}function f(h,d,y,b){return d===null||d.tag!==4||d.stateNode.containerInfo!==y.containerInfo||d.stateNode.implementation!==y.implementation?(d=Po(y,h.mode,b),d.return=h,d):(d=i(d,y.children||[]),d.return=h,d)}function c(h,d,y,b,O){return d===null||d.tag!==7?(d=yl(y,h.mode,b,O),d.return=h,d):(d=i(d,y),d.return=h,d)}function m(h,d,y){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=$o(""+d,h.mode,y),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case mu:return y=Uu(d.type,d.key,d.props,null,h.mode,y),Fi(y,d),y.return=h,y;case ta:return d=Po(d,h.mode,y),d.return=h,d;case kn:return d=ml(d),m(h,d,y)}if(ea(d)||Ki(d))return d=yl(d,h.mode,y,null),d.return=h,d;if(typeof d.then=="function")return m(h,Eu(d),y);if(d.$$typeof===fn)return m(h,Su(h,d),y);Tu(h,d)}return null}function p(h,d,y,b){var O=d!==null?d.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return O!==null?null:r(h,d,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case mu:return y.key===O?o(h,d,y,b):null;case ta:return y.key===O?f(h,d,y,b):null;case kn:return y=ml(y),p(h,d,y,b)}if(ea(y)||Ki(y))return O!==null?null:c(h,d,y,b,null);if(typeof y.then=="function")return p(h,d,Eu(y),b);if(y.$$typeof===fn)return p(h,d,Su(h,y),b);Tu(h,y)}return null}function s(h,d,y,b,O){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return h=h.get(y)||null,r(d,h,""+b,O);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case mu:return h=h.get(b.key===null?y:b.key)||null,o(d,h,b,O);case ta:return h=h.get(b.key===null?y:b.key)||null,f(d,h,b,O);case kn:return b=ml(b),s(h,d,y,b,O)}if(ea(b)||Ki(b))return h=h.get(y)||null,c(d,h,b,O,null);if(typeof b.then=="function")return s(h,d,y,Eu(b),O);if(b.$$typeof===fn)return s(h,d,y,Su(d,b),O);Tu(d,b)}return null}function v(h,d,y,b){for(var O=null,S=null,C=d,N=d=0,_=null;C!==null&&N<y.length;N++){C.index>N?(_=C,C=null):_=C.sibling;var R=p(h,C,y[N],b);if(R===null){C===null&&(C=_);break}t&&C&&R.alternate===null&&e(h,C),d=a(R,d,N),S===null?O=R:S.sibling=R,S=R,C=_}if(N===y.length)return n(h,C),F&&on(h,N),O;if(C===null){for(;N<y.length;N++)C=m(h,y[N],b),C!==null&&(d=a(C,d,N),S===null?O=C:S.sibling=C,S=C);return F&&on(h,N),O}for(C=l(C);N<y.length;N++)_=s(C,h,N,y[N],b),_!==null&&(t&&_.alternate!==null&&C.delete(_.key===null?N:_.key),d=a(_,d,N),S===null?O=_:S.sibling=_,S=_);return t&&C.forEach(function(gt){return e(h,gt)}),F&&on(h,N),O}function E(h,d,y,b){if(y==null)throw Error(z(151));for(var O=null,S=null,C=d,N=d=0,_=null,R=y.next();C!==null&&!R.done;N++,R=y.next()){C.index>N?(_=C,C=null):_=C.sibling;var gt=p(h,C,R.value,b);if(gt===null){C===null&&(C=_);break}t&&C&>.alternate===null&&e(h,C),d=a(gt,d,N),S===null?O=gt:S.sibling=gt,S=gt,C=_}if(R.done)return n(h,C),F&&on(h,N),O;if(C===null){for(;!R.done;N++,R=y.next())R=m(h,R.value,b),R!==null&&(d=a(R,d,N),S===null?O=R:S.sibling=R,S=R);return F&&on(h,N),O}for(C=l(C);!R.done;N++,R=y.next())R=s(C,h,N,R.value,b),R!==null&&(t&&R.alternate!==null&&C.delete(R.key===null?N:R.key),d=a(R,d,N),S===null?O=R:S.sibling=R,S=R);return t&&C.forEach(function($){return e(h,$)}),F&&on(h,N),O}function k(h,d,y,b){if(typeof y=="object"&&y!==null&&y.type===Fl&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case mu:t:{for(var O=y.key;d!==null;){if(d.key===O){if(O=y.type,O===Fl){if(d.tag===7){n(h,d.sibling),b=i(d,y.props.children),b.return=h,h=b;break t}}else if(d.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===kn&&ml(O)===d.type){n(h,d.sibling),b=i(d,y.props),Fi(b,y),b.return=h,h=b;break t}n(h,d);break}else e(h,d);d=d.sibling}y.type===Fl?(b=yl(y.props.children,h.mode,b,y.key),b.return=h,h=b):(b=Uu(y.type,y.key,y.props,null,h.mode,b),Fi(b,y),b.return=h,h=b)}return u(h);case ta:t:{for(O=y.key;d!==null;){if(d.key===O)if(d.tag===4&&d.stateNode.containerInfo===y.containerInfo&&d.stateNode.implementation===y.implementation){n(h,d.sibling),b=i(d,y.children||[]),b.return=h,h=b;break t}else{n(h,d);break}else e(h,d);d=d.sibling}b=Po(y,h.mode,b),b.return=h,h=b}return u(h);case kn:return y=ml(y),k(h,d,y,b)}if(ea(y))return v(h,d,y,b);if(Ki(y)){if(O=Ki(y),typeof O!="function")throw Error(z(150));return y=O.call(y),E(h,d,y,b)}if(typeof y.then=="function")return k(h,d,Eu(y),b);if(y.$$typeof===fn)return k(h,d,Su(h,y),b);Tu(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,d!==null&&d.tag===6?(n(h,d.sibling),b=i(d,y),b.return=h,h=b):(n(h,d),b=$o(y,h.mode,b),b.return=h,h=b),u(h)):n(h,d)}return function(h,d,y,b){try{za=0;var O=k(h,d,y,b);return si=null,O}catch(C){if(C===ki||C===Or)throw C;var S=fe(29,C,null,h.mode);return S.lanes=b,S.return=h,S}}}var El=dd(!0),yd=dd(!1),Dn=!1;function Bf(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vc(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 Yn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Vn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(I&2)!==0){var i=l.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),l.pending=e,e=$u(t),rd(t,null,n),e}return Cr(t,l,e,n),$u(t)}function ca(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Rh(t,n)}}function ec(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=u:a=a.next=u,n=n.next}while(n!==null);a===null?i=a=e:a=a.next=e}else i=a=e;n={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Xc=!1;function fa(){if(Xc){var t=fi;if(t!==null)throw t}}function sa(t,e,n,l){Xc=!1;var i=t.updateQueue;Dn=!1;var a=i.firstBaseUpdate,u=i.lastBaseUpdate,r=i.shared.pending;if(r!==null){i.shared.pending=null;var o=r,f=o.next;o.next=null,u===null?a=f:u.next=f,u=o;var c=t.alternate;c!==null&&(c=c.updateQueue,r=c.lastBaseUpdate,r!==u&&(r===null?c.firstBaseUpdate=f:r.next=f,c.lastBaseUpdate=o))}if(a!==null){var m=i.baseState;u=0,c=f=o=null,r=a;do{var p=r.lane&-536870913,s=p!==r.lane;if(s?(K&p)===p:(l&p)===p){p!==0&&p===gi&&(Xc=!0),c!==null&&(c=c.next={lane:0,tag:r.tag,payload:r.payload,callback:null,next:null});t:{var v=t,E=r;p=e;var k=n;switch(E.tag){case 1:if(v=E.payload,typeof v=="function"){m=v.call(k,m,p);break t}m=v;break t;case 3:v.flags=v.flags&-65537|128;case 0:if(v=E.payload,p=typeof v=="function"?v.call(k,m,p):v,p==null)break t;m=ft({},m,p);break t;case 2:Dn=!0}}p=r.callback,p!==null&&(t.flags|=64,s&&(t.flags|=8192),s=i.callbacks,s===null?i.callbacks=[p]:s.push(p))}else s={lane:p,tag:r.tag,payload:r.payload,callback:r.callback,next:null},c===null?(f=c=s,o=m):c=c.next=s,u|=p;if(r=r.next,r===null){if(r=i.shared.pending,r===null)break;s=r,r=s.next,s.next=null,i.lastBaseUpdate=s,i.shared.pending=null}}while(!0);c===null&&(o=m),i.baseState=o,i.firstBaseUpdate=f,i.lastBaseUpdate=c,a===null&&(i.shared.lanes=0),Wn|=u,t.lanes=u,t.memoizedState=m}}function gd(t,e){if(typeof t!="function")throw Error(z(191,t));t.call(e)}function xd(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)gd(n[t],e)}var xi=Je(null),nr=Je(0);function Om(t,e){t=vn,ut(nr,t),ut(xi,e),vn=t|e.baseLanes}function Gc(){ut(nr,vn),ut(xi,xi.current)}function Hf(){vn=nr.current,Mt(xi),Mt(nr)}var ge=Je(null),De=null;function _n(t){var e=t.alternate;ut(xt,xt.current&1),ut(ge,t),De===null&&(e===null||xi.current!==null||e.memoizedState!==null)&&(De=t)}function Qc(t){ut(xt,xt.current),ut(ge,t),De===null&&(De=t)}function bd(t){t.tag===22?(ut(xt,xt.current),ut(ge,t),De===null&&(De=t)):Mn(t)}function Mn(){ut(xt,xt.current),ut(ge,ge.current)}function ce(t){Mt(ge),De===t&&(De=null),Mt(xt)}var xt=Je(0);function lr(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||sf(n)||pf(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==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 gn=0,V=null,lt=null,Tt=null,ir=!1,pi=!1,Tl=!1,ar=0,Aa=0,mi=null,kb=0;function ht(){throw Error(z(321))}function Lf(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!ye(t[n],e[n]))return!1;return!0}function qf(t,e,n,l,i,a){return gn=a,V=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=t===null||t.memoizedState===null?Id:If,Tl=!1,a=n(l,i),Tl=!1,pi&&(a=Sd(e,n,l,i)),vd(t),a}function vd(t){B.H=Ca;var e=lt!==null&<.next!==null;if(gn=0,Tt=lt=V=null,ir=!1,Aa=0,mi=null,e)throw Error(z(300));t===null||Ct||(t=t.dependencies,t!==null&&tr(t)&&(Ct=!0))}function Sd(t,e,n,l){V=t;var i=0;do{if(pi&&(mi=null),Aa=0,pi=!1,25<=i)throw Error(z(301));if(i+=1,Tt=lt=null,t.updateQueue!=null){var a=t.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}B.H=Wd,a=e(n,l)}while(pi);return a}function Db(){var t=B.H,e=t.useState()[0];return e=typeof e.then=="function"?qa(e):e,t=t.useState()[0],(lt!==null?lt.memoizedState:null)!==t&&(V.flags|=1024),e}function jf(){var t=ar!==0;return ar=0,t}function Yf(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Vf(t){if(ir){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ir=!1}gn=0,Tt=lt=V=null,pi=!1,Aa=ar=0,mi=null}function Kt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Tt===null?V.memoizedState=Tt=t:Tt=Tt.next=t,Tt}function bt(){if(lt===null){var t=V.alternate;t=t!==null?t.memoizedState:null}else t=lt.next;var e=Tt===null?V.memoizedState:Tt.next;if(e!==null)Tt=e,lt=t;else{if(t===null)throw V.alternate===null?Error(z(467)):Error(z(310));lt=t,t={memoizedState:lt.memoizedState,baseState:lt.baseState,baseQueue:lt.baseQueue,queue:lt.queue,next:null},Tt===null?V.memoizedState=Tt=t:Tt=Tt.next=t}return Tt}function kr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qa(t){var e=Aa;return Aa+=1,mi===null&&(mi=[]),t=hd(mi,t,e),e=V,(Tt===null?e.memoizedState:Tt.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?Id:If),t}function Dr(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return qa(t);if(t.$$typeof===fn)return qt(t)}throw Error(z(438,String(t)))}function Xf(t){var e=null,n=V.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=V.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(i){return i.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=kr(),V.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=hx;return e.index++,n}function xn(t,e){return typeof e=="function"?e(t):e}function Hu(t){var e=bt();return Gf(e,lt,t)}function Gf(t,e,n){var l=t.queue;if(l===null)throw Error(z(311));l.lastRenderedReducer=n;var i=t.baseQueue,a=l.pending;if(a!==null){if(i!==null){var u=i.next;i.next=a.next,a.next=u}e.baseQueue=i=a,l.pending=null}if(a=t.baseState,i===null)t.memoizedState=a;else{e=i.next;var r=u=null,o=null,f=e,c=!1;do{var m=f.lane&-536870913;if(m!==f.lane?(K&m)===m:(gn&m)===m){var p=f.revertLane;if(p===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null}),m===gi&&(c=!0);else if((gn&p)===p){f=f.next,p===gi&&(c=!0);continue}else m={lane:0,revertLane:f.revertLane,gesture:null,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null},o===null?(r=o=m,u=a):o=o.next=m,V.lanes|=p,Wn|=p;m=f.action,Tl&&n(a,m),a=f.hasEagerState?f.eagerState:n(a,m)}else p={lane:m,revertLane:f.revertLane,gesture:f.gesture,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null},o===null?(r=o=p,u=a):o=o.next=p,V.lanes|=m,Wn|=m;f=f.next}while(f!==null&&f!==e);if(o===null?u=a:o.next=r,!ye(a,t.memoizedState)&&(Ct=!0,c&&(n=fi,n!==null)))throw n;t.memoizedState=a,t.baseState=u,t.baseQueue=o,l.lastRenderedState=a}return i===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function nc(t){var e=bt(),n=e.queue;if(n===null)throw Error(z(311));n.lastRenderedReducer=t;var l=n.dispatch,i=n.pending,a=e.memoizedState;if(i!==null){n.pending=null;var u=i=i.next;do a=t(a,u.action),u=u.next;while(u!==i);ye(a,e.memoizedState)||(Ct=!0),e.memoizedState=a,e.baseQueue===null&&(e.baseState=a),n.lastRenderedState=a}return[a,l]}function Ed(t,e,n){var l=V,i=bt(),a=F;if(a){if(n===void 0)throw Error(z(407));n=n()}else n=e();var u=!ye((lt||i).memoizedState,n);if(u&&(i.memoizedState=n,Ct=!0),i=i.queue,Qf(Ad.bind(null,l,i,t),[t]),i.getSnapshot!==e||u||Tt!==null&&Tt.memoizedState.tag&1){if(l.flags|=2048,bi(9,{destroy:void 0},zd.bind(null,l,i,n,e),null),at===null)throw Error(z(349));a||(gn&127)!==0||Td(l,e,n)}return n}function Td(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=V.updateQueue,e===null?(e=kr(),V.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function zd(t,e,n,l){e.value=n,e.getSnapshot=l,Cd(e)&&Od(t)}function Ad(t,e,n){return n(function(){Cd(e)&&Od(t)})}function Cd(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!ye(t,n)}catch{return!0}}function Od(t){var e=kl(t,2);e!==null&&te(e,t,2)}function Zc(t){var e=Kt();if(typeof t=="function"){var n=t;if(t=n(),Tl){Rn(!0);try{n()}finally{Rn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xn,lastRenderedState:t},e}function kd(t,e,n,l){return t.baseState=n,Gf(t,lt,typeof l=="function"?l:xn)}function wb(t,e,n,l,i){if(_r(t))throw Error(z(485));if(t=e.action,t!==null){var a={payload:i,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){a.listeners.push(u)}};B.T!==null?n(!0):a.isTransition=!1,l(a),n=e.pending,n===null?(a.next=e.pending=a,Dd(e,a)):(a.next=n.next,e.pending=n.next=a)}}function Dd(t,e){var n=e.action,l=e.payload,i=t.state;if(e.isTransition){var a=B.T,u={};B.T=u;try{var r=n(i,l),o=B.S;o!==null&&o(u,r),km(t,e,r)}catch(f){Kc(t,e,f)}finally{a!==null&&u.types!==null&&(a.types=u.types),B.T=a}}else try{a=n(i,l),km(t,e,a)}catch(f){Kc(t,e,f)}}function km(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Dm(t,e,l)},function(l){return Kc(t,e,l)}):Dm(t,e,n)}function Dm(t,e,n){e.status="fulfilled",e.value=n,wd(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Dd(t,n)))}function Kc(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,wd(e),e=e.next;while(e!==l)}t.action=null}function wd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function _d(t,e){return e}function wm(t,e){if(F){var n=at.formState;if(n!==null){t:{var l=V;if(F){if(ct){e:{for(var i=ct,a=ke;i.nodeType!==8;){if(!a){i=null;break e}if(i=we(i.nextSibling),i===null){i=null;break e}}a=i.data,i=a==="F!"||a==="F"?i:null}if(i){ct=we(i.nextSibling),l=i.data==="F!";break t}}Fn(l)}l=!1}l&&(e=n[0])}}return n=Kt(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_d,lastRenderedState:e},n.queue=l,n=Kd.bind(null,V,l),l.dispatch=n,l=Zc(!1),a=Ff.bind(null,V,!1,l.queue),l=Kt(),i={state:e,dispatch:null,action:t,pending:null},l.queue=i,n=wb.bind(null,V,i,a,n),i.dispatch=n,l.memoizedState=t,[e,n,!1]}function _m(t){var e=bt();return Md(e,lt,t)}function Md(t,e,n){if(e=Gf(t,e,_d)[0],t=Hu(xn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=qa(e)}catch(u){throw u===ki?Or:u}else l=e;e=bt();var i=e.queue,a=i.dispatch;return n!==e.memoizedState&&(V.flags|=2048,bi(9,{destroy:void 0},_b.bind(null,i,n),null)),[l,a,t]}function _b(t,e){t.action=e}function Mm(t){var e=bt(),n=lt;if(n!==null)return Md(e,n,t);bt(),e=e.memoizedState,n=bt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function bi(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=V.updateQueue,e===null&&(e=kr(),V.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Nd(){return bt().memoizedState}function Lu(t,e,n,l){var i=Kt();V.flags|=t,i.memoizedState=bi(1|e,{destroy:void 0},n,l===void 0?null:l)}function wr(t,e,n,l){var i=bt();l=l===void 0?null:l;var a=i.memoizedState.inst;lt!==null&&l!==null&&Lf(l,lt.memoizedState.deps)?i.memoizedState=bi(e,a,n,l):(V.flags|=t,i.memoizedState=bi(1|e,a,n,l))}function Nm(t,e){Lu(8390656,8,t,e)}function Qf(t,e){wr(2048,8,t,e)}function Mb(t){V.flags|=4;var e=V.updateQueue;if(e===null)e=kr(),V.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Rd(t){var e=bt().memoizedState;return Mb({ref:e,nextImpl:t}),function(){if((I&2)!==0)throw Error(z(440));return e.impl.apply(void 0,arguments)}}function Ud(t,e){return wr(4,2,t,e)}function Bd(t,e){return wr(4,4,t,e)}function Hd(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Ld(t,e,n){n=n!=null?n.concat([t]):null,wr(4,4,Hd.bind(null,e,t),n)}function Zf(){}function qd(t,e){var n=bt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Lf(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function jd(t,e){var n=bt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Lf(e,l[1]))return l[0];if(l=t(),Tl){Rn(!0);try{t()}finally{Rn(!1)}}return n.memoizedState=[l,e],l}function Kf(t,e,n){return n===void 0||(gn&1073741824)!==0&&(K&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=ky(),V.lanes|=t,Wn|=t,n)}function Yd(t,e,n,l){return ye(n,e)?n:xi.current!==null?(t=Kf(t,n,l),ye(t,e)||(Ct=!0),t):(gn&42)===0||(gn&1073741824)!==0&&(K&261930)===0?(Ct=!0,t.memoizedState=n):(t=ky(),V.lanes|=t,Wn|=t,e)}function Vd(t,e,n,l,i){var a=W.p;W.p=a!==0&&8>a?a:8;var u=B.T,r={};B.T=r,Ff(t,!1,e,n);try{var o=i(),f=B.S;if(f!==null&&f(r,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var c=Ob(o,l);pa(t,e,c,de(t))}else pa(t,e,l,de(t))}catch(m){pa(t,e,{then:function(){},status:"rejected",reason:m},de())}finally{W.p=a,u!==null&&r.types!==null&&(u.types=r.types),B.T=u}}function Nb(){}function Jc(t,e,n,l){if(t.tag!==5)throw Error(z(476));var i=Xd(t).queue;Vd(t,i,e,dl,n===null?Nb:function(){return Gd(t),n(l)})}function Xd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:dl,baseState:dl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xn,lastRenderedState:dl},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Gd(t){var e=Xd(t);e.next===null&&(e=t.alternate.memoizedState),pa(t,e.next.queue,{},de())}function Jf(){return qt(Da)}function Qd(){return bt().memoizedState}function Zd(){return bt().memoizedState}function Rb(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=de();t=Yn(n);var l=Vn(e,t,n);l!==null&&(te(l,e,n),ca(l,e,n)),e={cache:Nf()},t.payload=e;return}e=e.return}}function Ub(t,e,n){var l=de();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},_r(t)?Jd(e,n):(n=Df(t,e,n,l),n!==null&&(te(n,t,l),Fd(n,e,l)))}function Kd(t,e,n){var l=de();pa(t,e,n,l)}function pa(t,e,n,l){var i={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(_r(t))Jd(e,i);else{var a=t.alternate;if(t.lanes===0&&(a===null||a.lanes===0)&&(a=e.lastRenderedReducer,a!==null))try{var u=e.lastRenderedState,r=a(u,n);if(i.hasEagerState=!0,i.eagerState=r,ye(r,u))return Cr(t,e,i,0),at===null&&Ar(),!1}catch{}if(n=Df(t,e,i,l),n!==null)return te(n,t,l),Fd(n,e,l),!0}return!1}function Ff(t,e,n,l){if(l={lane:2,revertLane:is(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},_r(t)){if(e)throw Error(z(479))}else e=Df(t,n,l,2),e!==null&&te(e,t,2)}function _r(t){var e=t.alternate;return t===V||e!==null&&e===V}function Jd(t,e){pi=ir=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Fd(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Rh(t,n)}}var Ca={readContext:qt,use:Dr,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useLayoutEffect:ht,useInsertionEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useSyncExternalStore:ht,useId:ht,useHostTransitionStatus:ht,useFormState:ht,useActionState:ht,useOptimistic:ht,useMemoCache:ht,useCacheRefresh:ht};Ca.useEffectEvent=ht;var Id={readContext:qt,use:Dr,useCallback:function(t,e){return Kt().memoizedState=[t,e===void 0?null:e],t},useContext:qt,useEffect:Nm,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Lu(4194308,4,Hd.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Lu(4194308,4,t,e)},useInsertionEffect:function(t,e){Lu(4,2,t,e)},useMemo:function(t,e){var n=Kt();e=e===void 0?null:e;var l=t();if(Tl){Rn(!0);try{t()}finally{Rn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=Kt();if(n!==void 0){var i=n(e);if(Tl){Rn(!0);try{n(e)}finally{Rn(!1)}}}else i=e;return l.memoizedState=l.baseState=i,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},l.queue=t,t=t.dispatch=Ub.bind(null,V,t),[l.memoizedState,t]},useRef:function(t){var e=Kt();return t={current:t},e.memoizedState=t},useState:function(t){t=Zc(t);var e=t.queue,n=Kd.bind(null,V,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Zf,useDeferredValue:function(t,e){var n=Kt();return Kf(n,t,e)},useTransition:function(){var t=Zc(!1);return t=Vd.bind(null,V,t.queue,!0,!1),Kt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=V,i=Kt();if(F){if(n===void 0)throw Error(z(407));n=n()}else{if(n=e(),at===null)throw Error(z(349));(K&127)!==0||Td(l,e,n)}i.memoizedState=n;var a={value:n,getSnapshot:e};return i.queue=a,Nm(Ad.bind(null,l,a,t),[t]),l.flags|=2048,bi(9,{destroy:void 0},zd.bind(null,l,a,n,e),null),n},useId:function(){var t=Kt(),e=at.identifierPrefix;if(F){var n=Qe,l=Ge;n=(l&~(1<<32-he(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=ar++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=kb++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Jf,useFormState:wm,useActionState:wm,useOptimistic:function(t){var e=Kt();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=Ff.bind(null,V,!0,n),n.dispatch=e,[t,e]},useMemoCache:Xf,useCacheRefresh:function(){return Kt().memoizedState=Rb.bind(null,V)},useEffectEvent:function(t){var e=Kt(),n={impl:t};return e.memoizedState=n,function(){if((I&2)!==0)throw Error(z(440));return n.impl.apply(void 0,arguments)}}},If={readContext:qt,use:Dr,useCallback:qd,useContext:qt,useEffect:Qf,useImperativeHandle:Ld,useInsertionEffect:Ud,useLayoutEffect:Bd,useMemo:jd,useReducer:Hu,useRef:Nd,useState:function(){return Hu(xn)},useDebugValue:Zf,useDeferredValue:function(t,e){var n=bt();return Yd(n,lt.memoizedState,t,e)},useTransition:function(){var t=Hu(xn)[0],e=bt().memoizedState;return[typeof t=="boolean"?t:qa(t),e]},useSyncExternalStore:Ed,useId:Qd,useHostTransitionStatus:Jf,useFormState:_m,useActionState:_m,useOptimistic:function(t,e){var n=bt();return kd(n,lt,t,e)},useMemoCache:Xf,useCacheRefresh:Zd};If.useEffectEvent=Rd;var Wd={readContext:qt,use:Dr,useCallback:qd,useContext:qt,useEffect:Qf,useImperativeHandle:Ld,useInsertionEffect:Ud,useLayoutEffect:Bd,useMemo:jd,useReducer:nc,useRef:Nd,useState:function(){return nc(xn)},useDebugValue:Zf,useDeferredValue:function(t,e){var n=bt();return lt===null?Kf(n,t,e):Yd(n,lt.memoizedState,t,e)},useTransition:function(){var t=nc(xn)[0],e=bt().memoizedState;return[typeof t=="boolean"?t:qa(t),e]},useSyncExternalStore:Ed,useId:Qd,useHostTransitionStatus:Jf,useFormState:Mm,useActionState:Mm,useOptimistic:function(t,e){var n=bt();return lt!==null?kd(n,lt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Xf,useCacheRefresh:Zd};Wd.useEffectEvent=Rd;function lc(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:ft({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Fc={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=de(),i=Yn(l);i.payload=e,n!=null&&(i.callback=n),e=Vn(t,i,l),e!==null&&(te(e,t,l),ca(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=de(),i=Yn(l);i.tag=1,i.payload=e,n!=null&&(i.callback=n),e=Vn(t,i,l),e!==null&&(te(e,t,l),ca(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=de(),l=Yn(n);l.tag=2,e!=null&&(l.callback=e),e=Vn(t,l,n),e!==null&&(te(e,t,n),ca(e,t,n))}};function Rm(t,e,n,l,i,a,u){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,a,u):e.prototype&&e.prototype.isPureReactComponent?!Sa(n,l)||!Sa(i,a):!0}function Um(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&Fc.enqueueReplaceState(e,e.state,null)}function zl(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=ft({},n));for(var i in t)n[i]===void 0&&(n[i]=t[i])}return n}function $d(t){Wu(t)}function Pd(t){console.error(t)}function ty(t){Wu(t)}function ur(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Bm(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Ic(t,e,n){return n=Yn(n),n.tag=3,n.payload={element:null},n.callback=function(){ur(t,e)},n}function ey(t){return t=Yn(t),t.tag=3,t}function ny(t,e,n,l){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var a=l.value;t.payload=function(){return i(a)},t.callback=function(){Bm(e,n,l)}}var u=n.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(t.callback=function(){Bm(e,n,l),typeof i!="function"&&(Xn===null?Xn=new Set([this]):Xn.add(this));var r=l.stack;this.componentDidCatch(l.value,{componentStack:r!==null?r:""})})}function Bb(t,e,n,l,i){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&Oi(e,n,i,!0),n=ge.current,n!==null){switch(n.tag){case 31:case 13:return De===null?sr():n.alternate===null&&dt===0&&(dt=3),n.flags&=-257,n.flags|=65536,n.lanes=i,l===er?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),hc(t,l,i)),!1;case 22:return n.flags|=65536,l===er?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),hc(t,l,i)),!1}throw Error(z(435,n.tag))}return hc(t,l,i),sr(),!1}if(F)return e=ge.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=i,l!==Hc&&(t=Error(z(422),{cause:l}),Ta(Oe(t,n)))):(l!==Hc&&(e=Error(z(423),{cause:l}),Ta(Oe(e,n))),t=t.current.alternate,t.flags|=65536,i&=-i,t.lanes|=i,l=Oe(l,n),i=Ic(t.stateNode,l,i),ec(t,i),dt!==4&&(dt=2)),!1;var a=Error(z(520),{cause:l});if(a=Oe(a,n),da===null?da=[a]:da.push(a),dt!==4&&(dt=2),e===null)return!0;l=Oe(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=i&-i,n.lanes|=t,t=Ic(n.stateNode,l,t),ec(n,t),!1;case 1:if(e=n.type,a=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(Xn===null||!Xn.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=ey(i),ny(i,t,n,l),ec(n,i),!1}n=n.return}while(n!==null);return!1}var Wf=Error(z(461)),Ct=!1;function Bt(t,e,n,l){e.child=t===null?yd(e,null,n,l):El(e,t.child,n,l)}function Hm(t,e,n,l,i){n=n.render;var a=e.ref;if("ref"in l){var u={};for(var r in l)r!=="ref"&&(u[r]=l[r])}else u=l;return Sl(e),l=qf(t,e,n,u,a,i),r=jf(),t!==null&&!Ct?(Yf(t,e,i),bn(t,e,i)):(F&&r&&_f(e),e.flags|=1,Bt(t,e,l,i),e.child)}function Lm(t,e,n,l,i){if(t===null){var a=n.type;return typeof a=="function"&&!wf(a)&&a.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=a,ly(t,e,a,l,i)):(t=Uu(n.type,null,l,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(a=t.child,!$f(t,i)){var u=a.memoizedProps;if(n=n.compare,n=n!==null?n:Sa,n(u,l)&&t.ref===e.ref)return bn(t,e,i)}return e.flags|=1,t=mn(a,l),t.ref=e.ref,t.return=e,e.child=t}function ly(t,e,n,l,i){if(t!==null){var a=t.memoizedProps;if(Sa(a,l)&&t.ref===e.ref)if(Ct=!1,e.pendingProps=l=a,$f(t,i))(t.flags&131072)!==0&&(Ct=!0);else return e.lanes=t.lanes,bn(t,e,i)}return Wc(t,e,n,l,i)}function iy(t,e,n,l){var i=l.children,a=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(a=a!==null?a.baseLanes|n:n,t!==null){for(l=e.child=t.child,i=0;l!==null;)i=i|l.lanes|l.childLanes,l=l.sibling;l=i&~a}else l=0,e.child=null;return qm(t,e,a,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Bu(e,a!==null?a.cachePool:null),a!==null?Om(e,a):Gc(),bd(e);else return l=e.lanes=536870912,qm(t,e,a!==null?a.baseLanes|n:n,n,l)}else a!==null?(Bu(e,a.cachePool),Om(e,a),Mn(e),e.memoizedState=null):(t!==null&&Bu(e,null),Gc(),Mn(e));return Bt(t,e,i,n),e.child}function la(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function qm(t,e,n,l,i){var a=Rf();return a=a===null?null:{parent:At._currentValue,pool:a},e.memoizedState={baseLanes:n,cachePool:a},t!==null&&Bu(e,null),Gc(),bd(e),t!==null&&Oi(t,e,l,!0),e.childLanes=i,null}function qu(t,e){return e=rr({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function jm(t,e,n){return El(e,t.child,null,n),t=qu(e,e.pendingProps),t.flags|=2,ce(e),e.memoizedState=null,t}function Hb(t,e,n){var l=e.pendingProps,i=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(F){if(l.mode==="hidden")return t=qu(e,l),e.lanes=536870912,la(null,t);if(Qc(e),(t=ct)?(t=Iy(t,ke),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Jn!==null?{id:Ge,overflow:Qe}:null,retryLane:536870912,hydrationErrors:null},n=cd(t),n.return=e,e.child=n,Lt=e,ct=null)):t=null,t===null)throw Fn(e);return e.lanes=536870912,null}return qu(e,l)}var a=t.memoizedState;if(a!==null){var u=a.dehydrated;if(Qc(e),i)if(e.flags&256)e.flags&=-257,e=jm(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(z(558));else if(Ct||Oi(t,e,n,!1),i=(n&t.childLanes)!==0,Ct||i){if(l=at,l!==null&&(u=Uh(l,n),u!==0&&u!==a.retryLane))throw a.retryLane=u,kl(t,u),te(l,t,u),Wf;sr(),e=jm(t,e,n)}else t=a.treeContext,ct=we(u.nextSibling),Lt=e,F=!0,jn=null,ke=!1,t!==null&&sd(e,t),e=qu(e,l),e.flags|=4096;return e}return t=mn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function ju(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(z(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Wc(t,e,n,l,i){return Sl(e),n=qf(t,e,n,l,void 0,i),l=jf(),t!==null&&!Ct?(Yf(t,e,i),bn(t,e,i)):(F&&l&&_f(e),e.flags|=1,Bt(t,e,n,i),e.child)}function Ym(t,e,n,l,i,a){return Sl(e),e.updateQueue=null,n=Sd(e,l,n,i),vd(t),l=jf(),t!==null&&!Ct?(Yf(t,e,a),bn(t,e,a)):(F&&l&&_f(e),e.flags|=1,Bt(t,e,n,a),e.child)}function Vm(t,e,n,l,i){if(Sl(e),e.stateNode===null){var a=li,u=n.contextType;typeof u=="object"&&u!==null&&(a=qt(u)),a=new n(l,a),e.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Fc,e.stateNode=a,a._reactInternals=e,a=e.stateNode,a.props=l,a.state=e.memoizedState,a.refs={},Bf(e),u=n.contextType,a.context=typeof u=="object"&&u!==null?qt(u):li,a.state=e.memoizedState,u=n.getDerivedStateFromProps,typeof u=="function"&&(lc(e,n,u,l),a.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(u=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),u!==a.state&&Fc.enqueueReplaceState(a,a.state,null),sa(e,l,a,i),fa(),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){a=e.stateNode;var r=e.memoizedProps,o=zl(n,r);a.props=o;var f=a.context,c=n.contextType;u=li,typeof c=="object"&&c!==null&&(u=qt(c));var m=n.getDerivedStateFromProps;c=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function",r=e.pendingProps!==r,c||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(r||f!==u)&&Um(e,a,l,u),Dn=!1;var p=e.memoizedState;a.state=p,sa(e,l,a,i),fa(),f=e.memoizedState,r||p!==f||Dn?(typeof m=="function"&&(lc(e,n,m,l),f=e.memoizedState),(o=Dn||Rm(e,n,o,l,p,f,u))?(c||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=4194308)):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=f),a.props=l,a.state=f,a.context=u,l=o):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{a=e.stateNode,Vc(t,e),u=e.memoizedProps,c=zl(n,u),a.props=c,m=e.pendingProps,p=a.context,f=n.contextType,o=li,typeof f=="object"&&f!==null&&(o=qt(f)),r=n.getDerivedStateFromProps,(f=typeof r=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(u!==m||p!==o)&&Um(e,a,l,o),Dn=!1,p=e.memoizedState,a.state=p,sa(e,l,a,i),fa();var s=e.memoizedState;u!==m||p!==s||Dn||t!==null&&t.dependencies!==null&&tr(t.dependencies)?(typeof r=="function"&&(lc(e,n,r,l),s=e.memoizedState),(c=Dn||Rm(e,n,c,l,p,s,o)||t!==null&&t.dependencies!==null&&tr(t.dependencies))?(f||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(l,s,o),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(l,s,o)),typeof a.componentDidUpdate=="function"&&(e.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof a.componentDidUpdate!="function"||u===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=s),a.props=l,a.state=s,a.context=o,l=c):(typeof a.componentDidUpdate!="function"||u===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),l=!1)}return a=l,ju(t,e),l=(e.flags&128)!==0,a||l?(a=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:a.render(),e.flags|=1,t!==null&&l?(e.child=El(e,t.child,null,i),e.child=El(e,null,n,i)):Bt(t,e,n,i),e.memoizedState=a.state,t=e.child):t=bn(t,e,i),t}function Xm(t,e,n,l){return vl(),e.flags|=256,Bt(t,e,n,l),e.child}var ic={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ac(t){return{baseLanes:t,cachePool:md()}}function uc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=se),t}function ay(t,e,n){var l=e.pendingProps,i=!1,a=(e.flags&128)!==0,u;if((u=a)||(u=t!==null&&t.memoizedState===null?!1:(xt.current&2)!==0),u&&(i=!0,e.flags&=-129),u=(e.flags&32)!==0,e.flags&=-33,t===null){if(F){if(i?_n(e):Mn(e),(t=ct)?(t=Iy(t,ke),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Jn!==null?{id:Ge,overflow:Qe}:null,retryLane:536870912,hydrationErrors:null},n=cd(t),n.return=e,e.child=n,Lt=e,ct=null)):t=null,t===null)throw Fn(e);return pf(t)?e.lanes=32:e.lanes=536870912,null}var r=l.children;return l=l.fallback,i?(Mn(e),i=e.mode,r=rr({mode:"hidden",children:r},i),l=yl(l,i,n,null),r.return=e,l.return=e,r.sibling=l,e.child=r,l=e.child,l.memoizedState=ac(n),l.childLanes=uc(t,u,n),e.memoizedState=ic,la(null,l)):(_n(e),$c(e,r))}var o=t.memoizedState;if(o!==null&&(r=o.dehydrated,r!==null)){if(a)e.flags&256?(_n(e),e.flags&=-257,e=rc(t,e,n)):e.memoizedState!==null?(Mn(e),e.child=t.child,e.flags|=128,e=null):(Mn(e),r=l.fallback,i=e.mode,l=rr({mode:"visible",children:l.children},i),r=yl(r,i,n,null),r.flags|=2,l.return=e,r.return=e,l.sibling=r,e.child=l,El(e,t.child,null,n),l=e.child,l.memoizedState=ac(n),l.childLanes=uc(t,u,n),e.memoizedState=ic,e=la(null,l));else if(_n(e),pf(r)){if(u=r.nextSibling&&r.nextSibling.dataset,u)var f=u.dgst;u=f,l=Error(z(419)),l.stack="",l.digest=u,Ta({value:l,source:null,stack:null}),e=rc(t,e,n)}else if(Ct||Oi(t,e,n,!1),u=(n&t.childLanes)!==0,Ct||u){if(u=at,u!==null&&(l=Uh(u,n),l!==0&&l!==o.retryLane))throw o.retryLane=l,kl(t,l),te(u,t,l),Wf;sf(r)||sr(),e=rc(t,e,n)}else sf(r)?(e.flags|=192,e.child=t.child,e=null):(t=o.treeContext,ct=we(r.nextSibling),Lt=e,F=!0,jn=null,ke=!1,t!==null&&sd(e,t),e=$c(e,l.children),e.flags|=4096);return e}return i?(Mn(e),r=l.fallback,i=e.mode,o=t.child,f=o.sibling,l=mn(o,{mode:"hidden",children:l.children}),l.subtreeFlags=o.subtreeFlags&65011712,f!==null?r=mn(f,r):(r=yl(r,i,n,null),r.flags|=2),r.return=e,l.return=e,l.sibling=r,e.child=l,la(null,l),l=e.child,r=t.child.memoizedState,r===null?r=ac(n):(i=r.cachePool,i!==null?(o=At._currentValue,i=i.parent!==o?{parent:o,pool:o}:i):i=md(),r={baseLanes:r.baseLanes|n,cachePool:i}),l.memoizedState=r,l.childLanes=uc(t,u,n),e.memoizedState=ic,la(t.child,l)):(_n(e),n=t.child,t=n.sibling,n=mn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(u=e.deletions,u===null?(e.deletions=[t],e.flags|=16):u.push(t)),e.child=n,e.memoizedState=null,n)}function $c(t,e){return e=rr({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function rr(t,e){return t=fe(22,t,null,e),t.lanes=0,t}function rc(t,e,n){return El(e,t.child,null,n),t=$c(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Gm(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),qc(t.return,e,n)}function oc(t,e,n,l,i,a){var u=t.memoizedState;u===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:i,treeForkCount:a}:(u.isBackwards=e,u.rendering=null,u.renderingStartTime=0,u.last=l,u.tail=n,u.tailMode=i,u.treeForkCount=a)}function uy(t,e,n){var l=e.pendingProps,i=l.revealOrder,a=l.tail;l=l.children;var u=xt.current,r=(u&2)!==0;if(r?(u=u&1|2,e.flags|=128):u&=1,ut(xt,u),Bt(t,e,l,n),l=F?Ea:0,!r&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Gm(t,n,e);else if(t.tag===19)Gm(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&lr(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),oc(e,!1,i,n,a,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&lr(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}oc(e,!0,n,null,a,l);break;case"together":oc(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function bn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Wn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Oi(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(z(153));if(e.child!==null){for(t=e.child,n=mn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=mn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function $f(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&tr(t)))}function Lb(t,e,n){switch(e.tag){case 3:Ku(e,e.stateNode.containerInfo),wn(e,At,t.memoizedState.cache),vl();break;case 27:case 5:Cc(e);break;case 4:Ku(e,e.stateNode.containerInfo);break;case 10:wn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Qc(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(_n(e),e.flags|=128,null):(n&e.child.childLanes)!==0?ay(t,e,n):(_n(e),t=bn(t,e,n),t!==null?t.sibling:null);_n(e);break;case 19:var i=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(Oi(t,e,n,!1),l=(n&e.childLanes)!==0),i){if(l)return uy(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ut(xt,xt.current),l)break;return null;case 22:return e.lanes=0,iy(t,e,n,e.pendingProps);case 24:wn(e,At,t.memoizedState.cache)}return bn(t,e,n)}function ry(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Ct=!0;else{if(!$f(t,n)&&(e.flags&128)===0)return Ct=!1,Lb(t,e,n);Ct=(t.flags&131072)!==0}else Ct=!1,F&&(e.flags&1048576)!==0&&fd(e,Ea,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=ml(e.elementType),e.type=t,typeof t=="function")wf(t)?(l=zl(t,l),e.tag=1,e=Vm(null,e,t,l,n)):(e.tag=0,e=Wc(null,e,t,l,n));else{if(t!=null){var i=t.$$typeof;if(i===yf){e.tag=11,e=Hm(null,e,t,l,n);break t}else if(i===gf){e.tag=14,e=Lm(null,e,t,l,n);break t}}throw e=zc(t)||t,Error(z(306,e,""))}}return e;case 0:return Wc(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,i=zl(l,e.pendingProps),Vm(t,e,l,i,n);case 3:t:{if(Ku(e,e.stateNode.containerInfo),t===null)throw Error(z(387));l=e.pendingProps;var a=e.memoizedState;i=a.element,Vc(t,e),sa(e,l,null,n);var u=e.memoizedState;if(l=u.cache,wn(e,At,l),l!==a.cache&&jc(e,[At],n,!0),fa(),l=u.element,a.isDehydrated)if(a={element:l,isDehydrated:!1,cache:u.cache},e.updateQueue.baseState=a,e.memoizedState=a,e.flags&256){e=Xm(t,e,l,n);break t}else if(l!==i){i=Oe(Error(z(424)),e),Ta(i),e=Xm(t,e,l,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,ct=we(t.firstChild),Lt=e,F=!0,jn=null,ke=!0,n=yd(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vl(),l===i){e=bn(t,e,n);break t}Bt(t,e,l,n)}e=e.child}return e;case 26:return ju(t,e),t===null?(n=ph(e.type,null,e.pendingProps,null))?e.memoizedState=n:F||(n=e.type,t=e.pendingProps,l=dr(qn.current).createElement(n),l[Ht]=e,l[ee]=t,jt(l,n,t),_t(l),e.stateNode=l):e.memoizedState=ph(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Cc(e),t===null&&F&&(l=e.stateNode=Wy(e.type,e.pendingProps,qn.current),Lt=e,ke=!0,i=ct,Pn(e.type)?(mf=i,ct=we(l.firstChild)):ct=i),Bt(t,e,e.pendingProps.children,n),ju(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&F&&((i=l=ct)&&(l=pv(l,e.type,e.pendingProps,ke),l!==null?(e.stateNode=l,Lt=e,ct=we(l.firstChild),ke=!1,i=!0):i=!1),i||Fn(e)),Cc(e),i=e.type,a=e.pendingProps,u=t!==null?t.memoizedProps:null,l=a.children,cf(i,a)?l=null:u!==null&&cf(i,u)&&(e.flags|=32),e.memoizedState!==null&&(i=qf(t,e,Db,null,null,n),Da._currentValue=i),ju(t,e),Bt(t,e,l,n),e.child;case 6:return t===null&&F&&((t=n=ct)&&(n=mv(n,e.pendingProps,ke),n!==null?(e.stateNode=n,Lt=e,ct=null,t=!0):t=!1),t||Fn(e)),null;case 13:return ay(t,e,n);case 4:return Ku(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=El(e,null,l,n):Bt(t,e,l,n),e.child;case 11:return Hm(t,e,e.type,e.pendingProps,n);case 7:return Bt(t,e,e.pendingProps,n),e.child;case 8:return Bt(t,e,e.pendingProps.children,n),e.child;case 12:return Bt(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,wn(e,e.type,l.value),Bt(t,e,l.children,n),e.child;case 9:return i=e.type._context,l=e.pendingProps.children,Sl(e),i=qt(i),l=l(i),e.flags|=1,Bt(t,e,l,n),e.child;case 14:return Lm(t,e,e.type,e.pendingProps,n);case 15:return ly(t,e,e.type,e.pendingProps,n);case 19:return uy(t,e,n);case 31:return Hb(t,e,n);case 22:return iy(t,e,n,e.pendingProps);case 24:return Sl(e),l=qt(At),t===null?(i=Rf(),i===null&&(i=at,a=Nf(),i.pooledCache=a,a.refCount++,a!==null&&(i.pooledCacheLanes|=n),i=a),e.memoizedState={parent:l,cache:i},Bf(e),wn(e,At,i)):((t.lanes&n)!==0&&(Vc(t,e),sa(e,null,null,n),fa()),i=t.memoizedState,a=e.memoizedState,i.parent!==l?(i={parent:l,cache:l},e.memoizedState=i,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=i),wn(e,At,l)):(l=a.cache,wn(e,At,l),l!==i.cache&&jc(e,[At],n,!0))),Bt(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(z(156,e.tag))}function ln(t){t.flags|=4}function cc(t,e,n,l,i){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(i&335544128)===i)if(t.stateNode.complete)t.flags|=8192;else if(_y())t.flags|=8192;else throw xl=er,Uf}else t.flags&=-16777217}function Qm(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!tg(e))if(_y())t.flags|=8192;else throw xl=er,Uf}function zu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Mh():536870912,t.lanes|=e,vi|=e)}function Ii(t,e){if(!F)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function ot(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags&65011712,l|=i.flags&65011712,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function qb(t,e,n){var l=e.pendingProps;switch(Mf(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ot(e),null;case 1:return ot(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),hn(At),hi(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Ql(e)?ln(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,tc())),ot(e),null;case 26:var i=e.type,a=e.memoizedState;return t===null?(ln(e),a!==null?(ot(e),Qm(e,a)):(ot(e),cc(e,i,null,l,n))):a?a!==t.memoizedState?(ln(e),ot(e),Qm(e,a)):(ot(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&ln(e),ot(e),cc(e,i,t,l,n)),null;case 27:if(Ju(e),n=qn.current,i=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&ln(e);else{if(!l){if(e.stateNode===null)throw Error(z(166));return ot(e),null}t=Ke.current,Ql(e)?vm(e,t):(t=Wy(i,l,n),e.stateNode=t,ln(e))}return ot(e),null;case 5:if(Ju(e),i=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&ln(e);else{if(!l){if(e.stateNode===null)throw Error(z(166));return ot(e),null}if(a=Ke.current,Ql(e))vm(e,a);else{var u=dr(qn.current);switch(a){case 1:a=u.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:a=u.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":a=u.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":a=u.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":a=u.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof l.is=="string"?u.createElement("select",{is:l.is}):u.createElement("select"),l.multiple?a.multiple=!0:l.size&&(a.size=l.size);break;default:a=typeof l.is=="string"?u.createElement(i,{is:l.is}):u.createElement(i)}}a[Ht]=e,a[ee]=l;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)a.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=a;t:switch(jt(a,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&ln(e)}}return ot(e),cc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&ln(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(z(166));if(t=qn.current,Ql(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,i=Lt,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}t[Ht]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||Ky(t.nodeValue,n)),t||Fn(e,!0)}else t=dr(t).createTextNode(l),t[Ht]=e,e.stateNode=t}return ot(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=Ql(e),n!==null){if(t===null){if(!l)throw Error(z(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(z(557));t[Ht]=e}else vl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;ot(e),t=!1}else n=tc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(ce(e),e):(ce(e),null);if((e.flags&128)!==0)throw Error(z(558))}return ot(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(i=Ql(e),l!==null&&l.dehydrated!==null){if(t===null){if(!i)throw Error(z(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(z(317));i[Ht]=e}else vl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;ot(e),i=!1}else i=tc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),i=!0;if(!i)return e.flags&256?(ce(e),e):(ce(e),null)}return ce(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==i&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),zu(e,e.updateQueue),ot(e),null);case 4:return hi(),t===null&&as(e.stateNode.containerInfo),ot(e),null;case 10:return hn(e.type),ot(e),null;case 19:if(Mt(xt),l=e.memoizedState,l===null)return ot(e),null;if(i=(e.flags&128)!==0,a=l.rendering,a===null)if(i)Ii(l,!1);else{if(dt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(a=lr(t),a!==null){for(e.flags|=128,Ii(l,!1),t=a.updateQueue,e.updateQueue=t,zu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)od(n,t),n=n.sibling;return ut(xt,xt.current&1|2),F&&on(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&pe()>cr&&(e.flags|=128,i=!0,Ii(l,!1),e.lanes=4194304)}else{if(!i)if(t=lr(a),t!==null){if(e.flags|=128,i=!0,t=t.updateQueue,e.updateQueue=t,zu(e,t),Ii(l,!0),l.tail===null&&l.tailMode==="hidden"&&!a.alternate&&!F)return ot(e),null}else 2*pe()-l.renderingStartTime>cr&&n!==536870912&&(e.flags|=128,i=!0,Ii(l,!1),e.lanes=4194304);l.isBackwards?(a.sibling=e.child,e.child=a):(t=l.last,t!==null?t.sibling=a:e.child=a,l.last=a)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=pe(),t.sibling=null,n=xt.current,ut(xt,i?n&1|2:n&1),F&&on(e,l.treeForkCount),t):(ot(e),null);case 22:case 23:return ce(e),Hf(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(ot(e),e.subtreeFlags&6&&(e.flags|=8192)):ot(e),n=e.updateQueue,n!==null&&zu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&Mt(gl),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),hn(At),ot(e),null;case 25:return null;case 30:return null}throw Error(z(156,e.tag))}function jb(t,e){switch(Mf(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return hn(At),hi(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ju(e),null;case 31:if(e.memoizedState!==null){if(ce(e),e.alternate===null)throw Error(z(340));vl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(ce(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(z(340));vl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Mt(xt),null;case 4:return hi(),null;case 10:return hn(e.type),null;case 22:case 23:return ce(e),Hf(),t!==null&&Mt(gl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return hn(At),null;case 25:return null;default:return null}}function oy(t,e){switch(Mf(e),e.tag){case 3:hn(At),hi();break;case 26:case 27:case 5:Ju(e);break;case 4:hi();break;case 31:e.memoizedState!==null&&ce(e);break;case 13:ce(e);break;case 19:Mt(xt);break;case 10:hn(e.type);break;case 22:case 23:ce(e),Hf(),t!==null&&Mt(gl);break;case 24:hn(At)}}function ja(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&t)===t){l=void 0;var a=n.create,u=n.inst;l=a(),u.destroy=l}n=n.next}while(n!==i)}}catch(r){tt(e,e.return,r)}}function In(t,e,n){try{var l=e.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var a=i.next;l=a;do{if((l.tag&t)===t){var u=l.inst,r=u.destroy;if(r!==void 0){u.destroy=void 0,i=e;var o=n,f=r;try{f()}catch(c){tt(i,o,c)}}}l=l.next}while(l!==a)}}catch(c){tt(e,e.return,c)}}function cy(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{xd(e,n)}catch(l){tt(t,t.return,l)}}}function fy(t,e,n){n.props=zl(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){tt(t,e,l)}}function ma(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(i){tt(t,e,i)}}function Ze(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(i){tt(t,e,i)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){tt(t,e,i)}else n.current=null}function sy(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(i){tt(t,t.return,i)}}function fc(t,e,n){try{var l=t.stateNode;uv(l,t.type,n,e),l[ee]=e}catch(i){tt(t,t.return,i)}}function py(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Pn(t.type)||t.tag===4}function sc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||py(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 Pc(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=sn));else if(l!==4&&(l===27&&Pn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Pc(t,e,n),t=t.sibling;t!==null;)Pc(t,e,n),t=t.sibling}function or(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&Pn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(or(t,e,n),t=t.sibling;t!==null;)or(t,e,n),t=t.sibling}function my(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,i=e.attributes;i.length;)e.removeAttributeNode(i[0]);jt(e,l,n),e[Ht]=t,e[ee]=n}catch(a){tt(t,t.return,a)}}var cn=!1,zt=!1,pc=!1,Zm=typeof WeakSet=="function"?WeakSet:Set,wt=null;function Yb(t,e){if(t=t.containerInfo,rf=br,t=td(t),Of(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var i=l.anchorOffset,a=l.focusNode;l=l.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break t}var u=0,r=-1,o=-1,f=0,c=0,m=t,p=null;e:for(;;){for(var s;m!==n||i!==0&&m.nodeType!==3||(r=u+i),m!==a||l!==0&&m.nodeType!==3||(o=u+l),m.nodeType===3&&(u+=m.nodeValue.length),(s=m.firstChild)!==null;)p=m,m=s;for(;;){if(m===t)break e;if(p===n&&++f===i&&(r=u),p===a&&++c===l&&(o=u),(s=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=s}n=r===-1||o===-1?null:{start:r,end:o}}else n=null}n=n||{start:0,end:0}}else n=null;for(of={focusedElem:t,selectionRange:n},br=!1,wt=e;wt!==null;)if(e=wt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,wt=t;else for(;wt!==null;){switch(e=wt,a=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(n=0;n<t.length;n++)i=t[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&a!==null){t=void 0,n=e,i=a.memoizedProps,a=a.memoizedState,l=n.stateNode;try{var v=zl(n.type,i);t=l.getSnapshotBeforeUpdate(v,a),l.__reactInternalSnapshotBeforeUpdate=t}catch(E){tt(n,n.return,E)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)ff(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":ff(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(z(163))}if(t=e.sibling,t!==null){t.return=e.return,wt=t;break}wt=e.return}}function hy(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:un(t,n),l&4&&ja(5,n);break;case 1:if(un(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(u){tt(n,n.return,u)}else{var i=zl(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(i,e,t.__reactInternalSnapshotBeforeUpdate)}catch(u){tt(n,n.return,u)}}l&64&&cy(n),l&512&&ma(n,n.return);break;case 3:if(un(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{xd(t,e)}catch(u){tt(n,n.return,u)}}break;case 27:e===null&&l&4&&my(n);case 26:case 5:un(t,n),e===null&&l&4&&sy(n),l&512&&ma(n,n.return);break;case 12:un(t,n);break;case 31:un(t,n),l&4&&gy(t,n);break;case 13:un(t,n),l&4&&xy(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Ib.bind(null,n),hv(t,n))));break;case 22:if(l=n.memoizedState!==null||cn,!l){e=e!==null&&e.memoizedState!==null||zt,i=cn;var a=zt;cn=l,(zt=e)&&!a?rn(t,n,(n.subtreeFlags&8772)!==0):un(t,n),cn=i,zt=a}break;case 30:break;default:un(t,n)}}function dy(t){var e=t.alternate;e!==null&&(t.alternate=null,dy(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Sf(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 pt=null,$t=!1;function an(t,e,n){for(n=n.child;n!==null;)yy(t,e,n),n=n.sibling}function yy(t,e,n){if(me&&typeof me.onCommitFiberUnmount=="function")try{me.onCommitFiberUnmount(Na,n)}catch{}switch(n.tag){case 26:zt||Ze(n,e),an(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:zt||Ze(n,e);var l=pt,i=$t;Pn(n.type)&&(pt=n.stateNode,$t=!1),an(t,e,n),ga(n.stateNode),pt=l,$t=i;break;case 5:zt||Ze(n,e);case 6:if(l=pt,i=$t,pt=null,an(t,e,n),pt=l,$t=i,pt!==null)if($t)try{(pt.nodeType===9?pt.body:pt.nodeName==="HTML"?pt.ownerDocument.body:pt).removeChild(n.stateNode)}catch(a){tt(n,e,a)}else try{pt.removeChild(n.stateNode)}catch(a){tt(n,e,a)}break;case 18:pt!==null&&($t?(t=pt,rh(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),zi(t)):rh(pt,n.stateNode));break;case 4:l=pt,i=$t,pt=n.stateNode.containerInfo,$t=!0,an(t,e,n),pt=l,$t=i;break;case 0:case 11:case 14:case 15:In(2,n,e),zt||In(4,n,e),an(t,e,n);break;case 1:zt||(Ze(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&fy(n,e,l)),an(t,e,n);break;case 21:an(t,e,n);break;case 22:zt=(l=zt)||n.memoizedState!==null,an(t,e,n),zt=l;break;default:an(t,e,n)}}function gy(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{zi(t)}catch(n){tt(e,e.return,n)}}}function xy(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{zi(t)}catch(n){tt(e,e.return,n)}}function Vb(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Zm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Zm),e;default:throw Error(z(435,t.tag))}}function Au(t,e){var n=Vb(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var i=Wb.bind(null,t,l);l.then(i,i)}})}function It(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var i=n[l],a=t,u=e,r=u;t:for(;r!==null;){switch(r.tag){case 27:if(Pn(r.type)){pt=r.stateNode,$t=!1;break t}break;case 5:pt=r.stateNode,$t=!1;break t;case 3:case 4:pt=r.stateNode.containerInfo,$t=!0;break t}r=r.return}if(pt===null)throw Error(z(160));yy(a,u,i),pt=null,$t=!1,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)by(e,t),e=e.sibling}var qe=null;function by(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:It(e,t),Wt(t),l&4&&(In(3,t,t.return),ja(3,t),In(5,t,t.return));break;case 1:It(e,t),Wt(t),l&512&&(zt||n===null||Ze(n,n.return)),l&64&&cn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var i=qe;if(It(e,t),Wt(t),l&512&&(zt||n===null||Ze(n,n.return)),l&4){var a=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,i=i.ownerDocument||i;e:switch(l){case"title":a=i.getElementsByTagName("title")[0],(!a||a[Ba]||a[Ht]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=i.createElement(l),i.head.insertBefore(a,i.querySelector("head > title"))),jt(a,l,n),a[Ht]=t,_t(a),l=a;break t;case"link":var u=hh("link","href",i).get(l+(n.href||""));if(u){for(var r=0;r<u.length;r++)if(a=u[r],a.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&a.getAttribute("rel")===(n.rel==null?null:n.rel)&&a.getAttribute("title")===(n.title==null?null:n.title)&&a.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){u.splice(r,1);break e}}a=i.createElement(l),jt(a,l,n),i.head.appendChild(a);break;case"meta":if(u=hh("meta","content",i).get(l+(n.content||""))){for(r=0;r<u.length;r++)if(a=u[r],a.getAttribute("content")===(n.content==null?null:""+n.content)&&a.getAttribute("name")===(n.name==null?null:n.name)&&a.getAttribute("property")===(n.property==null?null:n.property)&&a.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&a.getAttribute("charset")===(n.charSet==null?null:n.charSet)){u.splice(r,1);break e}}a=i.createElement(l),jt(a,l,n),i.head.appendChild(a);break;default:throw Error(z(468,l))}a[Ht]=t,_t(a),l=a}t.stateNode=l}else dh(i,t.type,t.stateNode);else t.stateNode=mh(i,l,t.memoizedProps);else a!==l?(a===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):a.count--,l===null?dh(i,t.type,t.stateNode):mh(i,l,t.memoizedProps)):l===null&&t.stateNode!==null&&fc(t,t.memoizedProps,n.memoizedProps)}break;case 27:It(e,t),Wt(t),l&512&&(zt||n===null||Ze(n,n.return)),n!==null&&l&4&&fc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(It(e,t),Wt(t),l&512&&(zt||n===null||Ze(n,n.return)),t.flags&32){i=t.stateNode;try{yi(i,"")}catch(v){tt(t,t.return,v)}}l&4&&t.stateNode!=null&&(i=t.memoizedProps,fc(t,i,n!==null?n.memoizedProps:i)),l&1024&&(pc=!0);break;case 6:if(It(e,t),Wt(t),l&4){if(t.stateNode===null)throw Error(z(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(v){tt(t,t.return,v)}}break;case 3:if(Xu=null,i=qe,qe=yr(e.containerInfo),It(e,t),qe=i,Wt(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{zi(e.containerInfo)}catch(v){tt(t,t.return,v)}pc&&(pc=!1,vy(t));break;case 4:l=qe,qe=yr(t.stateNode.containerInfo),It(e,t),Wt(t),qe=l;break;case 12:It(e,t),Wt(t);break;case 31:It(e,t),Wt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Au(t,l)));break;case 13:It(e,t),Wt(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Mr=pe()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Au(t,l)));break;case 22:i=t.memoizedState!==null;var o=n!==null&&n.memoizedState!==null,f=cn,c=zt;if(cn=f||i,zt=c||o,It(e,t),zt=c,cn=f,Wt(t),l&8192)t:for(e=t.stateNode,e._visibility=i?e._visibility&-2:e._visibility|1,i&&(n===null||o||cn||zt||hl(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){o=n=e;try{if(a=o.stateNode,i)u=a.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{r=o.stateNode;var m=o.memoizedProps.style,p=m!=null&&m.hasOwnProperty("display")?m.display:null;r.style.display=p==null||typeof p=="boolean"?"":(""+p).trim()}}catch(v){tt(o,o.return,v)}}}else if(e.tag===6){if(n===null){o=e;try{o.stateNode.nodeValue=i?"":o.memoizedProps}catch(v){tt(o,o.return,v)}}}else if(e.tag===18){if(n===null){o=e;try{var s=o.stateNode;i?oh(s,!0):oh(o.stateNode,!1)}catch(v){tt(o,o.return,v)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,Au(t,n))));break;case 19:It(e,t),Wt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Au(t,l)));break;case 30:break;case 21:break;default:It(e,t),Wt(t)}}function Wt(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(py(l)){n=l;break}l=l.return}if(n==null)throw Error(z(160));switch(n.tag){case 27:var i=n.stateNode,a=sc(t);or(t,a,i);break;case 5:var u=n.stateNode;n.flags&32&&(yi(u,""),n.flags&=-33);var r=sc(t);or(t,r,u);break;case 3:case 4:var o=n.stateNode.containerInfo,f=sc(t);Pc(t,f,o);break;default:throw Error(z(161))}}catch(c){tt(t,t.return,c)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function vy(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;vy(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function un(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)hy(t,e.alternate,e),e=e.sibling}function hl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:In(4,e,e.return),hl(e);break;case 1:Ze(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&fy(e,e.return,n),hl(e);break;case 27:ga(e.stateNode);case 26:case 5:Ze(e,e.return),hl(e);break;case 22:e.memoizedState===null&&hl(e);break;case 30:hl(e);break;default:hl(e)}t=t.sibling}}function rn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,i=t,a=e,u=a.flags;switch(a.tag){case 0:case 11:case 15:rn(i,a,n),ja(4,a);break;case 1:if(rn(i,a,n),l=a,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(f){tt(l,l.return,f)}if(l=a,i=l.updateQueue,i!==null){var r=l.stateNode;try{var o=i.shared.hiddenCallbacks;if(o!==null)for(i.shared.hiddenCallbacks=null,i=0;i<o.length;i++)gd(o[i],r)}catch(f){tt(l,l.return,f)}}n&&u&64&&cy(a),ma(a,a.return);break;case 27:my(a);case 26:case 5:rn(i,a,n),n&&l===null&&u&4&&sy(a),ma(a,a.return);break;case 12:rn(i,a,n);break;case 31:rn(i,a,n),n&&u&4&&gy(i,a);break;case 13:rn(i,a,n),n&&u&4&&xy(i,a);break;case 22:a.memoizedState===null&&rn(i,a,n),ma(a,a.return);break;case 30:break;default:rn(i,a,n)}e=e.sibling}}function Pf(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&La(n))}function ts(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&La(t))}function Le(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Sy(t,e,n,l),e=e.sibling}function Sy(t,e,n,l){var i=e.flags;switch(e.tag){case 0:case 11:case 15:Le(t,e,n,l),i&2048&&ja(9,e);break;case 1:Le(t,e,n,l);break;case 3:Le(t,e,n,l),i&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&La(t)));break;case 12:if(i&2048){Le(t,e,n,l),t=e.stateNode;try{var a=e.memoizedProps,u=a.id,r=a.onPostCommit;typeof r=="function"&&r(u,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(o){tt(e,e.return,o)}}else Le(t,e,n,l);break;case 31:Le(t,e,n,l);break;case 13:Le(t,e,n,l);break;case 23:break;case 22:a=e.stateNode,u=e.alternate,e.memoizedState!==null?a._visibility&2?Le(t,e,n,l):ha(t,e):a._visibility&2?Le(t,e,n,l):(a._visibility|=2,Kl(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),i&2048&&Pf(u,e);break;case 24:Le(t,e,n,l),i&2048&&ts(e.alternate,e);break;default:Le(t,e,n,l)}}function Kl(t,e,n,l,i){for(i=i&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var a=t,u=e,r=n,o=l,f=u.flags;switch(u.tag){case 0:case 11:case 15:Kl(a,u,r,o,i),ja(8,u);break;case 23:break;case 22:var c=u.stateNode;u.memoizedState!==null?c._visibility&2?Kl(a,u,r,o,i):ha(a,u):(c._visibility|=2,Kl(a,u,r,o,i)),i&&f&2048&&Pf(u.alternate,u);break;case 24:Kl(a,u,r,o,i),i&&f&2048&&ts(u.alternate,u);break;default:Kl(a,u,r,o,i)}e=e.sibling}}function ha(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,i=l.flags;switch(l.tag){case 22:ha(n,l),i&2048&&Pf(l.alternate,l);break;case 24:ha(n,l),i&2048&&ts(l.alternate,l);break;default:ha(n,l)}e=e.sibling}}var ia=8192;function Zl(t,e,n){if(t.subtreeFlags&ia)for(t=t.child;t!==null;)Ey(t,e,n),t=t.sibling}function Ey(t,e,n){switch(t.tag){case 26:Zl(t,e,n),t.flags&ia&&t.memoizedState!==null&&Cv(n,qe,t.memoizedState,t.memoizedProps);break;case 5:Zl(t,e,n);break;case 3:case 4:var l=qe;qe=yr(t.stateNode.containerInfo),Zl(t,e,n),qe=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=ia,ia=16777216,Zl(t,e,n),ia=l):Zl(t,e,n));break;default:Zl(t,e,n)}}function Ty(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 Wi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];wt=l,Ay(l,t)}Ty(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)zy(t),t=t.sibling}function zy(t){switch(t.tag){case 0:case 11:case 15:Wi(t),t.flags&2048&&In(9,t,t.return);break;case 3:Wi(t);break;case 12:Wi(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Yu(t)):Wi(t);break;default:Wi(t)}}function Yu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];wt=l,Ay(l,t)}Ty(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:In(8,e,e.return),Yu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,Yu(e));break;default:Yu(e)}t=t.sibling}}function Ay(t,e){for(;wt!==null;){var n=wt;switch(n.tag){case 0:case 11:case 15:In(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:La(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,wt=l;else t:for(n=t;wt!==null;){l=wt;var i=l.sibling,a=l.return;if(dy(l),l===n){wt=null;break t}if(i!==null){i.return=a,wt=i;break t}wt=a}}}var Xb={getCacheForType:function(t){var e=qt(At),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return qt(At).controller.signal}},Gb=typeof WeakMap=="function"?WeakMap:Map,I=0,at=null,Z=null,K=0,P=0,oe=null,Bn=!1,Di=!1,es=!1,vn=0,dt=0,Wn=0,bl=0,ns=0,se=0,vi=0,da=null,Pt=null,tf=!1,Mr=0,Cy=0,cr=1/0,fr=null,Xn=null,kt=0,Gn=null,Si=null,dn=0,ef=0,nf=null,Oy=null,ya=0,lf=null;function de(){return(I&2)!==0&&K!==0?K&-K:B.T!==null?is():Bh()}function ky(){if(se===0)if((K&536870912)===0||F){var t=du;du<<=1,(du&3932160)===0&&(du=262144),se=t}else se=536870912;return t=ge.current,t!==null&&(t.flags|=32),se}function te(t,e,n){(t===at&&(P===2||P===9)||t.cancelPendingCommit!==null)&&(Ei(t,0),Hn(t,K,se,!1)),Ua(t,n),((I&2)===0||t!==at)&&(t===at&&((I&2)===0&&(bl|=n),dt===4&&Hn(t,K,se,!1)),Fe(t))}function Dy(t,e,n){if((I&6)!==0)throw Error(z(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||Ra(t,e),i=l?Kb(t,e):mc(t,e,!0),a=l;do{if(i===0){Di&&!l&&Hn(t,e,0,!1);break}else{if(n=t.current.alternate,a&&!Qb(n)){i=mc(t,e,!1),a=!1;continue}if(i===2){if(a=e,t.errorRecoveryDisabledLanes&a)var u=0;else u=t.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){e=u;t:{var r=t;i=da;var o=r.current.memoizedState.isDehydrated;if(o&&(Ei(r,u).flags|=256),u=mc(r,u,!1),u!==2){if(es&&!o){r.errorRecoveryDisabledLanes|=a,bl|=a,i=4;break t}a=Pt,Pt=i,a!==null&&(Pt===null?Pt=a:Pt.push.apply(Pt,a))}i=u}if(a=!1,i!==2)continue}}if(i===1){Ei(t,0),Hn(t,e,0,!0);break}t:{switch(l=t,a=i,a){case 0:case 1:throw Error(z(345));case 4:if((e&4194048)!==e)break;case 6:Hn(l,e,se,!Bn);break t;case 2:Pt=null;break;case 3:case 5:break;default:throw Error(z(329))}if((e&62914560)===e&&(i=Mr+300-pe(),10<i)){if(Hn(l,e,se,!Bn),Sr(l,0,!0)!==0)break t;dn=e,l.timeoutHandle=Fy(Km.bind(null,l,n,Pt,fr,tf,e,se,bl,vi,Bn,a,"Throttled",-0,0),i);break t}Km(l,n,Pt,fr,tf,e,se,bl,vi,Bn,a,null,-0,0)}}break}while(!0);Fe(t)}function Km(t,e,n,l,i,a,u,r,o,f,c,m,p,s){if(t.timeoutHandle=-1,m=e.subtreeFlags,m&8192||(m&16785408)===16785408){m={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sn},Ey(e,a,m);var v=(a&62914560)===a?Mr-pe():(a&4194048)===a?Cy-pe():0;if(v=Ov(m,v),v!==null){dn=a,t.cancelPendingCommit=v(Fm.bind(null,t,e,a,n,l,i,u,r,o,c,m,null,p,s)),Hn(t,a,u,!f);return}}Fm(t,e,a,n,l,i,u,r,o)}function Qb(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var i=n[l],a=i.getSnapshot;i=i.value;try{if(!ye(a(),i))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Hn(t,e,n,l){e&=~ns,e&=~bl,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var i=e;0<i;){var a=31-he(i),u=1<<a;l[a]=-1,i&=~u}n!==0&&Nh(t,n,e)}function Nr(){return(I&6)===0?(Ya(0,!1),!1):!0}function ls(){if(Z!==null){if(P===0)var t=Z.return;else t=Z,pn=Dl=null,Vf(t),si=null,za=0,t=Z;for(;t!==null;)oy(t.alternate,t),t=t.return;Z=null}}function Ei(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,cv(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),dn=0,ls(),at=t,Z=n=mn(t.current,null),K=e,P=0,oe=null,Bn=!1,Di=Ra(t,e),es=!1,vi=se=ns=bl=Wn=dt=0,Pt=da=null,tf=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var i=31-he(l),a=1<<i;e|=t[i],l&=~a}return vn=e,Ar(),n}function wy(t,e){V=null,B.H=Ca,e===ki||e===Or?(e=Am(),P=3):e===Uf?(e=Am(),P=4):P=e===Wf?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,oe=e,Z===null&&(dt=1,ur(t,Oe(e,t.current)))}function _y(){var t=ge.current;return t===null?!0:(K&4194048)===K?De===null:(K&62914560)===K||(K&536870912)!==0?t===De:!1}function My(){var t=B.H;return B.H=Ca,t===null?Ca:t}function Ny(){var t=B.A;return B.A=Xb,t}function sr(){dt=4,Bn||(K&4194048)!==K&&ge.current!==null||(Di=!0),(Wn&134217727)===0&&(bl&134217727)===0||at===null||Hn(at,K,se,!1)}function mc(t,e,n){var l=I;I|=2;var i=My(),a=Ny();(at!==t||K!==e)&&(fr=null,Ei(t,e)),e=!1;var u=dt;t:do try{if(P!==0&&Z!==null){var r=Z,o=oe;switch(P){case 8:ls(),u=6;break t;case 3:case 2:case 9:case 6:ge.current===null&&(e=!0);var f=P;if(P=0,oe=null,ui(t,r,o,f),n&&Di){u=0;break t}break;default:f=P,P=0,oe=null,ui(t,r,o,f)}}Zb(),u=dt;break}catch(c){wy(t,c)}while(!0);return e&&t.shellSuspendCounter++,pn=Dl=null,I=l,B.H=i,B.A=a,Z===null&&(at=null,K=0,Ar()),u}function Zb(){for(;Z!==null;)Ry(Z)}function Kb(t,e){var n=I;I|=2;var l=My(),i=Ny();at!==t||K!==e?(fr=null,cr=pe()+500,Ei(t,e)):Di=Ra(t,e);t:do try{if(P!==0&&Z!==null){e=Z;var a=oe;e:switch(P){case 1:P=0,oe=null,ui(t,e,a,1);break;case 2:case 9:if(zm(a)){P=0,oe=null,Jm(e);break}e=function(){P!==2&&P!==9||at!==t||(P=7),Fe(t)},a.then(e,e);break t;case 3:P=7;break t;case 4:P=5;break t;case 7:zm(a)?(P=0,oe=null,Jm(e)):(P=0,oe=null,ui(t,e,a,7));break;case 5:var u=null;switch(Z.tag){case 26:u=Z.memoizedState;case 5:case 27:var r=Z;if(u?tg(u):r.stateNode.complete){P=0,oe=null;var o=r.sibling;if(o!==null)Z=o;else{var f=r.return;f!==null?(Z=f,Rr(f)):Z=null}break e}}P=0,oe=null,ui(t,e,a,5);break;case 6:P=0,oe=null,ui(t,e,a,6);break;case 8:ls(),dt=6;break t;default:throw Error(z(462))}}Jb();break}catch(c){wy(t,c)}while(!0);return pn=Dl=null,B.H=l,B.A=i,I=n,Z!==null?0:(at=null,K=0,Ar(),dt)}function Jb(){for(;Z!==null&&!gx();)Ry(Z)}function Ry(t){var e=ry(t.alternate,t,vn);t.memoizedProps=t.pendingProps,e===null?Rr(t):Z=e}function Jm(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Ym(n,e,e.pendingProps,e.type,void 0,K);break;case 11:e=Ym(n,e,e.pendingProps,e.type.render,e.ref,K);break;case 5:Vf(e);default:oy(n,e),e=Z=od(e,vn),e=ry(n,e,vn)}t.memoizedProps=t.pendingProps,e===null?Rr(t):Z=e}function ui(t,e,n,l){pn=Dl=null,Vf(e),si=null,za=0;var i=e.return;try{if(Bb(t,i,e,n,K)){dt=1,ur(t,Oe(n,t.current)),Z=null;return}}catch(a){if(i!==null)throw Z=i,a;dt=1,ur(t,Oe(n,t.current)),Z=null;return}e.flags&32768?(F||l===1?t=!0:Di||(K&536870912)!==0?t=!1:(Bn=t=!0,(l===2||l===9||l===3||l===6)&&(l=ge.current,l!==null&&l.tag===13&&(l.flags|=16384))),Uy(e,t)):Rr(e)}function Rr(t){var e=t;do{if((e.flags&32768)!==0){Uy(e,Bn);return}t=e.return;var n=qb(e.alternate,e,vn);if(n!==null){Z=n;return}if(e=e.sibling,e!==null){Z=e;return}Z=e=t}while(e!==null);dt===0&&(dt=5)}function Uy(t,e){do{var n=jb(t.alternate,t);if(n!==null){n.flags&=32767,Z=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){Z=t;return}Z=t=n}while(t!==null);dt=6,Z=null}function Fm(t,e,n,l,i,a,u,r,o){t.cancelPendingCommit=null;do Ur();while(kt!==0);if((I&6)!==0)throw Error(z(327));if(e!==null){if(e===t.current)throw Error(z(177));if(a=e.lanes|e.childLanes,a|=kf,Ox(t,n,a,u,r,o),t===at&&(Z=at=null,K=0),Si=e,Gn=t,dn=n,ef=a,nf=i,Oy=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,$b(Fu,function(){return jy(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=B.T,B.T=null,i=W.p,W.p=2,u=I,I|=4;try{Yb(t,e,n)}finally{I=u,W.p=i,B.T=l}}kt=1,By(),Hy(),Ly()}}function By(){if(kt===1){kt=0;var t=Gn,e=Si,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=B.T,B.T=null;var l=W.p;W.p=2;var i=I;I|=4;try{by(e,t);var a=of,u=td(t.containerInfo),r=a.focusedElem,o=a.selectionRange;if(u!==r&&r&&r.ownerDocument&&Ph(r.ownerDocument.documentElement,r)){if(o!==null&&Of(r)){var f=o.start,c=o.end;if(c===void 0&&(c=f),"selectionStart"in r)r.selectionStart=f,r.selectionEnd=Math.min(c,r.value.length);else{var m=r.ownerDocument||document,p=m&&m.defaultView||window;if(p.getSelection){var s=p.getSelection(),v=r.textContent.length,E=Math.min(o.start,v),k=o.end===void 0?E:Math.min(o.end,v);!s.extend&&E>k&&(u=k,k=E,E=u);var h=gm(r,E),d=gm(r,k);if(h&&d&&(s.rangeCount!==1||s.anchorNode!==h.node||s.anchorOffset!==h.offset||s.focusNode!==d.node||s.focusOffset!==d.offset)){var y=m.createRange();y.setStart(h.node,h.offset),s.removeAllRanges(),E>k?(s.addRange(y),s.extend(d.node,d.offset)):(y.setEnd(d.node,d.offset),s.addRange(y))}}}}for(m=[],s=r;s=s.parentNode;)s.nodeType===1&&m.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<m.length;r++){var b=m[r];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}br=!!rf,of=rf=null}finally{I=i,W.p=l,B.T=n}}t.current=e,kt=2}}function Hy(){if(kt===2){kt=0;var t=Gn,e=Si,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=B.T,B.T=null;var l=W.p;W.p=2;var i=I;I|=4;try{hy(t,e.alternate,e)}finally{I=i,W.p=l,B.T=n}}kt=3}}function Ly(){if(kt===4||kt===3){kt=0,xx();var t=Gn,e=Si,n=dn,l=Oy;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?kt=5:(kt=0,Si=Gn=null,qy(t,t.pendingLanes));var i=t.pendingLanes;if(i===0&&(Xn=null),vf(n),e=e.stateNode,me&&typeof me.onCommitFiberRoot=="function")try{me.onCommitFiberRoot(Na,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=B.T,i=W.p,W.p=2,B.T=null;try{for(var a=t.onRecoverableError,u=0;u<l.length;u++){var r=l[u];a(r.value,{componentStack:r.stack})}}finally{B.T=e,W.p=i}}(dn&3)!==0&&Ur(),Fe(t),i=t.pendingLanes,(n&261930)!==0&&(i&42)!==0?t===lf?ya++:(ya=0,lf=t):ya=0,Ya(0,!1)}}function qy(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,La(e)))}function Ur(){return By(),Hy(),Ly(),jy()}function jy(){if(kt!==5)return!1;var t=Gn,e=ef;ef=0;var n=vf(dn),l=B.T,i=W.p;try{W.p=32>n?32:n,B.T=null,n=nf,nf=null;var a=Gn,u=dn;if(kt=0,Si=Gn=null,dn=0,(I&6)!==0)throw Error(z(331));var r=I;if(I|=4,zy(a.current),Sy(a,a.current,u,n),I=r,Ya(0,!1),me&&typeof me.onPostCommitFiberRoot=="function")try{me.onPostCommitFiberRoot(Na,a)}catch{}return!0}finally{W.p=i,B.T=l,qy(t,e)}}function Im(t,e,n){e=Oe(n,e),e=Ic(t.stateNode,e,2),t=Vn(t,e,2),t!==null&&(Ua(t,2),Fe(t))}function tt(t,e,n){if(t.tag===3)Im(t,t,n);else for(;e!==null;){if(e.tag===3){Im(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Xn===null||!Xn.has(l))){t=Oe(n,t),n=ey(2),l=Vn(e,n,2),l!==null&&(ny(n,l,e,t),Ua(l,2),Fe(l));break}}e=e.return}}function hc(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new Gb;var i=new Set;l.set(e,i)}else i=l.get(e),i===void 0&&(i=new Set,l.set(e,i));i.has(n)||(es=!0,i.add(n),t=Fb.bind(null,t,e,n),e.then(t,t))}function Fb(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,at===t&&(K&n)===n&&(dt===4||dt===3&&(K&62914560)===K&&300>pe()-Mr?(I&2)===0&&Ei(t,0):ns|=n,vi===K&&(vi=0)),Fe(t)}function Yy(t,e){e===0&&(e=Mh()),t=kl(t,e),t!==null&&(Ua(t,e),Fe(t))}function Ib(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Yy(t,n)}function Wb(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(z(314))}l!==null&&l.delete(e),Yy(t,n)}function $b(t,e){return xf(t,e)}var pr=null,Jl=null,af=!1,mr=!1,dc=!1,Ln=0;function Fe(t){t!==Jl&&t.next===null&&(Jl===null?pr=Jl=t:Jl=Jl.next=t),mr=!0,af||(af=!0,tv())}function Ya(t,e){if(!dc&&mr){dc=!0;do for(var n=!1,l=pr;l!==null;){if(!e)if(t!==0){var i=l.pendingLanes;if(i===0)var a=0;else{var u=l.suspendedLanes,r=l.pingedLanes;a=(1<<31-he(42|t)+1)-1,a&=i&~(u&~r),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Wm(l,a))}else a=K,a=Sr(l,l===at?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(a&3)===0||Ra(l,a)||(n=!0,Wm(l,a));l=l.next}while(n);dc=!1}}function Pb(){Vy()}function Vy(){mr=af=!1;var t=0;Ln!==0&&ov()&&(t=Ln);for(var e=pe(),n=null,l=pr;l!==null;){var i=l.next,a=Xy(l,e);a===0?(l.next=null,n===null?pr=i:n.next=i,i===null&&(Jl=n)):(n=l,(t!==0||(a&3)!==0)&&(mr=!0)),l=i}kt!==0&&kt!==5||Ya(t,!1),Ln!==0&&(Ln=0)}function Xy(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,i=t.expirationTimes,a=t.pendingLanes&-62914561;0<a;){var u=31-he(a),r=1<<u,o=i[u];o===-1?((r&n)===0||(r&l)!==0)&&(i[u]=Cx(r,e)):o<=e&&(t.expiredLanes|=r),a&=~r}if(e=at,n=K,n=Sr(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(P===2||P===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Go(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||Ra(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&Go(l),vf(n)){case 2:case 8:n=wh;break;case 32:n=Fu;break;case 268435456:n=_h;break;default:n=Fu}return l=Gy.bind(null,t),n=xf(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&Go(l),t.callbackPriority=2,t.callbackNode=null,2}function Gy(t,e){if(kt!==0&&kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Ur()&&t.callbackNode!==n)return null;var l=K;return l=Sr(t,t===at?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Dy(t,l,e),Xy(t,pe()),t.callbackNode!=null&&t.callbackNode===n?Gy.bind(null,t):null)}function Wm(t,e){if(Ur())return null;Dy(t,e,!0)}function tv(){fv(function(){(I&6)!==0?xf(Dh,Pb):Vy()})}function is(){if(Ln===0){var t=gi;t===0&&(t=hu,hu<<=1,(hu&261888)===0&&(hu=256)),Ln=t}return Ln}function $m(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Mu(""+t)}function Pm(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function ev(t,e,n,l,i){if(e==="submit"&&n&&n.stateNode===i){var a=$m((i[ee]||null).action),u=l.submitter;u&&(e=(e=u[ee]||null)?$m(e.formAction):u.getAttribute("formAction"),e!==null&&(a=e,u=null));var r=new Er("action","action",null,l,i);t.push({event:r,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ln!==0){var o=u?Pm(i,u):new FormData(i);Jc(n,{pending:!0,data:o,method:i.method,action:a},null,o)}}else typeof a=="function"&&(r.preventDefault(),o=u?Pm(i,u):new FormData(i),Jc(n,{pending:!0,data:o,method:i.method,action:a},a,o))},currentTarget:i}]})}}for(Cu=0;Cu<Bc.length;Cu++)Ou=Bc[Cu],th=Ou.toLowerCase(),eh=Ou[0].toUpperCase()+Ou.slice(1),je(th,"on"+eh);var Ou,th,eh,Cu;je(nd,"onAnimationEnd");je(ld,"onAnimationIteration");je(id,"onAnimationStart");je("dblclick","onDoubleClick");je("focusin","onFocus");je("focusout","onBlur");je(bb,"onTransitionRun");je(vb,"onTransitionStart");je(Sb,"onTransitionCancel");je(ad,"onTransitionEnd");di("onMouseEnter",["mouseout","mouseover"]);di("onMouseLeave",["mouseout","mouseover"]);di("onPointerEnter",["pointerout","pointerover"]);di("onPointerLeave",["pointerout","pointerover"]);Al("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Al("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Al("onBeforeInput",["compositionend","keypress","textInput","paste"]);Al("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Al("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Al("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Oa="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(" "),nv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Oa));function Qy(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],i=l.event;l=l.listeners;t:{var a=void 0;if(e)for(var u=l.length-1;0<=u;u--){var r=l[u],o=r.instance,f=r.currentTarget;if(r=r.listener,o!==a&&i.isPropagationStopped())break t;a=r,i.currentTarget=f;try{a(i)}catch(c){Wu(c)}i.currentTarget=null,a=o}else for(u=0;u<l.length;u++){if(r=l[u],o=r.instance,f=r.currentTarget,r=r.listener,o!==a&&i.isPropagationStopped())break t;a=r,i.currentTarget=f;try{a(i)}catch(c){Wu(c)}i.currentTarget=null,a=o}}}}function Q(t,e){var n=e[kc];n===void 0&&(n=e[kc]=new Set);var l=t+"__bubble";n.has(l)||(Zy(e,t,2,!1),n.add(l))}function yc(t,e,n){var l=0;e&&(l|=4),Zy(n,t,l,e)}var ku="_reactListening"+Math.random().toString(36).slice(2);function as(t){if(!t[ku]){t[ku]=!0,Hh.forEach(function(n){n!=="selectionchange"&&(nv.has(n)||yc(n,!1,t),yc(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[ku]||(e[ku]=!0,yc("selectionchange",!1,e))}}function Zy(t,e,n,l){switch(ag(e)){case 2:var i=wv;break;case 8:i=_v;break;default:i=cs}n=i.bind(null,e,n,t),i=void 0,!Nc||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),l?i!==void 0?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):i!==void 0?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function gc(t,e,n,l,i){var a=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var u=l.tag;if(u===3||u===4){var r=l.stateNode.containerInfo;if(r===i)break;if(u===4)for(u=l.return;u!==null;){var o=u.tag;if((o===3||o===4)&&u.stateNode.containerInfo===i)return;u=u.return}for(;r!==null;){if(u=Wl(r),u===null)return;if(o=u.tag,o===5||o===6||o===26||o===27){l=a=u;continue t}r=r.parentNode}}l=l.return}Qh(function(){var f=a,c=Tf(n),m=[];t:{var p=ud.get(t);if(p!==void 0){var s=Er,v=t;switch(t){case"keypress":if(Ru(n)===0)break t;case"keydown":case"keyup":s=Wx;break;case"focusin":v="focus",s=Fo;break;case"focusout":v="blur",s=Fo;break;case"beforeblur":case"afterblur":s=Fo;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=om;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=qx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=tb;break;case nd:case ld:case id:s=Vx;break;case ad:s=nb;break;case"scroll":case"scrollend":s=Hx;break;case"wheel":s=ib;break;case"copy":case"cut":case"paste":s=Gx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=fm;break;case"toggle":case"beforetoggle":s=ub}var E=(e&4)!==0,k=!E&&(t==="scroll"||t==="scrollend"),h=E?p!==null?p+"Capture":null:p;E=[];for(var d=f,y;d!==null;){var b=d;if(y=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||y===null||h===null||(b=ba(d,h),b!=null&&E.push(ka(d,b,y))),k)break;d=d.return}0<E.length&&(p=new s(p,v,null,n,c),m.push({event:p,listeners:E}))}}if((e&7)===0){t:{if(p=t==="mouseover"||t==="pointerover",s=t==="mouseout"||t==="pointerout",p&&n!==Mc&&(v=n.relatedTarget||n.fromElement)&&(Wl(v)||v[Ai]))break t;if((s||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,s?(v=n.relatedTarget||n.toElement,s=f,v=v?Wl(v):null,v!==null&&(k=Ma(v),E=v.tag,v!==k||E!==5&&E!==27&&E!==6)&&(v=null)):(s=null,v=f),s!==v)){if(E=om,b="onMouseLeave",h="onMouseEnter",d="mouse",(t==="pointerout"||t==="pointerover")&&(E=fm,b="onPointerLeave",h="onPointerEnter",d="pointer"),k=s==null?p:na(s),y=v==null?p:na(v),p=new E(b,d+"leave",s,n,c),p.target=k,p.relatedTarget=y,b=null,Wl(c)===f&&(E=new E(h,d+"enter",v,n,c),E.target=y,E.relatedTarget=k,b=E),k=b,s&&v)e:{for(E=lv,h=s,d=v,y=0,b=h;b;b=E(b))y++;b=0;for(var O=d;O;O=E(O))b++;for(;0<y-b;)h=E(h),y--;for(;0<b-y;)d=E(d),b--;for(;y--;){if(h===d||d!==null&&h===d.alternate){E=h;break e}h=E(h),d=E(d)}E=null}else E=null;s!==null&&nh(m,p,s,E,!1),v!==null&&k!==null&&nh(m,k,v,E,!0)}}t:{if(p=f?na(f):window,s=p.nodeName&&p.nodeName.toLowerCase(),s==="select"||s==="input"&&p.type==="file")var S=hm;else if(mm(p))if(Wh)S=yb;else{S=hb;var C=mb}else s=p.nodeName,!s||s.toLowerCase()!=="input"||p.type!=="checkbox"&&p.type!=="radio"?f&&Ef(f.elementType)&&(S=hm):S=db;if(S&&(S=S(t,f))){Ih(m,S,n,c);break t}C&&C(t,p,f),t==="focusout"&&f&&p.type==="number"&&f.memoizedProps.value!=null&&_c(p,"number",p.value)}switch(C=f?na(f):window,t){case"focusin":(mm(C)||C.contentEditable==="true")&&(ti=C,Rc=f,ra=null);break;case"focusout":ra=Rc=ti=null;break;case"mousedown":Uc=!0;break;case"contextmenu":case"mouseup":case"dragend":Uc=!1,xm(m,n,c);break;case"selectionchange":if(xb)break;case"keydown":case"keyup":xm(m,n,c)}var N;if(Cf)t:{switch(t){case"compositionstart":var _="onCompositionStart";break t;case"compositionend":_="onCompositionEnd";break t;case"compositionupdate":_="onCompositionUpdate";break t}_=void 0}else Pl?Jh(t,n)&&(_="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(Kh&&n.locale!=="ko"&&(Pl||_!=="onCompositionStart"?_==="onCompositionEnd"&&Pl&&(N=Zh()):(Un=c,zf="value"in Un?Un.value:Un.textContent,Pl=!0)),C=hr(f,_),0<C.length&&(_=new cm(_,t,null,n,c),m.push({event:_,listeners:C}),N?_.data=N:(N=Fh(n),N!==null&&(_.data=N)))),(N=ob?cb(t,n):fb(t,n))&&(_=hr(f,"onBeforeInput"),0<_.length&&(C=new cm("onBeforeInput","beforeinput",null,n,c),m.push({event:C,listeners:_}),C.data=N)),ev(m,t,f,n,c)}Qy(m,e)})}function ka(t,e,n){return{instance:t,listener:e,currentTarget:n}}function hr(t,e){for(var n=e+"Capture",l=[];t!==null;){var i=t,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=ba(t,n),i!=null&&l.unshift(ka(t,i,a)),i=ba(t,e),i!=null&&l.push(ka(t,i,a))),t.tag===3)return l;t=t.return}return[]}function lv(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function nh(t,e,n,l,i){for(var a=e._reactName,u=[];n!==null&&n!==l;){var r=n,o=r.alternate,f=r.stateNode;if(r=r.tag,o!==null&&o===l)break;r!==5&&r!==26&&r!==27||f===null||(o=f,i?(f=ba(n,a),f!=null&&u.unshift(ka(n,f,o))):i||(f=ba(n,a),f!=null&&u.push(ka(n,f,o)))),n=n.return}u.length!==0&&t.push({event:e,listeners:u})}var iv=/\r\n?/g,av=/\u0000|\uFFFD/g;function lh(t){return(typeof t=="string"?t:""+t).replace(iv,`
|
|
9
|
-
`).replace(av,"")}function Ky(t,e){return e=lh(e),lh(t)===e}function nt(t,e,n,l,i,a){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||yi(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&yi(t,""+l);break;case"className":gu(t,"class",l);break;case"tabIndex":gu(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":gu(t,n,l);break;case"style":Gh(t,l,a);break;case"data":if(e!=="object"){gu(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Mu(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof a=="function"&&(n==="formAction"?(e!=="input"&&nt(t,e,"name",i.name,i,null),nt(t,e,"formEncType",i.formEncType,i,null),nt(t,e,"formMethod",i.formMethod,i,null),nt(t,e,"formTarget",i.formTarget,i,null)):(nt(t,e,"encType",i.encType,i,null),nt(t,e,"method",i.method,i,null),nt(t,e,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Mu(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=sn);break;case"onScroll":l!=null&&Q("scroll",t);break;case"onScrollEnd":l!=null&&Q("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(z(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(z(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Mu(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":Q("beforetoggle",t),Q("toggle",t),_u(t,"popover",l);break;case"xlinkActuate":nn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":nn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":nn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":nn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":nn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":nn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":nn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":nn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":nn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":_u(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Ux.get(n)||n,_u(t,n,l))}}function uf(t,e,n,l,i,a){switch(n){case"style":Gh(t,l,a);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(z(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(z(60));t.innerHTML=n}}break;case"children":typeof l=="string"?yi(t,l):(typeof l=="number"||typeof l=="bigint")&&yi(t,""+l);break;case"onScroll":l!=null&&Q("scroll",t);break;case"onScrollEnd":l!=null&&Q("scrollend",t);break;case"onClick":l!=null&&(t.onclick=sn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Lh.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),e=n.slice(2,i?n.length-7:void 0),a=t[ee]||null,a=a!=null?a[n]:null,typeof a=="function"&&t.removeEventListener(e,a,i),typeof l=="function")){typeof a!="function"&&a!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,i);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):_u(t,n,l)}}}function jt(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Q("error",t),Q("load",t);var l=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var u=n[a];if(u!=null)switch(a){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(z(137,e));default:nt(t,e,a,u,n,null)}}i&&nt(t,e,"srcSet",n.srcSet,n,null),l&&nt(t,e,"src",n.src,n,null);return;case"input":Q("invalid",t);var r=a=u=i=null,o=null,f=null;for(l in n)if(n.hasOwnProperty(l)){var c=n[l];if(c!=null)switch(l){case"name":i=c;break;case"type":u=c;break;case"checked":o=c;break;case"defaultChecked":f=c;break;case"value":a=c;break;case"defaultValue":r=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(z(137,e));break;default:nt(t,e,l,c,n,null)}}Yh(t,a,r,o,f,u,i,!1);return;case"select":Q("invalid",t),l=u=a=null;for(i in n)if(n.hasOwnProperty(i)&&(r=n[i],r!=null))switch(i){case"value":a=r;break;case"defaultValue":u=r;break;case"multiple":l=r;default:nt(t,e,i,r,n,null)}e=a,n=u,t.multiple=!!l,e!=null?oi(t,!!l,e,!1):n!=null&&oi(t,!!l,n,!0);return;case"textarea":Q("invalid",t),a=i=l=null;for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case"value":l=r;break;case"defaultValue":i=r;break;case"children":a=r;break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(z(91));break;default:nt(t,e,u,r,n,null)}Xh(t,l,i,a);return;case"option":for(o in n)n.hasOwnProperty(o)&&(l=n[o],l!=null)&&(o==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":nt(t,e,o,l,n,null));return;case"dialog":Q("beforetoggle",t),Q("toggle",t),Q("cancel",t),Q("close",t);break;case"iframe":case"object":Q("load",t);break;case"video":case"audio":for(l=0;l<Oa.length;l++)Q(Oa[l],t);break;case"image":Q("error",t),Q("load",t);break;case"details":Q("toggle",t);break;case"embed":case"source":case"link":Q("error",t),Q("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(f in n)if(n.hasOwnProperty(f)&&(l=n[f],l!=null))switch(f){case"children":case"dangerouslySetInnerHTML":throw Error(z(137,e));default:nt(t,e,f,l,n,null)}return;default:if(Ef(e)){for(c in n)n.hasOwnProperty(c)&&(l=n[c],l!==void 0&&uf(t,e,c,l,n,void 0));return}}for(r in n)n.hasOwnProperty(r)&&(l=n[r],l!=null&&nt(t,e,r,l,n,null))}function uv(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,a=null,u=null,r=null,o=null,f=null,c=null;for(s in n){var m=n[s];if(n.hasOwnProperty(s)&&m!=null)switch(s){case"checked":break;case"value":break;case"defaultValue":o=m;default:l.hasOwnProperty(s)||nt(t,e,s,null,l,m)}}for(var p in l){var s=l[p];if(m=n[p],l.hasOwnProperty(p)&&(s!=null||m!=null))switch(p){case"type":a=s;break;case"name":i=s;break;case"checked":f=s;break;case"defaultChecked":c=s;break;case"value":u=s;break;case"defaultValue":r=s;break;case"children":case"dangerouslySetInnerHTML":if(s!=null)throw Error(z(137,e));break;default:s!==m&&nt(t,e,p,s,l,m)}}wc(t,u,r,o,f,c,a,i);return;case"select":s=u=r=p=null;for(a in n)if(o=n[a],n.hasOwnProperty(a)&&o!=null)switch(a){case"value":break;case"multiple":s=o;default:l.hasOwnProperty(a)||nt(t,e,a,null,l,o)}for(i in l)if(a=l[i],o=n[i],l.hasOwnProperty(i)&&(a!=null||o!=null))switch(i){case"value":p=a;break;case"defaultValue":r=a;break;case"multiple":u=a;default:a!==o&&nt(t,e,i,a,l,o)}e=r,n=u,l=s,p!=null?oi(t,!!n,p,!1):!!l!=!!n&&(e!=null?oi(t,!!n,e,!0):oi(t,!!n,n?[]:"",!1));return;case"textarea":s=p=null;for(r in n)if(i=n[r],n.hasOwnProperty(r)&&i!=null&&!l.hasOwnProperty(r))switch(r){case"value":break;case"children":break;default:nt(t,e,r,null,l,i)}for(u in l)if(i=l[u],a=n[u],l.hasOwnProperty(u)&&(i!=null||a!=null))switch(u){case"value":p=i;break;case"defaultValue":s=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(z(91));break;default:i!==a&&nt(t,e,u,i,l,a)}Vh(t,p,s);return;case"option":for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!l.hasOwnProperty(v)&&(v==="selected"?t.selected=!1:nt(t,e,v,null,l,p));for(o in l)p=l[o],s=n[o],l.hasOwnProperty(o)&&p!==s&&(p!=null||s!=null)&&(o==="selected"?t.selected=p&&typeof p!="function"&&typeof p!="symbol":nt(t,e,o,p,l,s));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 E in n)p=n[E],n.hasOwnProperty(E)&&p!=null&&!l.hasOwnProperty(E)&&nt(t,e,E,null,l,p);for(f in l)if(p=l[f],s=n[f],l.hasOwnProperty(f)&&p!==s&&(p!=null||s!=null))switch(f){case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(z(137,e));break;default:nt(t,e,f,p,l,s)}return;default:if(Ef(e)){for(var k in n)p=n[k],n.hasOwnProperty(k)&&p!==void 0&&!l.hasOwnProperty(k)&&uf(t,e,k,void 0,l,p);for(c in l)p=l[c],s=n[c],!l.hasOwnProperty(c)||p===s||p===void 0&&s===void 0||uf(t,e,c,p,l,s);return}}for(var h in n)p=n[h],n.hasOwnProperty(h)&&p!=null&&!l.hasOwnProperty(h)&&nt(t,e,h,null,l,p);for(m in l)p=l[m],s=n[m],!l.hasOwnProperty(m)||p===s||p==null&&s==null||nt(t,e,m,p,l,s)}function ih(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function rv(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var i=n[l],a=i.transferSize,u=i.initiatorType,r=i.duration;if(a&&r&&ih(u)){for(u=0,r=i.responseEnd,l+=1;l<n.length;l++){var o=n[l],f=o.startTime;if(f>r)break;var c=o.transferSize,m=o.initiatorType;c&&ih(m)&&(o=o.responseEnd,u+=c*(o<r?1:(r-f)/(o-f)))}if(--l,e+=8*(a+u)/(i.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var rf=null,of=null;function dr(t){return t.nodeType===9?t:t.ownerDocument}function ah(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 Jy(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 cf(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 xc=null;function ov(){var t=window.event;return t&&t.type==="popstate"?t===xc?!1:(xc=t,!0):(xc=null,!1)}var Fy=typeof setTimeout=="function"?setTimeout:void 0,cv=typeof clearTimeout=="function"?clearTimeout:void 0,uh=typeof Promise=="function"?Promise:void 0,fv=typeof queueMicrotask=="function"?queueMicrotask:typeof uh<"u"?function(t){return uh.resolve(null).then(t).catch(sv)}:Fy;function sv(t){setTimeout(function(){throw t})}function Pn(t){return t==="head"}function rh(t,e){var n=e,l=0;do{var i=n.nextSibling;if(t.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(i),zi(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")ga(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,ga(n);for(var a=n.firstChild;a;){var u=a.nextSibling,r=a.nodeName;a[Ba]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&a.rel.toLowerCase()==="stylesheet"||n.removeChild(a),a=u}}else n==="body"&&ga(t.ownerDocument.body);n=i}while(n);zi(e)}function oh(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function ff(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":ff(n),Sf(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function pv(t,e,n,l){for(;t.nodeType===1;){var i=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Ba])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(a=t.getAttribute("rel"),a==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(a!==i.rel||t.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||t.getAttribute("title")!==(i.title==null?null:i.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(a=t.getAttribute("src"),(a!==(i.src==null?null:i.src)||t.getAttribute("type")!==(i.type==null?null:i.type)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var a=i.name==null?null:""+i.name;if(i.type==="hidden"&&t.getAttribute("name")===a)return t}else return t;if(t=we(t.nextSibling),t===null)break}return null}function mv(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=we(t.nextSibling),t===null))return null;return t}function Iy(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=we(t.nextSibling),t===null))return null;return t}function sf(t){return t.data==="$?"||t.data==="$~"}function pf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function hv(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function we(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 mf=null;function ch(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return we(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function fh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function Wy(t,e,n){switch(e=dr(n),t){case"html":if(t=e.documentElement,!t)throw Error(z(452));return t;case"head":if(t=e.head,!t)throw Error(z(453));return t;case"body":if(t=e.body,!t)throw Error(z(454));return t;default:throw Error(z(451))}}function ga(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Sf(t)}var _e=new Map,sh=new Set;function yr(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Sn=W.d;W.d={f:dv,r:yv,D:gv,C:xv,L:bv,m:vv,X:Ev,S:Sv,M:Tv};function dv(){var t=Sn.f(),e=Nr();return t||e}function yv(t){var e=Ci(t);e!==null&&e.tag===5&&e.type==="form"?Gd(e):Sn.r(t)}var wi=typeof document>"u"?null:document;function $y(t,e,n){var l=wi;if(l&&typeof e=="string"&&e){var i=Ce(e);i='link[rel="'+t+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),sh.has(i)||(sh.add(i),t={rel:t,crossOrigin:n,href:e},l.querySelector(i)===null&&(e=l.createElement("link"),jt(e,"link",t),_t(e),l.head.appendChild(e)))}}function gv(t){Sn.D(t),$y("dns-prefetch",t,null)}function xv(t,e){Sn.C(t,e),$y("preconnect",t,e)}function bv(t,e,n){Sn.L(t,e,n);var l=wi;if(l&&t&&e){var i='link[rel="preload"][as="'+Ce(e)+'"]';e==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+Ce(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+Ce(n.imageSizes)+'"]')):i+='[href="'+Ce(t)+'"]';var a=i;switch(e){case"style":a=Ti(t);break;case"script":a=_i(t)}_e.has(a)||(t=ft({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),_e.set(a,t),l.querySelector(i)!==null||e==="style"&&l.querySelector(Va(a))||e==="script"&&l.querySelector(Xa(a))||(e=l.createElement("link"),jt(e,"link",t),_t(e),l.head.appendChild(e)))}}function vv(t,e){Sn.m(t,e);var n=wi;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",i='link[rel="modulepreload"][as="'+Ce(l)+'"][href="'+Ce(t)+'"]',a=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=_i(t)}if(!_e.has(a)&&(t=ft({rel:"modulepreload",href:t},e),_e.set(a,t),n.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Xa(a)))return}l=n.createElement("link"),jt(l,"link",t),_t(l),n.head.appendChild(l)}}}function Sv(t,e,n){Sn.S(t,e,n);var l=wi;if(l&&t){var i=ri(l).hoistableStyles,a=Ti(t);e=e||"default";var u=i.get(a);if(!u){var r={loading:0,preload:null};if(u=l.querySelector(Va(a)))r.loading=5;else{t=ft({rel:"stylesheet",href:t,"data-precedence":e},n),(n=_e.get(a))&&us(t,n);var o=u=l.createElement("link");_t(o),jt(o,"link",t),o._p=new Promise(function(f,c){o.onload=f,o.onerror=c}),o.addEventListener("load",function(){r.loading|=1}),o.addEventListener("error",function(){r.loading|=2}),r.loading|=4,Vu(u,e,l)}u={type:"stylesheet",instance:u,count:1,state:r},i.set(a,u)}}}function Ev(t,e){Sn.X(t,e);var n=wi;if(n&&t){var l=ri(n).hoistableScripts,i=_i(t),a=l.get(i);a||(a=n.querySelector(Xa(i)),a||(t=ft({src:t,async:!0},e),(e=_e.get(i))&&rs(t,e),a=n.createElement("script"),_t(a),jt(a,"link",t),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},l.set(i,a))}}function Tv(t,e){Sn.M(t,e);var n=wi;if(n&&t){var l=ri(n).hoistableScripts,i=_i(t),a=l.get(i);a||(a=n.querySelector(Xa(i)),a||(t=ft({src:t,async:!0,type:"module"},e),(e=_e.get(i))&&rs(t,e),a=n.createElement("script"),_t(a),jt(a,"link",t),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},l.set(i,a))}}function ph(t,e,n,l){var i=(i=qn.current)?yr(i):null;if(!i)throw Error(z(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Ti(n.href),n=ri(i).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Ti(n.href);var a=ri(i).hoistableStyles,u=a.get(t);if(u||(i=i.ownerDocument||i,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(t,u),(a=i.querySelector(Va(t)))&&!a._p&&(u.instance=a,u.state.loading=5),_e.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},_e.set(t,n),a||zv(i,t,n,u.state))),e&&l===null)throw Error(z(528,""));return u}if(e&&l!==null)throw Error(z(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=_i(n),n=ri(i).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(z(444,t))}}function Ti(t){return'href="'+Ce(t)+'"'}function Va(t){return'link[rel="stylesheet"]['+t+"]"}function Py(t){return ft({},t,{"data-precedence":t.precedence,precedence:null})}function zv(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),jt(e,"link",n),_t(e),t.head.appendChild(e))}function _i(t){return'[src="'+Ce(t)+'"]'}function Xa(t){return"script[async]"+t}function mh(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ce(n.href)+'"]');if(l)return e.instance=l,_t(l),l;var i=ft({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),_t(l),jt(l,"style",i),Vu(l,n.precedence,t),e.instance=l;case"stylesheet":i=Ti(n.href);var a=t.querySelector(Va(i));if(a)return e.state.loading|=4,e.instance=a,_t(a),a;l=Py(n),(i=_e.get(i))&&us(l,i),a=(t.ownerDocument||t).createElement("link"),_t(a);var u=a;return u._p=new Promise(function(r,o){u.onload=r,u.onerror=o}),jt(a,"link",l),e.state.loading|=4,Vu(a,n.precedence,t),e.instance=a;case"script":return a=_i(n.src),(i=t.querySelector(Xa(a)))?(e.instance=i,_t(i),i):(l=n,(i=_e.get(a))&&(l=ft({},n),rs(l,i)),t=t.ownerDocument||t,i=t.createElement("script"),_t(i),jt(i,"link",l),t.head.appendChild(i),e.instance=i);case"void":return null;default:throw Error(z(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Vu(l,n.precedence,t));return e.instance}function Vu(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,a=i,u=0;u<l.length;u++){var r=l[u];if(r.dataset.precedence===e)a=r;else if(a!==i)break}a?a.parentNode.insertBefore(t,a.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function us(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function rs(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 hh(t,e,n){if(Xu===null){var l=new Map,i=Xu=new Map;i.set(n,l)}else i=Xu,l=i.get(n),l||(l=new Map,i.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),i=0;i<n.length;i++){var a=n[i];if(!(a[Ba]||a[Ht]||t==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var u=a.getAttribute(e)||"";u=t+u;var r=l.get(u);r?r.push(a):l.set(u,[a])}}return l}function dh(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Av(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!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 tg(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Cv(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var i=Ti(l.href),a=e.querySelector(Va(i));if(a){e=a._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=gr.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=a,_t(a);return}a=e.ownerDocument||e,l=Py(l),(i=_e.get(i))&&us(l,i),a=a.createElement("link"),_t(a);var u=a;u._p=new Promise(function(r,o){u.onload=r,u.onerror=o}),jt(a,"link",l),n.instance=a}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=gr.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var bc=0;function Ov(t,e){return t.stylesheets&&t.count===0&&Gu(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&Gu(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4+e);0<t.imgBytes&&bc===0&&(bc=62500*rv());var i=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Gu(t,t.stylesheets),t.unsuspend)){var a=t.unsuspend;t.unsuspend=null,a()}},(t.imgBytes>bc?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function gr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var xr=null;function Gu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,xr=new Map,e.forEach(kv,t),xr=null,gr.call(t))}function kv(t,e){if(!(e.state.loading&4)){var n=xr.get(t);if(n)var l=n.get(null);else{n=new Map,xr.set(t,n);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<i.length;a++){var u=i[a];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(n.set(u.dataset.precedence,u),l=u)}l&&n.set(null,l)}i=e.instance,u=i.getAttribute("data-precedence"),a=n.get(u)||l,a===l&&n.set(null,i),n.set(u,i),this.count++,l=gr.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),a?a.parentNode.insertBefore(i,a.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(i,t.firstChild)),e.state.loading|=4}}var Da={$$typeof:fn,Provider:null,Consumer:null,_currentValue:dl,_currentValue2:dl,_threadCount:0};function Dv(t,e,n,l,i,a,u,r,o){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qo(0),this.hiddenUpdates=Qo(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function eg(t,e,n,l,i,a,u,r,o,f,c,m){return t=new Dv(t,e,n,u,o,f,c,m,r),e=1,a===!0&&(e|=24),a=fe(3,null,null,e),t.current=a,a.stateNode=t,e=Nf(),e.refCount++,t.pooledCache=e,e.refCount++,a.memoizedState={element:l,isDehydrated:n,cache:e},Bf(a),t}function ng(t){return t?(t=li,t):li}function lg(t,e,n,l,i,a){i=ng(i),l.context===null?l.context=i:l.pendingContext=i,l=Yn(e),l.payload={element:n},a=a===void 0?null:a,a!==null&&(l.callback=a),n=Vn(t,l,e),n!==null&&(te(n,t,e),ca(n,t,e))}function yh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function os(t,e){yh(t,e),(t=t.alternate)&&yh(t,e)}function ig(t){if(t.tag===13||t.tag===31){var e=kl(t,67108864);e!==null&&te(e,t,67108864),os(t,67108864)}}function gh(t){if(t.tag===13||t.tag===31){var e=de();e=bf(e);var n=kl(t,e);n!==null&&te(n,t,e),os(t,e)}}var br=!0;function wv(t,e,n,l){var i=B.T;B.T=null;var a=W.p;try{W.p=2,cs(t,e,n,l)}finally{W.p=a,B.T=i}}function _v(t,e,n,l){var i=B.T;B.T=null;var a=W.p;try{W.p=8,cs(t,e,n,l)}finally{W.p=a,B.T=i}}function cs(t,e,n,l){if(br){var i=hf(l);if(i===null)gc(t,e,l,vr,n),xh(t,l);else if(Nv(i,t,e,n,l))l.stopPropagation();else if(xh(t,l),e&4&&-1<Mv.indexOf(t)){for(;i!==null;){var a=Ci(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var u=pl(a.pendingLanes);if(u!==0){var r=a;for(r.pendingLanes|=2,r.entangledLanes|=2;u;){var o=1<<31-he(u);r.entanglements[1]|=o,u&=~o}Fe(a),(I&6)===0&&(cr=pe()+500,Ya(0,!1))}}break;case 31:case 13:r=kl(a,2),r!==null&&te(r,a,2),Nr(),os(a,2)}if(a=hf(l),a===null&&gc(t,e,l,vr,n),a===i)break;i=a}i!==null&&l.stopPropagation()}else gc(t,e,l,null,n)}}function hf(t){return t=Tf(t),fs(t)}var vr=null;function fs(t){if(vr=null,t=Wl(t),t!==null){var e=Ma(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=zh(e),t!==null)return t;t=null}else if(n===31){if(t=Ah(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return vr=t,null}function ag(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(bx()){case Dh:return 2;case wh:return 8;case Fu:case vx:return 32;case _h:return 268435456;default:return 32}default:return 32}}var df=!1,Qn=null,Zn=null,Kn=null,wa=new Map,_a=new Map,Nn=[],Mv="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 xh(t,e){switch(t){case"focusin":case"focusout":Qn=null;break;case"dragenter":case"dragleave":Zn=null;break;case"mouseover":case"mouseout":Kn=null;break;case"pointerover":case"pointerout":wa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":_a.delete(e.pointerId)}}function $i(t,e,n,l,i,a){return t===null||t.nativeEvent!==a?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:a,targetContainers:[i]},e!==null&&(e=Ci(e),e!==null&&ig(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function Nv(t,e,n,l,i){switch(e){case"focusin":return Qn=$i(Qn,t,e,n,l,i),!0;case"dragenter":return Zn=$i(Zn,t,e,n,l,i),!0;case"mouseover":return Kn=$i(Kn,t,e,n,l,i),!0;case"pointerover":var a=i.pointerId;return wa.set(a,$i(wa.get(a)||null,t,e,n,l,i)),!0;case"gotpointercapture":return a=i.pointerId,_a.set(a,$i(_a.get(a)||null,t,e,n,l,i)),!0}return!1}function ug(t){var e=Wl(t.target);if(e!==null){var n=Ma(e);if(n!==null){if(e=n.tag,e===13){if(e=zh(n),e!==null){t.blockedOn=e,em(t.priority,function(){gh(n)});return}}else if(e===31){if(e=Ah(n),e!==null){t.blockedOn=e,em(t.priority,function(){gh(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Qu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=hf(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);Mc=l,n.target.dispatchEvent(l),Mc=null}else return e=Ci(n),e!==null&&ig(e),t.blockedOn=n,!1;e.shift()}return!0}function bh(t,e,n){Qu(t)&&n.delete(e)}function Rv(){df=!1,Qn!==null&&Qu(Qn)&&(Qn=null),Zn!==null&&Qu(Zn)&&(Zn=null),Kn!==null&&Qu(Kn)&&(Kn=null),wa.forEach(bh),_a.forEach(bh)}function Du(t,e){t.blockedOn===e&&(t.blockedOn=null,df||(df=!0,Dt.unstable_scheduleCallback(Dt.unstable_NormalPriority,Rv)))}var wu=null;function vh(t){wu!==t&&(wu=t,Dt.unstable_scheduleCallback(Dt.unstable_NormalPriority,function(){wu===t&&(wu=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],i=t[e+2];if(typeof l!="function"){if(fs(l||n)===null)continue;break}var a=Ci(n);a!==null&&(t.splice(e,3),e-=3,Jc(a,{pending:!0,data:i,method:n.method,action:l},l,i))}}))}function zi(t){function e(o){return Du(o,t)}Qn!==null&&Du(Qn,t),Zn!==null&&Du(Zn,t),Kn!==null&&Du(Kn,t),wa.forEach(e),_a.forEach(e);for(var n=0;n<Nn.length;n++){var l=Nn[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Nn.length&&(n=Nn[0],n.blockedOn===null);)ug(n),n.blockedOn===null&&Nn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var i=n[l],a=n[l+1],u=i[ee]||null;if(typeof a=="function")u||vh(n);else if(u){var r=null;if(a&&a.hasAttribute("formAction")){if(i=a,u=a[ee]||null)r=u.formAction;else if(fs(i)!==null)continue}else r=u.action;typeof r=="function"?n[l+1]=r:(n.splice(l,3),l-=3),vh(n)}}}function rg(){function t(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(u){return i=u})},focusReset:"manual",scroll:"manual"})}function e(){i!==null&&(i(),i=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,i=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),i!==null&&(i(),i=null)}}}function ss(t){this._internalRoot=t}Br.prototype.render=ss.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(z(409));var n=e.current,l=de();lg(n,l,t,e,null,null)};Br.prototype.unmount=ss.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;lg(t.current,2,null,t,null,null),Nr(),e[Ai]=null}};function Br(t){this._internalRoot=t}Br.prototype.unstable_scheduleHydration=function(t){if(t){var e=Bh();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Nn.length&&e!==0&&e<Nn[n].priority;n++);Nn.splice(n,0,t),n===0&&ug(t)}};var Sh=Eh.version;if(Sh!=="19.2.4")throw Error(z(527,Sh,"19.2.4"));W.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(z(188)):(t=Object.keys(t).join(","),Error(z(268,t)));return t=px(e),t=t!==null?Ch(t):null,t=t===null?null:t.stateNode,t};var Uv={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Pi=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Pi.isDisabled&&Pi.supportsFiber))try{Na=Pi.inject(Uv),me=Pi}catch{}var Pi;Hr.createRoot=function(t,e){if(!Th(t))throw Error(z(299));var n=!1,l="",i=$d,a=Pd,u=ty;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(i=e.onUncaughtError),e.onCaughtError!==void 0&&(a=e.onCaughtError),e.onRecoverableError!==void 0&&(u=e.onRecoverableError)),e=eg(t,1,!1,null,null,n,l,null,i,a,u,rg),t[Ai]=e.current,as(t),new ss(e)};Hr.hydrateRoot=function(t,e,n){if(!Th(t))throw Error(z(299));var l=!1,i="",a=$d,u=Pd,r=ty,o=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(r=n.onRecoverableError),n.formState!==void 0&&(o=n.formState)),e=eg(t,1,!0,e,n??null,l,i,o,a,u,r,rg),e.context=ng(null),n=e.current,l=de(),l=bf(l),i=Yn(l),i.callback=null,Vn(n,i,l),n=l,e.current.lanes=n,Ua(e,n),Fe(e),t[Ai]=e.current,as(t),new Br(e)};Hr.version="19.2.4"});var sg=Gt((QT,fg)=>{"use strict";function cg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cg)}catch(t){console.error(t)}}cg(),fg.exports=og()});var Ug=Gt((az,Rg)=>{"use strict";var wg=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,_S=/\n/g,MS=/^\s*/,NS=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,RS=/^:\s*/,US=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,BS=/^[;\s]*/,HS=/^\s+|\s+$/g,LS=`
|
|
10
|
-
`,_g="/",Mg="*",Nl="",qS="comment",jS="declaration";function YS(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,l=1;function i(v){var E=v.match(_S);E&&(n+=E.length);var k=v.lastIndexOf(LS);l=~k?v.length-k:l+v.length}function a(){var v={line:n,column:l};return function(E){return E.position=new u(v),f(),E}}function u(v){this.start=v,this.end={line:n,column:l},this.source=e.source}u.prototype.content=t;function r(v){var E=new Error(e.source+":"+n+":"+l+": "+v);if(E.reason=v,E.filename=e.source,E.line=n,E.column=l,E.source=t,!e.silent)throw E}function o(v){var E=v.exec(t);if(E){var k=E[0];return i(k),t=t.slice(k.length),E}}function f(){o(MS)}function c(v){var E;for(v=v||[];E=m();)E!==!1&&v.push(E);return v}function m(){var v=a();if(!(_g!=t.charAt(0)||Mg!=t.charAt(1))){for(var E=2;Nl!=t.charAt(E)&&(Mg!=t.charAt(E)||_g!=t.charAt(E+1));)++E;if(E+=2,Nl===t.charAt(E-1))return r("End of comment missing");var k=t.slice(2,E-2);return l+=2,i(k),t=t.slice(E),l+=2,v({type:qS,comment:k})}}function p(){var v=a(),E=o(NS);if(E){if(m(),!o(RS))return r("property missing ':'");var k=o(US),h=v({type:jS,property:Ng(E[0].replace(wg,Nl)),value:k?Ng(k[0].replace(wg,Nl)):Nl});return o(BS),h}}function s(){var v=[];c(v);for(var E;E=p();)E!==!1&&(v.push(E),c(v));return v}return f(),s()}function Ng(t){return t?t.replace(HS,Nl):Nl}Rg.exports=YS});var Bg=Gt(Ja=>{"use strict";var VS=Ja&&Ja.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ja,"__esModule",{value:!0});Ja.default=GS;var XS=VS(Ug());function GS(t,e){let n=null;if(!t||typeof t!="string")return n;let l=(0,XS.default)(t),i=typeof e=="function";return l.forEach(a=>{if(a.type!=="declaration")return;let{property:u,value:r}=a;i?e(u,r,a):r&&(n=n||{},n[u]=r)}),n}});var Lg=Gt(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.camelCase=void 0;var QS=/^--[a-zA-Z0-9_-]+$/,ZS=/-([a-z])/g,KS=/^[^-]+$/,JS=/^-(webkit|moz|ms|o|khtml)-/,FS=/^-(ms)-/,IS=function(t){return!t||KS.test(t)||QS.test(t)},WS=function(t,e){return e.toUpperCase()},Hg=function(t,e){return"".concat(e,"-")},$S=function(t,e){return e===void 0&&(e={}),IS(t)?t:(t=t.toLowerCase(),e.reactCompat?t=t.replace(FS,Hg):t=t.replace(JS,Hg),t.replace(ZS,WS))};Jr.camelCase=$S});var jg=Gt((As,qg)=>{"use strict";var PS=As&&As.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},t2=PS(Bg()),e2=Lg();function zs(t,e){var n={};return!t||typeof t!="string"||(0,t2.default)(t,function(l,i){l&&i&&(n[(0,e2.camelCase)(l,e)]=i)}),n}zs.default=zs;qg.exports=zs});var Ig=Gt(Ir=>{"use strict";var S2=Symbol.for("react.transitional.element"),E2=Symbol.for("react.fragment");function Fg(t,e,n){var l=null;if(n!==void 0&&(l=""+n),e.key!==void 0&&(l=""+e.key),"key"in e){n={};for(var i in e)i!=="key"&&(n[i]=e[i])}else n=e;return e=n.ref,{$$typeof:S2,type:t,key:l,ref:e!==void 0?e:null,props:n}}Ir.Fragment=E2;Ir.jsx=Fg;Ir.jsxs=Fg});var Wr=Gt((Mz,Wg)=>{"use strict";Wg.exports=Ig()});var y1=Gt((B5,d1)=>{"use strict";var vo=Object.prototype.hasOwnProperty,h1=Object.prototype.toString,o1=Object.defineProperty,c1=Object.getOwnPropertyDescriptor,f1=function(e){return typeof Array.isArray=="function"?Array.isArray(e):h1.call(e)==="[object Array]"},s1=function(e){if(!e||h1.call(e)!=="[object Object]")return!1;var n=vo.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&vo.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!l)return!1;var i;for(i in e);return typeof i>"u"||vo.call(e,i)},p1=function(e,n){o1&&n.name==="__proto__"?o1(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},m1=function(e,n){if(n==="__proto__")if(vo.call(e,n)){if(c1)return c1(e,n).value}else return;return e[n]};d1.exports=function t(){var e,n,l,i,a,u,r=arguments[0],o=1,f=arguments.length,c=!1;for(typeof r=="boolean"&&(c=r,r=arguments[1]||{},o=2),(r==null||typeof r!="object"&&typeof r!="function")&&(r={});o<f;++o)if(e=arguments[o],e!=null)for(n in e)l=m1(r,n),i=m1(e,n),r!==i&&(c&&i&&(s1(i)||(a=f1(i)))?(a?(a=!1,u=l&&f1(l)?l:[]):u=l&&s1(l)?l:{},p1(r,{name:n,newValue:t(c,u,i)})):typeof i<"u"&&p1(r,{name:n,newValue:i}));return r}});var w1=Ft(He(),1),_1=Ft(sg(),1);var ae=Ft(He(),1);var Lr=class{appKey;baseUrl;constructor(e){this.appKey=e.appKey,this.baseUrl=e.baseUrl||"https://doclessai.vercel.app/api/v1"}async ask(e,n){let l=new AbortController;try{let i=new FormData;i.append("appKey",this.appKey),i.append("query",e),n&&i.append("image",n);let a=await fetch(`${this.baseUrl}/chat`,{method:"POST",signal:l.signal,headers:{"X-SDK-Name":"@doclessai/sdk","X-SDK-Version":"0.3.5"},body:i});if(!a.ok){let u=await a.json().catch(()=>({}));throw new Error(u.message||`DoclessAI Request failed with status ${a.status}`)}return await a.json()}catch(i){throw i instanceof Error&&i.name==="AbortError"?new Error("DoclessAI Error: Request timed out."):new Error(`DoclessAI Error: ${i instanceof Error?i.message:"Unknown error"}`)}}};var Mi=Ft(He(),1),Me=Ft(He(),1),Tn=Ft(He(),1);var Bv={data:""},Hv=t=>{if(typeof window=="object"){let e=(t?t.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return e.nonce=window.__nonce__,e.parentNode||(t||document.head).appendChild(e),e.firstChild}return t||Bv};var Lv=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,qv=/\/\*[^]*?\*\/| +/g,pg=/\n+/g,tl=(t,e)=>{let n="",l="",i="";for(let a in t){let u=t[a];a[0]=="@"?a[1]=="i"?n=a+" "+u+";":l+=a[1]=="f"?tl(u,a):a+"{"+tl(u,a[1]=="k"?"":e)+"}":typeof u=="object"?l+=tl(u,e?e.replace(/([^,])+/g,r=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,o=>/&/.test(o)?o.replace(/&/g,r):r?r+" "+o:o)):a):u!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=tl.p?tl.p(a,u):a+":"+u+";")}return n+(e&&i?e+"{"+i+"}":i)+l},En={},mg=t=>{if(typeof t=="object"){let e="";for(let n in t)e+=n+mg(t[n]);return e}return t},jv=(t,e,n,l,i)=>{let a=mg(t),u=En[a]||(En[a]=(o=>{let f=0,c=11;for(;f<o.length;)c=101*c+o.charCodeAt(f++)>>>0;return"go"+c})(a));if(!En[u]){let o=a!==t?t:(f=>{let c,m,p=[{}];for(;c=Lv.exec(f.replace(qv,""));)c[4]?p.shift():c[3]?(m=c[3].replace(pg," ").trim(),p.unshift(p[0][m]=p[0][m]||{})):p[0][c[1]]=c[2].replace(pg," ").trim();return p[0]})(t);En[u]=tl(i?{["@keyframes "+u]:o}:o,n?"":"."+u)}let r=n&&En.g?En.g:null;return n&&(En.g=En[u]),((o,f,c,m)=>{m?f.data=f.data.replace(m,o):f.data.indexOf(o)===-1&&(f.data=c?o+f.data:f.data+o)})(En[u],e,l,r),u},Yv=(t,e,n)=>t.reduce((l,i,a)=>{let u=e[a];if(u&&u.call){let r=u(n),o=r&&r.props&&r.props.className||/^go/.test(r)&&r;u=o?"."+o:r&&typeof r=="object"?r.props?"":tl(r,""):r===!1?"":r}return l+i+(u??"")},"");function Ga(t){let e=this||{},n=t.call?t(e.p):t;return jv(n.unshift?n.raw?Yv(n,[].slice.call(arguments,1),e.p):n.reduce((l,i)=>Object.assign(l,i&&i.call?i(e.p):i),{}):n,Hv(e.target),e.g,e.o,e.k)}var hg,ps,ms,KT=Ga.bind({g:1}),le=Ga.bind({k:1});function dg(t,e,n,l){tl.p=e,hg=t,ps=n,ms=l}function xe(t,e){let n=this||{};return function(){let l=arguments;function i(a,u){let r=Object.assign({},a),o=r.className||i.className;n.p=Object.assign({theme:ps&&ps()},r),n.o=/ *go\d+/.test(o),r.className=Ga.apply(n,l)+(o?" "+o:""),e&&(r.ref=u);let f=t;return t[0]&&(f=r.as||t,delete r.as),ms&&f[0]&&ms(r),hg(f,r)}return e?e(i):i}}var wl=Ft(He(),1);var el=Ft(He(),1),Vv=t=>typeof t=="function",Yr=(t,e)=>Vv(t)?t(e):t,Xv=(()=>{let t=0;return()=>(++t).toString()})(),yg=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let e=matchMedia("(prefers-reduced-motion: reduce)");t=!e||e.matches}return t}})(),Gv=20,hs="default",gg=(t,e)=>{let{toastLimit:n}=t.settings;switch(e.type){case 0:return{...t,toasts:[e.toast,...t.toasts].slice(0,n)};case 1:return{...t,toasts:t.toasts.map(u=>u.id===e.toast.id?{...u,...e.toast}:u)};case 2:let{toast:l}=e;return gg(t,{type:t.toasts.find(u=>u.id===l.id)?1:0,toast:l});case 3:let{toastId:i}=e;return{...t,toasts:t.toasts.map(u=>u.id===i||i===void 0?{...u,dismissed:!0,visible:!1}:u)};case 4:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(u=>u.id!==e.toastId)};case 5:return{...t,pausedAt:e.time};case 6:let a=e.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(u=>({...u,pauseDuration:u.pauseDuration+a}))}}},jr=[],xg={toasts:[],pausedAt:void 0,settings:{toastLimit:Gv}},Ie={},bg=(t,e=hs)=>{Ie[e]=gg(Ie[e]||xg,t),jr.forEach(([n,l])=>{n===e&&l(Ie[e])})},vg=t=>Object.keys(Ie).forEach(e=>bg(t,e)),Qv=t=>Object.keys(Ie).find(e=>Ie[e].toasts.some(n=>n.id===t)),Vr=(t=hs)=>e=>{bg(e,t)},Zv={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Kv=(t={},e=hs)=>{let[n,l]=(0,Mi.useState)(Ie[e]||xg),i=(0,Mi.useRef)(Ie[e]);(0,Mi.useEffect)(()=>(i.current!==Ie[e]&&l(Ie[e]),jr.push([e,l]),()=>{let u=jr.findIndex(([r])=>r===e);u>-1&&jr.splice(u,1)}),[e]);let a=n.toasts.map(u=>{var r,o,f;return{...t,...t[u.type],...u,removeDelay:u.removeDelay||((r=t[u.type])==null?void 0:r.removeDelay)||t?.removeDelay,duration:u.duration||((o=t[u.type])==null?void 0:o.duration)||t?.duration||Zv[u.type],style:{...t.style,...(f=t[u.type])==null?void 0:f.style,...u.style}}});return{...n,toasts:a}},Jv=(t,e="blank",n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:e,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...n,id:n?.id||Xv()}),Qa=t=>(e,n)=>{let l=Jv(e,t,n);return Vr(l.toasterId||Qv(l.id))({type:2,toast:l}),l.id},vt=(t,e)=>Qa("blank")(t,e);vt.error=Qa("error");vt.success=Qa("success");vt.loading=Qa("loading");vt.custom=Qa("custom");vt.dismiss=(t,e)=>{let n={type:3,toastId:t};e?Vr(e)(n):vg(n)};vt.dismissAll=t=>vt.dismiss(void 0,t);vt.remove=(t,e)=>{let n={type:4,toastId:t};e?Vr(e)(n):vg(n)};vt.removeAll=t=>vt.remove(void 0,t);vt.promise=(t,e,n)=>{let l=vt.loading(e.loading,{...n,...n?.loading});return typeof t=="function"&&(t=t()),t.then(i=>{let a=e.success?Yr(e.success,i):void 0;return a?vt.success(a,{id:l,...n,...n?.success}):vt.dismiss(l),i}).catch(i=>{let a=e.error?Yr(e.error,i):void 0;a?vt.error(a,{id:l,...n,...n?.error}):vt.dismiss(l)}),t};var Fv=1e3,Iv=(t,e="default")=>{let{toasts:n,pausedAt:l}=Kv(t,e),i=(0,Me.useRef)(new Map).current,a=(0,Me.useCallback)((m,p=Fv)=>{if(i.has(m))return;let s=setTimeout(()=>{i.delete(m),u({type:4,toastId:m})},p);i.set(m,s)},[]);(0,Me.useEffect)(()=>{if(l)return;let m=Date.now(),p=n.map(s=>{if(s.duration===1/0)return;let v=(s.duration||0)+s.pauseDuration-(m-s.createdAt);if(v<0){s.visible&&vt.dismiss(s.id);return}return setTimeout(()=>vt.dismiss(s.id,e),v)});return()=>{p.forEach(s=>s&&clearTimeout(s))}},[n,l,e]);let u=(0,Me.useCallback)(Vr(e),[e]),r=(0,Me.useCallback)(()=>{u({type:5,time:Date.now()})},[u]),o=(0,Me.useCallback)((m,p)=>{u({type:1,toast:{id:m,height:p}})},[u]),f=(0,Me.useCallback)(()=>{l&&u({type:6,time:Date.now()})},[l,u]),c=(0,Me.useCallback)((m,p)=>{let{reverseOrder:s=!1,gutter:v=8,defaultPosition:E}=p||{},k=n.filter(y=>(y.position||E)===(m.position||E)&&y.height),h=k.findIndex(y=>y.id===m.id),d=k.filter((y,b)=>b<h&&y.visible).length;return k.filter(y=>y.visible).slice(...s?[d+1]:[0,d]).reduce((y,b)=>y+(b.height||0)+v,0)},[n]);return(0,Me.useEffect)(()=>{n.forEach(m=>{if(m.dismissed)a(m.id,m.removeDelay);else{let p=i.get(m.id);p&&(clearTimeout(p),i.delete(m.id))}})},[n,a]),{toasts:n,handlers:{updateHeight:o,startPause:r,endPause:f,calculateOffset:c}}},Wv=le`
|
|
8
|
+
`+l.stack}}var Kc=Object.prototype.hasOwnProperty,Hs=Mt.unstable_scheduleCallback,fc=Mt.unstable_cancelCallback,tv=Mt.unstable_shouldYield,ev=Mt.unstable_requestPaint,he=Mt.unstable_now,nv=Mt.unstable_getCurrentPriorityLevel,Cd=Mt.unstable_ImmediatePriority,Dd=Mt.unstable_UserBlockingPriority,fu=Mt.unstable_NormalPriority,lv=Mt.unstable_LowPriority,Od=Mt.unstable_IdlePriority,iv=Mt.log,rv=Mt.unstable_setDisableYieldValue,Jr=null,de=null;function qn(t){if(typeof iv=="function"&&rv(t),de&&typeof de.setStrictMode=="function")try{de.setStrictMode(Jr,t)}catch{}}var ge=Math.clz32?Math.clz32:ov,av=Math.log,uv=Math.LN2;function ov(t){return t>>>=0,t===0?32:31-(av(t)/uv|0)|0}var Oa=256,Ma=262144,_a=4194304;function bl(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 Bu(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var i=0,r=t.suspendedLanes,a=t.pingedLanes;t=t.warmLanes;var u=l&134217727;return u!==0?(l=u&~r,l!==0?i=bl(l):(a&=u,a!==0?i=bl(a):n||(n=u&~t,n!==0&&(i=bl(n))))):(u=l&~r,u!==0?i=bl(u):a!==0?i=bl(a):n||(n=l&~t,n!==0&&(i=bl(n)))),i===0?0:e!==0&&e!==i&&(e&r)===0&&(r=i&-i,n=e&-e,r>=n||r===32&&(n&4194048)!==0)?e:i}function Ir(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function cv(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 Md(){var t=_a;return _a<<=1,(_a&62914560)===0&&(_a=4194304),t}function mc(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Wr(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function sv(t,e,n,l,i,r){var a=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var u=t.entanglements,o=t.expirationTimes,c=t.hiddenUpdates;for(n=a&~n;0<n;){var s=31-ge(n),f=1<<s;u[s]=0,o[s]=-1;var m=c[s];if(m!==null)for(c[s]=null,s=0;s<m.length;s++){var p=m[s];p!==null&&(p.lane&=-536870913)}n&=~f}l!==0&&_d(t,l,0),r!==0&&i===0&&t.tag!==0&&(t.suspendedLanes|=r&~(a&~e))}function _d(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-ge(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function Rd(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-ge(n),i=1<<l;i&e|t[l]&e&&(t[l]|=e),n&=~i}}function Nd(t,e){var n=e&-e;return n=(n&42)!==0?1:qs(n),(n&(t.suspendedLanes|e))!==0?0:n}function qs(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 js(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Ld(){var t=tt.p;return t!==0?t:(t=window.event,t===void 0?32:i1(t.type))}function th(t,e){var n=tt.p;try{return tt.p=t,e()}finally{tt.p=n}}var ll=Math.random().toString(36).slice(2),qt="__reactFiber$"+ll,ie="__reactProps$"+ll,Hi="__reactContainer$"+ll,Jc="__reactEvents$"+ll,fv="__reactListeners$"+ll,mv="__reactHandles$"+ll,eh="__reactResources$"+ll,$r="__reactMarker$"+ll;function Ys(t){delete t[qt],delete t[ie],delete t[Jc],delete t[fv],delete t[mv]}function si(t){var e=t[qt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Hi]||n[qt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=cd(t);t!==null;){if(n=t[qt])return n;t=cd(t)}return e}t=n,n=t.parentNode}return null}function qi(t){if(t=t[qt]||t[Hi]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function xr(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(w(33))}function vi(t){var e=t[eh];return e||(e=t[eh]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Nt(t){t[$r]=!0}var Ud=new Set,Bd={};function _l(t,e){Ci(t,e),Ci(t+"Capture",e)}function Ci(t,e){for(Bd[t]=e,t=0;t<e.length;t++)Ud.add(e[t])}var pv=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]*$"),nh={},lh={};function hv(t){return Kc.call(lh,t)?!0:Kc.call(nh,t)?!1:pv.test(t)?lh[t]=!0:(nh[t]=!0,!1)}function Fa(t,e,n){if(hv(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Ra(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function un(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function Te(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Hd(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function dv(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var i=l.get,r=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,r.call(this,a)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Ic(t){if(!t._valueTracker){var e=Hd(t)?"checked":"value";t._valueTracker=dv(t,e,""+t[e])}}function qd(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=Hd(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function mu(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 gv=/[\n"\\]/g;function we(t){return t.replace(gv,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Wc(t,e,n,l,i,r,a,u){t.name="",a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"?t.type=a:t.removeAttribute("type"),e!=null?a==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Te(e)):t.value!==""+Te(e)&&(t.value=""+Te(e)):a!=="submit"&&a!=="reset"||t.removeAttribute("value"),e!=null?$c(t,a,Te(e)):n!=null?$c(t,a,Te(n)):l!=null&&t.removeAttribute("value"),i==null&&r!=null&&(t.defaultChecked=!!r),i!=null&&(t.checked=i&&typeof i!="function"&&typeof i!="symbol"),u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.name=""+Te(u):t.removeAttribute("name")}function jd(t,e,n,l,i,r,a,u){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){Ic(t);return}n=n!=null?""+Te(n):"",e=e!=null?""+Te(e):n,u||e===t.value||(t.value=e),t.defaultValue=e}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=u?t.checked:!!l,t.defaultChecked=!!l,a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(t.name=a),Ic(t)}function $c(t,e,n){e==="number"&&mu(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Si(t,e,n,l){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Te(n),e=null,i=0;i<t.length;i++){if(t[i].value===n){t[i].selected=!0,l&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function Yd(t,e,n){if(e!=null&&(e=""+Te(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Te(n):""}function Vd(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(w(92));if(yr(l)){if(1<l.length)throw Error(w(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Te(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),Ic(t)}function Di(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var yv=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 ih(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||yv.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Xd(t,e,n){if(e!=null&&typeof e!="object")throw Error(w(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var i in e)l=e[i],e.hasOwnProperty(i)&&n[i]!==l&&ih(t,i,l)}else for(var r in e)e.hasOwnProperty(r)&&ih(t,r,e[r])}function Vs(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 xv=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"]]),bv=/^[\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 Ka(t){return bv.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function dn(){}var Pc=null;function Xs(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var fi=null,ki=null;function rh(t){var e=qi(t);if(e&&(t=e.stateNode)){var n=t[ie]||null;t:switch(t=e.stateNode,e.type){case"input":if(Wc(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+we(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var i=l[ie]||null;if(!i)throw Error(w(90));Wc(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&qd(l)}break t;case"textarea":Yd(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Si(t,!!n.multiple,e,!1)}}}var pc=!1;function Qd(t,e,n){if(pc)return t(e,n);pc=!0;try{var l=t(e);return l}finally{if(pc=!1,(fi!==null||ki!==null)&&(Ju(),fi&&(e=fi,t=ki,ki=fi=null,rh(e),t)))for(e=0;e<t.length;e++)rh(t[e])}}function Lr(t,e){var n=t.stateNode;if(n===null)return null;var l=n[ie]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(w(231,e,typeof n));return n}var vn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ts=!1;if(vn)try{li={},Object.defineProperty(li,"passive",{get:function(){ts=!0}}),window.addEventListener("test",li,li),window.removeEventListener("test",li,li)}catch{ts=!1}var li,jn=null,Qs=null,Ja=null;function Gd(){if(Ja)return Ja;var t,e=Qs,n=e.length,l,i="value"in jn?jn.value:jn.textContent,r=i.length;for(t=0;t<n&&e[t]===i[t];t++);var a=n-t;for(l=1;l<=a&&e[n-l]===i[r-l];l++);return Ja=i.slice(t,1<l?1-l:void 0)}function Ia(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 Na(){return!0}function ah(){return!1}function re(t){function e(n,l,i,r,a){this._reactName=n,this._targetInst=i,this.type=l,this.nativeEvent=r,this.target=a,this.currentTarget=null;for(var u in t)t.hasOwnProperty(u)&&(n=t[u],this[u]=n?n(r):r[u]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Na:ah,this.isPropagationStopped=ah,this}return mt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Na)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Na)},persist:function(){},isPersistent:Na}),e}var Rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hu=re(Rl),Pr=mt({},Rl,{view:0,detail:0}),vv=re(Pr),hc,dc,sr,qu=mt({},Pr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gs,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!==sr&&(sr&&t.type==="mousemove"?(hc=t.screenX-sr.screenX,dc=t.screenY-sr.screenY):dc=hc=0,sr=t),hc)},movementY:function(t){return"movementY"in t?t.movementY:dc}}),uh=re(qu),Sv=mt({},qu,{dataTransfer:0}),kv=re(Sv),Ev=mt({},Pr,{relatedTarget:0}),gc=re(Ev),Tv=mt({},Rl,{animationName:0,elapsedTime:0,pseudoElement:0}),Av=re(Tv),zv=mt({},Rl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),wv=re(zv),Cv=mt({},Rl,{data:0}),oh=re(Cv),Dv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ov={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"},Mv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _v(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Mv[t])?!!e[t]:!1}function Gs(){return _v}var Rv=mt({},Pr,{key:function(t){if(t.key){var e=Dv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ia(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Ov[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gs,charCode:function(t){return t.type==="keypress"?Ia(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ia(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Nv=re(Rv),Lv=mt({},qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ch=re(Lv),Uv=mt({},Pr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gs}),Bv=re(Uv),Hv=mt({},Rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),qv=re(Hv),jv=mt({},qu,{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}),Yv=re(jv),Vv=mt({},Rl,{newState:0,oldState:0}),Xv=re(Vv),Qv=[9,13,27,32],Zs=vn&&"CompositionEvent"in window,Sr=null;vn&&"documentMode"in document&&(Sr=document.documentMode);var Gv=vn&&"TextEvent"in window&&!Sr,Zd=vn&&(!Zs||Sr&&8<Sr&&11>=Sr),sh=" ",fh=!1;function Fd(t,e){switch(t){case"keyup":return Qv.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kd(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var mi=!1;function Zv(t,e){switch(t){case"compositionend":return Kd(e);case"keypress":return e.which!==32?null:(fh=!0,sh);case"textInput":return t=e.data,t===sh&&fh?null:t;default:return null}}function Fv(t,e){if(mi)return t==="compositionend"||!Zs&&Fd(t,e)?(t=Gd(),Ja=Qs=jn=null,mi=!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 Zd&&e.locale!=="ko"?null:e.data;default:return null}}var Kv={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 mh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Kv[t.type]:e==="textarea"}function Jd(t,e,n,l){fi?ki?ki.push(l):ki=[l]:fi=l,e=Ou(e,"onChange"),0<e.length&&(n=new Hu("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var kr=null,Ur=null;function Jv(t){Qy(t,0)}function ju(t){var e=xr(t);if(qd(e))return t}function ph(t,e){if(t==="change")return e}var Id=!1;vn&&(vn?(Ua="oninput"in document,Ua||(yc=document.createElement("div"),yc.setAttribute("oninput","return;"),Ua=typeof yc.oninput=="function"),La=Ua):La=!1,Id=La&&(!document.documentMode||9<document.documentMode));var La,Ua,yc;function hh(){kr&&(kr.detachEvent("onpropertychange",Wd),Ur=kr=null)}function Wd(t){if(t.propertyName==="value"&&ju(Ur)){var e=[];Jd(e,Ur,t,Xs(t)),Qd(Jv,e)}}function Iv(t,e,n){t==="focusin"?(hh(),kr=e,Ur=n,kr.attachEvent("onpropertychange",Wd)):t==="focusout"&&hh()}function Wv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ju(Ur)}function $v(t,e){if(t==="click")return ju(e)}function Pv(t,e){if(t==="input"||t==="change")return ju(e)}function tS(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var xe=typeof Object.is=="function"?Object.is:tS;function Br(t,e){if(xe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var i=n[l];if(!Kc.call(e,i)||!xe(t[i],e[i]))return!1}return!0}function dh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function gh(t,e){var n=dh(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=dh(n)}}function $d(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?$d(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Pd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=mu(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=mu(t.document)}return e}function Fs(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 eS=vn&&"documentMode"in document&&11>=document.documentMode,pi=null,es=null,Er=null,ns=!1;function yh(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ns||pi==null||pi!==mu(l)||(l=pi,"selectionStart"in l&&Fs(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Er&&Br(Er,l)||(Er=l,l=Ou(es,"onSelect"),0<l.length&&(e=new Hu("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=pi)))}function yl(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var hi={animationend:yl("Animation","AnimationEnd"),animationiteration:yl("Animation","AnimationIteration"),animationstart:yl("Animation","AnimationStart"),transitionrun:yl("Transition","TransitionRun"),transitionstart:yl("Transition","TransitionStart"),transitioncancel:yl("Transition","TransitionCancel"),transitionend:yl("Transition","TransitionEnd")},xc={},tg={};vn&&(tg=document.createElement("div").style,"AnimationEvent"in window||(delete hi.animationend.animation,delete hi.animationiteration.animation,delete hi.animationstart.animation),"TransitionEvent"in window||delete hi.transitionend.transition);function Nl(t){if(xc[t])return xc[t];if(!hi[t])return t;var e=hi[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in tg)return xc[t]=e[n];return t}var eg=Nl("animationend"),ng=Nl("animationiteration"),lg=Nl("animationstart"),nS=Nl("transitionrun"),lS=Nl("transitionstart"),iS=Nl("transitioncancel"),ig=Nl("transitionend"),rg=new Map,ls="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ls.push("scrollEnd");function Ye(t,e){rg.set(t,e),_l(e,[t])}var pu=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)},Ee=[],di=0,Ks=0;function Yu(){for(var t=di,e=Ks=di=0;e<t;){var n=Ee[e];Ee[e++]=null;var l=Ee[e];Ee[e++]=null;var i=Ee[e];Ee[e++]=null;var r=Ee[e];if(Ee[e++]=null,l!==null&&i!==null){var a=l.pending;a===null?i.next=i:(i.next=a.next,a.next=i),l.pending=i}r!==0&&ag(n,i,r)}}function Vu(t,e,n,l){Ee[di++]=t,Ee[di++]=e,Ee[di++]=n,Ee[di++]=l,Ks|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Js(t,e,n,l){return Vu(t,e,n,l),hu(t)}function Ll(t,e){return Vu(t,null,null,e),hu(t)}function ag(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var i=!1,r=t.return;r!==null;)r.childLanes|=n,l=r.alternate,l!==null&&(l.childLanes|=n),r.tag===22&&(t=r.stateNode,t===null||t._visibility&1||(i=!0)),t=r,r=r.return;return t.tag===3?(r=t.stateNode,i&&e!==null&&(i=31-ge(n),t=r.hiddenUpdates,l=t[i],l===null?t[i]=[e]:l.push(e),e.lane=n|536870912),r):null}function hu(t){if(50<_r)throw _r=0,Ts=null,Error(w(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var gi={};function rS(t,e,n,l){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function me(t,e,n,l){return new rS(t,e,n,l)}function Is(t){return t=t.prototype,!(!t||!t.isReactComponent)}function yn(t,e){var n=t.alternate;return n===null?(n=me(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function ug(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Wa(t,e,n,l,i,r){var a=0;if(l=t,typeof t=="function")Is(t)&&(a=1);else if(typeof t=="string")a=o2(t,n,Ke.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Qc:return t=me(31,n,e,i),t.elementType=Qc,t.lanes=r,t;case oi:return El(n.children,i,r,e);case zd:a=8,i|=24;break;case Yc:return t=me(12,n,e,i|2),t.elementType=Yc,t.lanes=r,t;case Vc:return t=me(13,n,e,i),t.elementType=Vc,t.lanes=r,t;case Xc:return t=me(19,n,e,i),t.elementType=Xc,t.lanes=r,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case hn:a=10;break t;case wd:a=9;break t;case Us:a=11;break t;case Bs:a=14;break t;case Rn:a=16,l=null;break t}a=29,n=Error(w(130,t===null?"null":typeof t,"")),l=null}return e=me(a,n,e,i),e.elementType=t,e.type=l,e.lanes=r,e}function El(t,e,n,l){return t=me(7,t,l,e),t.lanes=n,t}function bc(t,e,n){return t=me(6,t,null,e),t.lanes=n,t}function og(t){var e=me(18,null,null,0);return e.stateNode=t,e}function vc(t,e,n){return e=me(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var xh=new WeakMap;function Ce(t,e){if(typeof t=="object"&&t!==null){var n=xh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:Pp(e)},xh.set(t,e),e)}return{value:t,source:e,stack:Pp(e)}}var yi=[],xi=0,du=null,Hr=0,Ae=[],ze=0,Pn=null,Ge=1,Ze="";function mn(t,e){yi[xi++]=Hr,yi[xi++]=du,du=t,Hr=e}function cg(t,e,n){Ae[ze++]=Ge,Ae[ze++]=Ze,Ae[ze++]=Pn,Pn=t;var l=Ge;t=Ze;var i=32-ge(l)-1;l&=~(1<<i),n+=1;var r=32-ge(e)+i;if(30<r){var a=i-i%5;r=(l&(1<<a)-1).toString(32),l>>=a,i-=a,Ge=1<<32-ge(e)+i|n<<i|l,Ze=r+t}else Ge=1<<r|n<<i|l,Ze=t}function Ws(t){t.return!==null&&(mn(t,1),cg(t,1,0))}function $s(t){for(;t===du;)du=yi[--xi],yi[xi]=null,Hr=yi[--xi],yi[xi]=null;for(;t===Pn;)Pn=Ae[--ze],Ae[ze]=null,Ze=Ae[--ze],Ae[ze]=null,Ge=Ae[--ze],Ae[ze]=null}function sg(t,e){Ae[ze++]=Ge,Ae[ze++]=Ze,Ae[ze++]=Pn,Ge=e.id,Ze=e.overflow,Pn=t}var jt=null,ft=null,W=!1,Gn=null,De=!1,is=Error(w(519));function tl(t){var e=Error(w(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw qr(Ce(e,t)),is}function bh(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[qt]=t,e[ie]=l,n){case"dialog":F("cancel",e),F("close",e);break;case"iframe":case"object":case"embed":F("load",e);break;case"video":case"audio":for(n=0;n<Xr.length;n++)F(Xr[n],e);break;case"source":F("error",e);break;case"img":case"image":case"link":F("error",e),F("load",e);break;case"details":F("toggle",e);break;case"input":F("invalid",e),jd(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":F("invalid",e);break;case"textarea":F("invalid",e),Vd(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||Zy(e.textContent,n)?(l.popover!=null&&(F("beforetoggle",e),F("toggle",e)),l.onScroll!=null&&F("scroll",e),l.onScrollEnd!=null&&F("scrollend",e),l.onClick!=null&&(e.onclick=dn),e=!0):e=!1,e||tl(t,!0)}function vh(t){for(jt=t.return;jt;)switch(jt.tag){case 5:case 31:case 13:De=!1;return;case 27:case 3:De=!0;return;default:jt=jt.return}}function ii(t){if(t!==jt)return!1;if(!W)return vh(t),W=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Ds(t.type,t.memoizedProps)),n=!n),n&&ft&&tl(t),vh(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(w(317));ft=od(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(w(317));ft=od(t)}else e===27?(e=ft,il(t.type)?(t=Rs,Rs=null,ft=t):ft=e):ft=jt?Me(t.stateNode.nextSibling):null;return!0}function wl(){ft=jt=null,W=!1}function Sc(){var t=Gn;return t!==null&&(ne===null?ne=t:ne.push.apply(ne,t),Gn=null),t}function qr(t){Gn===null?Gn=[t]:Gn.push(t)}var rs=Je(null),Ul=null,gn=null;function Ln(t,e,n){ot(rs,e._currentValue),e._currentValue=n}function xn(t){t._currentValue=rs.current,Lt(rs)}function as(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function us(t,e,n,l){var i=t.child;for(i!==null&&(i.return=t);i!==null;){var r=i.dependencies;if(r!==null){var a=i.child;r=r.firstContext;t:for(;r!==null;){var u=r;r=i;for(var o=0;o<e.length;o++)if(u.context===e[o]){r.lanes|=n,u=r.alternate,u!==null&&(u.lanes|=n),as(r.return,n,t),l||(a=null);break t}r=u.next}}else if(i.tag===18){if(a=i.return,a===null)throw Error(w(341));a.lanes|=n,r=a.alternate,r!==null&&(r.lanes|=n),as(a,n,t),a=null}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}}function ji(t,e,n,l){t=null;for(var i=e,r=!1;i!==null;){if(!r){if((i.flags&524288)!==0)r=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var a=i.alternate;if(a===null)throw Error(w(387));if(a=a.memoizedProps,a!==null){var u=i.type;xe(i.pendingProps.value,a.value)||(t!==null?t.push(u):t=[u])}}else if(i===ou.current){if(a=i.alternate,a===null)throw Error(w(387));a.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(t!==null?t.push(Gr):t=[Gr])}i=i.return}t!==null&&us(e,t,n,l),e.flags|=262144}function gu(t){for(t=t.firstContext;t!==null;){if(!xe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Cl(t){Ul=t,gn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Yt(t){return fg(Ul,t)}function Ba(t,e){return Ul===null&&Cl(t),fg(t,e)}function fg(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},gn===null){if(t===null)throw Error(w(308));gn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else gn=gn.next=e;return n}var aS=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},uS=Mt.unstable_scheduleCallback,oS=Mt.unstable_NormalPriority,wt={$$typeof:hn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ps(){return{controller:new aS,data:new Map,refCount:0}}function ta(t){t.refCount--,t.refCount===0&&uS(oS,function(){t.controller.abort()})}var Tr=null,os=0,Oi=0,Ei=null;function cS(t,e){if(Tr===null){var n=Tr=[];os=0,Oi=Af(),Ei={status:"pending",value:void 0,then:function(l){n.push(l)}}}return os++,e.then(Sh,Sh),e}function Sh(){if(--os===0&&Tr!==null){Ei!==null&&(Ei.status="fulfilled");var t=Tr;Tr=null,Oi=0,Ei=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function sS(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var i=0;i<n.length;i++)(0,n[i])(e)},function(i){for(l.status="rejected",l.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),l}var kh=H.S;H.S=function(t,e){Ay=he(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&cS(t,e),kh!==null&&kh(t,e)};var Tl=Je(null);function tf(){var t=Tl.current;return t!==null?t:ut.pooledCache}function $a(t,e){e===null?ot(Tl,Tl.current):ot(Tl,e.pool)}function mg(){var t=tf();return t===null?null:{parent:wt._currentValue,pool:t}}var Yi=Error(w(460)),ef=Error(w(474)),Xu=Error(w(542)),yu={then:function(){}};function Eh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function pg(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(dn,dn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ah(t),t;default:if(typeof e.status=="string")e.then(dn,dn);else{if(t=ut,t!==null&&100<t.shellSuspendCounter)throw Error(w(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var i=e;i.status="fulfilled",i.value=l}},function(l){if(e.status==="pending"){var i=e;i.status="rejected",i.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ah(t),t}throw Al=e,Yi}}function vl(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Al=n,Yi):n}}var Al=null;function Th(){if(Al===null)throw Error(w(459));var t=Al;return Al=null,t}function Ah(t){if(t===Yi||t===Xu)throw Error(w(483))}var Ti=null,jr=0;function Ha(t){var e=jr;return jr+=1,Ti===null&&(Ti=[]),pg(Ti,t,e)}function fr(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function qa(t,e){throw e.$$typeof===Ib?Error(w(525)):(t=Object.prototype.toString.call(e),Error(w(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function hg(t){function e(h,d){if(t){var y=h.deletions;y===null?(h.deletions=[d],h.flags|=16):y.push(d)}}function n(h,d){if(!t)return null;for(;d!==null;)e(h,d),d=d.sibling;return null}function l(h){for(var d=new Map;h!==null;)h.key!==null?d.set(h.key,h):d.set(h.index,h),h=h.sibling;return d}function i(h,d){return h=yn(h,d),h.index=0,h.sibling=null,h}function r(h,d,y){return h.index=y,t?(y=h.alternate,y!==null?(y=y.index,y<d?(h.flags|=67108866,d):y):(h.flags|=67108866,d)):(h.flags|=1048576,d)}function a(h){return t&&h.alternate===null&&(h.flags|=67108866),h}function u(h,d,y,E){return d===null||d.tag!==6?(d=bc(y,h.mode,E),d.return=h,d):(d=i(d,y),d.return=h,d)}function o(h,d,y,E){var C=y.type;return C===oi?s(h,d,y.props.children,E,y.key):d!==null&&(d.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Rn&&vl(C)===d.type)?(d=i(d,y.props),fr(d,y),d.return=h,d):(d=Wa(y.type,y.key,y.props,null,h.mode,E),fr(d,y),d.return=h,d)}function c(h,d,y,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==y.containerInfo||d.stateNode.implementation!==y.implementation?(d=vc(y,h.mode,E),d.return=h,d):(d=i(d,y.children||[]),d.return=h,d)}function s(h,d,y,E,C){return d===null||d.tag!==7?(d=El(y,h.mode,E,C),d.return=h,d):(d=i(d,y),d.return=h,d)}function f(h,d,y){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=bc(""+d,h.mode,y),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Da:return y=Wa(d.type,d.key,d.props,null,h.mode,y),fr(y,d),y.return=h,y;case gr:return d=vc(d,h.mode,y),d.return=h,d;case Rn:return d=vl(d),f(h,d,y)}if(yr(d)||cr(d))return d=El(d,h.mode,y,null),d.return=h,d;if(typeof d.then=="function")return f(h,Ha(d),y);if(d.$$typeof===hn)return f(h,Ba(h,d),y);qa(h,d)}return null}function m(h,d,y,E){var C=d!==null?d.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return C!==null?null:u(h,d,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Da:return y.key===C?o(h,d,y,E):null;case gr:return y.key===C?c(h,d,y,E):null;case Rn:return y=vl(y),m(h,d,y,E)}if(yr(y)||cr(y))return C!==null?null:s(h,d,y,E,null);if(typeof y.then=="function")return m(h,d,Ha(y),E);if(y.$$typeof===hn)return m(h,d,Ba(h,y),E);qa(h,y)}return null}function p(h,d,y,E,C){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return h=h.get(y)||null,u(d,h,""+E,C);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Da:return h=h.get(E.key===null?y:E.key)||null,o(d,h,E,C);case gr:return h=h.get(E.key===null?y:E.key)||null,c(d,h,E,C);case Rn:return E=vl(E),p(h,d,y,E,C)}if(yr(E)||cr(E))return h=h.get(y)||null,s(d,h,E,C,null);if(typeof E.then=="function")return p(h,d,y,Ha(E),C);if(E.$$typeof===hn)return p(h,d,y,Ba(d,E),C);qa(d,E)}return null}function g(h,d,y,E){for(var C=null,S=null,A=d,_=d=0,O=null;A!==null&&_<y.length;_++){A.index>_?(O=A,A=null):O=A.sibling;var k=m(h,A,y[_],E);if(k===null){A===null&&(A=O);break}t&&A&&k.alternate===null&&e(h,A),d=r(k,d,_),S===null?C=k:S.sibling=k,S=k,A=O}if(_===y.length)return n(h,A),W&&mn(h,_),C;if(A===null){for(;_<y.length;_++)A=f(h,y[_],E),A!==null&&(d=r(A,d,_),S===null?C=A:S.sibling=A,S=A);return W&&mn(h,_),C}for(A=l(A);_<y.length;_++)O=p(A,h,_,y[_],E),O!==null&&(t&&O.alternate!==null&&A.delete(O.key===null?_:O.key),d=r(O,d,_),S===null?C=O:S.sibling=O,S=O);return t&&A.forEach(function(X){return e(h,X)}),W&&mn(h,_),C}function v(h,d,y,E){if(y==null)throw Error(w(151));for(var C=null,S=null,A=d,_=d=0,O=null,k=y.next();A!==null&&!k.done;_++,k=y.next()){A.index>_?(O=A,A=null):O=A.sibling;var X=m(h,A,k.value,E);if(X===null){A===null&&(A=O);break}t&&A&&X.alternate===null&&e(h,A),d=r(X,d,_),S===null?C=X:S.sibling=X,S=X,A=O}if(k.done)return n(h,A),W&&mn(h,_),C;if(A===null){for(;!k.done;_++,k=y.next())k=f(h,k.value,E),k!==null&&(d=r(k,d,_),S===null?C=k:S.sibling=k,S=k);return W&&mn(h,_),C}for(A=l(A);!k.done;_++,k=y.next())k=p(A,h,_,k.value,E),k!==null&&(t&&k.alternate!==null&&A.delete(k.key===null?_:k.key),d=r(k,d,_),S===null?C=k:S.sibling=k,S=k);return t&&A.forEach(function($){return e(h,$)}),W&&mn(h,_),C}function T(h,d,y,E){if(typeof y=="object"&&y!==null&&y.type===oi&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Da:t:{for(var C=y.key;d!==null;){if(d.key===C){if(C=y.type,C===oi){if(d.tag===7){n(h,d.sibling),E=i(d,y.props.children),E.return=h,h=E;break t}}else if(d.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Rn&&vl(C)===d.type){n(h,d.sibling),E=i(d,y.props),fr(E,y),E.return=h,h=E;break t}n(h,d);break}else e(h,d);d=d.sibling}y.type===oi?(E=El(y.props.children,h.mode,E,y.key),E.return=h,h=E):(E=Wa(y.type,y.key,y.props,null,h.mode,E),fr(E,y),E.return=h,h=E)}return a(h);case gr:t:{for(C=y.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===y.containerInfo&&d.stateNode.implementation===y.implementation){n(h,d.sibling),E=i(d,y.children||[]),E.return=h,h=E;break t}else{n(h,d);break}else e(h,d);d=d.sibling}E=vc(y,h.mode,E),E.return=h,h=E}return a(h);case Rn:return y=vl(y),T(h,d,y,E)}if(yr(y))return g(h,d,y,E);if(cr(y)){if(C=cr(y),typeof C!="function")throw Error(w(150));return y=C.call(y),v(h,d,y,E)}if(typeof y.then=="function")return T(h,d,Ha(y),E);if(y.$$typeof===hn)return T(h,d,Ba(h,y),E);qa(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,d!==null&&d.tag===6?(n(h,d.sibling),E=i(d,y),E.return=h,h=E):(n(h,d),E=bc(y,h.mode,E),E.return=h,h=E),a(h)):n(h,d)}return function(h,d,y,E){try{jr=0;var C=T(h,d,y,E);return Ti=null,C}catch(A){if(A===Yi||A===Xu)throw A;var S=me(29,A,null,h.mode);return S.lanes=E,S.return=h,S}}}var Dl=hg(!0),dg=hg(!1),Nn=!1;function nf(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function cs(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 Zn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Fn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(P&2)!==0){var i=l.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),l.pending=e,e=hu(t),ag(t,null,n),e}return Vu(t,l,e,n),hu(t)}function Ar(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Rd(t,n)}}function kc(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var i=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?i=r=a:r=r.next=a,n=n.next}while(n!==null);r===null?i=r=e:r=r.next=e}else i=r=e;n={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:r,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var ss=!1;function zr(){if(ss){var t=Ei;if(t!==null)throw t}}function wr(t,e,n,l){ss=!1;var i=t.updateQueue;Nn=!1;var r=i.firstBaseUpdate,a=i.lastBaseUpdate,u=i.shared.pending;if(u!==null){i.shared.pending=null;var o=u,c=o.next;o.next=null,a===null?r=c:a.next=c,a=o;var s=t.alternate;s!==null&&(s=s.updateQueue,u=s.lastBaseUpdate,u!==a&&(u===null?s.firstBaseUpdate=c:u.next=c,s.lastBaseUpdate=o))}if(r!==null){var f=i.baseState;a=0,s=c=o=null,u=r;do{var m=u.lane&-536870913,p=m!==u.lane;if(p?(J&m)===m:(l&m)===m){m!==0&&m===Oi&&(ss=!0),s!==null&&(s=s.next={lane:0,tag:u.tag,payload:u.payload,callback:null,next:null});t:{var g=t,v=u;m=e;var T=n;switch(v.tag){case 1:if(g=v.payload,typeof g=="function"){f=g.call(T,f,m);break t}f=g;break t;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,m=typeof g=="function"?g.call(T,f,m):g,m==null)break t;f=mt({},f,m);break t;case 2:Nn=!0}}m=u.callback,m!==null&&(t.flags|=64,p&&(t.flags|=8192),p=i.callbacks,p===null?i.callbacks=[m]:p.push(m))}else p={lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},s===null?(c=s=p,o=f):s=s.next=p,a|=m;if(u=u.next,u===null){if(u=i.shared.pending,u===null)break;p=u,u=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);s===null&&(o=f),i.baseState=o,i.firstBaseUpdate=c,i.lastBaseUpdate=s,r===null&&(i.shared.lanes=0),nl|=a,t.lanes=a,t.memoizedState=f}}function gg(t,e){if(typeof t!="function")throw Error(w(191,t));t.call(e)}function yg(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)gg(n[t],e)}var Mi=Je(null),xu=Je(0);function zh(t,e){t=Tn,ot(xu,t),ot(Mi,e),Tn=t|e.baseLanes}function fs(){ot(xu,Tn),ot(Mi,Mi.current)}function lf(){Tn=xu.current,Lt(Mi),Lt(xu)}var be=Je(null),Oe=null;function Un(t){var e=t.alternate;ot(St,St.current&1),ot(be,t),Oe===null&&(e===null||Mi.current!==null||e.memoizedState!==null)&&(Oe=t)}function ms(t){ot(St,St.current),ot(be,t),Oe===null&&(Oe=t)}function xg(t){t.tag===22?(ot(St,St.current),ot(be,t),Oe===null&&(Oe=t)):Bn(t)}function Bn(){ot(St,St.current),ot(be,be.current)}function fe(t){Lt(be),Oe===t&&(Oe=null),Lt(St)}var St=Je(0);function bu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Ms(n)||_s(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==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,V=null,rt=null,At=null,vu=!1,Ai=!1,Ol=!1,Su=0,Yr=0,zi=null,fS=0;function gt(){throw Error(w(321))}function rf(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!xe(t[n],e[n]))return!1;return!0}function af(t,e,n,l,i,r){return Sn=r,V=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,H.H=t===null||t.memoizedState===null?Jg:yf,Ol=!1,r=n(l,i),Ol=!1,Ai&&(r=vg(e,n,l,i)),bg(t),r}function bg(t){H.H=Vr;var e=rt!==null&&rt.next!==null;if(Sn=0,At=rt=V=null,vu=!1,Yr=0,zi=null,e)throw Error(w(300));t===null||Ct||(t=t.dependencies,t!==null&&gu(t)&&(Ct=!0))}function vg(t,e,n,l){V=t;var i=0;do{if(Ai&&(zi=null),Yr=0,Ai=!1,25<=i)throw Error(w(301));if(i+=1,At=rt=null,t.updateQueue!=null){var r=t.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}H.H=Ig,r=e(n,l)}while(Ai);return r}function mS(){var t=H.H,e=t.useState()[0];return e=typeof e.then=="function"?ea(e):e,t=t.useState()[0],(rt!==null?rt.memoizedState:null)!==t&&(V.flags|=1024),e}function uf(){var t=Su!==0;return Su=0,t}function of(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function cf(t){if(vu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}vu=!1}Sn=0,At=rt=V=null,Ai=!1,Yr=Su=0,zi=null}function Jt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return At===null?V.memoizedState=At=t:At=At.next=t,At}function kt(){if(rt===null){var t=V.alternate;t=t!==null?t.memoizedState:null}else t=rt.next;var e=At===null?V.memoizedState:At.next;if(e!==null)At=e,rt=t;else{if(t===null)throw V.alternate===null?Error(w(467)):Error(w(310));rt=t,t={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},At===null?V.memoizedState=At=t:At=At.next=t}return At}function Qu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ea(t){var e=Yr;return Yr+=1,zi===null&&(zi=[]),t=pg(zi,t,e),e=V,(At===null?e.memoizedState:At.next)===null&&(e=e.alternate,H.H=e===null||e.memoizedState===null?Jg:yf),t}function Gu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ea(t);if(t.$$typeof===hn)return Yt(t)}throw Error(w(438,String(t)))}function sf(t){var e=null,n=V.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=V.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(i){return i.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Qu(),V.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=Wb;return e.index++,n}function kn(t,e){return typeof e=="function"?e(t):e}function Pa(t){var e=kt();return ff(e,rt,t)}function ff(t,e,n){var l=t.queue;if(l===null)throw Error(w(311));l.lastRenderedReducer=n;var i=t.baseQueue,r=l.pending;if(r!==null){if(i!==null){var a=i.next;i.next=r.next,r.next=a}e.baseQueue=i=r,l.pending=null}if(r=t.baseState,i===null)t.memoizedState=r;else{e=i.next;var u=a=null,o=null,c=e,s=!1;do{var f=c.lane&-536870913;if(f!==c.lane?(J&f)===f:(Sn&f)===f){var m=c.revertLane;if(m===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Oi&&(s=!0);else if((Sn&m)===m){c=c.next,m===Oi&&(s=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},o===null?(u=o=f,a=r):o=o.next=f,V.lanes|=m,nl|=m;f=c.action,Ol&&n(r,f),r=c.hasEagerState?c.eagerState:n(r,f)}else m={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},o===null?(u=o=m,a=r):o=o.next=m,V.lanes|=f,nl|=f;c=c.next}while(c!==null&&c!==e);if(o===null?a=r:o.next=u,!xe(r,t.memoizedState)&&(Ct=!0,s&&(n=Ei,n!==null)))throw n;t.memoizedState=r,t.baseState=a,t.baseQueue=o,l.lastRenderedState=r}return i===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Ec(t){var e=kt(),n=e.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=t;var l=n.dispatch,i=n.pending,r=e.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do r=t(r,a.action),a=a.next;while(a!==i);xe(r,e.memoizedState)||(Ct=!0),e.memoizedState=r,e.baseQueue===null&&(e.baseState=r),n.lastRenderedState=r}return[r,l]}function Sg(t,e,n){var l=V,i=kt(),r=W;if(r){if(n===void 0)throw Error(w(407));n=n()}else n=e();var a=!xe((rt||i).memoizedState,n);if(a&&(i.memoizedState=n,Ct=!0),i=i.queue,mf(Tg.bind(null,l,i,t),[t]),i.getSnapshot!==e||a||At!==null&&At.memoizedState.tag&1){if(l.flags|=2048,_i(9,{destroy:void 0},Eg.bind(null,l,i,n,e),null),ut===null)throw Error(w(349));r||(Sn&127)!==0||kg(l,e,n)}return n}function kg(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=V.updateQueue,e===null?(e=Qu(),V.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Eg(t,e,n,l){e.value=n,e.getSnapshot=l,Ag(e)&&zg(t)}function Tg(t,e,n){return n(function(){Ag(e)&&zg(t)})}function Ag(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!xe(t,n)}catch{return!0}}function zg(t){var e=Ll(t,2);e!==null&&le(e,t,2)}function ps(t){var e=Jt();if(typeof t=="function"){var n=t;if(t=n(),Ol){qn(!0);try{n()}finally{qn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:t},e}function wg(t,e,n,l){return t.baseState=n,ff(t,rt,typeof l=="function"?l:kn)}function pS(t,e,n,l,i){if(Fu(t))throw Error(w(485));if(t=e.action,t!==null){var r={payload:i,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(a){r.listeners.push(a)}};H.T!==null?n(!0):r.isTransition=!1,l(r),n=e.pending,n===null?(r.next=e.pending=r,Cg(e,r)):(r.next=n.next,e.pending=n.next=r)}}function Cg(t,e){var n=e.action,l=e.payload,i=t.state;if(e.isTransition){var r=H.T,a={};H.T=a;try{var u=n(i,l),o=H.S;o!==null&&o(a,u),wh(t,e,u)}catch(c){hs(t,e,c)}finally{r!==null&&a.types!==null&&(r.types=a.types),H.T=r}}else try{r=n(i,l),wh(t,e,r)}catch(c){hs(t,e,c)}}function wh(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Ch(t,e,l)},function(l){return hs(t,e,l)}):Ch(t,e,n)}function Ch(t,e,n){e.status="fulfilled",e.value=n,Dg(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Cg(t,n)))}function hs(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,Dg(e),e=e.next;while(e!==l)}t.action=null}function Dg(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Og(t,e){return e}function Dh(t,e){if(W){var n=ut.formState;if(n!==null){t:{var l=V;if(W){if(ft){e:{for(var i=ft,r=De;i.nodeType!==8;){if(!r){i=null;break e}if(i=Me(i.nextSibling),i===null){i=null;break e}}r=i.data,i=r==="F!"||r==="F"?i:null}if(i){ft=Me(i.nextSibling),l=i.data==="F!";break t}}tl(l)}l=!1}l&&(e=n[0])}}return n=Jt(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Og,lastRenderedState:e},n.queue=l,n=Zg.bind(null,V,l),l.dispatch=n,l=ps(!1),r=gf.bind(null,V,!1,l.queue),l=Jt(),i={state:e,dispatch:null,action:t,pending:null},l.queue=i,n=pS.bind(null,V,i,r,n),i.dispatch=n,l.memoizedState=t,[e,n,!1]}function Oh(t){var e=kt();return Mg(e,rt,t)}function Mg(t,e,n){if(e=ff(t,e,Og)[0],t=Pa(kn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=ea(e)}catch(a){throw a===Yi?Xu:a}else l=e;e=kt();var i=e.queue,r=i.dispatch;return n!==e.memoizedState&&(V.flags|=2048,_i(9,{destroy:void 0},hS.bind(null,i,n),null)),[l,r,t]}function hS(t,e){t.action=e}function Mh(t){var e=kt(),n=rt;if(n!==null)return Mg(e,n,t);kt(),e=e.memoizedState,n=kt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function _i(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=V.updateQueue,e===null&&(e=Qu(),V.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function _g(){return kt().memoizedState}function tu(t,e,n,l){var i=Jt();V.flags|=t,i.memoizedState=_i(1|e,{destroy:void 0},n,l===void 0?null:l)}function Zu(t,e,n,l){var i=kt();l=l===void 0?null:l;var r=i.memoizedState.inst;rt!==null&&l!==null&&rf(l,rt.memoizedState.deps)?i.memoizedState=_i(e,r,n,l):(V.flags|=t,i.memoizedState=_i(1|e,r,n,l))}function _h(t,e){tu(8390656,8,t,e)}function mf(t,e){Zu(2048,8,t,e)}function dS(t){V.flags|=4;var e=V.updateQueue;if(e===null)e=Qu(),V.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Rg(t){var e=kt().memoizedState;return dS({ref:e,nextImpl:t}),function(){if((P&2)!==0)throw Error(w(440));return e.impl.apply(void 0,arguments)}}function Ng(t,e){return Zu(4,2,t,e)}function Lg(t,e){return Zu(4,4,t,e)}function Ug(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Bg(t,e,n){n=n!=null?n.concat([t]):null,Zu(4,4,Ug.bind(null,e,t),n)}function pf(){}function Hg(t,e){var n=kt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&rf(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function qg(t,e){var n=kt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&rf(e,l[1]))return l[0];if(l=t(),Ol){qn(!0);try{t()}finally{qn(!1)}}return n.memoizedState=[l,e],l}function hf(t,e,n){return n===void 0||(Sn&1073741824)!==0&&(J&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=wy(),V.lanes|=t,nl|=t,n)}function jg(t,e,n,l){return xe(n,e)?n:Mi.current!==null?(t=hf(t,n,l),xe(t,e)||(Ct=!0),t):(Sn&42)===0||(Sn&1073741824)!==0&&(J&261930)===0?(Ct=!0,t.memoizedState=n):(t=wy(),V.lanes|=t,nl|=t,e)}function Yg(t,e,n,l,i){var r=tt.p;tt.p=r!==0&&8>r?r:8;var a=H.T,u={};H.T=u,gf(t,!1,e,n);try{var o=i(),c=H.S;if(c!==null&&c(u,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var s=sS(o,l);Cr(t,e,s,ye(t))}else Cr(t,e,l,ye(t))}catch(f){Cr(t,e,{then:function(){},status:"rejected",reason:f},ye())}finally{tt.p=r,a!==null&&u.types!==null&&(a.types=u.types),H.T=a}}function gS(){}function ds(t,e,n,l){if(t.tag!==5)throw Error(w(476));var i=Vg(t).queue;Yg(t,i,e,kl,n===null?gS:function(){return Xg(t),n(l)})}function Vg(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:kl,baseState:kl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:kl},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Xg(t){var e=Vg(t);e.next===null&&(e=t.alternate.memoizedState),Cr(t,e.next.queue,{},ye())}function df(){return Yt(Gr)}function Qg(){return kt().memoizedState}function Gg(){return kt().memoizedState}function yS(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=ye();t=Zn(n);var l=Fn(e,t,n);l!==null&&(le(l,e,n),Ar(l,e,n)),e={cache:Ps()},t.payload=e;return}e=e.return}}function xS(t,e,n){var l=ye();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Fu(t)?Fg(e,n):(n=Js(t,e,n,l),n!==null&&(le(n,t,l),Kg(n,e,l)))}function Zg(t,e,n){var l=ye();Cr(t,e,n,l)}function Cr(t,e,n,l){var i={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Fu(t))Fg(e,i);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var a=e.lastRenderedState,u=r(a,n);if(i.hasEagerState=!0,i.eagerState=u,xe(u,a))return Vu(t,e,i,0),ut===null&&Yu(),!1}catch{}if(n=Js(t,e,i,l),n!==null)return le(n,t,l),Kg(n,e,l),!0}return!1}function gf(t,e,n,l){if(l={lane:2,revertLane:Af(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Fu(t)){if(e)throw Error(w(479))}else e=Js(t,n,l,2),e!==null&&le(e,t,2)}function Fu(t){var e=t.alternate;return t===V||e!==null&&e===V}function Fg(t,e){Ai=vu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Kg(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Rd(t,n)}}var Vr={readContext:Yt,use:Gu,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useLayoutEffect:gt,useInsertionEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useSyncExternalStore:gt,useId:gt,useHostTransitionStatus:gt,useFormState:gt,useActionState:gt,useOptimistic:gt,useMemoCache:gt,useCacheRefresh:gt};Vr.useEffectEvent=gt;var Jg={readContext:Yt,use:Gu,useCallback:function(t,e){return Jt().memoizedState=[t,e===void 0?null:e],t},useContext:Yt,useEffect:_h,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,tu(4194308,4,Ug.bind(null,e,t),n)},useLayoutEffect:function(t,e){return tu(4194308,4,t,e)},useInsertionEffect:function(t,e){tu(4,2,t,e)},useMemo:function(t,e){var n=Jt();e=e===void 0?null:e;var l=t();if(Ol){qn(!0);try{t()}finally{qn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=Jt();if(n!==void 0){var i=n(e);if(Ol){qn(!0);try{n(e)}finally{qn(!1)}}}else i=e;return l.memoizedState=l.baseState=i,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},l.queue=t,t=t.dispatch=xS.bind(null,V,t),[l.memoizedState,t]},useRef:function(t){var e=Jt();return t={current:t},e.memoizedState=t},useState:function(t){t=ps(t);var e=t.queue,n=Zg.bind(null,V,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:pf,useDeferredValue:function(t,e){var n=Jt();return hf(n,t,e)},useTransition:function(){var t=ps(!1);return t=Yg.bind(null,V,t.queue,!0,!1),Jt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=V,i=Jt();if(W){if(n===void 0)throw Error(w(407));n=n()}else{if(n=e(),ut===null)throw Error(w(349));(J&127)!==0||kg(l,e,n)}i.memoizedState=n;var r={value:n,getSnapshot:e};return i.queue=r,_h(Tg.bind(null,l,r,t),[t]),l.flags|=2048,_i(9,{destroy:void 0},Eg.bind(null,l,r,n,e),null),n},useId:function(){var t=Jt(),e=ut.identifierPrefix;if(W){var n=Ze,l=Ge;n=(l&~(1<<32-ge(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Su++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=fS++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:df,useFormState:Dh,useActionState:Dh,useOptimistic:function(t){var e=Jt();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=gf.bind(null,V,!0,n),n.dispatch=e,[t,e]},useMemoCache:sf,useCacheRefresh:function(){return Jt().memoizedState=yS.bind(null,V)},useEffectEvent:function(t){var e=Jt(),n={impl:t};return e.memoizedState=n,function(){if((P&2)!==0)throw Error(w(440));return n.impl.apply(void 0,arguments)}}},yf={readContext:Yt,use:Gu,useCallback:Hg,useContext:Yt,useEffect:mf,useImperativeHandle:Bg,useInsertionEffect:Ng,useLayoutEffect:Lg,useMemo:qg,useReducer:Pa,useRef:_g,useState:function(){return Pa(kn)},useDebugValue:pf,useDeferredValue:function(t,e){var n=kt();return jg(n,rt.memoizedState,t,e)},useTransition:function(){var t=Pa(kn)[0],e=kt().memoizedState;return[typeof t=="boolean"?t:ea(t),e]},useSyncExternalStore:Sg,useId:Qg,useHostTransitionStatus:df,useFormState:Oh,useActionState:Oh,useOptimistic:function(t,e){var n=kt();return wg(n,rt,t,e)},useMemoCache:sf,useCacheRefresh:Gg};yf.useEffectEvent=Rg;var Ig={readContext:Yt,use:Gu,useCallback:Hg,useContext:Yt,useEffect:mf,useImperativeHandle:Bg,useInsertionEffect:Ng,useLayoutEffect:Lg,useMemo:qg,useReducer:Ec,useRef:_g,useState:function(){return Ec(kn)},useDebugValue:pf,useDeferredValue:function(t,e){var n=kt();return rt===null?hf(n,t,e):jg(n,rt.memoizedState,t,e)},useTransition:function(){var t=Ec(kn)[0],e=kt().memoizedState;return[typeof t=="boolean"?t:ea(t),e]},useSyncExternalStore:Sg,useId:Qg,useHostTransitionStatus:df,useFormState:Mh,useActionState:Mh,useOptimistic:function(t,e){var n=kt();return rt!==null?wg(n,rt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:sf,useCacheRefresh:Gg};Ig.useEffectEvent=Rg;function Tc(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:mt({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var gs={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=ye(),i=Zn(l);i.payload=e,n!=null&&(i.callback=n),e=Fn(t,i,l),e!==null&&(le(e,t,l),Ar(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=ye(),i=Zn(l);i.tag=1,i.payload=e,n!=null&&(i.callback=n),e=Fn(t,i,l),e!==null&&(le(e,t,l),Ar(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=ye(),l=Zn(n);l.tag=2,e!=null&&(l.callback=e),e=Fn(t,l,n),e!==null&&(le(e,t,n),Ar(e,t,n))}};function Rh(t,e,n,l,i,r,a){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,r,a):e.prototype&&e.prototype.isPureReactComponent?!Br(n,l)||!Br(i,r):!0}function Nh(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&gs.enqueueReplaceState(e,e.state,null)}function Ml(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=mt({},n));for(var i in t)n[i]===void 0&&(n[i]=t[i])}return n}function Wg(t){pu(t)}function $g(t){console.error(t)}function Pg(t){pu(t)}function ku(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Lh(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function ys(t,e,n){return n=Zn(n),n.tag=3,n.payload={element:null},n.callback=function(){ku(t,e)},n}function ty(t){return t=Zn(t),t.tag=3,t}function ey(t,e,n,l){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var r=l.value;t.payload=function(){return i(r)},t.callback=function(){Lh(e,n,l)}}var a=n.stateNode;a!==null&&typeof a.componentDidCatch=="function"&&(t.callback=function(){Lh(e,n,l),typeof i!="function"&&(Kn===null?Kn=new Set([this]):Kn.add(this));var u=l.stack;this.componentDidCatch(l.value,{componentStack:u!==null?u:""})})}function bS(t,e,n,l,i){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&ji(e,n,i,!0),n=be.current,n!==null){switch(n.tag){case 31:case 13:return Oe===null?wu():n.alternate===null&&yt===0&&(yt=3),n.flags&=-257,n.flags|=65536,n.lanes=i,l===yu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),Lc(t,l,i)),!1;case 22:return n.flags|=65536,l===yu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),Lc(t,l,i)),!1}throw Error(w(435,n.tag))}return Lc(t,l,i),wu(),!1}if(W)return e=be.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=i,l!==is&&(t=Error(w(422),{cause:l}),qr(Ce(t,n)))):(l!==is&&(e=Error(w(423),{cause:l}),qr(Ce(e,n))),t=t.current.alternate,t.flags|=65536,i&=-i,t.lanes|=i,l=Ce(l,n),i=ys(t.stateNode,l,i),kc(t,i),yt!==4&&(yt=2)),!1;var r=Error(w(520),{cause:l});if(r=Ce(r,n),Mr===null?Mr=[r]:Mr.push(r),yt!==4&&(yt=2),e===null)return!0;l=Ce(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=i&-i,n.lanes|=t,t=ys(n.stateNode,l,t),kc(n,t),!1;case 1:if(e=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Kn===null||!Kn.has(r))))return n.flags|=65536,i&=-i,n.lanes|=i,i=ty(i),ey(i,t,n,l),kc(n,i),!1}n=n.return}while(n!==null);return!1}var xf=Error(w(461)),Ct=!1;function Ht(t,e,n,l){e.child=t===null?dg(e,null,n,l):Dl(e,t.child,n,l)}function Uh(t,e,n,l,i){n=n.render;var r=e.ref;if("ref"in l){var a={};for(var u in l)u!=="ref"&&(a[u]=l[u])}else a=l;return Cl(e),l=af(t,e,n,a,r,i),u=uf(),t!==null&&!Ct?(of(t,e,i),En(t,e,i)):(W&&u&&Ws(e),e.flags|=1,Ht(t,e,l,i),e.child)}function Bh(t,e,n,l,i){if(t===null){var r=n.type;return typeof r=="function"&&!Is(r)&&r.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=r,ny(t,e,r,l,i)):(t=Wa(n.type,null,l,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(r=t.child,!bf(t,i)){var a=r.memoizedProps;if(n=n.compare,n=n!==null?n:Br,n(a,l)&&t.ref===e.ref)return En(t,e,i)}return e.flags|=1,t=yn(r,l),t.ref=e.ref,t.return=e,e.child=t}function ny(t,e,n,l,i){if(t!==null){var r=t.memoizedProps;if(Br(r,l)&&t.ref===e.ref)if(Ct=!1,e.pendingProps=l=r,bf(t,i))(t.flags&131072)!==0&&(Ct=!0);else return e.lanes=t.lanes,En(t,e,i)}return xs(t,e,n,l,i)}function ly(t,e,n,l){var i=l.children,r=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(r=r!==null?r.baseLanes|n:n,t!==null){for(l=e.child=t.child,i=0;l!==null;)i=i|l.lanes|l.childLanes,l=l.sibling;l=i&~r}else l=0,e.child=null;return Hh(t,e,r,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&$a(e,r!==null?r.cachePool:null),r!==null?zh(e,r):fs(),xg(e);else return l=e.lanes=536870912,Hh(t,e,r!==null?r.baseLanes|n:n,n,l)}else r!==null?($a(e,r.cachePool),zh(e,r),Bn(e),e.memoizedState=null):(t!==null&&$a(e,null),fs(),Bn(e));return Ht(t,e,i,n),e.child}function br(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Hh(t,e,n,l,i){var r=tf();return r=r===null?null:{parent:wt._currentValue,pool:r},e.memoizedState={baseLanes:n,cachePool:r},t!==null&&$a(e,null),fs(),xg(e),t!==null&&ji(t,e,l,!0),e.childLanes=i,null}function eu(t,e){return e=Eu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function qh(t,e,n){return Dl(e,t.child,null,n),t=eu(e,e.pendingProps),t.flags|=2,fe(e),e.memoizedState=null,t}function vS(t,e,n){var l=e.pendingProps,i=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(W){if(l.mode==="hidden")return t=eu(e,l),e.lanes=536870912,br(null,t);if(ms(e),(t=ft)?(t=Jy(t,De),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Pn!==null?{id:Ge,overflow:Ze}:null,retryLane:536870912,hydrationErrors:null},n=og(t),n.return=e,e.child=n,jt=e,ft=null)):t=null,t===null)throw tl(e);return e.lanes=536870912,null}return eu(e,l)}var r=t.memoizedState;if(r!==null){var a=r.dehydrated;if(ms(e),i)if(e.flags&256)e.flags&=-257,e=qh(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(w(558));else if(Ct||ji(t,e,n,!1),i=(n&t.childLanes)!==0,Ct||i){if(l=ut,l!==null&&(a=Nd(l,n),a!==0&&a!==r.retryLane))throw r.retryLane=a,Ll(t,a),le(l,t,a),xf;wu(),e=qh(t,e,n)}else t=r.treeContext,ft=Me(a.nextSibling),jt=e,W=!0,Gn=null,De=!1,t!==null&&sg(e,t),e=eu(e,l),e.flags|=4096;return e}return t=yn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function nu(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(w(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function xs(t,e,n,l,i){return Cl(e),n=af(t,e,n,l,void 0,i),l=uf(),t!==null&&!Ct?(of(t,e,i),En(t,e,i)):(W&&l&&Ws(e),e.flags|=1,Ht(t,e,n,i),e.child)}function jh(t,e,n,l,i,r){return Cl(e),e.updateQueue=null,n=vg(e,l,n,i),bg(t),l=uf(),t!==null&&!Ct?(of(t,e,r),En(t,e,r)):(W&&l&&Ws(e),e.flags|=1,Ht(t,e,n,r),e.child)}function Yh(t,e,n,l,i){if(Cl(e),e.stateNode===null){var r=gi,a=n.contextType;typeof a=="object"&&a!==null&&(r=Yt(a)),r=new n(l,r),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=gs,e.stateNode=r,r._reactInternals=e,r=e.stateNode,r.props=l,r.state=e.memoizedState,r.refs={},nf(e),a=n.contextType,r.context=typeof a=="object"&&a!==null?Yt(a):gi,r.state=e.memoizedState,a=n.getDerivedStateFromProps,typeof a=="function"&&(Tc(e,n,a,l),r.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(a=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),a!==r.state&&gs.enqueueReplaceState(r,r.state,null),wr(e,l,r,i),zr(),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){r=e.stateNode;var u=e.memoizedProps,o=Ml(n,u);r.props=o;var c=r.context,s=n.contextType;a=gi,typeof s=="object"&&s!==null&&(a=Yt(s));var f=n.getDerivedStateFromProps;s=typeof f=="function"||typeof r.getSnapshotBeforeUpdate=="function",u=e.pendingProps!==u,s||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(u||c!==a)&&Nh(e,r,l,a),Nn=!1;var m=e.memoizedState;r.state=m,wr(e,l,r,i),zr(),c=e.memoizedState,u||m!==c||Nn?(typeof f=="function"&&(Tc(e,n,f,l),c=e.memoizedState),(o=Nn||Rh(e,n,o,l,m,c,a))?(s||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(e.flags|=4194308)):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=c),r.props=l,r.state=c,r.context=a,l=o):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{r=e.stateNode,cs(t,e),a=e.memoizedProps,s=Ml(n,a),r.props=s,f=e.pendingProps,m=r.context,c=n.contextType,o=gi,typeof c=="object"&&c!==null&&(o=Yt(c)),u=n.getDerivedStateFromProps,(c=typeof u=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(a!==f||m!==o)&&Nh(e,r,l,o),Nn=!1,m=e.memoizedState,r.state=m,wr(e,l,r,i),zr();var p=e.memoizedState;a!==f||m!==p||Nn||t!==null&&t.dependencies!==null&&gu(t.dependencies)?(typeof u=="function"&&(Tc(e,n,u,l),p=e.memoizedState),(s=Nn||Rh(e,n,s,l,m,p,o)||t!==null&&t.dependencies!==null&&gu(t.dependencies))?(c||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(l,p,o),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(l,p,o)),typeof r.componentDidUpdate=="function"&&(e.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof r.componentDidUpdate!="function"||a===t.memoizedProps&&m===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&m===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=p),r.props=l,r.state=p,r.context=o,l=s):(typeof r.componentDidUpdate!="function"||a===t.memoizedProps&&m===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&m===t.memoizedState||(e.flags|=1024),l=!1)}return r=l,nu(t,e),l=(e.flags&128)!==0,r||l?(r=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:r.render(),e.flags|=1,t!==null&&l?(e.child=Dl(e,t.child,null,i),e.child=Dl(e,null,n,i)):Ht(t,e,n,i),e.memoizedState=r.state,t=e.child):t=En(t,e,i),t}function Vh(t,e,n,l){return wl(),e.flags|=256,Ht(t,e,n,l),e.child}var Ac={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function zc(t){return{baseLanes:t,cachePool:mg()}}function wc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=pe),t}function iy(t,e,n){var l=e.pendingProps,i=!1,r=(e.flags&128)!==0,a;if((a=r)||(a=t!==null&&t.memoizedState===null?!1:(St.current&2)!==0),a&&(i=!0,e.flags&=-129),a=(e.flags&32)!==0,e.flags&=-33,t===null){if(W){if(i?Un(e):Bn(e),(t=ft)?(t=Jy(t,De),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Pn!==null?{id:Ge,overflow:Ze}:null,retryLane:536870912,hydrationErrors:null},n=og(t),n.return=e,e.child=n,jt=e,ft=null)):t=null,t===null)throw tl(e);return _s(t)?e.lanes=32:e.lanes=536870912,null}var u=l.children;return l=l.fallback,i?(Bn(e),i=e.mode,u=Eu({mode:"hidden",children:u},i),l=El(l,i,n,null),u.return=e,l.return=e,u.sibling=l,e.child=u,l=e.child,l.memoizedState=zc(n),l.childLanes=wc(t,a,n),e.memoizedState=Ac,br(null,l)):(Un(e),bs(e,u))}var o=t.memoizedState;if(o!==null&&(u=o.dehydrated,u!==null)){if(r)e.flags&256?(Un(e),e.flags&=-257,e=Cc(t,e,n)):e.memoizedState!==null?(Bn(e),e.child=t.child,e.flags|=128,e=null):(Bn(e),u=l.fallback,i=e.mode,l=Eu({mode:"visible",children:l.children},i),u=El(u,i,n,null),u.flags|=2,l.return=e,u.return=e,l.sibling=u,e.child=l,Dl(e,t.child,null,n),l=e.child,l.memoizedState=zc(n),l.childLanes=wc(t,a,n),e.memoizedState=Ac,e=br(null,l));else if(Un(e),_s(u)){if(a=u.nextSibling&&u.nextSibling.dataset,a)var c=a.dgst;a=c,l=Error(w(419)),l.stack="",l.digest=a,qr({value:l,source:null,stack:null}),e=Cc(t,e,n)}else if(Ct||ji(t,e,n,!1),a=(n&t.childLanes)!==0,Ct||a){if(a=ut,a!==null&&(l=Nd(a,n),l!==0&&l!==o.retryLane))throw o.retryLane=l,Ll(t,l),le(a,t,l),xf;Ms(u)||wu(),e=Cc(t,e,n)}else Ms(u)?(e.flags|=192,e.child=t.child,e=null):(t=o.treeContext,ft=Me(u.nextSibling),jt=e,W=!0,Gn=null,De=!1,t!==null&&sg(e,t),e=bs(e,l.children),e.flags|=4096);return e}return i?(Bn(e),u=l.fallback,i=e.mode,o=t.child,c=o.sibling,l=yn(o,{mode:"hidden",children:l.children}),l.subtreeFlags=o.subtreeFlags&65011712,c!==null?u=yn(c,u):(u=El(u,i,n,null),u.flags|=2),u.return=e,l.return=e,l.sibling=u,e.child=l,br(null,l),l=e.child,u=t.child.memoizedState,u===null?u=zc(n):(i=u.cachePool,i!==null?(o=wt._currentValue,i=i.parent!==o?{parent:o,pool:o}:i):i=mg(),u={baseLanes:u.baseLanes|n,cachePool:i}),l.memoizedState=u,l.childLanes=wc(t,a,n),e.memoizedState=Ac,br(t.child,l)):(Un(e),n=t.child,t=n.sibling,n=yn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(a=e.deletions,a===null?(e.deletions=[t],e.flags|=16):a.push(t)),e.child=n,e.memoizedState=null,n)}function bs(t,e){return e=Eu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Eu(t,e){return t=me(22,t,null,e),t.lanes=0,t}function Cc(t,e,n){return Dl(e,t.child,null,n),t=bs(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Xh(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),as(t.return,e,n)}function Dc(t,e,n,l,i,r){var a=t.memoizedState;a===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:i,treeForkCount:r}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=l,a.tail=n,a.tailMode=i,a.treeForkCount=r)}function ry(t,e,n){var l=e.pendingProps,i=l.revealOrder,r=l.tail;l=l.children;var a=St.current,u=(a&2)!==0;if(u?(a=a&1|2,e.flags|=128):a&=1,ot(St,a),Ht(t,e,l,n),l=W?Hr:0,!u&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Xh(t,n,e);else if(t.tag===19)Xh(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&bu(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Dc(e,!1,i,n,r,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&bu(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Dc(e,!0,n,null,r,l);break;case"together":Dc(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function En(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),nl|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ji(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(w(153));if(e.child!==null){for(t=e.child,n=yn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=yn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function bf(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&gu(t)))}function SS(t,e,n){switch(e.tag){case 3:cu(e,e.stateNode.containerInfo),Ln(e,wt,t.memoizedState.cache),wl();break;case 27:case 5:Fc(e);break;case 4:cu(e,e.stateNode.containerInfo);break;case 10:Ln(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,ms(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Un(e),e.flags|=128,null):(n&e.child.childLanes)!==0?iy(t,e,n):(Un(e),t=En(t,e,n),t!==null?t.sibling:null);Un(e);break;case 19:var i=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(ji(t,e,n,!1),l=(n&e.childLanes)!==0),i){if(l)return ry(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ot(St,St.current),l)break;return null;case 22:return e.lanes=0,ly(t,e,n,e.pendingProps);case 24:Ln(e,wt,t.memoizedState.cache)}return En(t,e,n)}function ay(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Ct=!0;else{if(!bf(t,n)&&(e.flags&128)===0)return Ct=!1,SS(t,e,n);Ct=(t.flags&131072)!==0}else Ct=!1,W&&(e.flags&1048576)!==0&&cg(e,Hr,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=vl(e.elementType),e.type=t,typeof t=="function")Is(t)?(l=Ml(t,l),e.tag=1,e=Yh(null,e,t,l,n)):(e.tag=0,e=xs(null,e,t,l,n));else{if(t!=null){var i=t.$$typeof;if(i===Us){e.tag=11,e=Uh(null,e,t,l,n);break t}else if(i===Bs){e.tag=14,e=Bh(null,e,t,l,n);break t}}throw e=Gc(t)||t,Error(w(306,e,""))}}return e;case 0:return xs(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,i=Ml(l,e.pendingProps),Yh(t,e,l,i,n);case 3:t:{if(cu(e,e.stateNode.containerInfo),t===null)throw Error(w(387));l=e.pendingProps;var r=e.memoizedState;i=r.element,cs(t,e),wr(e,l,null,n);var a=e.memoizedState;if(l=a.cache,Ln(e,wt,l),l!==r.cache&&us(e,[wt],n,!0),zr(),l=a.element,r.isDehydrated)if(r={element:l,isDehydrated:!1,cache:a.cache},e.updateQueue.baseState=r,e.memoizedState=r,e.flags&256){e=Vh(t,e,l,n);break t}else if(l!==i){i=Ce(Error(w(424)),e),qr(i),e=Vh(t,e,l,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,ft=Me(t.firstChild),jt=e,W=!0,Gn=null,De=!0,n=dg(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wl(),l===i){e=En(t,e,n);break t}Ht(t,e,l,n)}e=e.child}return e;case 26:return nu(t,e),t===null?(n=fd(e.type,null,e.pendingProps,null))?e.memoizedState=n:W||(n=e.type,t=e.pendingProps,l=Mu(Qn.current).createElement(n),l[qt]=e,l[ie]=t,Vt(l,n,t),Nt(l),e.stateNode=l):e.memoizedState=fd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Fc(e),t===null&&W&&(l=e.stateNode=Iy(e.type,e.pendingProps,Qn.current),jt=e,De=!0,i=ft,il(e.type)?(Rs=i,ft=Me(l.firstChild)):ft=i),Ht(t,e,e.pendingProps.children,n),nu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&W&&((i=l=ft)&&(l=JS(l,e.type,e.pendingProps,De),l!==null?(e.stateNode=l,jt=e,ft=Me(l.firstChild),De=!1,i=!0):i=!1),i||tl(e)),Fc(e),i=e.type,r=e.pendingProps,a=t!==null?t.memoizedProps:null,l=r.children,Ds(i,r)?l=null:a!==null&&Ds(i,a)&&(e.flags|=32),e.memoizedState!==null&&(i=af(t,e,mS,null,null,n),Gr._currentValue=i),nu(t,e),Ht(t,e,l,n),e.child;case 6:return t===null&&W&&((t=n=ft)&&(n=IS(n,e.pendingProps,De),n!==null?(e.stateNode=n,jt=e,ft=null,t=!0):t=!1),t||tl(e)),null;case 13:return iy(t,e,n);case 4:return cu(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Dl(e,null,l,n):Ht(t,e,l,n),e.child;case 11:return Uh(t,e,e.type,e.pendingProps,n);case 7:return Ht(t,e,e.pendingProps,n),e.child;case 8:return Ht(t,e,e.pendingProps.children,n),e.child;case 12:return Ht(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,Ln(e,e.type,l.value),Ht(t,e,l.children,n),e.child;case 9:return i=e.type._context,l=e.pendingProps.children,Cl(e),i=Yt(i),l=l(i),e.flags|=1,Ht(t,e,l,n),e.child;case 14:return Bh(t,e,e.type,e.pendingProps,n);case 15:return ny(t,e,e.type,e.pendingProps,n);case 19:return ry(t,e,n);case 31:return vS(t,e,n);case 22:return ly(t,e,n,e.pendingProps);case 24:return Cl(e),l=Yt(wt),t===null?(i=tf(),i===null&&(i=ut,r=Ps(),i.pooledCache=r,r.refCount++,r!==null&&(i.pooledCacheLanes|=n),i=r),e.memoizedState={parent:l,cache:i},nf(e),Ln(e,wt,i)):((t.lanes&n)!==0&&(cs(t,e),wr(e,null,null,n),zr()),i=t.memoizedState,r=e.memoizedState,i.parent!==l?(i={parent:l,cache:l},e.memoizedState=i,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=i),Ln(e,wt,l)):(l=r.cache,Ln(e,wt,l),l!==i.cache&&us(e,[wt],n,!0))),Ht(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(w(156,e.tag))}function on(t){t.flags|=4}function Oc(t,e,n,l,i){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(i&335544128)===i)if(t.stateNode.complete)t.flags|=8192;else if(Oy())t.flags|=8192;else throw Al=yu,ef}else t.flags&=-16777217}function Qh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Py(e))if(Oy())t.flags|=8192;else throw Al=yu,ef}function ja(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Md():536870912,t.lanes|=e,Ri|=e)}function mr(t,e){if(!W)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function st(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags&65011712,l|=i.flags&65011712,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function kS(t,e,n){var l=e.pendingProps;switch($s(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return st(e),null;case 1:return st(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),xn(wt),wi(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(ii(e)?on(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Sc())),st(e),null;case 26:var i=e.type,r=e.memoizedState;return t===null?(on(e),r!==null?(st(e),Qh(e,r)):(st(e),Oc(e,i,null,l,n))):r?r!==t.memoizedState?(on(e),st(e),Qh(e,r)):(st(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&on(e),st(e),Oc(e,i,t,l,n)),null;case 27:if(su(e),n=Qn.current,i=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&on(e);else{if(!l){if(e.stateNode===null)throw Error(w(166));return st(e),null}t=Ke.current,ii(e)?bh(e,t):(t=Iy(i,l,n),e.stateNode=t,on(e))}return st(e),null;case 5:if(su(e),i=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&on(e);else{if(!l){if(e.stateNode===null)throw Error(w(166));return st(e),null}if(r=Ke.current,ii(e))bh(e,r);else{var a=Mu(Qn.current);switch(r){case 1:r=a.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:r=a.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":r=a.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":r=a.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":r=a.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof l.is=="string"?a.createElement("select",{is:l.is}):a.createElement("select"),l.multiple?r.multiple=!0:l.size&&(r.size=l.size);break;default:r=typeof l.is=="string"?a.createElement(i,{is:l.is}):a.createElement(i)}}r[qt]=e,r[ie]=l;t:for(a=e.child;a!==null;){if(a.tag===5||a.tag===6)r.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break t;for(;a.sibling===null;){if(a.return===null||a.return===e)break t;a=a.return}a.sibling.return=a.return,a=a.sibling}e.stateNode=r;t:switch(Vt(r,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&on(e)}}return st(e),Oc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&on(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(w(166));if(t=Qn.current,ii(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,i=jt,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}t[qt]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||Zy(t.nodeValue,n)),t||tl(e,!0)}else t=Mu(t).createTextNode(l),t[qt]=e,e.stateNode=t}return st(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=ii(e),n!==null){if(t===null){if(!l)throw Error(w(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(w(557));t[qt]=e}else wl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;st(e),t=!1}else n=Sc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(fe(e),e):(fe(e),null);if((e.flags&128)!==0)throw Error(w(558))}return st(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(i=ii(e),l!==null&&l.dehydrated!==null){if(t===null){if(!i)throw Error(w(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(w(317));i[qt]=e}else wl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;st(e),i=!1}else i=Sc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),i=!0;if(!i)return e.flags&256?(fe(e),e):(fe(e),null)}return fe(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==i&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),ja(e,e.updateQueue),st(e),null);case 4:return wi(),t===null&&zf(e.stateNode.containerInfo),st(e),null;case 10:return xn(e.type),st(e),null;case 19:if(Lt(St),l=e.memoizedState,l===null)return st(e),null;if(i=(e.flags&128)!==0,r=l.rendering,r===null)if(i)mr(l,!1);else{if(yt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(r=bu(t),r!==null){for(e.flags|=128,mr(l,!1),t=r.updateQueue,e.updateQueue=t,ja(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)ug(n,t),n=n.sibling;return ot(St,St.current&1|2),W&&mn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&he()>Au&&(e.flags|=128,i=!0,mr(l,!1),e.lanes=4194304)}else{if(!i)if(t=bu(r),t!==null){if(e.flags|=128,i=!0,t=t.updateQueue,e.updateQueue=t,ja(e,t),mr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!r.alternate&&!W)return st(e),null}else 2*he()-l.renderingStartTime>Au&&n!==536870912&&(e.flags|=128,i=!0,mr(l,!1),e.lanes=4194304);l.isBackwards?(r.sibling=e.child,e.child=r):(t=l.last,t!==null?t.sibling=r:e.child=r,l.last=r)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=he(),t.sibling=null,n=St.current,ot(St,i?n&1|2:n&1),W&&mn(e,l.treeForkCount),t):(st(e),null);case 22:case 23:return fe(e),lf(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(st(e),e.subtreeFlags&6&&(e.flags|=8192)):st(e),n=e.updateQueue,n!==null&&ja(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&Lt(Tl),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),xn(wt),st(e),null;case 25:return null;case 30:return null}throw Error(w(156,e.tag))}function ES(t,e){switch($s(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return xn(wt),wi(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return su(e),null;case 31:if(e.memoizedState!==null){if(fe(e),e.alternate===null)throw Error(w(340));wl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(fe(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(w(340));wl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Lt(St),null;case 4:return wi(),null;case 10:return xn(e.type),null;case 22:case 23:return fe(e),lf(),t!==null&&Lt(Tl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return xn(wt),null;case 25:return null;default:return null}}function uy(t,e){switch($s(e),e.tag){case 3:xn(wt),wi();break;case 26:case 27:case 5:su(e);break;case 4:wi();break;case 31:e.memoizedState!==null&&fe(e);break;case 13:fe(e);break;case 19:Lt(St);break;case 10:xn(e.type);break;case 22:case 23:fe(e),lf(),t!==null&&Lt(Tl);break;case 24:xn(wt)}}function na(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&t)===t){l=void 0;var r=n.create,a=n.inst;l=r(),a.destroy=l}n=n.next}while(n!==i)}}catch(u){nt(e,e.return,u)}}function el(t,e,n){try{var l=e.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var r=i.next;l=r;do{if((l.tag&t)===t){var a=l.inst,u=a.destroy;if(u!==void 0){a.destroy=void 0,i=e;var o=n,c=u;try{c()}catch(s){nt(i,o,s)}}}l=l.next}while(l!==r)}}catch(s){nt(e,e.return,s)}}function oy(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{yg(e,n)}catch(l){nt(t,t.return,l)}}}function cy(t,e,n){n.props=Ml(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){nt(t,e,l)}}function Dr(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(i){nt(t,e,i)}}function Fe(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(i){nt(t,e,i)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){nt(t,e,i)}else n.current=null}function sy(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(i){nt(t,t.return,i)}}function Mc(t,e,n){try{var l=t.stateNode;XS(l,t.type,n,e),l[ie]=e}catch(i){nt(t,t.return,i)}}function fy(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&il(t.type)||t.tag===4}function _c(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||fy(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&&il(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 vs(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=dn));else if(l!==4&&(l===27&&il(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(vs(t,e,n),t=t.sibling;t!==null;)vs(t,e,n),t=t.sibling}function Tu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&il(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(Tu(t,e,n),t=t.sibling;t!==null;)Tu(t,e,n),t=t.sibling}function my(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Vt(e,l,n),e[qt]=t,e[ie]=n}catch(r){nt(t,t.return,r)}}var pn=!1,zt=!1,Rc=!1,Gh=typeof WeakSet=="function"?WeakSet:Set,Rt=null;function TS(t,e){if(t=t.containerInfo,ws=Lu,t=Pd(t),Fs(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var i=l.anchorOffset,r=l.focusNode;l=l.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break t}var a=0,u=-1,o=-1,c=0,s=0,f=t,m=null;e:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(u=a+i),f!==r||l!==0&&f.nodeType!==3||(o=a+l),f.nodeType===3&&(a+=f.nodeValue.length),(p=f.firstChild)!==null;)m=f,f=p;for(;;){if(f===t)break e;if(m===n&&++c===i&&(u=a),m===r&&++s===l&&(o=a),(p=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=p}n=u===-1||o===-1?null:{start:u,end:o}}else n=null}n=n||{start:0,end:0}}else n=null;for(Cs={focusedElem:t,selectionRange:n},Lu=!1,Rt=e;Rt!==null;)if(e=Rt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Rt=t;else for(;Rt!==null;){switch(e=Rt,r=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(n=0;n<t.length;n++)i=t[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&r!==null){t=void 0,n=e,i=r.memoizedProps,r=r.memoizedState,l=n.stateNode;try{var g=Ml(n.type,i);t=l.getSnapshotBeforeUpdate(g,r),l.__reactInternalSnapshotBeforeUpdate=t}catch(v){nt(n,n.return,v)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Os(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Os(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(w(163))}if(t=e.sibling,t!==null){t.return=e.return,Rt=t;break}Rt=e.return}}function py(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:sn(t,n),l&4&&na(5,n);break;case 1:if(sn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(a){nt(n,n.return,a)}else{var i=Ml(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(i,e,t.__reactInternalSnapshotBeforeUpdate)}catch(a){nt(n,n.return,a)}}l&64&&oy(n),l&512&&Dr(n,n.return);break;case 3:if(sn(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{yg(t,e)}catch(a){nt(n,n.return,a)}}break;case 27:e===null&&l&4&&my(n);case 26:case 5:sn(t,n),e===null&&l&4&&sy(n),l&512&&Dr(n,n.return);break;case 12:sn(t,n);break;case 31:sn(t,n),l&4&&gy(t,n);break;case 13:sn(t,n),l&4&&yy(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=RS.bind(null,n),WS(t,n))));break;case 22:if(l=n.memoizedState!==null||pn,!l){e=e!==null&&e.memoizedState!==null||zt,i=pn;var r=zt;pn=l,(zt=e)&&!r?fn(t,n,(n.subtreeFlags&8772)!==0):sn(t,n),pn=i,zt=r}break;case 30:break;default:sn(t,n)}}function hy(t){var e=t.alternate;e!==null&&(t.alternate=null,hy(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Ys(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 ht=null,ee=!1;function cn(t,e,n){for(n=n.child;n!==null;)dy(t,e,n),n=n.sibling}function dy(t,e,n){if(de&&typeof de.onCommitFiberUnmount=="function")try{de.onCommitFiberUnmount(Jr,n)}catch{}switch(n.tag){case 26:zt||Fe(n,e),cn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:zt||Fe(n,e);var l=ht,i=ee;il(n.type)&&(ht=n.stateNode,ee=!1),cn(t,e,n),Rr(n.stateNode),ht=l,ee=i;break;case 5:zt||Fe(n,e);case 6:if(l=ht,i=ee,ht=null,cn(t,e,n),ht=l,ee=i,ht!==null)if(ee)try{(ht.nodeType===9?ht.body:ht.nodeName==="HTML"?ht.ownerDocument.body:ht).removeChild(n.stateNode)}catch(r){nt(n,e,r)}else try{ht.removeChild(n.stateNode)}catch(r){nt(n,e,r)}break;case 18:ht!==null&&(ee?(t=ht,ad(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),Bi(t)):ad(ht,n.stateNode));break;case 4:l=ht,i=ee,ht=n.stateNode.containerInfo,ee=!0,cn(t,e,n),ht=l,ee=i;break;case 0:case 11:case 14:case 15:el(2,n,e),zt||el(4,n,e),cn(t,e,n);break;case 1:zt||(Fe(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&cy(n,e,l)),cn(t,e,n);break;case 21:cn(t,e,n);break;case 22:zt=(l=zt)||n.memoizedState!==null,cn(t,e,n),zt=l;break;default:cn(t,e,n)}}function gy(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Bi(t)}catch(n){nt(e,e.return,n)}}}function yy(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Bi(t)}catch(n){nt(e,e.return,n)}}function AS(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Gh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Gh),e;default:throw Error(w(435,t.tag))}}function Ya(t,e){var n=AS(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var i=NS.bind(null,t,l);l.then(i,i)}})}function Pt(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var i=n[l],r=t,a=e,u=a;t:for(;u!==null;){switch(u.tag){case 27:if(il(u.type)){ht=u.stateNode,ee=!1;break t}break;case 5:ht=u.stateNode,ee=!1;break t;case 3:case 4:ht=u.stateNode.containerInfo,ee=!0;break t}u=u.return}if(ht===null)throw Error(w(160));dy(r,a,i),ht=null,ee=!1,r=i.alternate,r!==null&&(r.return=null),i.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)xy(e,t),e=e.sibling}var je=null;function xy(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Pt(e,t),te(t),l&4&&(el(3,t,t.return),na(3,t),el(5,t,t.return));break;case 1:Pt(e,t),te(t),l&512&&(zt||n===null||Fe(n,n.return)),l&64&&pn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var i=je;if(Pt(e,t),te(t),l&512&&(zt||n===null||Fe(n,n.return)),l&4){var r=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,i=i.ownerDocument||i;e:switch(l){case"title":r=i.getElementsByTagName("title")[0],(!r||r[$r]||r[qt]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=i.createElement(l),i.head.insertBefore(r,i.querySelector("head > title"))),Vt(r,l,n),r[qt]=t,Nt(r),l=r;break t;case"link":var a=pd("link","href",i).get(l+(n.href||""));if(a){for(var u=0;u<a.length;u++)if(r=a[u],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){a.splice(u,1);break e}}r=i.createElement(l),Vt(r,l,n),i.head.appendChild(r);break;case"meta":if(a=pd("meta","content",i).get(l+(n.content||""))){for(u=0;u<a.length;u++)if(r=a[u],r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){a.splice(u,1);break e}}r=i.createElement(l),Vt(r,l,n),i.head.appendChild(r);break;default:throw Error(w(468,l))}r[qt]=t,Nt(r),l=r}t.stateNode=l}else hd(i,t.type,t.stateNode);else t.stateNode=md(i,l,t.memoizedProps);else r!==l?(r===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):r.count--,l===null?hd(i,t.type,t.stateNode):md(i,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Mc(t,t.memoizedProps,n.memoizedProps)}break;case 27:Pt(e,t),te(t),l&512&&(zt||n===null||Fe(n,n.return)),n!==null&&l&4&&Mc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Pt(e,t),te(t),l&512&&(zt||n===null||Fe(n,n.return)),t.flags&32){i=t.stateNode;try{Di(i,"")}catch(g){nt(t,t.return,g)}}l&4&&t.stateNode!=null&&(i=t.memoizedProps,Mc(t,i,n!==null?n.memoizedProps:i)),l&1024&&(Rc=!0);break;case 6:if(Pt(e,t),te(t),l&4){if(t.stateNode===null)throw Error(w(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(g){nt(t,t.return,g)}}break;case 3:if(ru=null,i=je,je=_u(e.containerInfo),Pt(e,t),je=i,te(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{Bi(e.containerInfo)}catch(g){nt(t,t.return,g)}Rc&&(Rc=!1,by(t));break;case 4:l=je,je=_u(t.stateNode.containerInfo),Pt(e,t),te(t),je=l;break;case 12:Pt(e,t),te(t);break;case 31:Pt(e,t),te(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ya(t,l)));break;case 13:Pt(e,t),te(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Ku=he()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ya(t,l)));break;case 22:i=t.memoizedState!==null;var o=n!==null&&n.memoizedState!==null,c=pn,s=zt;if(pn=c||i,zt=s||o,Pt(e,t),zt=s,pn=c,te(t),l&8192)t:for(e=t.stateNode,e._visibility=i?e._visibility&-2:e._visibility|1,i&&(n===null||o||pn||zt||Sl(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){o=n=e;try{if(r=o.stateNode,i)a=r.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none";else{u=o.stateNode;var f=o.memoizedProps.style,m=f!=null&&f.hasOwnProperty("display")?f.display:null;u.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(g){nt(o,o.return,g)}}}else if(e.tag===6){if(n===null){o=e;try{o.stateNode.nodeValue=i?"":o.memoizedProps}catch(g){nt(o,o.return,g)}}}else if(e.tag===18){if(n===null){o=e;try{var p=o.stateNode;i?ud(p,!0):ud(o.stateNode,!1)}catch(g){nt(o,o.return,g)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,Ya(t,n))));break;case 19:Pt(e,t),te(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ya(t,l)));break;case 30:break;case 21:break;default:Pt(e,t),te(t)}}function te(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(fy(l)){n=l;break}l=l.return}if(n==null)throw Error(w(160));switch(n.tag){case 27:var i=n.stateNode,r=_c(t);Tu(t,r,i);break;case 5:var a=n.stateNode;n.flags&32&&(Di(a,""),n.flags&=-33);var u=_c(t);Tu(t,u,a);break;case 3:case 4:var o=n.stateNode.containerInfo,c=_c(t);vs(t,c,o);break;default:throw Error(w(161))}}catch(s){nt(t,t.return,s)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function by(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;by(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function sn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)py(t,e.alternate,e),e=e.sibling}function Sl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:el(4,e,e.return),Sl(e);break;case 1:Fe(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&cy(e,e.return,n),Sl(e);break;case 27:Rr(e.stateNode);case 26:case 5:Fe(e,e.return),Sl(e);break;case 22:e.memoizedState===null&&Sl(e);break;case 30:Sl(e);break;default:Sl(e)}t=t.sibling}}function fn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,i=t,r=e,a=r.flags;switch(r.tag){case 0:case 11:case 15:fn(i,r,n),na(4,r);break;case 1:if(fn(i,r,n),l=r,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(c){nt(l,l.return,c)}if(l=r,i=l.updateQueue,i!==null){var u=l.stateNode;try{var o=i.shared.hiddenCallbacks;if(o!==null)for(i.shared.hiddenCallbacks=null,i=0;i<o.length;i++)gg(o[i],u)}catch(c){nt(l,l.return,c)}}n&&a&64&&oy(r),Dr(r,r.return);break;case 27:my(r);case 26:case 5:fn(i,r,n),n&&l===null&&a&4&&sy(r),Dr(r,r.return);break;case 12:fn(i,r,n);break;case 31:fn(i,r,n),n&&a&4&&gy(i,r);break;case 13:fn(i,r,n),n&&a&4&&yy(i,r);break;case 22:r.memoizedState===null&&fn(i,r,n),Dr(r,r.return);break;case 30:break;default:fn(i,r,n)}e=e.sibling}}function vf(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&ta(n))}function Sf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ta(t))}function qe(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)vy(t,e,n,l),e=e.sibling}function vy(t,e,n,l){var i=e.flags;switch(e.tag){case 0:case 11:case 15:qe(t,e,n,l),i&2048&&na(9,e);break;case 1:qe(t,e,n,l);break;case 3:qe(t,e,n,l),i&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ta(t)));break;case 12:if(i&2048){qe(t,e,n,l),t=e.stateNode;try{var r=e.memoizedProps,a=r.id,u=r.onPostCommit;typeof u=="function"&&u(a,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(o){nt(e,e.return,o)}}else qe(t,e,n,l);break;case 31:qe(t,e,n,l);break;case 13:qe(t,e,n,l);break;case 23:break;case 22:r=e.stateNode,a=e.alternate,e.memoizedState!==null?r._visibility&2?qe(t,e,n,l):Or(t,e):r._visibility&2?qe(t,e,n,l):(r._visibility|=2,ai(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),i&2048&&vf(a,e);break;case 24:qe(t,e,n,l),i&2048&&Sf(e.alternate,e);break;default:qe(t,e,n,l)}}function ai(t,e,n,l,i){for(i=i&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var r=t,a=e,u=n,o=l,c=a.flags;switch(a.tag){case 0:case 11:case 15:ai(r,a,u,o,i),na(8,a);break;case 23:break;case 22:var s=a.stateNode;a.memoizedState!==null?s._visibility&2?ai(r,a,u,o,i):Or(r,a):(s._visibility|=2,ai(r,a,u,o,i)),i&&c&2048&&vf(a.alternate,a);break;case 24:ai(r,a,u,o,i),i&&c&2048&&Sf(a.alternate,a);break;default:ai(r,a,u,o,i)}e=e.sibling}}function Or(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,i=l.flags;switch(l.tag){case 22:Or(n,l),i&2048&&vf(l.alternate,l);break;case 24:Or(n,l),i&2048&&Sf(l.alternate,l);break;default:Or(n,l)}e=e.sibling}}var vr=8192;function ri(t,e,n){if(t.subtreeFlags&vr)for(t=t.child;t!==null;)Sy(t,e,n),t=t.sibling}function Sy(t,e,n){switch(t.tag){case 26:ri(t,e,n),t.flags&vr&&t.memoizedState!==null&&c2(n,je,t.memoizedState,t.memoizedProps);break;case 5:ri(t,e,n);break;case 3:case 4:var l=je;je=_u(t.stateNode.containerInfo),ri(t,e,n),je=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=vr,vr=16777216,ri(t,e,n),vr=l):ri(t,e,n));break;default:ri(t,e,n)}}function ky(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 pr(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];Rt=l,Ty(l,t)}ky(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ey(t),t=t.sibling}function Ey(t){switch(t.tag){case 0:case 11:case 15:pr(t),t.flags&2048&&el(9,t,t.return);break;case 3:pr(t);break;case 12:pr(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,lu(t)):pr(t);break;default:pr(t)}}function lu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];Rt=l,Ty(l,t)}ky(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:el(8,e,e.return),lu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,lu(e));break;default:lu(e)}t=t.sibling}}function Ty(t,e){for(;Rt!==null;){var n=Rt;switch(n.tag){case 0:case 11:case 15:el(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:ta(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,Rt=l;else t:for(n=t;Rt!==null;){l=Rt;var i=l.sibling,r=l.return;if(hy(l),l===n){Rt=null;break t}if(i!==null){i.return=r,Rt=i;break t}Rt=r}}}var zS={getCacheForType:function(t){var e=Yt(wt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return Yt(wt).controller.signal}},wS=typeof WeakMap=="function"?WeakMap:Map,P=0,ut=null,K=null,J=0,et=0,se=null,Yn=!1,Vi=!1,kf=!1,Tn=0,yt=0,nl=0,zl=0,Ef=0,pe=0,Ri=0,Mr=null,ne=null,Ss=!1,Ku=0,Ay=0,Au=1/0,zu=null,Kn=null,Ot=0,Jn=null,Ni=null,bn=0,ks=0,Es=null,zy=null,_r=0,Ts=null;function ye(){return(P&2)!==0&&J!==0?J&-J:H.T!==null?Af():Ld()}function wy(){if(pe===0)if((J&536870912)===0||W){var t=Ma;Ma<<=1,(Ma&3932160)===0&&(Ma=262144),pe=t}else pe=536870912;return t=be.current,t!==null&&(t.flags|=32),pe}function le(t,e,n){(t===ut&&(et===2||et===9)||t.cancelPendingCommit!==null)&&(Li(t,0),Vn(t,J,pe,!1)),Wr(t,n),((P&2)===0||t!==ut)&&(t===ut&&((P&2)===0&&(zl|=n),yt===4&&Vn(t,J,pe,!1)),Ie(t))}function Cy(t,e,n){if((P&6)!==0)throw Error(w(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||Ir(t,e),i=l?OS(t,e):Nc(t,e,!0),r=l;do{if(i===0){Vi&&!l&&Vn(t,e,0,!1);break}else{if(n=t.current.alternate,r&&!CS(n)){i=Nc(t,e,!1),r=!1;continue}if(i===2){if(r=e,t.errorRecoveryDisabledLanes&r)var a=0;else a=t.pendingLanes&-536870913,a=a!==0?a:a&536870912?536870912:0;if(a!==0){e=a;t:{var u=t;i=Mr;var o=u.current.memoizedState.isDehydrated;if(o&&(Li(u,a).flags|=256),a=Nc(u,a,!1),a!==2){if(kf&&!o){u.errorRecoveryDisabledLanes|=r,zl|=r,i=4;break t}r=ne,ne=i,r!==null&&(ne===null?ne=r:ne.push.apply(ne,r))}i=a}if(r=!1,i!==2)continue}}if(i===1){Li(t,0),Vn(t,e,0,!0);break}t:{switch(l=t,r=i,r){case 0:case 1:throw Error(w(345));case 4:if((e&4194048)!==e)break;case 6:Vn(l,e,pe,!Yn);break t;case 2:ne=null;break;case 3:case 5:break;default:throw Error(w(329))}if((e&62914560)===e&&(i=Ku+300-he(),10<i)){if(Vn(l,e,pe,!Yn),Bu(l,0,!0)!==0)break t;bn=e,l.timeoutHandle=Ky(Zh.bind(null,l,n,ne,zu,Ss,e,pe,zl,Ri,Yn,r,"Throttled",-0,0),i);break t}Zh(l,n,ne,zu,Ss,e,pe,zl,Ri,Yn,r,null,-0,0)}}break}while(!0);Ie(t)}function Zh(t,e,n,l,i,r,a,u,o,c,s,f,m,p){if(t.timeoutHandle=-1,f=e.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:dn},Sy(e,r,f);var g=(r&62914560)===r?Ku-he():(r&4194048)===r?Ay-he():0;if(g=s2(f,g),g!==null){bn=r,t.cancelPendingCommit=g(Kh.bind(null,t,e,r,n,l,i,a,u,o,s,f,null,m,p)),Vn(t,r,a,!c);return}}Kh(t,e,r,n,l,i,a,u,o)}function CS(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var i=n[l],r=i.getSnapshot;i=i.value;try{if(!xe(r(),i))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Vn(t,e,n,l){e&=~Ef,e&=~zl,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var i=e;0<i;){var r=31-ge(i),a=1<<r;l[r]=-1,i&=~a}n!==0&&_d(t,n,e)}function Ju(){return(P&6)===0?(la(0,!1),!1):!0}function Tf(){if(K!==null){if(et===0)var t=K.return;else t=K,gn=Ul=null,cf(t),Ti=null,jr=0,t=K;for(;t!==null;)uy(t.alternate,t),t=t.return;K=null}}function Li(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,ZS(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),bn=0,Tf(),ut=t,K=n=yn(t.current,null),J=e,et=0,se=null,Yn=!1,Vi=Ir(t,e),kf=!1,Ri=pe=Ef=zl=nl=yt=0,ne=Mr=null,Ss=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var i=31-ge(l),r=1<<i;e|=t[i],l&=~r}return Tn=e,Yu(),n}function Dy(t,e){V=null,H.H=Vr,e===Yi||e===Xu?(e=Th(),et=3):e===ef?(e=Th(),et=4):et=e===xf?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,se=e,K===null&&(yt=1,ku(t,Ce(e,t.current)))}function Oy(){var t=be.current;return t===null?!0:(J&4194048)===J?Oe===null:(J&62914560)===J||(J&536870912)!==0?t===Oe:!1}function My(){var t=H.H;return H.H=Vr,t===null?Vr:t}function _y(){var t=H.A;return H.A=zS,t}function wu(){yt=4,Yn||(J&4194048)!==J&&be.current!==null||(Vi=!0),(nl&134217727)===0&&(zl&134217727)===0||ut===null||Vn(ut,J,pe,!1)}function Nc(t,e,n){var l=P;P|=2;var i=My(),r=_y();(ut!==t||J!==e)&&(zu=null,Li(t,e)),e=!1;var a=yt;t:do try{if(et!==0&&K!==null){var u=K,o=se;switch(et){case 8:Tf(),a=6;break t;case 3:case 2:case 9:case 6:be.current===null&&(e=!0);var c=et;if(et=0,se=null,bi(t,u,o,c),n&&Vi){a=0;break t}break;default:c=et,et=0,se=null,bi(t,u,o,c)}}DS(),a=yt;break}catch(s){Dy(t,s)}while(!0);return e&&t.shellSuspendCounter++,gn=Ul=null,P=l,H.H=i,H.A=r,K===null&&(ut=null,J=0,Yu()),a}function DS(){for(;K!==null;)Ry(K)}function OS(t,e){var n=P;P|=2;var l=My(),i=_y();ut!==t||J!==e?(zu=null,Au=he()+500,Li(t,e)):Vi=Ir(t,e);t:do try{if(et!==0&&K!==null){e=K;var r=se;e:switch(et){case 1:et=0,se=null,bi(t,e,r,1);break;case 2:case 9:if(Eh(r)){et=0,se=null,Fh(e);break}e=function(){et!==2&&et!==9||ut!==t||(et=7),Ie(t)},r.then(e,e);break t;case 3:et=7;break t;case 4:et=5;break t;case 7:Eh(r)?(et=0,se=null,Fh(e)):(et=0,se=null,bi(t,e,r,7));break;case 5:var a=null;switch(K.tag){case 26:a=K.memoizedState;case 5:case 27:var u=K;if(a?Py(a):u.stateNode.complete){et=0,se=null;var o=u.sibling;if(o!==null)K=o;else{var c=u.return;c!==null?(K=c,Iu(c)):K=null}break e}}et=0,se=null,bi(t,e,r,5);break;case 6:et=0,se=null,bi(t,e,r,6);break;case 8:Tf(),yt=6;break t;default:throw Error(w(462))}}MS();break}catch(s){Dy(t,s)}while(!0);return gn=Ul=null,H.H=l,H.A=i,P=n,K!==null?0:(ut=null,J=0,Yu(),yt)}function MS(){for(;K!==null&&!tv();)Ry(K)}function Ry(t){var e=ay(t.alternate,t,Tn);t.memoizedProps=t.pendingProps,e===null?Iu(t):K=e}function Fh(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=jh(n,e,e.pendingProps,e.type,void 0,J);break;case 11:e=jh(n,e,e.pendingProps,e.type.render,e.ref,J);break;case 5:cf(e);default:uy(n,e),e=K=ug(e,Tn),e=ay(n,e,Tn)}t.memoizedProps=t.pendingProps,e===null?Iu(t):K=e}function bi(t,e,n,l){gn=Ul=null,cf(e),Ti=null,jr=0;var i=e.return;try{if(bS(t,i,e,n,J)){yt=1,ku(t,Ce(n,t.current)),K=null;return}}catch(r){if(i!==null)throw K=i,r;yt=1,ku(t,Ce(n,t.current)),K=null;return}e.flags&32768?(W||l===1?t=!0:Vi||(J&536870912)!==0?t=!1:(Yn=t=!0,(l===2||l===9||l===3||l===6)&&(l=be.current,l!==null&&l.tag===13&&(l.flags|=16384))),Ny(e,t)):Iu(e)}function Iu(t){var e=t;do{if((e.flags&32768)!==0){Ny(e,Yn);return}t=e.return;var n=kS(e.alternate,e,Tn);if(n!==null){K=n;return}if(e=e.sibling,e!==null){K=e;return}K=e=t}while(e!==null);yt===0&&(yt=5)}function Ny(t,e){do{var n=ES(t.alternate,t);if(n!==null){n.flags&=32767,K=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){K=t;return}K=t=n}while(t!==null);yt=6,K=null}function Kh(t,e,n,l,i,r,a,u,o){t.cancelPendingCommit=null;do Wu();while(Ot!==0);if((P&6)!==0)throw Error(w(327));if(e!==null){if(e===t.current)throw Error(w(177));if(r=e.lanes|e.childLanes,r|=Ks,sv(t,n,r,a,u,o),t===ut&&(K=ut=null,J=0),Ni=e,Jn=t,bn=n,ks=r,Es=i,zy=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,LS(fu,function(){return qy(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=H.T,H.T=null,i=tt.p,tt.p=2,a=P,P|=4;try{TS(t,e,n)}finally{P=a,tt.p=i,H.T=l}}Ot=1,Ly(),Uy(),By()}}function Ly(){if(Ot===1){Ot=0;var t=Jn,e=Ni,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=H.T,H.T=null;var l=tt.p;tt.p=2;var i=P;P|=4;try{xy(e,t);var r=Cs,a=Pd(t.containerInfo),u=r.focusedElem,o=r.selectionRange;if(a!==u&&u&&u.ownerDocument&&$d(u.ownerDocument.documentElement,u)){if(o!==null&&Fs(u)){var c=o.start,s=o.end;if(s===void 0&&(s=c),"selectionStart"in u)u.selectionStart=c,u.selectionEnd=Math.min(s,u.value.length);else{var f=u.ownerDocument||document,m=f&&f.defaultView||window;if(m.getSelection){var p=m.getSelection(),g=u.textContent.length,v=Math.min(o.start,g),T=o.end===void 0?v:Math.min(o.end,g);!p.extend&&v>T&&(a=T,T=v,v=a);var h=gh(u,v),d=gh(u,T);if(h&&d&&(p.rangeCount!==1||p.anchorNode!==h.node||p.anchorOffset!==h.offset||p.focusNode!==d.node||p.focusOffset!==d.offset)){var y=f.createRange();y.setStart(h.node,h.offset),p.removeAllRanges(),v>T?(p.addRange(y),p.extend(d.node,d.offset)):(y.setEnd(d.node,d.offset),p.addRange(y))}}}}for(f=[],p=u;p=p.parentNode;)p.nodeType===1&&f.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<f.length;u++){var E=f[u];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}Lu=!!ws,Cs=ws=null}finally{P=i,tt.p=l,H.T=n}}t.current=e,Ot=2}}function Uy(){if(Ot===2){Ot=0;var t=Jn,e=Ni,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=H.T,H.T=null;var l=tt.p;tt.p=2;var i=P;P|=4;try{py(t,e.alternate,e)}finally{P=i,tt.p=l,H.T=n}}Ot=3}}function By(){if(Ot===4||Ot===3){Ot=0,ev();var t=Jn,e=Ni,n=bn,l=zy;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Ot=5:(Ot=0,Ni=Jn=null,Hy(t,t.pendingLanes));var i=t.pendingLanes;if(i===0&&(Kn=null),js(n),e=e.stateNode,de&&typeof de.onCommitFiberRoot=="function")try{de.onCommitFiberRoot(Jr,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=H.T,i=tt.p,tt.p=2,H.T=null;try{for(var r=t.onRecoverableError,a=0;a<l.length;a++){var u=l[a];r(u.value,{componentStack:u.stack})}}finally{H.T=e,tt.p=i}}(bn&3)!==0&&Wu(),Ie(t),i=t.pendingLanes,(n&261930)!==0&&(i&42)!==0?t===Ts?_r++:(_r=0,Ts=t):_r=0,la(0,!1)}}function Hy(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ta(e)))}function Wu(){return Ly(),Uy(),By(),qy()}function qy(){if(Ot!==5)return!1;var t=Jn,e=ks;ks=0;var n=js(bn),l=H.T,i=tt.p;try{tt.p=32>n?32:n,H.T=null,n=Es,Es=null;var r=Jn,a=bn;if(Ot=0,Ni=Jn=null,bn=0,(P&6)!==0)throw Error(w(331));var u=P;if(P|=4,Ey(r.current),vy(r,r.current,a,n),P=u,la(0,!1),de&&typeof de.onPostCommitFiberRoot=="function")try{de.onPostCommitFiberRoot(Jr,r)}catch{}return!0}finally{tt.p=i,H.T=l,Hy(t,e)}}function Jh(t,e,n){e=Ce(n,e),e=ys(t.stateNode,e,2),t=Fn(t,e,2),t!==null&&(Wr(t,2),Ie(t))}function nt(t,e,n){if(t.tag===3)Jh(t,t,n);else for(;e!==null;){if(e.tag===3){Jh(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Kn===null||!Kn.has(l))){t=Ce(n,t),n=ty(2),l=Fn(e,n,2),l!==null&&(ey(n,l,e,t),Wr(l,2),Ie(l));break}}e=e.return}}function Lc(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new wS;var i=new Set;l.set(e,i)}else i=l.get(e),i===void 0&&(i=new Set,l.set(e,i));i.has(n)||(kf=!0,i.add(n),t=_S.bind(null,t,e,n),e.then(t,t))}function _S(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,ut===t&&(J&n)===n&&(yt===4||yt===3&&(J&62914560)===J&&300>he()-Ku?(P&2)===0&&Li(t,0):Ef|=n,Ri===J&&(Ri=0)),Ie(t)}function jy(t,e){e===0&&(e=Md()),t=Ll(t,e),t!==null&&(Wr(t,e),Ie(t))}function RS(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),jy(t,n)}function NS(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(w(314))}l!==null&&l.delete(e),jy(t,n)}function LS(t,e){return Hs(t,e)}var Cu=null,ui=null,As=!1,Du=!1,Uc=!1,Xn=0;function Ie(t){t!==ui&&t.next===null&&(ui===null?Cu=ui=t:ui=ui.next=t),Du=!0,As||(As=!0,BS())}function la(t,e){if(!Uc&&Du){Uc=!0;do for(var n=!1,l=Cu;l!==null;){if(!e)if(t!==0){var i=l.pendingLanes;if(i===0)var r=0;else{var a=l.suspendedLanes,u=l.pingedLanes;r=(1<<31-ge(42|t)+1)-1,r&=i&~(a&~u),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Ih(l,r))}else r=J,r=Bu(l,l===ut?r:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(r&3)===0||Ir(l,r)||(n=!0,Ih(l,r));l=l.next}while(n);Uc=!1}}function US(){Yy()}function Yy(){Du=As=!1;var t=0;Xn!==0&&GS()&&(t=Xn);for(var e=he(),n=null,l=Cu;l!==null;){var i=l.next,r=Vy(l,e);r===0?(l.next=null,n===null?Cu=i:n.next=i,i===null&&(ui=n)):(n=l,(t!==0||(r&3)!==0)&&(Du=!0)),l=i}Ot!==0&&Ot!==5||la(t,!1),Xn!==0&&(Xn=0)}function Vy(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,i=t.expirationTimes,r=t.pendingLanes&-62914561;0<r;){var a=31-ge(r),u=1<<a,o=i[a];o===-1?((u&n)===0||(u&l)!==0)&&(i[a]=cv(u,e)):o<=e&&(t.expiredLanes|=u),r&=~u}if(e=ut,n=J,n=Bu(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(et===2||et===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&fc(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||Ir(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&fc(l),js(n)){case 2:case 8:n=Dd;break;case 32:n=fu;break;case 268435456:n=Od;break;default:n=fu}return l=Xy.bind(null,t),n=Hs(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&fc(l),t.callbackPriority=2,t.callbackNode=null,2}function Xy(t,e){if(Ot!==0&&Ot!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Wu()&&t.callbackNode!==n)return null;var l=J;return l=Bu(t,t===ut?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Cy(t,l,e),Vy(t,he()),t.callbackNode!=null&&t.callbackNode===n?Xy.bind(null,t):null)}function Ih(t,e){if(Wu())return null;Cy(t,e,!0)}function BS(){FS(function(){(P&6)!==0?Hs(Cd,US):Yy()})}function Af(){if(Xn===0){var t=Oi;t===0&&(t=Oa,Oa<<=1,(Oa&261888)===0&&(Oa=256)),Xn=t}return Xn}function Wh(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ka(""+t)}function $h(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function HS(t,e,n,l,i){if(e==="submit"&&n&&n.stateNode===i){var r=Wh((i[ie]||null).action),a=l.submitter;a&&(e=(e=a[ie]||null)?Wh(e.formAction):a.getAttribute("formAction"),e!==null&&(r=e,a=null));var u=new Hu("action","action",null,l,i);t.push({event:u,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Xn!==0){var o=a?$h(i,a):new FormData(i);ds(n,{pending:!0,data:o,method:i.method,action:r},null,o)}}else typeof r=="function"&&(u.preventDefault(),o=a?$h(i,a):new FormData(i),ds(n,{pending:!0,data:o,method:i.method,action:r},r,o))},currentTarget:i}]})}}for(Va=0;Va<ls.length;Va++)Xa=ls[Va],Ph=Xa.toLowerCase(),td=Xa[0].toUpperCase()+Xa.slice(1),Ye(Ph,"on"+td);var Xa,Ph,td,Va;Ye(eg,"onAnimationEnd");Ye(ng,"onAnimationIteration");Ye(lg,"onAnimationStart");Ye("dblclick","onDoubleClick");Ye("focusin","onFocus");Ye("focusout","onBlur");Ye(nS,"onTransitionRun");Ye(lS,"onTransitionStart");Ye(iS,"onTransitionCancel");Ye(ig,"onTransitionEnd");Ci("onMouseEnter",["mouseout","mouseover"]);Ci("onMouseLeave",["mouseout","mouseover"]);Ci("onPointerEnter",["pointerout","pointerover"]);Ci("onPointerLeave",["pointerout","pointerover"]);_l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));_l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));_l("onBeforeInput",["compositionend","keypress","textInput","paste"]);_l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));_l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));_l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xr="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(" "),qS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xr));function Qy(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],i=l.event;l=l.listeners;t:{var r=void 0;if(e)for(var a=l.length-1;0<=a;a--){var u=l[a],o=u.instance,c=u.currentTarget;if(u=u.listener,o!==r&&i.isPropagationStopped())break t;r=u,i.currentTarget=c;try{r(i)}catch(s){pu(s)}i.currentTarget=null,r=o}else for(a=0;a<l.length;a++){if(u=l[a],o=u.instance,c=u.currentTarget,u=u.listener,o!==r&&i.isPropagationStopped())break t;r=u,i.currentTarget=c;try{r(i)}catch(s){pu(s)}i.currentTarget=null,r=o}}}}function F(t,e){var n=e[Jc];n===void 0&&(n=e[Jc]=new Set);var l=t+"__bubble";n.has(l)||(Gy(e,t,2,!1),n.add(l))}function Bc(t,e,n){var l=0;e&&(l|=4),Gy(n,t,l,e)}var Qa="_reactListening"+Math.random().toString(36).slice(2);function zf(t){if(!t[Qa]){t[Qa]=!0,Ud.forEach(function(n){n!=="selectionchange"&&(qS.has(n)||Bc(n,!1,t),Bc(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Qa]||(e[Qa]=!0,Bc("selectionchange",!1,e))}}function Gy(t,e,n,l){switch(i1(e)){case 2:var i=p2;break;case 8:i=h2;break;default:i=Of}n=i.bind(null,e,n,t),i=void 0,!ts||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),l?i!==void 0?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):i!==void 0?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Hc(t,e,n,l,i){var r=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var a=l.tag;if(a===3||a===4){var u=l.stateNode.containerInfo;if(u===i)break;if(a===4)for(a=l.return;a!==null;){var o=a.tag;if((o===3||o===4)&&a.stateNode.containerInfo===i)return;a=a.return}for(;u!==null;){if(a=si(u),a===null)return;if(o=a.tag,o===5||o===6||o===26||o===27){l=r=a;continue t}u=u.parentNode}}l=l.return}Qd(function(){var c=r,s=Xs(n),f=[];t:{var m=rg.get(t);if(m!==void 0){var p=Hu,g=t;switch(t){case"keypress":if(Ia(n)===0)break t;case"keydown":case"keyup":p=Nv;break;case"focusin":g="focus",p=gc;break;case"focusout":g="blur",p=gc;break;case"beforeblur":case"afterblur":p=gc;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=uh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=kv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Bv;break;case eg:case ng:case lg:p=Av;break;case ig:p=qv;break;case"scroll":case"scrollend":p=vv;break;case"wheel":p=Yv;break;case"copy":case"cut":case"paste":p=wv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=ch;break;case"toggle":case"beforetoggle":p=Xv}var v=(e&4)!==0,T=!v&&(t==="scroll"||t==="scrollend"),h=v?m!==null?m+"Capture":null:m;v=[];for(var d=c,y;d!==null;){var E=d;if(y=E.stateNode,E=E.tag,E!==5&&E!==26&&E!==27||y===null||h===null||(E=Lr(d,h),E!=null&&v.push(Qr(d,E,y))),T)break;d=d.return}0<v.length&&(m=new p(m,g,null,n,s),f.push({event:m,listeners:v}))}}if((e&7)===0){t:{if(m=t==="mouseover"||t==="pointerover",p=t==="mouseout"||t==="pointerout",m&&n!==Pc&&(g=n.relatedTarget||n.fromElement)&&(si(g)||g[Hi]))break t;if((p||m)&&(m=s.window===s?s:(m=s.ownerDocument)?m.defaultView||m.parentWindow:window,p?(g=n.relatedTarget||n.toElement,p=c,g=g?si(g):null,g!==null&&(T=Kr(g),v=g.tag,g!==T||v!==5&&v!==27&&v!==6)&&(g=null)):(p=null,g=c),p!==g)){if(v=uh,E="onMouseLeave",h="onMouseEnter",d="mouse",(t==="pointerout"||t==="pointerover")&&(v=ch,E="onPointerLeave",h="onPointerEnter",d="pointer"),T=p==null?m:xr(p),y=g==null?m:xr(g),m=new v(E,d+"leave",p,n,s),m.target=T,m.relatedTarget=y,E=null,si(s)===c&&(v=new v(h,d+"enter",g,n,s),v.target=y,v.relatedTarget=T,E=v),T=E,p&&g)e:{for(v=jS,h=p,d=g,y=0,E=h;E;E=v(E))y++;E=0;for(var C=d;C;C=v(C))E++;for(;0<y-E;)h=v(h),y--;for(;0<E-y;)d=v(d),E--;for(;y--;){if(h===d||d!==null&&h===d.alternate){v=h;break e}h=v(h),d=v(d)}v=null}else v=null;p!==null&&ed(f,m,p,v,!1),g!==null&&T!==null&&ed(f,T,g,v,!0)}}t:{if(m=c?xr(c):window,p=m.nodeName&&m.nodeName.toLowerCase(),p==="select"||p==="input"&&m.type==="file")var S=ph;else if(mh(m))if(Id)S=Pv;else{S=Wv;var A=Iv}else p=m.nodeName,!p||p.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?c&&Vs(c.elementType)&&(S=ph):S=$v;if(S&&(S=S(t,c))){Jd(f,S,n,s);break t}A&&A(t,m,c),t==="focusout"&&c&&m.type==="number"&&c.memoizedProps.value!=null&&$c(m,"number",m.value)}switch(A=c?xr(c):window,t){case"focusin":(mh(A)||A.contentEditable==="true")&&(pi=A,es=c,Er=null);break;case"focusout":Er=es=pi=null;break;case"mousedown":ns=!0;break;case"contextmenu":case"mouseup":case"dragend":ns=!1,yh(f,n,s);break;case"selectionchange":if(eS)break;case"keydown":case"keyup":yh(f,n,s)}var _;if(Zs)t:{switch(t){case"compositionstart":var O="onCompositionStart";break t;case"compositionend":O="onCompositionEnd";break t;case"compositionupdate":O="onCompositionUpdate";break t}O=void 0}else mi?Fd(t,n)&&(O="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(O="onCompositionStart");O&&(Zd&&n.locale!=="ko"&&(mi||O!=="onCompositionStart"?O==="onCompositionEnd"&&mi&&(_=Gd()):(jn=s,Qs="value"in jn?jn.value:jn.textContent,mi=!0)),A=Ou(c,O),0<A.length&&(O=new oh(O,t,null,n,s),f.push({event:O,listeners:A}),_?O.data=_:(_=Kd(n),_!==null&&(O.data=_)))),(_=Gv?Zv(t,n):Fv(t,n))&&(O=Ou(c,"onBeforeInput"),0<O.length&&(A=new oh("onBeforeInput","beforeinput",null,n,s),f.push({event:A,listeners:O}),A.data=_)),HS(f,t,c,n,s)}Qy(f,e)})}function Qr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Ou(t,e){for(var n=e+"Capture",l=[];t!==null;){var i=t,r=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||r===null||(i=Lr(t,n),i!=null&&l.unshift(Qr(t,i,r)),i=Lr(t,e),i!=null&&l.push(Qr(t,i,r))),t.tag===3)return l;t=t.return}return[]}function jS(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ed(t,e,n,l,i){for(var r=e._reactName,a=[];n!==null&&n!==l;){var u=n,o=u.alternate,c=u.stateNode;if(u=u.tag,o!==null&&o===l)break;u!==5&&u!==26&&u!==27||c===null||(o=c,i?(c=Lr(n,r),c!=null&&a.unshift(Qr(n,c,o))):i||(c=Lr(n,r),c!=null&&a.push(Qr(n,c,o)))),n=n.return}a.length!==0&&t.push({event:e,listeners:a})}var YS=/\r\n?/g,VS=/\u0000|\uFFFD/g;function nd(t){return(typeof t=="string"?t:""+t).replace(YS,`
|
|
9
|
+
`).replace(VS,"")}function Zy(t,e){return e=nd(e),nd(t)===e}function it(t,e,n,l,i,r){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Di(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Di(t,""+l);break;case"className":Ra(t,"class",l);break;case"tabIndex":Ra(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Ra(t,n,l);break;case"style":Xd(t,l,r);break;case"data":if(e!=="object"){Ra(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Ka(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(n==="formAction"?(e!=="input"&&it(t,e,"name",i.name,i,null),it(t,e,"formEncType",i.formEncType,i,null),it(t,e,"formMethod",i.formMethod,i,null),it(t,e,"formTarget",i.formTarget,i,null)):(it(t,e,"encType",i.encType,i,null),it(t,e,"method",i.method,i,null),it(t,e,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Ka(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=dn);break;case"onScroll":l!=null&&F("scroll",t);break;case"onScrollEnd":l!=null&&F("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(w(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(w(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Ka(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":F("beforetoggle",t),F("toggle",t),Fa(t,"popover",l);break;case"xlinkActuate":un(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":un(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":un(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":un(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":un(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":un(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":un(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":un(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":un(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Fa(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=xv.get(n)||n,Fa(t,n,l))}}function zs(t,e,n,l,i,r){switch(n){case"style":Xd(t,l,r);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(w(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(w(60));t.innerHTML=n}}break;case"children":typeof l=="string"?Di(t,l):(typeof l=="number"||typeof l=="bigint")&&Di(t,""+l);break;case"onScroll":l!=null&&F("scroll",t);break;case"onScrollEnd":l!=null&&F("scrollend",t);break;case"onClick":l!=null&&(t.onclick=dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Bd.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),e=n.slice(2,i?n.length-7:void 0),r=t[ie]||null,r=r!=null?r[n]:null,typeof r=="function"&&t.removeEventListener(e,r,i),typeof l=="function")){typeof r!="function"&&r!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,i);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Fa(t,n,l)}}}function Vt(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":F("error",t),F("load",t);var l=!1,i=!1,r;for(r in n)if(n.hasOwnProperty(r)){var a=n[r];if(a!=null)switch(r){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(w(137,e));default:it(t,e,r,a,n,null)}}i&&it(t,e,"srcSet",n.srcSet,n,null),l&&it(t,e,"src",n.src,n,null);return;case"input":F("invalid",t);var u=r=a=i=null,o=null,c=null;for(l in n)if(n.hasOwnProperty(l)){var s=n[l];if(s!=null)switch(l){case"name":i=s;break;case"type":a=s;break;case"checked":o=s;break;case"defaultChecked":c=s;break;case"value":r=s;break;case"defaultValue":u=s;break;case"children":case"dangerouslySetInnerHTML":if(s!=null)throw Error(w(137,e));break;default:it(t,e,l,s,n,null)}}jd(t,r,u,o,c,a,i,!1);return;case"select":F("invalid",t),l=a=r=null;for(i in n)if(n.hasOwnProperty(i)&&(u=n[i],u!=null))switch(i){case"value":r=u;break;case"defaultValue":a=u;break;case"multiple":l=u;default:it(t,e,i,u,n,null)}e=r,n=a,t.multiple=!!l,e!=null?Si(t,!!l,e,!1):n!=null&&Si(t,!!l,n,!0);return;case"textarea":F("invalid",t),r=i=l=null;for(a in n)if(n.hasOwnProperty(a)&&(u=n[a],u!=null))switch(a){case"value":l=u;break;case"defaultValue":i=u;break;case"children":r=u;break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(w(91));break;default:it(t,e,a,u,n,null)}Vd(t,l,i,r);return;case"option":for(o in n)n.hasOwnProperty(o)&&(l=n[o],l!=null)&&(o==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":it(t,e,o,l,n,null));return;case"dialog":F("beforetoggle",t),F("toggle",t),F("cancel",t),F("close",t);break;case"iframe":case"object":F("load",t);break;case"video":case"audio":for(l=0;l<Xr.length;l++)F(Xr[l],t);break;case"image":F("error",t),F("load",t);break;case"details":F("toggle",t);break;case"embed":case"source":case"link":F("error",t),F("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(l=n[c],l!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(w(137,e));default:it(t,e,c,l,n,null)}return;default:if(Vs(e)){for(s in n)n.hasOwnProperty(s)&&(l=n[s],l!==void 0&&zs(t,e,s,l,n,void 0));return}}for(u in n)n.hasOwnProperty(u)&&(l=n[u],l!=null&&it(t,e,u,l,n,null))}function XS(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,r=null,a=null,u=null,o=null,c=null,s=null;for(p in n){var f=n[p];if(n.hasOwnProperty(p)&&f!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":o=f;default:l.hasOwnProperty(p)||it(t,e,p,null,l,f)}}for(var m in l){var p=l[m];if(f=n[m],l.hasOwnProperty(m)&&(p!=null||f!=null))switch(m){case"type":r=p;break;case"name":i=p;break;case"checked":c=p;break;case"defaultChecked":s=p;break;case"value":a=p;break;case"defaultValue":u=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(w(137,e));break;default:p!==f&&it(t,e,m,p,l,f)}}Wc(t,a,u,o,c,s,r,i);return;case"select":p=a=u=m=null;for(r in n)if(o=n[r],n.hasOwnProperty(r)&&o!=null)switch(r){case"value":break;case"multiple":p=o;default:l.hasOwnProperty(r)||it(t,e,r,null,l,o)}for(i in l)if(r=l[i],o=n[i],l.hasOwnProperty(i)&&(r!=null||o!=null))switch(i){case"value":m=r;break;case"defaultValue":u=r;break;case"multiple":a=r;default:r!==o&&it(t,e,i,r,l,o)}e=u,n=a,l=p,m!=null?Si(t,!!n,m,!1):!!l!=!!n&&(e!=null?Si(t,!!n,e,!0):Si(t,!!n,n?[]:"",!1));return;case"textarea":p=m=null;for(u in n)if(i=n[u],n.hasOwnProperty(u)&&i!=null&&!l.hasOwnProperty(u))switch(u){case"value":break;case"children":break;default:it(t,e,u,null,l,i)}for(a in l)if(i=l[a],r=n[a],l.hasOwnProperty(a)&&(i!=null||r!=null))switch(a){case"value":m=i;break;case"defaultValue":p=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(w(91));break;default:i!==r&&it(t,e,a,i,l,r)}Yd(t,m,p);return;case"option":for(var g in n)m=n[g],n.hasOwnProperty(g)&&m!=null&&!l.hasOwnProperty(g)&&(g==="selected"?t.selected=!1:it(t,e,g,null,l,m));for(o in l)m=l[o],p=n[o],l.hasOwnProperty(o)&&m!==p&&(m!=null||p!=null)&&(o==="selected"?t.selected=m&&typeof m!="function"&&typeof m!="symbol":it(t,e,o,m,l,p));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 v in n)m=n[v],n.hasOwnProperty(v)&&m!=null&&!l.hasOwnProperty(v)&&it(t,e,v,null,l,m);for(c in l)if(m=l[c],p=n[c],l.hasOwnProperty(c)&&m!==p&&(m!=null||p!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(w(137,e));break;default:it(t,e,c,m,l,p)}return;default:if(Vs(e)){for(var T in n)m=n[T],n.hasOwnProperty(T)&&m!==void 0&&!l.hasOwnProperty(T)&&zs(t,e,T,void 0,l,m);for(s in l)m=l[s],p=n[s],!l.hasOwnProperty(s)||m===p||m===void 0&&p===void 0||zs(t,e,s,m,l,p);return}}for(var h in n)m=n[h],n.hasOwnProperty(h)&&m!=null&&!l.hasOwnProperty(h)&&it(t,e,h,null,l,m);for(f in l)m=l[f],p=n[f],!l.hasOwnProperty(f)||m===p||m==null&&p==null||it(t,e,f,m,l,p)}function ld(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function QS(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var i=n[l],r=i.transferSize,a=i.initiatorType,u=i.duration;if(r&&u&&ld(a)){for(a=0,u=i.responseEnd,l+=1;l<n.length;l++){var o=n[l],c=o.startTime;if(c>u)break;var s=o.transferSize,f=o.initiatorType;s&&ld(f)&&(o=o.responseEnd,a+=s*(o<u?1:(u-c)/(o-c)))}if(--l,e+=8*(r+a)/(i.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var ws=null,Cs=null;function Mu(t){return t.nodeType===9?t:t.ownerDocument}function id(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 Fy(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 Ds(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 qc=null;function GS(){var t=window.event;return t&&t.type==="popstate"?t===qc?!1:(qc=t,!0):(qc=null,!1)}var Ky=typeof setTimeout=="function"?setTimeout:void 0,ZS=typeof clearTimeout=="function"?clearTimeout:void 0,rd=typeof Promise=="function"?Promise:void 0,FS=typeof queueMicrotask=="function"?queueMicrotask:typeof rd<"u"?function(t){return rd.resolve(null).then(t).catch(KS)}:Ky;function KS(t){setTimeout(function(){throw t})}function il(t){return t==="head"}function ad(t,e){var n=e,l=0;do{var i=n.nextSibling;if(t.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(i),Bi(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")Rr(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,Rr(n);for(var r=n.firstChild;r;){var a=r.nextSibling,u=r.nodeName;r[$r]||u==="SCRIPT"||u==="STYLE"||u==="LINK"&&r.rel.toLowerCase()==="stylesheet"||n.removeChild(r),r=a}}else n==="body"&&Rr(t.ownerDocument.body);n=i}while(n);Bi(e)}function ud(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function Os(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Os(n),Ys(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function JS(t,e,n,l){for(;t.nodeType===1;){var i=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[$r])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(r=t.getAttribute("rel"),r==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(r!==i.rel||t.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||t.getAttribute("title")!==(i.title==null?null:i.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(r=t.getAttribute("src"),(r!==(i.src==null?null:i.src)||t.getAttribute("type")!==(i.type==null?null:i.type)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&r&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var r=i.name==null?null:""+i.name;if(i.type==="hidden"&&t.getAttribute("name")===r)return t}else return t;if(t=Me(t.nextSibling),t===null)break}return null}function IS(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Me(t.nextSibling),t===null))return null;return t}function Jy(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Me(t.nextSibling),t===null))return null;return t}function Ms(t){return t.data==="$?"||t.data==="$~"}function _s(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function WS(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Me(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 Rs=null;function od(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Me(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function cd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function Iy(t,e,n){switch(e=Mu(n),t){case"html":if(t=e.documentElement,!t)throw Error(w(452));return t;case"head":if(t=e.head,!t)throw Error(w(453));return t;case"body":if(t=e.body,!t)throw Error(w(454));return t;default:throw Error(w(451))}}function Rr(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Ys(t)}var _e=new Map,sd=new Set;function _u(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var An=tt.d;tt.d={f:$S,r:PS,D:t2,C:e2,L:n2,m:l2,X:r2,S:i2,M:a2};function $S(){var t=An.f(),e=Ju();return t||e}function PS(t){var e=qi(t);e!==null&&e.tag===5&&e.type==="form"?Xg(e):An.r(t)}var Xi=typeof document>"u"?null:document;function Wy(t,e,n){var l=Xi;if(l&&typeof e=="string"&&e){var i=we(e);i='link[rel="'+t+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),sd.has(i)||(sd.add(i),t={rel:t,crossOrigin:n,href:e},l.querySelector(i)===null&&(e=l.createElement("link"),Vt(e,"link",t),Nt(e),l.head.appendChild(e)))}}function t2(t){An.D(t),Wy("dns-prefetch",t,null)}function e2(t,e){An.C(t,e),Wy("preconnect",t,e)}function n2(t,e,n){An.L(t,e,n);var l=Xi;if(l&&t&&e){var i='link[rel="preload"][as="'+we(e)+'"]';e==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+we(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+we(n.imageSizes)+'"]')):i+='[href="'+we(t)+'"]';var r=i;switch(e){case"style":r=Ui(t);break;case"script":r=Qi(t)}_e.has(r)||(t=mt({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),_e.set(r,t),l.querySelector(i)!==null||e==="style"&&l.querySelector(ia(r))||e==="script"&&l.querySelector(ra(r))||(e=l.createElement("link"),Vt(e,"link",t),Nt(e),l.head.appendChild(e)))}}function l2(t,e){An.m(t,e);var n=Xi;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",i='link[rel="modulepreload"][as="'+we(l)+'"][href="'+we(t)+'"]',r=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Qi(t)}if(!_e.has(r)&&(t=mt({rel:"modulepreload",href:t},e),_e.set(r,t),n.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ra(r)))return}l=n.createElement("link"),Vt(l,"link",t),Nt(l),n.head.appendChild(l)}}}function i2(t,e,n){An.S(t,e,n);var l=Xi;if(l&&t){var i=vi(l).hoistableStyles,r=Ui(t);e=e||"default";var a=i.get(r);if(!a){var u={loading:0,preload:null};if(a=l.querySelector(ia(r)))u.loading=5;else{t=mt({rel:"stylesheet",href:t,"data-precedence":e},n),(n=_e.get(r))&&wf(t,n);var o=a=l.createElement("link");Nt(o),Vt(o,"link",t),o._p=new Promise(function(c,s){o.onload=c,o.onerror=s}),o.addEventListener("load",function(){u.loading|=1}),o.addEventListener("error",function(){u.loading|=2}),u.loading|=4,iu(a,e,l)}a={type:"stylesheet",instance:a,count:1,state:u},i.set(r,a)}}}function r2(t,e){An.X(t,e);var n=Xi;if(n&&t){var l=vi(n).hoistableScripts,i=Qi(t),r=l.get(i);r||(r=n.querySelector(ra(i)),r||(t=mt({src:t,async:!0},e),(e=_e.get(i))&&Cf(t,e),r=n.createElement("script"),Nt(r),Vt(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},l.set(i,r))}}function a2(t,e){An.M(t,e);var n=Xi;if(n&&t){var l=vi(n).hoistableScripts,i=Qi(t),r=l.get(i);r||(r=n.querySelector(ra(i)),r||(t=mt({src:t,async:!0,type:"module"},e),(e=_e.get(i))&&Cf(t,e),r=n.createElement("script"),Nt(r),Vt(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},l.set(i,r))}}function fd(t,e,n,l){var i=(i=Qn.current)?_u(i):null;if(!i)throw Error(w(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Ui(n.href),n=vi(i).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Ui(n.href);var r=vi(i).hoistableStyles,a=r.get(t);if(a||(i=i.ownerDocument||i,a={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,a),(r=i.querySelector(ia(t)))&&!r._p&&(a.instance=r,a.state.loading=5),_e.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},_e.set(t,n),r||u2(i,t,n,a.state))),e&&l===null)throw Error(w(528,""));return a}if(e&&l!==null)throw Error(w(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Qi(n),n=vi(i).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(w(444,t))}}function Ui(t){return'href="'+we(t)+'"'}function ia(t){return'link[rel="stylesheet"]['+t+"]"}function $y(t){return mt({},t,{"data-precedence":t.precedence,precedence:null})}function u2(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),Vt(e,"link",n),Nt(e),t.head.appendChild(e))}function Qi(t){return'[src="'+we(t)+'"]'}function ra(t){return"script[async]"+t}function md(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+we(n.href)+'"]');if(l)return e.instance=l,Nt(l),l;var i=mt({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Nt(l),Vt(l,"style",i),iu(l,n.precedence,t),e.instance=l;case"stylesheet":i=Ui(n.href);var r=t.querySelector(ia(i));if(r)return e.state.loading|=4,e.instance=r,Nt(r),r;l=$y(n),(i=_e.get(i))&&wf(l,i),r=(t.ownerDocument||t).createElement("link"),Nt(r);var a=r;return a._p=new Promise(function(u,o){a.onload=u,a.onerror=o}),Vt(r,"link",l),e.state.loading|=4,iu(r,n.precedence,t),e.instance=r;case"script":return r=Qi(n.src),(i=t.querySelector(ra(r)))?(e.instance=i,Nt(i),i):(l=n,(i=_e.get(r))&&(l=mt({},n),Cf(l,i)),t=t.ownerDocument||t,i=t.createElement("script"),Nt(i),Vt(i,"link",l),t.head.appendChild(i),e.instance=i);case"void":return null;default:throw Error(w(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,iu(l,n.precedence,t));return e.instance}function iu(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,r=i,a=0;a<l.length;a++){var u=l[a];if(u.dataset.precedence===e)r=u;else if(r!==i)break}r?r.parentNode.insertBefore(t,r.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function wf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Cf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var ru=null;function pd(t,e,n){if(ru===null){var l=new Map,i=ru=new Map;i.set(n,l)}else i=ru,l=i.get(n),l||(l=new Map,i.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),i=0;i<n.length;i++){var r=n[i];if(!(r[$r]||r[qt]||t==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var a=r.getAttribute(e)||"";a=t+a;var u=l.get(a);u?u.push(r):l.set(a,[r])}}return l}function hd(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function o2(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!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 Py(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function c2(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var i=Ui(l.href),r=e.querySelector(ia(i));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Ru.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=r,Nt(r);return}r=e.ownerDocument||e,l=$y(l),(i=_e.get(i))&&wf(l,i),r=r.createElement("link"),Nt(r);var a=r;a._p=new Promise(function(u,o){a.onload=u,a.onerror=o}),Vt(r,"link",l),n.instance=r}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Ru.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var jc=0;function s2(t,e){return t.stylesheets&&t.count===0&&au(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&au(t,t.stylesheets),t.unsuspend){var r=t.unsuspend;t.unsuspend=null,r()}},6e4+e);0<t.imgBytes&&jc===0&&(jc=62500*QS());var i=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&au(t,t.stylesheets),t.unsuspend)){var r=t.unsuspend;t.unsuspend=null,r()}},(t.imgBytes>jc?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function Ru(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)au(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Nu=null;function au(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Nu=new Map,e.forEach(f2,t),Nu=null,Ru.call(t))}function f2(t,e){if(!(e.state.loading&4)){var n=Nu.get(t);if(n)var l=n.get(null);else{n=new Map,Nu.set(t,n);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<i.length;r++){var a=i[r];(a.nodeName==="LINK"||a.getAttribute("media")!=="not all")&&(n.set(a.dataset.precedence,a),l=a)}l&&n.set(null,l)}i=e.instance,a=i.getAttribute("data-precedence"),r=n.get(a)||l,r===l&&n.set(null,i),n.set(a,i),this.count++,l=Ru.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),r?r.parentNode.insertBefore(i,r.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(i,t.firstChild)),e.state.loading|=4}}var Gr={$$typeof:hn,Provider:null,Consumer:null,_currentValue:kl,_currentValue2:kl,_threadCount:0};function m2(t,e,n,l,i,r,a,u,o){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=mc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mc(0),this.hiddenUpdates=mc(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=r,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function t1(t,e,n,l,i,r,a,u,o,c,s,f){return t=new m2(t,e,n,a,o,c,s,f,u),e=1,r===!0&&(e|=24),r=me(3,null,null,e),t.current=r,r.stateNode=t,e=Ps(),e.refCount++,t.pooledCache=e,e.refCount++,r.memoizedState={element:l,isDehydrated:n,cache:e},nf(r),t}function e1(t){return t?(t=gi,t):gi}function n1(t,e,n,l,i,r){i=e1(i),l.context===null?l.context=i:l.pendingContext=i,l=Zn(e),l.payload={element:n},r=r===void 0?null:r,r!==null&&(l.callback=r),n=Fn(t,l,e),n!==null&&(le(n,t,e),Ar(n,t,e))}function dd(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function Df(t,e){dd(t,e),(t=t.alternate)&&dd(t,e)}function l1(t){if(t.tag===13||t.tag===31){var e=Ll(t,67108864);e!==null&&le(e,t,67108864),Df(t,67108864)}}function gd(t){if(t.tag===13||t.tag===31){var e=ye();e=qs(e);var n=Ll(t,e);n!==null&&le(n,t,e),Df(t,e)}}var Lu=!0;function p2(t,e,n,l){var i=H.T;H.T=null;var r=tt.p;try{tt.p=2,Of(t,e,n,l)}finally{tt.p=r,H.T=i}}function h2(t,e,n,l){var i=H.T;H.T=null;var r=tt.p;try{tt.p=8,Of(t,e,n,l)}finally{tt.p=r,H.T=i}}function Of(t,e,n,l){if(Lu){var i=Ns(l);if(i===null)Hc(t,e,l,Uu,n),yd(t,l);else if(g2(i,t,e,n,l))l.stopPropagation();else if(yd(t,l),e&4&&-1<d2.indexOf(t)){for(;i!==null;){var r=qi(i);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var a=bl(r.pendingLanes);if(a!==0){var u=r;for(u.pendingLanes|=2,u.entangledLanes|=2;a;){var o=1<<31-ge(a);u.entanglements[1]|=o,a&=~o}Ie(r),(P&6)===0&&(Au=he()+500,la(0,!1))}}break;case 31:case 13:u=Ll(r,2),u!==null&&le(u,r,2),Ju(),Df(r,2)}if(r=Ns(l),r===null&&Hc(t,e,l,Uu,n),r===i)break;i=r}i!==null&&l.stopPropagation()}else Hc(t,e,l,null,n)}}function Ns(t){return t=Xs(t),Mf(t)}var Uu=null;function Mf(t){if(Uu=null,t=si(t),t!==null){var e=Kr(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=Ed(e),t!==null)return t;t=null}else if(n===31){if(t=Td(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Uu=t,null}function i1(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(nv()){case Cd:return 2;case Dd:return 8;case fu:case lv:return 32;case Od:return 268435456;default:return 32}default:return 32}}var Ls=!1,In=null,Wn=null,$n=null,Zr=new Map,Fr=new Map,Hn=[],d2="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 yd(t,e){switch(t){case"focusin":case"focusout":In=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":Zr.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fr.delete(e.pointerId)}}function hr(t,e,n,l,i,r){return t===null||t.nativeEvent!==r?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:r,targetContainers:[i]},e!==null&&(e=qi(e),e!==null&&l1(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function g2(t,e,n,l,i){switch(e){case"focusin":return In=hr(In,t,e,n,l,i),!0;case"dragenter":return Wn=hr(Wn,t,e,n,l,i),!0;case"mouseover":return $n=hr($n,t,e,n,l,i),!0;case"pointerover":var r=i.pointerId;return Zr.set(r,hr(Zr.get(r)||null,t,e,n,l,i)),!0;case"gotpointercapture":return r=i.pointerId,Fr.set(r,hr(Fr.get(r)||null,t,e,n,l,i)),!0}return!1}function r1(t){var e=si(t.target);if(e!==null){var n=Kr(e);if(n!==null){if(e=n.tag,e===13){if(e=Ed(n),e!==null){t.blockedOn=e,th(t.priority,function(){gd(n)});return}}else if(e===31){if(e=Td(n),e!==null){t.blockedOn=e,th(t.priority,function(){gd(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function uu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Ns(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);Pc=l,n.target.dispatchEvent(l),Pc=null}else return e=qi(n),e!==null&&l1(e),t.blockedOn=n,!1;e.shift()}return!0}function xd(t,e,n){uu(t)&&n.delete(e)}function y2(){Ls=!1,In!==null&&uu(In)&&(In=null),Wn!==null&&uu(Wn)&&(Wn=null),$n!==null&&uu($n)&&($n=null),Zr.forEach(xd),Fr.forEach(xd)}function Ga(t,e){t.blockedOn===e&&(t.blockedOn=null,Ls||(Ls=!0,Mt.unstable_scheduleCallback(Mt.unstable_NormalPriority,y2)))}var Za=null;function bd(t){Za!==t&&(Za=t,Mt.unstable_scheduleCallback(Mt.unstable_NormalPriority,function(){Za===t&&(Za=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],i=t[e+2];if(typeof l!="function"){if(Mf(l||n)===null)continue;break}var r=qi(n);r!==null&&(t.splice(e,3),e-=3,ds(r,{pending:!0,data:i,method:n.method,action:l},l,i))}}))}function Bi(t){function e(o){return Ga(o,t)}In!==null&&Ga(In,t),Wn!==null&&Ga(Wn,t),$n!==null&&Ga($n,t),Zr.forEach(e),Fr.forEach(e);for(var n=0;n<Hn.length;n++){var l=Hn[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Hn.length&&(n=Hn[0],n.blockedOn===null);)r1(n),n.blockedOn===null&&Hn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var i=n[l],r=n[l+1],a=i[ie]||null;if(typeof r=="function")a||bd(n);else if(a){var u=null;if(r&&r.hasAttribute("formAction")){if(i=r,a=r[ie]||null)u=a.formAction;else if(Mf(i)!==null)continue}else u=a.action;typeof u=="function"?n[l+1]=u:(n.splice(l,3),l-=3),bd(n)}}}function a1(){function t(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(a){return i=a})},focusReset:"manual",scroll:"manual"})}function e(){i!==null&&(i(),i=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,i=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),i!==null&&(i(),i=null)}}}function _f(t){this._internalRoot=t}$u.prototype.render=_f.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(w(409));var n=e.current,l=ye();n1(n,l,t,e,null,null)};$u.prototype.unmount=_f.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;n1(t.current,2,null,t,null,null),Ju(),e[Hi]=null}};function $u(t){this._internalRoot=t}$u.prototype.unstable_scheduleHydration=function(t){if(t){var e=Ld();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Hn.length&&e!==0&&e<Hn[n].priority;n++);Hn.splice(n,0,t),n===0&&r1(t)}};var vd=Sd.version;if(vd!=="19.2.4")throw Error(w(527,vd,"19.2.4"));tt.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(w(188)):(t=Object.keys(t).join(","),Error(w(268,t)));return t=Jb(e),t=t!==null?Ad(t):null,t=t===null?null:t.stateNode,t};var x2={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(dr=__REACT_DEVTOOLS_GLOBAL_HOOK__,!dr.isDisabled&&dr.supportsFiber))try{Jr=dr.inject(x2),de=dr}catch{}var dr;Pu.createRoot=function(t,e){if(!kd(t))throw Error(w(299));var n=!1,l="",i=Wg,r=$g,a=Pg;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(i=e.onUncaughtError),e.onCaughtError!==void 0&&(r=e.onCaughtError),e.onRecoverableError!==void 0&&(a=e.onRecoverableError)),e=t1(t,1,!1,null,null,n,l,null,i,r,a,a1),t[Hi]=e.current,zf(t),new _f(e)};Pu.hydrateRoot=function(t,e,n){if(!kd(t))throw Error(w(299));var l=!1,i="",r=Wg,a=$g,u=Pg,o=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(a=n.onCaughtError),n.onRecoverableError!==void 0&&(u=n.onRecoverableError),n.formState!==void 0&&(o=n.formState)),e=t1(t,1,!0,e,n??null,l,i,o,r,a,u,a1),e.context=e1(null),n=e.current,l=ye(),l=qs(l),i=Zn(l),i.callback=null,Fn(n,i,l),n=l,e.current.lanes=n,Wr(e,n),Ie(e),t[Hi]=e.current,zf(t),new $u(e)};Pu.version="19.2.4"});var s1=Zt((Gz,c1)=>{"use strict";function o1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o1)}catch(t){console.error(t)}}o1(),c1.exports=u1()});var N1=Zt((r3,R1)=>{"use strict";var D1=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,hk=/\n/g,dk=/^\s*/,gk=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,yk=/^:\s*/,xk=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,bk=/^[;\s]*/,vk=/^\s+|\s+$/g,Sk=`
|
|
10
|
+
`,O1="/",M1="*",jl="",kk="comment",Ek="declaration";function Tk(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,l=1;function i(g){var v=g.match(hk);v&&(n+=v.length);var T=g.lastIndexOf(Sk);l=~T?g.length-T:l+g.length}function r(){var g={line:n,column:l};return function(v){return v.position=new a(g),c(),v}}function a(g){this.start=g,this.end={line:n,column:l},this.source=e.source}a.prototype.content=t;function u(g){var v=new Error(e.source+":"+n+":"+l+": "+g);if(v.reason=g,v.filename=e.source,v.line=n,v.column=l,v.source=t,!e.silent)throw v}function o(g){var v=g.exec(t);if(v){var T=v[0];return i(T),t=t.slice(T.length),v}}function c(){o(dk)}function s(g){var v;for(g=g||[];v=f();)v!==!1&&g.push(v);return g}function f(){var g=r();if(!(O1!=t.charAt(0)||M1!=t.charAt(1))){for(var v=2;jl!=t.charAt(v)&&(M1!=t.charAt(v)||O1!=t.charAt(v+1));)++v;if(v+=2,jl===t.charAt(v-1))return u("End of comment missing");var T=t.slice(2,v-2);return l+=2,i(T),t=t.slice(v),l+=2,g({type:kk,comment:T})}}function m(){var g=r(),v=o(gk);if(v){if(f(),!o(yk))return u("property missing ':'");var T=o(xk),h=g({type:Ek,property:_1(v[0].replace(D1,jl)),value:T?_1(T[0].replace(D1,jl)):jl});return o(bk),h}}function p(){var g=[];s(g);for(var v;v=m();)v!==!1&&(g.push(v),s(g));return g}return c(),p()}function _1(t){return t?t.replace(vk,jl):jl}R1.exports=Tk});var L1=Zt(sa=>{"use strict";var Ak=sa&&sa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sa,"__esModule",{value:!0});sa.default=wk;var zk=Ak(N1());function wk(t,e){let n=null;if(!t||typeof t!="string")return n;let l=(0,zk.default)(t),i=typeof e=="function";return l.forEach(r=>{if(r.type!=="declaration")return;let{property:a,value:u}=r;i?e(a,u,r):u&&(n=n||{},n[a]=u)}),n}});var B1=Zt(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.camelCase=void 0;var Ck=/^--[a-zA-Z0-9_-]+$/,Dk=/-([a-z])/g,Ok=/^[^-]+$/,Mk=/^-(webkit|moz|ms|o|khtml)-/,_k=/^-(ms)-/,Rk=function(t){return!t||Ok.test(t)||Ck.test(t)},Nk=function(t,e){return e.toUpperCase()},U1=function(t,e){return"".concat(e,"-")},Lk=function(t,e){return e===void 0&&(e={}),Rk(t)?t:(t=t.toLowerCase(),e.reactCompat?t=t.replace(_k,U1):t=t.replace(Mk,U1),t.replace(Dk,Nk))};so.camelCase=Lk});var q1=Zt((Zf,H1)=>{"use strict";var Uk=Zf&&Zf.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},Bk=Uk(L1()),Hk=B1();function Gf(t,e){var n={};return!t||typeof t!="string"||(0,Bk.default)(t,function(l,i){l&&i&&(n[(0,Hk.camelCase)(l,e)]=i)}),n}Gf.default=Gf;H1.exports=Gf});var J1=Zt(mo=>{"use strict";var iE=Symbol.for("react.transitional.element"),rE=Symbol.for("react.fragment");function K1(t,e,n){var l=null;if(n!==void 0&&(l=""+n),e.key!==void 0&&(l=""+e.key),"key"in e){n={};for(var i in e)i!=="key"&&(n[i]=e[i])}else n=e;return e=n.ref,{$$typeof:iE,type:t,key:l,ref:e!==void 0?e:null,props:n}}mo.Fragment=rE;mo.jsx=K1;mo.jsxs=K1});var po=Zt((_3,I1)=>{"use strict";I1.exports=J1()});var mx=Zt((BO,fx)=>{"use strict";var Bo=Object.prototype.hasOwnProperty,sx=Object.prototype.toString,ix=Object.defineProperty,rx=Object.getOwnPropertyDescriptor,ax=function(e){return typeof Array.isArray=="function"?Array.isArray(e):sx.call(e)==="[object Array]"},ux=function(e){if(!e||sx.call(e)!=="[object Object]")return!1;var n=Bo.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&Bo.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!l)return!1;var i;for(i in e);return typeof i>"u"||Bo.call(e,i)},ox=function(e,n){ix&&n.name==="__proto__"?ix(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},cx=function(e,n){if(n==="__proto__")if(Bo.call(e,n)){if(rx)return rx(e,n).value}else return;return e[n]};fx.exports=function t(){var e,n,l,i,r,a,u=arguments[0],o=1,c=arguments.length,s=!1;for(typeof u=="boolean"&&(s=u,u=arguments[1]||{},o=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});o<c;++o)if(e=arguments[o],e!=null)for(n in e)l=cx(u,n),i=cx(e,n),u!==i&&(s&&i&&(ux(i)||(r=ax(i)))?(r?(r=!1,a=l&&ax(l)?l:[]):a=l&&ux(l)?l:{},ox(u,{name:n,newValue:t(s,a,i)})):typeof i<"u"&&ox(u,{name:n,newValue:i}));return u}});var pb=$t(He(),1),hb=$t(s1(),1);var Wt=$t(He(),1);var to=class{appKey;baseUrl;constructor(e){this.appKey=e.appKey,this.baseUrl=e.baseUrl||"https://doclessai.vercel.app/api/v1"}async ask(e){let n=new AbortController,l="",i=null;try{let r=new FormData;r.append("appKey",this.appKey),r.append("query",e.query),e.file&&r.append("image",e.file);let a=await fetch("https://doclessai.vercel.app/api/v2/chat",{method:"POST",signal:n.signal,body:r});if(!a.ok)throw new Error(`Request failed with status ${a.status}`);if(!a.body)throw new Error("Empty response body");let u=a.body.getReader(),o=new TextDecoder,c="";for(;;){let{done:s,value:f}=await u.read();if(s)break;c+=o.decode(f,{stream:!0});let m=c.split(`
|
|
11
|
+
|
|
12
|
+
`);c=m.pop()||"";for(let p of m){if(!p.startsWith("data: "))continue;let g=p.replace("data: ","");try{let v=JSON.parse(g);switch(v.type){case"text":l+=v.chunk,i||(i=setTimeout(()=>{e.onText?.(l),l="",i=null},35));break;case"meta":e.onMeta?.({route:v.route,elementId:v.elementId});break;case"status":e.onStatus?.(v.message);break;case"done":i&&(clearTimeout(i),e.onText?.(l),l="",i=null),e.onDone?.();break;case"error":e.onError?.(v.message);break}}catch(v){console.error("Failed to parse SSE event:",v)}}}}catch(r){if(r?.name==="AbortError"){e.onError?.("Request was aborted");return}e.onError?.(r?.message||"Unknown DoclessAI error")}}};var Gi=$t(He(),1),Re=$t(He(),1),wn=$t(He(),1);var b2={data:""},v2=t=>{if(typeof window=="object"){let e=(t?t.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return e.nonce=window.__nonce__,e.parentNode||(t||document.head).appendChild(e),e.firstChild}return t||b2};var S2=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,k2=/\/\*[^]*?\*\/| +/g,f1=/\n+/g,rl=(t,e)=>{let n="",l="",i="";for(let r in t){let a=t[r];r[0]=="@"?r[1]=="i"?n=r+" "+a+";":l+=r[1]=="f"?rl(a,r):r+"{"+rl(a,r[1]=="k"?"":e)+"}":typeof a=="object"?l+=rl(a,e?e.replace(/([^,])+/g,u=>r.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,o=>/&/.test(o)?o.replace(/&/g,u):u?u+" "+o:o)):r):a!=null&&(r=/^--/.test(r)?r:r.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=rl.p?rl.p(r,a):r+":"+a+";")}return n+(e&&i?e+"{"+i+"}":i)+l},zn={},m1=t=>{if(typeof t=="object"){let e="";for(let n in t)e+=n+m1(t[n]);return e}return t},E2=(t,e,n,l,i)=>{let r=m1(t),a=zn[r]||(zn[r]=(o=>{let c=0,s=11;for(;c<o.length;)s=101*s+o.charCodeAt(c++)>>>0;return"go"+s})(r));if(!zn[a]){let o=r!==t?t:(c=>{let s,f,m=[{}];for(;s=S2.exec(c.replace(k2,""));)s[4]?m.shift():s[3]?(f=s[3].replace(f1," ").trim(),m.unshift(m[0][f]=m[0][f]||{})):m[0][s[1]]=s[2].replace(f1," ").trim();return m[0]})(t);zn[a]=rl(i?{["@keyframes "+a]:o}:o,n?"":"."+a)}let u=n&&zn.g?zn.g:null;return n&&(zn.g=zn[a]),((o,c,s,f)=>{f?c.data=c.data.replace(f,o):c.data.indexOf(o)===-1&&(c.data=s?o+c.data:c.data+o)})(zn[a],e,l,u),a},T2=(t,e,n)=>t.reduce((l,i,r)=>{let a=e[r];if(a&&a.call){let u=a(n),o=u&&u.props&&u.props.className||/^go/.test(u)&&u;a=o?"."+o:u&&typeof u=="object"?u.props?"":rl(u,""):u===!1?"":u}return l+i+(a??"")},"");function aa(t){let e=this||{},n=t.call?t(e.p):t;return E2(n.unshift?n.raw?T2(n,[].slice.call(arguments,1),e.p):n.reduce((l,i)=>Object.assign(l,i&&i.call?i(e.p):i),{}):n,v2(e.target),e.g,e.o,e.k)}var p1,Rf,Nf,Fz=aa.bind({g:1}),ae=aa.bind({k:1});function h1(t,e,n,l){rl.p=e,p1=t,Rf=n,Nf=l}function ve(t,e){let n=this||{};return function(){let l=arguments;function i(r,a){let u=Object.assign({},r),o=u.className||i.className;n.p=Object.assign({theme:Rf&&Rf()},u),n.o=/ *go\d+/.test(o),u.className=aa.apply(n,l)+(o?" "+o:""),e&&(u.ref=a);let c=t;return t[0]&&(c=u.as||t,delete u.as),Nf&&c[0]&&Nf(u),p1(c,u)}return e?e(i):i}}var Bl=$t(He(),1);var al=$t(He(),1),A2=t=>typeof t=="function",lo=(t,e)=>A2(t)?t(e):t,z2=(()=>{let t=0;return()=>(++t).toString()})(),d1=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let e=matchMedia("(prefers-reduced-motion: reduce)");t=!e||e.matches}return t}})(),w2=20,Lf="default",g1=(t,e)=>{let{toastLimit:n}=t.settings;switch(e.type){case 0:return{...t,toasts:[e.toast,...t.toasts].slice(0,n)};case 1:return{...t,toasts:t.toasts.map(a=>a.id===e.toast.id?{...a,...e.toast}:a)};case 2:let{toast:l}=e;return g1(t,{type:t.toasts.find(a=>a.id===l.id)?1:0,toast:l});case 3:let{toastId:i}=e;return{...t,toasts:t.toasts.map(a=>a.id===i||i===void 0?{...a,dismissed:!0,visible:!1}:a)};case 4:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(a=>a.id!==e.toastId)};case 5:return{...t,pausedAt:e.time};case 6:let r=e.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(a=>({...a,pauseDuration:a.pauseDuration+r}))}}},no=[],y1={toasts:[],pausedAt:void 0,settings:{toastLimit:w2}},We={},x1=(t,e=Lf)=>{We[e]=g1(We[e]||y1,t),no.forEach(([n,l])=>{n===e&&l(We[e])})},b1=t=>Object.keys(We).forEach(e=>x1(t,e)),C2=t=>Object.keys(We).find(e=>We[e].toasts.some(n=>n.id===t)),io=(t=Lf)=>e=>{x1(e,t)},D2={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},O2=(t={},e=Lf)=>{let[n,l]=(0,Gi.useState)(We[e]||y1),i=(0,Gi.useRef)(We[e]);(0,Gi.useEffect)(()=>(i.current!==We[e]&&l(We[e]),no.push([e,l]),()=>{let a=no.findIndex(([u])=>u===e);a>-1&&no.splice(a,1)}),[e]);let r=n.toasts.map(a=>{var u,o,c;return{...t,...t[a.type],...a,removeDelay:a.removeDelay||((u=t[a.type])==null?void 0:u.removeDelay)||t?.removeDelay,duration:a.duration||((o=t[a.type])==null?void 0:o.duration)||t?.duration||D2[a.type],style:{...t.style,...(c=t[a.type])==null?void 0:c.style,...a.style}}});return{...n,toasts:r}},M2=(t,e="blank",n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:e,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...n,id:n?.id||z2()}),ua=t=>(e,n)=>{let l=M2(e,t,n);return io(l.toasterId||C2(l.id))({type:2,toast:l}),l.id},xt=(t,e)=>ua("blank")(t,e);xt.error=ua("error");xt.success=ua("success");xt.loading=ua("loading");xt.custom=ua("custom");xt.dismiss=(t,e)=>{let n={type:3,toastId:t};e?io(e)(n):b1(n)};xt.dismissAll=t=>xt.dismiss(void 0,t);xt.remove=(t,e)=>{let n={type:4,toastId:t};e?io(e)(n):b1(n)};xt.removeAll=t=>xt.remove(void 0,t);xt.promise=(t,e,n)=>{let l=xt.loading(e.loading,{...n,...n?.loading});return typeof t=="function"&&(t=t()),t.then(i=>{let r=e.success?lo(e.success,i):void 0;return r?xt.success(r,{id:l,...n,...n?.success}):xt.dismiss(l),i}).catch(i=>{let r=e.error?lo(e.error,i):void 0;r?xt.error(r,{id:l,...n,...n?.error}):xt.dismiss(l)}),t};var _2=1e3,R2=(t,e="default")=>{let{toasts:n,pausedAt:l}=O2(t,e),i=(0,Re.useRef)(new Map).current,r=(0,Re.useCallback)((f,m=_2)=>{if(i.has(f))return;let p=setTimeout(()=>{i.delete(f),a({type:4,toastId:f})},m);i.set(f,p)},[]);(0,Re.useEffect)(()=>{if(l)return;let f=Date.now(),m=n.map(p=>{if(p.duration===1/0)return;let g=(p.duration||0)+p.pauseDuration-(f-p.createdAt);if(g<0){p.visible&&xt.dismiss(p.id);return}return setTimeout(()=>xt.dismiss(p.id,e),g)});return()=>{m.forEach(p=>p&&clearTimeout(p))}},[n,l,e]);let a=(0,Re.useCallback)(io(e),[e]),u=(0,Re.useCallback)(()=>{a({type:5,time:Date.now()})},[a]),o=(0,Re.useCallback)((f,m)=>{a({type:1,toast:{id:f,height:m}})},[a]),c=(0,Re.useCallback)(()=>{l&&a({type:6,time:Date.now()})},[l,a]),s=(0,Re.useCallback)((f,m)=>{let{reverseOrder:p=!1,gutter:g=8,defaultPosition:v}=m||{},T=n.filter(y=>(y.position||v)===(f.position||v)&&y.height),h=T.findIndex(y=>y.id===f.id),d=T.filter((y,E)=>E<h&&y.visible).length;return T.filter(y=>y.visible).slice(...p?[d+1]:[0,d]).reduce((y,E)=>y+(E.height||0)+g,0)},[n]);return(0,Re.useEffect)(()=>{n.forEach(f=>{if(f.dismissed)r(f.id,f.removeDelay);else{let m=i.get(f.id);m&&(clearTimeout(m),i.delete(f.id))}})},[n,r]),{toasts:n,handlers:{updateHeight:o,startPause:u,endPause:c,calculateOffset:s}}},N2=ae`
|
|
11
13
|
from {
|
|
12
14
|
transform: scale(0) rotate(45deg);
|
|
13
15
|
opacity: 0;
|
|
@@ -15,7 +17,7 @@ from {
|
|
|
15
17
|
to {
|
|
16
18
|
transform: scale(1) rotate(45deg);
|
|
17
19
|
opacity: 1;
|
|
18
|
-
}
|
|
20
|
+
}`,L2=ae`
|
|
19
21
|
from {
|
|
20
22
|
transform: scale(0);
|
|
21
23
|
opacity: 0;
|
|
@@ -23,7 +25,7 @@ from {
|
|
|
23
25
|
to {
|
|
24
26
|
transform: scale(1);
|
|
25
27
|
opacity: 1;
|
|
26
|
-
}`,
|
|
28
|
+
}`,U2=ae`
|
|
27
29
|
from {
|
|
28
30
|
transform: scale(0) rotate(90deg);
|
|
29
31
|
opacity: 0;
|
|
@@ -31,7 +33,7 @@ from {
|
|
|
31
33
|
to {
|
|
32
34
|
transform: scale(1) rotate(90deg);
|
|
33
35
|
opacity: 1;
|
|
34
|
-
}`,
|
|
36
|
+
}`,B2=ve("div")`
|
|
35
37
|
width: 20px;
|
|
36
38
|
opacity: 0;
|
|
37
39
|
height: 20px;
|
|
@@ -40,14 +42,14 @@ to {
|
|
|
40
42
|
position: relative;
|
|
41
43
|
transform: rotate(45deg);
|
|
42
44
|
|
|
43
|
-
animation: ${
|
|
45
|
+
animation: ${N2} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
44
46
|
forwards;
|
|
45
47
|
animation-delay: 100ms;
|
|
46
48
|
|
|
47
49
|
&:after,
|
|
48
50
|
&:before {
|
|
49
51
|
content: '';
|
|
50
|
-
animation: ${
|
|
52
|
+
animation: ${L2} 0.15s ease-out forwards;
|
|
51
53
|
animation-delay: 150ms;
|
|
52
54
|
position: absolute;
|
|
53
55
|
border-radius: 3px;
|
|
@@ -60,18 +62,18 @@ to {
|
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
&:before {
|
|
63
|
-
animation: ${
|
|
65
|
+
animation: ${U2} 0.15s ease-out forwards;
|
|
64
66
|
animation-delay: 180ms;
|
|
65
67
|
transform: rotate(90deg);
|
|
66
68
|
}
|
|
67
|
-
`,
|
|
69
|
+
`,H2=ae`
|
|
68
70
|
from {
|
|
69
71
|
transform: rotate(0deg);
|
|
70
72
|
}
|
|
71
73
|
to {
|
|
72
74
|
transform: rotate(360deg);
|
|
73
75
|
}
|
|
74
|
-
`,
|
|
76
|
+
`,q2=ve("div")`
|
|
75
77
|
width: 12px;
|
|
76
78
|
height: 12px;
|
|
77
79
|
box-sizing: border-box;
|
|
@@ -79,8 +81,8 @@ to {
|
|
|
79
81
|
border-radius: 100%;
|
|
80
82
|
border-color: ${t=>t.secondary||"#e0e0e0"};
|
|
81
83
|
border-right-color: ${t=>t.primary||"#616161"};
|
|
82
|
-
animation: ${
|
|
83
|
-
`,
|
|
84
|
+
animation: ${H2} 1s linear infinite;
|
|
85
|
+
`,j2=ae`
|
|
84
86
|
from {
|
|
85
87
|
transform: scale(0) rotate(45deg);
|
|
86
88
|
opacity: 0;
|
|
@@ -88,7 +90,7 @@ from {
|
|
|
88
90
|
to {
|
|
89
91
|
transform: scale(1) rotate(45deg);
|
|
90
92
|
opacity: 1;
|
|
91
|
-
}`,
|
|
93
|
+
}`,Y2=ae`
|
|
92
94
|
0% {
|
|
93
95
|
height: 0;
|
|
94
96
|
width: 0;
|
|
@@ -102,7 +104,7 @@ to {
|
|
|
102
104
|
100% {
|
|
103
105
|
opacity: 1;
|
|
104
106
|
height: 10px;
|
|
105
|
-
}`,
|
|
107
|
+
}`,V2=ve("div")`
|
|
106
108
|
width: 20px;
|
|
107
109
|
opacity: 0;
|
|
108
110
|
height: 20px;
|
|
@@ -111,13 +113,13 @@ to {
|
|
|
111
113
|
position: relative;
|
|
112
114
|
transform: rotate(45deg);
|
|
113
115
|
|
|
114
|
-
animation: ${
|
|
116
|
+
animation: ${j2} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
115
117
|
forwards;
|
|
116
118
|
animation-delay: 100ms;
|
|
117
119
|
&:after {
|
|
118
120
|
content: '';
|
|
119
121
|
box-sizing: border-box;
|
|
120
|
-
animation: ${
|
|
122
|
+
animation: ${Y2} 0.2s ease-out forwards;
|
|
121
123
|
opacity: 0;
|
|
122
124
|
animation-delay: 200ms;
|
|
123
125
|
position: absolute;
|
|
@@ -129,16 +131,16 @@ to {
|
|
|
129
131
|
height: 10px;
|
|
130
132
|
width: 6px;
|
|
131
133
|
}
|
|
132
|
-
`,
|
|
134
|
+
`,X2=ve("div")`
|
|
133
135
|
position: absolute;
|
|
134
|
-
`,
|
|
136
|
+
`,Q2=ve("div")`
|
|
135
137
|
position: relative;
|
|
136
138
|
display: flex;
|
|
137
139
|
justify-content: center;
|
|
138
140
|
align-items: center;
|
|
139
141
|
min-width: 20px;
|
|
140
142
|
min-height: 20px;
|
|
141
|
-
`,
|
|
143
|
+
`,G2=ae`
|
|
142
144
|
from {
|
|
143
145
|
transform: scale(0.6);
|
|
144
146
|
opacity: 0.4;
|
|
@@ -146,20 +148,20 @@ from {
|
|
|
146
148
|
to {
|
|
147
149
|
transform: scale(1);
|
|
148
150
|
opacity: 1;
|
|
149
|
-
}`,
|
|
151
|
+
}`,Z2=ve("div")`
|
|
150
152
|
position: relative;
|
|
151
153
|
transform: scale(0.6);
|
|
152
154
|
opacity: 0.4;
|
|
153
155
|
min-width: 20px;
|
|
154
|
-
animation: ${
|
|
156
|
+
animation: ${G2} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
155
157
|
forwards;
|
|
156
|
-
`,
|
|
158
|
+
`,F2=({toast:t})=>{let{icon:e,type:n,iconTheme:l}=t;return e!==void 0?typeof e=="string"?Bl.createElement(Z2,null,e):e:n==="blank"?null:Bl.createElement(Q2,null,Bl.createElement(q2,{...l}),n!=="loading"&&Bl.createElement(X2,null,n==="error"?Bl.createElement(B2,{...l}):Bl.createElement(V2,{...l})))},K2=t=>`
|
|
157
159
|
0% {transform: translate3d(0,${t*-200}%,0) scale(.6); opacity:.5;}
|
|
158
160
|
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
159
|
-
`,
|
|
161
|
+
`,J2=t=>`
|
|
160
162
|
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
161
163
|
100% {transform: translate3d(0,${t*-150}%,-1px) scale(.6); opacity:0;}
|
|
162
|
-
`,
|
|
164
|
+
`,I2="0%{opacity:0;} 100%{opacity:1;}",W2="0%{opacity:1;} 100%{opacity:0;}",$2=ve("div")`
|
|
163
165
|
display: flex;
|
|
164
166
|
align-items: center;
|
|
165
167
|
background: #fff;
|
|
@@ -171,40 +173,104 @@ to {
|
|
|
171
173
|
pointer-events: auto;
|
|
172
174
|
padding: 8px 10px;
|
|
173
175
|
border-radius: 8px;
|
|
174
|
-
`,
|
|
176
|
+
`,P2=ve("div")`
|
|
175
177
|
display: flex;
|
|
176
178
|
justify-content: center;
|
|
177
179
|
margin: 4px 10px;
|
|
178
180
|
color: inherit;
|
|
179
181
|
flex: 1 1 auto;
|
|
180
182
|
white-space: pre-line;
|
|
181
|
-
`,
|
|
183
|
+
`,tk=(t,e)=>{let n=t.includes("top")?1:-1,[l,i]=d1()?[I2,W2]:[K2(n),J2(n)];return{animation:e?`${ae(l)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${ae(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},ek=wn.memo(({toast:t,position:e,style:n,children:l})=>{let i=t.height?tk(t.position||e||"top-center",t.visible):{opacity:0},r=wn.createElement(F2,{toast:t}),a=wn.createElement(P2,{...t.ariaProps},lo(t.message,t));return wn.createElement($2,{className:t.className,style:{...i,...n,...t.style}},typeof l=="function"?l({icon:r,message:a}):wn.createElement(wn.Fragment,null,r,a))});h1(al.createElement);var nk=({id:t,className:e,style:n,onHeightUpdate:l,children:i})=>{let r=al.useCallback(a=>{if(a){let u=()=>{let o=a.getBoundingClientRect().height;l(t,o)};u(),new MutationObserver(u).observe(a,{subtree:!0,childList:!0,characterData:!0})}},[t,l]);return al.createElement("div",{ref:r,className:e,style:n},i)},lk=(t,e)=>{let n=t.includes("top"),l=n?{top:0}:{bottom:0},i=t.includes("center")?{justifyContent:"center"}:t.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:d1()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${e*(n?1:-1)}px)`,...l,...i}},ik=aa`
|
|
182
184
|
z-index: 9999;
|
|
183
185
|
> * {
|
|
184
186
|
pointer-events: auto;
|
|
185
187
|
}
|
|
186
|
-
`,qr=16,Sg=({reverseOrder:t,position:e="top-center",toastOptions:n,gutter:l,children:i,toasterId:a,containerStyle:u,containerClassName:r})=>{let{toasts:o,handlers:f}=Iv(n,a);return el.createElement("div",{"data-rht-toaster":a||"",style:{position:"fixed",zIndex:9999,top:qr,left:qr,right:qr,bottom:qr,pointerEvents:"none",...u},className:r,onMouseEnter:f.startPause,onMouseLeave:f.endPause},o.map(c=>{let m=c.position||e,p=f.calculateOffset(c,{reverseOrder:t,gutter:l,defaultPosition:e}),s=vS(m,p);return el.createElement(bS,{id:c.id,key:c.id,onHeightUpdate:f.updateHeight,className:c.visible?SS:"",style:s},c.type==="custom"?Yr(c.message,c):i?i(c):el.createElement(xS,{toast:c,position:m}))}))};function Eg(t,e){let n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var ES=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,TS=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zS={};function Xr(t,e){return((e||zS).jsx?TS:ES).test(t)}var AS=/[ \t\n\f\r]/g;function ds(t){return typeof t=="object"?t.type==="text"?Tg(t.value):!1:Tg(t)}function Tg(t){return t.replace(AS,"")===""}var zn=class{constructor(e,n,l){this.normal=n,this.property=e,l&&(this.space=l)}};zn.prototype.normal={};zn.prototype.property={};zn.prototype.space=void 0;function ys(t,e){let n={},l={};for(let i of t)Object.assign(n,i.property),Object.assign(l,i.normal);return new zn(n,l,e)}function Za(t){return t.toLowerCase()}var Nt=class{constructor(e,n){this.attribute=n,this.property=e}};Nt.prototype.attribute="";Nt.prototype.booleanish=!1;Nt.prototype.boolean=!1;Nt.prototype.commaOrSpaceSeparated=!1;Nt.prototype.commaSeparated=!1;Nt.prototype.defined=!1;Nt.prototype.mustUseProperty=!1;Nt.prototype.number=!1;Nt.prototype.overloadedBoolean=!1;Nt.prototype.property="";Nt.prototype.spaceSeparated=!1;Nt.prototype.space=void 0;var Ka={};Sp(Ka,{boolean:()=>j,booleanish:()=>yt,commaOrSpaceSeparated:()=>ie,commaSeparated:()=>nl,number:()=>A,overloadedBoolean:()=>Gr,spaceSeparated:()=>et});var CS=0,j=_l(),yt=_l(),Gr=_l(),A=_l(),et=_l(),nl=_l(),ie=_l();function _l(){return 2**++CS}var gs=Object.keys(Ka),Ml=class extends Nt{constructor(e,n,l,i){let a=-1;if(super(e,n),zg(this,"space",i),typeof l=="number")for(;++a<gs.length;){let u=gs[a];zg(this,gs[a],(l&Ka[u])===Ka[u])}}};Ml.prototype.defined=!0;function zg(t,e,n){n&&(t[e]=n)}function Ne(t){let e={},n={};for(let[l,i]of Object.entries(t.properties)){let a=new Ml(l,t.transform(t.attributes||{},l),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(a.mustUseProperty=!0),e[l]=a,n[Za(l)]=l,n[Za(a.attribute)]=l}return new zn(e,n,t.space)}var xs=Ne({properties:{ariaActiveDescendant:null,ariaAtomic:yt,ariaAutoComplete:null,ariaBusy:yt,ariaChecked:yt,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:et,ariaCurrent:null,ariaDescribedBy:et,ariaDetails:null,ariaDisabled:yt,ariaDropEffect:et,ariaErrorMessage:null,ariaExpanded:yt,ariaFlowTo:et,ariaGrabbed:yt,ariaHasPopup:null,ariaHidden:yt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:et,ariaLevel:A,ariaLive:null,ariaModal:yt,ariaMultiLine:yt,ariaMultiSelectable:yt,ariaOrientation:null,ariaOwns:et,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:yt,ariaReadOnly:yt,ariaRelevant:null,ariaRequired:yt,ariaRoleDescription:et,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:yt,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function Qr(t,e){return e in t?t[e]:e}function Zr(t,e){return Qr(t,e.toLowerCase())}var Ag=Ne({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nl,acceptCharset:et,accessKey:et,action:null,allow:null,allowFullScreen:j,allowPaymentRequest:j,allowUserMedia:j,alt:null,as:null,async:j,autoCapitalize:null,autoComplete:et,autoFocus:j,autoPlay:j,blocking:et,capture:null,charSet:null,checked:j,cite:null,className:et,cols:A,colSpan:null,content:null,contentEditable:yt,controls:j,controlsList:et,coords:A|nl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:j,defer:j,dir:null,dirName:null,disabled:j,download:Gr,draggable:yt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:j,formTarget:null,headers:et,height:A,hidden:Gr,high:A,href:null,hrefLang:null,htmlFor:et,httpEquiv:et,id:null,imageSizes:null,imageSrcSet:null,inert:j,inputMode:null,integrity:null,is:null,isMap:j,itemId:null,itemProp:et,itemRef:et,itemScope:j,itemType:et,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:j,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:j,muted:j,name:null,nonce:null,noModule:j,noValidate:j,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:j,optimum:A,pattern:null,ping:et,placeholder:null,playsInline:j,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:j,referrerPolicy:null,rel:et,required:j,reversed:j,rows:A,rowSpan:A,sandbox:et,scope:null,scoped:j,seamless:j,selected:j,shadowRootClonable:j,shadowRootDelegatesFocus:j,shadowRootMode:null,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:yt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:j,useMap:null,value:yt,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:et,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:j,declare:j,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:j,noHref:j,noShade:j,noWrap:j,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:yt,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:j,disableRemotePlayback:j,prefix:null,property:null,results:A,security:null,unselectable:null},space:"html",transform:Zr});var Cg=Ne({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:ie,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:et,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:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:j,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,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:nl,g2:nl,glyphName:nl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:ie,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,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:A,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:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:et,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ie,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ie,rev:ie,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ie,requiredFeatures:ie,requiredFonts:ie,requiredFormats:ie,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:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:ie,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ie,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ie,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Qr});var bs=Ne({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}});var vs=Ne({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Zr});var Ss=Ne({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}});var Es={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"};var OS=/[A-Z]/g,Og=/-[a-z]/g,kS=/^data[-\w.:]+$/i;function Ts(t,e){let n=Za(e),l=e,i=Nt;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&kS.test(e)){if(e.charAt(4)==="-"){let a=e.slice(5).replace(Og,wS);l="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{let a=e.slice(4);if(!Og.test(a)){let u=a.replace(OS,DS);u.charAt(0)!=="-"&&(u="-"+u),e="data"+u}}i=Ml}return new i(l,e)}function DS(t){return"-"+t.toLowerCase()}function wS(t){return t.charAt(1).toUpperCase()}var kg=ys([xs,Ag,bs,vs,Ss],"html"),Kr=ys([xs,Cg,bs,vs,Ss],"svg");function Dg(t){return t.join(" ").trim()}var Gg=Ft(jg(),1);var Fr=Yg("end"),Ni=Yg("start");function Yg(t){return e;function e(n){let l=n&&n.position&&n.position[t]||{};if(typeof l.line=="number"&&l.line>0&&typeof l.column=="number"&&l.column>0)return{line:l.line,column:l.column,offset:typeof l.offset=="number"&&l.offset>-1?l.offset:void 0}}}function Cs(t){let e=Ni(t),n=Fr(t);if(e&&n)return{start:e,end:n}}function ll(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Vg(t.position):"start"in t||"end"in t?Vg(t):"line"in t||"column"in t?Os(t):""}function Os(t){return Xg(t&&t.line)+":"+Xg(t&&t.column)}function Vg(t){return Os(t&&t.start)+"-"+Os(t&&t.end)}function Xg(t){return t&&typeof t=="number"?t:1}var St=class extends Error{constructor(e,n,l){super(),typeof n=="string"&&(l=n,n=void 0);let i="",a={},u=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof e=="string"?i=e:!a.cause&&e&&(u=!0,i=e.message,a.cause=e),!a.ruleId&&!a.source&&typeof l=="string"){let o=l.indexOf(":");o===-1?a.ruleId=l:(a.source=l.slice(0,o),a.ruleId=l.slice(o+1))}if(!a.place&&a.ancestors&&a.ancestors){let o=a.ancestors[a.ancestors.length-1];o&&(a.place=o.position)}let r=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=r?r.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=r?r.line:void 0,this.name=ll(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=u&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};St.prototype.file="";St.prototype.name="";St.prototype.reason="";St.prototype.message="";St.prototype.stack="";St.prototype.column=void 0;St.prototype.line=void 0;St.prototype.ancestors=void 0;St.prototype.cause=void 0;St.prototype.fatal=void 0;St.prototype.place=void 0;St.prototype.ruleId=void 0;St.prototype.source=void 0;var ks={}.hasOwnProperty,n2=new Map,l2=/[A-Z]/g,i2=new Set(["table","tbody","thead","tfoot","tr"]),a2=new Set(["td","th"]),Qg="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Ds(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let n=e.filePath||void 0,l;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");l=m2(n,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");l=p2(n,e.jsx,e.jsxs)}let i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:l,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?Kr:kg,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},a=Zg(i,t,void 0);return a&&typeof a!="string"?a:i.create(t,i.Fragment,{children:a||void 0},void 0)}function Zg(t,e,n){if(e.type==="element")return u2(t,e,n);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return r2(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return c2(t,e,n);if(e.type==="mdxjsEsm")return o2(t,e);if(e.type==="root")return f2(t,e,n);if(e.type==="text")return s2(t,e)}function u2(t,e,n){let l=t.schema,i=l;e.tagName.toLowerCase()==="svg"&&l.space==="html"&&(i=Kr,t.schema=i),t.ancestors.push(e);let a=Jg(t,e.tagName,!1),u=h2(t,e),r=_s(t,e);return i2.has(e.tagName)&&(r=r.filter(function(o){return typeof o=="string"?!ds(o):!0})),Kg(t,u,a,e),ws(u,r),t.ancestors.pop(),t.schema=l,t.create(e,a,u,n)}function r2(t,e){if(e.data&&e.data.estree&&t.evaluater){let l=e.data.estree.body[0];return l.type,t.evaluater.evaluateExpression(l.expression)}Fa(t,e.position)}function o2(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);Fa(t,e.position)}function c2(t,e,n){let l=t.schema,i=l;e.name==="svg"&&l.space==="html"&&(i=Kr,t.schema=i),t.ancestors.push(e);let a=e.name===null?t.Fragment:Jg(t,e.name,!0),u=d2(t,e),r=_s(t,e);return Kg(t,u,a,e),ws(u,r),t.ancestors.pop(),t.schema=l,t.create(e,a,u,n)}function f2(t,e,n){let l={};return ws(l,_s(t,e)),t.create(e,t.Fragment,l,n)}function s2(t,e){return e.value}function Kg(t,e,n,l){typeof n!="string"&&n!==t.Fragment&&t.passNode&&(e.node=l)}function ws(t,e){if(e.length>0){let n=e.length>1?e:e[0];n&&(t.children=n)}}function p2(t,e,n){return l;function l(i,a,u,r){let f=Array.isArray(u.children)?n:e;return r?f(a,u,r):f(a,u)}}function m2(t,e){return n;function n(l,i,a,u){let r=Array.isArray(a.children),o=Ni(l);return e(i,a,u,r,{columnNumber:o?o.column-1:void 0,fileName:t,lineNumber:o?o.line:void 0},void 0)}}function h2(t,e){let n={},l,i;for(i in e.properties)if(i!=="children"&&ks.call(e.properties,i)){let a=y2(t,i,e.properties[i]);if(a){let[u,r]=a;t.tableCellAlignToStyle&&u==="align"&&typeof r=="string"&&a2.has(e.tagName)?l=r:n[u]=r}}if(l){let a=n.style||(n.style={});a[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=l}return n}function d2(t,e){let n={};for(let l of e.attributes)if(l.type==="mdxJsxExpressionAttribute")if(l.data&&l.data.estree&&t.evaluater){let a=l.data.estree.body[0];a.type;let u=a.expression;u.type;let r=u.properties[0];r.type,Object.assign(n,t.evaluater.evaluateExpression(r.argument))}else Fa(t,e.position);else{let i=l.name,a;if(l.value&&typeof l.value=="object")if(l.value.data&&l.value.data.estree&&t.evaluater){let r=l.value.data.estree.body[0];r.type,a=t.evaluater.evaluateExpression(r.expression)}else Fa(t,e.position);else a=l.value===null?!0:l.value;n[i]=a}return n}function _s(t,e){let n=[],l=-1,i=t.passKeys?new Map:n2;for(;++l<e.children.length;){let a=e.children[l],u;if(t.passKeys){let o=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(o){let f=i.get(o)||0;u=o+"-"+f,i.set(o,f+1)}}let r=Zg(t,a,u);r!==void 0&&n.push(r)}return n}function y2(t,e,n){let l=Ts(t.schema,e);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=l.commaSeparated?Eg(n):Dg(n)),l.property==="style"){let i=typeof n=="object"?n:g2(t,String(n));return t.stylePropertyNameCase==="css"&&(i=x2(i)),["style",i]}return[t.elementAttributeNameCase==="react"&&l.space?Es[l.property]||l.property:l.attribute,n]}}function g2(t,e){try{return(0,Gg.default)(e,{reactCompat:!0})}catch(n){if(t.ignoreInvalidStyle)return{};let l=n,i=new St("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=Qg+"#cannot-parse-style-attribute",i}}function Jg(t,e,n){let l;if(!n)l={type:"Literal",value:e};else if(e.includes(".")){let i=e.split("."),a=-1,u;for(;++a<i.length;){let r=Xr(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};u=u?{type:"MemberExpression",object:u,property:r,computed:!!(a&&r.type==="Literal"),optional:!1}:r}l=u}else l=Xr(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(l.type==="Literal"){let i=l.value;return ks.call(t.components,i)?t.components[i]:i}if(t.evaluater)return t.evaluater.evaluateExpression(l);Fa(t)}function Fa(t,e){let n=new St("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=t.filePath||void 0,n.url=Qg+"#cannot-handle-mdx-estrees-without-createevaluater",n}function x2(t){let e={},n;for(n in t)ks.call(t,n)&&(e[b2(n)]=t[n]);return e}function b2(t){let e=t.replace(l2,v2);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function v2(t){return"-"+t.toLowerCase()}var Ia={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"]};var qi=Ft(Wr(),1),C1=Ft(He(),1);var T2={};function Ms(t,e){let n=e||T2,l=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Pg(t,l,i)}function Pg(t,e,n){if(z2(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return $g(t.children,e,n)}return Array.isArray(t)?$g(t,e,n):""}function $g(t,e,n){let l=[],i=-1;for(;++i<t.length;)l[i]=Pg(t[i],e,n);return l.join("")}function z2(t){return!!(t&&typeof t=="object")}var t0=document.createElement("i");function Ri(t){let e="&"+t+";";t0.innerHTML=e;let n=t0.textContent;return n.charCodeAt(n.length-1)===59&&t!=="semi"||n===e?!1:n}function Yt(t,e,n,l){let i=t.length,a=0,u;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,n=n>0?n:0,l.length<1e4)u=Array.from(l),u.unshift(e,n),t.splice(...u);else for(n&&t.splice(e,n);a<l.length;)u=l.slice(a,a+1e4),u.unshift(e,0),t.splice(...u),a+=1e4,e+=1e4}function Jt(t,e){return t.length>0?(Yt(t,t.length,0,e),t):e}var e0={}.hasOwnProperty;function n0(t){let e={},n=-1;for(;++n<t.length;)A2(e,t[n]);return e}function A2(t,e){let n;for(n in e){let i=(e0.call(t,n)?t[n]:void 0)||(t[n]={}),a=e[n],u;if(a)for(u in a){e0.call(i,u)||(i[u]=[]);let r=a[u];C2(i[u],Array.isArray(r)?r:r?[r]:[])}}}function C2(t,e){let n=-1,l=[];for(;++n<e.length;)(e[n].add==="after"?t:l).push(e[n]);Yt(t,0,0,l)}function $r(t,e){let n=Number.parseInt(t,e);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}function An(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var be=il(/[A-Za-z]/),Rt=il(/[\dA-Za-z]/),l0=il(/[#-'*+\--9=?A-Z^-~]/);function Wa(t){return t!==null&&(t<32||t===127)}var $a=il(/\d/),i0=il(/[\dA-Fa-f]/),a0=il(/[!-/:-@[-`{-~]/);function M(t){return t!==null&&t<-2}function Et(t){return t!==null&&(t<0||t===32)}function H(t){return t===-2||t===-1||t===32}var u0=il(/\p{P}|\p{S}/u),r0=il(/\s/);function il(t){return e;function e(n){return n!==null&&n>-1&&t.test(String.fromCharCode(n))}}function Re(t){let e=[],n=-1,l=0,i=0;for(;++n<t.length;){let a=t.charCodeAt(n),u="";if(a===37&&Rt(t.charCodeAt(n+1))&&Rt(t.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(u=String.fromCharCode(a));else if(a>55295&&a<57344){let r=t.charCodeAt(n+1);a<56320&&r>56319&&r<57344?(u=String.fromCharCode(a,r),i=1):u="\uFFFD"}else u=String.fromCharCode(a);u&&(e.push(t.slice(l,n),encodeURIComponent(u)),l=n+i+1,u=""),i&&(n+=i,i=0)}return e.join("")+t.slice(l)}function Y(t,e,n,l){let i=l?l-1:Number.POSITIVE_INFINITY,a=0;return u;function u(o){return H(o)?(t.enter(n),r(o)):e(o)}function r(o){return H(o)&&a++<i?(t.consume(o),r):(t.exit(n),e(o))}}var o0={tokenize:O2};function O2(t){let e=t.attempt(this.parser.constructs.contentInitial,l,i),n;return e;function l(r){if(r===null){t.consume(r);return}return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),Y(t,e,"linePrefix")}function i(r){return t.enter("paragraph"),a(r)}function a(r){let o=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,u(r)}function u(r){if(r===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(r);return}return M(r)?(t.consume(r),t.exit("chunkText"),a):(t.consume(r),u)}}var f0={tokenize:k2},c0={tokenize:D2};function k2(t){let e=this,n=[],l=0,i,a,u;return r;function r(y){if(l<n.length){let b=n[l];return e.containerState=b[1],t.attempt(b[0].continuation,o,f)(y)}return f(y)}function o(y){if(l++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&d();let b=e.events.length,O=b,S;for(;O--;)if(e.events[O][0]==="exit"&&e.events[O][1].type==="chunkFlow"){S=e.events[O][1].end;break}h(l);let C=b;for(;C<e.events.length;)e.events[C][1].end={...S},C++;return Yt(e.events,O+1,0,e.events.slice(b)),e.events.length=C,f(y)}return r(y)}function f(y){if(l===n.length){if(!i)return p(y);if(i.currentConstruct&&i.currentConstruct.concrete)return v(y);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(c0,c,m)(y)}function c(y){return i&&d(),h(l),p(y)}function m(y){return e.parser.lazy[e.now().line]=l!==n.length,u=e.now().offset,v(y)}function p(y){return e.containerState={},t.attempt(c0,s,v)(y)}function s(y){return l++,n.push([e.currentConstruct,e.containerState]),p(y)}function v(y){if(y===null){i&&d(),h(0),t.consume(y);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),E(y)}function E(y){if(y===null){k(t.exit("chunkFlow"),!0),h(0),t.consume(y);return}return M(y)?(t.consume(y),k(t.exit("chunkFlow")),l=0,e.interrupt=void 0,r):(t.consume(y),E)}function k(y,b){let O=e.sliceStream(y);if(b&&O.push(null),y.previous=a,a&&(a.next=y),a=y,i.defineSkip(y.start),i.write(O),e.parser.lazy[y.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<u&&(!i.events[S][1].end||i.events[S][1].end.offset>u))return;let C=e.events.length,N=C,_,R;for(;N--;)if(e.events[N][0]==="exit"&&e.events[N][1].type==="chunkFlow"){if(_){R=e.events[N][1].end;break}_=!0}for(h(l),S=C;S<e.events.length;)e.events[S][1].end={...R},S++;Yt(e.events,N+1,0,e.events.slice(C)),e.events.length=S}}function h(y){let b=n.length;for(;b-- >y;){let O=n[b];e.containerState=O[1],O[0].exit.call(e,t)}n.length=y}function d(){i.write([null]),a=void 0,i=void 0,e.containerState._closeFlow=void 0}}function D2(t,e,n){return Y(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ns(t){if(t===null||Et(t)||r0(t))return 1;if(u0(t))return 2}function Ui(t,e,n){let l=[],i=-1;for(;++i<t.length;){let a=t[i].resolveAll;a&&!l.includes(a)&&(e=a(e,n),l.push(a))}return e}var Pa={name:"attention",resolveAll:w2,tokenize:_2};function w2(t,e){let n=-1,l,i,a,u,r,o,f,c;for(;++n<t.length;)if(t[n][0]==="enter"&&t[n][1].type==="attentionSequence"&&t[n][1]._close){for(l=n;l--;)if(t[l][0]==="exit"&&t[l][1].type==="attentionSequence"&&t[l][1]._open&&e.sliceSerialize(t[l][1]).charCodeAt(0)===e.sliceSerialize(t[n][1]).charCodeAt(0)){if((t[l][1]._close||t[n][1]._open)&&(t[n][1].end.offset-t[n][1].start.offset)%3&&!((t[l][1].end.offset-t[l][1].start.offset+t[n][1].end.offset-t[n][1].start.offset)%3))continue;o=t[l][1].end.offset-t[l][1].start.offset>1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;let m={...t[l][1].end},p={...t[n][1].start};s0(m,-o),s0(p,o),u={type:o>1?"strongSequence":"emphasisSequence",start:m,end:{...t[l][1].end}},r={type:o>1?"strongSequence":"emphasisSequence",start:{...t[n][1].start},end:p},a={type:o>1?"strongText":"emphasisText",start:{...t[l][1].end},end:{...t[n][1].start}},i={type:o>1?"strong":"emphasis",start:{...u.start},end:{...r.end}},t[l][1].end={...u.start},t[n][1].start={...r.end},f=[],t[l][1].end.offset-t[l][1].start.offset&&(f=Jt(f,[["enter",t[l][1],e],["exit",t[l][1],e]])),f=Jt(f,[["enter",i,e],["enter",u,e],["exit",u,e],["enter",a,e]]),f=Jt(f,Ui(e.parser.constructs.insideSpan.null,t.slice(l+1,n),e)),f=Jt(f,[["exit",a,e],["enter",r,e],["exit",r,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(c=2,f=Jt(f,[["enter",t[n][1],e],["exit",t[n][1],e]])):c=0,Yt(t,l-1,n-l+3,f),n=l+f.length-c-2;break}}for(n=-1;++n<t.length;)t[n][1].type==="attentionSequence"&&(t[n][1].type="data");return t}function _2(t,e){let n=this.parser.constructs.attentionMarkers.null,l=this.previous,i=Ns(l),a;return u;function u(o){return a=o,t.enter("attentionSequence"),r(o)}function r(o){if(o===a)return t.consume(o),r;let f=t.exit("attentionSequence"),c=Ns(o),m=!c||c===2&&i||n.includes(o),p=!i||i===2&&c||n.includes(l);return f._open=!!(a===42?m:m&&(i||!p)),f._close=!!(a===42?p:p&&(c||!m)),e(o)}}function s0(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}var Rs={name:"autolink",tokenize:M2};function M2(t,e,n){let l=0;return i;function i(s){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(s),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(s){return be(s)?(t.consume(s),u):s===64?n(s):f(s)}function u(s){return s===43||s===45||s===46||Rt(s)?(l=1,r(s)):f(s)}function r(s){return s===58?(t.consume(s),l=0,o):(s===43||s===45||s===46||Rt(s))&&l++<32?(t.consume(s),r):(l=0,f(s))}function o(s){return s===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(s),t.exit("autolinkMarker"),t.exit("autolink"),e):s===null||s===32||s===60||Wa(s)?n(s):(t.consume(s),o)}function f(s){return s===64?(t.consume(s),c):l0(s)?(t.consume(s),f):n(s)}function c(s){return Rt(s)?m(s):n(s)}function m(s){return s===46?(t.consume(s),l=0,c):s===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(s),t.exit("autolinkMarker"),t.exit("autolink"),e):p(s)}function p(s){if((s===45||Rt(s))&&l++<63){let v=s===45?p:m;return t.consume(s),v}return n(s)}}var al={partial:!0,tokenize:N2};function N2(t,e,n){return l;function l(a){return H(a)?Y(t,i,"linePrefix")(a):i(a)}function i(a){return a===null||M(a)?e(a):n(a)}}var Pr={continuation:{tokenize:U2},exit:B2,name:"blockQuote",tokenize:R2};function R2(t,e,n){let l=this;return i;function i(u){if(u===62){let r=l.containerState;return r.open||(t.enter("blockQuote",{_container:!0}),r.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(u),t.exit("blockQuoteMarker"),a}return n(u)}function a(u){return H(u)?(t.enter("blockQuotePrefixWhitespace"),t.consume(u),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(u))}}function U2(t,e,n){let l=this;return i;function i(u){return H(u)?Y(t,a,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return t.attempt(Pr,e,n)(u)}}function B2(t){t.exit("blockQuote")}var to={name:"characterEscape",tokenize:H2};function H2(t,e,n){return l;function l(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),i}function i(a){return a0(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(a)}}var eo={name:"characterReference",tokenize:L2};function L2(t,e,n){let l=this,i=0,a,u;return r;function r(m){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(m),t.exit("characterReferenceMarker"),o}function o(m){return m===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(m),t.exit("characterReferenceMarkerNumeric"),f):(t.enter("characterReferenceValue"),a=31,u=Rt,c(m))}function f(m){return m===88||m===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(m),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,u=i0,c):(t.enter("characterReferenceValue"),a=7,u=$a,c(m))}function c(m){if(m===59&&i){let p=t.exit("characterReferenceValue");return u===Rt&&!Ri(l.sliceSerialize(p))?n(m):(t.enter("characterReferenceMarker"),t.consume(m),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return u(m)&&i++<a?(t.consume(m),c):n(m)}}var p0={partial:!0,tokenize:j2},no={concrete:!0,name:"codeFenced",tokenize:q2};function q2(t,e,n){let l=this,i={partial:!0,tokenize:O},a=0,u=0,r;return o;function o(S){return f(S)}function f(S){let C=l.events[l.events.length-1];return a=C&&C[1].type==="linePrefix"?C[2].sliceSerialize(C[1],!0).length:0,r=S,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),c(S)}function c(S){return S===r?(u++,t.consume(S),c):u<3?n(S):(t.exit("codeFencedFenceSequence"),H(S)?Y(t,m,"whitespace")(S):m(S))}function m(S){return S===null||M(S)?(t.exit("codeFencedFence"),l.interrupt?e(S):t.check(p0,E,b)(S)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),p(S))}function p(S){return S===null||M(S)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),m(S)):H(S)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Y(t,s,"whitespace")(S)):S===96&&S===r?n(S):(t.consume(S),p)}function s(S){return S===null||M(S)?m(S):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),v(S))}function v(S){return S===null||M(S)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),m(S)):S===96&&S===r?n(S):(t.consume(S),v)}function E(S){return t.attempt(i,b,k)(S)}function k(S){return t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),h}function h(S){return a>0&&H(S)?Y(t,d,"linePrefix",a+1)(S):d(S)}function d(S){return S===null||M(S)?t.check(p0,E,b)(S):(t.enter("codeFlowValue"),y(S))}function y(S){return S===null||M(S)?(t.exit("codeFlowValue"),d(S)):(t.consume(S),y)}function b(S){return t.exit("codeFenced"),e(S)}function O(S,C,N){let _=0;return R;function R(X){return S.enter("lineEnding"),S.consume(X),S.exit("lineEnding"),gt}function gt(X){return S.enter("codeFencedFence"),H(X)?Y(S,$,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):$(X)}function $(X){return X===r?(S.enter("codeFencedFenceSequence"),U(X)):N(X)}function U(X){return X===r?(_++,S.consume(X),U):_>=u?(S.exit("codeFencedFenceSequence"),H(X)?Y(S,G,"whitespace")(X):G(X)):N(X)}function G(X){return X===null||M(X)?(S.exit("codeFencedFence"),C(X)):N(X)}}}function j2(t,e,n){let l=this;return i;function i(u){return u===null?n(u):(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),a)}function a(u){return l.parser.lazy[l.now().line]?n(u):e(u)}}var tu={name:"codeIndented",tokenize:V2},Y2={partial:!0,tokenize:X2};function V2(t,e,n){let l=this;return i;function i(f){return t.enter("codeIndented"),Y(t,a,"linePrefix",5)(f)}function a(f){let c=l.events[l.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?u(f):n(f)}function u(f){return f===null?o(f):M(f)?t.attempt(Y2,u,o)(f):(t.enter("codeFlowValue"),r(f))}function r(f){return f===null||M(f)?(t.exit("codeFlowValue"),u(f)):(t.consume(f),r)}function o(f){return t.exit("codeIndented"),e(f)}}function X2(t,e,n){let l=this;return i;function i(u){return l.parser.lazy[l.now().line]?n(u):M(u)?(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),i):Y(t,a,"linePrefix",5)(u)}function a(u){let r=l.events[l.events.length-1];return r&&r[1].type==="linePrefix"&&r[2].sliceSerialize(r[1],!0).length>=4?e(u):M(u)?i(u):n(u)}}var Us={name:"codeText",previous:Q2,resolve:G2,tokenize:Z2};function G2(t){let e=t.length-4,n=3,l,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(l=n;++l<e;)if(t[l][1].type==="codeTextData"){t[n][1].type="codeTextPadding",t[e][1].type="codeTextPadding",n+=2,e-=2;break}}for(l=n-1,e++;++l<=e;)i===void 0?l!==e&&t[l][1].type!=="lineEnding"&&(i=l):(l===e||t[l][1].type==="lineEnding")&&(t[i][1].type="codeTextData",l!==i+2&&(t[i][1].end=t[l-1][1].end,t.splice(i+2,l-i-2),e-=l-i-2,l=i+2),i=void 0);return t}function Q2(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Z2(t,e,n){let l=this,i=0,a,u;return r;function r(p){return t.enter("codeText"),t.enter("codeTextSequence"),o(p)}function o(p){return p===96?(t.consume(p),i++,o):(t.exit("codeTextSequence"),f(p))}function f(p){return p===null?n(p):p===32?(t.enter("space"),t.consume(p),t.exit("space"),f):p===96?(u=t.enter("codeTextSequence"),a=0,m(p)):M(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),f):(t.enter("codeTextData"),c(p))}function c(p){return p===null||p===32||p===96||M(p)?(t.exit("codeTextData"),f(p)):(t.consume(p),c)}function m(p){return p===96?(t.consume(p),a++,m):a===i?(t.exit("codeTextSequence"),t.exit("codeText"),e(p)):(u.type="codeTextData",c(p))}}var lo=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,n){let l=n??Number.POSITIVE_INFINITY;return l<this.left.length?this.left.slice(e,l):e>this.left.length?this.right.slice(this.right.length-l+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-l+this.left.length).reverse())}splice(e,n,l){let i=n||0;this.setCursor(Math.trunc(e));let a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return l&&eu(this.left,l),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),eu(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),eu(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let n=this.left.splice(e,Number.POSITIVE_INFINITY);eu(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);eu(this.left,n.reverse())}}};function eu(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function io(t){let e={},n=-1,l,i,a,u,r,o,f,c=new lo(t);for(;++n<c.length;){for(;n in e;)n=e[n];if(l=c.get(n),n&&l[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(o=l[1]._tokenizer.events,a=0,a<o.length&&o[a][1].type==="lineEndingBlank"&&(a+=2),a<o.length&&o[a][1].type==="content"))for(;++a<o.length&&o[a][1].type!=="content";)o[a][1].type==="chunkText"&&(o[a][1]._isInFirstContentOfListItem=!0,a++);if(l[0]==="enter")l[1].contentType&&(Object.assign(e,K2(c,n)),n=e[n],f=!0);else if(l[1]._container){for(a=n,i=void 0;a--;)if(u=c.get(a),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),u[1].type="lineEnding",i=a);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;i&&(l[1].end={...c.get(i)[1].start},r=c.slice(i,n),r.unshift(l),c.splice(i,n-i+1,r))}}return Yt(t,0,Number.POSITIVE_INFINITY,c.slice(0)),!f}function K2(t,e){let n=t.get(e)[1],l=t.get(e)[2],i=e-1,a=[],u=n._tokenizer;u||(u=l.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));let r=u.events,o=[],f={},c,m,p=-1,s=n,v=0,E=0,k=[E];for(;s;){for(;t.get(++i)[1]!==s;);a.push(i),s._tokenizer||(c=l.sliceStream(s),s.next||c.push(null),m&&u.defineSkip(s.start),s._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(c),s._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),m=s,s=s.next}for(s=n;++p<r.length;)r[p][0]==="exit"&&r[p-1][0]==="enter"&&r[p][1].type===r[p-1][1].type&&r[p][1].start.line!==r[p][1].end.line&&(E=p+1,k.push(E),s._tokenizer=void 0,s.previous=void 0,s=s.next);for(u.events=[],s?(s._tokenizer=void 0,s.previous=void 0):k.pop(),p=k.length;p--;){let h=r.slice(k[p],k[p+1]),d=a.pop();o.push([d,d+h.length-1]),t.splice(d,2,h)}for(o.reverse(),p=-1;++p<o.length;)f[v+o[p][0]]=v+o[p][1],v+=o[p][1]-o[p][0]-1;return f}var Bs={resolve:F2,tokenize:I2},J2={partial:!0,tokenize:W2};function F2(t){return io(t),t}function I2(t,e){let n;return l;function l(r){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(r)}function i(r){return r===null?a(r):M(r)?t.check(J2,u,a)(r):(t.consume(r),i)}function a(r){return t.exit("chunkContent"),t.exit("content"),e(r)}function u(r){return t.consume(r),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function W2(t,e,n){let l=this;return i;function i(u){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),Y(t,a,"linePrefix")}function a(u){if(u===null||M(u))return n(u);let r=l.events[l.events.length-1];return!l.parser.constructs.disable.null.includes("codeIndented")&&r&&r[1].type==="linePrefix"&&r[2].sliceSerialize(r[1],!0).length>=4?e(u):t.interrupt(l.parser.constructs.flow,n,e)(u)}}function ao(t,e,n,l,i,a,u,r,o){let f=o||Number.POSITIVE_INFINITY,c=0;return m;function m(h){return h===60?(t.enter(l),t.enter(i),t.enter(a),t.consume(h),t.exit(a),p):h===null||h===32||h===41||Wa(h)?n(h):(t.enter(l),t.enter(u),t.enter(r),t.enter("chunkString",{contentType:"string"}),E(h))}function p(h){return h===62?(t.enter(a),t.consume(h),t.exit(a),t.exit(i),t.exit(l),e):(t.enter(r),t.enter("chunkString",{contentType:"string"}),s(h))}function s(h){return h===62?(t.exit("chunkString"),t.exit(r),p(h)):h===null||h===60||M(h)?n(h):(t.consume(h),h===92?v:s)}function v(h){return h===60||h===62||h===92?(t.consume(h),s):s(h)}function E(h){return!c&&(h===null||h===41||Et(h))?(t.exit("chunkString"),t.exit(r),t.exit(u),t.exit(l),e(h)):c<f&&h===40?(t.consume(h),c++,E):h===41?(t.consume(h),c--,E):h===null||h===32||h===40||Wa(h)?n(h):(t.consume(h),h===92?k:E)}function k(h){return h===40||h===41||h===92?(t.consume(h),E):E(h)}}function uo(t,e,n,l,i,a){let u=this,r=0,o;return f;function f(s){return t.enter(l),t.enter(i),t.consume(s),t.exit(i),t.enter(a),c}function c(s){return r>999||s===null||s===91||s===93&&!o||s===94&&!r&&"_hiddenFootnoteSupport"in u.parser.constructs?n(s):s===93?(t.exit(a),t.enter(i),t.consume(s),t.exit(i),t.exit(l),e):M(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),c):(t.enter("chunkString",{contentType:"string"}),m(s))}function m(s){return s===null||s===91||s===93||M(s)||r++>999?(t.exit("chunkString"),c(s)):(t.consume(s),o||(o=!H(s)),s===92?p:m)}function p(s){return s===91||s===92||s===93?(t.consume(s),r++,m):m(s)}}function ro(t,e,n,l,i,a){let u;return r;function r(p){return p===34||p===39||p===40?(t.enter(l),t.enter(i),t.consume(p),t.exit(i),u=p===40?41:p,o):n(p)}function o(p){return p===u?(t.enter(i),t.consume(p),t.exit(i),t.exit(l),e):(t.enter(a),f(p))}function f(p){return p===u?(t.exit(a),o(u)):p===null?n(p):M(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),Y(t,f,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===u||p===null||M(p)?(t.exit("chunkString"),f(p)):(t.consume(p),p===92?m:c)}function m(p){return p===u||p===92?(t.consume(p),c):c(p)}}function Rl(t,e){let n;return l;function l(i){return M(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,l):H(i)?Y(t,l,n?"linePrefix":"lineSuffix")(i):e(i)}}var Hs={name:"definition",tokenize:P2},$2={partial:!0,tokenize:tE};function P2(t,e,n){let l=this,i;return a;function a(s){return t.enter("definition"),u(s)}function u(s){return uo.call(l,t,r,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(s)}function r(s){return i=An(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)),s===58?(t.enter("definitionMarker"),t.consume(s),t.exit("definitionMarker"),o):n(s)}function o(s){return Et(s)?Rl(t,f)(s):f(s)}function f(s){return ao(t,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(s)}function c(s){return t.attempt($2,m,m)(s)}function m(s){return H(s)?Y(t,p,"whitespace")(s):p(s)}function p(s){return s===null||M(s)?(t.exit("definition"),l.parser.defined.push(i),e(s)):n(s)}}function tE(t,e,n){return l;function l(r){return Et(r)?Rl(t,i)(r):n(r)}function i(r){return ro(t,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(r)}function a(r){return H(r)?Y(t,u,"whitespace")(r):u(r)}function u(r){return r===null||M(r)?e(r):n(r)}}var Ls={name:"hardBreakEscape",tokenize:eE};function eE(t,e,n){return l;function l(a){return t.enter("hardBreakEscape"),t.consume(a),i}function i(a){return M(a)?(t.exit("hardBreakEscape"),e(a)):n(a)}}var qs={name:"headingAtx",resolve:nE,tokenize:lE};function nE(t,e){let n=t.length-2,l=3,i,a;return t[l][1].type==="whitespace"&&(l+=2),n-2>l&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(l===n-1||n-4>l&&t[n-2][1].type==="whitespace")&&(n-=l+1===n?2:4),n>l&&(i={type:"atxHeadingText",start:t[l][1].start,end:t[n][1].end},a={type:"chunkText",start:t[l][1].start,end:t[n][1].end,contentType:"text"},Yt(t,l,n-l+1,[["enter",i,e],["enter",a,e],["exit",a,e],["exit",i,e]])),t}function lE(t,e,n){let l=0;return i;function i(c){return t.enter("atxHeading"),a(c)}function a(c){return t.enter("atxHeadingSequence"),u(c)}function u(c){return c===35&&l++<6?(t.consume(c),u):c===null||Et(c)?(t.exit("atxHeadingSequence"),r(c)):n(c)}function r(c){return c===35?(t.enter("atxHeadingSequence"),o(c)):c===null||M(c)?(t.exit("atxHeading"),e(c)):H(c)?Y(t,r,"whitespace")(c):(t.enter("atxHeadingText"),f(c))}function o(c){return c===35?(t.consume(c),o):(t.exit("atxHeadingSequence"),r(c))}function f(c){return c===null||c===35||Et(c)?(t.exit("atxHeadingText"),r(c)):(t.consume(c),f)}}var m0=["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"],js=["pre","script","style","textarea"];var Ys={concrete:!0,name:"htmlFlow",resolveTo:uE,tokenize:rE},iE={partial:!0,tokenize:cE},aE={partial:!0,tokenize:oE};function uE(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function rE(t,e,n){let l=this,i,a,u,r,o;return f;function f(x){return c(x)}function c(x){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(x),m}function m(x){return x===33?(t.consume(x),p):x===47?(t.consume(x),a=!0,E):x===63?(t.consume(x),i=3,l.interrupt?e:g):be(x)?(t.consume(x),u=String.fromCharCode(x),k):n(x)}function p(x){return x===45?(t.consume(x),i=2,s):x===91?(t.consume(x),i=5,r=0,v):be(x)?(t.consume(x),i=4,l.interrupt?e:g):n(x)}function s(x){return x===45?(t.consume(x),l.interrupt?e:g):n(x)}function v(x){let ue="CDATA[";return x===ue.charCodeAt(r++)?(t.consume(x),r===ue.length?l.interrupt?e:$:v):n(x)}function E(x){return be(x)?(t.consume(x),u=String.fromCharCode(x),k):n(x)}function k(x){if(x===null||x===47||x===62||Et(x)){let ue=x===47,rl=u.toLowerCase();return!ue&&!a&&js.includes(rl)?(i=1,l.interrupt?e(x):$(x)):m0.includes(u.toLowerCase())?(i=6,ue?(t.consume(x),h):l.interrupt?e(x):$(x)):(i=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(x):a?d(x):y(x))}return x===45||Rt(x)?(t.consume(x),u+=String.fromCharCode(x),k):n(x)}function h(x){return x===62?(t.consume(x),l.interrupt?e:$):n(x)}function d(x){return H(x)?(t.consume(x),d):R(x)}function y(x){return x===47?(t.consume(x),R):x===58||x===95||be(x)?(t.consume(x),b):H(x)?(t.consume(x),y):R(x)}function b(x){return x===45||x===46||x===58||x===95||Rt(x)?(t.consume(x),b):O(x)}function O(x){return x===61?(t.consume(x),S):H(x)?(t.consume(x),O):y(x)}function S(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(t.consume(x),o=x,C):H(x)?(t.consume(x),S):N(x)}function C(x){return x===o?(t.consume(x),o=null,_):x===null||M(x)?n(x):(t.consume(x),C)}function N(x){return x===null||x===34||x===39||x===47||x===60||x===61||x===62||x===96||Et(x)?O(x):(t.consume(x),N)}function _(x){return x===47||x===62||H(x)?y(x):n(x)}function R(x){return x===62?(t.consume(x),gt):n(x)}function gt(x){return x===null||M(x)?$(x):H(x)?(t.consume(x),gt):n(x)}function $(x){return x===45&&i===2?(t.consume(x),mt):x===60&&i===1?(t.consume(x),Ot):x===62&&i===4?(t.consume(x),ve):x===63&&i===3?(t.consume(x),g):x===93&&i===5?(t.consume(x),Ve):M(x)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(iE,We,U)(x)):x===null||M(x)?(t.exit("htmlFlowData"),U(x)):(t.consume(x),$)}function U(x){return t.check(aE,G,We)(x)}function G(x){return t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),X}function X(x){return x===null||M(x)?U(x):(t.enter("htmlFlowData"),$(x))}function mt(x){return x===45?(t.consume(x),g):$(x)}function Ot(x){return x===47?(t.consume(x),u="",Ue):$(x)}function Ue(x){if(x===62){let ue=u.toLowerCase();return js.includes(ue)?(t.consume(x),ve):$(x)}return be(x)&&u.length<8?(t.consume(x),u+=String.fromCharCode(x),Ue):$(x)}function Ve(x){return x===93?(t.consume(x),g):$(x)}function g(x){return x===62?(t.consume(x),ve):x===45&&i===2?(t.consume(x),g):$(x)}function ve(x){return x===null||M(x)?(t.exit("htmlFlowData"),We(x)):(t.consume(x),ve)}function We(x){return t.exit("htmlFlow"),e(x)}}function oE(t,e,n){let l=this;return i;function i(u){return M(u)?(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),a):n(u)}function a(u){return l.parser.lazy[l.now().line]?n(u):e(u)}}function cE(t,e,n){return l;function l(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(al,e,n)}}var Vs={name:"htmlText",tokenize:fE};function fE(t,e,n){let l=this,i,a,u;return r;function r(g){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(g),o}function o(g){return g===33?(t.consume(g),f):g===47?(t.consume(g),O):g===63?(t.consume(g),y):be(g)?(t.consume(g),N):n(g)}function f(g){return g===45?(t.consume(g),c):g===91?(t.consume(g),a=0,v):be(g)?(t.consume(g),d):n(g)}function c(g){return g===45?(t.consume(g),s):n(g)}function m(g){return g===null?n(g):g===45?(t.consume(g),p):M(g)?(u=m,Ot(g)):(t.consume(g),m)}function p(g){return g===45?(t.consume(g),s):m(g)}function s(g){return g===62?mt(g):g===45?p(g):m(g)}function v(g){let ve="CDATA[";return g===ve.charCodeAt(a++)?(t.consume(g),a===ve.length?E:v):n(g)}function E(g){return g===null?n(g):g===93?(t.consume(g),k):M(g)?(u=E,Ot(g)):(t.consume(g),E)}function k(g){return g===93?(t.consume(g),h):E(g)}function h(g){return g===62?mt(g):g===93?(t.consume(g),h):E(g)}function d(g){return g===null||g===62?mt(g):M(g)?(u=d,Ot(g)):(t.consume(g),d)}function y(g){return g===null?n(g):g===63?(t.consume(g),b):M(g)?(u=y,Ot(g)):(t.consume(g),y)}function b(g){return g===62?mt(g):y(g)}function O(g){return be(g)?(t.consume(g),S):n(g)}function S(g){return g===45||Rt(g)?(t.consume(g),S):C(g)}function C(g){return M(g)?(u=C,Ot(g)):H(g)?(t.consume(g),C):mt(g)}function N(g){return g===45||Rt(g)?(t.consume(g),N):g===47||g===62||Et(g)?_(g):n(g)}function _(g){return g===47?(t.consume(g),mt):g===58||g===95||be(g)?(t.consume(g),R):M(g)?(u=_,Ot(g)):H(g)?(t.consume(g),_):mt(g)}function R(g){return g===45||g===46||g===58||g===95||Rt(g)?(t.consume(g),R):gt(g)}function gt(g){return g===61?(t.consume(g),$):M(g)?(u=gt,Ot(g)):H(g)?(t.consume(g),gt):_(g)}function $(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(t.consume(g),i=g,U):M(g)?(u=$,Ot(g)):H(g)?(t.consume(g),$):(t.consume(g),G)}function U(g){return g===i?(t.consume(g),i=void 0,X):g===null?n(g):M(g)?(u=U,Ot(g)):(t.consume(g),U)}function G(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||Et(g)?_(g):(t.consume(g),G)}function X(g){return g===47||g===62||Et(g)?_(g):n(g)}function mt(g){return g===62?(t.consume(g),t.exit("htmlTextData"),t.exit("htmlText"),e):n(g)}function Ot(g){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(g),t.exit("lineEnding"),Ue}function Ue(g){return H(g)?Y(t,Ve,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Ve(g)}function Ve(g){return t.enter("htmlTextData"),u(g)}}var Ul={name:"labelEnd",resolveAll:hE,resolveTo:dE,tokenize:yE},sE={tokenize:gE},pE={tokenize:xE},mE={tokenize:bE};function hE(t){let e=-1,n=[];for(;++e<t.length;){let l=t[e][1];if(n.push(t[e]),l.type==="labelImage"||l.type==="labelLink"||l.type==="labelEnd"){let i=l.type==="labelImage"?4:2;l.type="data",e+=i}}return t.length!==n.length&&Yt(t,0,t.length,n),t}function dE(t,e){let n=t.length,l=0,i,a,u,r;for(;n--;)if(i=t[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(t[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){l=2;break}}else i.type==="labelEnd"&&(u=n);let o={type:t[a][1].type==="labelLink"?"link":"image",start:{...t[a][1].start},end:{...t[t.length-1][1].end}},f={type:"label",start:{...t[a][1].start},end:{...t[u][1].end}},c={type:"labelText",start:{...t[a+l+2][1].end},end:{...t[u-2][1].start}};return r=[["enter",o,e],["enter",f,e]],r=Jt(r,t.slice(a+1,a+l+3)),r=Jt(r,[["enter",c,e]]),r=Jt(r,Ui(e.parser.constructs.insideSpan.null,t.slice(a+l+4,u-3),e)),r=Jt(r,[["exit",c,e],t[u-2],t[u-1],["exit",f,e]]),r=Jt(r,t.slice(u+1)),r=Jt(r,[["exit",o,e]]),Yt(t,a,t.length,r),t}function yE(t,e,n){let l=this,i=l.events.length,a,u;for(;i--;)if((l.events[i][1].type==="labelImage"||l.events[i][1].type==="labelLink")&&!l.events[i][1]._balanced){a=l.events[i][1];break}return r;function r(p){return a?a._inactive?m(p):(u=l.parser.defined.includes(An(l.sliceSerialize({start:a.end,end:l.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(p),t.exit("labelMarker"),t.exit("labelEnd"),o):n(p)}function o(p){return p===40?t.attempt(sE,c,u?c:m)(p):p===91?t.attempt(pE,c,u?f:m)(p):u?c(p):m(p)}function f(p){return t.attempt(mE,c,m)(p)}function c(p){return e(p)}function m(p){return a._balanced=!0,n(p)}}function gE(t,e,n){return l;function l(m){return t.enter("resource"),t.enter("resourceMarker"),t.consume(m),t.exit("resourceMarker"),i}function i(m){return Et(m)?Rl(t,a)(m):a(m)}function a(m){return m===41?c(m):ao(t,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function u(m){return Et(m)?Rl(t,o)(m):c(m)}function r(m){return n(m)}function o(m){return m===34||m===39||m===40?ro(t,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):c(m)}function f(m){return Et(m)?Rl(t,c)(m):c(m)}function c(m){return m===41?(t.enter("resourceMarker"),t.consume(m),t.exit("resourceMarker"),t.exit("resource"),e):n(m)}}function xE(t,e,n){let l=this;return i;function i(r){return uo.call(l,t,a,u,"reference","referenceMarker","referenceString")(r)}function a(r){return l.parser.defined.includes(An(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)))?e(r):n(r)}function u(r){return n(r)}}function bE(t,e,n){return l;function l(a){return t.enter("reference"),t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),i}function i(a){return a===93?(t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),t.exit("reference"),e):n(a)}}var Xs={name:"labelStartImage",resolveAll:Ul.resolveAll,tokenize:vE};function vE(t,e,n){let l=this;return i;function i(r){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(r),t.exit("labelImageMarker"),a}function a(r){return r===91?(t.enter("labelMarker"),t.consume(r),t.exit("labelMarker"),t.exit("labelImage"),u):n(r)}function u(r){return r===94&&"_hiddenFootnoteSupport"in l.parser.constructs?n(r):e(r)}}var Gs={name:"labelStartLink",resolveAll:Ul.resolveAll,tokenize:SE};function SE(t,e,n){let l=this;return i;function i(u){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(u),t.exit("labelMarker"),t.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in l.parser.constructs?n(u):e(u)}}var nu={name:"lineEnding",tokenize:EE};function EE(t,e){return n;function n(l){return t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),Y(t,e,"linePrefix")}}var Bl={name:"thematicBreak",tokenize:TE};function TE(t,e,n){let l=0,i;return a;function a(f){return t.enter("thematicBreak"),u(f)}function u(f){return i=f,r(f)}function r(f){return f===i?(t.enter("thematicBreakSequence"),o(f)):l>=3&&(f===null||M(f))?(t.exit("thematicBreak"),e(f)):n(f)}function o(f){return f===i?(t.consume(f),l++,o):(t.exit("thematicBreakSequence"),H(f)?Y(t,r,"whitespace")(f):r(f))}}var Xt={continuation:{tokenize:OE},exit:DE,name:"list",tokenize:CE},zE={partial:!0,tokenize:wE},AE={partial:!0,tokenize:kE};function CE(t,e,n){let l=this,i=l.events[l.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return r;function r(s){let v=l.containerState.type||(s===42||s===43||s===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!l.containerState.marker||s===l.containerState.marker:$a(s)){if(l.containerState.type||(l.containerState.type=v,t.enter(v,{_container:!0})),v==="listUnordered")return t.enter("listItemPrefix"),s===42||s===45?t.check(Bl,n,f)(s):f(s);if(!l.interrupt||s===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),o(s)}return n(s)}function o(s){return $a(s)&&++u<10?(t.consume(s),o):(!l.interrupt||u<2)&&(l.containerState.marker?s===l.containerState.marker:s===41||s===46)?(t.exit("listItemValue"),f(s)):n(s)}function f(s){return t.enter("listItemMarker"),t.consume(s),t.exit("listItemMarker"),l.containerState.marker=l.containerState.marker||s,t.check(al,l.interrupt?n:c,t.attempt(zE,p,m))}function c(s){return l.containerState.initialBlankLine=!0,a++,p(s)}function m(s){return H(s)?(t.enter("listItemPrefixWhitespace"),t.consume(s),t.exit("listItemPrefixWhitespace"),p):n(s)}function p(s){return l.containerState.size=a+l.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(s)}}function OE(t,e,n){let l=this;return l.containerState._closeFlow=void 0,t.check(al,i,a);function i(r){return l.containerState.furtherBlankLines=l.containerState.furtherBlankLines||l.containerState.initialBlankLine,Y(t,e,"listItemIndent",l.containerState.size+1)(r)}function a(r){return l.containerState.furtherBlankLines||!H(r)?(l.containerState.furtherBlankLines=void 0,l.containerState.initialBlankLine=void 0,u(r)):(l.containerState.furtherBlankLines=void 0,l.containerState.initialBlankLine=void 0,t.attempt(AE,e,u)(r))}function u(r){return l.containerState._closeFlow=!0,l.interrupt=void 0,Y(t,t.attempt(Xt,e,n),"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}function kE(t,e,n){let l=this;return Y(t,i,"listItemIndent",l.containerState.size+1);function i(a){let u=l.events[l.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===l.containerState.size?e(a):n(a)}}function DE(t){t.exit(this.containerState.type)}function wE(t,e,n){let l=this;return Y(t,i,"listItemPrefixWhitespace",l.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){let u=l.events[l.events.length-1];return!H(a)&&u&&u[1].type==="listItemPrefixWhitespace"?e(a):n(a)}}var oo={name:"setextUnderline",resolveTo:_E,tokenize:ME};function _E(t,e){let n=t.length,l,i,a;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){l=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!a&&t[n][1].type==="definition"&&(a=n);let u={type:"setextHeading",start:{...t[l][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",a?(t.splice(i,0,["enter",u,e]),t.splice(a+1,0,["exit",t[l][1],e]),t[l][1].end={...t[a][1].end}):t[l][1]=u,t.push(["exit",u,e]),t}function ME(t,e,n){let l=this,i;return a;function a(f){let c=l.events.length,m;for(;c--;)if(l.events[c][1].type!=="lineEnding"&&l.events[c][1].type!=="linePrefix"&&l.events[c][1].type!=="content"){m=l.events[c][1].type==="paragraph";break}return!l.parser.lazy[l.now().line]&&(l.interrupt||m)?(t.enter("setextHeadingLine"),i=f,u(f)):n(f)}function u(f){return t.enter("setextHeadingLineSequence"),r(f)}function r(f){return f===i?(t.consume(f),r):(t.exit("setextHeadingLineSequence"),H(f)?Y(t,o,"lineSuffix")(f):o(f))}function o(f){return f===null||M(f)?(t.exit("setextHeadingLine"),e(f)):n(f)}}var h0={tokenize:NE};function NE(t){let e=this,n=t.attempt(al,l,t.attempt(this.parser.constructs.flowInitial,i,Y(t,t.attempt(this.parser.constructs.flow,i,t.attempt(Bs,i)),"linePrefix")));return n;function l(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),e.currentConstruct=void 0,n}}var d0={resolveAll:b0()},y0=x0("string"),g0=x0("text");function x0(t){return{resolveAll:b0(t==="text"?RE:void 0),tokenize:e};function e(n){let l=this,i=this.parser.constructs[t],a=n.attempt(i,u,r);return u;function u(c){return f(c)?a(c):r(c)}function r(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),o}function o(c){return f(c)?(n.exit("data"),a(c)):(n.consume(c),o)}function f(c){if(c===null)return!0;let m=i[c],p=-1;if(m)for(;++p<m.length;){let s=m[p];if(!s.previous||s.previous.call(l,l.previous))return!0}return!1}}}function b0(t){return e;function e(n,l){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return t?t(n,l):n}}function RE(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||t[n][1].type==="lineEnding")&&t[n-1][1].type==="data"){let l=t[n-1][1],i=e.sliceStream(l),a=i.length,u=-1,r=0,o;for(;a--;){let f=i[a];if(typeof f=="string"){for(u=f.length;f.charCodeAt(u-1)===32;)r++,u--;if(u)break;u=-1}else if(f===-2)o=!0,r++;else if(f!==-1){a++;break}}if(e._contentTypeTextTrailing&&n===t.length&&(r=0),r){let f={type:n===t.length||o||r<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?u:l.start._bufferIndex+u,_index:l.start._index+a,line:l.end.line,column:l.end.column-r,offset:l.end.offset-r},end:{...l.end}};l.end={...f.start},l.start.offset===l.end.offset?Object.assign(l,f):(t.splice(n,0,["enter",f,e],["exit",f,e]),n+=2)}n++}return t}var Qs={};Sp(Qs,{attentionMarkers:()=>VE,contentInitial:()=>BE,disable:()=>XE,document:()=>UE,flow:()=>LE,flowInitial:()=>HE,insideSpan:()=>YE,string:()=>qE,text:()=>jE});var UE={42:Xt,43:Xt,45:Xt,48:Xt,49:Xt,50:Xt,51:Xt,52:Xt,53:Xt,54:Xt,55:Xt,56:Xt,57:Xt,62:Pr},BE={91:Hs},HE={[-2]:tu,[-1]:tu,32:tu},LE={35:qs,42:Bl,45:[oo,Bl],60:Ys,61:oo,95:Bl,96:no,126:no},qE={38:eo,92:to},jE={[-5]:nu,[-4]:nu,[-3]:nu,33:Xs,38:eo,42:Pa,60:[Rs,Vs],91:Gs,92:[Ls,to],93:Ul,95:Pa,96:Us},YE={null:[Pa,d0]},VE={null:[42,95]},XE={null:[]};function v0(t,e,n){let l={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],u=[],r=[],o=!0,f={attempt:_(C),check:_(N),consume:b,enter:O,exit:S,interrupt:_(N,{interrupt:!0})},c={code:null,containerState:{},defineSkip:h,events:[],now:k,parser:t,previous:null,sliceSerialize:v,sliceStream:E,write:s},m=e.tokenize.call(c,f),p;return e.resolveAll&&a.push(e),c;function s(U){return u=Jt(u,U),d(),u[u.length-1]!==null?[]:(R(e,0),c.events=Ui(a,c.events,c),c.events)}function v(U,G){return QE(E(U),G)}function E(U){return GE(u,U)}function k(){let{_bufferIndex:U,_index:G,line:X,column:mt,offset:Ot}=l;return{_bufferIndex:U,_index:G,line:X,column:mt,offset:Ot}}function h(U){i[U.line]=U.column,$()}function d(){let U;for(;l._index<u.length;){let G=u[l._index];if(typeof G=="string")for(U=l._index,l._bufferIndex<0&&(l._bufferIndex=0);l._index===U&&l._bufferIndex<G.length;)y(G.charCodeAt(l._bufferIndex));else y(G)}}function y(U){o=void 0,p=U,m=m(U)}function b(U){M(U)?(l.line++,l.column=1,l.offset+=U===-3?2:1,$()):U!==-1&&(l.column++,l.offset++),l._bufferIndex<0?l._index++:(l._bufferIndex++,l._bufferIndex===u[l._index].length&&(l._bufferIndex=-1,l._index++)),c.previous=U,o=!0}function O(U,G){let X=G||{};return X.type=U,X.start=k(),c.events.push(["enter",X,c]),r.push(X),X}function S(U){let G=r.pop();return G.end=k(),c.events.push(["exit",G,c]),G}function C(U,G){R(U,G.from)}function N(U,G){G.restore()}function _(U,G){return X;function X(mt,Ot,Ue){let Ve,g,ve,We;return Array.isArray(mt)?ue(mt):"tokenize"in mt?ue([mt]):x(mt);function x(Ut){return ji;function ji($e){let ol=$e!==null&&Ut[$e],Ll=$e!==null&&Ut.null,zo=[...Array.isArray(ol)?ol:ol?[ol]:[],...Array.isArray(Ll)?Ll:Ll?[Ll]:[]];return ue(zo)($e)}}function ue(Ut){return Ve=Ut,g=0,Ut.length===0?Ue:rl(Ut[g])}function rl(Ut){return ji;function ji($e){return We=gt(),ve=Ut,Ut.partial||(c.currentConstruct=Ut),Ut.name&&c.parser.constructs.disable.null.includes(Ut.name)?ru($e):Ut.tokenize.call(G?Object.assign(Object.create(c),G):c,f,To,ru)($e)}}function To(Ut){return o=!0,U(ve,We),Ot}function ru(Ut){return o=!0,We.restore(),++g<Ve.length?rl(Ve[g]):Ue}}}function R(U,G){U.resolveAll&&!a.includes(U)&&a.push(U),U.resolve&&Yt(c.events,G,c.events.length-G,U.resolve(c.events.slice(G),c)),U.resolveTo&&(c.events=U.resolveTo(c.events,c))}function gt(){let U=k(),G=c.previous,X=c.currentConstruct,mt=c.events.length,Ot=Array.from(r);return{from:mt,restore:Ue};function Ue(){l=U,c.previous=G,c.currentConstruct=X,c.events.length=mt,r=Ot,$()}}function $(){l.line in i&&l.column<2&&(l.column=i[l.line],l.offset+=i[l.line]-1)}}function GE(t,e){let n=e.start._index,l=e.start._bufferIndex,i=e.end._index,a=e.end._bufferIndex,u;if(n===i)u=[t[n].slice(l,a)];else{if(u=t.slice(n,i),l>-1){let r=u[0];typeof r=="string"?u[0]=r.slice(l):u.shift()}a>0&&u.push(t[i].slice(0,a))}return u}function QE(t,e){let n=-1,l=[],i;for(;++n<t.length;){let a=t[n],u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
|
|
187
|
-
`;break}case-3:{
|
|
188
|
-
`;break}case-2:{u=e?" ":" ";break}case-1:{if(!e&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,l.push(u)}return l.join("")}function Zs(t){let l={constructs:n0([Qs,...(t||{}).extensions||[]]),content:i(o0),defined:[],document:i(f0),flow:i(h0),lazy:{},string:i(y0),text:i(g0)};return l;function i(a){return u;function u(r){return v0(l,a,r)}}}function Ks(t){for(;!io(t););return t}var S0=/[\0\t\n\r]/g;function Js(){let t=1,e="",n=!0,l;return i;function i(a,u,r){let o=[],f,c,m,p,s;for(a=e+(typeof a=="string"?a.toString():new TextDecoder(u||void 0).decode(a)),m=0,e="",n&&(a.charCodeAt(0)===65279&&m++,n=void 0);m<a.length;){if(S0.lastIndex=m,f=S0.exec(a),p=f&&f.index!==void 0?f.index:a.length,s=a.charCodeAt(p),!f){e=a.slice(m);break}if(s===10&&m===p&&l)o.push(-3),l=void 0;else switch(l&&(o.push(-5),l=void 0),m<p&&(o.push(a.slice(m,p)),t+=p-m),s){case 0:{o.push(65533),t++;break}case 9:{for(c=Math.ceil(t/4)*4,o.push(-2);t++<c;)o.push(-1);break}case 10:{o.push(-4),t=1;break}default:l=!0,t=1}m=p+1}return r&&(l&&o.push(-5),e&&o.push(e),o.push(null)),o}}var ZE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function E0(t){return t.replace(ZE,KE)}function KE(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){let i=n.charCodeAt(1),a=i===120||i===88;return $r(n.slice(a?2:1),a?16:10)}return Ri(n)||t}var z0={}.hasOwnProperty;function Fs(t,e,n){return typeof e!="string"&&(n=e,e=void 0),JE(n)(Ks(Zs(n).document().write(Js()(t,e,!0))))}function JE(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(bp),autolinkProtocol:_,autolinkEmail:_,atxHeading:a(yp),blockQuote:a($e),characterEscape:_,characterReference:_,codeFenced:a(ol),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(ol,u),codeText:a(Ll,u),codeTextData:_,data:_,codeFlowValue:_,definition:a(zo),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(M1),hardBreakEscape:a(gp),hardBreakTrailing:a(gp),htmlFlow:a(xp,u),htmlFlowData:_,htmlText:a(xp,u),htmlTextData:_,image:a(N1),label:u,link:a(bp),listItem:a(R1),listItemValue:p,listOrdered:a(vp,m),listUnordered:a(vp),paragraph:a(U1),reference:x,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(yp),strong:a(B1),thematicBreak:a(L1)},exit:{atxHeading:o(),atxHeadingSequence:O,autolink:o(),autolinkEmail:ji,autolinkProtocol:Ut,blockQuote:o(),characterEscapeValue:R,characterReferenceMarkerHexadecimal:rl,characterReferenceMarkerNumeric:rl,characterReferenceValue:To,characterReference:ru,codeFenced:o(k),codeFencedFence:E,codeFencedFenceInfo:s,codeFencedFenceMeta:v,codeFlowValue:R,codeIndented:o(h),codeText:o(X),codeTextData:R,data:R,definition:o(),definitionDestinationString:b,definitionLabelString:d,definitionTitleString:y,emphasis:o(),hardBreakEscape:o($),hardBreakTrailing:o($),htmlFlow:o(U),htmlFlowData:R,htmlText:o(G),htmlTextData:R,image:o(Ot),label:Ve,labelText:Ue,lineEnding:gt,link:o(mt),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:ue,resourceDestinationString:g,resourceTitleString:ve,resource:We,setextHeading:o(N),setextHeadingLineSequence:C,setextHeadingText:S,strong:o(),thematicBreak:o()}};A0(e,(t||{}).mdastExtensions||[]);let n={};return l;function l(T){let D={type:"root",children:[]},L={stack:[D],tokenStack:[],config:e,enter:r,exit:f,buffer:u,resume:c,data:n},J=[],it=-1;for(;++it<T.length;)if(T[it][1].type==="listOrdered"||T[it][1].type==="listUnordered")if(T[it][0]==="enter")J.push(it);else{let Be=J.pop();it=i(T,Be,it)}for(it=-1;++it<T.length;){let Be=e[T[it][0]];z0.call(Be,T[it][1].type)&&Be[T[it][1].type].call(Object.assign({sliceSerialize:T[it][2].sliceSerialize},L),T[it][1])}if(L.tokenStack.length>0){let Be=L.tokenStack[L.tokenStack.length-1];(Be[1]||T0).call(L,void 0,Be[0])}for(D.position={start:ul(T.length>0?T[0][1].start:{line:1,column:1,offset:0}),end:ul(T.length>0?T[T.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<e.transforms.length;)D=e.transforms[it](D)||D;return D}function i(T,D,L){let J=D-1,it=-1,Be=!1,cl,Pe,Yi,Vi;for(;++J<=L;){let re=T[J];switch(re[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{re[0]==="enter"?it++:it--,Vi=void 0;break}case"lineEndingBlank":{re[0]==="enter"&&(cl&&!Vi&&!it&&!Yi&&(Yi=J),Vi=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Vi=void 0}if(!it&&re[0]==="enter"&&re[1].type==="listItemPrefix"||it===-1&&re[0]==="exit"&&(re[1].type==="listUnordered"||re[1].type==="listOrdered")){if(cl){let ql=J;for(Pe=void 0;ql--;){let tn=T[ql];if(tn[1].type==="lineEnding"||tn[1].type==="lineEndingBlank"){if(tn[0]==="exit")continue;Pe&&(T[Pe][1].type="lineEndingBlank",Be=!0),tn[1].type="lineEnding",Pe=ql}else if(!(tn[1].type==="linePrefix"||tn[1].type==="blockQuotePrefix"||tn[1].type==="blockQuotePrefixWhitespace"||tn[1].type==="blockQuoteMarker"||tn[1].type==="listItemIndent"))break}Yi&&(!Pe||Yi<Pe)&&(cl._spread=!0),cl.end=Object.assign({},Pe?T[Pe][1].start:re[1].end),T.splice(Pe||J,0,["exit",cl,re[2]]),J++,L++}if(re[1].type==="listItemPrefix"){let ql={type:"listItem",_spread:!1,start:Object.assign({},re[1].start),end:void 0};cl=ql,T.splice(J,0,["enter",ql,re[2]]),J++,L++,Yi=void 0,Vi=!0}}}return T[D][1]._spread=Be,L}function a(T,D){return L;function L(J){r.call(this,T(J),J),D&&D.call(this,J)}}function u(){this.stack.push({type:"fragment",children:[]})}function r(T,D,L){this.stack[this.stack.length-1].children.push(T),this.stack.push(T),this.tokenStack.push([D,L||void 0]),T.position={start:ul(D.start),end:void 0}}function o(T){return D;function D(L){T&&T.call(this,L),f.call(this,L)}}function f(T,D){let L=this.stack.pop(),J=this.tokenStack.pop();if(J)J[0].type!==T.type&&(D?D.call(this,T,J[0]):(J[1]||T0).call(this,T,J[0]));else throw new Error("Cannot close `"+T.type+"` ("+ll({start:T.start,end:T.end})+"): it\u2019s not open");L.position.end=ul(T.end)}function c(){return Ms(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function p(T){if(this.data.expectingFirstListItemValue){let D=this.stack[this.stack.length-2];D.start=Number.parseInt(this.sliceSerialize(T),10),this.data.expectingFirstListItemValue=void 0}}function s(){let T=this.resume(),D=this.stack[this.stack.length-1];D.lang=T}function v(){let T=this.resume(),D=this.stack[this.stack.length-1];D.meta=T}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){let T=this.resume(),D=this.stack[this.stack.length-1];D.value=T.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function h(){let T=this.resume(),D=this.stack[this.stack.length-1];D.value=T.replace(/(\r?\n|\r)$/g,"")}function d(T){let D=this.resume(),L=this.stack[this.stack.length-1];L.label=D,L.identifier=An(this.sliceSerialize(T)).toLowerCase()}function y(){let T=this.resume(),D=this.stack[this.stack.length-1];D.title=T}function b(){let T=this.resume(),D=this.stack[this.stack.length-1];D.url=T}function O(T){let D=this.stack[this.stack.length-1];if(!D.depth){let L=this.sliceSerialize(T).length;D.depth=L}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(T){let D=this.stack[this.stack.length-1];D.depth=this.sliceSerialize(T).codePointAt(0)===61?1:2}function N(){this.data.setextHeadingSlurpLineEnding=void 0}function _(T){let L=this.stack[this.stack.length-1].children,J=L[L.length-1];(!J||J.type!=="text")&&(J=H1(),J.position={start:ul(T.start),end:void 0},L.push(J)),this.stack.push(J)}function R(T){let D=this.stack.pop();D.value+=this.sliceSerialize(T),D.position.end=ul(T.end)}function gt(T){let D=this.stack[this.stack.length-1];if(this.data.atHardBreak){let L=D.children[D.children.length-1];L.position.end=ul(T.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(D.type)&&(_.call(this,T),R.call(this,T))}function $(){this.data.atHardBreak=!0}function U(){let T=this.resume(),D=this.stack[this.stack.length-1];D.value=T}function G(){let T=this.resume(),D=this.stack[this.stack.length-1];D.value=T}function X(){let T=this.resume(),D=this.stack[this.stack.length-1];D.value=T}function mt(){let T=this.stack[this.stack.length-1];if(this.data.inReference){let D=this.data.referenceType||"shortcut";T.type+="Reference",T.referenceType=D,delete T.url,delete T.title}else delete T.identifier,delete T.label;this.data.referenceType=void 0}function Ot(){let T=this.stack[this.stack.length-1];if(this.data.inReference){let D=this.data.referenceType||"shortcut";T.type+="Reference",T.referenceType=D,delete T.url,delete T.title}else delete T.identifier,delete T.label;this.data.referenceType=void 0}function Ue(T){let D=this.sliceSerialize(T),L=this.stack[this.stack.length-2];L.label=E0(D),L.identifier=An(D).toLowerCase()}function Ve(){let T=this.stack[this.stack.length-1],D=this.resume(),L=this.stack[this.stack.length-1];if(this.data.inReference=!0,L.type==="link"){let J=T.children;L.children=J}else L.alt=D}function g(){let T=this.resume(),D=this.stack[this.stack.length-1];D.url=T}function ve(){let T=this.resume(),D=this.stack[this.stack.length-1];D.title=T}function We(){this.data.inReference=void 0}function x(){this.data.referenceType="collapsed"}function ue(T){let D=this.resume(),L=this.stack[this.stack.length-1];L.label=D,L.identifier=An(this.sliceSerialize(T)).toLowerCase(),this.data.referenceType="full"}function rl(T){this.data.characterReferenceType=T.type}function To(T){let D=this.sliceSerialize(T),L=this.data.characterReferenceType,J;L?(J=$r(D,L==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):J=Ri(D);let it=this.stack[this.stack.length-1];it.value+=J}function ru(T){let D=this.stack.pop();D.position.end=ul(T.end)}function Ut(T){R.call(this,T);let D=this.stack[this.stack.length-1];D.url=this.sliceSerialize(T)}function ji(T){R.call(this,T);let D=this.stack[this.stack.length-1];D.url="mailto:"+this.sliceSerialize(T)}function $e(){return{type:"blockquote",children:[]}}function ol(){return{type:"code",lang:null,meta:null,value:""}}function Ll(){return{type:"inlineCode",value:""}}function zo(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function M1(){return{type:"emphasis",children:[]}}function yp(){return{type:"heading",depth:0,children:[]}}function gp(){return{type:"break"}}function xp(){return{type:"html",value:""}}function N1(){return{type:"image",title:null,url:"",alt:null}}function bp(){return{type:"link",title:null,url:"",children:[]}}function vp(T){return{type:"list",ordered:T.type==="listOrdered",start:null,spread:T._spread,children:[]}}function R1(T){return{type:"listItem",spread:T._spread,checked:null,children:[]}}function U1(){return{type:"paragraph",children:[]}}function B1(){return{type:"strong",children:[]}}function H1(){return{type:"text",value:""}}function L1(){return{type:"thematicBreak"}}}function ul(t){return{line:t.line,column:t.column,offset:t.offset}}function A0(t,e){let n=-1;for(;++n<e.length;){let l=e[n];Array.isArray(l)?A0(t,l):FE(t,l)}}function FE(t,e){let n;for(n in e)if(z0.call(e,n))switch(n){case"canContainEols":{let l=e[n];l&&t[n].push(...l);break}case"transforms":{let l=e[n];l&&t[n].push(...l);break}case"enter":case"exit":{let l=e[n];l&&Object.assign(t[n],l);break}}}function T0(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+ll({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+ll({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+ll({start:e.start,end:e.end})+") is still open")}function co(t){let e=this;e.parser=n;function n(l){return Fs(l,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function C0(t,e){let n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function O0(t,e){let n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
|
|
189
|
-
`}]}function
|
|
190
|
-
`:"",l={},i=e.lang?e.lang.split(/\s+/):[];i.length>0&&(l.className=["language-"+i[0]]);let
|
|
191
|
-
`}),
|
|
192
|
-
`});let
|
|
193
|
-
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(
|
|
194
|
-
`}]}}var
|
|
188
|
+
`,eo=16,v1=({reverseOrder:t,position:e="top-center",toastOptions:n,gutter:l,children:i,toasterId:r,containerStyle:a,containerClassName:u})=>{let{toasts:o,handlers:c}=R2(n,r);return al.createElement("div",{"data-rht-toaster":r||"",style:{position:"fixed",zIndex:9999,top:eo,left:eo,right:eo,bottom:eo,pointerEvents:"none",...a},className:u,onMouseEnter:c.startPause,onMouseLeave:c.endPause},o.map(s=>{let f=s.position||e,m=c.calculateOffset(s,{reverseOrder:t,gutter:l,defaultPosition:e}),p=lk(f,m);return al.createElement(nk,{id:s.id,key:s.id,onHeightUpdate:c.updateHeight,className:s.visible?ik:"",style:p},s.type==="custom"?lo(s.message,s):i?i(s):al.createElement(ek,{toast:s,position:f}))}))};function S1(t,e){let n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var rk=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ak=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,uk={};function ro(t,e){return((e||uk).jsx?ak:rk).test(t)}var ok=/[ \t\n\f\r]/g;function Uf(t){return typeof t=="object"?t.type==="text"?k1(t.value):!1:k1(t)}function k1(t){return t.replace(ok,"")===""}var Cn=class{constructor(e,n,l){this.normal=n,this.property=e,l&&(this.space=l)}};Cn.prototype.normal={};Cn.prototype.property={};Cn.prototype.space=void 0;function Bf(t,e){let n={},l={};for(let i of t)Object.assign(n,i.property),Object.assign(l,i.normal);return new Cn(n,l,e)}function oa(t){return t.toLowerCase()}var Ut=class{constructor(e,n){this.attribute=n,this.property=e}};Ut.prototype.attribute="";Ut.prototype.booleanish=!1;Ut.prototype.boolean=!1;Ut.prototype.commaOrSpaceSeparated=!1;Ut.prototype.commaSeparated=!1;Ut.prototype.defined=!1;Ut.prototype.mustUseProperty=!1;Ut.prototype.number=!1;Ut.prototype.overloadedBoolean=!1;Ut.prototype.property="";Ut.prototype.spaceSeparated=!1;Ut.prototype.space=void 0;var ca={};vp(ca,{boolean:()=>Y,booleanish:()=>bt,commaOrSpaceSeparated:()=>ue,commaSeparated:()=>ul,number:()=>D,overloadedBoolean:()=>ao,spaceSeparated:()=>lt});var ck=0,Y=Hl(),bt=Hl(),ao=Hl(),D=Hl(),lt=Hl(),ul=Hl(),ue=Hl();function Hl(){return 2**++ck}var Hf=Object.keys(ca),ql=class extends Ut{constructor(e,n,l,i){let r=-1;if(super(e,n),E1(this,"space",i),typeof l=="number")for(;++r<Hf.length;){let a=Hf[r];E1(this,Hf[r],(l&ca[a])===ca[a])}}};ql.prototype.defined=!0;function E1(t,e,n){n&&(t[e]=n)}function Ne(t){let e={},n={};for(let[l,i]of Object.entries(t.properties)){let r=new ql(l,t.transform(t.attributes||{},l),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),e[l]=r,n[oa(l)]=l,n[oa(r.attribute)]=l}return new Cn(e,n,t.space)}var qf=Ne({properties:{ariaActiveDescendant:null,ariaAtomic:bt,ariaAutoComplete:null,ariaBusy:bt,ariaChecked:bt,ariaColCount:D,ariaColIndex:D,ariaColSpan:D,ariaControls:lt,ariaCurrent:null,ariaDescribedBy:lt,ariaDetails:null,ariaDisabled:bt,ariaDropEffect:lt,ariaErrorMessage:null,ariaExpanded:bt,ariaFlowTo:lt,ariaGrabbed:bt,ariaHasPopup:null,ariaHidden:bt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lt,ariaLevel:D,ariaLive:null,ariaModal:bt,ariaMultiLine:bt,ariaMultiSelectable:bt,ariaOrientation:null,ariaOwns:lt,ariaPlaceholder:null,ariaPosInSet:D,ariaPressed:bt,ariaReadOnly:bt,ariaRelevant:null,ariaRequired:bt,ariaRoleDescription:lt,ariaRowCount:D,ariaRowIndex:D,ariaRowSpan:D,ariaSelected:bt,ariaSetSize:D,ariaSort:null,ariaValueMax:D,ariaValueMin:D,ariaValueNow:D,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function uo(t,e){return e in t?t[e]:e}function oo(t,e){return uo(t,e.toLowerCase())}var T1=Ne({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ul,acceptCharset:lt,accessKey:lt,action:null,allow:null,allowFullScreen:Y,allowPaymentRequest:Y,allowUserMedia:Y,alt:null,as:null,async:Y,autoCapitalize:null,autoComplete:lt,autoFocus:Y,autoPlay:Y,blocking:lt,capture:null,charSet:null,checked:Y,cite:null,className:lt,cols:D,colSpan:null,content:null,contentEditable:bt,controls:Y,controlsList:lt,coords:D|ul,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Y,defer:Y,dir:null,dirName:null,disabled:Y,download:ao,draggable:bt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Y,formTarget:null,headers:lt,height:D,hidden:ao,high:D,href:null,hrefLang:null,htmlFor:lt,httpEquiv:lt,id:null,imageSizes:null,imageSrcSet:null,inert:Y,inputMode:null,integrity:null,is:null,isMap:Y,itemId:null,itemProp:lt,itemRef:lt,itemScope:Y,itemType:lt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Y,low:D,manifest:null,max:null,maxLength:D,media:null,method:null,min:null,minLength:D,multiple:Y,muted:Y,name:null,nonce:null,noModule:Y,noValidate:Y,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:Y,optimum:D,pattern:null,ping:lt,placeholder:null,playsInline:Y,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Y,referrerPolicy:null,rel:lt,required:Y,reversed:Y,rows:D,rowSpan:D,sandbox:lt,scope:null,scoped:Y,seamless:Y,selected:Y,shadowRootClonable:Y,shadowRootDelegatesFocus:Y,shadowRootMode:null,shape:null,size:D,sizes:null,slot:null,span:D,spellCheck:bt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:D,step:null,style:null,tabIndex:D,target:null,title:null,translate:null,type:null,typeMustMatch:Y,useMap:null,value:bt,width:D,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lt,axis:null,background:null,bgColor:null,border:D,borderColor:null,bottomMargin:D,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Y,declare:Y,event:null,face:null,frame:null,frameBorder:null,hSpace:D,leftMargin:D,link:null,longDesc:null,lowSrc:null,marginHeight:D,marginWidth:D,noResize:Y,noHref:Y,noShade:Y,noWrap:Y,object:null,profile:null,prompt:null,rev:null,rightMargin:D,rules:null,scheme:null,scrolling:bt,standby:null,summary:null,text:null,topMargin:D,valueType:null,version:null,vAlign:null,vLink:null,vSpace:D,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Y,disableRemotePlayback:Y,prefix:null,property:null,results:D,security:null,unselectable:null},space:"html",transform:oo});var A1=Ne({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:ue,accentHeight:D,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:D,amplitude:D,arabicForm:null,ascent:D,attributeName:null,attributeType:null,azimuth:D,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:D,by:null,calcMode:null,capHeight:D,className:lt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:D,diffuseConstant:D,direction:null,display:null,dur:null,divisor:D,dominantBaseline:null,download:Y,dx:null,dy:null,edgeMode:null,editable:null,elevation:D,enableBackground:null,end:null,event:null,exponent:D,externalResourcesRequired:null,fill:null,fillOpacity:D,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ul,g2:ul,glyphName:ul,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:D,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:D,horizOriginX:D,horizOriginY:D,id:null,ideographic:D,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:D,k:D,k1:D,k2:D,k3:D,k4:D,kernelMatrix:ue,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:D,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:D,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:D,overlineThickness:D,paintOrder:null,panose1:null,path:null,pathLength:D,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:D,pointsAtY:D,pointsAtZ:D,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ue,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ue,rev:ue,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ue,requiredFeatures:ue,requiredFonts:ue,requiredFormats:ue,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:D,specularExponent:D,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:D,strikethroughThickness:D,string:null,stroke:null,strokeDashArray:ue,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:D,strokeOpacity:D,strokeWidth:null,style:null,surfaceScale:D,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ue,tabIndex:D,tableValues:null,target:null,targetX:D,targetY:D,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ue,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:D,underlineThickness:D,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:D,values:null,vAlphabetic:D,vMathematical:D,vectorEffect:null,vHanging:D,vIdeographic:D,version:null,vertAdvY:D,vertOriginX:D,vertOriginY:D,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:D,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:uo});var jf=Ne({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}});var Yf=Ne({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:oo});var Vf=Ne({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}});var Xf={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"};var sk=/[A-Z]/g,z1=/-[a-z]/g,fk=/^data[-\w.:]+$/i;function Qf(t,e){let n=oa(e),l=e,i=Ut;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&fk.test(e)){if(e.charAt(4)==="-"){let r=e.slice(5).replace(z1,pk);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{let r=e.slice(4);if(!z1.test(r)){let a=r.replace(sk,mk);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=ql}return new i(l,e)}function mk(t){return"-"+t.toLowerCase()}function pk(t){return t.charAt(1).toUpperCase()}var w1=Bf([qf,T1,jf,Yf,Vf],"html"),co=Bf([qf,A1,jf,Yf,Vf],"svg");function C1(t){return t.join(" ").trim()}var X1=$t(q1(),1);var fo=j1("end"),Zi=j1("start");function j1(t){return e;function e(n){let l=n&&n.position&&n.position[t]||{};if(typeof l.line=="number"&&l.line>0&&typeof l.column=="number"&&l.column>0)return{line:l.line,column:l.column,offset:typeof l.offset=="number"&&l.offset>-1?l.offset:void 0}}}function Ff(t){let e=Zi(t),n=fo(t);if(e&&n)return{start:e,end:n}}function ol(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Y1(t.position):"start"in t||"end"in t?Y1(t):"line"in t||"column"in t?Kf(t):""}function Kf(t){return V1(t&&t.line)+":"+V1(t&&t.column)}function Y1(t){return Kf(t&&t.start)+"-"+Kf(t&&t.end)}function V1(t){return t&&typeof t=="number"?t:1}var Et=class extends Error{constructor(e,n,l){super(),typeof n=="string"&&(l=n,n=void 0);let i="",r={},a=!1;if(n&&("line"in n&&"column"in n?r={place:n}:"start"in n&&"end"in n?r={place:n}:"type"in n?r={ancestors:[n],place:n.position}:r={...n}),typeof e=="string"?i=e:!r.cause&&e&&(a=!0,i=e.message,r.cause=e),!r.ruleId&&!r.source&&typeof l=="string"){let o=l.indexOf(":");o===-1?r.ruleId=l:(r.source=l.slice(0,o),r.ruleId=l.slice(o+1))}if(!r.place&&r.ancestors&&r.ancestors){let o=r.ancestors[r.ancestors.length-1];o&&(r.place=o.position)}let u=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=u?u.line:void 0,this.name=ol(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=a&&r.cause&&typeof r.cause.stack=="string"?r.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Et.prototype.file="";Et.prototype.name="";Et.prototype.reason="";Et.prototype.message="";Et.prototype.stack="";Et.prototype.column=void 0;Et.prototype.line=void 0;Et.prototype.ancestors=void 0;Et.prototype.cause=void 0;Et.prototype.fatal=void 0;Et.prototype.place=void 0;Et.prototype.ruleId=void 0;Et.prototype.source=void 0;var Jf={}.hasOwnProperty,qk=new Map,jk=/[A-Z]/g,Yk=new Set(["table","tbody","thead","tfoot","tr"]),Vk=new Set(["td","th"]),Q1="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function If(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let n=e.filePath||void 0,l;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");l=Ik(n,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");l=Jk(n,e.jsx,e.jsxs)}let i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:l,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?co:w1,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},r=G1(i,t,void 0);return r&&typeof r!="string"?r:i.create(t,i.Fragment,{children:r||void 0},void 0)}function G1(t,e,n){if(e.type==="element")return Xk(t,e,n);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return Qk(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return Zk(t,e,n);if(e.type==="mdxjsEsm")return Gk(t,e);if(e.type==="root")return Fk(t,e,n);if(e.type==="text")return Kk(t,e)}function Xk(t,e,n){let l=t.schema,i=l;e.tagName.toLowerCase()==="svg"&&l.space==="html"&&(i=co,t.schema=i),t.ancestors.push(e);let r=F1(t,e.tagName,!1),a=Wk(t,e),u=$f(t,e);return Yk.has(e.tagName)&&(u=u.filter(function(o){return typeof o=="string"?!Uf(o):!0})),Z1(t,a,r,e),Wf(a,u),t.ancestors.pop(),t.schema=l,t.create(e,r,a,n)}function Qk(t,e){if(e.data&&e.data.estree&&t.evaluater){let l=e.data.estree.body[0];return l.type,t.evaluater.evaluateExpression(l.expression)}fa(t,e.position)}function Gk(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);fa(t,e.position)}function Zk(t,e,n){let l=t.schema,i=l;e.name==="svg"&&l.space==="html"&&(i=co,t.schema=i),t.ancestors.push(e);let r=e.name===null?t.Fragment:F1(t,e.name,!0),a=$k(t,e),u=$f(t,e);return Z1(t,a,r,e),Wf(a,u),t.ancestors.pop(),t.schema=l,t.create(e,r,a,n)}function Fk(t,e,n){let l={};return Wf(l,$f(t,e)),t.create(e,t.Fragment,l,n)}function Kk(t,e){return e.value}function Z1(t,e,n,l){typeof n!="string"&&n!==t.Fragment&&t.passNode&&(e.node=l)}function Wf(t,e){if(e.length>0){let n=e.length>1?e:e[0];n&&(t.children=n)}}function Jk(t,e,n){return l;function l(i,r,a,u){let c=Array.isArray(a.children)?n:e;return u?c(r,a,u):c(r,a)}}function Ik(t,e){return n;function n(l,i,r,a){let u=Array.isArray(r.children),o=Zi(l);return e(i,r,a,u,{columnNumber:o?o.column-1:void 0,fileName:t,lineNumber:o?o.line:void 0},void 0)}}function Wk(t,e){let n={},l,i;for(i in e.properties)if(i!=="children"&&Jf.call(e.properties,i)){let r=Pk(t,i,e.properties[i]);if(r){let[a,u]=r;t.tableCellAlignToStyle&&a==="align"&&typeof u=="string"&&Vk.has(e.tagName)?l=u:n[a]=u}}if(l){let r=n.style||(n.style={});r[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=l}return n}function $k(t,e){let n={};for(let l of e.attributes)if(l.type==="mdxJsxExpressionAttribute")if(l.data&&l.data.estree&&t.evaluater){let r=l.data.estree.body[0];r.type;let a=r.expression;a.type;let u=a.properties[0];u.type,Object.assign(n,t.evaluater.evaluateExpression(u.argument))}else fa(t,e.position);else{let i=l.name,r;if(l.value&&typeof l.value=="object")if(l.value.data&&l.value.data.estree&&t.evaluater){let u=l.value.data.estree.body[0];u.type,r=t.evaluater.evaluateExpression(u.expression)}else fa(t,e.position);else r=l.value===null?!0:l.value;n[i]=r}return n}function $f(t,e){let n=[],l=-1,i=t.passKeys?new Map:qk;for(;++l<e.children.length;){let r=e.children[l],a;if(t.passKeys){let o=r.type==="element"?r.tagName:r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement"?r.name:void 0;if(o){let c=i.get(o)||0;a=o+"-"+c,i.set(o,c+1)}}let u=G1(t,r,a);u!==void 0&&n.push(u)}return n}function Pk(t,e,n){let l=Qf(t.schema,e);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=l.commaSeparated?S1(n):C1(n)),l.property==="style"){let i=typeof n=="object"?n:tE(t,String(n));return t.stylePropertyNameCase==="css"&&(i=eE(i)),["style",i]}return[t.elementAttributeNameCase==="react"&&l.space?Xf[l.property]||l.property:l.attribute,n]}}function tE(t,e){try{return(0,X1.default)(e,{reactCompat:!0})}catch(n){if(t.ignoreInvalidStyle)return{};let l=n,i=new Et("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=Q1+"#cannot-parse-style-attribute",i}}function F1(t,e,n){let l;if(!n)l={type:"Literal",value:e};else if(e.includes(".")){let i=e.split("."),r=-1,a;for(;++r<i.length;){let u=ro(i[r])?{type:"Identifier",name:i[r]}:{type:"Literal",value:i[r]};a=a?{type:"MemberExpression",object:a,property:u,computed:!!(r&&u.type==="Literal"),optional:!1}:u}l=a}else l=ro(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(l.type==="Literal"){let i=l.value;return Jf.call(t.components,i)?t.components[i]:i}if(t.evaluater)return t.evaluater.evaluateExpression(l);fa(t)}function fa(t,e){let n=new Et("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=t.filePath||void 0,n.url=Q1+"#cannot-handle-mdx-estrees-without-createevaluater",n}function eE(t){let e={},n;for(n in t)Jf.call(t,n)&&(e[nE(n)]=t[n]);return e}function nE(t){let e=t.replace(jk,lE);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function lE(t){return"-"+t.toLowerCase()}var ma={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"]};var Wi=$t(po(),1),kx=$t(He(),1);var aE={};function Yl(t,e){let n=e||aE,l=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return $1(t,l,i)}function $1(t,e,n){if(uE(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return W1(t.children,e,n)}return Array.isArray(t)?W1(t,e,n):""}function W1(t,e,n){let l=[],i=-1;for(;++i<t.length;)l[i]=$1(t[i],e,n);return l.join("")}function uE(t){return!!(t&&typeof t=="object")}var P1=document.createElement("i");function Fi(t){let e="&"+t+";";P1.innerHTML=e;let n=P1.textContent;return n.charCodeAt(n.length-1)===59&&t!=="semi"||n===e?!1:n}function Tt(t,e,n,l){let i=t.length,r=0,a;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,n=n>0?n:0,l.length<1e4)a=Array.from(l),a.unshift(e,n),t.splice(...a);else for(n&&t.splice(e,n);r<l.length;)a=l.slice(r,r+1e4),a.unshift(e,0),t.splice(...a),r+=1e4,e+=1e4}function It(t,e){return t.length>0?(Tt(t,t.length,0,e),t):e}var t0={}.hasOwnProperty;function ho(t){let e={},n=-1;for(;++n<t.length;)oE(e,t[n]);return e}function oE(t,e){let n;for(n in e){let i=(t0.call(t,n)?t[n]:void 0)||(t[n]={}),r=e[n],a;if(r)for(a in r){t0.call(i,a)||(i[a]=[]);let u=r[a];cE(i[a],Array.isArray(u)?u:u?[u]:[])}}}function cE(t,e){let n=-1,l=[];for(;++n<e.length;)(e[n].add==="after"?t:l).push(e[n]);Tt(t,0,0,l)}function go(t,e){let n=Number.parseInt(t,e);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}function Qt(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var _t=cl(/[A-Za-z]/),vt=cl(/[\dA-Za-z]/),e0=cl(/[#-'*+\--9=?A-Z^-~]/);function Vl(t){return t!==null&&(t<32||t===127)}var pa=cl(/\d/),n0=cl(/[\dA-Fa-f]/),l0=cl(/[!-/:-@[-`{-~]/);function R(t){return t!==null&&t<-2}function Z(t){return t!==null&&(t<0||t===32)}function B(t){return t===-2||t===-1||t===32}var Xl=cl(/\p{P}|\p{S}/u),$e=cl(/\s/);function cl(t){return e;function e(n){return n!==null&&n>-1&&t.test(String.fromCharCode(n))}}function Le(t){let e=[],n=-1,l=0,i=0;for(;++n<t.length;){let r=t.charCodeAt(n),a="";if(r===37&&vt(t.charCodeAt(n+1))&&vt(t.charCodeAt(n+2)))i=2;else if(r<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(r))||(a=String.fromCharCode(r));else if(r>55295&&r<57344){let u=t.charCodeAt(n+1);r<56320&&u>56319&&u<57344?(a=String.fromCharCode(r,u),i=1):a="\uFFFD"}else a=String.fromCharCode(r);a&&(e.push(t.slice(l,n),encodeURIComponent(a)),l=n+i+1,a=""),i&&(n+=i,i=0)}return e.join("")+t.slice(l)}function U(t,e,n,l){let i=l?l-1:Number.POSITIVE_INFINITY,r=0;return a;function a(o){return B(o)?(t.enter(n),u(o)):e(o)}function u(o){return B(o)&&r++<i?(t.consume(o),u):(t.exit(n),e(o))}}var i0={tokenize:sE};function sE(t){let e=t.attempt(this.parser.constructs.contentInitial,l,i),n;return e;function l(u){if(u===null){t.consume(u);return}return t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),U(t,e,"linePrefix")}function i(u){return t.enter("paragraph"),r(u)}function r(u){let o=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,a(u)}function a(u){if(u===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(u);return}return R(u)?(t.consume(u),t.exit("chunkText"),r):(t.consume(u),a)}}var a0={tokenize:fE},r0={tokenize:mE};function fE(t){let e=this,n=[],l=0,i,r,a;return u;function u(y){if(l<n.length){let E=n[l];return e.containerState=E[1],t.attempt(E[0].continuation,o,c)(y)}return c(y)}function o(y){if(l++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&d();let E=e.events.length,C=E,S;for(;C--;)if(e.events[C][0]==="exit"&&e.events[C][1].type==="chunkFlow"){S=e.events[C][1].end;break}h(l);let A=E;for(;A<e.events.length;)e.events[A][1].end={...S},A++;return Tt(e.events,C+1,0,e.events.slice(E)),e.events.length=A,c(y)}return u(y)}function c(y){if(l===n.length){if(!i)return m(y);if(i.currentConstruct&&i.currentConstruct.concrete)return g(y);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(r0,s,f)(y)}function s(y){return i&&d(),h(l),m(y)}function f(y){return e.parser.lazy[e.now().line]=l!==n.length,a=e.now().offset,g(y)}function m(y){return e.containerState={},t.attempt(r0,p,g)(y)}function p(y){return l++,n.push([e.currentConstruct,e.containerState]),m(y)}function g(y){if(y===null){i&&d(),h(0),t.consume(y);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:r}),v(y)}function v(y){if(y===null){T(t.exit("chunkFlow"),!0),h(0),t.consume(y);return}return R(y)?(t.consume(y),T(t.exit("chunkFlow")),l=0,e.interrupt=void 0,u):(t.consume(y),v)}function T(y,E){let C=e.sliceStream(y);if(E&&C.push(null),y.previous=r,r&&(r.next=y),r=y,i.defineSkip(y.start),i.write(C),e.parser.lazy[y.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<a&&(!i.events[S][1].end||i.events[S][1].end.offset>a))return;let A=e.events.length,_=A,O,k;for(;_--;)if(e.events[_][0]==="exit"&&e.events[_][1].type==="chunkFlow"){if(O){k=e.events[_][1].end;break}O=!0}for(h(l),S=A;S<e.events.length;)e.events[S][1].end={...k},S++;Tt(e.events,_+1,0,e.events.slice(A)),e.events.length=S}}function h(y){let E=n.length;for(;E-- >y;){let C=n[E];e.containerState=C[1],C[0].exit.call(e,t)}n.length=y}function d(){i.write([null]),r=void 0,i=void 0,e.containerState._closeFlow=void 0}}function mE(t,e,n){return U(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Dn(t){if(t===null||Z(t)||$e(t))return 1;if(Xl(t))return 2}function sl(t,e,n){let l=[],i=-1;for(;++i<t.length;){let r=t[i].resolveAll;r&&!l.includes(r)&&(e=r(e,n),l.push(r))}return e}var ha={name:"attention",resolveAll:pE,tokenize:hE};function pE(t,e){let n=-1,l,i,r,a,u,o,c,s;for(;++n<t.length;)if(t[n][0]==="enter"&&t[n][1].type==="attentionSequence"&&t[n][1]._close){for(l=n;l--;)if(t[l][0]==="exit"&&t[l][1].type==="attentionSequence"&&t[l][1]._open&&e.sliceSerialize(t[l][1]).charCodeAt(0)===e.sliceSerialize(t[n][1]).charCodeAt(0)){if((t[l][1]._close||t[n][1]._open)&&(t[n][1].end.offset-t[n][1].start.offset)%3&&!((t[l][1].end.offset-t[l][1].start.offset+t[n][1].end.offset-t[n][1].start.offset)%3))continue;o=t[l][1].end.offset-t[l][1].start.offset>1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;let f={...t[l][1].end},m={...t[n][1].start};u0(f,-o),u0(m,o),a={type:o>1?"strongSequence":"emphasisSequence",start:f,end:{...t[l][1].end}},u={type:o>1?"strongSequence":"emphasisSequence",start:{...t[n][1].start},end:m},r={type:o>1?"strongText":"emphasisText",start:{...t[l][1].end},end:{...t[n][1].start}},i={type:o>1?"strong":"emphasis",start:{...a.start},end:{...u.end}},t[l][1].end={...a.start},t[n][1].start={...u.end},c=[],t[l][1].end.offset-t[l][1].start.offset&&(c=It(c,[["enter",t[l][1],e],["exit",t[l][1],e]])),c=It(c,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",r,e]]),c=It(c,sl(e.parser.constructs.insideSpan.null,t.slice(l+1,n),e)),c=It(c,[["exit",r,e],["enter",u,e],["exit",u,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(s=2,c=It(c,[["enter",t[n][1],e],["exit",t[n][1],e]])):s=0,Tt(t,l-1,n-l+3,c),n=l+c.length-s-2;break}}for(n=-1;++n<t.length;)t[n][1].type==="attentionSequence"&&(t[n][1].type="data");return t}function hE(t,e){let n=this.parser.constructs.attentionMarkers.null,l=this.previous,i=Dn(l),r;return a;function a(o){return r=o,t.enter("attentionSequence"),u(o)}function u(o){if(o===r)return t.consume(o),u;let c=t.exit("attentionSequence"),s=Dn(o),f=!s||s===2&&i||n.includes(o),m=!i||i===2&&s||n.includes(l);return c._open=!!(r===42?f:f&&(i||!m)),c._close=!!(r===42?m:m&&(s||!f)),e(o)}}function u0(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}var Pf={name:"autolink",tokenize:dE};function dE(t,e,n){let l=0;return i;function i(p){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),r}function r(p){return _t(p)?(t.consume(p),a):p===64?n(p):c(p)}function a(p){return p===43||p===45||p===46||vt(p)?(l=1,u(p)):c(p)}function u(p){return p===58?(t.consume(p),l=0,o):(p===43||p===45||p===46||vt(p))&&l++<32?(t.consume(p),u):(l=0,c(p))}function o(p){return p===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):p===null||p===32||p===60||Vl(p)?n(p):(t.consume(p),o)}function c(p){return p===64?(t.consume(p),s):e0(p)?(t.consume(p),c):n(p)}function s(p){return vt(p)?f(p):n(p)}function f(p){return p===46?(t.consume(p),l=0,s):p===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):m(p)}function m(p){if((p===45||vt(p))&&l++<63){let g=p===45?m:f;return t.consume(p),g}return n(p)}}var Pe={partial:!0,tokenize:gE};function gE(t,e,n){return l;function l(r){return B(r)?U(t,i,"linePrefix")(r):i(r)}function i(r){return r===null||R(r)?e(r):n(r)}}var yo={continuation:{tokenize:xE},exit:bE,name:"blockQuote",tokenize:yE};function yE(t,e,n){let l=this;return i;function i(a){if(a===62){let u=l.containerState;return u.open||(t.enter("blockQuote",{_container:!0}),u.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(a),t.exit("blockQuoteMarker"),r}return n(a)}function r(a){return B(a)?(t.enter("blockQuotePrefixWhitespace"),t.consume(a),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(a))}}function xE(t,e,n){let l=this;return i;function i(a){return B(a)?U(t,r,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):r(a)}function r(a){return t.attempt(yo,e,n)(a)}}function bE(t){t.exit("blockQuote")}var xo={name:"characterEscape",tokenize:vE};function vE(t,e,n){return l;function l(r){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(r),t.exit("escapeMarker"),i}function i(r){return l0(r)?(t.enter("characterEscapeValue"),t.consume(r),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(r)}}var bo={name:"characterReference",tokenize:SE};function SE(t,e,n){let l=this,i=0,r,a;return u;function u(f){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),o}function o(f){return f===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(f),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),r=31,a=vt,s(f))}function c(f){return f===88||f===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(f),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),r=6,a=n0,s):(t.enter("characterReferenceValue"),r=7,a=pa,s(f))}function s(f){if(f===59&&i){let m=t.exit("characterReferenceValue");return a===vt&&!Fi(l.sliceSerialize(m))?n(f):(t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return a(f)&&i++<r?(t.consume(f),s):n(f)}}var o0={partial:!0,tokenize:EE},vo={concrete:!0,name:"codeFenced",tokenize:kE};function kE(t,e,n){let l=this,i={partial:!0,tokenize:C},r=0,a=0,u;return o;function o(S){return c(S)}function c(S){let A=l.events[l.events.length-1];return r=A&&A[1].type==="linePrefix"?A[2].sliceSerialize(A[1],!0).length:0,u=S,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),s(S)}function s(S){return S===u?(a++,t.consume(S),s):a<3?n(S):(t.exit("codeFencedFenceSequence"),B(S)?U(t,f,"whitespace")(S):f(S))}function f(S){return S===null||R(S)?(t.exit("codeFencedFence"),l.interrupt?e(S):t.check(o0,v,E)(S)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),m(S))}function m(S){return S===null||R(S)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),f(S)):B(S)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),U(t,p,"whitespace")(S)):S===96&&S===u?n(S):(t.consume(S),m)}function p(S){return S===null||R(S)?f(S):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||R(S)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),f(S)):S===96&&S===u?n(S):(t.consume(S),g)}function v(S){return t.attempt(i,E,T)(S)}function T(S){return t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),h}function h(S){return r>0&&B(S)?U(t,d,"linePrefix",r+1)(S):d(S)}function d(S){return S===null||R(S)?t.check(o0,v,E)(S):(t.enter("codeFlowValue"),y(S))}function y(S){return S===null||R(S)?(t.exit("codeFlowValue"),d(S)):(t.consume(S),y)}function E(S){return t.exit("codeFenced"),e(S)}function C(S,A,_){let O=0;return k;function k(G){return S.enter("lineEnding"),S.consume(G),S.exit("lineEnding"),X}function X(G){return S.enter("codeFencedFence"),B(G)?U(S,$,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):$(G)}function $(G){return G===u?(S.enter("codeFencedFenceSequence"),L(G)):_(G)}function L(G){return G===u?(O++,S.consume(G),L):O>=a?(S.exit("codeFencedFenceSequence"),B(G)?U(S,Q,"whitespace")(G):Q(G)):_(G)}function Q(G){return G===null||R(G)?(S.exit("codeFencedFence"),A(G)):_(G)}}}function EE(t,e,n){let l=this;return i;function i(a){return a===null?n(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),r)}function r(a){return l.parser.lazy[l.now().line]?n(a):e(a)}}var da={name:"codeIndented",tokenize:AE},TE={partial:!0,tokenize:zE};function AE(t,e,n){let l=this;return i;function i(c){return t.enter("codeIndented"),U(t,r,"linePrefix",5)(c)}function r(c){let s=l.events[l.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?o(c):R(c)?t.attempt(TE,a,o)(c):(t.enter("codeFlowValue"),u(c))}function u(c){return c===null||R(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),u)}function o(c){return t.exit("codeIndented"),e(c)}}function zE(t,e,n){let l=this;return i;function i(a){return l.parser.lazy[l.now().line]?n(a):R(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),i):U(t,r,"linePrefix",5)(a)}function r(a){let u=l.events[l.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?e(a):R(a)?i(a):n(a)}}var tm={name:"codeText",previous:CE,resolve:wE,tokenize:DE};function wE(t){let e=t.length-4,n=3,l,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(l=n;++l<e;)if(t[l][1].type==="codeTextData"){t[n][1].type="codeTextPadding",t[e][1].type="codeTextPadding",n+=2,e-=2;break}}for(l=n-1,e++;++l<=e;)i===void 0?l!==e&&t[l][1].type!=="lineEnding"&&(i=l):(l===e||t[l][1].type==="lineEnding")&&(t[i][1].type="codeTextData",l!==i+2&&(t[i][1].end=t[l-1][1].end,t.splice(i+2,l-i-2),e-=l-i-2,l=i+2),i=void 0);return t}function CE(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function DE(t,e,n){let l=this,i=0,r,a;return u;function u(m){return t.enter("codeText"),t.enter("codeTextSequence"),o(m)}function o(m){return m===96?(t.consume(m),i++,o):(t.exit("codeTextSequence"),c(m))}function c(m){return m===null?n(m):m===32?(t.enter("space"),t.consume(m),t.exit("space"),c):m===96?(a=t.enter("codeTextSequence"),r=0,f(m)):R(m)?(t.enter("lineEnding"),t.consume(m),t.exit("lineEnding"),c):(t.enter("codeTextData"),s(m))}function s(m){return m===null||m===32||m===96||R(m)?(t.exit("codeTextData"),c(m)):(t.consume(m),s)}function f(m){return m===96?(t.consume(m),r++,f):r===i?(t.exit("codeTextSequence"),t.exit("codeText"),e(m)):(a.type="codeTextData",s(m))}}var So=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,n){let l=n??Number.POSITIVE_INFINITY;return l<this.left.length?this.left.slice(e,l):e>this.left.length?this.right.slice(this.right.length-l+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-l+this.left.length).reverse())}splice(e,n,l){let i=n||0;this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return l&&ga(this.left,l),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),ga(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ga(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let n=this.left.splice(e,Number.POSITIVE_INFINITY);ga(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);ga(this.left,n.reverse())}}};function ga(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function ko(t){let e={},n=-1,l,i,r,a,u,o,c,s=new So(t);for(;++n<s.length;){for(;n in e;)n=e[n];if(l=s.get(n),n&&l[1].type==="chunkFlow"&&s.get(n-1)[1].type==="listItemPrefix"&&(o=l[1]._tokenizer.events,r=0,r<o.length&&o[r][1].type==="lineEndingBlank"&&(r+=2),r<o.length&&o[r][1].type==="content"))for(;++r<o.length&&o[r][1].type!=="content";)o[r][1].type==="chunkText"&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if(l[0]==="enter")l[1].contentType&&(Object.assign(e,OE(s,n)),n=e[n],c=!0);else if(l[1]._container){for(r=n,i=void 0;r--;)if(a=s.get(r),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(i&&(s.get(i)[1].type="lineEndingBlank"),a[1].type="lineEnding",i=r);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;i&&(l[1].end={...s.get(i)[1].start},u=s.slice(i,n),u.unshift(l),s.splice(i,n-i+1,u))}}return Tt(t,0,Number.POSITIVE_INFINITY,s.slice(0)),!c}function OE(t,e){let n=t.get(e)[1],l=t.get(e)[2],i=e-1,r=[],a=n._tokenizer;a||(a=l.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let u=a.events,o=[],c={},s,f,m=-1,p=n,g=0,v=0,T=[v];for(;p;){for(;t.get(++i)[1]!==p;);r.push(i),p._tokenizer||(s=l.sliceStream(p),p.next||s.push(null),f&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(s),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=n;++m<u.length;)u[m][0]==="exit"&&u[m-1][0]==="enter"&&u[m][1].type===u[m-1][1].type&&u[m][1].start.line!==u[m][1].end.line&&(v=m+1,T.push(v),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):T.pop(),m=T.length;m--;){let h=u.slice(T[m],T[m+1]),d=r.pop();o.push([d,d+h.length-1]),t.splice(d,2,h)}for(o.reverse(),m=-1;++m<o.length;)c[g+o[m][0]]=g+o[m][1],g+=o[m][1]-o[m][0]-1;return c}var em={resolve:_E,tokenize:RE},ME={partial:!0,tokenize:NE};function _E(t){return ko(t),t}function RE(t,e){let n;return l;function l(u){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?r(u):R(u)?t.check(ME,a,r)(u):(t.consume(u),i)}function r(u){return t.exit("chunkContent"),t.exit("content"),e(u)}function a(u){return t.consume(u),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function NE(t,e,n){let l=this;return i;function i(a){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),U(t,r,"linePrefix")}function r(a){if(a===null||R(a))return n(a);let u=l.events[l.events.length-1];return!l.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?e(a):t.interrupt(l.parser.constructs.flow,n,e)(a)}}function Eo(t,e,n,l,i,r,a,u,o){let c=o||Number.POSITIVE_INFINITY,s=0;return f;function f(h){return h===60?(t.enter(l),t.enter(i),t.enter(r),t.consume(h),t.exit(r),m):h===null||h===32||h===41||Vl(h)?n(h):(t.enter(l),t.enter(a),t.enter(u),t.enter("chunkString",{contentType:"string"}),v(h))}function m(h){return h===62?(t.enter(r),t.consume(h),t.exit(r),t.exit(i),t.exit(l),e):(t.enter(u),t.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===62?(t.exit("chunkString"),t.exit(u),m(h)):h===null||h===60||R(h)?n(h):(t.consume(h),h===92?g:p)}function g(h){return h===60||h===62||h===92?(t.consume(h),p):p(h)}function v(h){return!s&&(h===null||h===41||Z(h))?(t.exit("chunkString"),t.exit(u),t.exit(a),t.exit(l),e(h)):s<c&&h===40?(t.consume(h),s++,v):h===41?(t.consume(h),s--,v):h===null||h===32||h===40||Vl(h)?n(h):(t.consume(h),h===92?T:v)}function T(h){return h===40||h===41||h===92?(t.consume(h),v):v(h)}}function To(t,e,n,l,i,r){let a=this,u=0,o;return c;function c(p){return t.enter(l),t.enter(i),t.consume(p),t.exit(i),t.enter(r),s}function s(p){return u>999||p===null||p===91||p===93&&!o||p===94&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(t.exit(r),t.enter(i),t.consume(p),t.exit(i),t.exit(l),e):R(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),s):(t.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||R(p)||u++>999?(t.exit("chunkString"),s(p)):(t.consume(p),o||(o=!B(p)),p===92?m:f)}function m(p){return p===91||p===92||p===93?(t.consume(p),u++,f):f(p)}}function Ao(t,e,n,l,i,r){let a;return u;function u(m){return m===34||m===39||m===40?(t.enter(l),t.enter(i),t.consume(m),t.exit(i),a=m===40?41:m,o):n(m)}function o(m){return m===a?(t.enter(i),t.consume(m),t.exit(i),t.exit(l),e):(t.enter(r),c(m))}function c(m){return m===a?(t.exit(r),o(a)):m===null?n(m):R(m)?(t.enter("lineEnding"),t.consume(m),t.exit("lineEnding"),U(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),s(m))}function s(m){return m===a||m===null||R(m)?(t.exit("chunkString"),c(m)):(t.consume(m),m===92?f:s)}function f(m){return m===a||m===92?(t.consume(m),s):s(m)}}function Ql(t,e){let n;return l;function l(i){return R(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,l):B(i)?U(t,l,n?"linePrefix":"lineSuffix")(i):e(i)}}var nm={name:"definition",tokenize:UE},LE={partial:!0,tokenize:BE};function UE(t,e,n){let l=this,i;return r;function r(p){return t.enter("definition"),a(p)}function a(p){return To.call(l,t,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function u(p){return i=Qt(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),o):n(p)}function o(p){return Z(p)?Ql(t,c)(p):c(p)}function c(p){return Eo(t,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function s(p){return t.attempt(LE,f,f)(p)}function f(p){return B(p)?U(t,m,"whitespace")(p):m(p)}function m(p){return p===null||R(p)?(t.exit("definition"),l.parser.defined.push(i),e(p)):n(p)}}function BE(t,e,n){return l;function l(u){return Z(u)?Ql(t,i)(u):n(u)}function i(u){return Ao(t,r,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function r(u){return B(u)?U(t,a,"whitespace")(u):a(u)}function a(u){return u===null||R(u)?e(u):n(u)}}var lm={name:"hardBreakEscape",tokenize:HE};function HE(t,e,n){return l;function l(r){return t.enter("hardBreakEscape"),t.consume(r),i}function i(r){return R(r)?(t.exit("hardBreakEscape"),e(r)):n(r)}}var im={name:"headingAtx",resolve:qE,tokenize:jE};function qE(t,e){let n=t.length-2,l=3,i,r;return t[l][1].type==="whitespace"&&(l+=2),n-2>l&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(l===n-1||n-4>l&&t[n-2][1].type==="whitespace")&&(n-=l+1===n?2:4),n>l&&(i={type:"atxHeadingText",start:t[l][1].start,end:t[n][1].end},r={type:"chunkText",start:t[l][1].start,end:t[n][1].end,contentType:"text"},Tt(t,l,n-l+1,[["enter",i,e],["enter",r,e],["exit",r,e],["exit",i,e]])),t}function jE(t,e,n){let l=0;return i;function i(s){return t.enter("atxHeading"),r(s)}function r(s){return t.enter("atxHeadingSequence"),a(s)}function a(s){return s===35&&l++<6?(t.consume(s),a):s===null||Z(s)?(t.exit("atxHeadingSequence"),u(s)):n(s)}function u(s){return s===35?(t.enter("atxHeadingSequence"),o(s)):s===null||R(s)?(t.exit("atxHeading"),e(s)):B(s)?U(t,u,"whitespace")(s):(t.enter("atxHeadingText"),c(s))}function o(s){return s===35?(t.consume(s),o):(t.exit("atxHeadingSequence"),u(s))}function c(s){return s===null||s===35||Z(s)?(t.exit("atxHeadingText"),u(s)):(t.consume(s),c)}}var c0=["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"],rm=["pre","script","style","textarea"];var am={concrete:!0,name:"htmlFlow",resolveTo:XE,tokenize:QE},YE={partial:!0,tokenize:ZE},VE={partial:!0,tokenize:GE};function XE(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function QE(t,e,n){let l=this,i,r,a,u,o;return c;function c(b){return s(b)}function s(b){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(b),f}function f(b){return b===33?(t.consume(b),m):b===47?(t.consume(b),r=!0,v):b===63?(t.consume(b),i=3,l.interrupt?e:x):_t(b)?(t.consume(b),a=String.fromCharCode(b),T):n(b)}function m(b){return b===45?(t.consume(b),i=2,p):b===91?(t.consume(b),i=5,u=0,g):_t(b)?(t.consume(b),i=4,l.interrupt?e:x):n(b)}function p(b){return b===45?(t.consume(b),l.interrupt?e:x):n(b)}function g(b){let oe="CDATA[";return b===oe.charCodeAt(u++)?(t.consume(b),u===oe.length?l.interrupt?e:$:g):n(b)}function v(b){return _t(b)?(t.consume(b),a=String.fromCharCode(b),T):n(b)}function T(b){if(b===null||b===47||b===62||Z(b)){let oe=b===47,hl=a.toLowerCase();return!oe&&!r&&rm.includes(hl)?(i=1,l.interrupt?e(b):$(b)):c0.includes(a.toLowerCase())?(i=6,oe?(t.consume(b),h):l.interrupt?e(b):$(b)):(i=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(b):r?d(b):y(b))}return b===45||vt(b)?(t.consume(b),a+=String.fromCharCode(b),T):n(b)}function h(b){return b===62?(t.consume(b),l.interrupt?e:$):n(b)}function d(b){return B(b)?(t.consume(b),d):k(b)}function y(b){return b===47?(t.consume(b),k):b===58||b===95||_t(b)?(t.consume(b),E):B(b)?(t.consume(b),y):k(b)}function E(b){return b===45||b===46||b===58||b===95||vt(b)?(t.consume(b),E):C(b)}function C(b){return b===61?(t.consume(b),S):B(b)?(t.consume(b),C):y(b)}function S(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(t.consume(b),o=b,A):B(b)?(t.consume(b),S):_(b)}function A(b){return b===o?(t.consume(b),o=null,O):b===null||R(b)?n(b):(t.consume(b),A)}function _(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||Z(b)?C(b):(t.consume(b),_)}function O(b){return b===47||b===62||B(b)?y(b):n(b)}function k(b){return b===62?(t.consume(b),X):n(b)}function X(b){return b===null||R(b)?$(b):B(b)?(t.consume(b),X):n(b)}function $(b){return b===45&&i===2?(t.consume(b),dt):b===60&&i===1?(t.consume(b),Dt):b===62&&i===4?(t.consume(b),Se):b===63&&i===3?(t.consume(b),x):b===93&&i===5?(t.consume(b),Xe):R(b)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(YE,en,L)(b)):b===null||R(b)?(t.exit("htmlFlowData"),L(b)):(t.consume(b),$)}function L(b){return t.check(VE,Q,en)(b)}function Q(b){return t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),G}function G(b){return b===null||R(b)?L(b):(t.enter("htmlFlowData"),$(b))}function dt(b){return b===45?(t.consume(b),x):$(b)}function Dt(b){return b===47?(t.consume(b),a="",Ue):$(b)}function Ue(b){if(b===62){let oe=a.toLowerCase();return rm.includes(oe)?(t.consume(b),Se):$(b)}return _t(b)&&a.length<8?(t.consume(b),a+=String.fromCharCode(b),Ue):$(b)}function Xe(b){return b===93?(t.consume(b),x):$(b)}function x(b){return b===62?(t.consume(b),Se):b===45&&i===2?(t.consume(b),x):$(b)}function Se(b){return b===null||R(b)?(t.exit("htmlFlowData"),en(b)):(t.consume(b),Se)}function en(b){return t.exit("htmlFlow"),e(b)}}function GE(t,e,n){let l=this;return i;function i(a){return R(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),r):n(a)}function r(a){return l.parser.lazy[l.now().line]?n(a):e(a)}}function ZE(t,e,n){return l;function l(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(Pe,e,n)}}var um={name:"htmlText",tokenize:FE};function FE(t,e,n){let l=this,i,r,a;return u;function u(x){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(x),o}function o(x){return x===33?(t.consume(x),c):x===47?(t.consume(x),C):x===63?(t.consume(x),y):_t(x)?(t.consume(x),_):n(x)}function c(x){return x===45?(t.consume(x),s):x===91?(t.consume(x),r=0,g):_t(x)?(t.consume(x),d):n(x)}function s(x){return x===45?(t.consume(x),p):n(x)}function f(x){return x===null?n(x):x===45?(t.consume(x),m):R(x)?(a=f,Dt(x)):(t.consume(x),f)}function m(x){return x===45?(t.consume(x),p):f(x)}function p(x){return x===62?dt(x):x===45?m(x):f(x)}function g(x){let Se="CDATA[";return x===Se.charCodeAt(r++)?(t.consume(x),r===Se.length?v:g):n(x)}function v(x){return x===null?n(x):x===93?(t.consume(x),T):R(x)?(a=v,Dt(x)):(t.consume(x),v)}function T(x){return x===93?(t.consume(x),h):v(x)}function h(x){return x===62?dt(x):x===93?(t.consume(x),h):v(x)}function d(x){return x===null||x===62?dt(x):R(x)?(a=d,Dt(x)):(t.consume(x),d)}function y(x){return x===null?n(x):x===63?(t.consume(x),E):R(x)?(a=y,Dt(x)):(t.consume(x),y)}function E(x){return x===62?dt(x):y(x)}function C(x){return _t(x)?(t.consume(x),S):n(x)}function S(x){return x===45||vt(x)?(t.consume(x),S):A(x)}function A(x){return R(x)?(a=A,Dt(x)):B(x)?(t.consume(x),A):dt(x)}function _(x){return x===45||vt(x)?(t.consume(x),_):x===47||x===62||Z(x)?O(x):n(x)}function O(x){return x===47?(t.consume(x),dt):x===58||x===95||_t(x)?(t.consume(x),k):R(x)?(a=O,Dt(x)):B(x)?(t.consume(x),O):dt(x)}function k(x){return x===45||x===46||x===58||x===95||vt(x)?(t.consume(x),k):X(x)}function X(x){return x===61?(t.consume(x),$):R(x)?(a=X,Dt(x)):B(x)?(t.consume(x),X):O(x)}function $(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(t.consume(x),i=x,L):R(x)?(a=$,Dt(x)):B(x)?(t.consume(x),$):(t.consume(x),Q)}function L(x){return x===i?(t.consume(x),i=void 0,G):x===null?n(x):R(x)?(a=L,Dt(x)):(t.consume(x),L)}function Q(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||Z(x)?O(x):(t.consume(x),Q)}function G(x){return x===47||x===62||Z(x)?O(x):n(x)}function dt(x){return x===62?(t.consume(x),t.exit("htmlTextData"),t.exit("htmlText"),e):n(x)}function Dt(x){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),Ue}function Ue(x){return B(x)?U(t,Xe,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):Xe(x)}function Xe(x){return t.enter("htmlTextData"),a(x)}}var Gl={name:"labelEnd",resolveAll:WE,resolveTo:$E,tokenize:PE},KE={tokenize:tT},JE={tokenize:eT},IE={tokenize:nT};function WE(t){let e=-1,n=[];for(;++e<t.length;){let l=t[e][1];if(n.push(t[e]),l.type==="labelImage"||l.type==="labelLink"||l.type==="labelEnd"){let i=l.type==="labelImage"?4:2;l.type="data",e+=i}}return t.length!==n.length&&Tt(t,0,t.length,n),t}function $E(t,e){let n=t.length,l=0,i,r,a,u;for(;n--;)if(i=t[n][1],r){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(t[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(r=n,i.type!=="labelLink")){l=2;break}}else i.type==="labelEnd"&&(a=n);let o={type:t[r][1].type==="labelLink"?"link":"image",start:{...t[r][1].start},end:{...t[t.length-1][1].end}},c={type:"label",start:{...t[r][1].start},end:{...t[a][1].end}},s={type:"labelText",start:{...t[r+l+2][1].end},end:{...t[a-2][1].start}};return u=[["enter",o,e],["enter",c,e]],u=It(u,t.slice(r+1,r+l+3)),u=It(u,[["enter",s,e]]),u=It(u,sl(e.parser.constructs.insideSpan.null,t.slice(r+l+4,a-3),e)),u=It(u,[["exit",s,e],t[a-2],t[a-1],["exit",c,e]]),u=It(u,t.slice(a+1)),u=It(u,[["exit",o,e]]),Tt(t,r,t.length,u),t}function PE(t,e,n){let l=this,i=l.events.length,r,a;for(;i--;)if((l.events[i][1].type==="labelImage"||l.events[i][1].type==="labelLink")&&!l.events[i][1]._balanced){r=l.events[i][1];break}return u;function u(m){return r?r._inactive?f(m):(a=l.parser.defined.includes(Qt(l.sliceSerialize({start:r.end,end:l.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(m),t.exit("labelMarker"),t.exit("labelEnd"),o):n(m)}function o(m){return m===40?t.attempt(KE,s,a?s:f)(m):m===91?t.attempt(JE,s,a?c:f)(m):a?s(m):f(m)}function c(m){return t.attempt(IE,s,f)(m)}function s(m){return e(m)}function f(m){return r._balanced=!0,n(m)}}function tT(t,e,n){return l;function l(f){return t.enter("resource"),t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),i}function i(f){return Z(f)?Ql(t,r)(f):r(f)}function r(f){return f===41?s(f):Eo(t,a,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return Z(f)?Ql(t,o)(f):s(f)}function u(f){return n(f)}function o(f){return f===34||f===39||f===40?Ao(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):s(f)}function c(f){return Z(f)?Ql(t,s)(f):s(f)}function s(f){return f===41?(t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),t.exit("resource"),e):n(f)}}function eT(t,e,n){let l=this;return i;function i(u){return To.call(l,t,r,a,"reference","referenceMarker","referenceString")(u)}function r(u){return l.parser.defined.includes(Qt(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)))?e(u):n(u)}function a(u){return n(u)}}function nT(t,e,n){return l;function l(r){return t.enter("reference"),t.enter("referenceMarker"),t.consume(r),t.exit("referenceMarker"),i}function i(r){return r===93?(t.enter("referenceMarker"),t.consume(r),t.exit("referenceMarker"),t.exit("reference"),e):n(r)}}var om={name:"labelStartImage",resolveAll:Gl.resolveAll,tokenize:lT};function lT(t,e,n){let l=this;return i;function i(u){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(u),t.exit("labelImageMarker"),r}function r(u){return u===91?(t.enter("labelMarker"),t.consume(u),t.exit("labelMarker"),t.exit("labelImage"),a):n(u)}function a(u){return u===94&&"_hiddenFootnoteSupport"in l.parser.constructs?n(u):e(u)}}var cm={name:"labelStartLink",resolveAll:Gl.resolveAll,tokenize:iT};function iT(t,e,n){let l=this;return i;function i(a){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(a),t.exit("labelMarker"),t.exit("labelLink"),r}function r(a){return a===94&&"_hiddenFootnoteSupport"in l.parser.constructs?n(a):e(a)}}var ya={name:"lineEnding",tokenize:rT};function rT(t,e){return n;function n(l){return t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),U(t,e,"linePrefix")}}var Zl={name:"thematicBreak",tokenize:aT};function aT(t,e,n){let l=0,i;return r;function r(c){return t.enter("thematicBreak"),a(c)}function a(c){return i=c,u(c)}function u(c){return c===i?(t.enter("thematicBreakSequence"),o(c)):l>=3&&(c===null||R(c))?(t.exit("thematicBreak"),e(c)):n(c)}function o(c){return c===i?(t.consume(c),l++,o):(t.exit("thematicBreakSequence"),B(c)?U(t,u,"whitespace")(c):u(c))}}var Gt={continuation:{tokenize:sT},exit:mT,name:"list",tokenize:cT},uT={partial:!0,tokenize:pT},oT={partial:!0,tokenize:fT};function cT(t,e,n){let l=this,i=l.events[l.events.length-1],r=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return u;function u(p){let g=l.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!l.containerState.marker||p===l.containerState.marker:pa(p)){if(l.containerState.type||(l.containerState.type=g,t.enter(g,{_container:!0})),g==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(Zl,n,c)(p):c(p);if(!l.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),o(p)}return n(p)}function o(p){return pa(p)&&++a<10?(t.consume(p),o):(!l.interrupt||a<2)&&(l.containerState.marker?p===l.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),c(p)):n(p)}function c(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),l.containerState.marker=l.containerState.marker||p,t.check(Pe,l.interrupt?n:s,t.attempt(uT,m,f))}function s(p){return l.containerState.initialBlankLine=!0,r++,m(p)}function f(p){return B(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),m):n(p)}function m(p){return l.containerState.size=r+l.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function sT(t,e,n){let l=this;return l.containerState._closeFlow=void 0,t.check(Pe,i,r);function i(u){return l.containerState.furtherBlankLines=l.containerState.furtherBlankLines||l.containerState.initialBlankLine,U(t,e,"listItemIndent",l.containerState.size+1)(u)}function r(u){return l.containerState.furtherBlankLines||!B(u)?(l.containerState.furtherBlankLines=void 0,l.containerState.initialBlankLine=void 0,a(u)):(l.containerState.furtherBlankLines=void 0,l.containerState.initialBlankLine=void 0,t.attempt(oT,e,a)(u))}function a(u){return l.containerState._closeFlow=!0,l.interrupt=void 0,U(t,t.attempt(Gt,e,n),"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function fT(t,e,n){let l=this;return U(t,i,"listItemIndent",l.containerState.size+1);function i(r){let a=l.events[l.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===l.containerState.size?e(r):n(r)}}function mT(t){t.exit(this.containerState.type)}function pT(t,e,n){let l=this;return U(t,i,"listItemPrefixWhitespace",l.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(r){let a=l.events[l.events.length-1];return!B(r)&&a&&a[1].type==="listItemPrefixWhitespace"?e(r):n(r)}}var zo={name:"setextUnderline",resolveTo:hT,tokenize:dT};function hT(t,e){let n=t.length,l,i,r;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){l=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!r&&t[n][1].type==="definition"&&(r=n);let a={type:"setextHeading",start:{...t[l][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",r?(t.splice(i,0,["enter",a,e]),t.splice(r+1,0,["exit",t[l][1],e]),t[l][1].end={...t[r][1].end}):t[l][1]=a,t.push(["exit",a,e]),t}function dT(t,e,n){let l=this,i;return r;function r(c){let s=l.events.length,f;for(;s--;)if(l.events[s][1].type!=="lineEnding"&&l.events[s][1].type!=="linePrefix"&&l.events[s][1].type!=="content"){f=l.events[s][1].type==="paragraph";break}return!l.parser.lazy[l.now().line]&&(l.interrupt||f)?(t.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return t.enter("setextHeadingLineSequence"),u(c)}function u(c){return c===i?(t.consume(c),u):(t.exit("setextHeadingLineSequence"),B(c)?U(t,o,"lineSuffix")(c):o(c))}function o(c){return c===null||R(c)?(t.exit("setextHeadingLine"),e(c)):n(c)}}var s0={tokenize:gT};function gT(t){let e=this,n=t.attempt(Pe,l,t.attempt(this.parser.constructs.flowInitial,i,U(t,t.attempt(this.parser.constructs.flow,i,t.attempt(em,i)),"linePrefix")));return n;function l(r){if(r===null){t.consume(r);return}return t.enter("lineEndingBlank"),t.consume(r),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(r){if(r===null){t.consume(r);return}return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),e.currentConstruct=void 0,n}}var f0={resolveAll:d0()},m0=h0("string"),p0=h0("text");function h0(t){return{resolveAll:d0(t==="text"?yT:void 0),tokenize:e};function e(n){let l=this,i=this.parser.constructs[t],r=n.attempt(i,a,u);return a;function a(s){return c(s)?r(s):u(s)}function u(s){if(s===null){n.consume(s);return}return n.enter("data"),n.consume(s),o}function o(s){return c(s)?(n.exit("data"),r(s)):(n.consume(s),o)}function c(s){if(s===null)return!0;let f=i[s],m=-1;if(f)for(;++m<f.length;){let p=f[m];if(!p.previous||p.previous.call(l,l.previous))return!0}return!1}}}function d0(t){return e;function e(n,l){let i=-1,r;for(;++i<=n.length;)r===void 0?n[i]&&n[i][1].type==="data"&&(r=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==r+2&&(n[r][1].end=n[i-1][1].end,n.splice(r+2,i-r-2),i=r+2),r=void 0);return t?t(n,l):n}}function yT(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||t[n][1].type==="lineEnding")&&t[n-1][1].type==="data"){let l=t[n-1][1],i=e.sliceStream(l),r=i.length,a=-1,u=0,o;for(;r--;){let c=i[r];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)u++,a--;if(a)break;a=-1}else if(c===-2)o=!0,u++;else if(c!==-1){r++;break}}if(e._contentTypeTextTrailing&&n===t.length&&(u=0),u){let c={type:n===t.length||o||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:r?a:l.start._bufferIndex+a,_index:l.start._index+r,line:l.end.line,column:l.end.column-u,offset:l.end.offset-u},end:{...l.end}};l.end={...c.start},l.start.offset===l.end.offset?Object.assign(l,c):(t.splice(n,0,["enter",c,e],["exit",c,e]),n+=2)}n++}return t}var sm={};vp(sm,{attentionMarkers:()=>AT,contentInitial:()=>bT,disable:()=>zT,document:()=>xT,flow:()=>ST,flowInitial:()=>vT,insideSpan:()=>TT,string:()=>kT,text:()=>ET});var xT={42:Gt,43:Gt,45:Gt,48:Gt,49:Gt,50:Gt,51:Gt,52:Gt,53:Gt,54:Gt,55:Gt,56:Gt,57:Gt,62:yo},bT={91:nm},vT={[-2]:da,[-1]:da,32:da},ST={35:im,42:Zl,45:[zo,Zl],60:am,61:zo,95:Zl,96:vo,126:vo},kT={38:bo,92:xo},ET={[-5]:ya,[-4]:ya,[-3]:ya,33:om,38:bo,42:ha,60:[Pf,um],91:cm,92:[lm,xo],93:Gl,95:ha,96:tm},TT={null:[ha,f0]},AT={null:[42,95]},zT={null:[]};function g0(t,e,n){let l={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},r=[],a=[],u=[],o=!0,c={attempt:O(A),check:O(_),consume:E,enter:C,exit:S,interrupt:O(_,{interrupt:!0})},s={code:null,containerState:{},defineSkip:h,events:[],now:T,parser:t,previous:null,sliceSerialize:g,sliceStream:v,write:p},f=e.tokenize.call(s,c),m;return e.resolveAll&&r.push(e),s;function p(L){return a=It(a,L),d(),a[a.length-1]!==null?[]:(k(e,0),s.events=sl(r,s.events,s),s.events)}function g(L,Q){return CT(v(L),Q)}function v(L){return wT(a,L)}function T(){let{_bufferIndex:L,_index:Q,line:G,column:dt,offset:Dt}=l;return{_bufferIndex:L,_index:Q,line:G,column:dt,offset:Dt}}function h(L){i[L.line]=L.column,$()}function d(){let L;for(;l._index<a.length;){let Q=a[l._index];if(typeof Q=="string")for(L=l._index,l._bufferIndex<0&&(l._bufferIndex=0);l._index===L&&l._bufferIndex<Q.length;)y(Q.charCodeAt(l._bufferIndex));else y(Q)}}function y(L){o=void 0,m=L,f=f(L)}function E(L){R(L)?(l.line++,l.column=1,l.offset+=L===-3?2:1,$()):L!==-1&&(l.column++,l.offset++),l._bufferIndex<0?l._index++:(l._bufferIndex++,l._bufferIndex===a[l._index].length&&(l._bufferIndex=-1,l._index++)),s.previous=L,o=!0}function C(L,Q){let G=Q||{};return G.type=L,G.start=T(),s.events.push(["enter",G,s]),u.push(G),G}function S(L){let Q=u.pop();return Q.end=T(),s.events.push(["exit",Q,s]),Q}function A(L,Q){k(L,Q.from)}function _(L,Q){Q.restore()}function O(L,Q){return G;function G(dt,Dt,Ue){let Xe,x,Se,en;return Array.isArray(dt)?oe(dt):"tokenize"in dt?oe([dt]):b(dt);function b(Bt){return nr;function nr(nn){let dl=nn!==null&&Bt[nn],Wl=nn!==null&&Bt.null,Go=[...Array.isArray(dl)?dl:dl?[dl]:[],...Array.isArray(Wl)?Wl:Wl?[Wl]:[]];return oe(Go)(nn)}}function oe(Bt){return Xe=Bt,x=0,Bt.length===0?Ue:hl(Bt[x])}function hl(Bt){return nr;function nr(nn){return en=X(),Se=Bt,Bt.partial||(s.currentConstruct=Bt),Bt.name&&s.parser.constructs.disable.null.includes(Bt.name)?Ea(nn):Bt.tokenize.call(Q?Object.assign(Object.create(s),Q):s,c,Qo,Ea)(nn)}}function Qo(Bt){return o=!0,L(Se,en),Dt}function Ea(Bt){return o=!0,en.restore(),++x<Xe.length?hl(Xe[x]):Ue}}}function k(L,Q){L.resolveAll&&!r.includes(L)&&r.push(L),L.resolve&&Tt(s.events,Q,s.events.length-Q,L.resolve(s.events.slice(Q),s)),L.resolveTo&&(s.events=L.resolveTo(s.events,s))}function X(){let L=T(),Q=s.previous,G=s.currentConstruct,dt=s.events.length,Dt=Array.from(u);return{from:dt,restore:Ue};function Ue(){l=L,s.previous=Q,s.currentConstruct=G,s.events.length=dt,u=Dt,$()}}function $(){l.line in i&&l.column<2&&(l.column=i[l.line],l.offset+=i[l.line]-1)}}function wT(t,e){let n=e.start._index,l=e.start._bufferIndex,i=e.end._index,r=e.end._bufferIndex,a;if(n===i)a=[t[n].slice(l,r)];else{if(a=t.slice(n,i),l>-1){let u=a[0];typeof u=="string"?a[0]=u.slice(l):a.shift()}r>0&&a.push(t[i].slice(0,r))}return a}function CT(t,e){let n=-1,l=[],i;for(;++n<t.length;){let r=t[n],a;if(typeof r=="string")a=r;else switch(r){case-5:{a="\r";break}case-4:{a=`
|
|
189
|
+
`;break}case-3:{a=`\r
|
|
190
|
+
`;break}case-2:{a=e?" ":" ";break}case-1:{if(!e&&i)continue;a=" ";break}default:a=String.fromCharCode(r)}i=r===-2,l.push(a)}return l.join("")}function fm(t){let l={constructs:ho([sm,...(t||{}).extensions||[]]),content:i(i0),defined:[],document:i(a0),flow:i(s0),lazy:{},string:i(m0),text:i(p0)};return l;function i(r){return a;function a(u){return g0(l,r,u)}}}function mm(t){for(;!ko(t););return t}var y0=/[\0\t\n\r]/g;function pm(){let t=1,e="",n=!0,l;return i;function i(r,a,u){let o=[],c,s,f,m,p;for(r=e+(typeof r=="string"?r.toString():new TextDecoder(a||void 0).decode(r)),f=0,e="",n&&(r.charCodeAt(0)===65279&&f++,n=void 0);f<r.length;){if(y0.lastIndex=f,c=y0.exec(r),m=c&&c.index!==void 0?c.index:r.length,p=r.charCodeAt(m),!c){e=r.slice(f);break}if(p===10&&f===m&&l)o.push(-3),l=void 0;else switch(l&&(o.push(-5),l=void 0),f<m&&(o.push(r.slice(f,m)),t+=m-f),p){case 0:{o.push(65533),t++;break}case 9:{for(s=Math.ceil(t/4)*4,o.push(-2);t++<s;)o.push(-1);break}case 10:{o.push(-4),t=1;break}default:l=!0,t=1}f=m+1}return u&&(l&&o.push(-5),e&&o.push(e),o.push(null)),o}}var DT=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function x0(t){return t.replace(DT,OT)}function OT(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){let i=n.charCodeAt(1),r=i===120||i===88;return go(n.slice(r?2:1),r?16:10)}return Fi(n)||t}var v0={}.hasOwnProperty;function hm(t,e,n){return typeof e!="string"&&(n=e,e=void 0),MT(n)(mm(fm(n).document().write(pm()(t,e,!0))))}function MT(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(xp),autolinkProtocol:O,autolinkEmail:O,atxHeading:r(dp),blockQuote:r(nn),characterEscape:O,characterReference:O,codeFenced:r(dl),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(dl,a),codeText:r(Wl,a),codeTextData:O,data:O,codeFlowValue:O,definition:r(Go),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(db),hardBreakEscape:r(gp),hardBreakTrailing:r(gp),htmlFlow:r(yp,a),htmlFlowData:O,htmlText:r(yp,a),htmlTextData:O,image:r(gb),label:a,link:r(xp),listItem:r(yb),listItemValue:m,listOrdered:r(bp,f),listUnordered:r(bp),paragraph:r(xb),reference:b,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(dp),strong:r(bb),thematicBreak:r(Sb)},exit:{atxHeading:o(),atxHeadingSequence:C,autolink:o(),autolinkEmail:nr,autolinkProtocol:Bt,blockQuote:o(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:hl,characterReferenceMarkerNumeric:hl,characterReferenceValue:Qo,characterReference:Ea,codeFenced:o(T),codeFencedFence:v,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:k,codeIndented:o(h),codeText:o(G),codeTextData:k,data:k,definition:o(),definitionDestinationString:E,definitionLabelString:d,definitionTitleString:y,emphasis:o(),hardBreakEscape:o($),hardBreakTrailing:o($),htmlFlow:o(L),htmlFlowData:k,htmlText:o(Q),htmlTextData:k,image:o(Dt),label:Xe,labelText:Ue,lineEnding:X,link:o(dt),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:oe,resourceDestinationString:x,resourceTitleString:Se,resource:en,setextHeading:o(_),setextHeadingLineSequence:A,setextHeadingText:S,strong:o(),thematicBreak:o()}};S0(e,(t||{}).mdastExtensions||[]);let n={};return l;function l(z){let M={type:"root",children:[]},q={stack:[M],tokenStack:[],config:e,enter:u,exit:c,buffer:a,resume:s,data:n},I=[],at=-1;for(;++at<z.length;)if(z[at][1].type==="listOrdered"||z[at][1].type==="listUnordered")if(z[at][0]==="enter")I.push(at);else{let Be=I.pop();at=i(z,Be,at)}for(at=-1;++at<z.length;){let Be=e[z[at][0]];v0.call(Be,z[at][1].type)&&Be[z[at][1].type].call(Object.assign({sliceSerialize:z[at][2].sliceSerialize},q),z[at][1])}if(q.tokenStack.length>0){let Be=q.tokenStack[q.tokenStack.length-1];(Be[1]||b0).call(q,void 0,Be[0])}for(M.position={start:fl(z.length>0?z[0][1].start:{line:1,column:1,offset:0}),end:fl(z.length>0?z[z.length-2][1].end:{line:1,column:1,offset:0})},at=-1;++at<e.transforms.length;)M=e.transforms[at](M)||M;return M}function i(z,M,q){let I=M-1,at=-1,Be=!1,gl,ln,lr,ir;for(;++I<=q;){let ce=z[I];switch(ce[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ce[0]==="enter"?at++:at--,ir=void 0;break}case"lineEndingBlank":{ce[0]==="enter"&&(gl&&!ir&&!at&&!lr&&(lr=I),ir=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ir=void 0}if(!at&&ce[0]==="enter"&&ce[1].type==="listItemPrefix"||at===-1&&ce[0]==="exit"&&(ce[1].type==="listUnordered"||ce[1].type==="listOrdered")){if(gl){let $l=I;for(ln=void 0;$l--;){let rn=z[$l];if(rn[1].type==="lineEnding"||rn[1].type==="lineEndingBlank"){if(rn[0]==="exit")continue;ln&&(z[ln][1].type="lineEndingBlank",Be=!0),rn[1].type="lineEnding",ln=$l}else if(!(rn[1].type==="linePrefix"||rn[1].type==="blockQuotePrefix"||rn[1].type==="blockQuotePrefixWhitespace"||rn[1].type==="blockQuoteMarker"||rn[1].type==="listItemIndent"))break}lr&&(!ln||lr<ln)&&(gl._spread=!0),gl.end=Object.assign({},ln?z[ln][1].start:ce[1].end),z.splice(ln||I,0,["exit",gl,ce[2]]),I++,q++}if(ce[1].type==="listItemPrefix"){let $l={type:"listItem",_spread:!1,start:Object.assign({},ce[1].start),end:void 0};gl=$l,z.splice(I,0,["enter",$l,ce[2]]),I++,q++,lr=void 0,ir=!0}}}return z[M][1]._spread=Be,q}function r(z,M){return q;function q(I){u.call(this,z(I),I),M&&M.call(this,I)}}function a(){this.stack.push({type:"fragment",children:[]})}function u(z,M,q){this.stack[this.stack.length-1].children.push(z),this.stack.push(z),this.tokenStack.push([M,q||void 0]),z.position={start:fl(M.start),end:void 0}}function o(z){return M;function M(q){z&&z.call(this,q),c.call(this,q)}}function c(z,M){let q=this.stack.pop(),I=this.tokenStack.pop();if(I)I[0].type!==z.type&&(M?M.call(this,z,I[0]):(I[1]||b0).call(this,z,I[0]));else throw new Error("Cannot close `"+z.type+"` ("+ol({start:z.start,end:z.end})+"): it\u2019s not open");q.position.end=fl(z.end)}function s(){return Yl(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(z){if(this.data.expectingFirstListItemValue){let M=this.stack[this.stack.length-2];M.start=Number.parseInt(this.sliceSerialize(z),10),this.data.expectingFirstListItemValue=void 0}}function p(){let z=this.resume(),M=this.stack[this.stack.length-1];M.lang=z}function g(){let z=this.resume(),M=this.stack[this.stack.length-1];M.meta=z}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){let z=this.resume(),M=this.stack[this.stack.length-1];M.value=z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function h(){let z=this.resume(),M=this.stack[this.stack.length-1];M.value=z.replace(/(\r?\n|\r)$/g,"")}function d(z){let M=this.resume(),q=this.stack[this.stack.length-1];q.label=M,q.identifier=Qt(this.sliceSerialize(z)).toLowerCase()}function y(){let z=this.resume(),M=this.stack[this.stack.length-1];M.title=z}function E(){let z=this.resume(),M=this.stack[this.stack.length-1];M.url=z}function C(z){let M=this.stack[this.stack.length-1];if(!M.depth){let q=this.sliceSerialize(z).length;M.depth=q}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function A(z){let M=this.stack[this.stack.length-1];M.depth=this.sliceSerialize(z).codePointAt(0)===61?1:2}function _(){this.data.setextHeadingSlurpLineEnding=void 0}function O(z){let q=this.stack[this.stack.length-1].children,I=q[q.length-1];(!I||I.type!=="text")&&(I=vb(),I.position={start:fl(z.start),end:void 0},q.push(I)),this.stack.push(I)}function k(z){let M=this.stack.pop();M.value+=this.sliceSerialize(z),M.position.end=fl(z.end)}function X(z){let M=this.stack[this.stack.length-1];if(this.data.atHardBreak){let q=M.children[M.children.length-1];q.position.end=fl(z.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(M.type)&&(O.call(this,z),k.call(this,z))}function $(){this.data.atHardBreak=!0}function L(){let z=this.resume(),M=this.stack[this.stack.length-1];M.value=z}function Q(){let z=this.resume(),M=this.stack[this.stack.length-1];M.value=z}function G(){let z=this.resume(),M=this.stack[this.stack.length-1];M.value=z}function dt(){let z=this.stack[this.stack.length-1];if(this.data.inReference){let M=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=M,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function Dt(){let z=this.stack[this.stack.length-1];if(this.data.inReference){let M=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=M,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function Ue(z){let M=this.sliceSerialize(z),q=this.stack[this.stack.length-2];q.label=x0(M),q.identifier=Qt(M).toLowerCase()}function Xe(){let z=this.stack[this.stack.length-1],M=this.resume(),q=this.stack[this.stack.length-1];if(this.data.inReference=!0,q.type==="link"){let I=z.children;q.children=I}else q.alt=M}function x(){let z=this.resume(),M=this.stack[this.stack.length-1];M.url=z}function Se(){let z=this.resume(),M=this.stack[this.stack.length-1];M.title=z}function en(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function oe(z){let M=this.resume(),q=this.stack[this.stack.length-1];q.label=M,q.identifier=Qt(this.sliceSerialize(z)).toLowerCase(),this.data.referenceType="full"}function hl(z){this.data.characterReferenceType=z.type}function Qo(z){let M=this.sliceSerialize(z),q=this.data.characterReferenceType,I;q?(I=go(M,q==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):I=Fi(M);let at=this.stack[this.stack.length-1];at.value+=I}function Ea(z){let M=this.stack.pop();M.position.end=fl(z.end)}function Bt(z){k.call(this,z);let M=this.stack[this.stack.length-1];M.url=this.sliceSerialize(z)}function nr(z){k.call(this,z);let M=this.stack[this.stack.length-1];M.url="mailto:"+this.sliceSerialize(z)}function nn(){return{type:"blockquote",children:[]}}function dl(){return{type:"code",lang:null,meta:null,value:""}}function Wl(){return{type:"inlineCode",value:""}}function Go(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function db(){return{type:"emphasis",children:[]}}function dp(){return{type:"heading",depth:0,children:[]}}function gp(){return{type:"break"}}function yp(){return{type:"html",value:""}}function gb(){return{type:"image",title:null,url:"",alt:null}}function xp(){return{type:"link",title:null,url:"",children:[]}}function bp(z){return{type:"list",ordered:z.type==="listOrdered",start:null,spread:z._spread,children:[]}}function yb(z){return{type:"listItem",spread:z._spread,checked:null,children:[]}}function xb(){return{type:"paragraph",children:[]}}function bb(){return{type:"strong",children:[]}}function vb(){return{type:"text",value:""}}function Sb(){return{type:"thematicBreak"}}}function fl(t){return{line:t.line,column:t.column,offset:t.offset}}function S0(t,e){let n=-1;for(;++n<e.length;){let l=e[n];Array.isArray(l)?S0(t,l):_T(t,l)}}function _T(t,e){let n;for(n in e)if(v0.call(e,n))switch(n){case"canContainEols":{let l=e[n];l&&t[n].push(...l);break}case"transforms":{let l=e[n];l&&t[n].push(...l);break}case"enter":case"exit":{let l=e[n];l&&Object.assign(t[n],l);break}}}function b0(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+ol({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+ol({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+ol({start:e.start,end:e.end})+") is still open")}function wo(t){let e=this;e.parser=n;function n(l){return hm(l,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function k0(t,e){let n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function E0(t,e){let n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
|
|
191
|
+
`}]}function T0(t,e){let n=e.value?e.value+`
|
|
192
|
+
`:"",l={},i=e.lang?e.lang.split(/\s+/):[];i.length>0&&(l.className=["language-"+i[0]]);let r={type:"element",tagName:"code",properties:l,children:[{type:"text",value:n}]};return e.meta&&(r.data={meta:e.meta}),t.patch(e,r),r=t.applyData(e,r),r={type:"element",tagName:"pre",properties:{},children:[r]},t.patch(e,r),r}function A0(t,e){let n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function z0(t,e){let n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function w0(t,e){let n=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",l=String(e.identifier).toUpperCase(),i=Le(l.toLowerCase()),r=t.footnoteOrder.indexOf(l),a,u=t.footnoteCounts.get(l);u===void 0?(u=0,t.footnoteOrder.push(l),a=t.footnoteOrder.length):a=r+1,u+=1,t.footnoteCounts.set(l,u);let o={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(e,o);let c={type:"element",tagName:"sup",properties:{},children:[o]};return t.patch(e,c),t.applyData(e,c)}function C0(t,e){let n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function D0(t,e){if(t.options.allowDangerousHtml){let n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}}function Co(t,e){let n=e.referenceType,l="]";if(n==="collapsed"?l+="[]":n==="full"&&(l+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+l}];let i=t.all(e),r=i[0];r&&r.type==="text"?r.value="["+r.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&a.type==="text"?a.value+=l:i.push({type:"text",value:l}),i}function O0(t,e){let n=String(e.identifier).toUpperCase(),l=t.definitionById.get(n);if(!l)return Co(t,e);let i={src:Le(l.url||""),alt:e.alt};l.title!==null&&l.title!==void 0&&(i.title=l.title);let r={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,r),t.applyData(e,r)}function M0(t,e){let n={src:Le(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);let l={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,l),t.applyData(e,l)}function _0(t,e){let n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);let l={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,l),t.applyData(e,l)}function R0(t,e){let n=String(e.identifier).toUpperCase(),l=t.definitionById.get(n);if(!l)return Co(t,e);let i={href:Le(l.url||"")};l.title!==null&&l.title!==void 0&&(i.title=l.title);let r={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function N0(t,e){let n={href:Le(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);let l={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,l),t.applyData(e,l)}function L0(t,e,n){let l=t.all(e),i=n?RT(n):U0(e),r={},a=[];if(typeof e.checked=="boolean"){let s=l[0],f;s&&s.type==="element"&&s.tagName==="p"?f=s:(f={type:"element",tagName:"p",properties:{},children:[]},l.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),r.className=["task-list-item"]}let u=-1;for(;++u<l.length;){let s=l[u];(i||u!==0||s.type!=="element"||s.tagName!=="p")&&a.push({type:"text",value:`
|
|
193
|
+
`}),s.type==="element"&&s.tagName==="p"&&!i?a.push(...s.children):a.push(s)}let o=l[l.length-1];o&&(i||o.type!=="element"||o.tagName!=="p")&&a.push({type:"text",value:`
|
|
194
|
+
`});let c={type:"element",tagName:"li",properties:r,children:a};return t.patch(e,c),t.applyData(e,c)}function RT(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let n=t.children,l=-1;for(;!e&&++l<n.length;)e=U0(n[l])}return e}function U0(t){let e=t.spread;return e??t.children.length>1}function B0(t,e){let n={},l=t.all(e),i=-1;for(typeof e.start=="number"&&e.start!==1&&(n.start=e.start);++i<l.length;){let a=l[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let r={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(l,!0)};return t.patch(e,r),t.applyData(e,r)}function H0(t,e){let n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function q0(t,e){let n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)}function j0(t,e){let n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function Y0(t,e){let n=t.all(e),l=n.shift(),i=[];if(l){let a={type:"element",tagName:"thead",properties:{},children:t.wrap([l],!0)};t.patch(e.children[0],a),i.push(a)}if(n.length>0){let a={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},u=Zi(e.children[1]),o=fo(e.children[e.children.length-1]);u&&o&&(a.position={start:u,end:o}),i.push(a)}let r={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,r),t.applyData(e,r)}function V0(t,e,n){let l=n?n.children:void 0,r=(l?l.indexOf(e):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,u=a?a.length:e.children.length,o=-1,c=[];for(;++o<u;){let f=e.children[o],m={},p=a?a[o]:void 0;p&&(m.align=p);let g={type:"element",tagName:r,properties:m,children:[]};f&&(g.children=t.all(f),t.patch(f,g),g=t.applyData(f,g)),c.push(g)}let s={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,s),t.applyData(e,s)}function X0(t,e){let n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function G0(t){let e=String(t),n=/\r?\n|\r/g,l=n.exec(e),i=0,r=[];for(;l;)r.push(Q0(e.slice(i,l.index),i>0,!0),l[0]),i=l.index+l[0].length,l=n.exec(e);return r.push(Q0(e.slice(i),i>0,!1)),r.join("")}function Q0(t,e,n){let l=0,i=t.length;if(e){let r=t.codePointAt(l);for(;r===9||r===32;)l++,r=t.codePointAt(l)}if(n){let r=t.codePointAt(i-1);for(;r===9||r===32;)i--,r=t.codePointAt(i-1)}return i>l?t.slice(l,i):""}function Z0(t,e){let n={type:"text",value:G0(String(e.value))};return t.patch(e,n),t.applyData(e,n)}function F0(t,e){let n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)}var K0={blockquote:k0,break:E0,code:T0,delete:A0,emphasis:z0,footnoteReference:w0,heading:C0,html:D0,imageReference:O0,image:M0,inlineCode:_0,linkReference:R0,link:N0,listItem:L0,list:B0,paragraph:H0,root:q0,strong:j0,table:Y0,tableCell:X0,tableRow:V0,text:Z0,thematicBreak:F0,toml:Do,yaml:Do,definition:Do,footnoteDefinition:Do};function Do(){}var J0=typeof self=="object"?self:globalThis,BT=(t,e)=>{let n=(i,r)=>(t.set(r,i),i),l=i=>{if(t.has(i))return t.get(i);let[r,a]=e[i];switch(r){case 0:case-1:return n(a,i);case 1:{let u=n([],i);for(let o of a)u.push(l(o));return u}case 2:{let u=n({},i);for(let[o,c]of a)u[l(o)]=l(c);return u}case 3:return n(new Date(a),i);case 4:{let{source:u,flags:o}=a;return n(new RegExp(u,o),i)}case 5:{let u=n(new Map,i);for(let[o,c]of a)u.set(l(o),l(c));return u}case 6:{let u=n(new Set,i);for(let o of a)u.add(l(o));return u}case 7:{let{name:u,message:o}=a;return n(new J0[u](o),i)}case 8:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:u}=new Uint8Array(a);return n(new DataView(u),a)}}return n(new J0[r](a),i)};return l},ym=t=>BT(new Map,t)(0);var Ki="",{toString:HT}={},{keys:qT}=Object,xa=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let n=HT.call(t).slice(8,-1);switch(n){case"Array":return[1,Ki];case"Object":return[2,Ki];case"Date":return[3,Ki];case"RegExp":return[4,Ki];case"Map":return[5,Ki];case"Set":return[6,Ki];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Mo=([t,e])=>t===0&&(e==="function"||e==="symbol"),jT=(t,e,n,l)=>{let i=(a,u)=>{let o=l.push(a)-1;return n.set(u,o),o},r=a=>{if(n.has(a))return n.get(a);let[u,o]=xa(a);switch(u){case 0:{let s=a;switch(o){case"bigint":u=8,s=a.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+o);s=null;break;case"undefined":return i([-1],a)}return i([u,s],a)}case 1:{if(o){let m=a;return o==="DataView"?m=new Uint8Array(a.buffer):o==="ArrayBuffer"&&(m=new Uint8Array(a)),i([o,[...m]],a)}let s=[],f=i([u,s],a);for(let m of a)s.push(r(m));return f}case 2:{if(o)switch(o){case"BigInt":return i([o,a.toString()],a);case"Boolean":case"Number":case"String":return i([o,a.valueOf()],a)}if(e&&"toJSON"in a)return r(a.toJSON());let s=[],f=i([u,s],a);for(let m of qT(a))(t||!Mo(xa(a[m])))&&s.push([r(m),r(a[m])]);return f}case 3:return i([u,a.toISOString()],a);case 4:{let{source:s,flags:f}=a;return i([u,{source:s,flags:f}],a)}case 5:{let s=[],f=i([u,s],a);for(let[m,p]of a)(t||!(Mo(xa(m))||Mo(xa(p))))&&s.push([r(m),r(p)]);return f}case 6:{let s=[],f=i([u,s],a);for(let m of a)(t||!Mo(xa(m)))&&s.push(r(m));return f}}let{message:c}=a;return i([u,{name:o,message:c}],a)};return r},xm=(t,{json:e,lossy:n}={})=>{let l=[];return jT(!(e||n),!!e,new Map,l)(t),l};var Ji=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?ym(xm(t,e)):structuredClone(t):(t,e)=>ym(xm(t,e));function YT(t,e){let n=[{type:"text",value:"\u21A9"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function VT(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function tx(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||YT,l=t.options.footnoteBackLabel||VT,i=t.options.footnoteLabel||"Footnotes",r=t.options.footnoteLabelTagName||"h2",a=t.options.footnoteLabelProperties||{className:["sr-only"]},u=[],o=-1;for(;++o<t.footnoteOrder.length;){let c=t.footnoteById.get(t.footnoteOrder[o]);if(!c)continue;let s=t.all(c),f=String(c.identifier).toUpperCase(),m=Le(f.toLowerCase()),p=0,g=[],v=t.footnoteCounts.get(f);for(;v!==void 0&&++p<=v;){g.length>0&&g.push({type:"text",value:" "});let d=typeof n=="string"?n:n(o,p);typeof d=="string"&&(d={type:"text",value:d}),g.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+m+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof l=="string"?l:l(o,p),className:["data-footnote-backref"]},children:Array.isArray(d)?d:[d]})}let T=s[s.length-1];if(T&&T.type==="element"&&T.tagName==="p"){let d=T.children[T.children.length-1];d&&d.type==="text"?d.value+=" ":T.children.push({type:"text",value:" "}),T.children.push(...g)}else s.push(...g);let h={type:"element",tagName:"li",properties:{id:e+"fn-"+m},children:t.wrap(s,!0)};t.patch(c,h),u.push(h)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:r,properties:{...Ji(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
195
|
+
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(u,!0)},{type:"text",value:`
|
|
196
|
+
`}]}}var ml=(function(t){if(t==null)return ZT;if(typeof t=="function")return _o(t);if(typeof t=="object")return Array.isArray(t)?XT(t):QT(t);if(typeof t=="string")return GT(t);throw new Error("Expected function, string, or object as test")});function XT(t){let e=[],n=-1;for(;++n<t.length;)e[n]=ml(t[n]);return _o(l);function l(...i){let r=-1;for(;++r<e.length;)if(e[r].apply(this,i))return!0;return!1}}function QT(t){let e=t;return _o(n);function n(l){let i=l,r;for(r in t)if(i[r]!==e[r])return!1;return!0}}function GT(t){return _o(e);function e(n){return n&&n.type===t}}function _o(t){return e;function e(n,l,i){return!!(FT(n)&&t.call(this,n,typeof l=="number"?l:void 0,i||void 0))}}function ZT(){return!0}function FT(t){return t!==null&&typeof t=="object"&&"type"in t}var ex=[],Ro=!0,Fl=!1,No="skip";function ba(t,e,n,l){let i;typeof e=="function"&&typeof n!="function"?(l=n,n=e):i=e;let r=ml(i),a=l?-1:1;u(t,void 0,[])();function u(o,c,s){let f=o&&typeof o=="object"?o:{};if(typeof f.type=="string"){let p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(o.type+(p?"<"+p+">":""))+")"})}return m;function m(){let p=ex,g,v,T;if((!e||r(o,c,s[s.length-1]||void 0))&&(p=KT(n(o,s)),p[0]===Fl))return p;if("children"in o&&o.children){let h=o;if(h.children&&p[0]!==No)for(v=(l?h.children.length:-1)+a,T=s.concat(h);v>-1&&v<h.children.length;){let d=h.children[v];if(g=u(d,v,T)(),g[0]===Fl)return g;v=typeof g[1]=="number"?g[1]:v+a}}return p}}}function KT(t){return Array.isArray(t)?t:typeof t=="number"?[Ro,t]:t==null?ex:[t]}function Kl(t,e,n,l){let i,r,a;typeof e=="function"&&typeof n!="function"?(r=void 0,a=e,i=n):(r=e,a=n,i=l),ba(t,r,u,i);function u(o,c){let s=c[c.length-1],f=s?s.children.indexOf(o):void 0;return a(o,f,s)}}var bm={}.hasOwnProperty,JT={};function lx(t,e){let n=e||JT,l=new Map,i=new Map,r=new Map,a={...K0,...n.handlers},u={all:c,applyData:WT,definitionById:l,footnoteById:i,footnoteCounts:r,footnoteOrder:[],handlers:a,one:o,options:n,patch:IT,wrap:PT};return Kl(t,function(s){if(s.type==="definition"||s.type==="footnoteDefinition"){let f=s.type==="definition"?l:i,m=String(s.identifier).toUpperCase();f.has(m)||f.set(m,s)}}),u;function o(s,f){let m=s.type,p=u.handlers[m];if(bm.call(u.handlers,m)&&p)return p(u,s,f);if(u.options.passThrough&&u.options.passThrough.includes(m)){if("children"in s){let{children:v,...T}=s,h=Ji(T);return h.children=u.all(s),h}return Ji(s)}return(u.options.unknownHandler||$T)(u,s,f)}function c(s){let f=[];if("children"in s){let m=s.children,p=-1;for(;++p<m.length;){let g=u.one(m[p],s);if(g){if(p&&m[p-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=nx(g.value)),!Array.isArray(g)&&g.type==="element")){let v=g.children[0];v&&v.type==="text"&&(v.value=nx(v.value))}Array.isArray(g)?f.push(...g):f.push(g)}}}return f}}function IT(t,e){t.position&&(e.position=Ff(t))}function WT(t,e){let n=e;if(t&&t.data){let l=t.data.hName,i=t.data.hChildren,r=t.data.hProperties;if(typeof l=="string")if(n.type==="element")n.tagName=l;else{let a="children"in n?n.children:[n];n={type:"element",tagName:l,properties:{},children:a}}n.type==="element"&&r&&Object.assign(n.properties,Ji(r)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function $T(t,e){let n=e.data||{},l="value"in e&&!(bm.call(n,"hProperties")||bm.call(n,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,l),t.applyData(e,l)}function PT(t,e){let n=[],l=-1;for(e&&n.push({type:"text",value:`
|
|
195
197
|
`});++l<t.length;)l&&n.push({type:"text",value:`
|
|
196
198
|
`}),n.push(t[l]);return e&&t.length>0&&n.push({type:"text",value:`
|
|
197
|
-
`}),n}function
|
|
198
|
-
`},i)),a}function bo(t,e){return t&&"run"in t?async function(n,l){let i=xo(n,{file:l,...e});await t.run(i,l)}:function(n,l){return xo(n,{file:l,...t||e})}}function ip(t){if(t)throw t}var Eo=Ft(y1(),1);function au(t){if(typeof t!="object"||t===null)return!1;let e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function ap(){let t=[],e={run:n,use:l};return e;function n(...i){let a=-1,u=i.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);r(null,...i);function r(o,...f){let c=t[++a],m=-1;if(o){u(o);return}for(;++m<i.length;)(f[m]===null||f[m]===void 0)&&(f[m]=i[m]);i=f,c?g1(c,r)(...f):u(null,...f)}}function l(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function g1(t,e){let n;return l;function l(...u){let r=t.length>u.length,o;r&&u.push(i);try{o=t.apply(this,u)}catch(f){let c=f;if(r&&n)throw c;return i(c)}r||(o&&o.then&&typeof o.then=="function"?o.then(a,i):o instanceof Error?i(o):a(o))}function i(u,...r){n||(n=!0,e(u,...r))}function a(u){i(null,u)}}var Ye={basename:gT,dirname:xT,extname:bT,join:vT,sep:"/"};function gT(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');uu(t);let n=0,l=-1,i=t.length,a;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(a){n=i+1;break}}else l<0&&(a=!0,l=i+1);return l<0?"":t.slice(n,l)}if(e===t)return"";let u=-1,r=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(a){n=i+1;break}}else u<0&&(a=!0,u=i+1),r>-1&&(t.codePointAt(i)===e.codePointAt(r--)?r<0&&(l=i):(r=-1,l=u));return n===l?l=u:l<0&&(l=t.length),t.slice(n,l)}function xT(t){if(uu(t),t.length===0)return".";let e=-1,n=t.length,l;for(;--n;)if(t.codePointAt(n)===47){if(l){e=n;break}}else l||(l=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function bT(t){uu(t);let e=t.length,n=-1,l=0,i=-1,a=0,u;for(;e--;){let r=t.codePointAt(e);if(r===47){if(u){l=e+1;break}continue}n<0&&(u=!0,n=e+1),r===46?i<0?i=e:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===l+1?"":t.slice(i,n)}function vT(...t){let e=-1,n;for(;++e<t.length;)uu(t[e]),t[e]&&(n=n===void 0?t[e]:n+"/"+t[e]);return n===void 0?".":ST(n)}function ST(t){uu(t);let e=t.codePointAt(0)===47,n=ET(t,!e);return n.length===0&&!e&&(n="."),n.length>0&&t.codePointAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function ET(t,e){let n="",l=0,i=-1,a=0,u=-1,r,o;for(;++u<=t.length;){if(u<t.length)r=t.codePointAt(u);else{if(r===47)break;r=47}if(r===47){if(!(i===u-1||a===1))if(i!==u-1&&a===2){if(n.length<2||l!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(o=n.lastIndexOf("/"),o!==n.length-1){o<0?(n="",l=0):(n=n.slice(0,o),l=n.length-1-n.lastIndexOf("/")),i=u,a=0;continue}}else if(n.length>0){n="",l=0,i=u,a=0;continue}}e&&(n=n.length>0?n+"/..":"..",l=2)}else n.length>0?n+="/"+t.slice(i+1,u):n=t.slice(i+1,u),l=u-i-1;i=u,a=0}else r===46&&a>-1?a++:a=-1}return n}function uu(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var x1={cwd:TT};function TT(){return"/"}function Li(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function b1(t){if(typeof t=="string")t=new URL(t);else if(!Li(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return zT(t)}function zT(t){if(t.hostname!==""){let l=new TypeError('File URL host must be "localhost" or empty on darwin');throw l.code="ERR_INVALID_FILE_URL_HOST",l}let e=t.pathname,n=-1;for(;++n<e.length;)if(e.codePointAt(n)===37&&e.codePointAt(n+1)===50){let l=e.codePointAt(n+2);if(l===70||l===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}var up=["history","path","basename","stem","extname","dirname"],Hl=class{constructor(e){let n;e?Li(e)?n={path:e}:typeof e=="string"||AT(e)?n={value:e}:n=e:n={},this.cwd="cwd"in n?"":x1.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let l=-1;for(;++l<up.length;){let a=up[l];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)up.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Ye.basename(this.path):void 0}set basename(e){op(e,"basename"),rp(e,"basename"),this.path=Ye.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Ye.dirname(this.path):void 0}set dirname(e){v1(this.basename,"dirname"),this.path=Ye.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Ye.extname(this.path):void 0}set extname(e){if(rp(e,"extname"),v1(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ye.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Li(e)&&(e=b1(e)),op(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Ye.basename(this.path,this.extname):void 0}set stem(e){op(e,"stem"),rp(e,"stem"),this.path=Ye.join(this.dirname||"",e+(this.extname||""))}fail(e,n,l){let i=this.message(e,n,l);throw i.fatal=!0,i}info(e,n,l){let i=this.message(e,n,l);return i.fatal=void 0,i}message(e,n,l){let i=new St(e,n,l);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function rp(t,e){if(t&&t.includes(Ye.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Ye.sep+"`")}function op(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function v1(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function AT(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var S1=(function(t){let l=this.constructor.prototype,i=l[t],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,l),a});var CT={}.hasOwnProperty,pp=class t extends S1{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=ap()}copy(){let e=new t,n=-1;for(;++n<this.attachers.length;){let l=this.attachers[n];e.use(...l)}return e.data((0,Eo.default)(!0,{},this.namespace)),e}data(e,n){return typeof e=="string"?arguments.length===2?(sp("data",this.frozen),this.namespace[e]=n,this):CT.call(this.namespace,e)&&this.namespace[e]||void 0:e?(sp("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[n,...l]=this.attachers[this.freezeIndex];if(l[0]===!1)continue;l[0]===!0&&(l[0]=void 0);let i=n.call(e,...l);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let n=So(e),l=this.parser||this.Parser;return cp("parse",l),l(String(n),n)}process(e,n){let l=this;return this.freeze(),cp("process",this.parser||this.Parser),fp("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,u){let r=So(e),o=l.parse(r);l.run(o,r,function(c,m,p){if(c||!m||!p)return f(c);let s=m,v=l.stringify(s,p);kT(v)?p.value=v:p.result=v,f(c,p)});function f(c,m){c||!m?u(c):a?a(m):n(void 0,m)}}}processSync(e){let n=!1,l;return this.freeze(),cp("processSync",this.parser||this.Parser),fp("processSync",this.compiler||this.Compiler),this.process(e,i),T1("processSync","process",n),l;function i(a,u){n=!0,ip(a),l=u}}run(e,n,l){E1(e),this.freeze();let i=this.transformers;return!l&&typeof n=="function"&&(l=n,n=void 0),l?a(void 0,l):new Promise(a);function a(u,r){let o=So(n);i.run(e,o,f);function f(c,m,p){let s=m||e;c?r(c):u?u(s):l(void 0,s,p)}}}runSync(e,n){let l=!1,i;return this.run(e,n,a),T1("runSync","run",l),i;function a(u,r){ip(u),i=r,l=!0}}stringify(e,n){this.freeze();let l=So(n),i=this.compiler||this.Compiler;return fp("stringify",i),E1(e),i(e,l)}use(e,...n){let l=this.attachers,i=this.namespace;if(sp("use",this.frozen),e!=null)if(typeof e=="function")o(e,n);else if(typeof e=="object")Array.isArray(e)?r(e):u(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function a(f){if(typeof f=="function")o(f,[]);else if(typeof f=="object")if(Array.isArray(f)){let[c,...m]=f;o(c,m)}else u(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function u(f){if(!("plugins"in f)&&!("settings"in f))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");r(f.plugins),f.settings&&(i.settings=(0,Eo.default)(!0,i.settings,f.settings))}function r(f){let c=-1;if(f!=null)if(Array.isArray(f))for(;++c<f.length;){let m=f[c];a(m)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function o(f,c){let m=-1,p=-1;for(;++m<l.length;)if(l[m][0]===f){p=m;break}if(p===-1)l.push([f,...c]);else if(c.length>0){let[s,...v]=c,E=l[p][1];au(E)&&au(s)&&(s=(0,Eo.default)(!0,E,s)),l[p]=[f,s,...v]}}}},mp=new pp().freeze();function cp(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function fp(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function sp(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function E1(t){if(!au(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function T1(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function So(t){return OT(t)?t:new Hl(t)}function OT(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function kT(t){return typeof t=="string"||DT(t)}function DT(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var wT="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",z1=[],A1={allowDangerousHtml:!0},_T=/^(https?|ircs?|mailto|xmpp)$/i,MT=[{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 hp(t){let e=NT(t),n=RT(t);return UT(e.runSync(e.parse(n),n),t)}function NT(t){let e=t.rehypePlugins||z1,n=t.remarkPlugins||z1,l=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...A1}:A1;return mp().use(co).use(n).use(bo,l).use(e)}function RT(t){let e=t.children||"",n=new Hl;return typeof e=="string"?n.value=e:(""+e,void 0),n}function UT(t,e){let n=e.allowedElements,l=e.allowElement,i=e.components,a=e.disallowedElements,u=e.skipHtml,r=e.unwrapDisallowed,o=e.urlTransform||O1;for(let c of MT)Object.hasOwn(e,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+wT+c.id,void 0);return n&&a&&void 0,iu(t,f),Ds(t,{Fragment:qi.Fragment,components:i,ignoreInvalidStyle:!0,jsx:qi.jsx,jsxs:qi.jsxs,passKeys:!0,passNode:!0});function f(c,m,p){if(c.type==="raw"&&p&&typeof m=="number")return u?p.children.splice(m,1):p.children[m]={type:"text",value:c.value},m;if(c.type==="element"){let s;for(s in Ia)if(Object.hasOwn(Ia,s)&&Object.hasOwn(c.properties,s)){let v=c.properties[s],E=Ia[s];(E===null||E.includes(c.tagName))&&(c.properties[s]=o(String(v||""),s,c))}}if(c.type==="element"){let s=n?!n.includes(c.tagName):a?a.includes(c.tagName):!1;if(!s&&l&&typeof m=="number"&&(s=!l(c,m,p)),s&&p&&typeof m=="number")return r&&c.children?p.children.splice(m,1,...c.children):p.children.splice(m,1),m}}}function O1(t){let e=t.indexOf(":"),n=t.indexOf("?"),l=t.indexOf("#"),i=t.indexOf("/");return e===-1||i!==-1&&e>i||n!==-1&&e>n||l!==-1&&e>l||_T.test(t.slice(0,e))?t:""}var w=Ft(Wr(),1),k1=t=>{if(!t)return;let e=document.getElementById(t);e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),e.classList.add("docless-highlight"),setTimeout(()=>{e.classList.remove("docless-highlight")},3e3))},BT=(t,e)=>{t&&window.location.pathname!==t?(window.location.href=t,setTimeout(()=>{k1(e)},700)):k1(e)};function dp({name:t="Assistant",appKey:e}){let[n,l]=(0,ae.useState)(!1),[i,a]=(0,ae.useState)(""),[u,r]=(0,ae.useState)([{role:"assistant",content:"Hello! How can I help you today?"}]),[o,f]=(0,ae.useState)(!1),[c,m]=(0,ae.useState)(null),[p,s]=(0,ae.useState)(null),v=(0,ae.useRef)(null),E=(0,ae.useRef)(null),k=(0,ae.useMemo)(()=>new Lr({appKey:e}),[e]);(0,ae.useEffect)(()=>{E.current&&E.current.scrollTo({top:E.current.scrollHeight,behavior:"smooth"})},[u,o]);let h=async()=>{if(!i.trim()||o)return;let b=i.trim(),O=c;a(""),r(S=>[...S,{role:"user",content:b}]),f(!0);try{let S=await k.ask(b,O||void 0);m(null),r(C=>[...C,{role:"assistant",content:S.res,image:S.image,route:S.route,elementId:S.elementId}])}catch(S){vt.error(S?.message||"Something went wrong"),a(b)}finally{f(!1)}},d={backgroundColor:"#4f46e5",color:"white",padding:"8px 14px",borderRadius:"8px",fontSize:"13px",fontWeight:500,border:"none",cursor:"pointer"},y={backgroundColor:"#eef2ff",color:"#4338ca",padding:"8px 14px",borderRadius:"8px",fontSize:"13px",fontWeight:500,border:"1px solid #c7d2fe",cursor:"pointer"};return(0,w.jsxs)("div",{style:{fontFamily:"Inter, system-ui, sans-serif"},children:[(0,w.jsx)(Sg,{position:"top-center",reverseOrder:!1}),(0,w.jsx)("style",{children:`
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
`}),n}function nx(t){let e=0,n=t.charCodeAt(e);for(;n===9||n===32;)e++,n=t.charCodeAt(e);return t.slice(e)}function Lo(t,e){let n=lx(t,e),l=n.one(t,void 0),i=tx(n),r=Array.isArray(l)?{type:"root",children:l}:l||{type:"root",children:[]};return i&&("children"in r,r.children.push({type:"text",value:`
|
|
200
|
+
`},i)),r}function Uo(t,e){return t&&"run"in t?async function(n,l){let i=Lo(n,{file:l,...e});await t.run(i,l)}:function(n,l){return Lo(n,{file:l,...t||e})}}function vm(t){if(t)throw t}var qo=$t(mx(),1);function va(t){if(typeof t!="object"||t===null)return!1;let e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Sm(){let t=[],e={run:n,use:l};return e;function n(...i){let r=-1,a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);u(null,...i);function u(o,...c){let s=t[++r],f=-1;if(o){a(o);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,s?px(s,u)(...c):a(null,...c)}}function l(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function px(t,e){let n;return l;function l(...a){let u=t.length>a.length,o;u&&a.push(i);try{o=t.apply(this,a)}catch(c){let s=c;if(u&&n)throw s;return i(s)}u||(o&&o.then&&typeof o.then=="function"?o.then(r,i):o instanceof Error?i(o):r(o))}function i(a,...u){n||(n=!0,e(a,...u))}function r(a){i(null,a)}}var Ve={basename:tA,dirname:eA,extname:nA,join:lA,sep:"/"};function tA(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Sa(t);let n=0,l=-1,i=t.length,r;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(r){n=i+1;break}}else l<0&&(r=!0,l=i+1);return l<0?"":t.slice(n,l)}if(e===t)return"";let a=-1,u=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(r){n=i+1;break}}else a<0&&(r=!0,a=i+1),u>-1&&(t.codePointAt(i)===e.codePointAt(u--)?u<0&&(l=i):(u=-1,l=a));return n===l?l=a:l<0&&(l=t.length),t.slice(n,l)}function eA(t){if(Sa(t),t.length===0)return".";let e=-1,n=t.length,l;for(;--n;)if(t.codePointAt(n)===47){if(l){e=n;break}}else l||(l=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function nA(t){Sa(t);let e=t.length,n=-1,l=0,i=-1,r=0,a;for(;e--;){let u=t.codePointAt(e);if(u===47){if(a){l=e+1;break}continue}n<0&&(a=!0,n=e+1),u===46?i<0?i=e:r!==1&&(r=1):i>-1&&(r=-1)}return i<0||n<0||r===0||r===1&&i===n-1&&i===l+1?"":t.slice(i,n)}function lA(...t){let e=-1,n;for(;++e<t.length;)Sa(t[e]),t[e]&&(n=n===void 0?t[e]:n+"/"+t[e]);return n===void 0?".":iA(n)}function iA(t){Sa(t);let e=t.codePointAt(0)===47,n=rA(t,!e);return n.length===0&&!e&&(n="."),n.length>0&&t.codePointAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function rA(t,e){let n="",l=0,i=-1,r=0,a=-1,u,o;for(;++a<=t.length;){if(a<t.length)u=t.codePointAt(a);else{if(u===47)break;u=47}if(u===47){if(!(i===a-1||r===1))if(i!==a-1&&r===2){if(n.length<2||l!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(o=n.lastIndexOf("/"),o!==n.length-1){o<0?(n="",l=0):(n=n.slice(0,o),l=n.length-1-n.lastIndexOf("/")),i=a,r=0;continue}}else if(n.length>0){n="",l=0,i=a,r=0;continue}}e&&(n=n.length>0?n+"/..":"..",l=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),l=a-i-1;i=a,r=0}else u===46&&r>-1?r++:r=-1}return n}function Sa(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var hx={cwd:aA};function aA(){return"/"}function Ii(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function dx(t){if(typeof t=="string")t=new URL(t);else if(!Ii(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return uA(t)}function uA(t){if(t.hostname!==""){let l=new TypeError('File URL host must be "localhost" or empty on darwin');throw l.code="ERR_INVALID_FILE_URL_HOST",l}let e=t.pathname,n=-1;for(;++n<e.length;)if(e.codePointAt(n)===37&&e.codePointAt(n+1)===50){let l=e.codePointAt(n+2);if(l===70||l===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}var km=["history","path","basename","stem","extname","dirname"],Jl=class{constructor(e){let n;e?Ii(e)?n={path:e}:typeof e=="string"||oA(e)?n={value:e}:n=e:n={},this.cwd="cwd"in n?"":hx.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let l=-1;for(;++l<km.length;){let r=km[l];r in n&&n[r]!==void 0&&n[r]!==null&&(this[r]=r==="history"?[...n[r]]:n[r])}let i;for(i in n)km.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Ve.basename(this.path):void 0}set basename(e){Tm(e,"basename"),Em(e,"basename"),this.path=Ve.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Ve.dirname(this.path):void 0}set dirname(e){gx(this.basename,"dirname"),this.path=Ve.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Ve.extname(this.path):void 0}set extname(e){if(Em(e,"extname"),gx(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ve.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Ii(e)&&(e=dx(e)),Tm(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Ve.basename(this.path,this.extname):void 0}set stem(e){Tm(e,"stem"),Em(e,"stem"),this.path=Ve.join(this.dirname||"",e+(this.extname||""))}fail(e,n,l){let i=this.message(e,n,l);throw i.fatal=!0,i}info(e,n,l){let i=this.message(e,n,l);return i.fatal=void 0,i}message(e,n,l){let i=new Et(e,n,l);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function Em(t,e){if(t&&t.includes(Ve.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Ve.sep+"`")}function Tm(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function gx(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function oA(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var yx=(function(t){let l=this.constructor.prototype,i=l[t],r=function(){return i.apply(r,arguments)};return Object.setPrototypeOf(r,l),r});var cA={}.hasOwnProperty,Cm=class t extends yx{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=Sm()}copy(){let e=new t,n=-1;for(;++n<this.attachers.length;){let l=this.attachers[n];e.use(...l)}return e.data((0,qo.default)(!0,{},this.namespace)),e}data(e,n){return typeof e=="string"?arguments.length===2?(wm("data",this.frozen),this.namespace[e]=n,this):cA.call(this.namespace,e)&&this.namespace[e]||void 0:e?(wm("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[n,...l]=this.attachers[this.freezeIndex];if(l[0]===!1)continue;l[0]===!0&&(l[0]=void 0);let i=n.call(e,...l);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let n=Ho(e),l=this.parser||this.Parser;return Am("parse",l),l(String(n),n)}process(e,n){let l=this;return this.freeze(),Am("process",this.parser||this.Parser),zm("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(r,a){let u=Ho(e),o=l.parse(u);l.run(o,u,function(s,f,m){if(s||!f||!m)return c(s);let p=f,g=l.stringify(p,m);fA(g)?m.value=g:m.result=g,c(s,m)});function c(s,f){s||!f?a(s):r?r(f):n(void 0,f)}}}processSync(e){let n=!1,l;return this.freeze(),Am("processSync",this.parser||this.Parser),zm("processSync",this.compiler||this.Compiler),this.process(e,i),bx("processSync","process",n),l;function i(r,a){n=!0,vm(r),l=a}}run(e,n,l){xx(e),this.freeze();let i=this.transformers;return!l&&typeof n=="function"&&(l=n,n=void 0),l?r(void 0,l):new Promise(r);function r(a,u){let o=Ho(n);i.run(e,o,c);function c(s,f,m){let p=f||e;s?u(s):a?a(p):l(void 0,p,m)}}}runSync(e,n){let l=!1,i;return this.run(e,n,r),bx("runSync","run",l),i;function r(a,u){vm(a),i=u,l=!0}}stringify(e,n){this.freeze();let l=Ho(n),i=this.compiler||this.Compiler;return zm("stringify",i),xx(e),i(e,l)}use(e,...n){let l=this.attachers,i=this.namespace;if(wm("use",this.frozen),e!=null)if(typeof e=="function")o(e,n);else if(typeof e=="object")Array.isArray(e)?u(e):a(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function r(c){if(typeof c=="function")o(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[s,...f]=c;o(s,f)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(c.plugins),c.settings&&(i.settings=(0,qo.default)(!0,i.settings,c.settings))}function u(c){let s=-1;if(c!=null)if(Array.isArray(c))for(;++s<c.length;){let f=c[s];r(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function o(c,s){let f=-1,m=-1;for(;++f<l.length;)if(l[f][0]===c){m=f;break}if(m===-1)l.push([c,...s]);else if(s.length>0){let[p,...g]=s,v=l[m][1];va(v)&&va(p)&&(p=(0,qo.default)(!0,v,p)),l[m]=[c,p,...g]}}}},Dm=new Cm().freeze();function Am(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function zm(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function wm(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function xx(t){if(!va(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function bx(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Ho(t){return sA(t)?t:new Jl(t)}function sA(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function fA(t){return typeof t=="string"||mA(t)}function mA(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var pA="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",vx=[],Sx={allowDangerousHtml:!0},hA=/^(https?|ircs?|mailto|xmpp)$/i,dA=[{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 Om(t){let e=gA(t),n=yA(t);return xA(e.runSync(e.parse(n),n),t)}function gA(t){let e=t.rehypePlugins||vx,n=t.remarkPlugins||vx,l=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...Sx}:Sx;return Dm().use(wo).use(n).use(Uo,l).use(e)}function yA(t){let e=t.children||"",n=new Jl;return typeof e=="string"?n.value=e:(""+e,void 0),n}function xA(t,e){let n=e.allowedElements,l=e.allowElement,i=e.components,r=e.disallowedElements,a=e.skipHtml,u=e.unwrapDisallowed,o=e.urlTransform||Ex;for(let s of dA)Object.hasOwn(e,s.from)&&(""+s.from+(s.to?"use `"+s.to+"` instead":"remove it")+pA+s.id,void 0);return n&&r&&void 0,Kl(t,c),If(t,{Fragment:Wi.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Wi.jsx,jsxs:Wi.jsxs,passKeys:!0,passNode:!0});function c(s,f,m){if(s.type==="raw"&&m&&typeof f=="number")return a?m.children.splice(f,1):m.children[f]={type:"text",value:s.value},f;if(s.type==="element"){let p;for(p in ma)if(Object.hasOwn(ma,p)&&Object.hasOwn(s.properties,p)){let g=s.properties[p],v=ma[p];(v===null||v.includes(s.tagName))&&(s.properties[p]=o(String(g||""),p,s))}}if(s.type==="element"){let p=n?!n.includes(s.tagName):r?r.includes(s.tagName):!1;if(!p&&l&&typeof f=="number"&&(p=!l(s,f,m)),p&&m&&typeof f=="number")return u&&s.children?m.children.splice(f,1,...s.children):m.children.splice(f,1),f}}}function Ex(t){let e=t.indexOf(":"),n=t.indexOf("?"),l=t.indexOf("#"),i=t.indexOf("/");return e===-1||i!==-1&&e>i||n!==-1&&e>n||l!==-1&&e>l||hA.test(t.slice(0,e))?t:""}function Mm(t,e){let n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let l=0,i=n.indexOf(e);for(;i!==-1;)l++,i=n.indexOf(e,i+e.length);return l}function _m(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Rm(t,e,n){let i=ml((n||{}).ignore||[]),r=bA(e),a=-1;for(;++a<r.length;)ba(t,"text",u);function u(c,s){let f=-1,m;for(;++f<s.length;){let p=s[f],g=m?m.children:void 0;if(i(p,g?g.indexOf(p):void 0,m))return;m=p}if(m)return o(c,s)}function o(c,s){let f=s[s.length-1],m=r[a][0],p=r[a][1],g=0,T=f.children.indexOf(c),h=!1,d=[];m.lastIndex=0;let y=m.exec(c.value);for(;y;){let E=y.index,C={index:y.index,input:y.input,stack:[...s,c]},S=p(...y,C);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1?m.lastIndex=E+1:(g!==E&&d.push({type:"text",value:c.value.slice(g,E)}),Array.isArray(S)?d.push(...S):S&&d.push(S),g=E+y[0].length,h=!0),!m.global)break;y=m.exec(c.value)}return h?(g<c.value.length&&d.push({type:"text",value:c.value.slice(g)}),f.children.splice(T,1,...d)):d=[c],T+d.length}}function bA(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let n=!t[0]||Array.isArray(t[0])?t:[t],l=-1;for(;++l<n.length;){let i=n[l];e.push([vA(i[0]),SA(i[1])])}return e}function vA(t){return typeof t=="string"?new RegExp(_m(t),"g"):t}function SA(t){return typeof t=="function"?t:function(){return t}}var Nm="phrasing",Lm=["autolink","link","image","label"];function Bm(){return{transforms:[wA],enter:{literalAutolink:kA,literalAutolinkEmail:Um,literalAutolinkHttp:Um,literalAutolinkWww:Um},exit:{literalAutolink:zA,literalAutolinkEmail:AA,literalAutolinkHttp:EA,literalAutolinkWww:TA}}}function Hm(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Nm,notInConstruct:Lm},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Nm,notInConstruct:Lm},{character:":",before:"[ps]",after:"\\/",inConstruct:Nm,notInConstruct:Lm}]}}function kA(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function Um(t){this.config.enter.autolinkProtocol.call(this,t)}function EA(t){this.config.exit.autolinkProtocol.call(this,t)}function TA(t){this.config.exit.data.call(this,t);let e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function AA(t){this.config.exit.autolinkEmail.call(this,t)}function zA(t){this.exit(t)}function wA(t){Rm(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,CA],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,DA]],{ignore:["link","linkReference"]})}function CA(t,e,n,l,i){let r="";if(!Tx(i)||(/^w/i.test(e)&&(n=e+n,e="",r="http://"),!OA(n)))return!1;let a=MA(n+l);if(!a[0])return!1;let u={type:"link",title:null,url:r+e+a[0],children:[{type:"text",value:e+a[0]}]};return a[1]?[u,{type:"text",value:a[1]}]:u}function DA(t,e,n,l){return!Tx(l,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function OA(t){let e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function MA(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],l=n.indexOf(")"),i=Mm(t,"("),r=Mm(t,")");for(;l!==-1&&i>r;)t+=n.slice(0,l+1),n=n.slice(l+1),l=n.indexOf(")"),r++;return[t,n]}function Tx(t,e){let n=t.input.charCodeAt(t.index-1);return(t.index===0||$e(n)||Xl(n))&&(!e||n!==47)}Ax.peek=jA;function _A(){this.buffer()}function RA(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function NA(){this.buffer()}function LA(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function UA(t){let e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Qt(this.sliceSerialize(t)).toLowerCase(),n.label=e}function BA(t){this.exit(t)}function HA(t){let e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Qt(this.sliceSerialize(t)).toLowerCase(),n.label=e}function qA(t){this.exit(t)}function jA(){return"["}function Ax(t,e,n,l){let i=n.createTracker(l),r=i.move("[^"),a=n.enter("footnoteReference"),u=n.enter("reference");return r+=i.move(n.safe(n.associationId(t),{after:"]",before:r})),u(),a(),r+=i.move("]"),r}function qm(){return{enter:{gfmFootnoteCallString:_A,gfmFootnoteCall:RA,gfmFootnoteDefinitionLabelString:NA,gfmFootnoteDefinition:LA},exit:{gfmFootnoteCallString:UA,gfmFootnoteCall:BA,gfmFootnoteDefinitionLabelString:HA,gfmFootnoteDefinition:qA}}}function jm(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:n,footnoteReference:Ax},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(l,i,r,a){let u=r.createTracker(a),o=u.move("[^"),c=r.enter("footnoteDefinition"),s=r.enter("label");return o+=u.move(r.safe(r.associationId(l),{before:o,after:"]"})),s(),o+=u.move("]:"),l.children&&l.children.length>0&&(u.shift(4),o+=u.move((e?`
|
|
201
|
+
`:" ")+r.indentLines(r.containerFlow(l,u.current()),e?zx:YA))),c(),o}}function YA(t,e,n){return e===0?t:zx(t,e,n)}function zx(t,e,n){return(n?"":" ")+t}var VA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];wx.peek=GA;function Ym(){return{canContainEols:["delete"],enter:{strikethrough:XA},exit:{strikethrough:QA}}}function Vm(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:VA}],handlers:{delete:wx}}}function XA(t){this.enter({type:"delete",children:[]},t)}function QA(t){this.exit(t)}function wx(t,e,n,l){let i=n.createTracker(l),r=n.enter("strikethrough"),a=i.move("~~");return a+=n.containerPhrasing(t,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),r(),a}function GA(){return"~"}function ZA(t){return t.length}function Dx(t,e){let n=e||{},l=(n.align||[]).concat(),i=n.stringLength||ZA,r=[],a=[],u=[],o=[],c=0,s=-1;for(;++s<t.length;){let v=[],T=[],h=-1;for(t[s].length>c&&(c=t[s].length);++h<t[s].length;){let d=FA(t[s][h]);if(n.alignDelimiters!==!1){let y=i(d);T[h]=y,(o[h]===void 0||y>o[h])&&(o[h]=y)}v.push(d)}a[s]=v,u[s]=T}let f=-1;if(typeof l=="object"&&"length"in l)for(;++f<c;)r[f]=Cx(l[f]);else{let v=Cx(l);for(;++f<c;)r[f]=v}f=-1;let m=[],p=[];for(;++f<c;){let v=r[f],T="",h="";v===99?(T=":",h=":"):v===108?T=":":v===114&&(h=":");let d=n.alignDelimiters===!1?1:Math.max(1,o[f]-T.length-h.length),y=T+"-".repeat(d)+h;n.alignDelimiters!==!1&&(d=T.length+d+h.length,d>o[f]&&(o[f]=d),p[f]=d),m[f]=y}a.splice(1,0,m),u.splice(1,0,p),s=-1;let g=[];for(;++s<a.length;){let v=a[s],T=u[s];f=-1;let h=[];for(;++f<c;){let d=v[f]||"",y="",E="";if(n.alignDelimiters!==!1){let C=o[f]-(T[f]||0),S=r[f];S===114?y=" ".repeat(C):S===99?C%2?(y=" ".repeat(C/2+.5),E=" ".repeat(C/2-.5)):(y=" ".repeat(C/2),E=y):E=" ".repeat(C)}n.delimiterStart!==!1&&!f&&h.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&d==="")&&(n.delimiterStart!==!1||f)&&h.push(" "),n.alignDelimiters!==!1&&h.push(y),h.push(d),n.alignDelimiters!==!1&&h.push(E),n.padding!==!1&&h.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&h.push("|")}g.push(n.delimiterEnd===!1?h.join("").replace(/ +$/,""):h.join(""))}return g.join(`
|
|
202
|
+
`)}function FA(t){return t==null?"":String(t)}function Cx(t){let e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}function Ox(t,e,n,l){let i=n.enter("blockquote"),r=n.createTracker(l);r.move("> "),r.shift(2);let a=n.indentLines(n.containerFlow(t,r.current()),KA);return i(),a}function KA(t,e,n){return">"+(n?"":" ")+t}function _x(t,e){return Mx(t,e.inConstruct,!0)&&!Mx(t,e.notInConstruct,!1)}function Mx(t,e,n){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return n;let l=-1;for(;++l<e.length;)if(t.includes(e[l]))return!0;return!1}function Xm(t,e,n,l){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
203
|
+
`&&_x(n.stack,n.unsafe[i]))return/[ \t]/.test(l.before)?"":" ";return`\\
|
|
204
|
+
`}function Rx(t,e){let n=String(t),l=n.indexOf(e),i=l,r=0,a=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;l!==-1;)l===i?++r>a&&(a=r):r=1,i=l+e.length,l=n.indexOf(e,i);return a}function Nx(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function Lx(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function Ux(t,e,n,l){let i=Lx(n),r=t.value||"",a=i==="`"?"GraveAccent":"Tilde";if(Nx(t,n)){let f=n.enter("codeIndented"),m=n.indentLines(r,JA);return f(),m}let u=n.createTracker(l),o=i.repeat(Math.max(Rx(r,i)+1,3)),c=n.enter("codeFenced"),s=u.move(o);if(t.lang){let f=n.enter(`codeFencedLang${a}`);s+=u.move(n.safe(t.lang,{before:s,after:" ",encode:["`"],...u.current()})),f()}if(t.lang&&t.meta){let f=n.enter(`codeFencedMeta${a}`);s+=u.move(" "),s+=u.move(n.safe(t.meta,{before:s,after:`
|
|
205
|
+
`,encode:["`"],...u.current()})),f()}return s+=u.move(`
|
|
206
|
+
`),r&&(s+=u.move(r+`
|
|
207
|
+
`)),s+=u.move(o),c(),s}function JA(t,e,n){return(n?"":" ")+t}function $i(t){let e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function Bx(t,e,n,l){let i=$i(n),r=i==='"'?"Quote":"Apostrophe",a=n.enter("definition"),u=n.enter("label"),o=n.createTracker(l),c=o.move("[");return c+=o.move(n.safe(n.associationId(t),{before:c,after:"]",...o.current()})),c+=o.move("]: "),u(),!t.url||/[\0- \u007F]/.test(t.url)?(u=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(t.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(u=n.enter("destinationRaw"),c+=o.move(n.safe(t.url,{before:c,after:t.title?" ":`
|
|
208
|
+
`,...o.current()}))),u(),t.title&&(u=n.enter(`title${r}`),c+=o.move(" "+i),c+=o.move(n.safe(t.title,{before:c,after:i,...o.current()})),c+=o.move(i),u()),a(),c}function Hx(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}function pl(t){return"&#x"+t.toString(16).toUpperCase()+";"}function Pi(t,e,n){let l=Dn(t),i=Dn(e);return l===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:l===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Qm.peek=IA;function Qm(t,e,n,l){let i=Hx(n),r=n.enter("emphasis"),a=n.createTracker(l),u=a.move(i),o=a.move(n.containerPhrasing(t,{after:i,before:u,...a.current()})),c=o.charCodeAt(0),s=Pi(l.before.charCodeAt(l.before.length-1),c,i);s.inside&&(o=pl(c)+o.slice(1));let f=o.charCodeAt(o.length-1),m=Pi(l.after.charCodeAt(0),f,i);m.inside&&(o=o.slice(0,-1)+pl(f));let p=a.move(i);return r(),n.attentionEncodeSurroundingInfo={after:m.outside,before:s.outside},u+o+p}function IA(t,e,n){return n.options.emphasis||"*"}function qx(t,e){let n=!1;return Kl(t,function(l){if("value"in l&&/\r?\n|\r/.test(l.value)||l.type==="break")return n=!0,Fl}),!!((!t.depth||t.depth<3)&&Yl(t)&&(e.options.setext||n))}function jx(t,e,n,l){let i=Math.max(Math.min(6,t.depth||1),1),r=n.createTracker(l);if(qx(t,n)){let s=n.enter("headingSetext"),f=n.enter("phrasing"),m=n.containerPhrasing(t,{...r.current(),before:`
|
|
209
|
+
`,after:`
|
|
210
|
+
`});return f(),s(),m+`
|
|
211
|
+
`+(i===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
|
|
212
|
+
`))+1))}let a="#".repeat(i),u=n.enter("headingAtx"),o=n.enter("phrasing");r.move(a+" ");let c=n.containerPhrasing(t,{before:"# ",after:`
|
|
213
|
+
`,...r.current()});return/^[\t ]/.test(c)&&(c=pl(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),o(),u(),c}Gm.peek=WA;function Gm(t){return t.value||""}function WA(){return"<"}Zm.peek=$A;function Zm(t,e,n,l){let i=$i(n),r=i==='"'?"Quote":"Apostrophe",a=n.enter("image"),u=n.enter("label"),o=n.createTracker(l),c=o.move("![");return c+=o.move(n.safe(t.alt,{before:c,after:"]",...o.current()})),c+=o.move("]("),u(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(u=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(t.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(u=n.enter("destinationRaw"),c+=o.move(n.safe(t.url,{before:c,after:t.title?" ":")",...o.current()}))),u(),t.title&&(u=n.enter(`title${r}`),c+=o.move(" "+i),c+=o.move(n.safe(t.title,{before:c,after:i,...o.current()})),c+=o.move(i),u()),c+=o.move(")"),a(),c}function $A(){return"!"}Fm.peek=PA;function Fm(t,e,n,l){let i=t.referenceType,r=n.enter("imageReference"),a=n.enter("label"),u=n.createTracker(l),o=u.move("!["),c=n.safe(t.alt,{before:o,after:"]",...u.current()});o+=u.move(c+"]["),a();let s=n.stack;n.stack=[],a=n.enter("reference");let f=n.safe(n.associationId(t),{before:o,after:"]",...u.current()});return a(),n.stack=s,r(),i==="full"||!c||c!==f?o+=u.move(f+"]"):i==="shortcut"?o=o.slice(0,-1):o+=u.move("]"),o}function PA(){return"!"}Km.peek=tz;function Km(t,e,n){let l=t.value||"",i="`",r=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(l);)i+="`";for(/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^`|`$/.test(l))&&(l=" "+l+" ");++r<n.unsafe.length;){let a=n.unsafe[r],u=n.compilePattern(a),o;if(a.atBreak)for(;o=u.exec(l);){let c=o.index;l.charCodeAt(c)===10&&l.charCodeAt(c-1)===13&&c--,l=l.slice(0,c)+" "+l.slice(o.index+1)}}return i+l+i}function tz(){return"`"}function Jm(t,e){let n=Yl(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}Im.peek=ez;function Im(t,e,n,l){let i=$i(n),r=i==='"'?"Quote":"Apostrophe",a=n.createTracker(l),u,o;if(Jm(t,n)){let s=n.stack;n.stack=[],u=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(t,{before:f,after:">",...a.current()})),f+=a.move(">"),u(),n.stack=s,f}u=n.enter("link"),o=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(t,{before:c,after:"](",...a.current()})),c+=a.move("]("),o(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(o=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(t.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(o=n.enter("destinationRaw"),c+=a.move(n.safe(t.url,{before:c,after:t.title?" ":")",...a.current()}))),o(),t.title&&(o=n.enter(`title${r}`),c+=a.move(" "+i),c+=a.move(n.safe(t.title,{before:c,after:i,...a.current()})),c+=a.move(i),o()),c+=a.move(")"),u(),c}function ez(t,e,n){return Jm(t,n)?"<":"["}Wm.peek=nz;function Wm(t,e,n,l){let i=t.referenceType,r=n.enter("linkReference"),a=n.enter("label"),u=n.createTracker(l),o=u.move("["),c=n.containerPhrasing(t,{before:o,after:"]",...u.current()});o+=u.move(c+"]["),a();let s=n.stack;n.stack=[],a=n.enter("reference");let f=n.safe(n.associationId(t),{before:o,after:"]",...u.current()});return a(),n.stack=s,r(),i==="full"||!c||c!==f?o+=u.move(f+"]"):i==="shortcut"?o=o.slice(0,-1):o+=u.move("]"),o}function nz(){return"["}function tr(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function Yx(t){let e=tr(t),n=t.options.bulletOther;if(!n)return e==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Vx(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function jo(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function Xx(t,e,n,l){let i=n.enter("list"),r=n.bulletCurrent,a=t.ordered?Vx(n):tr(n),u=t.ordered?a==="."?")":".":Yx(n),o=e&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!t.ordered){let s=t.children?t.children[0]:void 0;if((a==="*"||a==="-")&&s&&(!s.children||!s.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(o=!0),jo(n)===a&&s){let f=-1;for(;++f<t.children.length;){let m=t.children[f];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){o=!0;break}}}}o&&(a=u),n.bulletCurrent=a;let c=n.containerFlow(t,l);return n.bulletLastUsed=a,n.bulletCurrent=r,i(),c}function Qx(t){let e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function Gx(t,e,n,l){let i=Qx(n),r=n.bulletCurrent||tr(n);e&&e.type==="list"&&e.ordered&&(r=(typeof e.start=="number"&&e.start>-1?e.start:1)+(n.options.incrementListMarker===!1?0:e.children.indexOf(t))+r);let a=r.length+1;(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(a=Math.ceil(a/4)*4);let u=n.createTracker(l);u.move(r+" ".repeat(a-r.length)),u.shift(a);let o=n.enter("listItem"),c=n.indentLines(n.containerFlow(t,u.current()),s);return o(),c;function s(f,m,p){return m?(p?"":" ".repeat(a))+f:(p?r:r+" ".repeat(a-r.length))+f}}function Zx(t,e,n,l){let i=n.enter("paragraph"),r=n.enter("phrasing"),a=n.containerPhrasing(t,l);return r(),i(),a}var $m=ml(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Fx(t,e,n,l){return(t.children.some(function(a){return $m(a)})?n.containerPhrasing:n.containerFlow).call(n,t,l)}function Kx(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}Pm.peek=lz;function Pm(t,e,n,l){let i=Kx(n),r=n.enter("strong"),a=n.createTracker(l),u=a.move(i+i),o=a.move(n.containerPhrasing(t,{after:i,before:u,...a.current()})),c=o.charCodeAt(0),s=Pi(l.before.charCodeAt(l.before.length-1),c,i);s.inside&&(o=pl(c)+o.slice(1));let f=o.charCodeAt(o.length-1),m=Pi(l.after.charCodeAt(0),f,i);m.inside&&(o=o.slice(0,-1)+pl(f));let p=a.move(i+i);return r(),n.attentionEncodeSurroundingInfo={after:m.outside,before:s.outside},u+o+p}function lz(t,e,n){return n.options.strong||"*"}function Jx(t,e,n,l){return n.safe(t.value,l)}function Ix(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function Wx(t,e,n){let l=(jo(n)+(n.options.ruleSpaces?" ":"")).repeat(Ix(n));return n.options.ruleSpaces?l.slice(0,-1):l}var ka={blockquote:Ox,break:Xm,code:Ux,definition:Bx,emphasis:Qm,hardBreak:Xm,heading:jx,html:Gm,image:Zm,imageReference:Fm,inlineCode:Km,link:Im,linkReference:Wm,list:Xx,listItem:Gx,paragraph:Zx,root:Fx,strong:Pm,text:Jx,thematicBreak:Wx};function ep(){return{enter:{table:iz,tableData:$x,tableHeader:$x,tableRow:az},exit:{codeText:uz,table:rz,tableData:tp,tableHeader:tp,tableRow:tp}}}function iz(t){let e=t._align;this.enter({type:"table",align:e.map(function(n){return n==="none"?null:n}),children:[]},t),this.data.inTable=!0}function rz(t){this.exit(t),this.data.inTable=void 0}function az(t){this.enter({type:"tableRow",children:[]},t)}function tp(t){this.exit(t)}function $x(t){this.enter({type:"tableCell",children:[]},t)}function uz(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,oz));let n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function oz(t,e){return e==="|"?e:t}function np(t){let e=t||{},n=e.tableCellPadding,l=e.tablePipeAlign,i=e.stringLength,r=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
214
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:a,tableCell:o,tableRow:u}};function a(p,g,v,T){return c(s(p,v,T),p.align)}function u(p,g,v,T){let h=f(p,v,T),d=c([h]);return d.slice(0,d.indexOf(`
|
|
215
|
+
`))}function o(p,g,v,T){let h=v.enter("tableCell"),d=v.enter("phrasing"),y=v.containerPhrasing(p,{...T,before:r,after:r});return d(),h(),y}function c(p,g){return Dx(p,{align:g,alignDelimiters:l,padding:n,stringLength:i})}function s(p,g,v){let T=p.children,h=-1,d=[],y=g.enter("table");for(;++h<T.length;)d[h]=f(T[h],g,v);return y(),d}function f(p,g,v){let T=p.children,h=-1,d=[],y=g.enter("tableRow");for(;++h<T.length;)d[h]=o(T[h],p,g,v);return y(),d}function m(p,g,v){let T=ka.inlineCode(p,g,v);return v.stack.includes("tableCell")&&(T=T.replace(/\|/g,"\\$&")),T}}function lp(){return{exit:{taskListCheckValueChecked:Px,taskListCheckValueUnchecked:Px,paragraph:cz}}}function ip(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:sz}}}function Px(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function cz(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let l=n.children[0];if(l&&l.type==="text"){let i=e.children,r=-1,a;for(;++r<i.length;){let u=i[r];if(u.type==="paragraph"){a=u;break}}a===n&&(l.value=l.value.slice(1),l.value.length===0?n.children.shift():n.position&&l.position&&typeof l.position.start.offset=="number"&&(l.position.start.column++,l.position.start.offset++,n.position.start=Object.assign({},l.position.start)))}}this.exit(t)}function sz(t,e,n,l){let i=t.children[0],r=typeof t.checked=="boolean"&&i&&i.type==="paragraph",a="["+(t.checked?"x":" ")+"] ",u=n.createTracker(l);r&&u.move(a);let o=ka.listItem(t,e,n,{...l,...u.current()});return r&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),o;function c(s){return s+a}}function rp(){return[Bm(),qm(),Ym(),ep(),lp()]}function ap(t){return{extensions:[Hm(),jm(t),Vm(),np(t),ip()]}}var fz={tokenize:gz,partial:!0},tb={tokenize:yz,partial:!0},eb={tokenize:xz,partial:!0},nb={tokenize:bz,partial:!0},mz={tokenize:vz,partial:!0},lb={name:"wwwAutolink",tokenize:hz,previous:rb},ib={name:"protocolAutolink",tokenize:dz,previous:ab},On={name:"emailAutolink",tokenize:pz,previous:ub},tn={};function op(){return{text:tn}}var Il=48;for(;Il<123;)tn[Il]=On,Il++,Il===58?Il=65:Il===91&&(Il=97);tn[43]=On;tn[45]=On;tn[46]=On;tn[95]=On;tn[72]=[On,ib];tn[104]=[On,ib];tn[87]=[On,lb];tn[119]=[On,lb];function pz(t,e,n){let l=this,i,r;return a;function a(f){return!up(f)||!ub.call(l,l.previous)||cp(l.events)?n(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),u(f))}function u(f){return up(f)?(t.consume(f),u):f===64?(t.consume(f),o):n(f)}function o(f){return f===46?t.check(mz,s,c)(f):f===45||f===95||vt(f)?(r=!0,t.consume(f),o):s(f)}function c(f){return t.consume(f),i=!0,o}function s(f){return r&&i&&_t(l.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):n(f)}}function hz(t,e,n){let l=this;return i;function i(a){return a!==87&&a!==119||!rb.call(l,l.previous)||cp(l.events)?n(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(fz,t.attempt(tb,t.attempt(eb,r),n),n)(a))}function r(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function dz(t,e,n){let l=this,i="",r=!1;return a;function a(f){return(f===72||f===104)&&ab.call(l,l.previous)&&!cp(l.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),t.consume(f),u):n(f)}function u(f){if(_t(f)&&i.length<5)return i+=String.fromCodePoint(f),t.consume(f),u;if(f===58){let m=i.toLowerCase();if(m==="http"||m==="https")return t.consume(f),o}return n(f)}function o(f){return f===47?(t.consume(f),r?c:(r=!0,o)):n(f)}function c(f){return f===null||Vl(f)||Z(f)||$e(f)||Xl(f)?n(f):t.attempt(tb,t.attempt(eb,s),n)(f)}function s(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function gz(t,e,n){let l=0;return i;function i(a){return(a===87||a===119)&&l<3?(l++,t.consume(a),i):a===46&&l===3?(t.consume(a),r):n(a)}function r(a){return a===null?n(a):e(a)}}function yz(t,e,n){let l,i,r;return a;function a(c){return c===46||c===95?t.check(nb,o,u)(c):c===null||Z(c)||$e(c)||c!==45&&Xl(c)?o(c):(r=!0,t.consume(c),a)}function u(c){return c===95?l=!0:(i=l,l=void 0),t.consume(c),a}function o(c){return i||l||!r?n(c):e(c)}}function xz(t,e){let n=0,l=0;return i;function i(a){return a===40?(n++,t.consume(a),i):a===41&&l<n?r(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?t.check(nb,e,r)(a):a===null||Z(a)||$e(a)?e(a):(t.consume(a),i)}function r(a){return a===41&&l++,t.consume(a),i}}function bz(t,e,n){return l;function l(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(t.consume(u),l):u===38?(t.consume(u),r):u===93?(t.consume(u),i):u===60||u===null||Z(u)||$e(u)?e(u):n(u)}function i(u){return u===null||u===40||u===91||Z(u)||$e(u)?e(u):l(u)}function r(u){return _t(u)?a(u):n(u)}function a(u){return u===59?(t.consume(u),l):_t(u)?(t.consume(u),a):n(u)}}function vz(t,e,n){return l;function l(r){return t.consume(r),i}function i(r){return vt(r)?n(r):e(r)}}function rb(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Z(t)}function ab(t){return!_t(t)}function ub(t){return!(t===47||up(t))}function up(t){return t===43||t===45||t===46||t===95||vt(t)}function cp(t){let e=t.length,n=!1;for(;e--;){let l=t[e][1];if((l.type==="labelLink"||l.type==="labelImage")&&!l._balanced){n=!0;break}if(l._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var Sz={tokenize:Cz,partial:!0};function sp(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Az,continuation:{tokenize:zz},exit:wz}},text:{91:{name:"gfmFootnoteCall",tokenize:Tz},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:kz,resolveTo:Ez}}}}function kz(t,e,n){let l=this,i=l.events.length,r=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),a;for(;i--;){let o=l.events[i][1];if(o.type==="labelImage"){a=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return u;function u(o){if(!a||!a._balanced)return n(o);let c=Qt(l.sliceSerialize({start:a.end,end:l.now()}));return c.codePointAt(0)!==94||!r.includes(c.slice(1))?n(o):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(o),t.exit("gfmFootnoteCallLabelMarker"),e(o))}}function Ez(t,e){let n=t.length,l;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){l=t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},t[t.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[t[n+1],t[n+2],["enter",i,e],t[n+3],t[n+4],["enter",r,e],["exit",r,e],["enter",a,e],["enter",u,e],["exit",u,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(n,t.length-n+1,...o),t}function Tz(t,e,n){let l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),r=0,a;return u;function u(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),o}function o(f){return f!==94?n(f):(t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(f){if(r>999||f===93&&!a||f===null||f===91||Z(f))return n(f);if(f===93){t.exit("chunkString");let m=t.exit("gfmFootnoteCallString");return i.includes(Qt(l.sliceSerialize(m)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(f)}return Z(f)||(a=!0),r++,t.consume(f),f===92?s:c}function s(f){return f===91||f===92||f===93?(t.consume(f),r++,c):c(f)}}function Az(t,e,n){let l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),r,a=0,u;return o;function o(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",s):n(g)}function s(g){if(a>999||g===93&&!u||g===null||g===91||Z(g))return n(g);if(g===93){t.exit("chunkString");let v=t.exit("gfmFootnoteDefinitionLabelString");return r=Qt(l.sliceSerialize(v)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),m}return Z(g)||(u=!0),a++,t.consume(g),g===92?f:s}function f(g){return g===91||g===92||g===93?(t.consume(g),a++,s):s(g)}function m(g){return g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),i.includes(r)||i.push(r),U(t,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return e(g)}}function zz(t,e,n){return t.check(Pe,e,t.attempt(Sz,e,n))}function wz(t){t.exit("gfmFootnoteDefinition")}function Cz(t,e,n){let l=this;return U(t,i,"gfmFootnoteDefinitionIndent",5);function i(r){let a=l.events[l.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(r):n(r)}}function fp(t){let n=(t||{}).singleTilde,l={name:"strikethrough",tokenize:r,resolveAll:i};return n==null&&(n=!0),{text:{126:l},insideSpan:{null:[l]},attentionMarkers:{null:[126]}};function i(a,u){let o=-1;for(;++o<a.length;)if(a[o][0]==="enter"&&a[o][1].type==="strikethroughSequenceTemporary"&&a[o][1]._close){let c=o;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[o][1].end.offset-a[o][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[o][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let s={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[o][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[o][1].start)},m=[["enter",s,u],["enter",a[c][1],u],["exit",a[c][1],u],["enter",f,u]],p=u.parser.constructs.insideSpan.null;p&&Tt(m,m.length,0,sl(p,a.slice(c+1,o),u)),Tt(m,m.length,0,[["exit",f,u],["enter",a[o][1],u],["exit",a[o][1],u],["exit",s,u]]),Tt(a,c-1,o-c+3,m),o=c+m.length-2;break}}for(o=-1;++o<a.length;)a[o][1].type==="strikethroughSequenceTemporary"&&(a[o][1].type="data");return a}function r(a,u,o){let c=this.previous,s=this.events,f=0;return m;function m(g){return c===126&&s[s.length-1][1].type!=="characterEscape"?o(g):(a.enter("strikethroughSequenceTemporary"),p(g))}function p(g){let v=Dn(c);if(g===126)return f>1?o(g):(a.consume(g),f++,p);if(f<2&&!n)return o(g);let T=a.exit("strikethroughSequenceTemporary"),h=Dn(g);return T._open=!h||h===2&&!!v,T._close=!v||v===2&&!!h,u(g)}}}var Yo=class{constructor(){this.map=[]}add(e,n,l){Dz(this,e,n,l)}consume(e){if(this.map.sort(function(r,a){return r[0]-a[0]}),this.map.length===0)return;let n=this.map.length,l=[];for(;n>0;)n-=1,l.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];l.push(e.slice()),e.length=0;let i=l.pop();for(;i;){for(let r of i)e.push(r);i=l.pop()}this.map.length=0}};function Dz(t,e,n,l){let i=0;if(!(n===0&&l.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=n,t.map[i][2].push(...l);return}i+=1}t.map.push([e,n,l])}}function ob(t,e){let n=!1,l=[];for(;e<t.length;){let i=t[e];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&l.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let r=l.length-1;l[r]=l[r]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);e+=1}return l}function mp(){return{flow:{null:{name:"table",tokenize:Oz,resolveAll:Mz}}}}function Oz(t,e,n){let l=this,i=0,r=0,a;return u;function u(k){let X=l.events.length-1;for(;X>-1;){let Q=l.events[X][1].type;if(Q==="lineEnding"||Q==="linePrefix")X--;else break}let $=X>-1?l.events[X][1].type:null,L=$==="tableHead"||$==="tableRow"?S:o;return L===S&&l.parser.lazy[l.now().line]?n(k):L(k)}function o(k){return t.enter("tableHead"),t.enter("tableRow"),c(k)}function c(k){return k===124||(a=!0,r+=1),s(k)}function s(k){return k===null?n(k):R(k)?r>1?(r=0,l.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),p):n(k):B(k)?U(t,s,"whitespace")(k):(r+=1,a&&(a=!1,i+=1),k===124?(t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),a=!0,s):(t.enter("data"),f(k)))}function f(k){return k===null||k===124||Z(k)?(t.exit("data"),s(k)):(t.consume(k),k===92?m:f)}function m(k){return k===92||k===124?(t.consume(k),f):f(k)}function p(k){return l.interrupt=!1,l.parser.lazy[l.now().line]?n(k):(t.enter("tableDelimiterRow"),a=!1,B(k)?U(t,g,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):g(k))}function g(k){return k===45||k===58?T(k):k===124?(a=!0,t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),v):C(k)}function v(k){return B(k)?U(t,T,"whitespace")(k):T(k)}function T(k){return k===58?(r+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(k),t.exit("tableDelimiterMarker"),h):k===45?(r+=1,h(k)):k===null||R(k)?E(k):C(k)}function h(k){return k===45?(t.enter("tableDelimiterFiller"),d(k)):C(k)}function d(k){return k===45?(t.consume(k),d):k===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(k),t.exit("tableDelimiterMarker"),y):(t.exit("tableDelimiterFiller"),y(k))}function y(k){return B(k)?U(t,E,"whitespace")(k):E(k)}function E(k){return k===124?g(k):k===null||R(k)?!a||i!==r?C(k):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(k)):C(k)}function C(k){return n(k)}function S(k){return t.enter("tableRow"),A(k)}function A(k){return k===124?(t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),A):k===null||R(k)?(t.exit("tableRow"),e(k)):B(k)?U(t,A,"whitespace")(k):(t.enter("data"),_(k))}function _(k){return k===null||k===124||Z(k)?(t.exit("data"),A(k)):(t.consume(k),k===92?O:_)}function O(k){return k===92||k===124?(t.consume(k),_):_(k)}}function Mz(t,e){let n=-1,l=!0,i=0,r=[0,0,0,0],a=[0,0,0,0],u=!1,o=0,c,s,f,m=new Yo;for(;++n<t.length;){let p=t[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(u=!1,o!==0&&(cb(m,e,o,c,s),s=void 0,o=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=!0,f=void 0,r=[0,0,0,0],a=[0,n+1,0,0],u&&(u=!1,s={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",s,e]])),i=g.type==="tableDelimiterRow"?2:s?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(l=!1,a[2]===0&&(r[1]!==0&&(a[0]=a[1],f=Vo(m,e,r,i,void 0,f),r=[0,0,0,0]),a[2]=n)):g.type==="tableCellDivider"&&(l?l=!1:(r[1]!==0&&(a[0]=a[1],f=Vo(m,e,r,i,void 0,f)),r=a,a=[r[1],n,0,0])):g.type==="tableHead"?(u=!0,o=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(o=n,r[1]!==0?(a[0]=a[1],f=Vo(m,e,r,i,n,f)):a[1]!==0&&(f=Vo(m,e,a,i,n,f)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(a[3]=n)}for(o!==0&&cb(m,e,o,c,s),m.consume(e.events),n=-1;++n<e.events.length;){let p=e.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=ob(e.events,n))}return t}function Vo(t,e,n,l,i,r){let a=l===1?"tableHeader":l===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(r.end=Object.assign({},er(e.events,n[0])),t.add(n[0],0,[["exit",r,e]]));let o=er(e.events,n[1]);if(r={type:a,start:Object.assign({},o),end:Object.assign({},o)},t.add(n[1],0,[["enter",r,e]]),n[2]!==0){let c=er(e.events,n[2]),s=er(e.events,n[3]),f={type:u,start:Object.assign({},c),end:Object.assign({},s)};if(t.add(n[2],0,[["enter",f,e]]),l!==2){let m=e.events[n[2]],p=e.events[n[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){let g=n[2]+1,v=n[3]-n[2]-1;t.add(g,v,[])}}t.add(n[3]+1,0,[["exit",f,e]])}return i!==void 0&&(r.end=Object.assign({},er(e.events,i)),t.add(i,0,[["exit",r,e]]),r=void 0),r}function cb(t,e,n,l,i){let r=[],a=er(e.events,n);i&&(i.end=Object.assign({},a),r.push(["exit",i,e])),l.end=Object.assign({},a),r.push(["exit",l,e]),t.add(n+1,0,r)}function er(t,e){let n=t[e],l=n[0]==="enter"?"start":"end";return n[1][l]}var _z={name:"tasklistCheck",tokenize:Rz};function pp(){return{text:{91:_z}}}function Rz(t,e,n){let l=this;return i;function i(o){return l.previous!==null||!l._gfmTasklistFirstContentOfListItem?n(o):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),r)}function r(o){return Z(o)?(t.enter("taskListCheckValueUnchecked"),t.consume(o),t.exit("taskListCheckValueUnchecked"),a):o===88||o===120?(t.enter("taskListCheckValueChecked"),t.consume(o),t.exit("taskListCheckValueChecked"),a):n(o)}function a(o){return o===93?(t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),u):n(o)}function u(o){return R(o)?e(o):B(o)?t.check({tokenize:Nz},e,n)(o):n(o)}}function Nz(t,e,n){return U(t,l,"whitespace");function l(i){return i===null?n(i):e(i)}}function sb(t){return ho([op(),sp(),fp(t),mp(),pp()])}var Lz={};function Xo(t){let e=this,n=t||Lz,l=e.data(),i=l.micromarkExtensions||(l.micromarkExtensions=[]),r=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),a=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);i.push(sb(n)),r.push(rp()),a.push(ap(n))}var N=$t(po(),1),fb=t=>{if(!t)return;let e=document.getElementById(t);e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),e.classList.add("docless-highlight"),setTimeout(()=>{e.classList.remove("docless-highlight")},3e3))},Uz=(t,e)=>{t&&window.location.pathname!==t?(window.location.href=t,setTimeout(()=>{fb(e)},700)):fb(e)};function hp({name:t="Assistant",appKey:e}){let[n,l]=(0,Wt.useState)(!1),[i,r]=(0,Wt.useState)(""),[a,u]=(0,Wt.useState)([{id:crypto.randomUUID(),role:"assistant",content:"Hello! How can I help you today?"}]),[o,c]=(0,Wt.useState)(!1),[s,f]=(0,Wt.useState)(""),[m,p]=(0,Wt.useState)(null),[g,v]=(0,Wt.useState)(null),T=(0,Wt.useRef)(null),h=(0,Wt.useRef)(null),d=(0,Wt.useMemo)(()=>new to({appKey:e}),[e]);(0,Wt.useEffect)(()=>{h.current&&(h.current.scrollTop=h.current.scrollHeight)},[a,o]);let y=async()=>{if(!i.trim()&&!m||o)return;let S=i.trim(),A=m;r(""),p(null),u(O=>[...O,{id:crypto.randomUUID(),role:"user",content:S}]);let _=crypto.randomUUID();u(O=>[...O,{id:_,role:"assistant",content:""}]),c(!0);try{await d.ask({query:S,...A?{file:A}:{},onStatus(O){f(O)},onText(O){u(k=>k.map(X=>X.id===_?{...X,content:X.content+O}:X))},onMeta(O){u(k=>k.map(X=>X.id===_?{...X,route:O.route,elementId:O.elementId}:X))},onDone(){c(!1),f("")},onError(O){c(!1),f(""),xt.error(O),u(k=>k.map(X=>X.id===_?{...X,content:O}:X))}})}catch(O){c(!1),f(""),xt.error(O?.message||"Something went wrong")}},E={backgroundColor:"#4f46e5",color:"white",padding:"8px 14px",borderRadius:"8px",fontSize:"13px",fontWeight:500,border:"none",cursor:"pointer"},C={backgroundColor:"#eef2ff",color:"#4338ca",padding:"8px 14px",borderRadius:"8px",fontSize:"13px",fontWeight:500,border:"1px solid #c7d2fe",cursor:"pointer"};return(0,N.jsxs)("div",{style:{fontFamily:"Inter, system-ui, sans-serif"},children:[(0,N.jsx)(v1,{position:"top-center",reverseOrder:!1}),(0,N.jsx)("style",{children:`
|
|
216
|
+
@keyframes float {
|
|
217
|
+
0%, 100% {
|
|
218
|
+
transform: translateY(0px);
|
|
219
|
+
}
|
|
220
|
+
50% {
|
|
221
|
+
transform: translateY(-5px);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@keyframes blink {
|
|
226
|
+
0%, 90%, 100% {
|
|
227
|
+
opacity: 1;
|
|
228
|
+
}
|
|
229
|
+
95% {
|
|
230
|
+
opacity: 0.3;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@keyframes fadeIn {
|
|
235
|
+
from {
|
|
236
|
+
opacity: 0;
|
|
237
|
+
transform: translateY(10px);
|
|
238
|
+
}
|
|
239
|
+
to {
|
|
240
|
+
opacity: 1;
|
|
241
|
+
transform: translateY(0);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.chat-bubble {
|
|
246
|
+
animation: float 2s ease-in-out infinite;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.robot-eye {
|
|
250
|
+
animation: blink 3s ease-in-out infinite;
|
|
251
|
+
}
|
|
205
252
|
|
|
206
253
|
.markdown-container {
|
|
207
|
-
|
|
254
|
+
line-height: 1.7;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.markdown-container pre {
|
|
258
|
+
overflow-x: auto;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.markdown-container code {
|
|
262
|
+
font-family: monospace;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.markdown-container table {
|
|
266
|
+
border-collapse: collapse;
|
|
267
|
+
width: 100%;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.markdown-container th,
|
|
271
|
+
.markdown-container td {
|
|
272
|
+
border: 1px solid #e5e7eb;
|
|
273
|
+
padding: 8px;
|
|
208
274
|
}
|
|
209
275
|
|
|
210
276
|
.markdown-container strong {
|
|
@@ -221,11 +287,17 @@ to {
|
|
|
221
287
|
white-space: pre-wrap;
|
|
222
288
|
word-wrap: break-word;
|
|
223
289
|
}
|
|
224
|
-
|
|
290
|
+
|
|
225
291
|
@keyframes pulseHighlight {
|
|
226
|
-
0% {
|
|
227
|
-
|
|
228
|
-
|
|
292
|
+
0% {
|
|
293
|
+
box-shadow: 0 0 0 0 rgba(99,102,241,0.6);
|
|
294
|
+
}
|
|
295
|
+
70% {
|
|
296
|
+
box-shadow: 0 0 0 12px rgba(99,102,241,0);
|
|
297
|
+
}
|
|
298
|
+
100% {
|
|
299
|
+
box-shadow: 0 0 0 0 rgba(99,102,241,0);
|
|
300
|
+
}
|
|
229
301
|
}
|
|
230
302
|
|
|
231
303
|
.docless-highlight {
|
|
@@ -233,7 +305,7 @@ to {
|
|
|
233
305
|
outline: 3px solid #6366f1;
|
|
234
306
|
border-radius: 8px;
|
|
235
307
|
}
|
|
236
|
-
`}),
|
|
308
|
+
`}),g&&(0,N.jsxs)("div",{onClick:()=>v(null),style:{position:"fixed",inset:0,backgroundColor:"rgba(0,0,0,0.8)",backdropFilter:"blur(5px)",zIndex:2e4,display:"flex",alignItems:"center",justifyContent:"center",cursor:"zoom-out",padding:"20px"},children:[(0,N.jsx)("button",{style:{position:"absolute",top:"20px",right:"20px",background:"#fff",border:"none",borderRadius:"50%",width:"40px",height:"40px",cursor:"pointer",fontSize:"20px"},children:"\u2715"}),(0,N.jsx)("img",{src:g,alt:"Zoomed reference",style:{maxWidth:"100%",maxHeight:"90vh",borderRadius:"8px",boxShadow:"0 0 30px rgba(0,0,0,0.5)"}})]}),!n&&(0,N.jsx)("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",style:{cursor:"pointer",position:"fixed",bottom:"20px",right:"20px",zIndex:9999,filter:"drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.15))"},onClick:()=>l(!0),children:(0,N.jsxs)("g",{className:"chat-bubble",children:[(0,N.jsx)("ellipse",{cx:"30",cy:"52",rx:"15",ry:"3",fill:"#000",opacity:"0.1"}),(0,N.jsx)("path",{d:"M45 15C45 8.37258 39.6274 3 33 3H15C8.37258 3 3 8.37258 3 15V33C3 39.6274 8.37258 45 15 45H18V52L26 45H33C39.6274 45 45 39.6274 45 33V15Z",fill:"#4F46E5"}),(0,N.jsxs)("g",{transform:"translate(12, 14)",children:[(0,N.jsx)("line",{x1:"12",y1:"0",x2:"12",y2:"3",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round"}),(0,N.jsx)("circle",{cx:"12",cy:"0",r:"1.5",fill:"white"}),(0,N.jsx)("rect",{x:"6",y:"3",width:"12",height:"10",rx:"2",fill:"white"}),(0,N.jsx)("circle",{className:"robot-eye",cx:"9.5",cy:"8",r:"1.5",fill:"#4F46E5"}),(0,N.jsx)("circle",{className:"robot-eye",cx:"14.5",cy:"8",r:"1.5",fill:"#4F46E5"}),(0,N.jsx)("line",{x1:"9",y1:"11",x2:"15",y2:"11",stroke:"#4F46E5",strokeWidth:"1",strokeLinecap:"round"}),(0,N.jsx)("rect",{x:"7",y:"14",width:"10",height:"6",rx:"1",fill:"white"}),(0,N.jsx)("rect",{x:"4",y:"15",width:"2",height:"4",rx:"1",fill:"white"}),(0,N.jsx)("rect",{x:"18",y:"15",width:"2",height:"4",rx:"1",fill:"white"})]})]})}),n&&(0,N.jsxs)("div",{style:{position:"fixed",bottom:"20px",right:"20px",width:"min(400px, 90vw)",height:"min(600px, 85vh)",backgroundColor:"#fff",boxShadow:"0 12px 40px rgba(79, 70, 229, 0.25)",borderRadius:"16px",display:"flex",flexDirection:"column",zIndex:1e4,overflow:"hidden",border:"1px solid #e5e7eb",animation:"fadeIn 0.2s ease-out"},children:[(0,N.jsxs)("div",{style:{backgroundColor:"#4f46e5",padding:"14px 18px",display:"flex",alignItems:"center",justifyContent:"space-between",color:"#fff"},children:[(0,N.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[(0,N.jsx)("div",{style:{width:"8px",height:"8px",backgroundColor:"#22c55e",borderRadius:"50%",boxShadow:"0 0 8px #22c55e"}}),(0,N.jsx)("span",{style:{fontWeight:600,fontSize:"15px"},children:t})]}),(0,N.jsx)("span",{style:{cursor:"pointer",fontSize:"18px",opacity:.8},onClick:()=>l(!1),children:"\u2715"})]}),(0,N.jsxs)("div",{ref:h,style:{flex:1,overflowY:"auto",padding:"16px",display:"flex",flexDirection:"column",gap:"12px",backgroundColor:"#f9fafb"},children:[a.map(S=>(0,N.jsx)("div",{style:{alignSelf:S.role==="user"?"flex-end":"flex-start",maxWidth:"85%",display:"flex",flexDirection:"column",gap:"4px"},children:(0,N.jsxs)("div",{style:{backgroundColor:S.role==="user"?"#4f46e5":"#fff",color:S.role==="user"?"#fff":"#374151",padding:"12px 16px",borderRadius:"12px",fontSize:"14px",border:S.role==="user"?"none":"1px solid #e5e7eb",boxShadow:S.role==="user"?"0 2px 4px rgba(79,70,229,0.2)":"0 1px 2px rgba(0,0,0,0.05)"},children:[S.image&&(0,N.jsx)("div",{style:{marginBottom:"10px"},children:(0,N.jsx)("img",{src:S.image,alt:"Reference",onClick:()=>v(S.image),style:{width:"100%",borderRadius:"8px",cursor:"zoom-in"}})}),S.role==="assistant"?(0,N.jsxs)("div",{className:"markdown-container",children:[(0,N.jsx)(Om,{remarkPlugins:[Xo],components:{code(A){let{children:_,className:O}=A;return O?.includes("language-")?(0,N.jsx)("pre",{style:{background:"#111827",color:"#f9fafb",padding:"14px",borderRadius:"10px",overflowX:"auto",marginTop:"10px",marginBottom:"10px",fontSize:"13px",lineHeight:1.6},children:(0,N.jsx)("code",{children:_})}):(0,N.jsx)("code",{style:{background:"#eef2ff",color:"#4338ca",padding:"2px 6px",borderRadius:"6px",fontSize:"13px",fontFamily:"monospace"},children:_})},p(A){return(0,N.jsx)("p",{style:{marginTop:"8px",marginBottom:"8px",lineHeight:1.7},children:A.children})},ul(A){return(0,N.jsx)("ul",{style:{paddingLeft:"20px",marginTop:"10px",marginBottom:"10px"},children:A.children})},ol(A){return(0,N.jsx)("ol",{style:{paddingLeft:"20px",marginTop:"10px",marginBottom:"10px"},children:A.children})},li(A){return(0,N.jsx)("li",{style:{marginBottom:"6px",lineHeight:1.6},children:A.children})},h1(A){return(0,N.jsx)("h1",{style:{fontSize:"22px",fontWeight:700,marginTop:"16px",marginBottom:"10px",color:"#111827"},children:A.children})},h2(A){return(0,N.jsx)("h2",{style:{fontSize:"18px",fontWeight:700,marginTop:"14px",marginBottom:"8px",color:"#111827"},children:A.children})},h3(A){return(0,N.jsx)("h3",{style:{fontSize:"16px",fontWeight:600,marginTop:"12px",marginBottom:"6px",color:"#111827"},children:A.children})},a(A){return(0,N.jsx)("a",{href:A.href,target:"_blank",rel:"noreferrer",style:{color:"#4f46e5",textDecoration:"underline",fontWeight:500},children:A.children})},blockquote(A){return(0,N.jsx)("blockquote",{style:{borderLeft:"4px solid #6366f1",paddingLeft:"12px",marginLeft:0,color:"#4b5563",fontStyle:"italic",marginTop:"10px",marginBottom:"10px"},children:A.children})}},children:S.content}),(S.route||S.elementId)&&(0,N.jsxs)("div",{style:{marginTop:"12px",borderTop:"1px solid #f3f4f6",paddingTop:"10px",display:"flex",gap:"8px",flexWrap:"wrap"},children:[S.route&&(0,N.jsx)("button",{onClick:()=>window.location.href=S.route,style:E,children:"Explore Page"}),S.elementId&&(0,N.jsx)("button",{onClick:()=>Uz(S.route,S.elementId),style:C,children:"View"})]})]}):(0,N.jsx)("div",{style:{whiteSpace:"pre-wrap"},children:S.content})]})},S.id)),o&&(0,N.jsx)("div",{style:{fontSize:"12px",color:"#6b7280",marginLeft:"4px"},children:s||`${t} is thinking...`})]}),(0,N.jsxs)("div",{style:{padding:"16px",borderTop:"1px solid #e5e7eb",backgroundColor:"#fff"},children:[(0,N.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"10px",backgroundColor:"#f3f4f6",padding:"6px 14px",borderRadius:"28px"},children:[(0,N.jsxs)("button",{style:{background:"none",border:"none",cursor:"pointer",padding:"4px",display:"flex"},onClick:()=>T.current?.click(),children:[(0,N.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"#9ca3af",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,N.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),(0,N.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),(0,N.jsx)("polyline",{points:"21 15 16 10 5 21"})]}),(0,N.jsx)("input",{type:"file",accept:"image/*",ref:T,style:{display:"none"},onChange:S=>{let A=S.target.files?.[0];A&&(p(A),xt.success(`Attached: ${A.name}`))}})]}),m&&(0,N.jsxs)("div",{style:{fontSize:"11px",color:"#4f46e5",maxWidth:"80px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:["\u{1F4CE} ",m.name]}),(0,N.jsx)("input",{type:"text",value:i,onChange:S=>r(S.target.value),onKeyDown:S=>S.key==="Enter"&&y(),placeholder:"Type a message...",style:{flex:1,border:"none",background:"none",padding:"10px 0",outline:"none",fontSize:"14px",color:"#1f2937"}}),(0,N.jsx)("button",{onClick:y,disabled:!i.trim()&&!m||o,style:{background:(i.trim()||m)&&!o?"#4f46e5":"transparent",border:"none",borderRadius:"50%",width:"34px",height:"34px",display:"flex",alignItems:"center",justifyContent:"center",cursor:(i.trim()||m)&&!o?"pointer":"default",transition:"all 0.2s"},children:(0,N.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:(i.trim()||m)&&!o?"#fff":"#9ca3af",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,N.jsx)("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),(0,N.jsx)("polyline",{points:"22 2 15 22 11 13 2 9 22 2"})]})})]}),(0,N.jsxs)("div",{style:{textAlign:"center",fontSize:"11px",color:"#9ca3af",marginTop:"10px"},children:["Powered by ",(0,N.jsx)("strong",{children:"DoclessAI"})]})]})]})]})}var mb=()=>{let t=document.querySelectorAll("script[data-app-key]"),e=t[t.length-1],n=e?.getAttribute("data-app-key")||"",l=e?.getAttribute("data-name")||"Assistant";if(!n)return;let i=document.createElement("div");i.id="docless-ai-root",document.body.appendChild(i),hb.default.createRoot(i).render(pb.default.createElement(hp,{appKey:n,name:l}))};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",mb):mb();})();
|
|
237
309
|
/*! Bundled license information:
|
|
238
310
|
|
|
239
311
|
react/cjs/react.production.js:
|