/*! For license information please see main.5a69218f.js.LICENSE.txt */ (()=>{var e={4:(e,t,n)=>{"use strict";var r=n(853),o=n(43),l=n(950);function i(e){var t="https://react.dev/errors/"+e;if(1)":-1--o||u[r]!==s[o]){var c="\n"+u[r].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{z=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?L(n):""}function D(e){switch(e.tag){case 26:case 27:case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 15:return e=R(e.type,!1);case 11:return e=R(e.type.render,!1);case 1:return e=R(e.type,!0);default:return""}}function I(e){try{var t="";do{t+=D(e),e=e.return}while(e);return t}catch(n){return"\nError generating stack: "+n.message+"\n"+n.stack}}function F(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function M(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function j(e){if(F(e)!==e)throw Error(i(188))}function U(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=U(e)))return t;e=e.sibling}return null}var B=Array.isArray,H=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},q=[],$=-1;function W(e){return{current:e}}function Q(e){0>$||(e.current=q[$],q[$]=null,$--)}function K(e,t){$++,q[$]=e.current,e.current=t}var Y=W(null),X=W(null),G=W(null),J=W(null);function Z(e,t){switch(K(G,t),K(X,e),K(Y,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?Xc(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=Gc(e=Xc(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q(Y),K(Y,t)}function ee(){Q(Y),Q(X),Q(G)}function te(e){null!==e.memoizedState&&K(J,e);var t=Y.current,n=Gc(t,e.type);t!==n&&(K(X,e),K(Y,n))}function ne(e){X.current===e&&(Q(Y),Q(X)),J.current===e&&(Q(J),Ff._currentValue=V)}var re=Object.prototype.hasOwnProperty,oe=r.unstable_scheduleCallback,le=r.unstable_cancelCallback,ie=r.unstable_shouldYield,ae=r.unstable_requestPaint,ue=r.unstable_now,se=r.unstable_getCurrentPriorityLevel,ce=r.unstable_ImmediatePriority,fe=r.unstable_UserBlockingPriority,de=r.unstable_NormalPriority,pe=r.unstable_LowPriority,he=r.unstable_IdlePriority,me=r.log,ge=r.unstable_setDisableYieldValue,ye=null,ve=null;function be(e){if("function"===typeof me&&ge(e),ve&&"function"===typeof ve.setStrictMode)try{ve.setStrictMode(ye,e)}catch(t){}}var ke=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(we(e)/Se|0)|0},we=Math.log,Se=Math.LN2;var xe=128,Ee=4194304;function Ce(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128: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 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Pe(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=e.warmLanes;e=0!==e.finishedLanes;var a=134217727&n;return 0!==a?0!==(n=a&~o)?r=Ce(n):0!==(l&=a)?r=Ce(l):e||0!==(i=a&~i)&&(r=Ce(i)):0!==(a=n&~o)?r=Ce(a):0!==l?r=Ce(l):e||0!==(i=n&~i)&&(r=Ce(i)),0===r?0:0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||32===o&&0!==(4194176&i))?t:r}function Te(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function _e(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Oe(){var e=xe;return 0===(4194176&(xe<<=1))&&(xe=128),e}function Ne(){var e=Ee;return 0===(62914560&(Ee<<=1))&&(Ee=4194304),e}function Ae(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Le(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ze(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ke(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function Re(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ke(n),o=1<=Sn),Cn=String.fromCharCode(32),Pn=!1;function Tn(e,t){switch(e){case"keyup":return-1!==kn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _n(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var On=!1;var Nn={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 An(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Nn[e.type]:"textarea"===t}function Ln(e,t,n,r){Lt?zt?zt.push(r):zt=[r]:Lt=r,0<(t=Ic(t,"onChange")).length&&(n=new Jt("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var zn=null,Rn=null;function Dn(e){_c(e,0)}function In(e){if(dt(Ye(e)))return e}function Fn(e,t){if("change"===e)return t}var Mn=!1;if(nt){var jn;if(nt){var Un="oninput"in document;if(!Un){var Bn=document.createElement("div");Bn.setAttribute("oninput","return;"),Un="function"===typeof Bn.oninput}jn=Un}else jn=!1;Mn=jn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Xn(r)}}function Jn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Jn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Zn(e){for(var t=pt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=pt((e=t.contentWindow).document)}return t}function er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function tr(e,t){var n=Zn(t);t=e.focusedElem;var r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Jn(t.ownerDocument.documentElement,t)){if(null!==r&&er(t))if(e=r.start,void 0===(n=r.end)&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if((n=(e=t.ownerDocument||document)&&e.defaultView||window).getSelection){n=n.getSelection();var o=t.textContent.length,l=Math.min(r.start,o);r=void 0===r.end?l:Math.min(r.end,o),!n.extend&&l>r&&(o=r,r=l,l=o),o=Gn(t,l);var i=Gn(t,r);o&&i&&(1!==n.rangeCount||n.anchorNode!==o.node||n.anchorOffset!==o.offset||n.focusNode!==i.node||n.focusOffset!==i.offset)&&((e=e.createRange()).setStart(o.node,o.offset),n.removeAllRanges(),l>r?(n.addRange(e),n.extend(i.node,i.offset)):(e.setEnd(i.node,i.offset),n.addRange(e)))}for(e=[],n=t;n=n.parentNode;)1===n.nodeType&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for("function"===typeof t.focus&&t.focus(),t=0;t=document.documentMode,rr=null,or=null,lr=null,ir=!1;function ar(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ir||null==rr||rr!==pt(r)||("selectionStart"in(r=rr)&&er(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},lr&&Yn(lr,r)||(lr=r,0<(r=Ic(or,"onSelect")).length&&(t=new Jt("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=rr)))}function ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var sr={animationend:ur("Animation","AnimationEnd"),animationiteration:ur("Animation","AnimationIteration"),animationstart:ur("Animation","AnimationStart"),transitionrun:ur("Transition","TransitionRun"),transitionstart:ur("Transition","TransitionStart"),transitioncancel:ur("Transition","TransitionCancel"),transitionend:ur("Transition","TransitionEnd")},cr={},fr={};function dr(e){if(cr[e])return cr[e];if(!sr[e])return e;var t,n=sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in fr)return cr[e]=n[t];return e}nt&&(fr=document.createElement("div").style,"AnimationEvent"in window||(delete sr.animationend.animation,delete sr.animationiteration.animation,delete sr.animationstart.animation),"TransitionEvent"in window||delete sr.transitionend.transition);var pr=dr("animationend"),hr=dr("animationiteration"),mr=dr("animationstart"),gr=dr("transitionrun"),yr=dr("transitionstart"),vr=dr("transitioncancel"),br=dr("transitionend"),kr=new Map,wr="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 scrollEnd toggle touchMove waiting wheel".split(" ");function Sr(e,t){kr.set(e,t),et(t,[e])}var xr=[],Er=0,Cr=0;function Pr(){for(var e=Er,t=Cr=Er=0;t>=i,o-=i,Hr=1<<32-ke(t)+o|n<d?(p=f,f=null):p=f.sibling;var h=y(o,f,a[d],u);if(null===h){null===f&&(f=p);break}e&&f&&null===h.alternate&&t(o,f),i=l(h,i,d),null===c?s=h:c.sibling=h,c=h,f=p}if(d===a.length)return n(o,f),Xr&&qr(o,d),s;if(null===f){for(;dp?(h=d,d=null):h=d.sibling;var b=y(o,d,g.value,s);if(null===b){null===d&&(d=h);break}e&&d&&null===b.alternate&&t(o,d),a=l(b,a,p),null===f?c=b:f.sibling=b,f=b,d=h}if(g.done)return n(o,d),Xr&&qr(o,p),c;if(null===d){for(;!g.done;p++,g=u.next())null!==(g=m(o,g.value,s))&&(a=l(g,a,p),null===f?c=g:f.sibling=g,f=g);return Xr&&qr(o,p),c}for(d=r(d);!g.done;p++,g=u.next())null!==(g=v(d,o,p,g.value,s))&&(e&&null!==g.alternate&&d.delete(null===g.key?p:g.key),a=l(g,a,p),null===f?c=g:f.sibling=g,f=g);return e&&d.forEach((function(e){return t(o,e)})),Xr&&qr(o,p),c}(u,d,p=k.call(p),h)}if("function"===typeof p.then)return b(u,d,yo(p),h);if(p.$$typeof===g)return b(u,d,Pa(u,p),h);bo(u,p)}return"string"===typeof p&&""!==p||"number"===typeof p||"bigint"===typeof p?(p=""+p,null!==d&&6===d.tag?(n(u,d.sibling),(h=o(d,p)).return=u,u=h):(n(u,d),(h=Hu(p,u.mode,h)).return=u,u=h),a(u)):n(u,d)}return function(e,t,n,r){try{go=0;var o=b(e,t,n,r);return mo=null,o}catch(i){if(i===io)throw i;var l=Du(29,i,null,e.mode);return l.lanes=r,l.return=e,l}}}var So=wo(!0),xo=wo(!1),Eo=W(null),Co=W(0);function Po(e,t){K(Co,e=ss),K(Eo,t),ss=e|t.baseLanes}function To(){K(Co,ss),K(Eo,Eo.current)}function _o(){ss=Co.current,Q(Eo),Q(Co)}var Oo=W(null),No=null;function Ao(e){var t=e.alternate;K(Do,1&Do.current),K(Oo,e),null===No&&(null===t||null!==Eo.current||null!==t.memoizedState)&&(No=e)}function Lo(e){if(22===e.tag){if(K(Do,Do.current),K(Oo,e),null===No){var t=e.alternate;null!==t&&null!==t.memoizedState&&(No=e)}}else zo()}function zo(){K(Do,Do.current),K(Oo,Oo.current)}function Ro(e){Q(Oo),No===e&&(No=null),Q(Do)}var Do=W(0);function Io(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fo="undefined"!==typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach((function(e){return e()}))}},Mo=r.unstable_scheduleCallback,jo=r.unstable_NormalPriority,Uo={$$typeof:g,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Bo(){return{controller:new Fo,data:new Map,refCount:0}}function Ho(e){e.refCount--,0===e.refCount&&Mo(jo,(function(){e.controller.abort()}))}var Vo=null,qo=0,$o=0,Wo=null;function Qo(){if(0===--qo&&null!==Vo){null!==Wo&&(Wo.status="fulfilled");var e=Vo;Vo=null,$o=0,Wo=null;for(var t=0;tl?l:8;var i=N.T,a={};N.T=a,wi(e,!1,t,n);try{var u=o(),s=N.S;if(null!==s&&s(a,u),null!==u&&"object"===typeof u&&"function"===typeof u.then)ki(e,t,function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then((function(){r.status="fulfilled",r.value=t;for(var e=0;e title"))),Wc(l,r,n),l[Me]=e,Ge(l),r=l;break e;case"link":var a=_f("link","href",o).get(r+(n.href||""));if(a)for(var u=0;u<\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"===typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"===typeof r.is?o.createElement(n,{is:r.is}):o.createElement(n)}}e[Me]=t,e[je]=r;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)e.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(Wc(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&qu(t)}}return Ku(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&qu(t);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(e=G.current,ro(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=Kr))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[Me]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Hc(e.nodeValue,n)))||eo(t)}else(e=Yc(e).createTextNode(r))[Me]=t,t.stateNode=e}return Ku(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=ro(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[Me]=t}else oo(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ku(t),o=!1}else null!==Gr&&(Rs(Gr),Gr=null),o=!0;if(!o)return 256&t.flags?(Ro(t),t):(Ro(t),null)}if(Ro(t),0!==(128&t.flags))return t.lanes=n,t;if(n=null!==r,e=null!==e&&null!==e.memoizedState,n){o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool);var l=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(l=r.memoizedState.cachePool.pool),l!==o&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),Wu(t,t.updateQueue),Ku(t),null;case 4:return ee(),null===e&&Lc(t.stateNode.containerInfo),Ku(t),null;case 10:return ba(t.type),Ku(t),null;case 19:if(Q(Do),null===(o=t.memoizedState))return Ku(t),null;if(r=0!==(128&t.flags),null===(l=o.rendering))if(r)Qu(o,!1);else{if(0!==cs||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=Io(e))){for(t.flags|=128,Qu(o,!1),e=l.updateQueue,t.updateQueue=e,Wu(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Mu(n,e),n=n.sibling;return K(Do,1&Do.current|2),t.child}e=e.sibling}null!==o.tail&&ue()>ks&&(t.flags|=128,r=!0,Qu(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Io(l))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Wu(t,e),Qu(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!Xr)return Ku(t),null}else 2*ue()-o.renderingStartTime>ks&&536870912!==n&&(t.flags|=128,r=!0,Qu(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(e=o.last)?e.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ue(),t.sibling=null,e=Do.current,K(Do,r?1&e|2:1&e),t):(Ku(t),null);case 22:case 23:return Ro(t),_o(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!==(536870912&n)&&0===(128&t.flags)&&(Ku(t),6&t.subtreeFlags&&(t.flags|=8192)):Ku(t),null!==(n=t.updateQueue)&&Wu(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&Q(Yo),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ba(Uo),Ku(t),null;case 25:return null}throw Error(i(156,t.tag))}function Xu(e,t){switch(Qr(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ba(Uo),ee(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return ne(t),null;case 13:if(Ro(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));oo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Q(Do),null;case 4:return ee(),null;case 10:return ba(t.type),null;case 22:case 23:return Ro(t),_o(),null!==e&&Q(Yo),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return ba(Uo),null;default:return null}}function Gu(e,t){switch(Qr(t),t.tag){case 3:ba(Uo),ee();break;case 26:case 27:case 5:ne(t);break;case 4:ee();break;case 13:Ro(t);break;case 19:Q(Do);break;case 10:ba(t.type);break;case 22:case 23:Ro(t),_o(),null!==e&&Q(Yo);break;case 24:ba(Uo)}}var Ju={getCacheForType:function(e){var t=Ca(Uo),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},Zu="function"===typeof WeakMap?WeakMap:Map,es=0,ts=null,ns=null,rs=0,os=0,ls=null,is=!1,as=!1,us=!1,ss=0,cs=0,fs=0,ds=0,ps=0,hs=0,ms=0,gs=null,ys=null,vs=!1,bs=0,ks=1/0,ws=null,Ss=null,xs=!1,Es=null,Cs=0,Ps=0,Ts=null,_s=0,Os=null;function Ns(){if(0!==(2&es)&&0!==rs)return rs&-rs;if(null!==N.T){return 0!==$o?$o:wc()}return Ie()}function As(){0===hs&&(hs=0===(536870912&rs)||Xr?Oe():536870912);var e=Oo.current;return null!==e&&(e.flags|=32),hs}function Ls(e,t,n){(e===ts&&2===os||null!==e.cancelPendingCommit)&&(Us(e,0),Fs(e,rs,hs,!1)),Le(e,n),0!==(2&es)&&e===ts||(e===ts&&(0===(2&es)&&(ds|=n),4===cs&&Fs(e,rs,hs,!1)),mc(e))}function zs(e,t,n){if(0!==(6&es))throw Error(i(327));for(var r=!n&&0===(60&t)&&0===(t&e.expiredLanes)||Te(e,t),o=r?function(e,t){var n=es;es|=2;var r=Hs(),o=Vs();ts!==e||rs!==t?(ws=null,ks=ue()+500,Us(e,t)):as=Te(e,t);e:for(;;)try{if(0!==os&&null!==ns){t=ns;var l=ls;t:switch(os){case 1:os=0,ls=null,Xs(e,t,l,1);break;case 2:if(so(l)){os=0,ls=null,Ys(t);break}t=function(){2===os&&ts===e&&(os=7),mc(e)},l.then(t,t);break e;case 3:os=7;break e;case 4:os=5;break e;case 7:so(l)?(os=0,ls=null,Ys(t)):(os=0,ls=null,Xs(e,t,l,7));break;case 5:var a=null;switch(ns.tag){case 26:a=ns.memoizedState;case 5:case 27:var u=ns;if(!a||Nf(a)){os=0,ls=null;var s=u.sibling;if(null!==s)ns=s;else{var c=u.return;null!==c?(ns=c,Gs(c)):ns=null}break t}}os=0,ls=null,Xs(e,t,l,5);break;case 6:os=0,ls=null,Xs(e,t,l,6);break;case 8:js(),cs=6;break e;default:throw Error(i(462))}}Qs();break}catch(f){Bs(e,f)}return ya=ga=null,N.H=r,N.A=o,es=n,null!==ns?0:(ts=null,rs=0,Pr(),cs)}(e,t):$s(e,t,!0),l=r;;){if(0===o){as&&!r&&Fs(e,t,0,!1);break}if(6===o)Fs(e,t,0,!is);else{if(n=e.current.alternate,l&&!Is(n)){o=$s(e,t,!1),l=!1;continue}if(2===o){if(l=t,e.errorRecoveryDisabledLanes&l)var a=0;else a=0!==(a=-536870913&e.pendingLanes)?a:536870912&a?536870912:0;if(0!==a){t=a;e:{var u=e;o=gs;var s=u.current.memoizedState.isDehydrated;if(s&&(Us(u,a).flags|=256),2!==(a=$s(u,a,!1))){if(us&&!s){u.errorRecoveryDisabledLanes|=l,ds|=l,o=4;break e}l=ys,ys=o,null!==l&&Rs(l)}o=a}if(l=!1,2!==o)continue}}if(1===o){Us(e,0),Fs(e,t,0,!0);break}e:{switch(r=e,o){case 0:case 1:throw Error(i(345));case 4:if((4194176&t)===t){Fs(r,t,hs,!is);break e}break;case 2:ys=null;break;case 3:case 5:break;default:throw Error(i(329))}if(r.finishedWork=n,r.finishedLanes=t,(62914560&t)===t&&10<(l=bs+300-ue())){if(Fs(r,t,hs,!is),0!==Pe(r,0))break e;r.timeoutHandle=ef(Ds.bind(null,r,n,ys,ws,vs,t,hs,ds,ms,is,2,-0,0),l)}else Ds(r,n,ys,ws,vs,t,hs,ds,ms,is,0,-0,0)}}break}mc(e)}function Rs(e){null===ys?ys=e:ys.push.apply(ys,e)}function Ds(e,t,n,r,o,l,a,u,s,c,f,d,p){var h=t.subtreeFlags;if((8192&h||16785408===(16785408&h))&&(Af={stylesheets:null,count:0,unsuspend:Lf},_u(t),null!==(t=function(){if(null===Af)throw Error(i(475));var e=Af;return e.stylesheets&&0===e.count&&Df(e,e.stylesheets),0n?32:n,N.T=null,null===Es)var l=!1;else{n=Ts,Ts=null;var a=Es,u=Cs;if(Es=null,Cs=0,0!==(6&es))throw Error(i(331));var s=es;if(es|=4,Au(a.current),xu(a,a.current,u,n),es=s,gc(0,!1),ve&&"function"===typeof ve.onPostCommitFiberRoot)try{ve.onPostCommitFiberRoot(ye,a)}catch(c){}l=!0}return l}finally{H.p=o,N.T=r,ec(e,t)}}return!1}function nc(e,t,n){t=Rr(n,t),null!==(e=La(e,t=Ui(e.stateNode,t,2),2))&&(Le(e,2),mc(e))}function rc(e,t,n){if(3===e.tag)nc(e,e,n);else for(;null!==t;){if(3===t.tag){nc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ss||!Ss.has(r))){e=Rr(n,e),null!==(r=La(t,n=Bi(2),2))&&(Hi(n,r,t,e),Le(r,2),mc(r));break}}t=t.return}}function oc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Zu;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(us=!0,o.add(n),e=lc.bind(null,e,t,n),t.then(e,e))}function lc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ts===e&&(rs&n)===n&&(4===cs||3===cs&&(62914560&rs)===rs&&300>ue()-bs?0===(2&es)&&Us(e,0):ps|=n,ms===rs&&(ms=0)),mc(e)}function ic(e,t){0===t&&(t=Ne()),null!==(e=Or(e,t))&&(Le(e,t),mc(e))}function ac(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ic(e,n)}function uc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),ic(e,n)}var sc=null,cc=null,fc=!1,dc=!1,pc=!1,hc=0;function mc(e){var t;e!==cc&&null===e.next&&(null===cc?sc=cc=e:cc=cc.next=e),dc=!0,fc||(fc=!0,t=yc,rf((function(){0!==(6&es)?oe(ce,t):t()})))}function gc(e,t){if(!pc&&dc){pc=!0;do{for(var n=!1,r=sc;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var l=0;else{var i=r.suspendedLanes,a=r.pingedLanes;l=(1<<31-ke(42|e)+1)-1,l=201326677&(l&=o&~(i&~a))?201326677&l|1:l?2|l:0}0!==l&&(n=!0,kc(r,l))}else l=rs,0===(3&(l=Pe(r,r===ts?l:0)))||Te(r,l)||(n=!0,kc(r,l));r=r.next}}while(n);pc=!1}}function yc(){dc=fc=!1;var e=0;0!==hc&&(function(){var e=window.event;if(e&&"popstate"===e.type)return e!==Zc&&(Zc=e,!0);return Zc=null,!1}()&&(e=hc),hc=0);for(var t=ue(),n=null,r=sc;null!==r;){var o=r.next,l=vc(r,t);0===l?(r.next=null,null===n?sc=o:n.next=o,null===o&&(cc=n)):(n=r,(0!==e||0!==(3&l))&&(dc=!0)),r=o}gc(e,!1)}function vc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,l=-62914561&e.pendingLanes;0 title"):null)}function Nf(e){return"stylesheet"!==e.type||0!==(3&e.state.loading)}var Af=null;function Lf(){}function zf(){if(this.count--,0===this.count)if(this.stylesheets)Df(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Rf=null;function Df(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Rf=new Map,t.forEach(If,e),Rf=null,zf.call(e))}function If(e,t){if(!(4&t.state.loading)){var n=Rf.get(e);if(n)var r=n.get(null);else{n=new Map,Rf.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l{"use strict";e.exports=n(288)},146:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,l=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(i,u):e.replace(l,u)).replace(r,a))}},222:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!==typeof e)return n;var r=(0,o.default)(e),l="function"===typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;l?t(r,o,e):o&&((n=n||{})[r]=o)}})),n};var o=r(n(403))},240:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!l)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,s,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});d{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var k=b.prototype=new v;k.constructor=b,m(k,y.prototype),k.isPureReactComponent=!0;var w=Array.isArray,S={H:null,A:null,T:null,S:null},x=Object.prototype.hasOwnProperty;function E(e,t,r,o,l,i){return r=i.ref,{$$typeof:n,type:e,key:t,ref:void 0!==r?r:null,props:i}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function T(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(){}function O(e,t,o,l,i){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var u,s,c=!1;if(null===e)c=!0;else switch(a){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case d:return O((c=e._init)(e._payload),t,o,l,i)}}if(c)return i=i(e),c=""===l?"."+T(e,0):l,w(i)?(o="",null!=c&&(o=c.replace(P,"$&/")+"/"),O(i,t,o,"",(function(e){return e}))):null!=i&&(C(i)&&(u=i,s=o+(null==i.key||e&&e.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+c,i=E(u.type,s,void 0,0,0,u.props)),t.push(i)),1;c=0;var f,h=""===l?".":l+":";if(w(e))for(var m=0;m{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4)},403:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(u,s):s}e.exports=function(e,u){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){v(r)}function k(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function S(){var e=h(),n=v(o);if(n){if(w(),!v(l))return y("property missing ':'");var r=v(i),u=e({type:"declaration",property:c(n[0].replace(t,s)),value:r?c(r[0].replace(t,s)):s});return v(a),u}}return b(),function(){var e,t=[];for(k(t);e=S();)!1!==e&&(t.push(e),k(t));return t}()}},579:(e,t,n)=>{"use strict";e.exports=n(799)},672:(e,t,n)=>{"use strict";var r=n(43);function o(e){var t="https://react.dev/errors/"+e;if(1{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var l in r={},t)"key"!==l&&(r[l]=t[l]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},853:(e,t,n)=>{"use strict";e.exports=n(896)},896:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,o=e[r];if(!(0>>1;rl(u,n))sl(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[a]=n,r=a);else{if(!(sl(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function l(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();t.unstable_now=function(){return a.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,m=!1,g=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function k(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function w(e){if(g=!1,k(e),!m)if(null!==r(s))m=!0,A();else{var t=r(c);null!==t&&L(w,t.startTime-e)}}var S,x=!1,E=-1,C=5,P=-1;function T(){return!(t.unstable_now()-Pe&&T());){var i=d.callback;if("function"===typeof i){d.callback=null,p=d.priorityLevel;var a=i(d.expirationTime<=e);if(e=t.unstable_now(),"function"===typeof a){d.callback=a,k(e),n=!0;break t}d===r(s)&&o(s),k(e)}else o(s);d=r(s)}if(null!==d)n=!0;else{var u=r(c);null!==u&&L(w,u.startTime-e),n=!1}}break e}finally{d=null,p=l,h=!1}n=void 0}}finally{n?S():x=!1}}}if("function"===typeof b)S=function(){b(_)};else if("undefined"!==typeof MessageChannel){var O=new MessageChannel,N=O.port2;O.port1.onmessage=_,S=function(){N.postMessage(null)}}else S=function(){y(_,0)};function A(){x||(x=!0,S())}function L(e,n){E=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,A())},t.unstable_forceFrameRate=function(e){0>e||125i?(e.sortIndex=l,n(c,e),null===r(s)&&e===r(c)&&(g?(v(E),E=-1):g=!0,L(w,l-i))):(e.sortIndex=a,n(s,e),m||h||(m=!0,A())),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(672)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var l=t[r]={exports:{}};return e[r].call(l.exports,l,l.exports,n),l.exports}n.m=e,n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"static/js/"+e+".27482493.chunk.js",n.miniCssF=e=>{},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="chatbot-interface:";n.l=(r,o,l,i)=>{if(e[r])e[r].push(o);else{var a,u;if(void 0!==l)for(var s=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),u&&document.head.appendChild(a)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{var e={792:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var l=new Promise(((n,r)=>o=e[t]=[n,r]));r.push(o[2]=l);var i=n.p+n.u(t),a=new Error;n.l(i,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var l=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+l+": "+i+")",a.name="ChunkLoadError",a.type=l,a.request=i,o[1](a)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,l,i=r[0],a=r[1],u=r[2],s=0;if(i.some((t=>0!==e[t]))){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(u)u(n)}for(t&&t(r);s{"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>ue,hasStandardBrowserEnv:()=>ce,hasStandardBrowserWebWorkerEnv:()=>fe,navigator:()=>se,origin:()=>de});var t={};n.r(t),n.d(t,{boolean:()=>At,booleanish:()=>Lt,commaOrSpaceSeparated:()=>Ft,commaSeparated:()=>It,number:()=>Rt,overloadedBoolean:()=>zt,spaceSeparated:()=>Dt});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ho,contentInitial:()=>ao,disable:()=>mo,document:()=>io,flow:()=>so,flowInitial:()=>uo,insideSpan:()=>po,string:()=>co,text:()=>fo});var o=n(43),l=n(391);n.p;function i(e,t){return function(){return e.apply(t,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:u}=Object,s=(c=Object.create(null),e=>{const t=a.call(e);return c[t]||(c[t]=t.slice(8,-1).toLowerCase())});var c;const f=e=>(e=e.toLowerCase(),t=>s(t)===e),d=e=>t=>typeof t===e,{isArray:p}=Array,h=d("undefined");const m=f("ArrayBuffer");const g=d("string"),y=d("function"),v=d("number"),b=e=>null!==e&&"object"===typeof e,k=e=>{if("object"!==s(e))return!1;const t=u(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},w=f("Date"),S=f("File"),x=f("Blob"),E=f("FileList"),C=f("URLSearchParams"),[P,T,_,O]=["ReadableStream","Request","Response","Headers"].map(f);function N(e,t){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),p(e))for(n=0,r=e.length;n0;)if(r=n[o],t===r.toLowerCase())return r;return null}const L="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,z=e=>!h(e)&&e!==L;const R=(D="undefined"!==typeof Uint8Array&&u(Uint8Array),e=>D&&e instanceof D);var D;const I=f("HTMLFormElement"),F=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),M=f("RegExp"),j=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};N(n,((n,o)=>{let l;!1!==(l=t(n,o,e))&&(r[o]=l||n)})),Object.defineProperties(e,r)};const U=f("AsyncFunction"),B=((e,t)=>{return e?setImmediate:t?(n=`axios@${Math.random()}`,r=[],L.addEventListener("message",(e=>{let{source:t,data:o}=e;t===L&&o===n&&r.length&&r.shift()()}),!1),e=>{r.push(e),L.postMessage(n,"*")}):e=>setTimeout(e);var n,r})("function"===typeof setImmediate,y(L.postMessage)),H="undefined"!==typeof queueMicrotask?queueMicrotask.bind(L):"undefined"!==typeof process&&process.nextTick||B,V={isArray:p,isArrayBuffer:m,isBuffer:function(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&y(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||y(e.append)&&("formdata"===(t=s(e))||"object"===t&&y(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:g,isNumber:v,isBoolean:e=>!0===e||!1===e,isObject:b,isPlainObject:k,isReadableStream:P,isRequest:T,isResponse:_,isHeaders:O,isUndefined:h,isDate:w,isFile:S,isBlob:x,isRegExp:M,isFunction:y,isStream:e=>b(e)&&y(e.pipe),isURLSearchParams:C,isTypedArray:R,isFileList:E,forEach:N,merge:function e(){const{caseless:t}=z(this)&&this||{},n={},r=(r,o)=>{const l=t&&A(n,o)||o;k(n[l])&&k(r)?n[l]=e(n[l],r):k(r)?n[l]=e({},r):p(r)?n[l]=r.slice():n[l]=r};for(let o=0,l=arguments.length;o3&&void 0!==arguments[3]?arguments[3]:{};return N(t,((t,r)=>{n&&y(t)?e[r]=i(t,n):e[r]=t}),{allOwnKeys:r}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,l,i;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),l=o.length;l-- >0;)i=o[l],r&&!r(i,e,t)||a[i]||(t[i]=e[i],a[i]=!0);e=!1!==n&&u(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:f,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(p(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:F,hasOwnProp:F,reduceDescriptors:j,freezeMethods:e=>{j(e,((t,n)=>{if(y(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];y(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:A,global:L,isContextDefined:z,isSpecCompliantForm:function(e){return!!(e&&y(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(b(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=p(e)?[]:{};return N(e,((e,t)=>{const l=n(e,r+1);!h(l)&&(o[t]=l)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:U,isThenable:e=>e&&(b(e)||y(e))&&y(e.then)&&y(e.catch),setImmediate:B,asap:H};function q(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}V.inherits(q,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:V.toJSONObject(this.config),code:this.code,status:this.status}}});const $=q.prototype,W={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{W[e]={value:e}})),Object.defineProperties(q,W),Object.defineProperty($,"isAxiosError",{value:!0}),q.from=(e,t,n,r,o,l)=>{const i=Object.create($);return V.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),q.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,l&&Object.assign(i,l),i};const Q=q;function K(e){return V.isPlainObject(e)||V.isArray(e)}function Y(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,n){return e?e.concat(t).map((function(e,t){return e=Y(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const G=V.toFlatObject(V,{},null,(function(e){return/^is[A-Z]/.test(e)}));const J=function(e,t,n){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=V.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!V.isUndefined(t[e])}))).metaTokens,o=n.visitor||s,l=n.dots,i=n.indexes,a=(n.Blob||"undefined"!==typeof Blob&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(V.isDate(e))return e.toISOString();if(!a&&V.isBlob(e))throw new Q("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(e)||V.isTypedArray(e)?a&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function s(e,n,o){let a=e;if(e&&!o&&"object"===typeof e)if(V.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(V.isArray(e)&&function(e){return V.isArray(e)&&!e.some(K)}(e)||(V.isFileList(e)||V.endsWith(n,"[]"))&&(a=V.toArray(e)))return n=Y(n),a.forEach((function(e,r){!V.isUndefined(e)&&null!==e&&t.append(!0===i?X([n],r,l):null===i?n:n+"[]",u(e))})),!1;return!!K(e)||(t.append(X(o,n,l),u(e)),!1)}const c=[],f=Object.assign(G,{defaultVisitor:s,convertValue:u,isVisitable:K});if(!V.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!V.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),V.forEach(n,(function(n,l){!0===(!(V.isUndefined(n)||null===n)&&o.call(t,n,V.isString(l)?l.trim():l,r,f))&&e(n,r?r.concat(l):[l])})),c.pop()}}(e),t};function Z(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ee(e,t){this._pairs=[],e&&J(e,this,t)}const te=ee.prototype;te.append=function(e,t){this._pairs.push([e,t])},te.toString=function(e){const t=e?function(t){return e.call(this,t,Z)}:Z;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ne=ee;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oe(e,t,n){if(!t)return e;const r=n&&n.encode||re;V.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let l;if(l=o?o(t,n):V.isURLSearchParams(t)?t.toString():new ne(t,n).toString(r),l){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+l}return e}const le=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){V.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ie={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ae={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:ne,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ue="undefined"!==typeof window&&"undefined"!==typeof document,se="object"===typeof navigator&&navigator||void 0,ce=ue&&(!se||["ReactNative","NativeScript","NS"].indexOf(se.product)<0),fe="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,de=ue&&window.location.href||"http://localhost",pe={...e,...ae};const he=function(e){function t(e,n,r,o){let l=e[o++];if("__proto__"===l)return!0;const i=Number.isFinite(+l),a=o>=e.length;if(l=!l&&V.isArray(r)?r.length:l,a)return V.hasOwnProp(r,l)?r[l]=[r[l],n]:r[l]=n,!i;r[l]&&V.isObject(r[l])||(r[l]=[]);return t(e,n,r[l],o)&&V.isArray(r[l])&&(r[l]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let l;for(r=0;r{t(function(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const me={transitional:ie,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=V.isObject(e);o&&V.isHTMLForm(e)&&(e=new FormData(e));if(V.isFormData(e))return r?JSON.stringify(he(e)):e;if(V.isArrayBuffer(e)||V.isBuffer(e)||V.isStream(e)||V.isFile(e)||V.isBlob(e)||V.isReadableStream(e))return e;if(V.isArrayBufferView(e))return e.buffer;if(V.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return J(e,new pe.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return pe.isNode&&V.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((l=V.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return J(l?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(V.isString(e))try{return(t||JSON.parse)(e),V.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||me.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(V.isResponse(e)||V.isReadableStream(e))return e;if(e&&V.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(n){if("SyntaxError"===o.name)throw Q.from(o,Q.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pe.classes.FormData,Blob:pe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],(e=>{me.headers[e]={}}));const ge=me,ye=V.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ve=Symbol("internals");function be(e){return e&&String(e).trim().toLowerCase()}function ke(e){return!1===e||null==e?e:V.isArray(e)?e.map(ke):String(e)}function we(e,t,n,r,o){return V.isFunction(r)?r.call(this,t,n):(o&&(t=n),V.isString(t)?V.isString(r)?-1!==t.indexOf(r):V.isRegExp(r)?r.test(t):void 0:void 0)}class Se{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=be(t);if(!o)throw new Error("header name must be a non-empty string");const l=V.findKey(r,o);(!l||void 0===r[l]||!0===n||void 0===n&&!1!==r[l])&&(r[l||t]=ke(e))}const l=(e,t)=>V.forEach(e,((e,n)=>o(e,n,t)));if(V.isPlainObject(e)||e instanceof this.constructor)l(e,t);else if(V.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))l((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ye[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(V.isHeaders(e))for(const[i,a]of e.entries())o(a,i,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=be(e)){const n=V.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(V.isFunction(t))return t.call(this,e,n);if(V.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=be(e)){const n=V.findKey(this,e);return!(!n||void 0===this[n]||t&&!we(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=be(e)){const o=V.findKey(n,e);!o||t&&!we(0,n[o],o,t)||(delete n[o],r=!0)}}return V.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!we(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return V.forEach(this,((r,o)=>{const l=V.findKey(n,o);if(l)return t[l]=ke(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();i!==o&&delete t[o],t[i]=ke(r),n[i]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n{null!=n&&!1!==n&&(t[r]=e&&V.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;ot.set(e))),t}static accessor(e){const t=(this[ve]=this[ve]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=be(e);t[r]||(!function(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return V.isArray(e)?e.forEach(r):r(e),this}}Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),V.reduceDescriptors(Se.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),V.freezeMethods(Se);const xe=Se;function Ee(e,t){const n=this||ge,r=t||n,o=xe.from(r.headers);let l=r.data;return V.forEach(e,(function(e){l=e.call(n,l,o.normalize(),t?t.status:void 0)})),o.normalize(),l}function Ce(e){return!(!e||!e.__CANCEL__)}function Pe(e,t,n){Q.call(this,null==e?"canceled":e,Q.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(Pe,Q,{__CANCEL__:!0});const Te=Pe;function _e(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Q("Request failed with status code "+n.status,[Q.ERR_BAD_REQUEST,Q.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Oe=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,l=0,i=0;return t=void 0!==t?t:1e3,function(a){const u=Date.now(),s=r[i];o||(o=u),n[l]=a,r[l]=u;let c=i,f=0;for(;c!==l;)f+=n[c++],c%=e;if(l=(l+1)%e,l===i&&(i=(i+1)%e),u-o1&&void 0!==arguments[1]?arguments[1]:Date.now();o=l,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[function(){const e=Date.now(),t=e-o;for(var a=arguments.length,u=new Array(a),s=0;s=l?i(u,e):(n=u,r||(r=setTimeout((()=>{r=null,i(n)}),l-t)))},()=>n&&i(n)]},Ae=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const o=Oe(50,250);return Ne((n=>{const l=n.loaded,i=n.lengthComputable?n.total:void 0,a=l-r,u=o(a);r=l;e({loaded:l,total:i,progress:i?l/i:void 0,bytes:a,rate:u||void 0,estimated:u&&i&&l<=i?(i-l)/u:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})}),n)},Le=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},ze=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;re(...n)))},Re=pe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,pe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(pe.origin),pe.navigator&&/(msie|trident)/i.test(pe.navigator.userAgent)):()=>!0,De=pe.hasStandardBrowserEnv?{write(e,t,n,r,o,l){const i=[e+"="+encodeURIComponent(t)];V.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),V.isString(r)&&i.push("path="+r),V.isString(o)&&i.push("domain="+o),!0===l&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ie(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&r||0==n?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Fe=e=>e instanceof xe?{...e}:e;function Me(e,t){t=t||{};const n={};function r(e,t,n,r){return V.isPlainObject(e)&&V.isPlainObject(t)?V.merge.call({caseless:r},e,t):V.isPlainObject(t)?V.merge({},t):V.isArray(t)?t.slice():t}function o(e,t,n,o){return V.isUndefined(t)?V.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function l(e,t){if(!V.isUndefined(t))return r(void 0,t)}function i(e,t){return V.isUndefined(t)?V.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,l){return l in t?r(n,o):l in e?r(void 0,n):void 0}const u={url:l,method:l,data:l,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t,n)=>o(Fe(e),Fe(t),0,!0)};return V.forEach(Object.keys(Object.assign({},e,t)),(function(r){const l=u[r]||o,i=l(e[r],t[r],r);V.isUndefined(i)&&l!==a||(n[r]=i)})),n}const je=e=>{const t=Me({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:l,xsrfCookieName:i,headers:a,auth:u}=t;if(t.headers=a=xe.from(a),t.url=oe(Ie(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),V.isFormData(r))if(pe.hasStandardBrowserEnv||pe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(pe.hasStandardBrowserEnv&&(o&&V.isFunction(o)&&(o=o(t)),o||!1!==o&&Re(t.url))){const e=l&&i&&De.read(i);e&&a.set(l,e)}return t},Ue="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=je(e);let o=r.data;const l=xe.from(r.headers).normalize();let i,a,u,s,c,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=r;function h(){s&&s(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=xe.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());_e((function(e){t(e),h()}),(function(e){n(e),h()}),{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new Q("Request aborted",Q.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Q("Network Error",Q.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ie;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Q(t,o.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,m)),m=null},void 0===o&&l.setContentType(null),"setRequestHeader"in m&&V.forEach(l.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),V.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),f&&"json"!==f&&(m.responseType=r.responseType),p&&([u,c]=Ae(p,!0),m.addEventListener("progress",u)),d&&m.upload&&([a,s]=Ae(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",s)),(r.cancelToken||r.signal)&&(i=t=>{m&&(n(!t||t.type?new Te(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);y&&-1===pe.protocols.indexOf(y)?n(new Q("Unsupported protocol "+y+":",Q.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Be=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Q?t:new Te(t instanceof Error?t.message:t))}};let l=t&&setTimeout((()=>{l=null,o(new Q(`timeout ${t} of ms exceeded`,Q.ETIMEDOUT))}),t);const i=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>V.asap(i),a}},He=function*(e,t){let n=e.byteLength;if(!t||n{const o=async function*(e,t){for await(const n of Ve(e))yield*He(n,t)}(e,t);let l,i=0,a=e=>{l||(l=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let l=r.byteLength;if(n){let e=i+=l;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},$e="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,We=$e&&"function"===typeof ReadableStream,Qe=$e&&("function"===typeof TextEncoder?(Ke=new TextEncoder,e=>Ke.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Ke;const Ye=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{let e=!1;const t=new Request(pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ge=We&&Ye((()=>V.isReadableStream(new Response("").body))),Je={stream:Ge&&(e=>e.body)};var Ze;$e&&(Ze=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Je[e]&&(Je[e]=V.isFunction(Ze[e])?t=>t[e]():(t,n)=>{throw new Q(`Response type '${e}' is not supported`,Q.ERR_NOT_SUPPORT,n)})})));const et=async(e,t)=>{const n=V.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e)){const t=new Request(pe.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return V.isArrayBufferView(e)||V.isArrayBuffer(e)?e.byteLength:(V.isURLSearchParams(e)&&(e+=""),V.isString(e)?(await Qe(e)).byteLength:void 0)})(t):n},tt={http:null,xhr:Ue,fetch:$e&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:l,timeout:i,onDownloadProgress:a,onUploadProgress:u,responseType:s,headers:c,withCredentials:f="same-origin",fetchOptions:d}=je(e);s=s?(s+"").toLowerCase():"text";let p,h=Be([o,l&&l.toAbortSignal()],i);const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(u&&Xe&&"get"!==n&&"head"!==n&&0!==(g=await et(c,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(V.isFormData(r)&&(e=n.headers.get("content-type"))&&c.setContentType(e),n.body){const[e,t]=Le(g,Ae(ze(u)));r=qe(n.body,65536,e,t)}}V.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:o?f:void 0});let l=await fetch(p);const i=Ge&&("stream"===s||"response"===s);if(Ge&&(a||i&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=l[t]}));const t=V.toFiniteNumber(l.headers.get("content-length")),[n,r]=a&&Le(t,Ae(ze(a),!0))||[];l=new Response(qe(l.body,65536,n,(()=>{r&&r(),m&&m()})),e)}s=s||"text";let y=await Je[V.findKey(Je,s)||"text"](l,e);return!i&&m&&m(),await new Promise(((t,n)=>{_e(t,n,{data:y,headers:xe.from(l.headers),status:l.status,statusText:l.statusText,config:e,request:p})}))}catch(y){if(m&&m(),y&&"TypeError"===y.name&&/fetch/i.test(y.message))throw Object.assign(new Q("Network Error",Q.ERR_NETWORK,e,p),{cause:y.cause||y});throw Q.from(y,y&&y.code,e,p)}})};V.forEach(tt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const nt=e=>`- ${e}`,rt=e=>V.isFunction(e)||null===e||!1===e,ot=e=>{e=V.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let l=0;l{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map(nt).join("\n"):" "+nt(e[0]):"as no adapter specified";throw new Q("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function lt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Te(null,e)}function it(e){lt(e),e.headers=xe.from(e.headers),e.data=Ee.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return ot(e.adapter||ge.adapter)(e).then((function(t){return lt(e),t.data=Ee.call(e,e.transformResponse,t),t.headers=xe.from(t.headers),t}),(function(t){return Ce(t)||(lt(e),t&&t.response&&(t.response.data=Ee.call(e,e.transformResponse,t.response),t.response.headers=xe.from(t.response.headers))),Promise.reject(t)}))}const at="1.8.3",ut={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ut[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const st={};ut.transitional=function(e,t,n){function r(e,t){return"[Axios v1.8.3] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,l)=>{if(!1===e)throw new Q(r(o," has been removed"+(t?" in "+t:"")),Q.ERR_DEPRECATED);return t&&!st[o]&&(st[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,l)}},ut.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const ct={assertOptions:function(e,t,n){if("object"!==typeof e)throw new Q("options must be an object",Q.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const l=r[o],i=t[l];if(i){const t=e[l],n=void 0===t||i(t,l,e);if(!0!==n)throw new Q("option "+l+" must be "+n,Q.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Q("Unknown option "+l,Q.ERR_BAD_OPTION)}},validators:ut},ft=ct.validators;class dt{constructor(e){this.defaults=e,this.interceptors={request:new le,response:new le}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=Me(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&ct.assertOptions(n,{silentJSONParsing:ft.transitional(ft.boolean),forcedJSONParsing:ft.transitional(ft.boolean),clarifyTimeoutError:ft.transitional(ft.boolean)},!1),null!=r&&(V.isFunction(r)?t.paramsSerializer={serialize:r}:ct.assertOptions(r,{encode:ft.function,serialize:ft.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ct.assertOptions(t,{baseUrl:ft.spelling("baseURL"),withXsrfToken:ft.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let l=o&&V.merge(o.common,o[t.method]);o&&V.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=xe.concat(l,o);const i=[];let a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const u=[];let s;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let c,f=0;if(!a){const e=[it.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,u),c=e.length,s=Promise.resolve(t);f{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Te(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ht((function(t){e=t})),cancel:e}}}const mt=ht;const gt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(gt).forEach((e=>{let[t,n]=e;gt[n]=t}));const yt=gt;const vt=function e(t){const n=new pt(t),r=i(pt.prototype.request,n);return V.extend(r,pt.prototype,n,{allOwnKeys:!0}),V.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Me(t,n))},r}(ge);vt.Axios=pt,vt.CanceledError=Te,vt.CancelToken=mt,vt.isCancel=Ce,vt.VERSION=at,vt.toFormData=J,vt.AxiosError=Q,vt.Cancel=vt.CanceledError,vt.all=function(e){return Promise.all(e)},vt.spread=function(e){return function(t){return e.apply(null,t)}},vt.isAxiosError=function(e){return V.isObject(e)&&!0===e.isAxiosError},vt.mergeConfig=Me,vt.AxiosHeaders=xe,vt.formToJSON=e=>he(V.isHTMLForm(e)?new FormData(e):e),vt.getAdapter=ot,vt.HttpStatusCode=yt,vt.default=vt;const bt=vt;const kt=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,wt=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,St={};function xt(e,t){return((t||St).jsx?wt:kt).test(e)}const Et=/[ \t\n\f\r]/g;function Ct(e){return""===e.replace(Et,"")}class Pt{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function Tt(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new Pt(n,r,t)}function _t(e){return e.toLowerCase()}Pt.prototype.normal={},Pt.prototype.property={},Pt.prototype.space=void 0;class Ot{constructor(e,t){this.attribute=t,this.property=e}}Ot.prototype.attribute="",Ot.prototype.booleanish=!1,Ot.prototype.boolean=!1,Ot.prototype.commaOrSpaceSeparated=!1,Ot.prototype.commaSeparated=!1,Ot.prototype.defined=!1,Ot.prototype.mustUseProperty=!1,Ot.prototype.number=!1,Ot.prototype.overloadedBoolean=!1,Ot.prototype.property="",Ot.prototype.spaceSeparated=!1,Ot.prototype.space=void 0;let Nt=0;const At=Mt(),Lt=Mt(),zt=Mt(),Rt=Mt(),Dt=Mt(),It=Mt(),Ft=Mt();function Mt(){return 2**++Nt}const jt=Object.keys(t);class Ut extends Ot{constructor(e,n,r,o){let l=-1;if(super(e,n),Bt(this,"space",o),"number"===typeof r)for(;++l"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function qt(e,t){return t in e?e[t]:t}function $t(e,t){return qt(e,t.toLowerCase())}const Wt=Ht({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:It,acceptCharset:Dt,accessKey:Dt,action:null,allow:null,allowFullScreen:At,allowPaymentRequest:At,allowUserMedia:At,alt:null,as:null,async:At,autoCapitalize:null,autoComplete:Dt,autoFocus:At,autoPlay:At,blocking:Dt,capture:null,charSet:null,checked:At,cite:null,className:Dt,cols:Rt,colSpan:null,content:null,contentEditable:Lt,controls:At,controlsList:Dt,coords:Rt|It,crossOrigin:null,data:null,dateTime:null,decoding:null,default:At,defer:At,dir:null,dirName:null,disabled:At,download:zt,draggable:Lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:At,formTarget:null,headers:Dt,height:Rt,hidden:At,high:Rt,href:null,hrefLang:null,htmlFor:Dt,httpEquiv:Dt,id:null,imageSizes:null,imageSrcSet:null,inert:At,inputMode:null,integrity:null,is:null,isMap:At,itemId:null,itemProp:Dt,itemRef:Dt,itemScope:At,itemType:Dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:At,low:Rt,manifest:null,max:null,maxLength:Rt,media:null,method:null,min:null,minLength:Rt,multiple:At,muted:At,name:null,nonce:null,noModule:At,noValidate:At,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:At,optimum:Rt,pattern:null,ping:Dt,placeholder:null,playsInline:At,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:At,referrerPolicy:null,rel:Dt,required:At,reversed:At,rows:Rt,rowSpan:Rt,sandbox:Dt,scope:null,scoped:At,seamless:At,selected:At,shadowRootClonable:At,shadowRootDelegatesFocus:At,shadowRootMode:null,shape:null,size:Rt,sizes:null,slot:null,span:Rt,spellCheck:Lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Rt,step:null,style:null,tabIndex:Rt,target:null,title:null,translate:null,type:null,typeMustMatch:At,useMap:null,value:Lt,width:Rt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Dt,axis:null,background:null,bgColor:null,border:Rt,borderColor:null,bottomMargin:Rt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:At,declare:At,event:null,face:null,frame:null,frameBorder:null,hSpace:Rt,leftMargin:Rt,link:null,longDesc:null,lowSrc:null,marginHeight:Rt,marginWidth:Rt,noResize:At,noHref:At,noShade:At,noWrap:At,object:null,profile:null,prompt:null,rev:null,rightMargin:Rt,rules:null,scheme:null,scrolling:Lt,standby:null,summary:null,text:null,topMargin:Rt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Rt,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:At,disableRemotePlayback:At,prefix:null,property:null,results:Rt,security:null,unselectable:null},space:"html",transform:$t}),Qt=Ht({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:Ft,accentHeight:Rt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Rt,amplitude:Rt,arabicForm:null,ascent:Rt,attributeName:null,attributeType:null,azimuth:Rt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Rt,by:null,calcMode:null,capHeight:Rt,className:Dt,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:Rt,diffuseConstant:Rt,direction:null,display:null,dur:null,divisor:Rt,dominantBaseline:null,download:At,dx:null,dy:null,edgeMode:null,editable:null,elevation:Rt,enableBackground:null,end:null,event:null,exponent:Rt,externalResourcesRequired:null,fill:null,fillOpacity:Rt,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:It,g2:It,glyphName:It,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Rt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Rt,horizOriginX:Rt,horizOriginY:Rt,id:null,ideographic:Rt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Rt,k:Rt,k1:Rt,k2:Rt,k3:Rt,k4:Rt,kernelMatrix:Ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Rt,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:Rt,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:Rt,overlineThickness:Rt,paintOrder:null,panose1:null,path:null,pathLength:Rt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Rt,pointsAtY:Rt,pointsAtZ:Rt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ft,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ft,rev:Ft,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ft,requiredFeatures:Ft,requiredFonts:Ft,requiredFormats:Ft,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:Rt,specularExponent:Rt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Rt,strikethroughThickness:Rt,string:null,stroke:null,strokeDashArray:Ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Rt,strokeOpacity:Rt,strokeWidth:null,style:null,surfaceScale:Rt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ft,tabIndex:Rt,tableValues:null,target:null,targetX:Rt,targetY:Rt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Rt,underlineThickness:Rt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Rt,values:null,vAlphabetic:Rt,vMathematical:Rt,vectorEffect:null,vHanging:Rt,vIdeographic:Rt,version:null,vertAdvY:Rt,vertOriginX:Rt,vertOriginY:Rt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Rt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:qt}),Kt=Ht({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),Yt=Ht({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$t}),Xt=Ht({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Gt=Tt([Vt,Wt,Kt,Yt,Xt],"html"),Jt=Tt([Vt,Qt,Kt,Yt,Xt],"svg"),Zt=/[A-Z]/g,en=/-[a-z]/g,tn=/^data[-\w.:]+$/i;function nn(e){return"-"+e.toLowerCase()}function rn(e){return e.charAt(1).toUpperCase()}const on={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 ln=n(294);const an=sn("end"),un=sn("start");function sn(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"===typeof n.line&&n.line>0&&"number"===typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"===typeof n.offset&&n.offset>-1?n.offset:void 0}}}function cn(e){return e&&"object"===typeof e?"position"in e||"type"in e?dn(e.position):"start"in e||"end"in e?dn(e):"line"in e||"column"in e?fn(e):"":""}function fn(e){return pn(e&&e.line)+":"+pn(e&&e.column)}function dn(e){return fn(e&&e.start)+"-"+fn(e&&e.end)}function pn(e){return e&&"number"===typeof e?e:1}class hn extends Error{constructor(e,t,n){super(),"string"===typeof t&&(n=t,t=void 0);let r="",o={},l=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"===typeof e?r=e:!o.cause&&e&&(l=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"===typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const i=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=i?i.line:void 0,this.name=cn(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&"string"===typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}hn.prototype.file="",hn.prototype.name="",hn.prototype.reason="",hn.prototype.message="",hn.prototype.stack="",hn.prototype.column=void 0,hn.prototype.line=void 0,hn.prototype.ancestors=void 0,hn.prototype.cause=void 0,hn.prototype.fatal=void 0,hn.prototype.place=void 0,hn.prototype.ruleId=void 0,hn.prototype.source=void 0;const mn={}.hasOwnProperty,gn=new Map,yn=/[A-Z]/g,vn=new Set(["table","tbody","thead","tfoot","tr"]),bn=new Set(["td","th"]),kn="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function wn(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!==typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,l){const i=Array.isArray(o.children),a=un(n);return t(r,o,l,i,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!==typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!==typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,l){const i=Array.isArray(o.children)?n:t;return l?i(r,o,l):i(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?Jt:Gt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=Sn(o,e,void 0);return l&&"string"!==typeof l?l:o.create(e,o.Fragment,{children:l||void 0},void 0)}function Sn(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=Jt,e.schema=o);e.ancestors.push(t);const l=Tn(e,t.tagName,!1),i=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&mn.call(t.properties,o)){const l=Pn(e,o,t.properties[o]);if(l){const[o,i]=l;e.tableCellAlignToStyle&&"align"===o&&"string"===typeof i&&bn.has(t.tagName)?r=i:n[o]=i}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Cn(e,t);vn.has(t.tagName)&&(a=a.filter((function(e){return"string"!==typeof e||!("object"===typeof(t=e)?"text"===t.type&&Ct(t.value):Ct(t));var t})));return xn(e,i,l,t),En(i,a),e.ancestors.pop(),e.schema=r,e.create(t,l,i,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}_n(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=Jt,e.schema=o);e.ancestors.push(t);const l=null===t.name?e.Fragment:Tn(e,t.name,!0),i=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const l=o.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else _n(e,t.position);else{const o=r.name;let l;if(r.value&&"object"===typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,l=e.evaluater.evaluateExpression(t.expression)}else _n(e,t.position);else l=null===r.value||r.value;n[o]=l}return n}(e,t),a=Cn(e,t);return xn(e,i,l,t),En(i,a),e.ancestors.pop(),e.schema=r,e.create(t,l,i,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);_n(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return En(r,Cn(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function xn(e,t,n,r){"string"!==typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function En(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Cn(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:gn;for(;++r4&&"data"===n.slice(0,4)&&tn.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(en,rn);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!en.test(e)){let n=e.replace(Zt,nn);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=Ut}return new o(r,t)}(e.schema,t);if(!(null===n||void 0===n||"number"===typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"===typeof n?n:function(e,t){try{return ln(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const t=n,r=new hn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=kn+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)mn.call(e,n)&&(t[On(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?on[r.property]||r.property:r.attribute,n]}}function Tn(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++oo?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);i0?(In(e,e.length,0,t),e):t}class Mn{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 ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&jn(this.left,n),o.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),jn(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),jn(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e-1&&e.test(String.fromCharCode(t))}}function or(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let l=0;return function(r){if(er(r))return e.enter(n),i(r);return t(r)};function i(r){return er(r)&&l++l))return;const n=t.events.length;let o,a,u=n;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){a=t.events[u][1].end;break}o=!0}for(y(i),e=n;er;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},ar={tokenize:function(e,t,n){return or(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ur={partial:!0,tokenize:function(e,t,n){return function(t){return er(t)?or(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Jn(e)?t(e):n(e)}}};const sr={resolve:function(e){return Un(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Jn(t)?e.check(cr,l,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function l(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},cr={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),or(e,o,"linePrefix")};function o(o){if(null===o||Jn(o))return n(o);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};const fr={tokenize:function(e){const t=this,n=e.attempt(ur,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,or(e,e.attempt(this.parser.constructs.flow,r,e.attempt(sr,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const dr={resolveAll:gr()},pr=mr("string"),hr=mr("text");function mr(e){return{resolveAll:gr("text"===e?yr:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,l,i);return l;function l(e){return u(e)?o(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o=3&&(null===l||Jn(l))?(e.exit("thematicBreak"),t(l)):n(l)}function i(t){return t===r?(e.consume(t),o++,i):(e.exit("thematicBreakSequence"),er(t)?or(e,l,"whitespace")(t):l(t))}}};const br={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ur,o,l);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,or(e,t,"listItemIndent",r.containerState.size+1)(n)}function l(n){return r.containerState.furtherBlankLines||!er(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(wr,t,i)(n))}function i(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,or(e,e.attempt(br,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let l=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Yn(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(vr,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Yn(t)&&++i<10?(e.consume(t),a):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ur,r.interrupt?n:s,e.attempt(kr,f,c))}function s(e){return r.containerState.initialBlankLine=!0,l++,f(e)}function c(t){return er(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},kr={partial:!0,tokenize:function(e,t,n){const r=this;return or(e,(function(e){const o=r.events[r.events.length-1];return!er(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},wr={partial:!0,tokenize:function(e,t,n){const r=this;return or(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)}};const Sr={continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(er(t))return or(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(Sr,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return er(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function xr(e,t,n,r,o,l,i,a,u){const s=u||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(l),e.consume(t),e.exit(l),f;if(null===t||32===t||41===t||Kn(t))return n(t);return e.enter(r),e.enter(i),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t)};function f(n){return 62===n?(e.enter(l),e.consume(n),e.exit(l),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||Jn(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(o){return c||null!==o&&41!==o&&!Zn(o)?c999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs?n(f):93===f?(e.exit(l),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Jn(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||Jn(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),a||(a=!er(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function Cr(e,t,n,r,o,l){let i;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,a;return n(t)};function a(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(l),u(n))}function u(t){return t===i?(e.exit(l),a(i)):null===t?n(t):Jn(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),or(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===i||null===t||Jn(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===i||92===t?(e.consume(t),s):s(t)}}function Pr(e,t){let n;return function r(o){if(Jn(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(er(o))return or(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Tr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const _r={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Er.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function l(t){return o=Tr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return Zn(t)?Pr(e,a)(t):a(t)}function a(t){return xr(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(Or,s,s)(t)}function s(t){return er(t)?or(e,c,"whitespace")(t):c(t)}function c(l){return null===l||Jn(l)?(e.exit("definition"),r.parser.defined.push(o),t(l)):n(l)}}},Or={partial:!0,tokenize:function(e,t,n){return function(t){return Zn(t)?Pr(e,r)(t):n(t)};function r(t){return Cr(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return er(t)?or(e,l,"whitespace")(t):l(t)}function l(e){return null===e||Jn(e)?t(e):n(e)}}};const Nr={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),or(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?l(e):n(e)}function l(t){return null===t?a(t):Jn(t)?e.attempt(Ar,l,a)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||Jn(t)?(e.exit("codeFlowValue"),l(t)):(e.consume(t),i)}function a(n){return e.exit("codeIndented"),t(n)}}},Ar={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Jn(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):or(e,l,"linePrefix",5)(t)}function l(e){const l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(e):Jn(e)?o(e):n(e)}}};const Lr={name:"headingAtx",resolve:function(e,t){let n,r,o=e.length-2,l=3;"whitespace"===e[l][1].type&&(l+=2);o-2>l&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(l===o-1||o-4>l&&"whitespace"===e[o-2][1].type)&&(o-=l+1===o?2:4);o>l&&(n={type:"atxHeadingText",start:e[l][1].start,end:e[o][1].end},r={type:"chunkText",start:e[l][1].start,end:e[o][1].end,contentType:"text"},In(e,l,o-l+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Zn(t)?(e.exit("atxHeadingSequence"),l(t)):n(t)}function l(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||Jn(n)?(e.exit("atxHeading"),t(n)):er(n)?or(e,l,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),l(t))}function a(t){return null===t||35===t||Zn(t)?(e.exit("atxHeadingText"),l(t)):(e.consume(t),a)}}};const zr={name:"setextUnderline",resolveTo:function(e,t){let n,r,o,l=e.length;for(;l--;)if("enter"===e[l][0]){if("content"===e[l][1].type){n=l;break}"paragraph"===e[l][1].type&&(r=l)}else"content"===e[l][1].type&&e.splice(l,1),o||"definition"!==e[l][1].type||(o=l);const i={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end={...e[o][1].end}):e[n][1]=i;return e.push(["exit",i,t]),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let i,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){i="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),l(t)}(t);return n(t)};function l(t){return t===o?(e.consume(t),l):(e.exit("setextHeadingLineSequence"),er(t)?or(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||Jn(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};const Rr=["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"],Dr=["pre","script","style","textarea"],Ir={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},tokenize:function(e,t,n){const r=this;let o,l,i,a,u;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s}(t)};function s(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),l=!0,p):63===a?(e.consume(a),o=3,r.interrupt?t:R):$n(a)?(e.consume(a),i=String.fromCharCode(a),h):n(a)}function c(l){return 45===l?(e.consume(l),o=2,f):91===l?(e.consume(l),o=5,a=0,d):$n(l)?(e.consume(l),o=4,r.interrupt?t:R):n(l)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:R):n(o)}function d(o){const l="CDATA[";return o===l.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:P:d):n(o)}function p(t){return $n(t)?(e.consume(t),i=String.fromCharCode(t),h):n(t)}function h(a){if(null===a||47===a||62===a||Zn(a)){const u=47===a,s=i.toLowerCase();return u||l||!Dr.includes(s)?Rr.includes(i.toLowerCase())?(o=6,u?(e.consume(a),m):r.interrupt?t(a):P(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):l?g(a):y(a)):(o=1,r.interrupt?t(a):P(a))}return 45===a||Wn(a)?(e.consume(a),i+=String.fromCharCode(a),h):n(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:P):n(o)}function g(t){return er(t)?(e.consume(t),g):E(t)}function y(t){return 47===t?(e.consume(t),E):58===t||95===t||$n(t)?(e.consume(t),v):er(t)?(e.consume(t),y):E(t)}function v(t){return 45===t||46===t||58===t||95===t||Wn(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),k):er(t)?(e.consume(t),b):y(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,w):er(t)?(e.consume(t),k):S(t)}function w(t){return t===u?(e.consume(t),u=null,x):null===t||Jn(t)?n(t):(e.consume(t),w)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Zn(t)?b(t):(e.consume(t),S)}function x(e){return 47===e||62===e||er(e)?y(e):n(e)}function E(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||Jn(t)?P(t):er(t)?(e.consume(t),C):n(t)}function P(t){return 45===t&&2===o?(e.consume(t),N):60===t&&1===o?(e.consume(t),A):62===t&&4===o?(e.consume(t),D):63===t&&3===o?(e.consume(t),R):93===t&&5===o?(e.consume(t),z):!Jn(t)||6!==o&&7!==o?null===t||Jn(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),P):(e.exit("htmlFlowData"),e.check(Fr,I,T)(t))}function T(t){return e.check(Mr,_,I)(t)}function _(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return null===t||Jn(t)?T(t):(e.enter("htmlFlowData"),P(t))}function N(t){return 45===t?(e.consume(t),R):P(t)}function A(t){return 47===t?(e.consume(t),i="",L):P(t)}function L(t){if(62===t){const n=i.toLowerCase();return Dr.includes(n)?(e.consume(t),D):P(t)}return $n(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),L):P(t)}function z(t){return 93===t?(e.consume(t),R):P(t)}function R(t){return 62===t?(e.consume(t),D):45===t&&2===o?(e.consume(t),R):P(t)}function D(t){return null===t||Jn(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),D)}function I(n){return e.exit("htmlFlow"),t(n)}}},Fr={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ur,t,n)}}},Mr={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(Jn(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}};const jr={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Ur={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u}function u(t){return e.enter("codeFencedFence"),er(t)?or(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===l?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===l?(o++,e.consume(t),c):o>=a?(e.exit("codeFencedFenceSequence"),er(t)?or(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||Jn(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let l,i=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,l=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}(t)};function u(t){return t===l?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),er(t)?or(e,s,"whitespace")(t):s(t))}function s(n){return null===n||Jn(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(jr,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||Jn(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(t)):er(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),or(e,f,"whitespace")(t)):96===t&&t===l?n(t):(e.consume(t),c)}function f(t){return null===t||Jn(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Jn(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(t)):96===t&&t===l?n(t):(e.consume(t),d)}function p(t){return e.attempt(o,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return i>0&&er(t)?or(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||Jn(t)?e.check(jr,p,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Jn(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}}};const Br=document.createElement("i");function Hr(e){const t="&"+e+";";Br.innerHTML=t;const n=Br.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Vr={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,l,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,l=Wn,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=Xn,s):(e.enter("characterReferenceValue"),o=7,l=Yn,s(t))}function s(a){if(59===a&&i){const o=e.exit("characterReferenceValue");return l!==Wn||Hr(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return l(a)&&i++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f={...e[n][1].end},d={...e[c][1].start};eo(f,-a),eo(d,a),l={type:a>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},i={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:d},o={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...l.start},end:{...i.end}},e[n][1].end={...l.start},e[c][1].start={...i.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Fn(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Fn(u,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",o,t]]),u=Fn(u,Wr(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=Fn(u,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=Fn(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,In(e,n-1,c-n+3,u),c=n+u.length-s-2;break}c=-1;for(;++c-1){const e=i[0];"string"===typeof e?i[0]=e.slice(r):i.shift()}l>0&&i.push(e[o].slice(0,l))}return i}(i,e)}function h(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:l}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:l}}function m(){let e;for(;r._index13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const ko=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wo(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return bo(n.slice(t?2:1),t?16:10)}return Hr(n)||e}const So={}.hasOwnProperty;function xo(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(te),autolinkProtocol:C,autolinkEmail:C,atxHeading:l(G),blockQuote:l(W),characterEscape:C,characterReference:C,codeFenced:l(Q),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:l(Q,i),codeText:l(K,i),codeTextData:C,data:C,codeFlowValue:C,definition:l(Y),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:l(X),hardBreakEscape:l(J),hardBreakTrailing:l(J),htmlFlow:l(Z,i),htmlFlowData:C,htmlText:l(Z,i),htmlTextData:C,image:l(ee),label:i,link:l(te),listItem:l(re),listItemValue:d,listOrdered:l(ne,f),listUnordered:l(ne),paragraph:l(oe),reference:j,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:l(G),strong:l(le),thematicBreak:l(ae)},exit:{atxHeading:u(),atxHeadingSequence:w,autolink:u(),autolinkEmail:$,autolinkProtocol:q,blockQuote:u(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:B,characterReferenceMarkerNumeric:B,characterReferenceValue:H,characterReference:V,codeFenced:u(g),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:P,codeIndented:u(y),codeText:u(A),codeTextData:P,data:P,definition:u(),definitionDestinationString:k,definitionLabelString:v,definitionTitleString:b,emphasis:u(),hardBreakEscape:u(_),hardBreakTrailing:u(_),htmlFlow:u(O),htmlFlowData:P,htmlText:u(N),htmlTextData:P,image:u(z),label:D,labelText:R,lineEnding:T,link:u(L),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:U,resourceDestinationString:I,resourceTitleString:F,resource:M,setextHeading:u(E),setextHeadingLineSequence:x,setextHeadingText:S,strong:u(),thematicBreak:u()}};Co(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const l={stack:[r],tokenStack:[],config:t,enter:a,exit:s,buffer:i,resume:c,data:n},u=[];let f=-1;for(;++f0){const e=l.tokenStack[l.tokenStack.length-1];(e[1]||To).call(l,void 0,e[0])}for(r.position={start:Eo(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Eo(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[l,i]=t[o];switch(l){case 0:case-1:return n(i,o);case 1:{const e=n([],o);for(const t of i)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),o);case 4:{const{source:e,flags:t}=i;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of i)e.add(r(t));return e}case 7:{const{name:e,message:t}=i;return n(new Oo[e](t),o)}case 8:return n(BigInt(i),o);case"BigInt":return n(Object(BigInt(i)),o);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{const{buffer:e}=new Uint8Array(i);return n(new DataView(e),i)}}return n(new Oo[l](i),o)};return r})(new Map,e)(0),Ao="",{toString:Lo}={},{keys:zo}=Object,Ro=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Lo.call(e).slice(8,-1);switch(n){case"Array":return[1,Ao];case"Object":return[2,Ao];case"Date":return[3,Ao];case"RegExp":return[4,Ao];case"Map":return[5,Ao];case"Set":return[6,Ao];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Do=e=>{let[t,n]=e;return 0===t&&("function"===n||"symbol"===n)},Io=function(e){let{json:t,lossy:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},l=r=>{if(n.has(r))return n.get(r);let[i,a]=Ro(r);switch(i){case 0:{let t=r;switch(a){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([i,t],r)}case 1:{if(a){let e=r;return"DataView"===a?e=new Uint8Array(r.buffer):"ArrayBuffer"===a&&(e=new Uint8Array(r)),o([a,[...e]],r)}const e=[],t=o([i,e],r);for(const n of r)e.push(l(n));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return l(r.toJSON());const n=[],u=o([i,n],r);for(const t of zo(r))!e&&Do(Ro(r[t]))||n.push([l(t),l(r[t])]);return u}case 3:return o([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([i,{source:e,flags:t}],r)}case 5:{const t=[],n=o([i,t],r);for(const[o,i]of r)(e||!Do(Ro(o))&&!Do(Ro(i)))&&t.push([l(o),l(i)]);return n}case 6:{const t=[],n=o([i,t],r);for(const o of r)!e&&Do(Ro(o))||t.push(l(o));return n}}const{message:u}=r;return o([i,{name:a,message:u}],r)};return l})(!(t||n),!!t,new Map,r)(e),r},Fo="function"===typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?No(Io(e,t)):structuredClone(e):(e,t)=>No(Io(e,t));function Mo(e){const t=[];let n=-1,r=0,o=0;for(;++n55295&&l<57344){const t=e.charCodeAt(n+1);l<56320&&t>56319&&t<57344?(i=String.fromCharCode(l,t),o=1):i="\ufffd"}else i=String.fromCharCode(l);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function jo(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Uo(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Bo=function(e){if(null===e||void 0===e)return Vo;if("function"===typeof e)return Ho(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"})}return c;function c(){let s,c,f,d=$o;if((!t||l(o,a,u[u.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[Wo,e];return null===e||void 0===e?$o:[e]}(n(o,u)),d[0]===Qo))return d;if("children"in o&&o.children){const t=o;if(t.children&&"skip"!==d[0])for(c=(r?t.children.length:-1)+i,f=u.concat(t);c>-1&&c1:t}function Jo(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const l=[];for(;r;)l.push(Zo(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return l.push(Zo(t.slice(o),o>0,!1)),l.join("")}function Zo(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const el={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=Mo(r.toLowerCase()),l=e.footnoteOrder.indexOf(r);let i,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=l+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Xo(e,t);const o={src:Mo(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const l={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,l),e.applyData(t,l)},image:function(e,t){const n={src:Mo(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Xo(e,t);const o={href:Mo(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const l={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)},link:function(e,t){const n={href:Mo(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=un(t.children[1]),i=an(t.children[t.children.length-1]);l&&i&&(r.position={start:l,end:i}),o.push(r)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,l),e.applyData(t,l)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",l=n&&"table"===n.type?n.align:void 0,i=l?l.length:t.children.length;let a=-1;const u=[];for(;++a0&&n.push({type:"text",value:"\n"}),n}function ul(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function sl(e,t){const n=function(e,t){const n=t||rl,r=new Map,o=new Map,l=new Map,i={...el,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&f.push({type:"text",value:" "});let e="string"===typeof n?n:n(u,c);"string"===typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"===typeof r?r:r(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=l[l.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...f)}else l.push(...f);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+s},children:e.wrap(l,!0)};e.patch(o,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Fo(i),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&l.children.push({type:"text",value:"\n"},o),l}function cl(e,t){return e&&"run"in e?async function(n,r){const o=sl(n,{file:r,...t});await e.run(o,r)}:function(n,r){return sl(n,{file:r,...e||t})}}function fl(e){if(e)throw e}var dl=n(240);function pl(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function hl(){const e=[],t={run:function(){for(var t=arguments.length,n=new Array(t),r=0;r1?u-1:0),c=1;co.length;let s;u&&o.push(l);try{s=e.apply(this,o)}catch(r){if(u&&n)throw r;return l(r)}u||(s&&s.then&&"function"===typeof s.then?s.then(i,l):s instanceof Error?l(s):i(s))}function l(e){if(!n){n=!0;for(var r=arguments.length,o=new Array(r>1?r-1:0),l=1;le.length){for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,a=t.length-1;for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1),a>-1&&(e.codePointAt(l)===t.codePointAt(a--)?a<0&&(o=l):(a=-1,o=i));r===o?o=i:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(gl(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){gl(e);let t,n=e.length,r=-1,o=0,l=-1,i=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?l<0?l=n:1!==i&&(i=1):l>-1&&(i=-1);else if(t){o=n+1;break}}if(l<0||r<0||0===i||1===i&&l===r-1&&l===o+1)return"";return e.slice(l,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),o=0;o2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",l=0):(o=o.slice(0,r),l=o.length-1-o.lastIndexOf("/")),i=u,a=0;continue}}else if(o.length>0){o="",l=0,i=u,a=0;continue}t&&(o=o.length>0?o+"/..":"..",l=2)}else o.length>0?o+="/"+e.slice(i+1,u):o=e.slice(i+1,u),l=u-i-1;i=u,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function gl(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const yl={cwd:function(){return"/"}};function vl(e){return Boolean(null!==e&&"object"===typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function bl(e){if("string"===typeof e)e=new URL(e);else if(!vl(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n1?r-1:0),l=1;l0){let[r,...l]=n;const i=t[o][1];pl(i)&&pl(r)&&(r=dl(!0,i,r)),t[o]=[e,r,...l]}}}}const _l=(new Tl).freeze();function Ol(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Nl(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Al(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ll(e){if(!pl(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function zl(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Rl(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new wl(e)}const Dl=[],Il={allowDangerousHtml:!0},Fl=/^(https?|ircs?|mailto|xmpp)$/i,Ml=[{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 jl(e){const t=Ul(e),n=Bl(e);return Hl(t.runSync(t.parse(n),n),e)}function Ul(e){const t=e.rehypePlugins||Dl,n=e.remarkPlugins||Dl,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Il}:Il;return _l().use(_o).use(n).use(cl,r).use(t)}function Bl(e){const t=e.children||"",n=new wl;return"string"===typeof t&&(n.value=t),n}function Hl(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,l=t.disallowedElements,i=t.skipHtml,a=t.unwrapDisallowed,u=t.urlTransform||Vl;for(const s of Ml)Object.hasOwn(t,s.from)&&(s.from,s.to&&s.to,s.id);return Yo(e,(function(e,t,o){if("raw"===e.type&&o&&"number"===typeof t)return i?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in An)if(Object.hasOwn(An,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=An[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=u(String(n||""),t,e))}}if("element"===e.type){let i=n?!n.includes(e.tagName):!!l&&l.includes(e.tagName);if(!i&&r&&"number"===typeof t&&(i=!r(e,t,o)),i&&o&&"number"===typeof t)return a&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}})),wn(e,{Fragment:Ln.Fragment,components:o,ignoreInvalidStyle:!0,jsx:Ln.jsx,jsxs:Ln.jsxs,passKeys:!0,passNode:!0})}function Vl(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||Fl.test(e.slice(0,t))?e:""}const ql=()=>{const[e,t]=(0,o.useState)([]),[n,r]=(0,o.useState)(""),[l,i]=(0,o.useState)(!1),a=(0,o.useRef)(null);return(0,o.useEffect)((()=>{var e;null===(e=a.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})}),[e]),(0,Ln.jsxs)("div",{className:"chat-container",children:[(0,Ln.jsx)("div",{className:"chat-header",children:(0,Ln.jsx)("h2",{children:"Mon Chatbot IA M\xe9dicale"})}),(0,Ln.jsxs)("div",{className:"messages-container",children:[0===e.length?(0,Ln.jsx)("div",{className:"welcome-message",children:(0,Ln.jsx)("p",{children:"Bonjour ! Comment puis-je vous aider aujourd'hui ?"})}):e.map(((e,t)=>{return(0,Ln.jsx)("div",{className:`message ${e.sender}`,children:(0,Ln.jsx)("div",{className:"message-content",children:(n=e.text,/[#*_>`-]/.test(n)?(0,Ln.jsx)(jl,{children:e.text}):e.text)})},t);var n})),l&&(0,Ln.jsx)("div",{className:"message bot",children:(0,Ln.jsxs)("div",{className:"message-content loading",children:[(0,Ln.jsx)("span",{children:"."}),(0,Ln.jsx)("span",{children:"."}),(0,Ln.jsx)("span",{children:"."})]})}),(0,Ln.jsx)("div",{ref:a})]}),(0,Ln.jsxs)("form",{onSubmit:o=>{o.preventDefault(),""!==n.trim()&&((async n=>{try{i(!0),e.map((e=>({text:e.text,sender:e.sender})));const r=(await bt.post("https://dd704091d27b57de3c.gradio.live/gradio_api/run/predict",{data:[n,null],fn_index:0})).data.data[0];t((e=>[...e,{sender:"user",text:n},{sender:"bot",text:r}])),i(!1)}catch(r){console.error("Erreur lors de l'envoi du message:",r),i(!1),t((e=>[...e,{sender:"user",text:n},{sender:"bot",text:"D\xe9sol\xe9, une erreur s'est produite. Veuillez r\xe9essayer."}]))}})(n),r(""))},className:"input-form",children:[(0,Ln.jsx)("input",{type:"text",value:n,onChange:e=>r(e.target.value),placeholder:"Tapez votre message ici...",disabled:l}),(0,Ln.jsx)("button",{type:"submit",disabled:l||""===n.trim(),children:"Envoyer"})]})]})};const $l=function(){return(0,Ln.jsx)("div",{className:"App",children:(0,Ln.jsx)(ql,{})})},Wl=e=>{e&&e instanceof Function&&n.e(453).then(n.bind(n,453)).then((t=>{let{getCLS:n,getFID:r,getFCP:o,getLCP:l,getTTFB:i}=t;n(e),r(e),o(e),l(e),i(e)}))};l.createRoot(document.getElementById("root")).render((0,Ln.jsx)(o.StrictMode,{children:(0,Ln.jsx)($l,{})})),Wl()})()})(); //# sourceMappingURL=main.5a69218f.js.map