@mitodl/smoot-design 3.0.1 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,161 @@
1
+ (function(vl,Sa){typeof exports=="object"&&typeof module<"u"?Sa(exports):typeof define=="function"&&define.amd?define(["exports"],Sa):(vl=typeof globalThis<"u"?globalThis:vl||self,Sa(vl.aiChat={}))})(this,function(vl){"use strict";function Sa(t,r){for(var a=0;a<r.length;a++){const u=r[a];if(typeof u!="string"&&!Array.isArray(u)){for(const o in u)if(o!=="default"&&!(o in t)){const c=Object.getOwnPropertyDescriptor(u,o);c&&Object.defineProperty(t,o,c.get?c:{enumerable:!0,get:()=>u[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}function El(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var as={exports:{}},ke={};/**
2
+ * @license React
3
+ * react.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var th;function Bb(){if(th)return ke;th=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.iterator;function v(S){return S===null||typeof S!="object"?null:(S=b&&S[b]||S["@@iterator"],typeof S=="function"?S:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,T={};function H(S,Z,oe){this.props=S,this.context=Z,this.refs=T,this.updater=oe||x}H.prototype.isReactComponent={},H.prototype.setState=function(S,Z){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,Z,"setState")},H.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function A(){}A.prototype=H.prototype;function N(S,Z,oe){this.props=S,this.context=Z,this.refs=T,this.updater=oe||x}var O=N.prototype=new A;O.constructor=N,M(O,H.prototype),O.isPureReactComponent=!0;var _=Array.isArray,k={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function F(S,Z,oe,w,le,ye){return oe=ye.ref,{$$typeof:t,type:S,key:Z,ref:oe!==void 0?oe:null,props:ye}}function ne(S,Z){return F(S.type,Z,void 0,void 0,void 0,S.props)}function V(S){return typeof S=="object"&&S!==null&&S.$$typeof===t}function E(S){var Z={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(oe){return Z[oe]})}var j=/\/+/g;function q(S,Z){return typeof S=="object"&&S!==null&&S.key!=null?E(""+S.key):Z.toString(36)}function J(){}function te(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(J,J):(S.status="pending",S.then(function(Z){S.status==="pending"&&(S.status="fulfilled",S.value=Z)},function(Z){S.status==="pending"&&(S.status="rejected",S.reason=Z)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function ue(S,Z,oe,w,le){var ye=typeof S;(ye==="undefined"||ye==="boolean")&&(S=null);var de=!1;if(S===null)de=!0;else switch(ye){case"bigint":case"string":case"number":de=!0;break;case"object":switch(S.$$typeof){case t:case r:de=!0;break;case g:return de=S._init,ue(de(S._payload),Z,oe,w,le)}}if(de)return le=le(S),de=w===""?"."+q(S,0):w,_(le)?(oe="",de!=null&&(oe=de.replace(j,"$&/")+"/"),ue(le,Z,oe,"",function(Re){return Re})):le!=null&&(V(le)&&(le=ne(le,oe+(le.key==null||S&&S.key===le.key?"":(""+le.key).replace(j,"$&/")+"/")+de)),Z.push(le)),1;de=0;var Ge=w===""?".":w+":";if(_(S))for(var Ee=0;Ee<S.length;Ee++)w=S[Ee],ye=Ge+q(w,Ee),de+=ue(w,Z,oe,ye,le);else if(Ee=v(S),typeof Ee=="function")for(S=Ee.call(S),Ee=0;!(w=S.next()).done;)w=w.value,ye=Ge+q(w,Ee++),de+=ue(w,Z,oe,ye,le);else if(ye==="object"){if(typeof S.then=="function")return ue(te(S),Z,oe,w,le);throw Z=String(S),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return de}function P(S,Z,oe){if(S==null)return S;var w=[],le=0;return ue(S,w,"","",function(ye){return Z.call(oe,ye,le++)}),w}function ae(S){if(S._status===-1){var Z=S._result;Z=Z(),Z.then(function(oe){(S._status===0||S._status===-1)&&(S._status=1,S._result=oe)},function(oe){(S._status===0||S._status===-1)&&(S._status=2,S._result=oe)}),S._status===-1&&(S._status=0,S._result=Z)}if(S._status===1)return S._result.default;throw S._result}var ie=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)};function be(){}return ke.Children={map:P,forEach:function(S,Z,oe){P(S,function(){Z.apply(this,arguments)},oe)},count:function(S){var Z=0;return P(S,function(){Z++}),Z},toArray:function(S){return P(S,function(Z){return Z})||[]},only:function(S){if(!V(S))throw Error("React.Children.only expected to receive a single React element child.");return S}},ke.Component=H,ke.Fragment=a,ke.Profiler=o,ke.PureComponent=N,ke.StrictMode=u,ke.Suspense=m,ke.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,ke.act=function(){throw Error("act(...) is not supported in production builds of React.")},ke.cache=function(S){return function(){return S.apply(null,arguments)}},ke.cloneElement=function(S,Z,oe){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var w=M({},S.props),le=S.key,ye=void 0;if(Z!=null)for(de in Z.ref!==void 0&&(ye=void 0),Z.key!==void 0&&(le=""+Z.key),Z)!D.call(Z,de)||de==="key"||de==="__self"||de==="__source"||de==="ref"&&Z.ref===void 0||(w[de]=Z[de]);var de=arguments.length-2;if(de===1)w.children=oe;else if(1<de){for(var Ge=Array(de),Ee=0;Ee<de;Ee++)Ge[Ee]=arguments[Ee+2];w.children=Ge}return F(S.type,le,void 0,void 0,ye,w)},ke.createContext=function(S){return S={$$typeof:f,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:c,_context:S},S},ke.createElement=function(S,Z,oe){var w,le={},ye=null;if(Z!=null)for(w in Z.key!==void 0&&(ye=""+Z.key),Z)D.call(Z,w)&&w!=="key"&&w!=="__self"&&w!=="__source"&&(le[w]=Z[w]);var de=arguments.length-2;if(de===1)le.children=oe;else if(1<de){for(var Ge=Array(de),Ee=0;Ee<de;Ee++)Ge[Ee]=arguments[Ee+2];le.children=Ge}if(S&&S.defaultProps)for(w in de=S.defaultProps,de)le[w]===void 0&&(le[w]=de[w]);return F(S,ye,void 0,void 0,null,le)},ke.createRef=function(){return{current:null}},ke.forwardRef=function(S){return{$$typeof:h,render:S}},ke.isValidElement=V,ke.lazy=function(S){return{$$typeof:g,_payload:{_status:-1,_result:S},_init:ae}},ke.memo=function(S,Z){return{$$typeof:p,type:S,compare:Z===void 0?null:Z}},ke.startTransition=function(S){var Z=k.T,oe={};k.T=oe;try{var w=S(),le=k.S;le!==null&&le(oe,w),typeof w=="object"&&w!==null&&typeof w.then=="function"&&w.then(be,ie)}catch(ye){ie(ye)}finally{k.T=Z}},ke.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},ke.use=function(S){return k.H.use(S)},ke.useActionState=function(S,Z,oe){return k.H.useActionState(S,Z,oe)},ke.useCallback=function(S,Z){return k.H.useCallback(S,Z)},ke.useContext=function(S){return k.H.useContext(S)},ke.useDebugValue=function(){},ke.useDeferredValue=function(S,Z){return k.H.useDeferredValue(S,Z)},ke.useEffect=function(S,Z){return k.H.useEffect(S,Z)},ke.useId=function(){return k.H.useId()},ke.useImperativeHandle=function(S,Z,oe){return k.H.useImperativeHandle(S,Z,oe)},ke.useInsertionEffect=function(S,Z){return k.H.useInsertionEffect(S,Z)},ke.useLayoutEffect=function(S,Z){return k.H.useLayoutEffect(S,Z)},ke.useMemo=function(S,Z){return k.H.useMemo(S,Z)},ke.useOptimistic=function(S,Z){return k.H.useOptimistic(S,Z)},ke.useReducer=function(S,Z,oe){return k.H.useReducer(S,Z,oe)},ke.useRef=function(S){return k.H.useRef(S)},ke.useState=function(S){return k.H.useState(S)},ke.useSyncExternalStore=function(S,Z,oe){return k.H.useSyncExternalStore(S,Z,oe)},ke.useTransition=function(){return k.H.useTransition()},ke.version="19.0.0",ke}var nh;function lu(){return nh||(nh=1,as.exports=Bb()),as.exports}var U=lu();const Hn=El(U),rh=Sa({__proto__:null,default:Hn},[U]);var is={exports:{}},xa={},us={exports:{}},os={};/**
10
+ * @license React
11
+ * scheduler.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var lh;function zb(){return lh||(lh=1,function(t){function r(P,ae){var ie=P.length;P.push(ae);e:for(;0<ie;){var be=ie-1>>>1,S=P[be];if(0<o(S,ae))P[be]=ae,P[ie]=S,ie=be;else break e}}function a(P){return P.length===0?null:P[0]}function u(P){if(P.length===0)return null;var ae=P[0],ie=P.pop();if(ie!==ae){P[0]=ie;e:for(var be=0,S=P.length,Z=S>>>1;be<Z;){var oe=2*(be+1)-1,w=P[oe],le=oe+1,ye=P[le];if(0>o(w,ie))le<S&&0>o(ye,w)?(P[be]=ye,P[le]=ie,be=le):(P[be]=w,P[oe]=ie,be=oe);else if(le<S&&0>o(ye,ie))P[be]=ye,P[le]=ie,be=le;else break e}}return ae}function o(P,ae){var ie=P.sortIndex-ae.sortIndex;return ie!==0?ie:P.id-ae.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var f=Date,h=f.now();t.unstable_now=function(){return f.now()-h}}var m=[],p=[],g=1,b=null,v=3,x=!1,M=!1,T=!1,H=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function O(P){for(var ae=a(p);ae!==null;){if(ae.callback===null)u(p);else if(ae.startTime<=P)u(p),ae.sortIndex=ae.expirationTime,r(m,ae);else break;ae=a(p)}}function _(P){if(T=!1,O(P),!M)if(a(m)!==null)M=!0,te();else{var ae=a(p);ae!==null&&ue(_,ae.startTime-P)}}var k=!1,D=-1,F=5,ne=-1;function V(){return!(t.unstable_now()-ne<F)}function E(){if(k){var P=t.unstable_now();ne=P;var ae=!0;try{e:{M=!1,T&&(T=!1,A(D),D=-1),x=!0;var ie=v;try{t:{for(O(P),b=a(m);b!==null&&!(b.expirationTime>P&&V());){var be=b.callback;if(typeof be=="function"){b.callback=null,v=b.priorityLevel;var S=be(b.expirationTime<=P);if(P=t.unstable_now(),typeof S=="function"){b.callback=S,O(P),ae=!0;break t}b===a(m)&&u(m),O(P)}else u(m);b=a(m)}if(b!==null)ae=!0;else{var Z=a(p);Z!==null&&ue(_,Z.startTime-P),ae=!1}}break e}finally{b=null,v=ie,x=!1}ae=void 0}}finally{ae?j():k=!1}}}var j;if(typeof N=="function")j=function(){N(E)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,J=q.port2;q.port1.onmessage=E,j=function(){J.postMessage(null)}}else j=function(){H(E,0)};function te(){k||(k=!0,j())}function ue(P,ae){D=H(function(){P(t.unstable_now())},ae)}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(P){P.callback=null},t.unstable_continueExecution=function(){M||x||(M=!0,te())},t.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<P?Math.floor(1e3/P):5},t.unstable_getCurrentPriorityLevel=function(){return v},t.unstable_getFirstCallbackNode=function(){return a(m)},t.unstable_next=function(P){switch(v){case 1:case 2:case 3:var ae=3;break;default:ae=v}var ie=v;v=ae;try{return P()}finally{v=ie}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(P,ae){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var ie=v;v=P;try{return ae()}finally{v=ie}},t.unstable_scheduleCallback=function(P,ae,ie){var be=t.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?be+ie:be):ie=be,P){case 1:var S=-1;break;case 2:S=250;break;case 5:S=1073741823;break;case 4:S=1e4;break;default:S=5e3}return S=ie+S,P={id:g++,callback:ae,priorityLevel:P,startTime:ie,expirationTime:S,sortIndex:-1},ie>be?(P.sortIndex=ie,r(p,P),a(m)===null&&P===a(p)&&(T?(A(D),D=-1):T=!0,ue(_,ie-be))):(P.sortIndex=S,r(m,P),M||x||(M=!0,te())),P},t.unstable_shouldYield=V,t.unstable_wrapCallback=function(P){var ae=v;return function(){var ie=v;v=ae;try{return P.apply(this,arguments)}finally{v=ie}}}}(os)),os}var ah;function Nb(){return ah||(ah=1,us.exports=zb()),us.exports}var ss={exports:{}},qt={};/**
18
+ * @license React
19
+ * react-dom.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var ih;function Lb(){if(ih)return qt;ih=1;var t=lu();function r(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var u={d:{f:a,r:function(){throw Error(r(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},o=Symbol.for("react.portal");function c(m,p,g){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:b==null?null:""+b,children:m,containerInfo:p,implementation:g}}var f=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return qt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,qt.createPortal=function(m,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return c(m,p,null,g)},qt.flushSync=function(m){var p=f.T,g=u.p;try{if(f.T=null,u.p=2,m)return m()}finally{f.T=p,u.p=g,u.d.f()}},qt.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,u.d.C(m,p))},qt.prefetchDNS=function(m){typeof m=="string"&&u.d.D(m)},qt.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var g=p.as,b=h(g,p.crossOrigin),v=typeof p.integrity=="string"?p.integrity:void 0,x=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?u.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:b,integrity:v,fetchPriority:x}):g==="script"&&u.d.X(m,{crossOrigin:b,integrity:v,fetchPriority:x,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},qt.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=h(p.as,p.crossOrigin);u.d.M(m,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&u.d.M(m)},qt.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,b=h(g,p.crossOrigin);u.d.L(m,g,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},qt.preloadModule=function(m,p){if(typeof m=="string")if(p){var g=h(p.as,p.crossOrigin);u.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else u.d.m(m)},qt.requestFormReset=function(m){u.d.r(m)},qt.unstable_batchedUpdates=function(m,p){return m(p)},qt.useFormState=function(m,p,g){return f.H.useFormState(m,p,g)},qt.useFormStatus=function(){return f.H.useHostTransitionStatus()},qt.version="19.0.0",qt}var uh;function Ub(){if(uh)return ss.exports;uh=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),ss.exports=Lb(),ss.exports}/**
26
+ * @license React
27
+ * react-dom-client.production.js
28
+ *
29
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var oh;function _b(){if(oh)return xa;oh=1;var t=Nb(),r=lu(),a=Ub();function u(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)n+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}var c=Symbol.for("react.element"),f=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),v=Symbol.for("react.consumer"),x=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),_=Symbol.for("react.memo_cache_sentinel"),k=Symbol.iterator;function D(e){return e===null||typeof e!="object"?null:(e=k&&e[k]||e["@@iterator"],typeof e=="function"?e:null)}var F=Symbol.for("react.client.reference");function ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===F?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case h:return"Portal";case g:return"Profiler";case p:return"StrictMode";case T:return"Suspense";case H:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case x:return(e.displayName||"Context")+".Provider";case v:return(e._context.displayName||"Context")+".Consumer";case M:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case A:return n=e.displayName||null,n!==null?n:ne(e.type)||"Memo";case N:n=e._payload,e=e._init;try{return ne(e(n))}catch{}}return null}var V=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=Object.assign,j,q;function J(e){if(j===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||"",q=-1<l.stack.indexOf(`
34
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
35
+ `+j+e+q}var te=!1;function ue(e,n){if(!e||te)return"";te=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(n){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(K){var G=K}Reflect.construct(e,[],ee)}else{try{ee.call()}catch(K){G=K}e.call(ee.prototype)}}else{try{throw Error()}catch(K){G=K}(ee=e())&&typeof ee.catch=="function"&&ee.catch(function(){})}}catch(K){if(K&&G&&typeof K.stack=="string")return[K.stack,G.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=i.DetermineComponentFrameRoot(),y=d[0],C=d[1];if(y&&C){var R=y.split(`
36
+ `),z=C.split(`
37
+ `);for(s=i=0;i<R.length&&!R[i].includes("DetermineComponentFrameRoot");)i++;for(;s<z.length&&!z[s].includes("DetermineComponentFrameRoot");)s++;if(i===R.length||s===z.length)for(i=R.length-1,s=z.length-1;1<=i&&0<=s&&R[i]!==z[s];)s--;for(;1<=i&&0<=s;i--,s--)if(R[i]!==z[s]){if(i!==1||s!==1)do if(i--,s--,0>s||R[i]!==z[s]){var X=`
38
+ `+R[i].replace(" at new "," at ");return e.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",e.displayName)),X}while(1<=i&&0<=s);break}}}finally{te=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?J(l):""}function P(e){switch(e.tag){case 26:case 27:case 5:return J(e.type);case 16:return J("Lazy");case 13:return J("Suspense");case 19:return J("SuspenseList");case 0:case 15:return e=ue(e.type,!1),e;case 11:return e=ue(e.type.render,!1),e;case 1:return e=ue(e.type,!0),e;default:return""}}function ae(e){try{var n="";do n+=P(e),e=e.return;while(e);return n}catch(l){return`
39
+ Error generating stack: `+l.message+`
40
+ `+l.stack}}function ie(e){var n=e,l=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(l=n.return),e=n.return;while(e)}return n.tag===3?l:null}function be(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function S(e){if(ie(e)!==e)throw Error(u(188))}function Z(e){var n=e.alternate;if(!n){if(n=ie(e),n===null)throw Error(u(188));return n!==e?null:e}for(var l=e,i=n;;){var s=l.return;if(s===null)break;var d=s.alternate;if(d===null){if(i=s.return,i!==null){l=i;continue}break}if(s.child===d.child){for(d=s.child;d;){if(d===l)return S(s),e;if(d===i)return S(s),n;d=d.sibling}throw Error(u(188))}if(l.return!==i.return)l=s,i=d;else{for(var y=!1,C=s.child;C;){if(C===l){y=!0,l=s,i=d;break}if(C===i){y=!0,i=s,l=d;break}C=C.sibling}if(!y){for(C=d.child;C;){if(C===l){y=!0,l=d,i=s;break}if(C===i){y=!0,i=d,l=s;break}C=C.sibling}if(!y)throw Error(u(189))}}if(l.alternate!==i)throw Error(u(190))}if(l.tag!==3)throw Error(u(188));return l.stateNode.current===l?e:n}function oe(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=oe(e),n!==null)return n;e=e.sibling}return null}var w=Array.isArray,le=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ye={pending:!1,data:null,method:null,action:null},de=[],Ge=-1;function Ee(e){return{current:e}}function Re(e){0>Ge||(e.current=de[Ge],de[Ge]=null,Ge--)}function fe(e,n){Ge++,de[Ge]=e.current,e.current=n}var Ne=Ee(null),ge=Ee(null),pe=Ee(null),se=Ee(null);function xe(e,n){switch(fe(pe,n),fe(ge,e),fe(Ne,null),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)&&(n=n.namespaceURI)?ib(n):0;break;default:if(e=e===8?n.parentNode:n,n=e.tagName,e=e.namespaceURI)e=ib(e),n=ub(e,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Re(Ne),fe(Ne,n)}function Ye(){Re(Ne),Re(ge),Re(pe)}function _e(e){e.memoizedState!==null&&fe(se,e);var n=Ne.current,l=ub(n,e.type);n!==l&&(fe(ge,e),fe(Ne,l))}function Me(e){ge.current===e&&(Re(Ne),Re(ge)),se.current===e&&(Re(se),$i._currentValue=ye)}var it=Object.prototype.hasOwnProperty,St=t.unstable_scheduleCallback,sn=t.unstable_cancelCallback,Bn=t.unstable_shouldYield,cn=t.unstable_requestPaint,De=t.unstable_now,Dt=t.unstable_getCurrentPriorityLevel,Y=t.unstable_ImmediatePriority,$=t.unstable_UserBlockingPriority,ce=t.unstable_NormalPriority,Ae=t.unstable_LowPriority,He=t.unstable_IdlePriority,Be=t.log,en=t.unstable_setDisableYieldValue,Bt=null,Rt=null;function Pr(e){if(Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(Bt,e,void 0,(e.current.flags&128)===128)}catch{}}function pt(e){if(typeof Be=="function"&&en(e),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(Bt,e)}catch{}}var At=Math.clz32?Math.clz32:n5,zn=Math.log,t5=Math.LN2;function n5(e){return e>>>=0,e===0?32:31-(zn(e)/t5|0)|0}var Xu=128,Zu=4194304;function $r(e){var n=e&42;if(n!==0)return n;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 e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ju(e,n){var l=e.pendingLanes;if(l===0)return 0;var i=0,s=e.suspendedLanes,d=e.pingedLanes,y=e.warmLanes;e=e.finishedLanes!==0;var C=l&134217727;return C!==0?(l=C&~s,l!==0?i=$r(l):(d&=C,d!==0?i=$r(d):e||(y=C&~y,y!==0&&(i=$r(y))))):(C=l&~s,C!==0?i=$r(C):d!==0?i=$r(d):e||(y=l&~y,y!==0&&(i=$r(y)))),i===0?0:n!==0&&n!==i&&!(n&s)&&(s=i&-i,y=n&-n,s>=y||s===32&&(y&4194176)!==0)?n:i}function si(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function r5(e,n){switch(e){case 1:case 2:case 4:case 8:return n+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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pg(){var e=Xu;return Xu<<=1,!(Xu&4194176)&&(Xu=128),e}function $g(){var e=Zu;return Zu<<=1,!(Zu&62914560)&&(Zu=4194304),e}function Xc(e){for(var n=[],l=0;31>l;l++)n.push(e);return n}function ci(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function l5(e,n,l,i,s,d){var y=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var C=e.entanglements,R=e.expirationTimes,z=e.hiddenUpdates;for(l=y&~l;0<l;){var X=31-At(l),ee=1<<X;C[X]=0,R[X]=-1;var G=z[X];if(G!==null)for(z[X]=null,X=0;X<G.length;X++){var K=G[X];K!==null&&(K.lane&=-536870913)}l&=~ee}i!==0&&ey(e,i,0),d!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=d&~(y&~n))}function ey(e,n,l){e.pendingLanes|=n,e.suspendedLanes&=~n;var i=31-At(n);e.entangledLanes|=n,e.entanglements[i]=e.entanglements[i]|1073741824|l&4194218}function ty(e,n){var l=e.entangledLanes|=n;for(e=e.entanglements;l;){var i=31-At(l),s=1<<i;s&n|e[i]&n&&(e[i]|=n),l&=~s}}function ny(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ry(){var e=le.p;return e!==0?e:(e=window.event,e===void 0?32:wb(e.type))}function a5(e,n){var l=le.p;try{return le.p=e,n()}finally{le.p=l}}var kr=Math.random().toString(36).slice(2),Ft="__reactFiber$"+kr,tn="__reactProps$"+kr,Hl="__reactContainer$"+kr,Zc="__reactEvents$"+kr,i5="__reactListeners$"+kr,u5="__reactHandles$"+kr,ly="__reactResources$"+kr,fi="__reactMarker$"+kr;function Jc(e){delete e[Ft],delete e[tn],delete e[Zc],delete e[i5],delete e[u5]}function el(e){var n=e[Ft];if(n)return n;for(var l=e.parentNode;l;){if(n=l[Hl]||l[Ft]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(e=cb(e);e!==null;){if(l=e[Ft])return l;e=cb(e)}return n}e=l,l=e.parentNode}return null}function jl(e){if(e=e[Ft]||e[Hl]){var n=e.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return e}return null}function di(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(u(33))}function Il(e){var n=e[ly];return n||(n=e[ly]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function zt(e){e[fi]=!0}var ay=new Set,iy={};function tl(e,n){Gl(e,n),Gl(e+"Capture",n)}function Gl(e,n){for(iy[e]=n,e=0;e<n.length;e++)ay.add(n[e])}var nr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),o5=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),uy={},oy={};function s5(e){return it.call(oy,e)?!0:it.call(uy,e)?!1:o5.test(e)?oy[e]=!0:(uy[e]=!0,!1)}function Wu(e,n,l){if(s5(n))if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var i=n.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+l)}}function Pu(e,n,l){if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+l)}}function rr(e,n,l,i){if(i===null)e.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(n,l,""+i)}}function xn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function sy(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function c5(e){var n=sy(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),i=""+e[n];if(!e.hasOwnProperty(n)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,d=l.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return s.call(this)},set:function(y){i=""+y,d.call(this,y)}}),Object.defineProperty(e,n,{enumerable:l.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function $u(e){e._valueTracker||(e._valueTracker=c5(e))}function cy(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var l=n.getValue(),i="";return e&&(i=sy(e)?e.checked?"true":"false":e.value),e=i,e!==l?(n.setValue(e),!0):!1}function eo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var f5=/[\n"\\]/g;function vn(e){return e.replace(f5,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Wc(e,n,l,i,s,d,y,C){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),n!=null?y==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+xn(n)):e.value!==""+xn(n)&&(e.value=""+xn(n)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),n!=null?Pc(e,y,xn(n)):l!=null?Pc(e,y,xn(l)):i!=null&&e.removeAttribute("value"),s==null&&d!=null&&(e.defaultChecked=!!d),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?e.name=""+xn(C):e.removeAttribute("name")}function fy(e,n,l,i,s,d,y,C){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||l!=null){if(!(d!=="submit"&&d!=="reset"||n!=null))return;l=l!=null?""+xn(l):"",n=n!=null?""+xn(n):l,C||n===e.value||(e.value=n),e.defaultValue=n}i=i??s,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=C?e.checked:!!i,e.defaultChecked=!!i,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y)}function Pc(e,n,l){n==="number"&&eo(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ql(e,n,l,i){if(e=e.options,n){n={};for(var s=0;s<l.length;s++)n["$"+l[s]]=!0;for(l=0;l<e.length;l++)s=n.hasOwnProperty("$"+e[l].value),e[l].selected!==s&&(e[l].selected=s),s&&i&&(e[l].defaultSelected=!0)}else{for(l=""+xn(l),n=null,s=0;s<e.length;s++){if(e[s].value===l){e[s].selected=!0,i&&(e[s].defaultSelected=!0);return}n!==null||e[s].disabled||(n=e[s])}n!==null&&(n.selected=!0)}}function dy(e,n,l){if(n!=null&&(n=""+xn(n),n!==e.value&&(e.value=n),l==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=l!=null?""+xn(l):""}function hy(e,n,l,i){if(n==null){if(i!=null){if(l!=null)throw Error(u(92));if(w(i)){if(1<i.length)throw Error(u(93));i=i[0]}l=i}l==null&&(l=""),n=l}l=xn(n),e.defaultValue=l,i=e.textContent,i===l&&i!==""&&i!==null&&(e.value=i)}function Vl(e,n){if(n){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=n;return}}e.textContent=n}var d5=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function py(e,n,l){var i=n.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?i?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":i?e.setProperty(n,l):typeof l!="number"||l===0||d5.has(n)?n==="float"?e.cssFloat=l:e[n]=(""+l).trim():e[n]=l+"px"}function my(e,n,l){if(n!=null&&typeof n!="object")throw Error(u(62));if(e=e.style,l!=null){for(var i in l)!l.hasOwnProperty(i)||n!=null&&n.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var s in n)i=n[s],n.hasOwnProperty(s)&&l[s]!==i&&py(e,s,i)}else for(var d in n)n.hasOwnProperty(d)&&py(e,d,n[d])}function $c(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var h5=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),p5=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function to(e){return p5.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var ef=null;function tf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Fl=null;function gy(e){var n=jl(e);if(n&&(e=n.stateNode)){var l=e[tn]||null;e:switch(e=n.stateNode,n.type){case"input":if(Wc(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),n=l.name,l.type==="radio"&&n!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+vn(""+n)+'"][type="radio"]'),n=0;n<l.length;n++){var i=l[n];if(i!==e&&i.form===e.form){var s=i[tn]||null;if(!s)throw Error(u(90));Wc(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(n=0;n<l.length;n++)i=l[n],i.form===e.form&&cy(i)}break e;case"textarea":dy(e,l.value,l.defaultValue);break e;case"select":n=l.value,n!=null&&ql(e,!!l.multiple,n,!1)}}}var nf=!1;function yy(e,n,l){if(nf)return e(n,l);nf=!0;try{var i=e(n);return i}finally{if(nf=!1,(Yl!==null||Fl!==null)&&(jo(),Yl&&(n=Yl,e=Fl,Fl=Yl=null,gy(n),e)))for(n=0;n<e.length;n++)gy(e[n])}}function hi(e,n){var l=e.stateNode;if(l===null)return null;var i=l[tn]||null;if(i===null)return null;l=i[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(u(231,n,typeof l));return l}var rf=!1;if(nr)try{var pi={};Object.defineProperty(pi,"passive",{get:function(){rf=!0}}),window.addEventListener("test",pi,pi),window.removeEventListener("test",pi,pi)}catch{rf=!1}var Rr=null,lf=null,no=null;function by(){if(no)return no;var e,n=lf,l=n.length,i,s="value"in Rr?Rr.value:Rr.textContent,d=s.length;for(e=0;e<l&&n[e]===s[e];e++);var y=l-e;for(i=1;i<=y&&n[l-i]===s[d-i];i++);return no=s.slice(e,1<i?1-i:void 0)}function ro(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function lo(){return!0}function Sy(){return!1}function nn(e){function n(l,i,s,d,y){this._reactName=l,this._targetInst=s,this.type=i,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var C in e)e.hasOwnProperty(C)&&(l=e[C],this[C]=l?l(d):d[C]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?lo:Sy,this.isPropagationStopped=Sy,this}return E(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=lo)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=lo)},persist:function(){},isPersistent:lo}),n}var nl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ao=nn(nl),mi=E({},nl,{view:0,detail:0}),m5=nn(mi),af,uf,gi,io=E({},mi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==gi&&(gi&&e.type==="mousemove"?(af=e.screenX-gi.screenX,uf=e.screenY-gi.screenY):uf=af=0,gi=e),af)},movementY:function(e){return"movementY"in e?e.movementY:uf}}),xy=nn(io),g5=E({},io,{dataTransfer:0}),y5=nn(g5),b5=E({},mi,{relatedTarget:0}),of=nn(b5),S5=E({},nl,{animationName:0,elapsedTime:0,pseudoElement:0}),x5=nn(S5),v5=E({},nl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),E5=nn(v5),C5=E({},nl,{data:0}),vy=nn(C5),A5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},w5={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},T5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function k5(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=T5[e])?!!n[e]:!1}function sf(){return k5}var R5=E({},mi,{key:function(e){if(e.key){var n=A5[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=ro(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?w5[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sf,charCode:function(e){return e.type==="keypress"?ro(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ro(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),O5=nn(R5),M5=E({},io,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ey=nn(M5),D5=E({},mi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sf}),B5=nn(D5),z5=E({},nl,{propertyName:0,elapsedTime:0,pseudoElement:0}),N5=nn(z5),L5=E({},io,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),U5=nn(L5),_5=E({},nl,{newState:0,oldState:0}),H5=nn(_5),j5=[9,13,27,32],cf=nr&&"CompositionEvent"in window,yi=null;nr&&"documentMode"in document&&(yi=document.documentMode);var I5=nr&&"TextEvent"in window&&!yi,Cy=nr&&(!cf||yi&&8<yi&&11>=yi),Ay=" ",wy=!1;function Ty(e,n){switch(e){case"keyup":return j5.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ky(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ql=!1;function G5(e,n){switch(e){case"compositionend":return ky(n);case"keypress":return n.which!==32?null:(wy=!0,Ay);case"textInput":return e=n.data,e===Ay&&wy?null:e;default:return null}}function q5(e,n){if(Ql)return e==="compositionend"||!cf&&Ty(e,n)?(e=by(),no=lf=Rr=null,Ql=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Cy&&n.locale!=="ko"?null:n.data;default:return null}}var V5={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 Ry(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!V5[e.type]:n==="textarea"}function Oy(e,n,l,i){Yl?Fl?Fl.push(i):Fl=[i]:Yl=i,n=Yo(n,"onChange"),0<n.length&&(l=new ao("onChange","change",null,l,i),e.push({event:l,listeners:n}))}var bi=null,Si=null;function Y5(e){tb(e,0)}function uo(e){var n=di(e);if(cy(n))return e}function My(e,n){if(e==="change")return n}var Dy=!1;if(nr){var ff;if(nr){var df="oninput"in document;if(!df){var By=document.createElement("div");By.setAttribute("oninput","return;"),df=typeof By.oninput=="function"}ff=df}else ff=!1;Dy=ff&&(!document.documentMode||9<document.documentMode)}function zy(){bi&&(bi.detachEvent("onpropertychange",Ny),Si=bi=null)}function Ny(e){if(e.propertyName==="value"&&uo(Si)){var n=[];Oy(n,Si,e,tf(e)),yy(Y5,n)}}function F5(e,n,l){e==="focusin"?(zy(),bi=n,Si=l,bi.attachEvent("onpropertychange",Ny)):e==="focusout"&&zy()}function Q5(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return uo(Si)}function K5(e,n){if(e==="click")return uo(n)}function X5(e,n){if(e==="input"||e==="change")return uo(n)}function Z5(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var fn=typeof Object.is=="function"?Object.is:Z5;function xi(e,n){if(fn(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var l=Object.keys(e),i=Object.keys(n);if(l.length!==i.length)return!1;for(i=0;i<l.length;i++){var s=l[i];if(!it.call(n,s)||!fn(e[s],n[s]))return!1}return!0}function Ly(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Uy(e,n){var l=Ly(e);e=0;for(var i;l;){if(l.nodeType===3){if(i=e+l.textContent.length,e<=n&&i>=n)return{node:l,offset:n-e};e=i}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Ly(l)}}function _y(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?_y(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Hy(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=eo(e.document);n instanceof e.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)e=n.contentWindow;else break;n=eo(e.document)}return n}function hf(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function J5(e,n){var l=Hy(n);n=e.focusedElem;var i=e.selectionRange;if(l!==n&&n&&n.ownerDocument&&_y(n.ownerDocument.documentElement,n)){if(i!==null&&hf(n)){if(e=i.start,l=i.end,l===void 0&&(l=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(l,n.value.length);else if(l=(e=n.ownerDocument||document)&&e.defaultView||window,l.getSelection){l=l.getSelection();var s=n.textContent.length,d=Math.min(i.start,s);i=i.end===void 0?d:Math.min(i.end,s),!l.extend&&d>i&&(s=i,i=d,d=s),s=Uy(n,d);var y=Uy(n,i);s&&y&&(l.rangeCount!==1||l.anchorNode!==s.node||l.anchorOffset!==s.offset||l.focusNode!==y.node||l.focusOffset!==y.offset)&&(e=e.createRange(),e.setStart(s.node,s.offset),l.removeAllRanges(),d>i?(l.addRange(e),l.extend(y.node,y.offset)):(e.setEnd(y.node,y.offset),l.addRange(e)))}}for(e=[],l=n;l=l.parentNode;)l.nodeType===1&&e.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<e.length;n++)l=e[n],l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}var W5=nr&&"documentMode"in document&&11>=document.documentMode,Kl=null,pf=null,vi=null,mf=!1;function jy(e,n,l){var i=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;mf||Kl==null||Kl!==eo(i)||(i=Kl,"selectionStart"in i&&hf(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),vi&&xi(vi,i)||(vi=i,i=Yo(pf,"onSelect"),0<i.length&&(n=new ao("onSelect","select",null,n,l),e.push({event:n,listeners:i}),n.target=Kl)))}function rl(e,n){var l={};return l[e.toLowerCase()]=n.toLowerCase(),l["Webkit"+e]="webkit"+n,l["Moz"+e]="moz"+n,l}var Xl={animationend:rl("Animation","AnimationEnd"),animationiteration:rl("Animation","AnimationIteration"),animationstart:rl("Animation","AnimationStart"),transitionrun:rl("Transition","TransitionRun"),transitionstart:rl("Transition","TransitionStart"),transitioncancel:rl("Transition","TransitionCancel"),transitionend:rl("Transition","TransitionEnd")},gf={},Iy={};nr&&(Iy=document.createElement("div").style,"AnimationEvent"in window||(delete Xl.animationend.animation,delete Xl.animationiteration.animation,delete Xl.animationstart.animation),"TransitionEvent"in window||delete Xl.transitionend.transition);function ll(e){if(gf[e])return gf[e];if(!Xl[e])return e;var n=Xl[e],l;for(l in n)if(n.hasOwnProperty(l)&&l in Iy)return gf[e]=n[l];return e}var Gy=ll("animationend"),qy=ll("animationiteration"),Vy=ll("animationstart"),P5=ll("transitionrun"),$5=ll("transitionstart"),eR=ll("transitioncancel"),Yy=ll("transitionend"),Fy=new Map,Qy="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 Nn(e,n){Fy.set(e,n),tl(n,[e])}var En=[],Zl=0,yf=0;function oo(){for(var e=Zl,n=yf=Zl=0;n<e;){var l=En[n];En[n++]=null;var i=En[n];En[n++]=null;var s=En[n];En[n++]=null;var d=En[n];if(En[n++]=null,i!==null&&s!==null){var y=i.pending;y===null?s.next=s:(s.next=y.next,y.next=s),i.pending=s}d!==0&&Ky(l,s,d)}}function so(e,n,l,i){En[Zl++]=e,En[Zl++]=n,En[Zl++]=l,En[Zl++]=i,yf|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function bf(e,n,l,i){return so(e,n,l,i),co(e)}function Or(e,n){return so(e,null,null,n),co(e)}function Ky(e,n,l){e.lanes|=l;var i=e.alternate;i!==null&&(i.lanes|=l);for(var s=!1,d=e.return;d!==null;)d.childLanes|=l,i=d.alternate,i!==null&&(i.childLanes|=l),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(s=!0)),e=d,d=d.return;s&&n!==null&&e.tag===3&&(d=e.stateNode,s=31-At(l),d=d.hiddenUpdates,e=d[s],e===null?d[s]=[n]:e.push(n),n.lane=l|536870912)}function co(e){if(50<Qi)throw Qi=0,Ad=null,Error(u(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var Jl={},Xy=new WeakMap;function Cn(e,n){if(typeof e=="object"&&e!==null){var l=Xy.get(e);return l!==void 0?l:(n={value:e,source:n,stack:ae(n)},Xy.set(e,n),n)}return{value:e,source:n,stack:ae(n)}}var Wl=[],Pl=0,fo=null,ho=0,An=[],wn=0,al=null,lr=1,ar="";function il(e,n){Wl[Pl++]=ho,Wl[Pl++]=fo,fo=e,ho=n}function Zy(e,n,l){An[wn++]=lr,An[wn++]=ar,An[wn++]=al,al=e;var i=lr;e=ar;var s=32-At(i)-1;i&=~(1<<s),l+=1;var d=32-At(n)+s;if(30<d){var y=s-s%5;d=(i&(1<<y)-1).toString(32),i>>=y,s-=y,lr=1<<32-At(n)+s|l<<s|i,ar=d+e}else lr=1<<d|l<<s|i,ar=e}function Sf(e){e.return!==null&&(il(e,1),Zy(e,1,0))}function xf(e){for(;e===fo;)fo=Wl[--Pl],Wl[Pl]=null,ho=Wl[--Pl],Wl[Pl]=null;for(;e===al;)al=An[--wn],An[wn]=null,ar=An[--wn],An[wn]=null,lr=An[--wn],An[wn]=null}var Kt=null,jt=null,Qe=!1,Ln=null,Kn=!1,vf=Error(u(519));function ul(e){var n=Error(u(418,""));throw Ai(Cn(n,e)),vf}function Jy(e){var n=e.stateNode,l=e.type,i=e.memoizedProps;switch(n[Ft]=e,n[tn]=i,l){case"dialog":je("cancel",n),je("close",n);break;case"iframe":case"object":case"embed":je("load",n);break;case"video":case"audio":for(l=0;l<Xi.length;l++)je(Xi[l],n);break;case"source":je("error",n);break;case"img":case"image":case"link":je("error",n),je("load",n);break;case"details":je("toggle",n);break;case"input":je("invalid",n),fy(n,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),$u(n);break;case"select":je("invalid",n);break;case"textarea":je("invalid",n),hy(n,i.value,i.defaultValue,i.children),$u(n)}l=i.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||n.textContent===""+l||i.suppressHydrationWarning===!0||ab(n.textContent,l)?(i.popover!=null&&(je("beforetoggle",n),je("toggle",n)),i.onScroll!=null&&je("scroll",n),i.onScrollEnd!=null&&je("scrollend",n),i.onClick!=null&&(n.onclick=Fo),n=!0):n=!1,n||ul(e)}function Wy(e){for(Kt=e.return;Kt;)switch(Kt.tag){case 3:case 27:Kn=!0;return;case 5:case 13:Kn=!1;return;default:Kt=Kt.return}}function Ei(e){if(e!==Kt)return!1;if(!Qe)return Wy(e),Qe=!0,!1;var n=!1,l;if((l=e.tag!==3&&e.tag!==27)&&((l=e.tag===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Gd(e.type,e.memoizedProps)),l=!l),l&&(n=!0),n&&jt&&ul(e),Wy(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8)if(l=e.data,l==="/$"){if(n===0){jt=_n(e.nextSibling);break e}n--}else l!=="$"&&l!=="$!"&&l!=="$?"||n++;e=e.nextSibling}jt=null}}else jt=Kt?_n(e.stateNode.nextSibling):null;return!0}function Ci(){jt=Kt=null,Qe=!1}function Ai(e){Ln===null?Ln=[e]:Ln.push(e)}var wi=Error(u(460)),Py=Error(u(474)),Ef={then:function(){}};function $y(e){return e=e.status,e==="fulfilled"||e==="rejected"}function po(){}function e0(e,n,l){switch(l=e[l],l===void 0?e.push(n):l!==n&&(n.then(po,po),n=l),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,e===wi?Error(u(483)):e;default:if(typeof n.status=="string")n.then(po,po);else{if(e=ut,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=n,e.status="pending",e.then(function(i){if(n.status==="pending"){var s=n;s.status="fulfilled",s.value=i}},function(i){if(n.status==="pending"){var s=n;s.status="rejected",s.reason=i}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,e===wi?Error(u(483)):e}throw Ti=n,wi}}var Ti=null;function t0(){if(Ti===null)throw Error(u(459));var e=Ti;return Ti=null,e}var $l=null,ki=0;function mo(e){var n=ki;return ki+=1,$l===null&&($l=[]),e0($l,e,n)}function Ri(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function go(e,n){throw n.$$typeof===c?Error(u(525)):(e=Object.prototype.toString.call(n),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function n0(e){var n=e._init;return n(e._payload)}function r0(e){function n(L,B){if(e){var I=L.deletions;I===null?(L.deletions=[B],L.flags|=16):I.push(B)}}function l(L,B){if(!e)return null;for(;B!==null;)n(L,B),B=B.sibling;return null}function i(L){for(var B=new Map;L!==null;)L.key!==null?B.set(L.key,L):B.set(L.index,L),L=L.sibling;return B}function s(L,B){return L=Gr(L,B),L.index=0,L.sibling=null,L}function d(L,B,I){return L.index=I,e?(I=L.alternate,I!==null?(I=I.index,I<B?(L.flags|=33554434,B):I):(L.flags|=33554434,B)):(L.flags|=1048576,B)}function y(L){return e&&L.alternate===null&&(L.flags|=33554434),L}function C(L,B,I,W){return B===null||B.tag!==6?(B=gd(I,L.mode,W),B.return=L,B):(B=s(B,I),B.return=L,B)}function R(L,B,I,W){var he=I.type;return he===m?X(L,B,I.props.children,W,I.key):B!==null&&(B.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===N&&n0(he)===B.type)?(B=s(B,I.props),Ri(B,I),B.return=L,B):(B=No(I.type,I.key,I.props,null,L.mode,W),Ri(B,I),B.return=L,B)}function z(L,B,I,W){return B===null||B.tag!==4||B.stateNode.containerInfo!==I.containerInfo||B.stateNode.implementation!==I.implementation?(B=yd(I,L.mode,W),B.return=L,B):(B=s(B,I.children||[]),B.return=L,B)}function X(L,B,I,W,he){return B===null||B.tag!==7?(B=yl(I,L.mode,W,he),B.return=L,B):(B=s(B,I),B.return=L,B)}function ee(L,B,I){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return B=gd(""+B,L.mode,I),B.return=L,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case f:return I=No(B.type,B.key,B.props,null,L.mode,I),Ri(I,B),I.return=L,I;case h:return B=yd(B,L.mode,I),B.return=L,B;case N:var W=B._init;return B=W(B._payload),ee(L,B,I)}if(w(B)||D(B))return B=yl(B,L.mode,I,null),B.return=L,B;if(typeof B.then=="function")return ee(L,mo(B),I);if(B.$$typeof===x)return ee(L,Do(L,B),I);go(L,B)}return null}function G(L,B,I,W){var he=B!==null?B.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return he!==null?null:C(L,B,""+I,W);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case f:return I.key===he?R(L,B,I,W):null;case h:return I.key===he?z(L,B,I,W):null;case N:return he=I._init,I=he(I._payload),G(L,B,I,W)}if(w(I)||D(I))return he!==null?null:X(L,B,I,W,null);if(typeof I.then=="function")return G(L,B,mo(I),W);if(I.$$typeof===x)return G(L,B,Do(L,I),W);go(L,I)}return null}function K(L,B,I,W,he){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return L=L.get(I)||null,C(B,L,""+W,he);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case f:return L=L.get(W.key===null?I:W.key)||null,R(B,L,W,he);case h:return L=L.get(W.key===null?I:W.key)||null,z(B,L,W,he);case N:var ze=W._init;return W=ze(W._payload),K(L,B,I,W,he)}if(w(W)||D(W))return L=L.get(I)||null,X(B,L,W,he,null);if(typeof W.then=="function")return K(L,B,I,mo(W),he);if(W.$$typeof===x)return K(L,B,I,Do(B,W),he);go(B,W)}return null}function me(L,B,I,W){for(var he=null,ze=null,Se=B,ve=B=0,Ut=null;Se!==null&&ve<I.length;ve++){Se.index>ve?(Ut=Se,Se=null):Ut=Se.sibling;var Ke=G(L,Se,I[ve],W);if(Ke===null){Se===null&&(Se=Ut);break}e&&Se&&Ke.alternate===null&&n(L,Se),B=d(Ke,B,ve),ze===null?he=Ke:ze.sibling=Ke,ze=Ke,Se=Ut}if(ve===I.length)return l(L,Se),Qe&&il(L,ve),he;if(Se===null){for(;ve<I.length;ve++)Se=ee(L,I[ve],W),Se!==null&&(B=d(Se,B,ve),ze===null?he=Se:ze.sibling=Se,ze=Se);return Qe&&il(L,ve),he}for(Se=i(Se);ve<I.length;ve++)Ut=K(Se,L,ve,I[ve],W),Ut!==null&&(e&&Ut.alternate!==null&&Se.delete(Ut.key===null?ve:Ut.key),B=d(Ut,B,ve),ze===null?he=Ut:ze.sibling=Ut,ze=Ut);return e&&Se.forEach(function(Xr){return n(L,Xr)}),Qe&&il(L,ve),he}function we(L,B,I,W){if(I==null)throw Error(u(151));for(var he=null,ze=null,Se=B,ve=B=0,Ut=null,Ke=I.next();Se!==null&&!Ke.done;ve++,Ke=I.next()){Se.index>ve?(Ut=Se,Se=null):Ut=Se.sibling;var Xr=G(L,Se,Ke.value,W);if(Xr===null){Se===null&&(Se=Ut);break}e&&Se&&Xr.alternate===null&&n(L,Se),B=d(Xr,B,ve),ze===null?he=Xr:ze.sibling=Xr,ze=Xr,Se=Ut}if(Ke.done)return l(L,Se),Qe&&il(L,ve),he;if(Se===null){for(;!Ke.done;ve++,Ke=I.next())Ke=ee(L,Ke.value,W),Ke!==null&&(B=d(Ke,B,ve),ze===null?he=Ke:ze.sibling=Ke,ze=Ke);return Qe&&il(L,ve),he}for(Se=i(Se);!Ke.done;ve++,Ke=I.next())Ke=K(Se,L,ve,Ke.value,W),Ke!==null&&(e&&Ke.alternate!==null&&Se.delete(Ke.key===null?ve:Ke.key),B=d(Ke,B,ve),ze===null?he=Ke:ze.sibling=Ke,ze=Ke);return e&&Se.forEach(function(p4){return n(L,p4)}),Qe&&il(L,ve),he}function yt(L,B,I,W){if(typeof I=="object"&&I!==null&&I.type===m&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case f:e:{for(var he=I.key;B!==null;){if(B.key===he){if(he=I.type,he===m){if(B.tag===7){l(L,B.sibling),W=s(B,I.props.children),W.return=L,L=W;break e}}else if(B.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===N&&n0(he)===B.type){l(L,B.sibling),W=s(B,I.props),Ri(W,I),W.return=L,L=W;break e}l(L,B);break}else n(L,B);B=B.sibling}I.type===m?(W=yl(I.props.children,L.mode,W,I.key),W.return=L,L=W):(W=No(I.type,I.key,I.props,null,L.mode,W),Ri(W,I),W.return=L,L=W)}return y(L);case h:e:{for(he=I.key;B!==null;){if(B.key===he)if(B.tag===4&&B.stateNode.containerInfo===I.containerInfo&&B.stateNode.implementation===I.implementation){l(L,B.sibling),W=s(B,I.children||[]),W.return=L,L=W;break e}else{l(L,B);break}else n(L,B);B=B.sibling}W=yd(I,L.mode,W),W.return=L,L=W}return y(L);case N:return he=I._init,I=he(I._payload),yt(L,B,I,W)}if(w(I))return me(L,B,I,W);if(D(I)){if(he=D(I),typeof he!="function")throw Error(u(150));return I=he.call(I),we(L,B,I,W)}if(typeof I.then=="function")return yt(L,B,mo(I),W);if(I.$$typeof===x)return yt(L,B,Do(L,I),W);go(L,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,B!==null&&B.tag===6?(l(L,B.sibling),W=s(B,I),W.return=L,L=W):(l(L,B),W=gd(I,L.mode,W),W.return=L,L=W),y(L)):l(L,B)}return function(L,B,I,W){try{ki=0;var he=yt(L,B,I,W);return $l=null,he}catch(Se){if(Se===wi)throw Se;var ze=On(29,Se,null,L.mode);return ze.lanes=W,ze.return=L,ze}finally{}}}var ol=r0(!0),l0=r0(!1),ea=Ee(null),yo=Ee(0);function a0(e,n){e=gr,fe(yo,e),fe(ea,n),gr=e|n.baseLanes}function Cf(){fe(yo,gr),fe(ea,ea.current)}function Af(){gr=yo.current,Re(ea),Re(yo)}var Tn=Ee(null),Xn=null;function Mr(e){var n=e.alternate;fe(Ot,Ot.current&1),fe(Tn,e),Xn===null&&(n===null||ea.current!==null||n.memoizedState!==null)&&(Xn=e)}function i0(e){if(e.tag===22){if(fe(Ot,Ot.current),fe(Tn,e),Xn===null){var n=e.alternate;n!==null&&n.memoizedState!==null&&(Xn=e)}}else Dr()}function Dr(){fe(Ot,Ot.current),fe(Tn,Tn.current)}function ir(e){Re(Tn),Xn===e&&(Xn=null),Re(Ot)}var Ot=Ee(0);function bo(e){for(var n=e;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var tR=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(l,i){e.push(i)}};this.abort=function(){n.aborted=!0,e.forEach(function(l){return l()})}},nR=t.unstable_scheduleCallback,rR=t.unstable_NormalPriority,Mt={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wf(){return{controller:new tR,data:new Map,refCount:0}}function Oi(e){e.refCount--,e.refCount===0&&nR(rR,function(){e.controller.abort()})}var Mi=null,Tf=0,ta=0,na=null;function lR(e,n){if(Mi===null){var l=Mi=[];Tf=0,ta=Bd(),na={status:"pending",value:void 0,then:function(i){l.push(i)}}}return Tf++,n.then(u0,u0),n}function u0(){if(--Tf===0&&Mi!==null){na!==null&&(na.status="fulfilled");var e=Mi;Mi=null,ta=0,na=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function aR(e,n){var l=[],i={status:"pending",value:null,reason:null,then:function(s){l.push(s)}};return e.then(function(){i.status="fulfilled",i.value=n;for(var s=0;s<l.length;s++)(0,l[s])(n)},function(s){for(i.status="rejected",i.reason=s,s=0;s<l.length;s++)(0,l[s])(void 0)}),i}var o0=V.S;V.S=function(e,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&lR(e,n),o0!==null&&o0(e,n)};var sl=Ee(null);function kf(){var e=sl.current;return e!==null?e:ut.pooledCache}function So(e,n){n===null?fe(sl,sl.current):fe(sl,n.pool)}function s0(){var e=kf();return e===null?null:{parent:Mt._currentValue,pool:e}}var Br=0,Oe=null,$e=null,wt=null,xo=!1,ra=!1,cl=!1,vo=0,Di=0,la=null,iR=0;function xt(){throw Error(u(321))}function Rf(e,n){if(n===null)return!1;for(var l=0;l<n.length&&l<e.length;l++)if(!fn(e[l],n[l]))return!1;return!0}function Of(e,n,l,i,s,d){return Br=d,Oe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,V.H=e===null||e.memoizedState===null?fl:zr,cl=!1,d=l(i,s),cl=!1,ra&&(d=f0(n,l,i,s)),c0(e),d}function c0(e){V.H=Zn;var n=$e!==null&&$e.next!==null;if(Br=0,wt=$e=Oe=null,xo=!1,Di=0,la=null,n)throw Error(u(300));e===null||Nt||(e=e.dependencies,e!==null&&Mo(e)&&(Nt=!0))}function f0(e,n,l,i){Oe=e;var s=0;do{if(ra&&(la=null),Di=0,ra=!1,25<=s)throw Error(u(301));if(s+=1,wt=$e=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}V.H=dl,d=n(l,i)}while(ra);return d}function uR(){var e=V.H,n=e.useState()[0];return n=typeof n.then=="function"?Bi(n):n,e=e.useState()[0],($e!==null?$e.memoizedState:null)!==e&&(Oe.flags|=1024),n}function Mf(){var e=vo!==0;return vo=0,e}function Df(e,n,l){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l}function Bf(e){if(xo){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}xo=!1}Br=0,wt=$e=Oe=null,ra=!1,Di=vo=0,la=null}function rn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wt===null?Oe.memoizedState=wt=e:wt=wt.next=e,wt}function Tt(){if($e===null){var e=Oe.alternate;e=e!==null?e.memoizedState:null}else e=$e.next;var n=wt===null?Oe.memoizedState:wt.next;if(n!==null)wt=n,$e=e;else{if(e===null)throw Oe.alternate===null?Error(u(467)):Error(u(310));$e=e,e={memoizedState:$e.memoizedState,baseState:$e.baseState,baseQueue:$e.baseQueue,queue:$e.queue,next:null},wt===null?Oe.memoizedState=wt=e:wt=wt.next=e}return wt}var Eo;Eo=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function Bi(e){var n=Di;return Di+=1,la===null&&(la=[]),e=e0(la,e,n),n=Oe,(wt===null?n.memoizedState:wt.next)===null&&(n=n.alternate,V.H=n===null||n.memoizedState===null?fl:zr),e}function Co(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bi(e);if(e.$$typeof===x)return Qt(e)}throw Error(u(438,String(e)))}function zf(e){var n=null,l=Oe.updateQueue;if(l!==null&&(n=l.memoCache),n==null){var i=Oe.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(n={data:i.data.map(function(s){return s.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),l===null&&(l=Eo(),Oe.updateQueue=l),l.memoCache=n,l=n.data[n.index],l===void 0)for(l=n.data[n.index]=Array(e),i=0;i<e;i++)l[i]=_;return n.index++,l}function ur(e,n){return typeof n=="function"?n(e):n}function Ao(e){var n=Tt();return Nf(n,$e,e)}function Nf(e,n,l){var i=e.queue;if(i===null)throw Error(u(311));i.lastRenderedReducer=l;var s=e.baseQueue,d=i.pending;if(d!==null){if(s!==null){var y=s.next;s.next=d.next,d.next=y}n.baseQueue=s=d,i.pending=null}if(d=e.baseState,s===null)e.memoizedState=d;else{n=s.next;var C=y=null,R=null,z=n,X=!1;do{var ee=z.lane&-536870913;if(ee!==z.lane?(qe&ee)===ee:(Br&ee)===ee){var G=z.revertLane;if(G===0)R!==null&&(R=R.next={lane:0,revertLane:0,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),ee===ta&&(X=!0);else if((Br&G)===G){z=z.next,G===ta&&(X=!0);continue}else ee={lane:0,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},R===null?(C=R=ee,y=d):R=R.next=ee,Oe.lanes|=G,qr|=G;ee=z.action,cl&&l(d,ee),d=z.hasEagerState?z.eagerState:l(d,ee)}else G={lane:ee,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},R===null?(C=R=G,y=d):R=R.next=G,Oe.lanes|=ee,qr|=ee;z=z.next}while(z!==null&&z!==n);if(R===null?y=d:R.next=C,!fn(d,e.memoizedState)&&(Nt=!0,X&&(l=na,l!==null)))throw l;e.memoizedState=d,e.baseState=y,e.baseQueue=R,i.lastRenderedState=d}return s===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Lf(e){var n=Tt(),l=n.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=e;var i=l.dispatch,s=l.pending,d=n.memoizedState;if(s!==null){l.pending=null;var y=s=s.next;do d=e(d,y.action),y=y.next;while(y!==s);fn(d,n.memoizedState)||(Nt=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),l.lastRenderedState=d}return[d,i]}function d0(e,n,l){var i=Oe,s=Tt(),d=Qe;if(d){if(l===void 0)throw Error(u(407));l=l()}else l=n();var y=!fn(($e||s).memoizedState,l);if(y&&(s.memoizedState=l,Nt=!0),s=s.queue,Hf(m0.bind(null,i,s,e),[e]),s.getSnapshot!==n||y||wt!==null&&wt.memoizedState.tag&1){if(i.flags|=2048,aa(9,p0.bind(null,i,s,l,n),{destroy:void 0},null),ut===null)throw Error(u(349));d||Br&60||h0(i,n,l)}return l}function h0(e,n,l){e.flags|=16384,e={getSnapshot:n,value:l},n=Oe.updateQueue,n===null?(n=Eo(),Oe.updateQueue=n,n.stores=[e]):(l=n.stores,l===null?n.stores=[e]:l.push(e))}function p0(e,n,l,i){n.value=l,n.getSnapshot=i,g0(n)&&y0(e)}function m0(e,n,l){return l(function(){g0(n)&&y0(e)})}function g0(e){var n=e.getSnapshot;e=e.value;try{var l=n();return!fn(e,l)}catch{return!0}}function y0(e){var n=Or(e,2);n!==null&&Xt(n,e,2)}function Uf(e){var n=rn();if(typeof e=="function"){var l=e;if(e=l(),cl){pt(!0);try{l()}finally{pt(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ur,lastRenderedState:e},n}function b0(e,n,l,i){return e.baseState=l,Nf(e,$e,typeof i=="function"?i:ur)}function oR(e,n,l,i,s){if(ko(e))throw Error(u(485));if(e=n.action,e!==null){var d={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){d.listeners.push(y)}};V.T!==null?l(!0):d.isTransition=!1,i(d),l=n.pending,l===null?(d.next=n.pending=d,S0(n,d)):(d.next=l.next,n.pending=l.next=d)}}function S0(e,n){var l=n.action,i=n.payload,s=e.state;if(n.isTransition){var d=V.T,y={};V.T=y;try{var C=l(s,i),R=V.S;R!==null&&R(y,C),x0(e,n,C)}catch(z){_f(e,n,z)}finally{V.T=d}}else try{d=l(s,i),x0(e,n,d)}catch(z){_f(e,n,z)}}function x0(e,n,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(i){v0(e,n,i)},function(i){return _f(e,n,i)}):v0(e,n,l)}function v0(e,n,l){n.status="fulfilled",n.value=l,E0(n),e.state=l,n=e.pending,n!==null&&(l=n.next,l===n?e.pending=null:(l=l.next,n.next=l,S0(e,l)))}function _f(e,n,l){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do n.status="rejected",n.reason=l,E0(n),n=n.next;while(n!==i)}e.action=null}function E0(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function C0(e,n){return n}function A0(e,n){if(Qe){var l=ut.formState;if(l!==null){e:{var i=Oe;if(Qe){if(jt){t:{for(var s=jt,d=Kn;s.nodeType!==8;){if(!d){s=null;break t}if(s=_n(s.nextSibling),s===null){s=null;break t}}d=s.data,s=d==="F!"||d==="F"?s:null}if(s){jt=_n(s.nextSibling),i=s.data==="F!";break e}}ul(i)}i=!1}i&&(n=l[0])}}return l=rn(),l.memoizedState=l.baseState=n,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:C0,lastRenderedState:n},l.queue=i,l=q0.bind(null,Oe,i),i.dispatch=l,i=Uf(!1),d=Vf.bind(null,Oe,!1,i.queue),i=rn(),s={state:n,dispatch:null,action:e,pending:null},i.queue=s,l=oR.bind(null,Oe,s,d,l),s.dispatch=l,i.memoizedState=e,[n,l,!1]}function w0(e){var n=Tt();return T0(n,$e,e)}function T0(e,n,l){n=Nf(e,n,C0)[0],e=Ao(ur)[0],n=typeof n=="object"&&n!==null&&typeof n.then=="function"?Bi(n):n;var i=Tt(),s=i.queue,d=s.dispatch;return l!==i.memoizedState&&(Oe.flags|=2048,aa(9,sR.bind(null,s,l),{destroy:void 0},null)),[n,d,e]}function sR(e,n){e.action=n}function k0(e){var n=Tt(),l=$e;if(l!==null)return T0(n,l,e);Tt(),n=n.memoizedState,l=Tt();var i=l.queue.dispatch;return l.memoizedState=e,[n,i,!1]}function aa(e,n,l,i){return e={tag:e,create:n,inst:l,deps:i,next:null},n=Oe.updateQueue,n===null&&(n=Eo(),Oe.updateQueue=n),l=n.lastEffect,l===null?n.lastEffect=e.next=e:(i=l.next,l.next=e,e.next=i,n.lastEffect=e),e}function R0(){return Tt().memoizedState}function wo(e,n,l,i){var s=rn();Oe.flags|=e,s.memoizedState=aa(1|n,l,{destroy:void 0},i===void 0?null:i)}function To(e,n,l,i){var s=Tt();i=i===void 0?null:i;var d=s.memoizedState.inst;$e!==null&&i!==null&&Rf(i,$e.memoizedState.deps)?s.memoizedState=aa(n,l,d,i):(Oe.flags|=e,s.memoizedState=aa(1|n,l,d,i))}function O0(e,n){wo(8390656,8,e,n)}function Hf(e,n){To(2048,8,e,n)}function M0(e,n){return To(4,2,e,n)}function D0(e,n){return To(4,4,e,n)}function B0(e,n){if(typeof n=="function"){e=e();var l=n(e);return function(){typeof l=="function"?l():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function z0(e,n,l){l=l!=null?l.concat([e]):null,To(4,4,B0.bind(null,n,e),l)}function jf(){}function N0(e,n){var l=Tt();n=n===void 0?null:n;var i=l.memoizedState;return n!==null&&Rf(n,i[1])?i[0]:(l.memoizedState=[e,n],e)}function L0(e,n){var l=Tt();n=n===void 0?null:n;var i=l.memoizedState;if(n!==null&&Rf(n,i[1]))return i[0];if(i=e(),cl){pt(!0);try{e()}finally{pt(!1)}}return l.memoizedState=[i,n],i}function If(e,n,l){return l===void 0||Br&1073741824?e.memoizedState=n:(e.memoizedState=l,e=_1(),Oe.lanes|=e,qr|=e,l)}function U0(e,n,l,i){return fn(l,n)?l:ea.current!==null?(e=If(e,l,i),fn(e,n)||(Nt=!0),e):Br&42?(e=_1(),Oe.lanes|=e,qr|=e,n):(Nt=!0,e.memoizedState=l)}function _0(e,n,l,i,s){var d=le.p;le.p=d!==0&&8>d?d:8;var y=V.T,C={};V.T=C,Vf(e,!1,n,l);try{var R=s(),z=V.S;if(z!==null&&z(C,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var X=aR(R,i);zi(e,n,X,mn(e))}else zi(e,n,i,mn(e))}catch(ee){zi(e,n,{then:function(){},status:"rejected",reason:ee},mn())}finally{le.p=d,V.T=y}}function cR(){}function Gf(e,n,l,i){if(e.tag!==5)throw Error(u(476));var s=H0(e).queue;_0(e,s,n,ye,l===null?cR:function(){return j0(e),l(i)})}function H0(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:ye,baseState:ye,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ur,lastRenderedState:ye},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ur,lastRenderedState:l},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function j0(e){var n=H0(e).next.queue;zi(e,n,{},mn())}function qf(){return Qt($i)}function I0(){return Tt().memoizedState}function G0(){return Tt().memoizedState}function fR(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var l=mn();e=Ur(l);var i=_r(n,e,l);i!==null&&(Xt(i,n,l),Ui(i,n,l)),n={cache:wf()},e.payload=n;return}n=n.return}}function dR(e,n,l){var i=mn();l={lane:i,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},ko(e)?V0(n,l):(l=bf(e,n,l,i),l!==null&&(Xt(l,e,i),Y0(l,n,i)))}function q0(e,n,l){var i=mn();zi(e,n,l,i)}function zi(e,n,l,i){var s={lane:i,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(ko(e))V0(n,s);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var y=n.lastRenderedState,C=d(y,l);if(s.hasEagerState=!0,s.eagerState=C,fn(C,y))return so(e,n,s,0),ut===null&&oo(),!1}catch{}finally{}if(l=bf(e,n,s,i),l!==null)return Xt(l,e,i),Y0(l,n,i),!0}return!1}function Vf(e,n,l,i){if(i={lane:2,revertLane:Bd(),action:i,hasEagerState:!1,eagerState:null,next:null},ko(e)){if(n)throw Error(u(479))}else n=bf(e,l,i,2),n!==null&&Xt(n,e,2)}function ko(e){var n=e.alternate;return e===Oe||n!==null&&n===Oe}function V0(e,n){ra=xo=!0;var l=e.pending;l===null?n.next=n:(n.next=l.next,l.next=n),e.pending=n}function Y0(e,n,l){if(l&4194176){var i=n.lanes;i&=e.pendingLanes,l|=i,n.lanes=l,ty(e,l)}}var Zn={readContext:Qt,use:Co,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useLayoutEffect:xt,useInsertionEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useSyncExternalStore:xt,useId:xt};Zn.useCacheRefresh=xt,Zn.useMemoCache=xt,Zn.useHostTransitionStatus=xt,Zn.useFormState=xt,Zn.useActionState=xt,Zn.useOptimistic=xt;var fl={readContext:Qt,use:Co,useCallback:function(e,n){return rn().memoizedState=[e,n===void 0?null:n],e},useContext:Qt,useEffect:O0,useImperativeHandle:function(e,n,l){l=l!=null?l.concat([e]):null,wo(4194308,4,B0.bind(null,n,e),l)},useLayoutEffect:function(e,n){return wo(4194308,4,e,n)},useInsertionEffect:function(e,n){wo(4,2,e,n)},useMemo:function(e,n){var l=rn();n=n===void 0?null:n;var i=e();if(cl){pt(!0);try{e()}finally{pt(!1)}}return l.memoizedState=[i,n],i},useReducer:function(e,n,l){var i=rn();if(l!==void 0){var s=l(n);if(cl){pt(!0);try{l(n)}finally{pt(!1)}}}else s=n;return i.memoizedState=i.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},i.queue=e,e=e.dispatch=dR.bind(null,Oe,e),[i.memoizedState,e]},useRef:function(e){var n=rn();return e={current:e},n.memoizedState=e},useState:function(e){e=Uf(e);var n=e.queue,l=q0.bind(null,Oe,n);return n.dispatch=l,[e.memoizedState,l]},useDebugValue:jf,useDeferredValue:function(e,n){var l=rn();return If(l,e,n)},useTransition:function(){var e=Uf(!1);return e=_0.bind(null,Oe,e.queue,!0,!1),rn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,l){var i=Oe,s=rn();if(Qe){if(l===void 0)throw Error(u(407));l=l()}else{if(l=n(),ut===null)throw Error(u(349));qe&60||h0(i,n,l)}s.memoizedState=l;var d={value:l,getSnapshot:n};return s.queue=d,O0(m0.bind(null,i,d,e),[e]),i.flags|=2048,aa(9,p0.bind(null,i,d,l,n),{destroy:void 0},null),l},useId:function(){var e=rn(),n=ut.identifierPrefix;if(Qe){var l=ar,i=lr;l=(i&~(1<<32-At(i)-1)).toString(32)+l,n=":"+n+"R"+l,l=vo++,0<l&&(n+="H"+l.toString(32)),n+=":"}else l=iR++,n=":"+n+"r"+l.toString(32)+":";return e.memoizedState=n},useCacheRefresh:function(){return rn().memoizedState=fR.bind(null,Oe)}};fl.useMemoCache=zf,fl.useHostTransitionStatus=qf,fl.useFormState=A0,fl.useActionState=A0,fl.useOptimistic=function(e){var n=rn();n.memoizedState=n.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=l,n=Vf.bind(null,Oe,!0,l),l.dispatch=n,[e,n]};var zr={readContext:Qt,use:Co,useCallback:N0,useContext:Qt,useEffect:Hf,useImperativeHandle:z0,useInsertionEffect:M0,useLayoutEffect:D0,useMemo:L0,useReducer:Ao,useRef:R0,useState:function(){return Ao(ur)},useDebugValue:jf,useDeferredValue:function(e,n){var l=Tt();return U0(l,$e.memoizedState,e,n)},useTransition:function(){var e=Ao(ur)[0],n=Tt().memoizedState;return[typeof e=="boolean"?e:Bi(e),n]},useSyncExternalStore:d0,useId:I0};zr.useCacheRefresh=G0,zr.useMemoCache=zf,zr.useHostTransitionStatus=qf,zr.useFormState=w0,zr.useActionState=w0,zr.useOptimistic=function(e,n){var l=Tt();return b0(l,$e,e,n)};var dl={readContext:Qt,use:Co,useCallback:N0,useContext:Qt,useEffect:Hf,useImperativeHandle:z0,useInsertionEffect:M0,useLayoutEffect:D0,useMemo:L0,useReducer:Lf,useRef:R0,useState:function(){return Lf(ur)},useDebugValue:jf,useDeferredValue:function(e,n){var l=Tt();return $e===null?If(l,e,n):U0(l,$e.memoizedState,e,n)},useTransition:function(){var e=Lf(ur)[0],n=Tt().memoizedState;return[typeof e=="boolean"?e:Bi(e),n]},useSyncExternalStore:d0,useId:I0};dl.useCacheRefresh=G0,dl.useMemoCache=zf,dl.useHostTransitionStatus=qf,dl.useFormState=k0,dl.useActionState=k0,dl.useOptimistic=function(e,n){var l=Tt();return $e!==null?b0(l,$e,e,n):(l.baseState=e,[e,l.queue.dispatch])};function Yf(e,n,l,i){n=e.memoizedState,l=l(i,n),l=l==null?n:E({},n,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Ff={isMounted:function(e){return(e=e._reactInternals)?ie(e)===e:!1},enqueueSetState:function(e,n,l){e=e._reactInternals;var i=mn(),s=Ur(i);s.payload=n,l!=null&&(s.callback=l),n=_r(e,s,i),n!==null&&(Xt(n,e,i),Ui(n,e,i))},enqueueReplaceState:function(e,n,l){e=e._reactInternals;var i=mn(),s=Ur(i);s.tag=1,s.payload=n,l!=null&&(s.callback=l),n=_r(e,s,i),n!==null&&(Xt(n,e,i),Ui(n,e,i))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var l=mn(),i=Ur(l);i.tag=2,n!=null&&(i.callback=n),n=_r(e,i,l),n!==null&&(Xt(n,e,l),Ui(n,e,l))}};function F0(e,n,l,i,s,d,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,d,y):n.prototype&&n.prototype.isPureReactComponent?!xi(l,i)||!xi(s,d):!0}function Q0(e,n,l,i){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,i),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,i),n.state!==e&&Ff.enqueueReplaceState(n,n.state,null)}function hl(e,n){var l=n;if("ref"in n){l={};for(var i in n)i!=="ref"&&(l[i]=n[i])}if(e=e.defaultProps){l===n&&(l=E({},l));for(var s in e)l[s]===void 0&&(l[s]=e[s])}return l}var Ro=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function K0(e){Ro(e)}function X0(e){console.error(e)}function Z0(e){Ro(e)}function Oo(e,n){try{var l=e.onUncaughtError;l(n.value,{componentStack:n.stack})}catch(i){setTimeout(function(){throw i})}}function J0(e,n,l){try{var i=e.onCaughtError;i(l.value,{componentStack:l.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Qf(e,n,l){return l=Ur(l),l.tag=3,l.payload={element:null},l.callback=function(){Oo(e,n)},l}function W0(e){return e=Ur(e),e.tag=3,e}function P0(e,n,l,i){var s=l.type.getDerivedStateFromError;if(typeof s=="function"){var d=i.value;e.payload=function(){return s(d)},e.callback=function(){J0(n,l,i)}}var y=l.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){J0(n,l,i),typeof s!="function"&&(Vr===null?Vr=new Set([this]):Vr.add(this));var C=i.stack;this.componentDidCatch(i.value,{componentStack:C!==null?C:""})})}function hR(e,n,l,i,s){if(l.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(n=l.alternate,n!==null&&Li(n,l,s,!0),l=Tn.current,l!==null){switch(l.tag){case 13:return Xn===null?kd():l.alternate===null&&gt===0&&(gt=3),l.flags&=-257,l.flags|=65536,l.lanes=s,i===Ef?l.flags|=16384:(n=l.updateQueue,n===null?l.updateQueue=new Set([i]):n.add(i),Od(e,i,s)),!1;case 22:return l.flags|=65536,i===Ef?l.flags|=16384:(n=l.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([i])},l.updateQueue=n):(l=n.retryQueue,l===null?n.retryQueue=new Set([i]):l.add(i)),Od(e,i,s)),!1}throw Error(u(435,l.tag))}return Od(e,i,s),kd(),!1}if(Qe)return n=Tn.current,n!==null?(!(n.flags&65536)&&(n.flags|=256),n.flags|=65536,n.lanes=s,i!==vf&&(e=Error(u(422),{cause:i}),Ai(Cn(e,l)))):(i!==vf&&(n=Error(u(423),{cause:i}),Ai(Cn(n,l))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,i=Cn(i,l),s=Qf(e.stateNode,i,s),ud(e,s),gt!==4&&(gt=2)),!1;var d=Error(u(520),{cause:i});if(d=Cn(d,l),Yi===null?Yi=[d]:Yi.push(d),gt!==4&&(gt=2),n===null)return!0;i=Cn(i,l),l=n;do{switch(l.tag){case 3:return l.flags|=65536,e=s&-s,l.lanes|=e,e=Qf(l.stateNode,i,e),ud(l,e),!1;case 1:if(n=l.type,d=l.stateNode,(l.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Vr===null||!Vr.has(d))))return l.flags|=65536,s&=-s,l.lanes|=s,s=W0(s),P0(s,e,l,i),ud(l,s),!1}l=l.return}while(l!==null);return!1}var $0=Error(u(461)),Nt=!1;function It(e,n,l,i){n.child=e===null?l0(n,null,l,i):ol(n,e.child,l,i)}function e1(e,n,l,i,s){l=l.render;var d=n.ref;if("ref"in i){var y={};for(var C in i)C!=="ref"&&(y[C]=i[C])}else y=i;return ml(n),i=Of(e,n,l,y,d,s),C=Mf(),e!==null&&!Nt?(Df(e,n,s),or(e,n,s)):(Qe&&C&&Sf(n),n.flags|=1,It(e,n,i,s),n.child)}function t1(e,n,l,i,s){if(e===null){var d=l.type;return typeof d=="function"&&!md(d)&&d.defaultProps===void 0&&l.compare===null?(n.tag=15,n.type=d,n1(e,n,d,i,s)):(e=No(l.type,null,i,n,n.mode,s),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!td(e,s)){var y=d.memoizedProps;if(l=l.compare,l=l!==null?l:xi,l(y,i)&&e.ref===n.ref)return or(e,n,s)}return n.flags|=1,e=Gr(d,i),e.ref=n.ref,e.return=n,n.child=e}function n1(e,n,l,i,s){if(e!==null){var d=e.memoizedProps;if(xi(d,i)&&e.ref===n.ref)if(Nt=!1,n.pendingProps=i=d,td(e,s))e.flags&131072&&(Nt=!0);else return n.lanes=e.lanes,or(e,n,s)}return Kf(e,n,l,i,s)}function r1(e,n,l){var i=n.pendingProps,s=i.children,d=(n.stateNode._pendingVisibility&2)!==0,y=e!==null?e.memoizedState:null;if(Ni(e,n),i.mode==="hidden"||d){if(n.flags&128){if(i=y!==null?y.baseLanes|l:l,e!==null){for(s=n.child=e.child,d=0;s!==null;)d=d|s.lanes|s.childLanes,s=s.sibling;n.childLanes=d&~i}else n.childLanes=0,n.child=null;return l1(e,n,i,l)}if(l&536870912)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&So(n,y!==null?y.cachePool:null),y!==null?a0(n,y):Cf(),i0(n);else return n.lanes=n.childLanes=536870912,l1(e,n,y!==null?y.baseLanes|l:l,l)}else y!==null?(So(n,y.cachePool),a0(n,y),Dr(),n.memoizedState=null):(e!==null&&So(n,null),Cf(),Dr());return It(e,n,s,l),n.child}function l1(e,n,l,i){var s=kf();return s=s===null?null:{parent:Mt._currentValue,pool:s},n.memoizedState={baseLanes:l,cachePool:s},e!==null&&So(n,null),Cf(),i0(n),e!==null&&Li(e,n,i,!0),null}function Ni(e,n){var l=n.ref;if(l===null)e!==null&&e.ref!==null&&(n.flags|=2097664);else{if(typeof l!="function"&&typeof l!="object")throw Error(u(284));(e===null||e.ref!==l)&&(n.flags|=2097664)}}function Kf(e,n,l,i,s){return ml(n),l=Of(e,n,l,i,void 0,s),i=Mf(),e!==null&&!Nt?(Df(e,n,s),or(e,n,s)):(Qe&&i&&Sf(n),n.flags|=1,It(e,n,l,s),n.child)}function a1(e,n,l,i,s,d){return ml(n),n.updateQueue=null,l=f0(n,i,l,s),c0(e),i=Mf(),e!==null&&!Nt?(Df(e,n,d),or(e,n,d)):(Qe&&i&&Sf(n),n.flags|=1,It(e,n,l,d),n.child)}function i1(e,n,l,i,s){if(ml(n),n.stateNode===null){var d=Jl,y=l.contextType;typeof y=="object"&&y!==null&&(d=Qt(y)),d=new l(i,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=Ff,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=i,d.state=n.memoizedState,d.refs={},ad(n),y=l.contextType,d.context=typeof y=="object"&&y!==null?Qt(y):Jl,d.state=n.memoizedState,y=l.getDerivedStateFromProps,typeof y=="function"&&(Yf(n,l,y,i),d.state=n.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&Ff.enqueueReplaceState(d,d.state,null),Hi(n,i,d,s),_i(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),i=!0}else if(e===null){d=n.stateNode;var C=n.memoizedProps,R=hl(l,C);d.props=R;var z=d.context,X=l.contextType;y=Jl,typeof X=="object"&&X!==null&&(y=Qt(X));var ee=l.getDerivedStateFromProps;X=typeof ee=="function"||typeof d.getSnapshotBeforeUpdate=="function",C=n.pendingProps!==C,X||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(C||z!==y)&&Q0(n,d,i,y),Lr=!1;var G=n.memoizedState;d.state=G,Hi(n,i,d,s),_i(),z=n.memoizedState,C||G!==z||Lr?(typeof ee=="function"&&(Yf(n,l,ee,i),z=n.memoizedState),(R=Lr||F0(n,l,R,i,G,z,y))?(X||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=i,n.memoizedState=z),d.props=i,d.state=z,d.context=y,i=R):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),i=!1)}else{d=n.stateNode,id(e,n),y=n.memoizedProps,X=hl(l,y),d.props=X,ee=n.pendingProps,G=d.context,z=l.contextType,R=Jl,typeof z=="object"&&z!==null&&(R=Qt(z)),C=l.getDerivedStateFromProps,(z=typeof C=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(y!==ee||G!==R)&&Q0(n,d,i,R),Lr=!1,G=n.memoizedState,d.state=G,Hi(n,i,d,s),_i();var K=n.memoizedState;y!==ee||G!==K||Lr||e!==null&&e.dependencies!==null&&Mo(e.dependencies)?(typeof C=="function"&&(Yf(n,l,C,i),K=n.memoizedState),(X=Lr||F0(n,l,X,i,G,K,R)||e!==null&&e.dependencies!==null&&Mo(e.dependencies))?(z||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,K,R),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,K,R)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||y===e.memoizedProps&&G===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&G===e.memoizedState||(n.flags|=1024),n.memoizedProps=i,n.memoizedState=K),d.props=i,d.state=K,d.context=R,i=X):(typeof d.componentDidUpdate!="function"||y===e.memoizedProps&&G===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&G===e.memoizedState||(n.flags|=1024),i=!1)}return d=i,Ni(e,n),i=(n.flags&128)!==0,d||i?(d=n.stateNode,l=i&&typeof l.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&i?(n.child=ol(n,e.child,null,s),n.child=ol(n,null,l,s)):It(e,n,l,s),n.memoizedState=d.state,e=n.child):e=or(e,n,s),e}function u1(e,n,l,i){return Ci(),n.flags|=256,It(e,n,l,i),n.child}var Xf={dehydrated:null,treeContext:null,retryLane:0};function Zf(e){return{baseLanes:e,cachePool:s0()}}function Jf(e,n,l){return e=e!==null?e.childLanes&~l:0,n&&(e|=Mn),e}function o1(e,n,l){var i=n.pendingProps,s=!1,d=(n.flags&128)!==0,y;if((y=d)||(y=e!==null&&e.memoizedState===null?!1:(Ot.current&2)!==0),y&&(s=!0,n.flags&=-129),y=(n.flags&32)!==0,n.flags&=-33,e===null){if(Qe){if(s?Mr(n):Dr(),Qe){var C=jt,R;if(R=C){e:{for(R=C,C=Kn;R.nodeType!==8;){if(!C){C=null;break e}if(R=_n(R.nextSibling),R===null){C=null;break e}}C=R}C!==null?(n.memoizedState={dehydrated:C,treeContext:al!==null?{id:lr,overflow:ar}:null,retryLane:536870912},R=On(18,null,null,0),R.stateNode=C,R.return=n,n.child=R,Kt=n,jt=null,R=!0):R=!1}R||ul(n)}if(C=n.memoizedState,C!==null&&(C=C.dehydrated,C!==null))return C.data==="$!"?n.lanes=16:n.lanes=536870912,null;ir(n)}return C=i.children,i=i.fallback,s?(Dr(),s=n.mode,C=Pf({mode:"hidden",children:C},s),i=yl(i,s,l,null),C.return=n,i.return=n,C.sibling=i,n.child=C,s=n.child,s.memoizedState=Zf(l),s.childLanes=Jf(e,y,l),n.memoizedState=Xf,i):(Mr(n),Wf(n,C))}if(R=e.memoizedState,R!==null&&(C=R.dehydrated,C!==null)){if(d)n.flags&256?(Mr(n),n.flags&=-257,n=$f(e,n,l)):n.memoizedState!==null?(Dr(),n.child=e.child,n.flags|=128,n=null):(Dr(),s=i.fallback,C=n.mode,i=Pf({mode:"visible",children:i.children},C),s=yl(s,C,l,null),s.flags|=2,i.return=n,s.return=n,i.sibling=s,n.child=i,ol(n,e.child,null,l),i=n.child,i.memoizedState=Zf(l),i.childLanes=Jf(e,y,l),n.memoizedState=Xf,n=s);else if(Mr(n),C.data==="$!"){if(y=C.nextSibling&&C.nextSibling.dataset,y)var z=y.dgst;y=z,i=Error(u(419)),i.stack="",i.digest=y,Ai({value:i,source:null,stack:null}),n=$f(e,n,l)}else if(Nt||Li(e,n,l,!1),y=(l&e.childLanes)!==0,Nt||y){if(y=ut,y!==null){if(i=l&-l,i&42)i=1;else switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:i=64;break;case 268435456:i=134217728;break;default:i=0}if(i=i&(y.suspendedLanes|l)?0:i,i!==0&&i!==R.retryLane)throw R.retryLane=i,Or(e,i),Xt(y,e,i),$0}C.data==="$?"||kd(),n=$f(e,n,l)}else C.data==="$?"?(n.flags|=128,n.child=e.child,n=RR.bind(null,e),C._reactRetry=n,n=null):(e=R.treeContext,jt=_n(C.nextSibling),Kt=n,Qe=!0,Ln=null,Kn=!1,e!==null&&(An[wn++]=lr,An[wn++]=ar,An[wn++]=al,lr=e.id,ar=e.overflow,al=n),n=Wf(n,i.children),n.flags|=4096);return n}return s?(Dr(),s=i.fallback,C=n.mode,R=e.child,z=R.sibling,i=Gr(R,{mode:"hidden",children:i.children}),i.subtreeFlags=R.subtreeFlags&31457280,z!==null?s=Gr(z,s):(s=yl(s,C,l,null),s.flags|=2),s.return=n,i.return=n,i.sibling=s,n.child=i,i=s,s=n.child,C=e.child.memoizedState,C===null?C=Zf(l):(R=C.cachePool,R!==null?(z=Mt._currentValue,R=R.parent!==z?{parent:z,pool:z}:R):R=s0(),C={baseLanes:C.baseLanes|l,cachePool:R}),s.memoizedState=C,s.childLanes=Jf(e,y,l),n.memoizedState=Xf,i):(Mr(n),l=e.child,e=l.sibling,l=Gr(l,{mode:"visible",children:i.children}),l.return=n,l.sibling=null,e!==null&&(y=n.deletions,y===null?(n.deletions=[e],n.flags|=16):y.push(e)),n.child=l,n.memoizedState=null,l)}function Wf(e,n){return n=Pf({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function Pf(e,n){return N1(e,n,0,null)}function $f(e,n,l){return ol(n,e.child,null,l),e=Wf(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function s1(e,n,l){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n),rd(e.return,n,l)}function ed(e,n,l,i,s){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:i,tail:l,tailMode:s}:(d.isBackwards=n,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=l,d.tailMode=s)}function c1(e,n,l){var i=n.pendingProps,s=i.revealOrder,d=i.tail;if(It(e,n,i.children,l),i=Ot.current,i&2)i=i&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&s1(e,l,n);else if(e.tag===19)s1(e,l,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}switch(fe(Ot,i),s){case"forwards":for(l=n.child,s=null;l!==null;)e=l.alternate,e!==null&&bo(e)===null&&(s=l),l=l.sibling;l=s,l===null?(s=n.child,n.child=null):(s=l.sibling,l.sibling=null),ed(n,!1,s,l,d);break;case"backwards":for(l=null,s=n.child,n.child=null;s!==null;){if(e=s.alternate,e!==null&&bo(e)===null){n.child=s;break}e=s.sibling,s.sibling=l,l=s,s=e}ed(n,!0,l,null,d);break;case"together":ed(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function or(e,n,l){if(e!==null&&(n.dependencies=e.dependencies),qr|=n.lanes,!(l&n.childLanes))if(e!==null){if(Li(e,n,l,!1),(l&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(u(153));if(n.child!==null){for(e=n.child,l=Gr(e,e.pendingProps),n.child=l,l.return=n;e.sibling!==null;)e=e.sibling,l=l.sibling=Gr(e,e.pendingProps),l.return=n;l.sibling=null}return n.child}function td(e,n){return e.lanes&n?!0:(e=e.dependencies,!!(e!==null&&Mo(e)))}function pR(e,n,l){switch(n.tag){case 3:xe(n,n.stateNode.containerInfo),Nr(n,Mt,e.memoizedState.cache),Ci();break;case 27:case 5:_e(n);break;case 4:xe(n,n.stateNode.containerInfo);break;case 10:Nr(n,n.type,n.memoizedProps.value);break;case 13:var i=n.memoizedState;if(i!==null)return i.dehydrated!==null?(Mr(n),n.flags|=128,null):l&n.child.childLanes?o1(e,n,l):(Mr(n),e=or(e,n,l),e!==null?e.sibling:null);Mr(n);break;case 19:var s=(e.flags&128)!==0;if(i=(l&n.childLanes)!==0,i||(Li(e,n,l,!1),i=(l&n.childLanes)!==0),s){if(i)return c1(e,n,l);n.flags|=128}if(s=n.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),fe(Ot,Ot.current),i)break;return null;case 22:case 23:return n.lanes=0,r1(e,n,l);case 24:Nr(n,Mt,e.memoizedState.cache)}return or(e,n,l)}function f1(e,n,l){if(e!==null)if(e.memoizedProps!==n.pendingProps)Nt=!0;else{if(!td(e,l)&&!(n.flags&128))return Nt=!1,pR(e,n,l);Nt=!!(e.flags&131072)}else Nt=!1,Qe&&n.flags&1048576&&Zy(n,ho,n.index);switch(n.lanes=0,n.tag){case 16:e:{e=n.pendingProps;var i=n.elementType,s=i._init;if(i=s(i._payload),n.type=i,typeof i=="function")md(i)?(e=hl(i,e),n.tag=1,n=i1(null,n,i,e,l)):(n.tag=0,n=Kf(null,n,i,e,l));else{if(i!=null){if(s=i.$$typeof,s===M){n.tag=11,n=e1(null,n,i,e,l);break e}else if(s===A){n.tag=14,n=t1(null,n,i,e,l);break e}}throw n=ne(i)||i,Error(u(306,n,""))}}return n;case 0:return Kf(e,n,n.type,n.pendingProps,l);case 1:return i=n.type,s=hl(i,n.pendingProps),i1(e,n,i,s,l);case 3:e:{if(xe(n,n.stateNode.containerInfo),e===null)throw Error(u(387));var d=n.pendingProps;s=n.memoizedState,i=s.element,id(e,n),Hi(n,d,null,l);var y=n.memoizedState;if(d=y.cache,Nr(n,Mt,d),d!==s.cache&&ld(n,[Mt],l,!0),_i(),d=y.element,s.isDehydrated)if(s={element:d,isDehydrated:!1,cache:y.cache},n.updateQueue.baseState=s,n.memoizedState=s,n.flags&256){n=u1(e,n,d,l);break e}else if(d!==i){i=Cn(Error(u(424)),n),Ai(i),n=u1(e,n,d,l);break e}else for(jt=_n(n.stateNode.containerInfo.firstChild),Kt=n,Qe=!0,Ln=null,Kn=!0,l=l0(n,null,d,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Ci(),d===i){n=or(e,n,l);break e}It(e,n,d,l)}n=n.child}return n;case 26:return Ni(e,n),e===null?(l=pb(n.type,null,n.pendingProps,null))?n.memoizedState=l:Qe||(l=n.type,e=n.pendingProps,i=Qo(pe.current).createElement(l),i[Ft]=n,i[tn]=e,Gt(i,l,e),zt(i),n.stateNode=i):n.memoizedState=pb(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return _e(n),e===null&&Qe&&(i=n.stateNode=fb(n.type,n.pendingProps,pe.current),Kt=n,Kn=!0,jt=_n(i.firstChild)),i=n.pendingProps.children,e!==null||Qe?It(e,n,i,l):n.child=ol(n,null,i,l),Ni(e,n),n.child;case 5:return e===null&&Qe&&((s=i=jt)&&(i=YR(i,n.type,n.pendingProps,Kn),i!==null?(n.stateNode=i,Kt=n,jt=_n(i.firstChild),Kn=!1,s=!0):s=!1),s||ul(n)),_e(n),s=n.type,d=n.pendingProps,y=e!==null?e.memoizedProps:null,i=d.children,Gd(s,d)?i=null:y!==null&&Gd(s,y)&&(n.flags|=32),n.memoizedState!==null&&(s=Of(e,n,uR,null,null,l),$i._currentValue=s),Ni(e,n),It(e,n,i,l),n.child;case 6:return e===null&&Qe&&((e=l=jt)&&(l=FR(l,n.pendingProps,Kn),l!==null?(n.stateNode=l,Kt=n,jt=null,e=!0):e=!1),e||ul(n)),null;case 13:return o1(e,n,l);case 4:return xe(n,n.stateNode.containerInfo),i=n.pendingProps,e===null?n.child=ol(n,null,i,l):It(e,n,i,l),n.child;case 11:return e1(e,n,n.type,n.pendingProps,l);case 7:return It(e,n,n.pendingProps,l),n.child;case 8:return It(e,n,n.pendingProps.children,l),n.child;case 12:return It(e,n,n.pendingProps.children,l),n.child;case 10:return i=n.pendingProps,Nr(n,n.type,i.value),It(e,n,i.children,l),n.child;case 9:return s=n.type._context,i=n.pendingProps.children,ml(n),s=Qt(s),i=i(s),n.flags|=1,It(e,n,i,l),n.child;case 14:return t1(e,n,n.type,n.pendingProps,l);case 15:return n1(e,n,n.type,n.pendingProps,l);case 19:return c1(e,n,l);case 22:return r1(e,n,l);case 24:return ml(n),i=Qt(Mt),e===null?(s=kf(),s===null&&(s=ut,d=wf(),s.pooledCache=d,d.refCount++,d!==null&&(s.pooledCacheLanes|=l),s=d),n.memoizedState={parent:i,cache:s},ad(n),Nr(n,Mt,s)):(e.lanes&l&&(id(e,n),Hi(n,null,null,l),_i()),s=e.memoizedState,d=n.memoizedState,s.parent!==i?(s={parent:i,cache:i},n.memoizedState=s,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=s),Nr(n,Mt,i)):(i=d.cache,Nr(n,Mt,i),i!==s.cache&&ld(n,[Mt],l,!0))),It(e,n,n.pendingProps.children,l),n.child;case 29:throw n.pendingProps}throw Error(u(156,n.tag))}var nd=Ee(null),pl=null,sr=null;function Nr(e,n,l){fe(nd,n._currentValue),n._currentValue=l}function cr(e){e._currentValue=nd.current,Re(nd)}function rd(e,n,l){for(;e!==null;){var i=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,i!==null&&(i.childLanes|=n)):i!==null&&(i.childLanes&n)!==n&&(i.childLanes|=n),e===l)break;e=e.return}}function ld(e,n,l,i){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var d=s.dependencies;if(d!==null){var y=s.child;d=d.firstContext;e:for(;d!==null;){var C=d;d=s;for(var R=0;R<n.length;R++)if(C.context===n[R]){d.lanes|=l,C=d.alternate,C!==null&&(C.lanes|=l),rd(d.return,l,e),i||(y=null);break e}d=C.next}}else if(s.tag===18){if(y=s.return,y===null)throw Error(u(341));y.lanes|=l,d=y.alternate,d!==null&&(d.lanes|=l),rd(y,l,e),y=null}else y=s.child;if(y!==null)y.return=s;else for(y=s;y!==null;){if(y===e){y=null;break}if(s=y.sibling,s!==null){s.return=y.return,y=s;break}y=y.return}s=y}}function Li(e,n,l,i){e=null;for(var s=n,d=!1;s!==null;){if(!d){if(s.flags&524288)d=!0;else if(s.flags&262144)break}if(s.tag===10){var y=s.alternate;if(y===null)throw Error(u(387));if(y=y.memoizedProps,y!==null){var C=s.type;fn(s.pendingProps.value,y.value)||(e!==null?e.push(C):e=[C])}}else if(s===se.current){if(y=s.alternate,y===null)throw Error(u(387));y.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push($i):e=[$i])}s=s.return}e!==null&&ld(n,e,l,i),n.flags|=262144}function Mo(e){for(e=e.firstContext;e!==null;){if(!fn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ml(e){pl=e,sr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Qt(e){return d1(pl,e)}function Do(e,n){return pl===null&&ml(e),d1(e,n)}function d1(e,n){var l=n._currentValue;if(n={context:n,memoizedValue:l,next:null},sr===null){if(e===null)throw Error(u(308));sr=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else sr=sr.next=n;return l}var Lr=!1;function ad(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function id(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ur(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function _r(e,n,l){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,ft&2){var s=i.pending;return s===null?n.next=n:(n.next=s.next,s.next=n),i.pending=n,n=co(e),Ky(e,null,l),n}return so(e,i,n,l),co(e)}function Ui(e,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194176)!==0)){var i=n.lanes;i&=e.pendingLanes,l|=i,n.lanes=l,ty(e,l)}}function ud(e,n){var l=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,l===i)){var s=null,d=null;if(l=l.firstBaseUpdate,l!==null){do{var y={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};d===null?s=d=y:d=d.next=y,l=l.next}while(l!==null);d===null?s=d=n:d=d.next=n}else s=d=n;l={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:i.shared,callbacks:i.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=n:e.next=n,l.lastBaseUpdate=n}var od=!1;function _i(){if(od){var e=na;if(e!==null)throw e}}function Hi(e,n,l,i){od=!1;var s=e.updateQueue;Lr=!1;var d=s.firstBaseUpdate,y=s.lastBaseUpdate,C=s.shared.pending;if(C!==null){s.shared.pending=null;var R=C,z=R.next;R.next=null,y===null?d=z:y.next=z,y=R;var X=e.alternate;X!==null&&(X=X.updateQueue,C=X.lastBaseUpdate,C!==y&&(C===null?X.firstBaseUpdate=z:C.next=z,X.lastBaseUpdate=R))}if(d!==null){var ee=s.baseState;y=0,X=z=R=null,C=d;do{var G=C.lane&-536870913,K=G!==C.lane;if(K?(qe&G)===G:(i&G)===G){G!==0&&G===ta&&(od=!0),X!==null&&(X=X.next={lane:0,tag:C.tag,payload:C.payload,callback:null,next:null});e:{var me=e,we=C;G=n;var yt=l;switch(we.tag){case 1:if(me=we.payload,typeof me=="function"){ee=me.call(yt,ee,G);break e}ee=me;break e;case 3:me.flags=me.flags&-65537|128;case 0:if(me=we.payload,G=typeof me=="function"?me.call(yt,ee,G):me,G==null)break e;ee=E({},ee,G);break e;case 2:Lr=!0}}G=C.callback,G!==null&&(e.flags|=64,K&&(e.flags|=8192),K=s.callbacks,K===null?s.callbacks=[G]:K.push(G))}else K={lane:G,tag:C.tag,payload:C.payload,callback:C.callback,next:null},X===null?(z=X=K,R=ee):X=X.next=K,y|=G;if(C=C.next,C===null){if(C=s.shared.pending,C===null)break;K=C,C=K.next,K.next=null,s.lastBaseUpdate=K,s.shared.pending=null}}while(!0);X===null&&(R=ee),s.baseState=R,s.firstBaseUpdate=z,s.lastBaseUpdate=X,d===null&&(s.shared.lanes=0),qr|=y,e.lanes=y,e.memoizedState=ee}}function h1(e,n){if(typeof e!="function")throw Error(u(191,e));e.call(n)}function p1(e,n){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)h1(l[e],n)}function ji(e,n){try{var l=n.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var s=i.next;l=s;do{if((l.tag&e)===e){i=void 0;var d=l.create,y=l.inst;i=d(),y.destroy=i}l=l.next}while(l!==s)}}catch(C){rt(n,n.return,C)}}function Hr(e,n,l){try{var i=n.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var d=s.next;i=d;do{if((i.tag&e)===e){var y=i.inst,C=y.destroy;if(C!==void 0){y.destroy=void 0,s=n;var R=l;try{C()}catch(z){rt(s,R,z)}}}i=i.next}while(i!==d)}}catch(z){rt(n,n.return,z)}}function m1(e){var n=e.updateQueue;if(n!==null){var l=e.stateNode;try{p1(n,l)}catch(i){rt(e,e.return,i)}}}function g1(e,n,l){l.props=hl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(i){rt(e,n,i)}}function gl(e,n){try{var l=e.ref;if(l!==null){var i=e.stateNode;switch(e.tag){case 26:case 27:case 5:var s=i;break;default:s=i}typeof l=="function"?e.refCleanup=l(s):l.current=s}}catch(d){rt(e,n,d)}}function dn(e,n){var l=e.ref,i=e.refCleanup;if(l!==null)if(typeof i=="function")try{i()}catch(s){rt(e,n,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(s){rt(e,n,s)}else l.current=null}function y1(e){var n=e.type,l=e.memoizedProps,i=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&i.focus();break e;case"img":l.src?i.src=l.src:l.srcSet&&(i.srcset=l.srcSet)}}catch(s){rt(e,e.return,s)}}function b1(e,n,l){try{var i=e.stateNode;jR(i,e.type,l,n),i[tn]=n}catch(s){rt(e,e.return,s)}}function S1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function sd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||S1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function cd(e,n,l){var i=e.tag;if(i===5||i===6)e=e.stateNode,n?l.nodeType===8?l.parentNode.insertBefore(e,n):l.insertBefore(e,n):(l.nodeType===8?(n=l.parentNode,n.insertBefore(e,l)):(n=l,n.appendChild(e)),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=Fo));else if(i!==4&&i!==27&&(e=e.child,e!==null))for(cd(e,n,l),e=e.sibling;e!==null;)cd(e,n,l),e=e.sibling}function Bo(e,n,l){var i=e.tag;if(i===5||i===6)e=e.stateNode,n?l.insertBefore(e,n):l.appendChild(e);else if(i!==4&&i!==27&&(e=e.child,e!==null))for(Bo(e,n,l),e=e.sibling;e!==null;)Bo(e,n,l),e=e.sibling}var fr=!1,mt=!1,fd=!1,x1=typeof WeakSet=="function"?WeakSet:Set,Lt=null,v1=!1;function mR(e,n){if(e=e.containerInfo,jd=Po,e=Hy(e),hf(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var i=l.getSelection&&l.getSelection();if(i&&i.rangeCount!==0){l=i.anchorNode;var s=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{l.nodeType,d.nodeType}catch{l=null;break e}var y=0,C=-1,R=-1,z=0,X=0,ee=e,G=null;t:for(;;){for(var K;ee!==l||s!==0&&ee.nodeType!==3||(C=y+s),ee!==d||i!==0&&ee.nodeType!==3||(R=y+i),ee.nodeType===3&&(y+=ee.nodeValue.length),(K=ee.firstChild)!==null;)G=ee,ee=K;for(;;){if(ee===e)break t;if(G===l&&++z===s&&(C=y),G===d&&++X===i&&(R=y),(K=ee.nextSibling)!==null)break;ee=G,G=ee.parentNode}ee=K}l=C===-1||R===-1?null:{start:C,end:R}}else l=null}l=l||{start:0,end:0}}else l=null;for(Id={focusedElem:e,selectionRange:l},Po=!1,Lt=n;Lt!==null;)if(n=Lt,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,Lt=e;else for(;Lt!==null;){switch(n=Lt,d=n.alternate,e=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if(e&1024&&d!==null){e=void 0,l=n,s=d.memoizedProps,d=d.memoizedState,i=l.stateNode;try{var me=hl(l.type,s,l.elementType===l.type);e=i.getSnapshotBeforeUpdate(me,d),i.__reactInternalSnapshotBeforeUpdate=e}catch(we){rt(l,l.return,we)}}break;case 3:if(e&1024){if(e=n.stateNode.containerInfo,l=e.nodeType,l===9)Yd(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Yd(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(u(163))}if(e=n.sibling,e!==null){e.return=n.return,Lt=e;break}Lt=n.return}return me=v1,v1=!1,me}function E1(e,n,l){var i=l.flags;switch(l.tag){case 0:case 11:case 15:hr(e,l),i&4&&ji(5,l);break;case 1:if(hr(e,l),i&4)if(e=l.stateNode,n===null)try{e.componentDidMount()}catch(C){rt(l,l.return,C)}else{var s=hl(l.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(s,n,e.__reactInternalSnapshotBeforeUpdate)}catch(C){rt(l,l.return,C)}}i&64&&m1(l),i&512&&gl(l,l.return);break;case 3:if(hr(e,l),i&64&&(i=l.updateQueue,i!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{p1(i,e)}catch(C){rt(l,l.return,C)}}break;case 26:hr(e,l),i&512&&gl(l,l.return);break;case 27:case 5:hr(e,l),n===null&&i&4&&y1(l),i&512&&gl(l,l.return);break;case 12:hr(e,l);break;case 13:hr(e,l),i&4&&w1(e,l);break;case 22:if(s=l.memoizedState!==null||fr,!s){n=n!==null&&n.memoizedState!==null||mt;var d=fr,y=mt;fr=s,(mt=n)&&!y?jr(e,l,(l.subtreeFlags&8772)!==0):hr(e,l),fr=d,mt=y}i&512&&(l.memoizedProps.mode==="manual"?gl(l,l.return):dn(l,l.return));break;default:hr(e,l)}}function C1(e){var n=e.alternate;n!==null&&(e.alternate=null,C1(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&Jc(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var kt=null,hn=!1;function dr(e,n,l){for(l=l.child;l!==null;)A1(e,n,l),l=l.sibling}function A1(e,n,l){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(Bt,l)}catch{}switch(l.tag){case 26:mt||dn(l,n),dr(e,n,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:mt||dn(l,n);var i=kt,s=hn;for(kt=l.stateNode,dr(e,n,l),l=l.stateNode,n=l.attributes;n.length;)l.removeAttributeNode(n[0]);Jc(l),kt=i,hn=s;break;case 5:mt||dn(l,n);case 6:s=kt;var d=hn;if(kt=null,dr(e,n,l),kt=s,hn=d,kt!==null)if(hn)try{e=kt,i=l.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)}catch(y){rt(l,n,y)}else try{kt.removeChild(l.stateNode)}catch(y){rt(l,n,y)}break;case 18:kt!==null&&(hn?(n=kt,l=l.stateNode,n.nodeType===8?Vd(n.parentNode,l):n.nodeType===1&&Vd(n,l),ru(n)):Vd(kt,l.stateNode));break;case 4:i=kt,s=hn,kt=l.stateNode.containerInfo,hn=!0,dr(e,n,l),kt=i,hn=s;break;case 0:case 11:case 14:case 15:mt||Hr(2,l,n),mt||Hr(4,l,n),dr(e,n,l);break;case 1:mt||(dn(l,n),i=l.stateNode,typeof i.componentWillUnmount=="function"&&g1(l,n,i)),dr(e,n,l);break;case 21:dr(e,n,l);break;case 22:mt||dn(l,n),mt=(i=mt)||l.memoizedState!==null,dr(e,n,l),mt=i;break;default:dr(e,n,l)}}function w1(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ru(e)}catch(l){rt(n,n.return,l)}}function gR(e){switch(e.tag){case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new x1),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new x1),n;default:throw Error(u(435,e.tag))}}function dd(e,n){var l=gR(e);n.forEach(function(i){var s=OR.bind(null,e,i);l.has(i)||(l.add(i),i.then(s,s))})}function kn(e,n){var l=n.deletions;if(l!==null)for(var i=0;i<l.length;i++){var s=l[i],d=e,y=n,C=y;e:for(;C!==null;){switch(C.tag){case 27:case 5:kt=C.stateNode,hn=!1;break e;case 3:kt=C.stateNode.containerInfo,hn=!0;break e;case 4:kt=C.stateNode.containerInfo,hn=!0;break e}C=C.return}if(kt===null)throw Error(u(160));A1(d,y,s),kt=null,hn=!1,d=s.alternate,d!==null&&(d.return=null),s.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)T1(n,e),n=n.sibling}var Un=null;function T1(e,n){var l=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:kn(n,e),Rn(e),i&4&&(Hr(3,e,e.return),ji(3,e),Hr(5,e,e.return));break;case 1:kn(n,e),Rn(e),i&512&&(mt||l===null||dn(l,l.return)),i&64&&fr&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?i:l.concat(i))));break;case 26:var s=Un;if(kn(n,e),Rn(e),i&512&&(mt||l===null||dn(l,l.return)),i&4){var d=l!==null?l.memoizedState:null;if(i=e.memoizedState,l===null)if(i===null)if(e.stateNode===null){e:{i=e.type,l=e.memoizedProps,s=s.ownerDocument||s;t:switch(i){case"title":d=s.getElementsByTagName("title")[0],(!d||d[fi]||d[Ft]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=s.createElement(i),s.head.insertBefore(d,s.querySelector("head > title"))),Gt(d,i,l),d[Ft]=e,zt(d),i=d;break e;case"link":var y=yb("link","href",s).get(i+(l.href||""));if(y){for(var C=0;C<y.length;C++)if(d=y[C],d.getAttribute("href")===(l.href==null?null:l.href)&&d.getAttribute("rel")===(l.rel==null?null:l.rel)&&d.getAttribute("title")===(l.title==null?null:l.title)&&d.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){y.splice(C,1);break t}}d=s.createElement(i),Gt(d,i,l),s.head.appendChild(d);break;case"meta":if(y=yb("meta","content",s).get(i+(l.content||""))){for(C=0;C<y.length;C++)if(d=y[C],d.getAttribute("content")===(l.content==null?null:""+l.content)&&d.getAttribute("name")===(l.name==null?null:l.name)&&d.getAttribute("property")===(l.property==null?null:l.property)&&d.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&d.getAttribute("charset")===(l.charSet==null?null:l.charSet)){y.splice(C,1);break t}}d=s.createElement(i),Gt(d,i,l),s.head.appendChild(d);break;default:throw Error(u(468,i))}d[Ft]=e,zt(d),i=d}e.stateNode=i}else bb(s,e.type,e.stateNode);else e.stateNode=gb(s,i,e.memoizedProps);else d!==i?(d===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):d.count--,i===null?bb(s,e.type,e.stateNode):gb(s,i,e.memoizedProps)):i===null&&e.stateNode!==null&&b1(e,e.memoizedProps,l.memoizedProps)}break;case 27:if(i&4&&e.alternate===null){s=e.stateNode,d=e.memoizedProps;try{for(var R=s.firstChild;R;){var z=R.nextSibling,X=R.nodeName;R[fi]||X==="HEAD"||X==="BODY"||X==="SCRIPT"||X==="STYLE"||X==="LINK"&&R.rel.toLowerCase()==="stylesheet"||s.removeChild(R),R=z}for(var ee=e.type,G=s.attributes;G.length;)s.removeAttributeNode(G[0]);Gt(s,ee,d),s[Ft]=e,s[tn]=d}catch(me){rt(e,e.return,me)}}case 5:if(kn(n,e),Rn(e),i&512&&(mt||l===null||dn(l,l.return)),e.flags&32){s=e.stateNode;try{Vl(s,"")}catch(me){rt(e,e.return,me)}}i&4&&e.stateNode!=null&&(s=e.memoizedProps,b1(e,s,l!==null?l.memoizedProps:s)),i&1024&&(fd=!0);break;case 6:if(kn(n,e),Rn(e),i&4){if(e.stateNode===null)throw Error(u(162));i=e.memoizedProps,l=e.stateNode;try{l.nodeValue=i}catch(me){rt(e,e.return,me)}}break;case 3:if(Zo=null,s=Un,Un=Ko(n.containerInfo),kn(n,e),Un=s,Rn(e),i&4&&l!==null&&l.memoizedState.isDehydrated)try{ru(n.containerInfo)}catch(me){rt(e,e.return,me)}fd&&(fd=!1,k1(e));break;case 4:i=Un,Un=Ko(e.stateNode.containerInfo),kn(n,e),Rn(e),Un=i;break;case 12:kn(n,e),Rn(e);break;case 13:kn(n,e),Rn(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(vd=De()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,dd(e,i)));break;case 22:if(i&512&&(mt||l===null||dn(l,l.return)),R=e.memoizedState!==null,z=l!==null&&l.memoizedState!==null,X=fr,ee=mt,fr=X||R,mt=ee||z,kn(n,e),mt=ee,fr=X,Rn(e),n=e.stateNode,n._current=e,n._visibility&=-3,n._visibility|=n._pendingVisibility&2,i&8192&&(n._visibility=R?n._visibility&-2:n._visibility|1,R&&(n=fr||mt,l===null||z||n||ia(e)),e.memoizedProps===null||e.memoizedProps.mode!=="manual"))e:for(l=null,n=e;;){if(n.tag===5||n.tag===26||n.tag===27){if(l===null){z=l=n;try{if(s=z.stateNode,R)d=s.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{y=z.stateNode,C=z.memoizedProps.style;var K=C!=null&&C.hasOwnProperty("display")?C.display:null;y.style.display=K==null||typeof K=="boolean"?"":(""+K).trim()}}catch(me){rt(z,z.return,me)}}}else if(n.tag===6){if(l===null){z=n;try{z.stateNode.nodeValue=R?"":z.memoizedProps}catch(me){rt(z,z.return,me)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;l===n&&(l=null),n=n.return}l===n&&(l=null),n.sibling.return=n.return,n=n.sibling}i&4&&(i=e.updateQueue,i!==null&&(l=i.retryQueue,l!==null&&(i.retryQueue=null,dd(e,l))));break;case 19:kn(n,e),Rn(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,dd(e,i)));break;case 21:break;default:kn(n,e),Rn(e)}}function Rn(e){var n=e.flags;if(n&2){try{if(e.tag!==27){e:{for(var l=e.return;l!==null;){if(S1(l)){var i=l;break e}l=l.return}throw Error(u(160))}switch(i.tag){case 27:var s=i.stateNode,d=sd(e);Bo(e,d,s);break;case 5:var y=i.stateNode;i.flags&32&&(Vl(y,""),i.flags&=-33);var C=sd(e);Bo(e,C,y);break;case 3:case 4:var R=i.stateNode.containerInfo,z=sd(e);cd(e,z,R);break;default:throw Error(u(161))}}}catch(X){rt(e,e.return,X)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function k1(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;k1(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function hr(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)E1(e,n.alternate,n),n=n.sibling}function ia(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:Hr(4,n,n.return),ia(n);break;case 1:dn(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&g1(n,n.return,l),ia(n);break;case 26:case 27:case 5:dn(n,n.return),ia(n);break;case 22:dn(n,n.return),n.memoizedState===null&&ia(n);break;default:ia(n)}e=e.sibling}}function jr(e,n,l){for(l=l&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var i=n.alternate,s=e,d=n,y=d.flags;switch(d.tag){case 0:case 11:case 15:jr(s,d,l),ji(4,d);break;case 1:if(jr(s,d,l),i=d,s=i.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(z){rt(i,i.return,z)}if(i=d,s=i.updateQueue,s!==null){var C=i.stateNode;try{var R=s.shared.hiddenCallbacks;if(R!==null)for(s.shared.hiddenCallbacks=null,s=0;s<R.length;s++)h1(R[s],C)}catch(z){rt(i,i.return,z)}}l&&y&64&&m1(d),gl(d,d.return);break;case 26:case 27:case 5:jr(s,d,l),l&&i===null&&y&4&&y1(d),gl(d,d.return);break;case 12:jr(s,d,l);break;case 13:jr(s,d,l),l&&y&4&&w1(s,d);break;case 22:d.memoizedState===null&&jr(s,d,l),gl(d,d.return);break;default:jr(s,d,l)}n=n.sibling}}function hd(e,n){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Oi(l))}function pd(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Oi(e))}function Ir(e,n,l,i){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)R1(e,n,l,i),n=n.sibling}function R1(e,n,l,i){var s=n.flags;switch(n.tag){case 0:case 11:case 15:Ir(e,n,l,i),s&2048&&ji(9,n);break;case 3:Ir(e,n,l,i),s&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Oi(e)));break;case 12:if(s&2048){Ir(e,n,l,i),e=n.stateNode;try{var d=n.memoizedProps,y=d.id,C=d.onPostCommit;typeof C=="function"&&C(y,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(R){rt(n,n.return,R)}}else Ir(e,n,l,i);break;case 23:break;case 22:d=n.stateNode,n.memoizedState!==null?d._visibility&4?Ir(e,n,l,i):Ii(e,n):d._visibility&4?Ir(e,n,l,i):(d._visibility|=4,ua(e,n,l,i,(n.subtreeFlags&10256)!==0)),s&2048&&hd(n.alternate,n);break;case 24:Ir(e,n,l,i),s&2048&&pd(n.alternate,n);break;default:Ir(e,n,l,i)}}function ua(e,n,l,i,s){for(s=s&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var d=e,y=n,C=l,R=i,z=y.flags;switch(y.tag){case 0:case 11:case 15:ua(d,y,C,R,s),ji(8,y);break;case 23:break;case 22:var X=y.stateNode;y.memoizedState!==null?X._visibility&4?ua(d,y,C,R,s):Ii(d,y):(X._visibility|=4,ua(d,y,C,R,s)),s&&z&2048&&hd(y.alternate,y);break;case 24:ua(d,y,C,R,s),s&&z&2048&&pd(y.alternate,y);break;default:ua(d,y,C,R,s)}n=n.sibling}}function Ii(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var l=e,i=n,s=i.flags;switch(i.tag){case 22:Ii(l,i),s&2048&&hd(i.alternate,i);break;case 24:Ii(l,i),s&2048&&pd(i.alternate,i);break;default:Ii(l,i)}n=n.sibling}}var Gi=8192;function oa(e){if(e.subtreeFlags&Gi)for(e=e.child;e!==null;)O1(e),e=e.sibling}function O1(e){switch(e.tag){case 26:oa(e),e.flags&Gi&&e.memoizedState!==null&&l4(Un,e.memoizedState,e.memoizedProps);break;case 5:oa(e);break;case 3:case 4:var n=Un;Un=Ko(e.stateNode.containerInfo),oa(e),Un=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Gi,Gi=16777216,oa(e),Gi=n):oa(e));break;default:oa(e)}}function M1(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function qi(e){var n=e.deletions;if(e.flags&16){if(n!==null)for(var l=0;l<n.length;l++){var i=n[l];Lt=i,B1(i,e)}M1(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)D1(e),e=e.sibling}function D1(e){switch(e.tag){case 0:case 11:case 15:qi(e),e.flags&2048&&Hr(9,e,e.return);break;case 3:qi(e);break;case 12:qi(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&4&&(e.return===null||e.return.tag!==13)?(n._visibility&=-5,zo(e)):qi(e);break;default:qi(e)}}function zo(e){var n=e.deletions;if(e.flags&16){if(n!==null)for(var l=0;l<n.length;l++){var i=n[l];Lt=i,B1(i,e)}M1(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:Hr(8,n,n.return),zo(n);break;case 22:l=n.stateNode,l._visibility&4&&(l._visibility&=-5,zo(n));break;default:zo(n)}e=e.sibling}}function B1(e,n){for(;Lt!==null;){var l=Lt;switch(l.tag){case 0:case 11:case 15:Hr(8,l,n);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var i=l.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Oi(l.memoizedState.cache)}if(i=l.child,i!==null)i.return=l,Lt=i;else e:for(l=e;Lt!==null;){i=Lt;var s=i.sibling,d=i.return;if(C1(i),i===l){Lt=null;break e}if(s!==null){s.return=d,Lt=s;break e}Lt=d}}}function yR(e,n,l,i){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function On(e,n,l,i){return new yR(e,n,l,i)}function md(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gr(e,n){var l=e.alternate;return l===null?(l=On(e.tag,n,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=n,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&31457280,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,n=e.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function z1(e,n){e.flags&=31457282;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,n=l.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function No(e,n,l,i,s,d){var y=0;if(i=e,typeof e=="function")md(e)&&(y=1);else if(typeof e=="string")y=n4(e,l,Ne.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case m:return yl(l.children,s,d,n);case p:y=8,s|=24;break;case g:return e=On(12,l,n,s|2),e.elementType=g,e.lanes=d,e;case T:return e=On(13,l,n,s),e.elementType=T,e.lanes=d,e;case H:return e=On(19,l,n,s),e.elementType=H,e.lanes=d,e;case O:return N1(l,s,d,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case b:case x:y=10;break e;case v:y=9;break e;case M:y=11;break e;case A:y=14;break e;case N:y=16,i=null;break e}y=29,l=Error(u(130,e===null?"null":typeof e,"")),i=null}return n=On(y,l,n,s),n.elementType=e,n.type=i,n.lanes=d,n}function yl(e,n,l,i){return e=On(7,e,i,n),e.lanes=l,e}function N1(e,n,l,i){e=On(22,e,i,n),e.elementType=O,e.lanes=l;var s={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var d=s._current;if(d===null)throw Error(u(456));if(!(s._pendingVisibility&2)){var y=Or(d,2);y!==null&&(s._pendingVisibility|=2,Xt(y,d,2))}},attach:function(){var d=s._current;if(d===null)throw Error(u(456));if(s._pendingVisibility&2){var y=Or(d,2);y!==null&&(s._pendingVisibility&=-3,Xt(y,d,2))}}};return e.stateNode=s,e}function gd(e,n,l){return e=On(6,e,null,n),e.lanes=l,e}function yd(e,n,l){return n=On(4,e.children!==null?e.children:[],e.key,n),n.lanes=l,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function pr(e){e.flags|=4}function L1(e,n){if(n.type!=="stylesheet"||n.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Sb(n)){if(n=Tn.current,n!==null&&((qe&4194176)===qe?Xn!==null:(qe&62914560)!==qe&&!(qe&536870912)||n!==Xn))throw Ti=Ef,Py;e.flags|=8192}}function Lo(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?$g():536870912,e.lanes|=n,ca|=n)}function Vi(e,n){if(!Qe)switch(e.tailMode){case"hidden":n=e.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function ct(e){var n=e.alternate!==null&&e.alternate.child===e.child,l=0,i=0;if(n)for(var s=e.child;s!==null;)l|=s.lanes|s.childLanes,i|=s.subtreeFlags&31457280,i|=s.flags&31457280,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)l|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=i,e.childLanes=l,n}function bR(e,n,l){var i=n.pendingProps;switch(xf(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ct(n),null;case 1:return ct(n),null;case 3:return l=n.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),n.memoizedState.cache!==i&&(n.flags|=2048),cr(Mt),Ye(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ei(n)?pr(n):e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Ln!==null&&(wd(Ln),Ln=null))),ct(n),null;case 26:return l=n.memoizedState,e===null?(pr(n),l!==null?(ct(n),L1(n,l)):(ct(n),n.flags&=-16777217)):l?l!==e.memoizedState?(pr(n),ct(n),L1(n,l)):(ct(n),n.flags&=-16777217):(e.memoizedProps!==i&&pr(n),ct(n),n.flags&=-16777217),null;case 27:Me(n),l=pe.current;var s=n.type;if(e!==null&&n.stateNode!=null)e.memoizedProps!==i&&pr(n);else{if(!i){if(n.stateNode===null)throw Error(u(166));return ct(n),null}e=Ne.current,Ei(n)?Jy(n):(e=fb(s,i,l),n.stateNode=e,pr(n))}return ct(n),null;case 5:if(Me(n),l=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==i&&pr(n);else{if(!i){if(n.stateNode===null)throw Error(u(166));return ct(n),null}if(e=Ne.current,Ei(n))Jy(n);else{switch(s=Qo(pe.current),e){case 1:e=s.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:e=s.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":e=s.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":e=s.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?s.createElement(l,{is:i.is}):s.createElement(l)}}e[Ft]=n,e[tn]=i;e:for(s=n.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break e;for(;s.sibling===null;){if(s.return===null||s.return===n)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}n.stateNode=e;e:switch(Gt(e,l,i),l){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&pr(n)}}return ct(n),n.flags&=-16777217,null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==i&&pr(n);else{if(typeof i!="string"&&n.stateNode===null)throw Error(u(166));if(e=pe.current,Ei(n)){if(e=n.stateNode,l=n.memoizedProps,i=null,s=Kt,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}e[Ft]=n,e=!!(e.nodeValue===l||i!==null&&i.suppressHydrationWarning===!0||ab(e.nodeValue,l)),e||ul(n)}else e=Qo(e).createTextNode(i),e[Ft]=n,n.stateNode=e}return ct(n),null;case 13:if(i=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Ei(n),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=n.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[Ft]=n}else Ci(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;ct(n),s=!1}else Ln!==null&&(wd(Ln),Ln=null),s=!0;if(!s)return n.flags&256?(ir(n),n):(ir(n),null)}if(ir(n),n.flags&128)return n.lanes=l,n;if(l=i!==null,e=e!==null&&e.memoizedState!==null,l){i=n.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool);var d=null;i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),d!==s&&(i.flags|=2048)}return l!==e&&l&&(n.child.flags|=8192),Lo(n,n.updateQueue),ct(n),null;case 4:return Ye(),e===null&&Ud(n.stateNode.containerInfo),ct(n),null;case 10:return cr(n.type),ct(n),null;case 19:if(Re(Ot),s=n.memoizedState,s===null)return ct(n),null;if(i=(n.flags&128)!==0,d=s.rendering,d===null)if(i)Vi(s,!1);else{if(gt!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(d=bo(e),d!==null){for(n.flags|=128,Vi(s,!1),e=d.updateQueue,n.updateQueue=e,Lo(n,e),n.subtreeFlags=0,e=l,l=n.child;l!==null;)z1(l,e),l=l.sibling;return fe(Ot,Ot.current&1|2),n.child}e=e.sibling}s.tail!==null&&De()>Uo&&(n.flags|=128,i=!0,Vi(s,!1),n.lanes=4194304)}else{if(!i)if(e=bo(d),e!==null){if(n.flags|=128,i=!0,e=e.updateQueue,n.updateQueue=e,Lo(n,e),Vi(s,!0),s.tail===null&&s.tailMode==="hidden"&&!d.alternate&&!Qe)return ct(n),null}else 2*De()-s.renderingStartTime>Uo&&l!==536870912&&(n.flags|=128,i=!0,Vi(s,!1),n.lanes=4194304);s.isBackwards?(d.sibling=n.child,n.child=d):(e=s.last,e!==null?e.sibling=d:n.child=d,s.last=d)}return s.tail!==null?(n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=De(),n.sibling=null,e=Ot.current,fe(Ot,i?e&1|2:e&1),n):(ct(n),null);case 22:case 23:return ir(n),Af(),i=n.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(n.flags|=8192):i&&(n.flags|=8192),i?l&536870912&&!(n.flags&128)&&(ct(n),n.subtreeFlags&6&&(n.flags|=8192)):ct(n),l=n.updateQueue,l!==null&&Lo(n,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048),e!==null&&Re(sl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),cr(Mt),ct(n),null;case 25:return null}throw Error(u(156,n.tag))}function SR(e,n){switch(xf(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return cr(Mt),Ye(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return Me(n),null;case 13:if(ir(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(u(340));Ci()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Re(Ot),null;case 4:return Ye(),null;case 10:return cr(n.type),null;case 22:case 23:return ir(n),Af(),e!==null&&Re(sl),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return cr(Mt),null;case 25:return null;default:return null}}function U1(e,n){switch(xf(n),n.tag){case 3:cr(Mt),Ye();break;case 26:case 27:case 5:Me(n);break;case 4:Ye();break;case 13:ir(n);break;case 19:Re(Ot);break;case 10:cr(n.type);break;case 22:case 23:ir(n),Af(),e!==null&&Re(sl);break;case 24:cr(Mt)}}var xR={getCacheForType:function(e){var n=Qt(Mt),l=n.data.get(e);return l===void 0&&(l=e(),n.data.set(e,l)),l}},vR=typeof WeakMap=="function"?WeakMap:Map,ft=0,ut=null,Le=null,qe=0,ot=0,pn=null,mr=!1,sa=!1,bd=!1,gr=0,gt=0,qr=0,bl=0,Sd=0,Mn=0,ca=0,Yi=null,Jn=null,xd=!1,vd=0,Uo=1/0,_o=null,Vr=null,Ho=!1,Sl=null,Fi=0,Ed=0,Cd=null,Qi=0,Ad=null;function mn(){if(ft&2&&qe!==0)return qe&-qe;if(V.T!==null){var e=ta;return e!==0?e:Bd()}return ry()}function _1(){Mn===0&&(Mn=!(qe&536870912)||Qe?Pg():536870912);var e=Tn.current;return e!==null&&(e.flags|=32),Mn}function Xt(e,n,l){(e===ut&&ot===2||e.cancelPendingCommit!==null)&&(fa(e,0),yr(e,qe,Mn,!1)),ci(e,l),(!(ft&2)||e!==ut)&&(e===ut&&(!(ft&2)&&(bl|=l),gt===4&&yr(e,qe,Mn,!1)),Wn(e))}function H1(e,n,l){if(ft&6)throw Error(u(327));var i=!l&&(n&60)===0&&(n&e.expiredLanes)===0||si(e,n),s=i?AR(e,n):Rd(e,n,!0),d=i;do{if(s===0){sa&&!i&&yr(e,n,0,!1);break}else if(s===6)yr(e,n,0,!mr);else{if(l=e.current.alternate,d&&!ER(l)){s=Rd(e,n,!1),d=!1;continue}if(s===2){if(d=n,e.errorRecoveryDisabledLanes&d)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){n=y;e:{var C=e;s=Yi;var R=C.current.memoizedState.isDehydrated;if(R&&(fa(C,y).flags|=256),y=Rd(C,y,!1),y!==2){if(bd&&!R){C.errorRecoveryDisabledLanes|=d,bl|=d,s=4;break e}d=Jn,Jn=s,d!==null&&wd(d)}s=y}if(d=!1,s!==2)continue}}if(s===1){fa(e,0),yr(e,n,0,!0);break}e:{switch(i=e,s){case 0:case 1:throw Error(u(345));case 4:if((n&4194176)===n){yr(i,n,Mn,!mr);break e}break;case 2:Jn=null;break;case 3:case 5:break;default:throw Error(u(329))}if(i.finishedWork=l,i.finishedLanes=n,(n&62914560)===n&&(d=vd+300-De(),10<d)){if(yr(i,n,Mn,!mr),Ju(i,0)!==0)break e;i.timeoutHandle=ob(j1.bind(null,i,l,Jn,_o,xd,n,Mn,bl,ca,mr,2,-0,0),d);break e}j1(i,l,Jn,_o,xd,n,Mn,bl,ca,mr,0,-0,0)}}break}while(!0);Wn(e)}function wd(e){Jn===null?Jn=e:Jn.push.apply(Jn,e)}function j1(e,n,l,i,s,d,y,C,R,z,X,ee,G){var K=n.subtreeFlags;if((K&8192||(K&16785408)===16785408)&&(Pi={stylesheets:null,count:0,unsuspend:r4},O1(n),n=a4(),n!==null)){e.cancelPendingCommit=n(Q1.bind(null,e,l,i,s,y,C,R,1,ee,G)),yr(e,d,y,!z);return}Q1(e,l,i,s,y,C,R,X,ee,G)}function ER(e){for(var n=e;;){var l=n.tag;if((l===0||l===11||l===15)&&n.flags&16384&&(l=n.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var i=0;i<l.length;i++){var s=l[i],d=s.getSnapshot;s=s.value;try{if(!fn(d(),s))return!1}catch{return!1}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function yr(e,n,l,i){n&=~Sd,n&=~bl,e.suspendedLanes|=n,e.pingedLanes&=~n,i&&(e.warmLanes|=n),i=e.expirationTimes;for(var s=n;0<s;){var d=31-At(s),y=1<<d;i[d]=-1,s&=~y}l!==0&&ey(e,l,n)}function jo(){return ft&6?!0:(Ki(0),!1)}function Td(){if(Le!==null){if(ot===0)var e=Le.return;else e=Le,sr=pl=null,Bf(e),$l=null,ki=0,e=Le;for(;e!==null;)U1(e.alternate,e),e=e.return;Le=null}}function fa(e,n){e.finishedWork=null,e.finishedLanes=0;var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,GR(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Td(),ut=e,Le=l=Gr(e.current,null),qe=n,ot=0,pn=null,mr=!1,sa=si(e,n),bd=!1,ca=Mn=Sd=bl=qr=gt=0,Jn=Yi=null,xd=!1,n&8&&(n|=n&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=n;0<i;){var s=31-At(i),d=1<<s;n|=e[s],i&=~d}return gr=n,oo(),l}function I1(e,n){Oe=null,V.H=Zn,n===wi?(n=t0(),ot=3):n===Py?(n=t0(),ot=4):ot=n===$0?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,pn=n,Le===null&&(gt=1,Oo(e,Cn(n,e.current)))}function G1(){var e=V.H;return V.H=Zn,e===null?Zn:e}function q1(){var e=V.A;return V.A=xR,e}function kd(){gt=4,mr||(qe&4194176)!==qe&&Tn.current!==null||(sa=!0),!(qr&134217727)&&!(bl&134217727)||ut===null||yr(ut,qe,Mn,!1)}function Rd(e,n,l){var i=ft;ft|=2;var s=G1(),d=q1();(ut!==e||qe!==n)&&(_o=null,fa(e,n)),n=!1;var y=gt;e:do try{if(ot!==0&&Le!==null){var C=Le,R=pn;switch(ot){case 8:Td(),y=6;break e;case 3:case 2:case 6:Tn.current===null&&(n=!0);var z=ot;if(ot=0,pn=null,da(e,C,R,z),l&&sa){y=0;break e}break;default:z=ot,ot=0,pn=null,da(e,C,R,z)}}CR(),y=gt;break}catch(X){I1(e,X)}while(!0);return n&&e.shellSuspendCounter++,sr=pl=null,ft=i,V.H=s,V.A=d,Le===null&&(ut=null,qe=0,oo()),y}function CR(){for(;Le!==null;)V1(Le)}function AR(e,n){var l=ft;ft|=2;var i=G1(),s=q1();ut!==e||qe!==n?(_o=null,Uo=De()+500,fa(e,n)):sa=si(e,n);e:do try{if(ot!==0&&Le!==null){n=Le;var d=pn;t:switch(ot){case 1:ot=0,pn=null,da(e,n,d,1);break;case 2:if($y(d)){ot=0,pn=null,Y1(n);break}n=function(){ot===2&&ut===e&&(ot=7),Wn(e)},d.then(n,n);break e;case 3:ot=7;break e;case 4:ot=5;break e;case 7:$y(d)?(ot=0,pn=null,Y1(n)):(ot=0,pn=null,da(e,n,d,7));break;case 5:var y=null;switch(Le.tag){case 26:y=Le.memoizedState;case 5:case 27:var C=Le;if(!y||Sb(y)){ot=0,pn=null;var R=C.sibling;if(R!==null)Le=R;else{var z=C.return;z!==null?(Le=z,Io(z)):Le=null}break t}}ot=0,pn=null,da(e,n,d,5);break;case 6:ot=0,pn=null,da(e,n,d,6);break;case 8:Td(),gt=6;break e;default:throw Error(u(462))}}wR();break}catch(X){I1(e,X)}while(!0);return sr=pl=null,V.H=i,V.A=s,ft=l,Le!==null?0:(ut=null,qe=0,oo(),gt)}function wR(){for(;Le!==null&&!Bn();)V1(Le)}function V1(e){var n=f1(e.alternate,e,gr);e.memoizedProps=e.pendingProps,n===null?Io(e):Le=n}function Y1(e){var n=e,l=n.alternate;switch(n.tag){case 15:case 0:n=a1(l,n,n.pendingProps,n.type,void 0,qe);break;case 11:n=a1(l,n,n.pendingProps,n.type.render,n.ref,qe);break;case 5:Bf(n);default:U1(l,n),n=Le=z1(n,gr),n=f1(l,n,gr)}e.memoizedProps=e.pendingProps,n===null?Io(e):Le=n}function da(e,n,l,i){sr=pl=null,Bf(n),$l=null,ki=0;var s=n.return;try{if(hR(e,s,n,l,qe)){gt=1,Oo(e,Cn(l,e.current)),Le=null;return}}catch(d){if(s!==null)throw Le=s,d;gt=1,Oo(e,Cn(l,e.current)),Le=null;return}n.flags&32768?(Qe||i===1?e=!0:sa||qe&536870912?e=!1:(mr=e=!0,(i===2||i===3||i===6)&&(i=Tn.current,i!==null&&i.tag===13&&(i.flags|=16384))),F1(n,e)):Io(n)}function Io(e){var n=e;do{if(n.flags&32768){F1(n,mr);return}e=n.return;var l=bR(n.alternate,n,gr);if(l!==null){Le=l;return}if(n=n.sibling,n!==null){Le=n;return}Le=n=e}while(n!==null);gt===0&&(gt=5)}function F1(e,n){do{var l=SR(e.alternate,e);if(l!==null){l.flags&=32767,Le=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!n&&(e=e.sibling,e!==null)){Le=e;return}Le=e=l}while(e!==null);gt=6,Le=null}function Q1(e,n,l,i,s,d,y,C,R,z){var X=V.T,ee=le.p;try{le.p=2,V.T=null,TR(e,n,l,i,ee,s,d,y,C,R,z)}finally{V.T=X,le.p=ee}}function TR(e,n,l,i,s,d,y,C){do ha();while(Sl!==null);if(ft&6)throw Error(u(327));var R=e.finishedWork;if(i=e.finishedLanes,R===null)return null;if(e.finishedWork=null,e.finishedLanes=0,R===e.current)throw Error(u(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var z=R.lanes|R.childLanes;if(z|=yf,l5(e,i,z,d,y,C),e===ut&&(Le=ut=null,qe=0),!(R.subtreeFlags&10256)&&!(R.flags&10256)||Ho||(Ho=!0,Ed=z,Cd=l,MR(ce,function(){return ha(),null})),l=(R.flags&15990)!==0,R.subtreeFlags&15990||l?(l=V.T,V.T=null,d=le.p,le.p=2,y=ft,ft|=4,mR(e,R),T1(R,e),J5(Id,e.containerInfo),Po=!!jd,Id=jd=null,e.current=R,E1(e,R.alternate,R),cn(),ft=y,le.p=d,V.T=l):e.current=R,Ho?(Ho=!1,Sl=e,Fi=i):K1(e,z),z=e.pendingLanes,z===0&&(Vr=null),Pr(R.stateNode),Wn(e),n!==null)for(s=e.onRecoverableError,R=0;R<n.length;R++)z=n[R],s(z.value,{componentStack:z.stack});return Fi&3&&ha(),z=e.pendingLanes,i&4194218&&z&42?e===Ad?Qi++:(Qi=0,Ad=e):Qi=0,Ki(0),null}function K1(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,Oi(n)))}function ha(){if(Sl!==null){var e=Sl,n=Ed;Ed=0;var l=ny(Fi),i=V.T,s=le.p;try{if(le.p=32>l?32:l,V.T=null,Sl===null)var d=!1;else{l=Cd,Cd=null;var y=Sl,C=Fi;if(Sl=null,Fi=0,ft&6)throw Error(u(331));var R=ft;if(ft|=4,D1(y.current),R1(y,y.current,C,l),ft=R,Ki(0,!1),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(Bt,y)}catch{}d=!0}return d}finally{le.p=s,V.T=i,K1(e,n)}}return!1}function X1(e,n,l){n=Cn(l,n),n=Qf(e.stateNode,n,2),e=_r(e,n,2),e!==null&&(ci(e,2),Wn(e))}function rt(e,n,l){if(e.tag===3)X1(e,e,l);else for(;n!==null;){if(n.tag===3){X1(n,e,l);break}else if(n.tag===1){var i=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Vr===null||!Vr.has(i))){e=Cn(l,e),l=W0(2),i=_r(n,l,2),i!==null&&(P0(l,i,n,e),ci(i,2),Wn(i));break}}n=n.return}}function Od(e,n,l){var i=e.pingCache;if(i===null){i=e.pingCache=new vR;var s=new Set;i.set(n,s)}else s=i.get(n),s===void 0&&(s=new Set,i.set(n,s));s.has(l)||(bd=!0,s.add(l),e=kR.bind(null,e,n,l),n.then(e,e))}function kR(e,n,l){var i=e.pingCache;i!==null&&i.delete(n),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,ut===e&&(qe&l)===l&&(gt===4||gt===3&&(qe&62914560)===qe&&300>De()-vd?!(ft&2)&&fa(e,0):Sd|=l,ca===qe&&(ca=0)),Wn(e)}function Z1(e,n){n===0&&(n=$g()),e=Or(e,n),e!==null&&(ci(e,n),Wn(e))}function RR(e){var n=e.memoizedState,l=0;n!==null&&(l=n.retryLane),Z1(e,l)}function OR(e,n){var l=0;switch(e.tag){case 13:var i=e.stateNode,s=e.memoizedState;s!==null&&(l=s.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(u(314))}i!==null&&i.delete(n),Z1(e,l)}function MR(e,n){return St(e,n)}var Go=null,pa=null,Md=!1,qo=!1,Dd=!1,xl=0;function Wn(e){e!==pa&&e.next===null&&(pa===null?Go=pa=e:pa=pa.next=e),qo=!0,Md||(Md=!0,BR(DR))}function Ki(e,n){if(!Dd&&qo){Dd=!0;do for(var l=!1,i=Go;i!==null;){if(e!==0){var s=i.pendingLanes;if(s===0)var d=0;else{var y=i.suspendedLanes,C=i.pingedLanes;d=(1<<31-At(42|e)+1)-1,d&=s&~(y&~C),d=d&201326677?d&201326677|1:d?d|2:0}d!==0&&(l=!0,P1(i,d))}else d=qe,d=Ju(i,i===ut?d:0),!(d&3)||si(i,d)||(l=!0,P1(i,d));i=i.next}while(l);Dd=!1}}function DR(){qo=Md=!1;var e=0;xl!==0&&(IR()&&(e=xl),xl=0);for(var n=De(),l=null,i=Go;i!==null;){var s=i.next,d=J1(i,n);d===0?(i.next=null,l===null?Go=s:l.next=s,s===null&&(pa=l)):(l=i,(e!==0||d&3)&&(qo=!0)),i=s}Ki(e)}function J1(e,n){for(var l=e.suspendedLanes,i=e.pingedLanes,s=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var y=31-At(d),C=1<<y,R=s[y];R===-1?(!(C&l)||C&i)&&(s[y]=r5(C,n)):R<=n&&(e.expiredLanes|=C),d&=~C}if(n=ut,l=qe,l=Ju(e,e===n?l:0),i=e.callbackNode,l===0||e===n&&ot===2||e.cancelPendingCommit!==null)return i!==null&&i!==null&&sn(i),e.callbackNode=null,e.callbackPriority=0;if(!(l&3)||si(e,l)){if(n=l&-l,n===e.callbackPriority)return n;switch(i!==null&&sn(i),ny(l)){case 2:case 8:l=$;break;case 32:l=ce;break;case 268435456:l=He;break;default:l=ce}return i=W1.bind(null,e),l=St(l,i),e.callbackPriority=n,e.callbackNode=l,n}return i!==null&&i!==null&&sn(i),e.callbackPriority=2,e.callbackNode=null,2}function W1(e,n){var l=e.callbackNode;if(ha()&&e.callbackNode!==l)return null;var i=qe;return i=Ju(e,e===ut?i:0),i===0?null:(H1(e,i,n),J1(e,De()),e.callbackNode!=null&&e.callbackNode===l?W1.bind(null,e):null)}function P1(e,n){if(ha())return null;H1(e,n,!0)}function BR(e){qR(function(){ft&6?St(Y,e):e()})}function Bd(){return xl===0&&(xl=Pg()),xl}function $1(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:to(""+e)}function eb(e,n){var l=n.ownerDocument.createElement("input");return l.name=n.name,l.value=n.value,e.id&&l.setAttribute("form",e.id),n.parentNode.insertBefore(l,n),e=new FormData(e),l.parentNode.removeChild(l),e}function zR(e,n,l,i,s){if(n==="submit"&&l&&l.stateNode===s){var d=$1((s[tn]||null).action),y=i.submitter;y&&(n=(n=y[tn]||null)?$1(n.formAction):y.getAttribute("formAction"),n!==null&&(d=n,y=null));var C=new ao("action","action",null,i,s);e.push({event:C,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(xl!==0){var R=y?eb(s,y):new FormData(s);Gf(l,{pending:!0,data:R,method:s.method,action:d},null,R)}}else typeof d=="function"&&(C.preventDefault(),R=y?eb(s,y):new FormData(s),Gf(l,{pending:!0,data:R,method:s.method,action:d},d,R))},currentTarget:s}]})}}for(var zd=0;zd<Qy.length;zd++){var Nd=Qy[zd],NR=Nd.toLowerCase(),LR=Nd[0].toUpperCase()+Nd.slice(1);Nn(NR,"on"+LR)}Nn(Gy,"onAnimationEnd"),Nn(qy,"onAnimationIteration"),Nn(Vy,"onAnimationStart"),Nn("dblclick","onDoubleClick"),Nn("focusin","onFocus"),Nn("focusout","onBlur"),Nn(P5,"onTransitionRun"),Nn($5,"onTransitionStart"),Nn(eR,"onTransitionCancel"),Nn(Yy,"onTransitionEnd"),Gl("onMouseEnter",["mouseout","mouseover"]),Gl("onMouseLeave",["mouseout","mouseover"]),Gl("onPointerEnter",["pointerout","pointerover"]),Gl("onPointerLeave",["pointerout","pointerover"]),tl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tl("onBeforeInput",["compositionend","keypress","textInput","paste"]),tl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),UR=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xi));function tb(e,n){n=(n&4)!==0;for(var l=0;l<e.length;l++){var i=e[l],s=i.event;i=i.listeners;e:{var d=void 0;if(n)for(var y=i.length-1;0<=y;y--){var C=i[y],R=C.instance,z=C.currentTarget;if(C=C.listener,R!==d&&s.isPropagationStopped())break e;d=C,s.currentTarget=z;try{d(s)}catch(X){Ro(X)}s.currentTarget=null,d=R}else for(y=0;y<i.length;y++){if(C=i[y],R=C.instance,z=C.currentTarget,C=C.listener,R!==d&&s.isPropagationStopped())break e;d=C,s.currentTarget=z;try{d(s)}catch(X){Ro(X)}s.currentTarget=null,d=R}}}}function je(e,n){var l=n[Zc];l===void 0&&(l=n[Zc]=new Set);var i=e+"__bubble";l.has(i)||(nb(n,e,2,!1),l.add(i))}function Ld(e,n,l){var i=0;n&&(i|=4),nb(l,e,i,n)}var Vo="_reactListening"+Math.random().toString(36).slice(2);function Ud(e){if(!e[Vo]){e[Vo]=!0,ay.forEach(function(l){l!=="selectionchange"&&(UR.has(l)||Ld(l,!1,e),Ld(l,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Vo]||(n[Vo]=!0,Ld("selectionchange",!1,n))}}function nb(e,n,l,i){switch(wb(n)){case 2:var s=o4;break;case 8:s=s4;break;default:s=Zd}l=s.bind(null,n,l,e),s=void 0,!rf||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(s=!0),i?s!==void 0?e.addEventListener(n,l,{capture:!0,passive:s}):e.addEventListener(n,l,!0):s!==void 0?e.addEventListener(n,l,{passive:s}):e.addEventListener(n,l,!1)}function _d(e,n,l,i,s){var d=i;if(!(n&1)&&!(n&2)&&i!==null)e:for(;;){if(i===null)return;var y=i.tag;if(y===3||y===4){var C=i.stateNode.containerInfo;if(C===s||C.nodeType===8&&C.parentNode===s)break;if(y===4)for(y=i.return;y!==null;){var R=y.tag;if((R===3||R===4)&&(R=y.stateNode.containerInfo,R===s||R.nodeType===8&&R.parentNode===s))return;y=y.return}for(;C!==null;){if(y=el(C),y===null)return;if(R=y.tag,R===5||R===6||R===26||R===27){i=d=y;continue e}C=C.parentNode}}i=i.return}yy(function(){var z=d,X=tf(l),ee=[];e:{var G=Fy.get(e);if(G!==void 0){var K=ao,me=e;switch(e){case"keypress":if(ro(l)===0)break e;case"keydown":case"keyup":K=O5;break;case"focusin":me="focus",K=of;break;case"focusout":me="blur",K=of;break;case"beforeblur":case"afterblur":K=of;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=xy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=y5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=B5;break;case Gy:case qy:case Vy:K=x5;break;case Yy:K=N5;break;case"scroll":case"scrollend":K=m5;break;case"wheel":K=U5;break;case"copy":case"cut":case"paste":K=E5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=Ey;break;case"toggle":case"beforetoggle":K=H5}var we=(n&4)!==0,yt=!we&&(e==="scroll"||e==="scrollend"),L=we?G!==null?G+"Capture":null:G;we=[];for(var B=z,I;B!==null;){var W=B;if(I=W.stateNode,W=W.tag,W!==5&&W!==26&&W!==27||I===null||L===null||(W=hi(B,L),W!=null&&we.push(Zi(B,W,I))),yt)break;B=B.return}0<we.length&&(G=new K(G,me,null,l,X),ee.push({event:G,listeners:we}))}}if(!(n&7)){e:{if(G=e==="mouseover"||e==="pointerover",K=e==="mouseout"||e==="pointerout",G&&l!==ef&&(me=l.relatedTarget||l.fromElement)&&(el(me)||me[Hl]))break e;if((K||G)&&(G=X.window===X?X:(G=X.ownerDocument)?G.defaultView||G.parentWindow:window,K?(me=l.relatedTarget||l.toElement,K=z,me=me?el(me):null,me!==null&&(yt=ie(me),we=me.tag,me!==yt||we!==5&&we!==27&&we!==6)&&(me=null)):(K=null,me=z),K!==me)){if(we=xy,W="onMouseLeave",L="onMouseEnter",B="mouse",(e==="pointerout"||e==="pointerover")&&(we=Ey,W="onPointerLeave",L="onPointerEnter",B="pointer"),yt=K==null?G:di(K),I=me==null?G:di(me),G=new we(W,B+"leave",K,l,X),G.target=yt,G.relatedTarget=I,W=null,el(X)===z&&(we=new we(L,B+"enter",me,l,X),we.target=I,we.relatedTarget=yt,W=we),yt=W,K&&me)t:{for(we=K,L=me,B=0,I=we;I;I=ma(I))B++;for(I=0,W=L;W;W=ma(W))I++;for(;0<B-I;)we=ma(we),B--;for(;0<I-B;)L=ma(L),I--;for(;B--;){if(we===L||L!==null&&we===L.alternate)break t;we=ma(we),L=ma(L)}we=null}else we=null;K!==null&&rb(ee,G,K,we,!1),me!==null&&yt!==null&&rb(ee,yt,me,we,!0)}}e:{if(G=z?di(z):window,K=G.nodeName&&G.nodeName.toLowerCase(),K==="select"||K==="input"&&G.type==="file")var he=My;else if(Ry(G))if(Dy)he=X5;else{he=Q5;var ze=F5}else K=G.nodeName,!K||K.toLowerCase()!=="input"||G.type!=="checkbox"&&G.type!=="radio"?z&&$c(z.elementType)&&(he=My):he=K5;if(he&&(he=he(e,z))){Oy(ee,he,l,X);break e}ze&&ze(e,G,z),e==="focusout"&&z&&G.type==="number"&&z.memoizedProps.value!=null&&Pc(G,"number",G.value)}switch(ze=z?di(z):window,e){case"focusin":(Ry(ze)||ze.contentEditable==="true")&&(Kl=ze,pf=z,vi=null);break;case"focusout":vi=pf=Kl=null;break;case"mousedown":mf=!0;break;case"contextmenu":case"mouseup":case"dragend":mf=!1,jy(ee,l,X);break;case"selectionchange":if(W5)break;case"keydown":case"keyup":jy(ee,l,X)}var Se;if(cf)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else Ql?Ty(e,l)&&(ve="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ve="onCompositionStart");ve&&(Cy&&l.locale!=="ko"&&(Ql||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&Ql&&(Se=by()):(Rr=X,lf="value"in Rr?Rr.value:Rr.textContent,Ql=!0)),ze=Yo(z,ve),0<ze.length&&(ve=new vy(ve,e,null,l,X),ee.push({event:ve,listeners:ze}),Se?ve.data=Se:(Se=ky(l),Se!==null&&(ve.data=Se)))),(Se=I5?G5(e,l):q5(e,l))&&(ve=Yo(z,"onBeforeInput"),0<ve.length&&(ze=new vy("onBeforeInput","beforeinput",null,l,X),ee.push({event:ze,listeners:ve}),ze.data=Se)),zR(ee,e,z,l,X)}tb(ee,n)})}function Zi(e,n,l){return{instance:e,listener:n,currentTarget:l}}function Yo(e,n){for(var l=n+"Capture",i=[];e!==null;){var s=e,d=s.stateNode;s=s.tag,s!==5&&s!==26&&s!==27||d===null||(s=hi(e,l),s!=null&&i.unshift(Zi(e,s,d)),s=hi(e,n),s!=null&&i.push(Zi(e,s,d))),e=e.return}return i}function ma(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function rb(e,n,l,i,s){for(var d=n._reactName,y=[];l!==null&&l!==i;){var C=l,R=C.alternate,z=C.stateNode;if(C=C.tag,R!==null&&R===i)break;C!==5&&C!==26&&C!==27||z===null||(R=z,s?(z=hi(l,d),z!=null&&y.unshift(Zi(l,z,R))):s||(z=hi(l,d),z!=null&&y.push(Zi(l,z,R)))),l=l.return}y.length!==0&&e.push({event:n,listeners:y})}var _R=/\r\n?/g,HR=/\u0000|\uFFFD/g;function lb(e){return(typeof e=="string"?e:""+e).replace(_R,`
41
+ `).replace(HR,"")}function ab(e,n){return n=lb(n),lb(e)===n}function Fo(){}function et(e,n,l,i,s,d){switch(l){case"children":typeof i=="string"?n==="body"||n==="textarea"&&i===""||Vl(e,i):(typeof i=="number"||typeof i=="bigint")&&n!=="body"&&Vl(e,""+i);break;case"className":Pu(e,"class",i);break;case"tabIndex":Pu(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Pu(e,l,i);break;case"style":my(e,i,d);break;case"data":if(n!=="object"){Pu(e,"data",i);break}case"src":case"href":if(i===""&&(n!=="a"||l!=="href")){e.removeAttribute(l);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(l);break}i=to(""+i),e.setAttribute(l,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(l==="formAction"?(n!=="input"&&et(e,n,"name",s.name,s,null),et(e,n,"formEncType",s.formEncType,s,null),et(e,n,"formMethod",s.formMethod,s,null),et(e,n,"formTarget",s.formTarget,s,null)):(et(e,n,"encType",s.encType,s,null),et(e,n,"method",s.method,s,null),et(e,n,"target",s.target,s,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(l);break}i=to(""+i),e.setAttribute(l,i);break;case"onClick":i!=null&&(e.onclick=Fo);break;case"onScroll":i!=null&&je("scroll",e);break;case"onScrollEnd":i!=null&&je("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(u(61));if(l=i.__html,l!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}l=to(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(l,""+i):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":i===!0?e.setAttribute(l,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(l,i):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(l,i):e.removeAttribute(l);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(l):e.setAttribute(l,i);break;case"popover":je("beforetoggle",e),je("toggle",e),Wu(e,"popover",i);break;case"xlinkActuate":rr(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":rr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":rr(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":rr(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":rr(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":rr(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":rr(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":rr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":rr(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Wu(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=h5.get(l)||l,Wu(e,l,i))}}function Hd(e,n,l,i,s,d){switch(l){case"style":my(e,i,d);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(u(61));if(l=i.__html,l!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"children":typeof i=="string"?Vl(e,i):(typeof i=="number"||typeof i=="bigint")&&Vl(e,""+i);break;case"onScroll":i!=null&&je("scroll",e);break;case"onScrollEnd":i!=null&&je("scrollend",e);break;case"onClick":i!=null&&(e.onclick=Fo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!iy.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(s=l.endsWith("Capture"),n=l.slice(2,s?l.length-7:void 0),d=e[tn]||null,d=d!=null?d[l]:null,typeof d=="function"&&e.removeEventListener(n,d,s),typeof i=="function")){typeof d!="function"&&d!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(n,i,s);break e}l in e?e[l]=i:i===!0?e.setAttribute(l,""):Wu(e,l,i)}}}function Gt(e,n,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":je("error",e),je("load",e);var i=!1,s=!1,d;for(d in l)if(l.hasOwnProperty(d)){var y=l[d];if(y!=null)switch(d){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,n));default:et(e,n,d,y,l,null)}}s&&et(e,n,"srcSet",l.srcSet,l,null),i&&et(e,n,"src",l.src,l,null);return;case"input":je("invalid",e);var C=d=y=s=null,R=null,z=null;for(i in l)if(l.hasOwnProperty(i)){var X=l[i];if(X!=null)switch(i){case"name":s=X;break;case"type":y=X;break;case"checked":R=X;break;case"defaultChecked":z=X;break;case"value":d=X;break;case"defaultValue":C=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(u(137,n));break;default:et(e,n,i,X,l,null)}}fy(e,d,C,R,z,y,s,!1),$u(e);return;case"select":je("invalid",e),i=y=d=null;for(s in l)if(l.hasOwnProperty(s)&&(C=l[s],C!=null))switch(s){case"value":d=C;break;case"defaultValue":y=C;break;case"multiple":i=C;default:et(e,n,s,C,l,null)}n=d,l=y,e.multiple=!!i,n!=null?ql(e,!!i,n,!1):l!=null&&ql(e,!!i,l,!0);return;case"textarea":je("invalid",e),d=s=i=null;for(y in l)if(l.hasOwnProperty(y)&&(C=l[y],C!=null))switch(y){case"value":i=C;break;case"defaultValue":s=C;break;case"children":d=C;break;case"dangerouslySetInnerHTML":if(C!=null)throw Error(u(91));break;default:et(e,n,y,C,l,null)}hy(e,i,s,d),$u(e);return;case"option":for(R in l)if(l.hasOwnProperty(R)&&(i=l[R],i!=null))switch(R){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:et(e,n,R,i,l,null)}return;case"dialog":je("cancel",e),je("close",e);break;case"iframe":case"object":je("load",e);break;case"video":case"audio":for(i=0;i<Xi.length;i++)je(Xi[i],e);break;case"image":je("error",e),je("load",e);break;case"details":je("toggle",e);break;case"embed":case"source":case"link":je("error",e),je("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in l)if(l.hasOwnProperty(z)&&(i=l[z],i!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,n));default:et(e,n,z,i,l,null)}return;default:if($c(n)){for(X in l)l.hasOwnProperty(X)&&(i=l[X],i!==void 0&&Hd(e,n,X,i,l,void 0));return}}for(C in l)l.hasOwnProperty(C)&&(i=l[C],i!=null&&et(e,n,C,i,l,null))}function jR(e,n,l,i){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,d=null,y=null,C=null,R=null,z=null,X=null;for(K in l){var ee=l[K];if(l.hasOwnProperty(K)&&ee!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":R=ee;default:i.hasOwnProperty(K)||et(e,n,K,null,i,ee)}}for(var G in i){var K=i[G];if(ee=l[G],i.hasOwnProperty(G)&&(K!=null||ee!=null))switch(G){case"type":d=K;break;case"name":s=K;break;case"checked":z=K;break;case"defaultChecked":X=K;break;case"value":y=K;break;case"defaultValue":C=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(u(137,n));break;default:K!==ee&&et(e,n,G,K,i,ee)}}Wc(e,y,C,R,z,X,d,s);return;case"select":K=y=C=G=null;for(d in l)if(R=l[d],l.hasOwnProperty(d)&&R!=null)switch(d){case"value":break;case"multiple":K=R;default:i.hasOwnProperty(d)||et(e,n,d,null,i,R)}for(s in i)if(d=i[s],R=l[s],i.hasOwnProperty(s)&&(d!=null||R!=null))switch(s){case"value":G=d;break;case"defaultValue":C=d;break;case"multiple":y=d;default:d!==R&&et(e,n,s,d,i,R)}n=C,l=y,i=K,G!=null?ql(e,!!l,G,!1):!!i!=!!l&&(n!=null?ql(e,!!l,n,!0):ql(e,!!l,l?[]:"",!1));return;case"textarea":K=G=null;for(C in l)if(s=l[C],l.hasOwnProperty(C)&&s!=null&&!i.hasOwnProperty(C))switch(C){case"value":break;case"children":break;default:et(e,n,C,null,i,s)}for(y in i)if(s=i[y],d=l[y],i.hasOwnProperty(y)&&(s!=null||d!=null))switch(y){case"value":G=s;break;case"defaultValue":K=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==d&&et(e,n,y,s,i,d)}dy(e,G,K);return;case"option":for(var me in l)if(G=l[me],l.hasOwnProperty(me)&&G!=null&&!i.hasOwnProperty(me))switch(me){case"selected":e.selected=!1;break;default:et(e,n,me,null,i,G)}for(R in i)if(G=i[R],K=l[R],i.hasOwnProperty(R)&&G!==K&&(G!=null||K!=null))switch(R){case"selected":e.selected=G&&typeof G!="function"&&typeof G!="symbol";break;default:et(e,n,R,G,i,K)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in l)G=l[we],l.hasOwnProperty(we)&&G!=null&&!i.hasOwnProperty(we)&&et(e,n,we,null,i,G);for(z in i)if(G=i[z],K=l[z],i.hasOwnProperty(z)&&G!==K&&(G!=null||K!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(u(137,n));break;default:et(e,n,z,G,i,K)}return;default:if($c(n)){for(var yt in l)G=l[yt],l.hasOwnProperty(yt)&&G!==void 0&&!i.hasOwnProperty(yt)&&Hd(e,n,yt,void 0,i,G);for(X in i)G=i[X],K=l[X],!i.hasOwnProperty(X)||G===K||G===void 0&&K===void 0||Hd(e,n,X,G,i,K);return}}for(var L in l)G=l[L],l.hasOwnProperty(L)&&G!=null&&!i.hasOwnProperty(L)&&et(e,n,L,null,i,G);for(ee in i)G=i[ee],K=l[ee],!i.hasOwnProperty(ee)||G===K||G==null&&K==null||et(e,n,ee,G,i,K)}var jd=null,Id=null;function Qo(e){return e.nodeType===9?e:e.ownerDocument}function ib(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ub(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function Gd(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var qd=null;function IR(){var e=window.event;return e&&e.type==="popstate"?e===qd?!1:(qd=e,!0):(qd=null,!1)}var ob=typeof setTimeout=="function"?setTimeout:void 0,GR=typeof clearTimeout=="function"?clearTimeout:void 0,sb=typeof Promise=="function"?Promise:void 0,qR=typeof queueMicrotask=="function"?queueMicrotask:typeof sb<"u"?function(e){return sb.resolve(null).then(e).catch(VR)}:ob;function VR(e){setTimeout(function(){throw e})}function Vd(e,n){var l=n,i=0;do{var s=l.nextSibling;if(e.removeChild(l),s&&s.nodeType===8)if(l=s.data,l==="/$"){if(i===0){e.removeChild(s),ru(n);return}i--}else l!=="$"&&l!=="$?"&&l!=="$!"||i++;l=s}while(l);ru(n)}function Yd(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var l=n;switch(n=n.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Yd(l),Jc(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function YR(e,n,l,i){for(;e.nodeType===1;){var s=l;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[fi])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==s.rel||e.getAttribute("href")!==(s.href==null?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=_n(e.nextSibling),e===null)break}return null}function FR(e,n,l){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=_n(e.nextSibling),e===null))return null;return e}function _n(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return e}function cb(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"){if(n===0)return e;n--}else l==="/$"&&n++}e=e.previousSibling}return null}function fb(e,n,l){switch(n=Qo(l),e){case"html":if(e=n.documentElement,!e)throw Error(u(452));return e;case"head":if(e=n.head,!e)throw Error(u(453));return e;case"body":if(e=n.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}var Dn=new Map,db=new Set;function Ko(e){return typeof e.getRootNode=="function"?e.getRootNode():e.ownerDocument}var br=le.d;le.d={f:QR,r:KR,D:XR,C:ZR,L:JR,m:WR,X:$R,S:PR,M:e4};function QR(){var e=br.f(),n=jo();return e||n}function KR(e){var n=jl(e);n!==null&&n.tag===5&&n.type==="form"?j0(n):br.r(e)}var ga=typeof document>"u"?null:document;function hb(e,n,l){var i=ga;if(i&&typeof n=="string"&&n){var s=vn(n);s='link[rel="'+e+'"][href="'+s+'"]',typeof l=="string"&&(s+='[crossorigin="'+l+'"]'),db.has(s)||(db.add(s),e={rel:e,crossOrigin:l,href:n},i.querySelector(s)===null&&(n=i.createElement("link"),Gt(n,"link",e),zt(n),i.head.appendChild(n)))}}function XR(e){br.D(e),hb("dns-prefetch",e,null)}function ZR(e,n){br.C(e,n),hb("preconnect",e,n)}function JR(e,n,l){br.L(e,n,l);var i=ga;if(i&&e&&n){var s='link[rel="preload"][as="'+vn(n)+'"]';n==="image"&&l&&l.imageSrcSet?(s+='[imagesrcset="'+vn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(s+='[imagesizes="'+vn(l.imageSizes)+'"]')):s+='[href="'+vn(e)+'"]';var d=s;switch(n){case"style":d=ya(e);break;case"script":d=ba(e)}Dn.has(d)||(e=E({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:e,as:n},l),Dn.set(d,e),i.querySelector(s)!==null||n==="style"&&i.querySelector(Ji(d))||n==="script"&&i.querySelector(Wi(d))||(n=i.createElement("link"),Gt(n,"link",e),zt(n),i.head.appendChild(n)))}}function WR(e,n){br.m(e,n);var l=ga;if(l&&e){var i=n&&typeof n.as=="string"?n.as:"script",s='link[rel="modulepreload"][as="'+vn(i)+'"][href="'+vn(e)+'"]',d=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=ba(e)}if(!Dn.has(d)&&(e=E({rel:"modulepreload",href:e},n),Dn.set(d,e),l.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Wi(d)))return}i=l.createElement("link"),Gt(i,"link",e),zt(i),l.head.appendChild(i)}}}function PR(e,n,l){br.S(e,n,l);var i=ga;if(i&&e){var s=Il(i).hoistableStyles,d=ya(e);n=n||"default";var y=s.get(d);if(!y){var C={loading:0,preload:null};if(y=i.querySelector(Ji(d)))C.loading=5;else{e=E({rel:"stylesheet",href:e,"data-precedence":n},l),(l=Dn.get(d))&&Fd(e,l);var R=y=i.createElement("link");zt(R),Gt(R,"link",e),R._p=new Promise(function(z,X){R.onload=z,R.onerror=X}),R.addEventListener("load",function(){C.loading|=1}),R.addEventListener("error",function(){C.loading|=2}),C.loading|=4,Xo(y,n,i)}y={type:"stylesheet",instance:y,count:1,state:C},s.set(d,y)}}}function $R(e,n){br.X(e,n);var l=ga;if(l&&e){var i=Il(l).hoistableScripts,s=ba(e),d=i.get(s);d||(d=l.querySelector(Wi(s)),d||(e=E({src:e,async:!0},n),(n=Dn.get(s))&&Qd(e,n),d=l.createElement("script"),zt(d),Gt(d,"link",e),l.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(s,d))}}function e4(e,n){br.M(e,n);var l=ga;if(l&&e){var i=Il(l).hoistableScripts,s=ba(e),d=i.get(s);d||(d=l.querySelector(Wi(s)),d||(e=E({src:e,async:!0,type:"module"},n),(n=Dn.get(s))&&Qd(e,n),d=l.createElement("script"),zt(d),Gt(d,"link",e),l.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(s,d))}}function pb(e,n,l,i){var s=(s=pe.current)?Ko(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=ya(l.href),l=Il(s).hoistableStyles,i=l.get(n),i||(i={type:"style",instance:null,count:0,state:null},l.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=ya(l.href);var d=Il(s).hoistableStyles,y=d.get(e);if(y||(s=s.ownerDocument||s,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,y),(d=s.querySelector(Ji(e)))&&!d._p&&(y.instance=d,y.state.loading=5),Dn.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Dn.set(e,l),d||t4(s,e,l,y.state))),n&&i===null)throw Error(u(528,""));return y}if(n&&i!==null)throw Error(u(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=ba(l),l=Il(s).hoistableScripts,i=l.get(n),i||(i={type:"script",instance:null,count:0,state:null},l.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function ya(e){return'href="'+vn(e)+'"'}function Ji(e){return'link[rel="stylesheet"]['+e+"]"}function mb(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function t4(e,n,l,i){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?i.loading=1:(n=e.createElement("link"),i.preload=n,n.addEventListener("load",function(){return i.loading|=1}),n.addEventListener("error",function(){return i.loading|=2}),Gt(n,"link",l),zt(n),e.head.appendChild(n))}function ba(e){return'[src="'+vn(e)+'"]'}function Wi(e){return"script[async]"+e}function gb(e,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var i=e.querySelector('style[data-href~="'+vn(l.href)+'"]');if(i)return n.instance=i,zt(i),i;var s=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),zt(i),Gt(i,"style",s),Xo(i,l.precedence,e),n.instance=i;case"stylesheet":s=ya(l.href);var d=e.querySelector(Ji(s));if(d)return n.state.loading|=4,n.instance=d,zt(d),d;i=mb(l),(s=Dn.get(s))&&Fd(i,s),d=(e.ownerDocument||e).createElement("link"),zt(d);var y=d;return y._p=new Promise(function(C,R){y.onload=C,y.onerror=R}),Gt(d,"link",i),n.state.loading|=4,Xo(d,l.precedence,e),n.instance=d;case"script":return d=ba(l.src),(s=e.querySelector(Wi(d)))?(n.instance=s,zt(s),s):(i=l,(s=Dn.get(d))&&(i=E({},l),Qd(i,s)),e=e.ownerDocument||e,s=e.createElement("script"),zt(s),Gt(s,"link",i),e.head.appendChild(s),n.instance=s);case"void":return null;default:throw Error(u(443,n.type))}else n.type==="stylesheet"&&!(n.state.loading&4)&&(i=n.instance,n.state.loading|=4,Xo(i,l.precedence,e));return n.instance}function Xo(e,n,l){for(var i=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,d=s,y=0;y<i.length;y++){var C=i[y];if(C.dataset.precedence===n)d=C;else if(d!==s)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=l.nodeType===9?l.head:l,n.insertBefore(e,n.firstChild))}function Fd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Qd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Zo=null;function yb(e,n,l){if(Zo===null){var i=new Map,s=Zo=new Map;s.set(l,i)}else s=Zo,i=s.get(l),i||(i=new Map,s.set(l,i));if(i.has(e))return i;for(i.set(e,null),l=l.getElementsByTagName(e),s=0;s<l.length;s++){var d=l[s];if(!(d[fi]||d[Ft]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var y=d.getAttribute(n)||"";y=e+y;var C=i.get(y);C?C.push(d):i.set(y,[d])}}return i}function bb(e,n,l){e=e.ownerDocument||e,e.head.insertBefore(l,n==="title"?e.querySelector("head > title"):null)}function n4(e,n,l){if(l===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Sb(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}var Pi=null;function r4(){}function l4(e,n,l){if(Pi===null)throw Error(u(475));var i=Pi;if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&!(n.state.loading&4)){if(n.instance===null){var s=ya(l.href),d=e.querySelector(Ji(s));if(d){e=d._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=Jo.bind(i),e.then(i,i)),n.state.loading|=4,n.instance=d,zt(d);return}d=e.ownerDocument||e,l=mb(l),(s=Dn.get(s))&&Fd(l,s),d=d.createElement("link"),zt(d);var y=d;y._p=new Promise(function(C,R){y.onload=C,y.onerror=R}),Gt(d,"link",l),n.instance=d}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(n,e),(e=n.state.preload)&&!(n.state.loading&3)&&(i.count++,n=Jo.bind(i),e.addEventListener("load",n),e.addEventListener("error",n))}}function a4(){if(Pi===null)throw Error(u(475));var e=Pi;return e.stylesheets&&e.count===0&&Kd(e,e.stylesheets),0<e.count?function(n){var l=setTimeout(function(){if(e.stylesheets&&Kd(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(l)}}:null}function Jo(){if(this.count--,this.count===0){if(this.stylesheets)Kd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Wo=null;function Kd(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Wo=new Map,n.forEach(i4,e),Wo=null,Jo.call(e))}function i4(e,n){if(!(n.state.loading&4)){var l=Wo.get(e);if(l)var i=l.get(null);else{l=new Map,Wo.set(e,l);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<s.length;d++){var y=s[d];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(l.set(y.dataset.precedence,y),i=y)}i&&l.set(null,i)}s=n.instance,y=s.getAttribute("data-precedence"),d=l.get(y)||i,d===i&&l.set(null,s),l.set(y,s),this.count++,i=Jo.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),d?d.parentNode.insertBefore(s,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),n.state.loading|=4}}var $i={$$typeof:x,Provider:null,Consumer:null,_currentValue:ye,_currentValue2:ye,_threadCount:0};function u4(e,n,l,i,s,d,y,C){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Xc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xc(0),this.hiddenUpdates=Xc(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=d,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function xb(e,n,l,i,s,d,y,C,R,z,X,ee){return e=new u4(e,n,l,y,C,R,z,ee),n=1,d===!0&&(n|=24),d=On(3,null,null,n),e.current=d,d.stateNode=e,n=wf(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:i,isDehydrated:l,cache:n},ad(d),e}function vb(e){return e?(e=Jl,e):Jl}function Eb(e,n,l,i,s,d){s=vb(s),i.context===null?i.context=s:i.pendingContext=s,i=Ur(n),i.payload={element:l},d=d===void 0?null:d,d!==null&&(i.callback=d),l=_r(e,i,n),l!==null&&(Xt(l,e,n),Ui(l,e,n))}function Cb(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<n?l:n}}function Xd(e,n){Cb(e,n),(e=e.alternate)&&Cb(e,n)}function Ab(e){if(e.tag===13){var n=Or(e,67108864);n!==null&&Xt(n,e,67108864),Xd(e,67108864)}}var Po=!0;function o4(e,n,l,i){var s=V.T;V.T=null;var d=le.p;try{le.p=2,Zd(e,n,l,i)}finally{le.p=d,V.T=s}}function s4(e,n,l,i){var s=V.T;V.T=null;var d=le.p;try{le.p=8,Zd(e,n,l,i)}finally{le.p=d,V.T=s}}function Zd(e,n,l,i){if(Po){var s=Jd(i);if(s===null)_d(e,n,i,$o,l),Tb(e,i);else if(f4(s,e,n,l,i))i.stopPropagation();else if(Tb(e,i),n&4&&-1<c4.indexOf(e)){for(;s!==null;){var d=jl(s);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var y=$r(d.pendingLanes);if(y!==0){var C=d;for(C.pendingLanes|=2,C.entangledLanes|=2;y;){var R=1<<31-At(y);C.entanglements[1]|=R,y&=~R}Wn(d),!(ft&6)&&(Uo=De()+500,Ki(0))}}break;case 13:C=Or(d,2),C!==null&&Xt(C,d,2),jo(),Xd(d,2)}if(d=Jd(i),d===null&&_d(e,n,i,$o,l),d===s)break;s=d}s!==null&&i.stopPropagation()}else _d(e,n,i,null,l)}}function Jd(e){return e=tf(e),Wd(e)}var $o=null;function Wd(e){if($o=null,e=el(e),e!==null){var n=ie(e);if(n===null)e=null;else{var l=n.tag;if(l===13){if(e=be(n),e!==null)return e;e=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return $o=e,null}function wb(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Dt()){case Y:return 2;case $:return 8;case ce:case Ae:return 32;case He:return 268435456;default:return 32}default:return 32}}var Pd=!1,Yr=null,Fr=null,Qr=null,eu=new Map,tu=new Map,Kr=[],c4="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Tb(e,n){switch(e){case"focusin":case"focusout":Yr=null;break;case"dragenter":case"dragleave":Fr=null;break;case"mouseover":case"mouseout":Qr=null;break;case"pointerover":case"pointerout":eu.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":tu.delete(n.pointerId)}}function nu(e,n,l,i,s,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:l,eventSystemFlags:i,nativeEvent:d,targetContainers:[s]},n!==null&&(n=jl(n),n!==null&&Ab(n)),e):(e.eventSystemFlags|=i,n=e.targetContainers,s!==null&&n.indexOf(s)===-1&&n.push(s),e)}function f4(e,n,l,i,s){switch(n){case"focusin":return Yr=nu(Yr,e,n,l,i,s),!0;case"dragenter":return Fr=nu(Fr,e,n,l,i,s),!0;case"mouseover":return Qr=nu(Qr,e,n,l,i,s),!0;case"pointerover":var d=s.pointerId;return eu.set(d,nu(eu.get(d)||null,e,n,l,i,s)),!0;case"gotpointercapture":return d=s.pointerId,tu.set(d,nu(tu.get(d)||null,e,n,l,i,s)),!0}return!1}function kb(e){var n=el(e.target);if(n!==null){var l=ie(n);if(l!==null){if(n=l.tag,n===13){if(n=be(l),n!==null){e.blockedOn=n,a5(e.priority,function(){if(l.tag===13){var i=mn(),s=Or(l,i);s!==null&&Xt(s,l,i),Xd(l,i)}});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function es(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var l=Jd(e.nativeEvent);if(l===null){l=e.nativeEvent;var i=new l.constructor(l.type,l);ef=i,l.target.dispatchEvent(i),ef=null}else return n=jl(l),n!==null&&Ab(n),e.blockedOn=l,!1;n.shift()}return!0}function Rb(e,n,l){es(e)&&l.delete(n)}function d4(){Pd=!1,Yr!==null&&es(Yr)&&(Yr=null),Fr!==null&&es(Fr)&&(Fr=null),Qr!==null&&es(Qr)&&(Qr=null),eu.forEach(Rb),tu.forEach(Rb)}function ts(e,n){e.blockedOn===n&&(e.blockedOn=null,Pd||(Pd=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,d4)))}var ns=null;function Ob(e){ns!==e&&(ns=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){ns===e&&(ns=null);for(var n=0;n<e.length;n+=3){var l=e[n],i=e[n+1],s=e[n+2];if(typeof i!="function"){if(Wd(i||l)===null)continue;break}var d=jl(l);d!==null&&(e.splice(n,3),n-=3,Gf(d,{pending:!0,data:s,method:l.method,action:i},i,s))}}))}function ru(e){function n(R){return ts(R,e)}Yr!==null&&ts(Yr,e),Fr!==null&&ts(Fr,e),Qr!==null&&ts(Qr,e),eu.forEach(n),tu.forEach(n);for(var l=0;l<Kr.length;l++){var i=Kr[l];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Kr.length&&(l=Kr[0],l.blockedOn===null);)kb(l),l.blockedOn===null&&Kr.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(i=0;i<l.length;i+=3){var s=l[i],d=l[i+1],y=s[tn]||null;if(typeof d=="function")y||Ob(l);else if(y){var C=null;if(d&&d.hasAttribute("formAction")){if(s=d,y=d[tn]||null)C=y.formAction;else if(Wd(s)!==null)continue}else C=y.action;typeof C=="function"?l[i+1]=C:(l.splice(i,3),i-=3),Ob(l)}}}function $d(e){this._internalRoot=e}rs.prototype.render=$d.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(u(409));var l=n.current,i=mn();Eb(l,i,e,n,null,null)},rs.prototype.unmount=$d.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;e.tag===0&&ha(),Eb(e.current,2,null,e,null,null),jo(),n[Hl]=null}};function rs(e){this._internalRoot=e}rs.prototype.unstable_scheduleHydration=function(e){if(e){var n=ry();e={blockedOn:null,target:e,priority:n};for(var l=0;l<Kr.length&&n!==0&&n<Kr[l].priority;l++);Kr.splice(l,0,e),l===0&&kb(e)}};var Mb=r.version;if(Mb!=="19.0.0")throw Error(u(527,Mb,"19.0.0"));le.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=Z(n),e=e!==null?oe(e):null,e=e===null?null:e.stateNode,e};var h4={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:V,findFiberByHostInstance:el,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ls=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ls.isDisabled&&ls.supportsFiber)try{Bt=ls.inject(h4),Rt=ls}catch{}}return xa.createRoot=function(e,n){if(!o(e))throw Error(u(299));var l=!1,i="",s=K0,d=X0,y=Z0,C=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(C=n.unstable_transitionCallbacks)),n=xb(e,1,!1,null,null,l,i,s,d,y,C,null),e[Hl]=n.current,Ud(e.nodeType===8?e.parentNode:e),new $d(n)},xa.hydrateRoot=function(e,n,l){if(!o(e))throw Error(u(299));var i=!1,s="",d=K0,y=X0,C=Z0,R=null,z=null;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(d=l.onUncaughtError),l.onCaughtError!==void 0&&(y=l.onCaughtError),l.onRecoverableError!==void 0&&(C=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(R=l.unstable_transitionCallbacks),l.formState!==void 0&&(z=l.formState)),n=xb(e,1,!0,n,l??null,i,s,d,y,C,R,z),n.context=vb(null),l=n.current,i=mn(),s=Ur(i),s.callback=null,_r(l,s,i),n.current.lanes=i,ci(n,i),Wn(n),e[Hl]=n.current,Ud(e),new rs(n)},xa.version="19.0.0",xa}var sh;function Hb(){if(sh)return is.exports;sh=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),is.exports=_b(),is.exports}var jb=Hb();function cs(){return cs=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var u in a)({}).hasOwnProperty.call(a,u)&&(t[u]=a[u])}return t},cs.apply(null,arguments)}function ch(t){var r=Object.create(null);return function(a){return r[a]===void 0&&(r[a]=t(a)),r[a]}}var Ib=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Gb=ch(function(t){return Ib.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});function qb(t){if(t.sheet)return t.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===t)return document.styleSheets[r]}function Vb(t){var r=document.createElement("style");return r.setAttribute("data-emotion",t.key),t.nonce!==void 0&&r.setAttribute("nonce",t.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var Yb=function(){function t(a){var u=this;this._insertTag=function(o){var c;u.tags.length===0?u.insertionPoint?c=u.insertionPoint.nextSibling:u.prepend?c=u.container.firstChild:c=u.before:c=u.tags[u.tags.length-1].nextSibling,u.container.insertBefore(o,c),u.tags.push(o)},this.isSpeedy=a.speedy===void 0?!0:a.speedy,this.tags=[],this.ctr=0,this.nonce=a.nonce,this.key=a.key,this.container=a.container,this.prepend=a.prepend,this.insertionPoint=a.insertionPoint,this.before=null}var r=t.prototype;return r.hydrate=function(u){u.forEach(this._insertTag)},r.insert=function(u){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Vb(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var c=qb(o);try{c.insertRule(u,c.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(u));this.ctr++},r.flush=function(){this.tags.forEach(function(u){var o;return(o=u.parentNode)==null?void 0:o.removeChild(u)}),this.tags=[],this.ctr=0},t}(),Vt="-ms-",au="-moz-",Xe="-webkit-",fh="comm",fs="rule",ds="decl",Fb="@import",dh="@keyframes",Qb="@layer",Kb=Math.abs,iu=String.fromCharCode,Xb=Object.assign;function Zb(t,r){return _t(t,0)^45?(((r<<2^_t(t,0))<<2^_t(t,1))<<2^_t(t,2))<<2^_t(t,3):0}function hh(t){return t.trim()}function Jb(t,r){return(t=r.exec(t))?t[0]:t}function Ze(t,r,a){return t.replace(r,a)}function hs(t,r){return t.indexOf(r)}function _t(t,r){return t.charCodeAt(r)|0}function va(t,r,a){return t.slice(r,a)}function jn(t){return t.length}function ps(t){return t.length}function uu(t,r){return r.push(t),t}function Wb(t,r){return t.map(r).join("")}var ou=1,Cl=1,ph=0,Zt=0,vt=0,Al="";function su(t,r,a,u,o,c,f){return{value:t,root:r,parent:a,type:u,props:o,children:c,line:ou,column:Cl,length:f,return:""}}function Ea(t,r){return Xb(su("",null,null,"",null,null,0),t,{length:-t.length},r)}function Pb(){return vt}function $b(){return vt=Zt>0?_t(Al,--Zt):0,Cl--,vt===10&&(Cl=1,ou--),vt}function ln(){return vt=Zt<ph?_t(Al,Zt++):0,Cl++,vt===10&&(Cl=1,ou++),vt}function In(){return _t(Al,Zt)}function cu(){return Zt}function Ca(t,r){return va(Al,t,r)}function Aa(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mh(t){return ou=Cl=1,ph=jn(Al=t),Zt=0,[]}function gh(t){return Al="",t}function fu(t){return hh(Ca(Zt-1,ms(t===91?t+2:t===40?t+1:t)))}function eS(t){for(;(vt=In())&&vt<33;)ln();return Aa(t)>2||Aa(vt)>3?"":" "}function tS(t,r){for(;--r&&ln()&&!(vt<48||vt>102||vt>57&&vt<65||vt>70&&vt<97););return Ca(t,cu()+(r<6&&In()==32&&ln()==32))}function ms(t){for(;ln();)switch(vt){case t:return Zt;case 34:case 39:t!==34&&t!==39&&ms(vt);break;case 40:t===41&&ms(t);break;case 92:ln();break}return Zt}function nS(t,r){for(;ln()&&t+vt!==57;)if(t+vt===84&&In()===47)break;return"/*"+Ca(r,Zt-1)+"*"+iu(t===47?t:ln())}function rS(t){for(;!Aa(In());)ln();return Ca(t,Zt)}function lS(t){return gh(du("",null,null,null,[""],t=mh(t),0,[0],t))}function du(t,r,a,u,o,c,f,h,m){for(var p=0,g=0,b=f,v=0,x=0,M=0,T=1,H=1,A=1,N=0,O="",_=o,k=c,D=u,F=O;H;)switch(M=N,N=ln()){case 40:if(M!=108&&_t(F,b-1)==58){hs(F+=Ze(fu(N),"&","&\f"),"&\f")!=-1&&(A=-1);break}case 34:case 39:case 91:F+=fu(N);break;case 9:case 10:case 13:case 32:F+=eS(M);break;case 92:F+=tS(cu()-1,7);continue;case 47:switch(In()){case 42:case 47:uu(aS(nS(ln(),cu()),r,a),m);break;default:F+="/"}break;case 123*T:h[p++]=jn(F)*A;case 125*T:case 59:case 0:switch(N){case 0:case 125:H=0;case 59+g:A==-1&&(F=Ze(F,/\f/g,"")),x>0&&jn(F)-b&&uu(x>32?bh(F+";",u,a,b-1):bh(Ze(F," ","")+";",u,a,b-2),m);break;case 59:F+=";";default:if(uu(D=yh(F,r,a,p,g,o,h,O,_=[],k=[],b),c),N===123)if(g===0)du(F,r,D,D,_,c,b,h,k);else switch(v===99&&_t(F,3)===110?100:v){case 100:case 108:case 109:case 115:du(t,D,D,u&&uu(yh(t,D,D,0,0,o,h,O,o,_=[],b),k),o,k,b,h,u?_:k);break;default:du(F,D,D,D,[""],k,0,h,k)}}p=g=x=0,T=A=1,O=F="",b=f;break;case 58:b=1+jn(F),x=M;default:if(T<1){if(N==123)--T;else if(N==125&&T++==0&&$b()==125)continue}switch(F+=iu(N),N*T){case 38:A=g>0?1:(F+="\f",-1);break;case 44:h[p++]=(jn(F)-1)*A,A=1;break;case 64:In()===45&&(F+=fu(ln())),v=In(),g=b=jn(O=F+=rS(cu())),N++;break;case 45:M===45&&jn(F)==2&&(T=0)}}return c}function yh(t,r,a,u,o,c,f,h,m,p,g){for(var b=o-1,v=o===0?c:[""],x=ps(v),M=0,T=0,H=0;M<u;++M)for(var A=0,N=va(t,b+1,b=Kb(T=f[M])),O=t;A<x;++A)(O=hh(T>0?v[A]+" "+N:Ze(N,/&\f/g,v[A])))&&(m[H++]=O);return su(t,r,a,o===0?fs:h,m,p,g)}function aS(t,r,a){return su(t,r,a,fh,iu(Pb()),va(t,2,-2),0)}function bh(t,r,a,u){return su(t,r,a,ds,va(t,0,u),va(t,u+1,-1),u)}function wl(t,r){for(var a="",u=ps(t),o=0;o<u;o++)a+=r(t[o],o,t,r)||"";return a}function iS(t,r,a,u){switch(t.type){case Qb:if(t.children.length)break;case Fb:case ds:return t.return=t.return||t.value;case fh:return"";case dh:return t.return=t.value+"{"+wl(t.children,u)+"}";case fs:t.value=t.props.join(",")}return jn(a=wl(t.children,u))?t.return=t.value+"{"+a+"}":""}function uS(t){var r=ps(t);return function(a,u,o,c){for(var f="",h=0;h<r;h++)f+=t[h](a,u,o,c)||"";return f}}function oS(t){return function(r){r.root||(r=r.return)&&t(r)}}var sS=function(r,a,u){for(var o=0,c=0;o=c,c=In(),o===38&&c===12&&(a[u]=1),!Aa(c);)ln();return Ca(r,Zt)},cS=function(r,a){var u=-1,o=44;do switch(Aa(o)){case 0:o===38&&In()===12&&(a[u]=1),r[u]+=sS(Zt-1,a,u);break;case 2:r[u]+=fu(o);break;case 4:if(o===44){r[++u]=In()===58?"&\f":"",a[u]=r[u].length;break}default:r[u]+=iu(o)}while(o=ln());return r},fS=function(r,a){return gh(cS(mh(r),a))},Sh=new WeakMap,dS=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var a=r.value,u=r.parent,o=r.column===u.column&&r.line===u.line;u.type!=="rule";)if(u=u.parent,!u)return;if(!(r.props.length===1&&a.charCodeAt(0)!==58&&!Sh.get(u))&&!o){Sh.set(r,!0);for(var c=[],f=fS(a,c),h=u.props,m=0,p=0;m<f.length;m++)for(var g=0;g<h.length;g++,p++)r.props[p]=c[m]?f[m].replace(/&\f/g,h[g]):h[g]+" "+f[m]}}},hS=function(r){if(r.type==="decl"){var a=r.value;a.charCodeAt(0)===108&&a.charCodeAt(2)===98&&(r.return="",r.value="")}};function xh(t,r){switch(Zb(t,r)){case 5103:return Xe+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Xe+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Xe+t+au+t+Vt+t+t;case 6828:case 4268:return Xe+t+Vt+t+t;case 6165:return Xe+t+Vt+"flex-"+t+t;case 5187:return Xe+t+Ze(t,/(\w+).+(:[^]+)/,Xe+"box-$1$2"+Vt+"flex-$1$2")+t;case 5443:return Xe+t+Vt+"flex-item-"+Ze(t,/flex-|-self/,"")+t;case 4675:return Xe+t+Vt+"flex-line-pack"+Ze(t,/align-content|flex-|-self/,"")+t;case 5548:return Xe+t+Vt+Ze(t,"shrink","negative")+t;case 5292:return Xe+t+Vt+Ze(t,"basis","preferred-size")+t;case 6060:return Xe+"box-"+Ze(t,"-grow","")+Xe+t+Vt+Ze(t,"grow","positive")+t;case 4554:return Xe+Ze(t,/([^-])(transform)/g,"$1"+Xe+"$2")+t;case 6187:return Ze(Ze(Ze(t,/(zoom-|grab)/,Xe+"$1"),/(image-set)/,Xe+"$1"),t,"")+t;case 5495:case 3959:return Ze(t,/(image-set\([^]*)/,Xe+"$1$`$1");case 4968:return Ze(Ze(t,/(.+:)(flex-)?(.*)/,Xe+"box-pack:$3"+Vt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Xe+t+t;case 4095:case 3583:case 4068:case 2532:return Ze(t,/(.+)-inline(.+)/,Xe+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(jn(t)-1-r>6)switch(_t(t,r+1)){case 109:if(_t(t,r+4)!==45)break;case 102:return Ze(t,/(.+:)(.+)-([^]+)/,"$1"+Xe+"$2-$3$1"+au+(_t(t,r+3)==108?"$3":"$2-$3"))+t;case 115:return~hs(t,"stretch")?xh(Ze(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(_t(t,r+1)!==115)break;case 6444:switch(_t(t,jn(t)-3-(~hs(t,"!important")&&10))){case 107:return Ze(t,":",":"+Xe)+t;case 101:return Ze(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xe+(_t(t,14)===45?"inline-":"")+"box$3$1"+Xe+"$2$3$1"+Vt+"$2box$3")+t}break;case 5936:switch(_t(t,r+11)){case 114:return Xe+t+Vt+Ze(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Xe+t+Vt+Ze(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Xe+t+Vt+Ze(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Xe+t+Vt+t+t}return t}var pS=function(r,a,u,o){if(r.length>-1&&!r.return)switch(r.type){case ds:r.return=xh(r.value,r.length);break;case dh:return wl([Ea(r,{value:Ze(r.value,"@","@"+Xe)})],o);case fs:if(r.length)return Wb(r.props,function(c){switch(Jb(c,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wl([Ea(r,{props:[Ze(c,/:(read-\w+)/,":"+au+"$1")]})],o);case"::placeholder":return wl([Ea(r,{props:[Ze(c,/:(plac\w+)/,":"+Xe+"input-$1")]}),Ea(r,{props:[Ze(c,/:(plac\w+)/,":"+au+"$1")]}),Ea(r,{props:[Ze(c,/:(plac\w+)/,Vt+"input-$1")]})],o)}return""})}},mS=[pS],gS=function(r){var a=r.key;if(a==="css"){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(T){var H=T.getAttribute("data-emotion");H.indexOf(" ")!==-1&&(document.head.appendChild(T),T.setAttribute("data-s",""))})}var o=r.stylisPlugins||mS,c={},f,h=[];f=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(T){for(var H=T.getAttribute("data-emotion").split(" "),A=1;A<H.length;A++)c[H[A]]=!0;h.push(T)});var m,p=[dS,hS];{var g,b=[iS,oS(function(T){g.insert(T)})],v=uS(p.concat(o,b)),x=function(H){return wl(lS(H),v)};m=function(H,A,N,O){g=N,x(H?H+"{"+A.styles+"}":A.styles),O&&(M.inserted[A.name]=!0)}}var M={key:a,sheet:new Yb({key:a,container:f,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:c,registered:{},insert:m};return M.sheet.hydrate(h),M},gs={exports:{}},We={};/** @license React v16.13.1
42
+ * react-is.production.min.js
43
+ *
44
+ * Copyright (c) Facebook, Inc. and its affiliates.
45
+ *
46
+ * This source code is licensed under the MIT license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ */var vh;function yS(){if(vh)return We;vh=1;var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,u=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,c=t?Symbol.for("react.profiler"):60114,f=t?Symbol.for("react.provider"):60109,h=t?Symbol.for("react.context"):60110,m=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,g=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,v=t?Symbol.for("react.suspense_list"):60120,x=t?Symbol.for("react.memo"):60115,M=t?Symbol.for("react.lazy"):60116,T=t?Symbol.for("react.block"):60121,H=t?Symbol.for("react.fundamental"):60117,A=t?Symbol.for("react.responder"):60118,N=t?Symbol.for("react.scope"):60119;function O(k){if(typeof k=="object"&&k!==null){var D=k.$$typeof;switch(D){case r:switch(k=k.type,k){case m:case p:case u:case c:case o:case b:return k;default:switch(k=k&&k.$$typeof,k){case h:case g:case M:case x:case f:return k;default:return D}}case a:return D}}}function _(k){return O(k)===p}return We.AsyncMode=m,We.ConcurrentMode=p,We.ContextConsumer=h,We.ContextProvider=f,We.Element=r,We.ForwardRef=g,We.Fragment=u,We.Lazy=M,We.Memo=x,We.Portal=a,We.Profiler=c,We.StrictMode=o,We.Suspense=b,We.isAsyncMode=function(k){return _(k)||O(k)===m},We.isConcurrentMode=_,We.isContextConsumer=function(k){return O(k)===h},We.isContextProvider=function(k){return O(k)===f},We.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===r},We.isForwardRef=function(k){return O(k)===g},We.isFragment=function(k){return O(k)===u},We.isLazy=function(k){return O(k)===M},We.isMemo=function(k){return O(k)===x},We.isPortal=function(k){return O(k)===a},We.isProfiler=function(k){return O(k)===c},We.isStrictMode=function(k){return O(k)===o},We.isSuspense=function(k){return O(k)===b},We.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===u||k===p||k===c||k===o||k===b||k===v||typeof k=="object"&&k!==null&&(k.$$typeof===M||k.$$typeof===x||k.$$typeof===f||k.$$typeof===h||k.$$typeof===g||k.$$typeof===H||k.$$typeof===A||k.$$typeof===N||k.$$typeof===T)},We.typeOf=O,We}var Eh;function bS(){return Eh||(Eh=1,gs.exports=yS()),gs.exports}var ys,Ch;function SS(){if(Ch)return ys;Ch=1;var t=bS(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[t.ForwardRef]=u,c[t.Memo]=o;function f(M){return t.isMemo(M)?o:c[M.$$typeof]||r}var h=Object.defineProperty,m=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,v=Object.prototype;function x(M,T,H){if(typeof T!="string"){if(v){var A=b(T);A&&A!==v&&x(M,A,H)}var N=m(T);p&&(N=N.concat(p(T)));for(var O=f(M),_=f(T),k=0;k<N.length;++k){var D=N[k];if(!a[D]&&!(H&&H[D])&&!(_&&_[D])&&!(O&&O[D])){var F=g(T,D);try{h(M,D,F)}catch{}}}}return M}return ys=x,ys}SS();var xS=!0;function vS(t,r,a){var u="";return a.split(" ").forEach(function(o){t[o]!==void 0?r.push(t[o]+";"):o&&(u+=o+" ")}),u}var Ah=function(r,a,u){var o=r.key+"-"+a.name;(u===!1||xS===!1)&&r.registered[o]===void 0&&(r.registered[o]=a.styles)},wh=function(r,a,u){Ah(r,a,u);var o=r.key+"-"+a.name;if(r.inserted[a.name]===void 0){var c=a;do r.insert(a===c?"."+o:"",c,r.sheet,!0),c=c.next;while(c!==void 0)}};function ES(t){for(var r=0,a,u=0,o=t.length;o>=4;++u,o-=4)a=t.charCodeAt(u)&255|(t.charCodeAt(++u)&255)<<8|(t.charCodeAt(++u)&255)<<16|(t.charCodeAt(++u)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,r=(a&65535)*1540483477+((a>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(t.charCodeAt(u+2)&255)<<16;case 2:r^=(t.charCodeAt(u+1)&255)<<8;case 1:r^=t.charCodeAt(u)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var CS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},AS=/[A-Z]|^ms/g,wS=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Th=function(r){return r.charCodeAt(1)===45},kh=function(r){return r!=null&&typeof r!="boolean"},bs=ch(function(t){return Th(t)?t:t.replace(AS,"-$&").toLowerCase()}),Rh=function(r,a){switch(r){case"animation":case"animationName":if(typeof a=="string")return a.replace(wS,function(u,o,c){return Gn={name:o,styles:c,next:Gn},o})}return CS[r]!==1&&!Th(r)&&typeof a=="number"&&a!==0?a+"px":a};function wa(t,r,a){if(a==null)return"";var u=a;if(u.__emotion_styles!==void 0)return u;switch(typeof a){case"boolean":return"";case"object":{var o=a;if(o.anim===1)return Gn={name:o.name,styles:o.styles,next:Gn},o.name;var c=a;if(c.styles!==void 0){var f=c.next;if(f!==void 0)for(;f!==void 0;)Gn={name:f.name,styles:f.styles,next:Gn},f=f.next;var h=c.styles+";";return h}return TS(t,r,a)}case"function":{if(t!==void 0){var m=Gn,p=a(t);return Gn=m,wa(t,r,p)}break}}var g=a;if(r==null)return g;var b=r[g];return b!==void 0?b:g}function TS(t,r,a){var u="";if(Array.isArray(a))for(var o=0;o<a.length;o++)u+=wa(t,r,a[o])+";";else for(var c in a){var f=a[c];if(typeof f!="object"){var h=f;r!=null&&r[h]!==void 0?u+=c+"{"+r[h]+"}":kh(h)&&(u+=bs(c)+":"+Rh(c,h)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&(r==null||r[f[0]]===void 0))for(var m=0;m<f.length;m++)kh(f[m])&&(u+=bs(c)+":"+Rh(c,f[m])+";");else{var p=wa(t,r,f);switch(c){case"animation":case"animationName":{u+=bs(c)+":"+p+";";break}default:u+=c+"{"+p+"}"}}}return u}var Oh=/label:\s*([^\s;{]+)\s*(;|$)/g,Gn;function hu(t,r,a){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var u=!0,o="";Gn=void 0;var c=t[0];if(c==null||c.raw===void 0)u=!1,o+=wa(a,r,c);else{var f=c;o+=f[0]}for(var h=1;h<t.length;h++)if(o+=wa(a,r,t[h]),u){var m=c;o+=m[h]}Oh.lastIndex=0;for(var p="",g;(g=Oh.exec(o))!==null;)p+="-"+g[1];var b=ES(o)+p;return{name:b,styles:o,next:Gn}}var kS=function(r){return r()},Mh=rh.useInsertionEffect?rh.useInsertionEffect:!1,RS=Mh||kS,Dh=Mh||U.useLayoutEffect,Bh=U.createContext(typeof HTMLElement<"u"?gS({key:"css"}):null);Bh.Provider;var zh=function(r){return U.forwardRef(function(a,u){var o=U.useContext(Bh);return r(a,o,u)})},Ta=U.createContext({}),Nh=function(){return U.useContext(Ta)},OS=zh(function(t,r){var a=t.styles,u=hu([a],void 0,U.useContext(Ta)),o=U.useRef();return Dh(function(){var c=r.key+"-global",f=new r.sheet.constructor({key:c,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),h=!1,m=document.querySelector('style[data-emotion="'+c+" "+u.name+'"]');return r.sheet.tags.length&&(f.before=r.sheet.tags[0]),m!==null&&(h=!0,m.setAttribute("data-emotion",c),f.hydrate([m])),o.current=[f,h],function(){f.flush()}},[r]),Dh(function(){var c=o.current,f=c[0],h=c[1];if(h){c[1]=!1;return}if(u.next!==void 0&&wh(r,u.next,!0),f.tags.length){var m=f.tags[f.tags.length-1].nextElementSibling;f.before=m,f.flush()}r.insert("",u,f,!1)},[r,u.name]),null});function ka(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return hu(r)}var Lh=function(){var r=ka.apply(void 0,arguments),a="animation-"+r.name;return{name:a,styles:"@keyframes "+a+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},MS=Gb,DS=function(r){return r!=="theme"},Uh=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?MS:DS},_h=function(r,a,u){var o;if(a){var c=a.shouldForwardProp;o=r.__emotion_forwardProp&&c?function(f){return r.__emotion_forwardProp(f)&&c(f)}:c}return typeof o!="function"&&u&&(o=r.__emotion_forwardProp),o},BS=function(r){var a=r.cache,u=r.serialized,o=r.isStringTag;return Ah(a,u,o),RS(function(){return wh(a,u,o)}),null},zS=function t(r,a){var u=r.__emotion_real===r,o=u&&r.__emotion_base||r,c,f;a!==void 0&&(c=a.label,f=a.target);var h=_h(r,a,u),m=h||Uh(o),p=!m("as");return function(){var g=arguments,b=u&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(c!==void 0&&b.push("label:"+c+";"),g[0]==null||g[0].raw===void 0)b.push.apply(b,g);else{b.push(g[0][0]);for(var v=g.length,x=1;x<v;x++)b.push(g[x],g[0][x])}var M=zh(function(T,H,A){var N=p&&T.as||o,O="",_=[],k=T;if(T.theme==null){k={};for(var D in T)k[D]=T[D];k.theme=U.useContext(Ta)}typeof T.className=="string"?O=vS(H.registered,_,T.className):T.className!=null&&(O=T.className+" ");var F=hu(b.concat(_),H.registered,k);O+=H.key+"-"+F.name,f!==void 0&&(O+=" "+f);var ne=p&&h===void 0?Uh(N):m,V={};for(var E in T)p&&E==="as"||ne(E)&&(V[E]=T[E]);return V.className=O,A&&(V.ref=A),U.createElement(U.Fragment,null,U.createElement(BS,{cache:H,serialized:F,isStringTag:typeof N=="string"}),U.createElement(N,V))});return M.displayName=c!==void 0?c:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",M.defaultProps=r.defaultProps,M.__emotion_real=M,M.__emotion_base=o,M.__emotion_styles=b,M.__emotion_forwardProp=h,Object.defineProperty(M,"toString",{value:function(){return"."+f}}),M.withComponent=function(T,H){return t(T,cs({},a,H,{shouldForwardProp:_h(M,H,!0)})).apply(void 0,b)},M}},NS=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Pe=zS.bind();NS.forEach(function(t){Pe[t]=Pe(t)});function Hh(t){var r,a,u="";if(typeof t=="string"||typeof t=="number")u+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(a=Hh(t[r]))&&(u&&(u+=" "),u+=a)}else for(a in t)t[a]&&(u&&(u+=" "),u+=a);return u}function pu(){for(var t,r,a=0,u="",o=arguments.length;a<o;a++)(t=arguments[a])&&(r=Hh(t))&&(u&&(u+=" "),u+=r);return u}function Ss(t,r,a=void 0){const u={};for(const o in t){const c=t[o];let f="",h=!0;for(let m=0;m<c.length;m+=1){const p=c[m];p&&(f+=(h===!0?"":" ")+r(p),h=!1,a&&a[p]&&(f+=" "+a[p]))}u[o]=f}return u}function Sr(t,...r){const a=new URL(`https://mui.com/production-error/?code=${t}`);return r.forEach(u=>a.searchParams.append("args[]",u)),`Minified MUI error #${t}; visit ${a} for the full message.`}const xr="$$material";var xs={exports:{}},Ra={};/**
49
+ * @license React
50
+ * react-jsx-runtime.production.js
51
+ *
52
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE file in the root directory of this source tree.
56
+ */var jh;function LS(){if(jh)return Ra;jh=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function a(u,o,c){var f=null;if(c!==void 0&&(f=""+c),o.key!==void 0&&(f=""+o.key),"key"in o){c={};for(var h in o)h!=="key"&&(c[h]=o[h])}else c=o;return o=c.ref,{$$typeof:t,type:u,key:f,ref:o!==void 0?o:null,props:c}}return Ra.Fragment=r,Ra.jsx=a,Ra.jsxs=a,Ra}var Ih;function US(){return Ih||(Ih=1,xs.exports=LS()),xs.exports}var Ve=US();function _S(t){return t==null||Object.keys(t).length===0}function Gh(t){const{styles:r,defaultTheme:a={}}=t,u=typeof r=="function"?o=>r(_S(o)?a:o):r;return Ve.jsx(OS,{styles:u})}/**
57
+ * @mui/styled-engine v6.1.6
58
+ *
59
+ * @license MIT
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ */function HS(t,r){return Pe(t,r)}function jS(t,r){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=r(t.__emotion_styles))}const qh=[];function Vh(t){return qh[0]=t,hu(qh)}function qn(t){if(typeof t!="object"||t===null)return!1;const r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Yh(t){if(!qn(t))return t;const r={};return Object.keys(t).forEach(a=>{r[a]=Yh(t[a])}),r}function Jt(t,r,a={clone:!0}){const u=a.clone?{...t}:t;return qn(t)&&qn(r)&&Object.keys(r).forEach(o=>{qn(r[o])&&Object.prototype.hasOwnProperty.call(t,o)&&qn(t[o])?u[o]=Jt(t[o],r[o],a):a.clone?u[o]=qn(r[o])?Yh(r[o]):r[o]:u[o]=r[o]}),u}const IS=t=>{const r=Object.keys(t).map(a=>({key:a,val:t[a]}))||[];return r.sort((a,u)=>a.val-u.val),r.reduce((a,u)=>({...a,[u.key]:u.val}),{})};function GS(t){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:a="px",step:u=5,...o}=t,c=IS(r),f=Object.keys(c);function h(v){return`@media (min-width:${typeof r[v]=="number"?r[v]:v}${a})`}function m(v){return`@media (max-width:${(typeof r[v]=="number"?r[v]:v)-u/100}${a})`}function p(v,x){const M=f.indexOf(x);return`@media (min-width:${typeof r[v]=="number"?r[v]:v}${a}) and (max-width:${(M!==-1&&typeof r[f[M]]=="number"?r[f[M]]:x)-u/100}${a})`}function g(v){return f.indexOf(v)+1<f.length?p(v,f[f.indexOf(v)+1]):h(v)}function b(v){const x=f.indexOf(v);return x===0?h(f[1]):x===f.length-1?m(f[x]):p(v,f[f.indexOf(v)+1]).replace("@media","@media not all and")}return{keys:f,values:c,up:h,down:m,between:p,only:g,not:b,unit:a,...o}}function qS(t,r){if(!t.containerQueries)return r;const a=Object.keys(r).filter(u=>u.startsWith("@container")).sort((u,o)=>{var f,h;const c=/min-width:\s*([0-9.]+)/;return+(((f=u.match(c))==null?void 0:f[1])||0)-+(((h=o.match(c))==null?void 0:h[1])||0)});return a.length?a.reduce((u,o)=>{const c=r[o];return delete u[o],u[o]=c,u},{...r}):r}function VS(t,r){return r==="@"||r.startsWith("@")&&(t.some(a=>r.startsWith(`@${a}`))||!!r.match(/^@\d/))}function YS(t,r){const a=r.match(/^@([^/]+)?\/?(.+)?$/);if(!a)return null;const[,u,o]=a,c=Number.isNaN(+u)?u||0:+u;return t.containerQueries(o).up(c)}function FS(t){const r=(c,f)=>c.replace("@media",f?`@container ${f}`:"@container");function a(c,f){c.up=(...h)=>r(t.breakpoints.up(...h),f),c.down=(...h)=>r(t.breakpoints.down(...h),f),c.between=(...h)=>r(t.breakpoints.between(...h),f),c.only=(...h)=>r(t.breakpoints.only(...h),f),c.not=(...h)=>{const m=r(t.breakpoints.not(...h),f);return m.includes("not all and")?m.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):m}}const u={},o=c=>(a(u,c),u);return a(o),{...t,containerQueries:o}}const QS={borderRadius:4};function Oa(t,r){return r?Jt(t,r,{clone:!1}):t}const mu={xs:0,sm:600,md:900,lg:1200,xl:1536},Fh={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${mu[t]}px)`},KS={containerQueries:t=>({up:r=>{let a=typeof r=="number"?r:mu[r]||r;return typeof a=="number"&&(a=`${a}px`),t?`@container ${t} (min-width:${a})`:`@container (min-width:${a})`}})};function Pn(t,r,a){const u=t.theme||{};if(Array.isArray(r)){const c=u.breakpoints||Fh;return r.reduce((f,h,m)=>(f[c.up(c.keys[m])]=a(r[m]),f),{})}if(typeof r=="object"){const c=u.breakpoints||Fh;return Object.keys(r).reduce((f,h)=>{if(VS(c.keys,h)){const m=YS(u.containerQueries?u:KS,h);m&&(f[m]=a(r[h],h))}else if(Object.keys(c.values||mu).includes(h)){const m=c.up(h);f[m]=a(r[h],h)}else{const m=h;f[m]=r[m]}return f},{})}return a(r)}function XS(t={}){var a;return((a=t.keys)==null?void 0:a.reduce((u,o)=>{const c=t.up(o);return u[c]={},u},{}))||{}}function ZS(t,r){return t.reduce((a,u)=>{const o=a[u];return(!o||Object.keys(o).length===0)&&delete a[u],a},r)}function vr(t){if(typeof t!="string")throw new Error(Sr(7));return t.charAt(0).toUpperCase()+t.slice(1)}function gu(t,r,a=!0){if(!r||typeof r!="string")return null;if(t&&t.vars&&a){const u=`vars.${r}`.split(".").reduce((o,c)=>o&&o[c]?o[c]:null,t);if(u!=null)return u}return r.split(".").reduce((u,o)=>u&&u[o]!=null?u[o]:null,t)}function yu(t,r,a,u=a){let o;return typeof t=="function"?o=t(a):Array.isArray(t)?o=t[a]||u:o=gu(t,a)||u,r&&(o=r(o,u,t)),o}function bt(t){const{prop:r,cssProperty:a=t.prop,themeKey:u,transform:o}=t,c=f=>{if(f[r]==null)return null;const h=f[r],m=f.theme,p=gu(m,u)||{};return Pn(f,h,b=>{let v=yu(p,o,b);return b===v&&typeof b=="string"&&(v=yu(p,o,`${r}${b==="default"?"":vr(b)}`,b)),a===!1?v:{[a]:v}})};return c.propTypes={},c.filterProps=[r],c}function JS(t){const r={};return a=>(r[a]===void 0&&(r[a]=t(a)),r[a])}const WS={m:"margin",p:"padding"},PS={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qh={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$S=JS(t=>{if(t.length>2)if(Qh[t])t=Qh[t];else return[t];const[r,a]=t.split(""),u=WS[r],o=PS[a]||"";return Array.isArray(o)?o.map(c=>u+c):[u+o]}),vs=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Es=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...vs,...Es];function Ma(t,r,a,u){const o=gu(t,r,!0)??a;return typeof o=="number"||typeof o=="string"?c=>typeof c=="string"?c:typeof o=="string"?`calc(${c} * ${o})`:o*c:Array.isArray(o)?c=>{if(typeof c=="string")return c;const f=Math.abs(c),h=o[f];return c>=0?h:typeof h=="number"?-h:`-${h}`}:typeof o=="function"?o:()=>{}}function Cs(t){return Ma(t,"spacing",8)}function Da(t,r){return typeof r=="string"||r==null?r:t(r)}function ex(t,r){return a=>t.reduce((u,o)=>(u[o]=Da(r,a),u),{})}function tx(t,r,a,u){if(!r.includes(a))return null;const o=$S(a),c=ex(o,u),f=t[a];return Pn(t,f,c)}function Kh(t,r){const a=Cs(t.theme);return Object.keys(t).map(u=>tx(t,r,u,a)).reduce(Oa,{})}function dt(t){return Kh(t,vs)}dt.propTypes={},dt.filterProps=vs;function ht(t){return Kh(t,Es)}ht.propTypes={},ht.filterProps=Es;function Xh(t=8,r=Cs({spacing:t})){if(t.mui)return t;const a=(...u)=>(u.length===0?[1]:u).map(c=>{const f=r(c);return typeof f=="number"?`${f}px`:f}).join(" ");return a.mui=!0,a}function bu(...t){const r=t.reduce((u,o)=>(o.filterProps.forEach(c=>{u[c]=o}),u),{}),a=u=>Object.keys(u).reduce((o,c)=>r[c]?Oa(o,r[c](u)):o,{});return a.propTypes={},a.filterProps=t.reduce((u,o)=>u.concat(o.filterProps),[]),a}function gn(t){return typeof t!="number"?t:`${t}px solid`}function yn(t,r){return bt({prop:t,themeKey:"borders",transform:r})}const nx=yn("border",gn),rx=yn("borderTop",gn),lx=yn("borderRight",gn),ax=yn("borderBottom",gn),ix=yn("borderLeft",gn),ux=yn("borderColor"),ox=yn("borderTopColor"),sx=yn("borderRightColor"),cx=yn("borderBottomColor"),fx=yn("borderLeftColor"),dx=yn("outline",gn),hx=yn("outlineColor"),Su=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const r=Ma(t.theme,"shape.borderRadius",4),a=u=>({borderRadius:Da(r,u)});return Pn(t,t.borderRadius,a)}return null};Su.propTypes={},Su.filterProps=["borderRadius"],bu(nx,rx,lx,ax,ix,ux,ox,sx,cx,fx,Su,dx,hx);const xu=t=>{if(t.gap!==void 0&&t.gap!==null){const r=Ma(t.theme,"spacing",8),a=u=>({gap:Da(r,u)});return Pn(t,t.gap,a)}return null};xu.propTypes={},xu.filterProps=["gap"];const vu=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const r=Ma(t.theme,"spacing",8),a=u=>({columnGap:Da(r,u)});return Pn(t,t.columnGap,a)}return null};vu.propTypes={},vu.filterProps=["columnGap"];const Eu=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const r=Ma(t.theme,"spacing",8),a=u=>({rowGap:Da(r,u)});return Pn(t,t.rowGap,a)}return null};Eu.propTypes={},Eu.filterProps=["rowGap"];const px=bt({prop:"gridColumn"}),mx=bt({prop:"gridRow"}),gx=bt({prop:"gridAutoFlow"}),yx=bt({prop:"gridAutoColumns"}),bx=bt({prop:"gridAutoRows"}),Sx=bt({prop:"gridTemplateColumns"}),xx=bt({prop:"gridTemplateRows"}),vx=bt({prop:"gridTemplateAreas"}),Ex=bt({prop:"gridArea"});bu(xu,vu,Eu,px,mx,gx,yx,bx,Sx,xx,vx,Ex);function Tl(t,r){return r==="grey"?r:t}const Cx=bt({prop:"color",themeKey:"palette",transform:Tl}),Ax=bt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tl}),wx=bt({prop:"backgroundColor",themeKey:"palette",transform:Tl});bu(Cx,Ax,wx);function an(t){return t<=1&&t!==0?`${t*100}%`:t}const Tx=bt({prop:"width",transform:an}),As=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const r=a=>{var o,c,f,h,m;const u=((f=(c=(o=t.theme)==null?void 0:o.breakpoints)==null?void 0:c.values)==null?void 0:f[a])||mu[a];return u?((m=(h=t.theme)==null?void 0:h.breakpoints)==null?void 0:m.unit)!=="px"?{maxWidth:`${u}${t.theme.breakpoints.unit}`}:{maxWidth:u}:{maxWidth:an(a)}};return Pn(t,t.maxWidth,r)}return null};As.filterProps=["maxWidth"];const kx=bt({prop:"minWidth",transform:an}),Rx=bt({prop:"height",transform:an}),Ox=bt({prop:"maxHeight",transform:an}),Mx=bt({prop:"minHeight",transform:an});bt({prop:"size",cssProperty:"width",transform:an}),bt({prop:"size",cssProperty:"height",transform:an});const Dx=bt({prop:"boxSizing"});bu(Tx,As,kx,Rx,Ox,Mx,Dx);const Ba={border:{themeKey:"borders",transform:gn},borderTop:{themeKey:"borders",transform:gn},borderRight:{themeKey:"borders",transform:gn},borderBottom:{themeKey:"borders",transform:gn},borderLeft:{themeKey:"borders",transform:gn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:gn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Su},color:{themeKey:"palette",transform:Tl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tl},backgroundColor:{themeKey:"palette",transform:Tl},p:{style:ht},pt:{style:ht},pr:{style:ht},pb:{style:ht},pl:{style:ht},px:{style:ht},py:{style:ht},padding:{style:ht},paddingTop:{style:ht},paddingRight:{style:ht},paddingBottom:{style:ht},paddingLeft:{style:ht},paddingX:{style:ht},paddingY:{style:ht},paddingInline:{style:ht},paddingInlineStart:{style:ht},paddingInlineEnd:{style:ht},paddingBlock:{style:ht},paddingBlockStart:{style:ht},paddingBlockEnd:{style:ht},m:{style:dt},mt:{style:dt},mr:{style:dt},mb:{style:dt},ml:{style:dt},mx:{style:dt},my:{style:dt},margin:{style:dt},marginTop:{style:dt},marginRight:{style:dt},marginBottom:{style:dt},marginLeft:{style:dt},marginX:{style:dt},marginY:{style:dt},marginInline:{style:dt},marginInlineStart:{style:dt},marginInlineEnd:{style:dt},marginBlock:{style:dt},marginBlockStart:{style:dt},marginBlockEnd:{style:dt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:xu},rowGap:{style:Eu},columnGap:{style:vu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:an},maxWidth:{style:As},minWidth:{transform:an},height:{transform:an},maxHeight:{transform:an},minHeight:{transform:an},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Bx(...t){const r=t.reduce((u,o)=>u.concat(Object.keys(o)),[]),a=new Set(r);return t.every(u=>a.size===Object.keys(u).length)}function zx(t,r){return typeof t=="function"?t(r):t}function Nx(){function t(a,u,o,c){const f={[a]:u,theme:o},h=c[a];if(!h)return{[a]:u};const{cssProperty:m=a,themeKey:p,transform:g,style:b}=h;if(u==null)return null;if(p==="typography"&&u==="inherit")return{[a]:u};const v=gu(o,p)||{};return b?b(f):Pn(f,u,M=>{let T=yu(v,g,M);return M===T&&typeof M=="string"&&(T=yu(v,g,`${a}${M==="default"?"":vr(M)}`,M)),m===!1?T:{[m]:T}})}function r(a){const{sx:u,theme:o={}}=a||{};if(!u)return null;const c=o.unstable_sxConfig??Ba;function f(h){let m=h;if(typeof h=="function")m=h(o);else if(typeof h!="object")return h;if(!m)return null;const p=XS(o.breakpoints),g=Object.keys(p);let b=p;return Object.keys(m).forEach(v=>{const x=zx(m[v],o);if(x!=null)if(typeof x=="object")if(c[v])b=Oa(b,t(v,x,o,c));else{const M=Pn({theme:o},x,T=>({[v]:T}));Bx(M,x)?b[v]=r({sx:x,theme:o}):b=Oa(b,M)}else b=Oa(b,t(v,x,o,c))}),qS(o,ZS(g,b))}return Array.isArray(u)?u.map(f):f(u)}return r}const Zr=Nx();Zr.filterProps=["sx"];function Lx(t,r){var u;const a=this;if(a.vars){if(!((u=a.colorSchemes)!=null&&u[t])||typeof a.getColorSchemeSelector!="function")return{};let o=a.getColorSchemeSelector(t);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return a.palette.mode===t?r:{}}function ws(t={},...r){const{breakpoints:a={},palette:u={},spacing:o,shape:c={},...f}=t,h=GS(a),m=Xh(o);let p=Jt({breakpoints:h,direction:"ltr",components:{},palette:{mode:"light",...u},spacing:m,shape:{...QS,...c}},f);return p=FS(p),p.applyStyles=Lx,p=r.reduce((g,b)=>Jt(g,b),p),p.unstable_sxConfig={...Ba,...f==null?void 0:f.unstable_sxConfig},p.unstable_sx=function(b){return Zr({sx:b,theme:this})},p}function Ux(t){return Object.keys(t).length===0}function Zh(t=null){const r=U.useContext(Ta);return!r||Ux(r)?t:r}const _x=ws();function Hx(t=_x){return Zh(t)}function jx({styles:t,themeId:r,defaultTheme:a={}}){const u=Hx(a),o=typeof t=="function"?t(r&&u[r]||u):t;return Ve.jsx(Gh,{styles:o})}const Ix=t=>{var u;const r={systemProps:{},otherProps:{}},a=((u=t==null?void 0:t.theme)==null?void 0:u.unstable_sxConfig)??Ba;return Object.keys(t).forEach(o=>{a[o]?r.systemProps[o]=t[o]:r.otherProps[o]=t[o]}),r};function Gx(t){const{sx:r,...a}=t,{systemProps:u,otherProps:o}=Ix(a);let c;return Array.isArray(r)?c=[u,...r]:typeof r=="function"?c=(...f)=>{const h=r(...f);return qn(h)?{...u,...h}:u}:c={...u,...r},{...o,sx:c}}const Jh=t=>t,qx=(()=>{let t=Jh;return{configure(r){t=r},generate(r){return t(r)},reset(){t=Jh}}})(),Vx={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Cu(t,r,a="Mui"){const u=Vx[r];return u?`${a}-${u}`:`${qx.generate(t)}-${r}`}function Ts(t,r,a="Mui"){const u={};return r.forEach(o=>{u[o]=Cu(t,o,a)}),u}function Wh(t){const{variants:r,...a}=t,u={variants:r,style:Vh(a),isProcessed:!0};return u.style===a||r&&r.forEach(o=>{typeof o.style!="function"&&(o.style=Vh(o.style))}),u}const Yx=ws();function ks(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function Fx(t){return t?(r,a)=>a[t]:null}function Qx(t,r,a){t.theme=Zx(t.theme)?a:t.theme[r]||t.theme}function Au(t,r){const a=typeof r=="function"?r(t):r;if(Array.isArray(a))return a.flatMap(u=>Au(t,u));if(Array.isArray(a==null?void 0:a.variants)){let u;if(a.isProcessed)u=a.style;else{const{variants:o,...c}=a;u=c}return Ph(t,a.variants,[u])}return a!=null&&a.isProcessed?a.style:a}function Ph(t,r,a=[]){var o;let u;e:for(let c=0;c<r.length;c+=1){const f=r[c];if(typeof f.props=="function"){if(u??(u={...t,...t.ownerState,ownerState:t.ownerState}),!f.props(u))continue}else for(const h in f.props)if(t[h]!==f.props[h]&&((o=t.ownerState)==null?void 0:o[h])!==f.props[h])continue e;typeof f.style=="function"?(u??(u={...t,...t.ownerState,ownerState:t.ownerState}),a.push(f.style(u))):a.push(f.style)}return a}function Kx(t={}){const{themeId:r,defaultTheme:a=Yx,rootShouldForwardProp:u=ks,slotShouldForwardProp:o=ks}=t;function c(h){Qx(h,r,a)}return(h,m={})=>{jS(h,k=>k.filter(D=>D!==Zr));const{name:p,slot:g,skipVariantsResolver:b,skipSx:v,overridesResolver:x=Fx(Wx(g)),...M}=m,T=b!==void 0?b:g&&g!=="Root"&&g!=="root"||!1,H=v||!1;let A=ks;g==="Root"||g==="root"?A=u:g?A=o:Jx(h)&&(A=void 0);const N=HS(h,{shouldForwardProp:A,label:Xx(),...M}),O=k=>{if(typeof k=="function"&&k.__emotion_real!==k)return function(F){return Au(F,k)};if(qn(k)){const D=Wh(k);return D.variants?function(ne){return Au(ne,D)}:D.style}return k},_=(...k)=>{const D=[],F=k.map(O),ne=[];if(D.push(c),p&&x&&ne.push(function(q){var P,ae;const te=(ae=(P=q.theme.components)==null?void 0:P[p])==null?void 0:ae.styleOverrides;if(!te)return null;const ue={};for(const ie in te)ue[ie]=Au(q,te[ie]);return x(q,ue)}),p&&!T&&ne.push(function(q){var ue,P;const J=q.theme,te=(P=(ue=J==null?void 0:J.components)==null?void 0:ue[p])==null?void 0:P.variants;return te?Ph(q,te):null}),H||ne.push(Zr),Array.isArray(F[0])){const j=F.shift(),q=new Array(D.length).fill(""),J=new Array(ne.length).fill("");let te;te=[...q,...j,...J],te.raw=[...q,...j.raw,...J],D.unshift(te)}const V=[...D,...F,...ne],E=N(...V);return h.muiName&&(E.muiName=h.muiName),E};return N.withConfig&&(_.withConfig=N.withConfig),_}}function Xx(t,r){return void 0}function Zx(t){for(const r in t)return!1;return!0}function Jx(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Wx(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}function Rs(t,r){const a={...r};for(const u in t)if(Object.prototype.hasOwnProperty.call(t,u)){const o=u;if(o==="components"||o==="slots")a[o]={...t[o],...a[o]};else if(o==="componentsProps"||o==="slotProps"){const c=t[o],f=r[o];if(!f)a[o]=c||{};else if(!c)a[o]=f;else{a[o]={...f};for(const h in c)if(Object.prototype.hasOwnProperty.call(c,h)){const m=h;a[o][m]=Rs(c[m],f[m])}}}else a[o]===void 0&&(a[o]=t[o])}return a}const Os=typeof window<"u"?U.useLayoutEffect:U.useEffect;function Px(t,r=Number.MIN_SAFE_INTEGER,a=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(t,a))}function Ms(t,r=0,a=1){return Px(t,r,a)}function $x(t){t=t.slice(1);const r=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let a=t.match(r);return a&&a[0].length===1&&(a=a.map(u=>u+u)),a?`rgb${a.length===4?"a":""}(${a.map((u,o)=>o<3?parseInt(u,16):Math.round(parseInt(u,16)/255*1e3)/1e3).join(", ")})`:""}function Er(t){if(t.type)return t;if(t.charAt(0)==="#")return Er($x(t));const r=t.indexOf("("),a=t.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(a))throw new Error(Sr(9,t));let u=t.substring(r+1,t.length-1),o;if(a==="color"){if(u=u.split(" "),o=u.shift(),u.length===4&&u[3].charAt(0)==="/"&&(u[3]=u[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Sr(10,o))}else u=u.split(",");return u=u.map(c=>parseFloat(c)),{type:a,values:u,colorSpace:o}}const ev=t=>{const r=Er(t);return r.values.slice(0,3).map((a,u)=>r.type.includes("hsl")&&u!==0?`${a}%`:a).join(" ")},za=(t,r)=>{try{return ev(t)}catch{return t}};function wu(t){const{type:r,colorSpace:a}=t;let{values:u}=t;return r.includes("rgb")?u=u.map((o,c)=>c<3?parseInt(o,10):o):r.includes("hsl")&&(u[1]=`${u[1]}%`,u[2]=`${u[2]}%`),r.includes("color")?u=`${a} ${u.join(" ")}`:u=`${u.join(", ")}`,`${r}(${u})`}function $h(t){t=Er(t);const{values:r}=t,a=r[0],u=r[1]/100,o=r[2]/100,c=u*Math.min(o,1-o),f=(p,g=(p+a/30)%12)=>o-c*Math.max(Math.min(g-3,9-g,1),-1);let h="rgb";const m=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return t.type==="hsla"&&(h+="a",m.push(r[3])),wu({type:h,values:m})}function Ds(t){t=Er(t);let r=t.type==="hsl"||t.type==="hsla"?Er($h(t)).values:t.values;return r=r.map(a=>(t.type!=="color"&&(a/=255),a<=.03928?a/12.92:((a+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function tv(t,r){const a=Ds(t),u=Ds(r);return(Math.max(a,u)+.05)/(Math.min(a,u)+.05)}function ep(t,r){return t=Er(t),r=Ms(r),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${r}`:t.values[3]=r,wu(t)}function Tu(t,r,a){try{return ep(t,r)}catch{return t}}function Bs(t,r){if(t=Er(t),r=Ms(r),t.type.includes("hsl"))t.values[2]*=1-r;else if(t.type.includes("rgb")||t.type.includes("color"))for(let a=0;a<3;a+=1)t.values[a]*=1-r;return wu(t)}function tt(t,r,a){try{return Bs(t,r)}catch{return t}}function zs(t,r){if(t=Er(t),r=Ms(r),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*r;else if(t.type.includes("rgb"))for(let a=0;a<3;a+=1)t.values[a]+=(255-t.values[a])*r;else if(t.type.includes("color"))for(let a=0;a<3;a+=1)t.values[a]+=(1-t.values[a])*r;return wu(t)}function nt(t,r,a){try{return zs(t,r)}catch{return t}}function nv(t,r=.15){return Ds(t)>.5?Bs(t,r):zs(t,r)}function ku(t,r,a){try{return nv(t,r)}catch{return t}}function rv(t,r=166){let a;function u(...o){const c=()=>{t.apply(this,o)};clearTimeout(a),a=setTimeout(c,r)}return u.clear=()=>{clearTimeout(a)},u}function lv(t){return t&&t.ownerDocument||document}function tp(t){return lv(t).defaultView||window}function av(t,r){typeof t=="function"?t(r):t&&(t.current=r)}function np(...t){return U.useMemo(()=>t.every(r=>r==null)?null:r=>{t.forEach(a=>{av(a,r)})},t)}const rp=U.createContext(null);function Ns(){return U.useContext(rp)}const iv=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function uv(t,r){return typeof r=="function"?r(t):{...t,...r}}function ov(t){const{children:r,theme:a}=t,u=Ns(),o=U.useMemo(()=>{const c=u===null?{...a}:uv(u,a);return c!=null&&(c[iv]=u!==null),c},[a,u]);return Ve.jsx(rp.Provider,{value:o,children:r})}const sv=U.createContext();function cv({value:t,...r}){return Ve.jsx(sv.Provider,{value:t??!0,...r})}const lp=U.createContext(void 0);function fv({value:t,children:r}){return Ve.jsx(lp.Provider,{value:t,children:r})}function dv(t){const{theme:r,name:a,props:u}=t;if(!r||!r.components||!r.components[a])return u;const o=r.components[a];return o.defaultProps?Rs(o.defaultProps,u):!o.styleOverrides&&!o.variants?Rs(o,u):u}function hv({props:t,name:r}){const a=U.useContext(lp);return dv({props:t,name:r,theme:{components:a}})}const ap={};function ip(t,r,a,u=!1){return U.useMemo(()=>{const o=t&&r[t]||r;if(typeof a=="function"){const c=a(o),f=t?{...r,[t]:c}:c;return u?()=>f:f}return t?{...r,[t]:a}:{...r,...a}},[t,r,a,u])}function up(t){const{children:r,theme:a,themeId:u}=t,o=Zh(ap),c=Ns()||ap,f=ip(u,o,a),h=ip(u,c,a,!0),m=f.direction==="rtl";return Ve.jsx(ov,{theme:h,children:Ve.jsx(Ta.Provider,{value:f,children:Ve.jsx(cv,{value:m,children:Ve.jsx(fv,{value:f==null?void 0:f.components,children:r})})})})}const op={theme:void 0};function pv(t){let r,a;return function(o){let c=r;return(c===void 0||o.theme!==a)&&(op.theme=o.theme,c=Wh(t(op)),r=c,a=o.theme),c}}const Ls="mode",Us="color-scheme",mv="data-color-scheme";function gv(t){const{defaultMode:r="system",defaultLightColorScheme:a="light",defaultDarkColorScheme:u="dark",modeStorageKey:o=Ls,colorSchemeStorageKey:c=Us,attribute:f=mv,colorSchemeNode:h="document.documentElement",nonce:m}=t;let p="",g=f;if(f==="class"&&(g=".%s"),f==="data"&&(g="[data-%s]"),g.startsWith(".")){const v=g.substring(1);p+=`${h}.classList.remove('${v}'.replace('%s', light), '${v}'.replace('%s', dark));
63
+ ${h}.classList.add('${v}'.replace('%s', colorScheme));`}const b=g.match(/\[([^\]]+)\]/);if(b){const[v,x]=b[1].split("=");x||(p+=`${h}.removeAttribute('${v}'.replace('%s', light));
64
+ ${h}.removeAttribute('${v}'.replace('%s', dark));`),p+=`
65
+ ${h}.setAttribute('${v}'.replace('%s', colorScheme), ${x?`${x}.replace('%s', colorScheme)`:'""'});`}else p+=`${h}.setAttribute('${g}', colorScheme);`;return Ve.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(function() {
66
+ try {
67
+ let colorScheme = '';
68
+ const mode = localStorage.getItem('${o}') || '${r}';
69
+ const dark = localStorage.getItem('${c}-dark') || '${u}';
70
+ const light = localStorage.getItem('${c}-light') || '${a}';
71
+ if (mode === 'system') {
72
+ // handle system mode
73
+ const mql = window.matchMedia('(prefers-color-scheme: dark)');
74
+ if (mql.matches) {
75
+ colorScheme = dark
76
+ } else {
77
+ colorScheme = light
78
+ }
79
+ }
80
+ if (mode === 'light') {
81
+ colorScheme = light;
82
+ }
83
+ if (mode === 'dark') {
84
+ colorScheme = dark;
85
+ }
86
+ if (colorScheme) {
87
+ ${p}
88
+ }
89
+ } catch(e){}})();`}},"mui-color-scheme-init")}function sp(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function cp(t,r){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return r("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return r("dark")}function yv(t){return cp(t,r=>{if(r==="light")return t.lightColorScheme;if(r==="dark")return t.darkColorScheme})}function _s(t,r){if(typeof window>"u")return;let a;try{a=localStorage.getItem(t)||void 0,a||localStorage.setItem(t,r)}catch{}return a||r}function bv(t){const{defaultMode:r="light",defaultLightColorScheme:a,defaultDarkColorScheme:u,supportedColorSchemes:o=[],modeStorageKey:c=Ls,colorSchemeStorageKey:f=Us,storageWindow:h=typeof window>"u"?void 0:window}=t,m=o.join(","),p=o.length>1,[g,b]=U.useState(()=>{const O=_s(c,r),_=_s(`${f}-light`,a),k=_s(`${f}-dark`,u);return{mode:O,systemMode:sp(O),lightColorScheme:_,darkColorScheme:k}}),[,v]=U.useState(!1),x=U.useRef(!1);U.useEffect(()=>{p&&v(!0),x.current=!0},[p]);const M=yv(g),T=U.useCallback(O=>{b(_=>{if(O===_.mode)return _;const k=O??r;try{localStorage.setItem(c,k)}catch{}return{..._,mode:k,systemMode:sp(k)}})},[c,r]),H=U.useCallback(O=>{O?typeof O=="string"?O&&!m.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):b(_=>{const k={..._};return cp(_,D=>{try{localStorage.setItem(`${f}-${D}`,O)}catch{}D==="light"&&(k.lightColorScheme=O),D==="dark"&&(k.darkColorScheme=O)}),k}):b(_=>{const k={..._},D=O.light===null?a:O.light,F=O.dark===null?u:O.dark;if(D)if(!m.includes(D))console.error(`\`${D}\` does not exist in \`theme.colorSchemes\`.`);else{k.lightColorScheme=D;try{localStorage.setItem(`${f}-light`,D)}catch{}}if(F)if(!m.includes(F))console.error(`\`${F}\` does not exist in \`theme.colorSchemes\`.`);else{k.darkColorScheme=F;try{localStorage.setItem(`${f}-dark`,F)}catch{}}return k}):b(_=>{try{localStorage.setItem(`${f}-light`,a),localStorage.setItem(`${f}-dark`,u)}catch{}return{..._,lightColorScheme:a,darkColorScheme:u}})},[m,f,a,u]),A=U.useCallback(O=>{g.mode==="system"&&b(_=>{const k=O!=null&&O.matches?"dark":"light";return _.systemMode===k?_:{..._,systemMode:k}})},[g.mode]),N=U.useRef(A);return N.current=A,U.useEffect(()=>{if(typeof window.matchMedia!="function"||!p)return;const O=(...k)=>N.current(...k),_=window.matchMedia("(prefers-color-scheme: dark)");return _.addListener(O),O(_),()=>{_.removeListener(O)}},[p]),U.useEffect(()=>{if(h&&p){const O=_=>{const k=_.newValue;typeof _.key=="string"&&_.key.startsWith(f)&&(!k||m.match(k))&&(_.key.endsWith("light")&&H({light:k}),_.key.endsWith("dark")&&H({dark:k})),_.key===c&&(!k||["light","dark","system"].includes(k))&&T(k||r)};return h.addEventListener("storage",O),()=>{h.removeEventListener("storage",O)}}},[H,T,c,f,m,r,h,p]),{...g,mode:x.current||!p?g.mode:void 0,systemMode:x.current||!p?g.systemMode:void 0,colorScheme:x.current||!p?M:void 0,setMode:T,setColorScheme:H}}const Sv="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function xv(t){const{themeId:r,theme:a={},modeStorageKey:u=Ls,colorSchemeStorageKey:o=Us,disableTransitionOnChange:c=!1,defaultColorScheme:f,resolveTheme:h}=t,m={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=U.createContext(void 0),g=()=>U.useContext(p)||m;function b(T){var Bn,cn,De,Dt,Y;const{children:H,theme:A,modeStorageKey:N=u,colorSchemeStorageKey:O=o,disableTransitionOnChange:_=c,storageWindow:k=typeof window>"u"?void 0:window,documentNode:D=typeof document>"u"?void 0:document,colorSchemeNode:F=typeof document>"u"?void 0:document.documentElement,disableNestedContext:ne=!1,disableStyleSheetGeneration:V=!1,defaultMode:E="system"}=T,j=U.useRef(!1),q=Ns(),J=U.useContext(p),te=!!J&&!ne,ue=U.useMemo(()=>A||(typeof a=="function"?a():a),[A]),P=ue[r],{colorSchemes:ae={},components:ie={},cssVarPrefix:be,...S}=P||ue,Z=Object.keys(ae).filter($=>!!ae[$]).join(","),oe=U.useMemo(()=>Z.split(","),[Z]),w=typeof f=="string"?f:f.light,le=typeof f=="string"?f:f.dark,ye=ae[w]&&ae[le]?E:((cn=(Bn=ae[S.defaultColorScheme])==null?void 0:Bn.palette)==null?void 0:cn.mode)||((De=S.palette)==null?void 0:De.mode),{mode:de,setMode:Ge,systemMode:Ee,lightColorScheme:Re,darkColorScheme:fe,colorScheme:Ne,setColorScheme:ge}=bv({supportedColorSchemes:oe,defaultLightColorScheme:w,defaultDarkColorScheme:le,modeStorageKey:N,colorSchemeStorageKey:O,defaultMode:ye,storageWindow:k});let pe=de,se=Ne;te&&(pe=J.mode,se=J.colorScheme);const xe=se||S.defaultColorScheme,Ye=((Dt=S.generateThemeVars)==null?void 0:Dt.call(S))||S.vars,_e={...S,components:ie,colorSchemes:ae,cssVarPrefix:be,vars:Ye};if(typeof _e.generateSpacing=="function"&&(_e.spacing=_e.generateSpacing()),xe){const $=ae[xe];$&&typeof $=="object"&&Object.keys($).forEach(ce=>{$[ce]&&typeof $[ce]=="object"?_e[ce]={..._e[ce],...$[ce]}:_e[ce]=$[ce]})}const Me=S.colorSchemeSelector;U.useEffect(()=>{if(se&&F&&Me&&Me!=="media"){const $=Me;let ce=Me;if($==="class"&&(ce=".%s"),$==="data"&&(ce="[data-%s]"),$!=null&&$.startsWith("data-")&&!$.includes("%s")&&(ce=`[${$}="%s"]`),ce.startsWith("."))F.classList.remove(...oe.map(Ae=>ce.substring(1).replace("%s",Ae))),F.classList.add(ce.substring(1).replace("%s",se));else{const Ae=ce.replace("%s",se).match(/\[([^\]]+)\]/);if(Ae){const[He,Be]=Ae[1].split("=");Be||oe.forEach(en=>{F.removeAttribute(He.replace(se,en))}),F.setAttribute(He,Be?Be.replace(/"|'/g,""):"")}else F.setAttribute(ce,se)}}},[se,Me,F,oe]),U.useEffect(()=>{let $;if(_&&j.current&&D){const ce=D.createElement("style");ce.appendChild(D.createTextNode(Sv)),D.head.appendChild(ce),window.getComputedStyle(D.body),$=setTimeout(()=>{D.head.removeChild(ce)},1)}return()=>{clearTimeout($)}},[se,_,D]),U.useEffect(()=>(j.current=!0,()=>{j.current=!1}),[]);const it=U.useMemo(()=>({allColorSchemes:oe,colorScheme:se,darkColorScheme:fe,lightColorScheme:Re,mode:pe,setColorScheme:ge,setMode:Ge,systemMode:Ee}),[oe,se,fe,Re,pe,ge,Ge,Ee]);let St=!0;(V||S.cssVariables===!1||te&&(q==null?void 0:q.cssVarPrefix)===be)&&(St=!1);const sn=Ve.jsxs(U.Fragment,{children:[Ve.jsx(up,{themeId:P?r:void 0,theme:h?h(_e):_e,children:H}),St&&Ve.jsx(Gh,{styles:((Y=_e.generateStyleSheets)==null?void 0:Y.call(_e))||[]})]});return te?sn:Ve.jsx(p.Provider,{value:it,children:sn})}const v=typeof f=="string"?f:f.light,x=typeof f=="string"?f:f.dark;return{CssVarsProvider:b,useColorScheme:g,getInitColorSchemeScript:T=>gv({colorSchemeStorageKey:o,defaultLightColorScheme:v,defaultDarkColorScheme:x,modeStorageKey:u,...T})}}function vv(t=""){function r(...u){if(!u.length)return"";const o=u[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${o}${r(...u.slice(1))})`:`, ${o}`}return(u,...o)=>`var(--${t?`${t}-`:""}${u}${r(...o)})`}const fp=(t,r,a,u=[])=>{let o=t;r.forEach((c,f)=>{f===r.length-1?Array.isArray(o)?o[Number(c)]=a:o&&typeof o=="object"&&(o[c]=a):o&&typeof o=="object"&&(o[c]||(o[c]=u.includes(c)?[]:{}),o=o[c])})},Ev=(t,r,a)=>{function u(o,c=[],f=[]){Object.entries(o).forEach(([h,m])=>{(!a||!a([...c,h]))&&m!=null&&(typeof m=="object"&&Object.keys(m).length>0?u(m,[...c,h],Array.isArray(m)?[...f,h]:f):r([...c,h],m,f))})}u(t)},Cv=(t,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(u=>t.includes(u))||t[t.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function Hs(t,r){const{prefix:a,shouldSkipGeneratingVar:u}=r||{},o={},c={},f={};return Ev(t,(h,m,p)=>{if((typeof m=="string"||typeof m=="number")&&(!u||!u(h,m))){const g=`--${a?`${a}-`:""}${h.join("-")}`,b=Cv(h,m);Object.assign(o,{[g]:b}),fp(c,h,`var(${g})`,p),fp(f,h,`var(${g}, ${b})`,p)}},h=>h[0]==="vars"),{css:o,vars:c,varsWithDefaults:f}}function Av(t,r={}){const{getSelector:a=H,disableCssColorScheme:u,colorSchemeSelector:o}=r,{colorSchemes:c={},components:f,defaultColorScheme:h="light",...m}=t,{vars:p,css:g,varsWithDefaults:b}=Hs(m,r);let v=b;const x={},{[h]:M,...T}=c;if(Object.entries(T||{}).forEach(([O,_])=>{const{vars:k,css:D,varsWithDefaults:F}=Hs(_,r);v=Jt(v,F),x[O]={css:D,vars:k}}),M){const{css:O,vars:_,varsWithDefaults:k}=Hs(M,r);v=Jt(v,k),x[h]={css:O,vars:_}}function H(O,_){var D,F;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),O){if(k==="media")return t.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((F=(D=c[O])==null?void 0:D.palette)==null?void 0:F.mode)||O})`]:{":root":_}};if(k)return t.defaultColorScheme===O?`:root, ${k.replace("%s",String(O))}`:k.replace("%s",String(O))}return":root"}return{vars:v,generateThemeVars:()=>{let O={...p};return Object.entries(x).forEach(([,{vars:_}])=>{O=Jt(O,_)}),O},generateStyleSheets:()=>{var ne,V;const O=[],_=t.defaultColorScheme||"light";function k(E,j){Object.keys(j).length&&O.push(typeof E=="string"?{[E]:{...j}}:E)}k(a(void 0,{...g}),g);const{[_]:D,...F}=x;if(D){const{css:E}=D,j=(V=(ne=c[_])==null?void 0:ne.palette)==null?void 0:V.mode,q=!u&&j?{colorScheme:j,...E}:{...E};k(a(_,{...q}),q)}return Object.entries(F).forEach(([E,{css:j}])=>{var te,ue;const q=(ue=(te=c[E])==null?void 0:te.palette)==null?void 0:ue.mode,J=!u&&q?{colorScheme:q,...j}:{...j};k(a(E,{...J}),J)}),O}}}function wv(t){return function(a){return t==="media"?`@media (prefers-color-scheme: ${a})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${a}"] &`:t==="class"?`.${a} &`:t==="data"?`[data-${a}] &`:`${t.replace("%s",a)} &`:"&"}}const Na={black:"#000",white:"#fff"},Tv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},kl={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Rl={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},La={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ol={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ml={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Dl={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function dp(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Na.white,default:Na.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const kv=dp();function hp(){return{text:{primary:Na.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Na.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const pp=hp();function mp(t,r,a,u){const o=u.light||u,c=u.dark||u*1.5;t[r]||(t.hasOwnProperty(a)?t[r]=t[a]:r==="light"?t.light=zs(t.main,o):r==="dark"&&(t.dark=Bs(t.main,c)))}function Rv(t="light"){return t==="dark"?{main:Ol[200],light:Ol[50],dark:Ol[400]}:{main:Ol[700],light:Ol[400],dark:Ol[800]}}function Ov(t="light"){return t==="dark"?{main:kl[200],light:kl[50],dark:kl[400]}:{main:kl[500],light:kl[300],dark:kl[700]}}function Mv(t="light"){return t==="dark"?{main:Rl[500],light:Rl[300],dark:Rl[700]}:{main:Rl[700],light:Rl[400],dark:Rl[800]}}function Dv(t="light"){return t==="dark"?{main:Ml[400],light:Ml[300],dark:Ml[700]}:{main:Ml[700],light:Ml[500],dark:Ml[900]}}function Bv(t="light"){return t==="dark"?{main:Dl[400],light:Dl[300],dark:Dl[700]}:{main:Dl[800],light:Dl[500],dark:Dl[900]}}function zv(t="light"){return t==="dark"?{main:La[400],light:La[300],dark:La[700]}:{main:"#ed6c02",light:La[500],dark:La[900]}}function js(t){const{mode:r="light",contrastThreshold:a=3,tonalOffset:u=.2,...o}=t,c=t.primary||Rv(r),f=t.secondary||Ov(r),h=t.error||Mv(r),m=t.info||Dv(r),p=t.success||Bv(r),g=t.warning||zv(r);function b(T){return tv(T,pp.text.primary)>=a?pp.text.primary:kv.text.primary}const v=({color:T,name:H,mainShade:A=500,lightShade:N=300,darkShade:O=700})=>{if(T={...T},!T.main&&T[A]&&(T.main=T[A]),!T.hasOwnProperty("main"))throw new Error(Sr(11,H?` (${H})`:"",A));if(typeof T.main!="string")throw new Error(Sr(12,H?` (${H})`:"",JSON.stringify(T.main)));return mp(T,"light",N,u),mp(T,"dark",O,u),T.contrastText||(T.contrastText=b(T.main)),T};let x;return r==="light"?x=dp():r==="dark"&&(x=hp()),Jt({common:{...Na},mode:r,primary:v({color:c,name:"primary"}),secondary:v({color:f,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:h,name:"error"}),warning:v({color:g,name:"warning"}),info:v({color:m,name:"info"}),success:v({color:p,name:"success"}),grey:Tv,contrastThreshold:a,getContrastText:b,augmentColor:v,tonalOffset:u,...x},o)}function Nv(t){const r={};return Object.entries(t).forEach(u=>{const[o,c]=u;typeof c=="object"&&(r[o]=`${c.fontStyle?`${c.fontStyle} `:""}${c.fontVariant?`${c.fontVariant} `:""}${c.fontWeight?`${c.fontWeight} `:""}${c.fontStretch?`${c.fontStretch} `:""}${c.fontSize||""}${c.lineHeight?`/${c.lineHeight} `:""}${c.fontFamily||""}`)}),r}function Lv(t,r){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...r}}function Uv(t){return Math.round(t*1e5)/1e5}const gp={textTransform:"uppercase"},yp='"Roboto", "Helvetica", "Arial", sans-serif';function bp(t,r){const{fontFamily:a=yp,fontSize:u=14,fontWeightLight:o=300,fontWeightRegular:c=400,fontWeightMedium:f=500,fontWeightBold:h=700,htmlFontSize:m=16,allVariants:p,pxToRem:g,...b}=typeof r=="function"?r(t):r,v=u/14,x=g||(H=>`${H/m*v}rem`),M=(H,A,N,O,_)=>({fontFamily:a,fontWeight:H,fontSize:x(A),lineHeight:N,...a===yp?{letterSpacing:`${Uv(O/A)}em`}:{},..._,...p}),T={h1:M(o,96,1.167,-1.5),h2:M(o,60,1.2,-.5),h3:M(c,48,1.167,0),h4:M(c,34,1.235,.25),h5:M(c,24,1.334,0),h6:M(f,20,1.6,.15),subtitle1:M(c,16,1.75,.15),subtitle2:M(f,14,1.57,.1),body1:M(c,16,1.5,.15),body2:M(c,14,1.43,.15),button:M(f,14,1.75,.4,gp),caption:M(c,12,1.66,.4),overline:M(c,12,2.66,1,gp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Jt({htmlFontSize:m,pxToRem:x,fontFamily:a,fontSize:u,fontWeightLight:o,fontWeightRegular:c,fontWeightMedium:f,fontWeightBold:h,...T},b,{clone:!1})}const _v=.2,Hv=.14,jv=.12;function st(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${_v})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${Hv})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${jv})`].join(",")}const Iv=["none",st(0,2,1,-1,0,1,1,0,0,1,3,0),st(0,3,1,-2,0,2,2,0,0,1,5,0),st(0,3,3,-2,0,3,4,0,0,1,8,0),st(0,2,4,-1,0,4,5,0,0,1,10,0),st(0,3,5,-1,0,5,8,0,0,1,14,0),st(0,3,5,-1,0,6,10,0,0,1,18,0),st(0,4,5,-2,0,7,10,1,0,2,16,1),st(0,5,5,-3,0,8,10,1,0,3,14,2),st(0,5,6,-3,0,9,12,1,0,3,16,2),st(0,6,6,-3,0,10,14,1,0,4,18,3),st(0,6,7,-4,0,11,15,1,0,4,20,3),st(0,7,8,-4,0,12,17,2,0,5,22,4),st(0,7,8,-4,0,13,19,2,0,5,24,4),st(0,7,9,-4,0,14,21,2,0,5,26,4),st(0,8,9,-5,0,15,22,2,0,6,28,5),st(0,8,10,-5,0,16,24,2,0,6,30,5),st(0,8,11,-5,0,17,26,2,0,6,32,5),st(0,9,11,-5,0,18,28,2,0,7,34,6),st(0,9,12,-6,0,19,29,2,0,7,36,6),st(0,10,13,-6,0,20,31,3,0,8,38,7),st(0,10,13,-6,0,21,33,3,0,8,40,7),st(0,10,14,-6,0,22,35,3,0,8,42,7),st(0,11,14,-7,0,23,36,3,0,9,44,8),st(0,11,15,-7,0,24,38,3,0,9,46,8)],Gv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},qv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Sp(t){return`${Math.round(t)}ms`}function Vv(t){if(!t)return 0;const r=t/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Yv(t){const r={...Gv,...t.easing},a={...qv,...t.duration};return{getAutoHeightDuration:Vv,create:(o=["all"],c={})=>{const{duration:f=a.standard,easing:h=r.easeInOut,delay:m=0,...p}=c;return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof f=="string"?f:Sp(f)} ${h} ${typeof m=="string"?m:Sp(m)}`).join(",")},...t,easing:r,duration:a}}const Fv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Qv(t){return qn(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function xp(t={}){const r={...t};function a(u){const o=Object.entries(u);for(let c=0;c<o.length;c++){const[f,h]=o[c];!Qv(h)||f.startsWith("unstable_")?delete u[f]:qn(h)&&(u[f]={...h},a(u[f]))}}return a(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
90
+
91
+ const theme = ${JSON.stringify(r,null,2)};
92
+
93
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
94
+ theme.transitions = createTransitions(theme.transitions || {});
95
+
96
+ export default theme;`}function Is(t={},...r){const{breakpoints:a,mixins:u={},spacing:o,palette:c={},transitions:f={},typography:h={},shape:m,...p}=t;if(t.vars)throw new Error(Sr(20));const g=js(c),b=ws(t);let v=Jt(b,{mixins:Lv(b.breakpoints,u),palette:g,shadows:Iv.slice(),typography:bp(g,h),transitions:Yv(f),zIndex:{...Fv}});return v=Jt(v,p),v=r.reduce((x,M)=>Jt(x,M),v),v.unstable_sxConfig={...Ba,...p==null?void 0:p.unstable_sxConfig},v.unstable_sx=function(M){return Zr({sx:M,theme:this})},v.toRuntimeSource=xp,v}function Kv(t){let r;return t<1?r=5.11916*t**2:r=4.5*Math.log(t+1)+2,Math.round(r*10)/1e3}const Xv=[...Array(25)].map((t,r)=>{if(r===0)return"none";const a=Kv(r);return`linear-gradient(rgba(255 255 255 / ${a}), rgba(255 255 255 / ${a}))`});function vp(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function Ep(t){return t==="dark"?Xv:[]}function Zv(t){const{palette:r={mode:"light"},opacity:a,overlays:u,...o}=t,c=js(r);return{palette:c,opacity:{...vp(c.mode),...a},overlays:u||Ep(c.mode),...o}}function Jv(t){var r;return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!((r=t[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Wv=t=>[...[...Array(25)].map((r,a)=>`--${t?`${t}-`:""}overlays-${a}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],Pv=t=>(r,a)=>{const u=t.rootSelector||":root",o=t.colorSchemeSelector;let c=o;if(o==="class"&&(c=".%s"),o==="data"&&(c="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(c=`[${o}="%s"]`),t.defaultColorScheme===r){if(r==="dark"){const f={};return Wv(t.cssVarPrefix).forEach(h=>{f[h]=a[h],delete a[h]}),c==="media"?{[u]:a,"@media (prefers-color-scheme: dark)":{[u]:f}}:c?{[c.replace("%s",r)]:f,[`${u}, ${c.replace("%s",r)}`]:a}:{[u]:{...a,...f}}}if(c&&c!=="media")return`${u}, ${c.replace("%s",String(r))}`}else if(r){if(c==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[u]:a}};if(c)return c.replace("%s",String(r))}return u};function $v(t,r){r.forEach(a=>{t[a]||(t[a]={})})}function Q(t,r,a){!t[r]&&a&&(t[r]=a)}function Ua(t){return!t||!t.startsWith("hsl")?t:$h(t)}function $n(t,r){`${r}Channel`in t||(t[`${r}Channel`]=za(Ua(t[r])))}function eE(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const Vn=t=>{try{return t()}catch{}},tE=(t="mui")=>vv(t);function Gs(t,r,a,u){if(!r)return;r=r===!0?{}:r;const o=u==="dark"?"dark":"light";if(!a){t[u]=Zv({...r,palette:{mode:o,...r==null?void 0:r.palette}});return}const{palette:c,...f}=Is({...a,palette:{mode:o,...r==null?void 0:r.palette}});return t[u]={...r,palette:c,opacity:{...vp(o),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Ep(o)},f}function nE(t={},...r){const{colorSchemes:a={light:!0},defaultColorScheme:u,disableCssColorScheme:o=!1,cssVarPrefix:c="mui",shouldSkipGeneratingVar:f=Jv,colorSchemeSelector:h=a.light&&a.dark?"media":void 0,rootSelector:m=":root",...p}=t,g=Object.keys(a)[0],b=u||(a.light&&g!=="light"?"light":g),v=tE(c),{[b]:x,light:M,dark:T,...H}=a,A={...H};let N=x;if((b==="dark"&&!("dark"in a)||b==="light"&&!("light"in a))&&(N=!0),!N)throw new Error(Sr(21,b));const O=Gs(A,N,p,b);M&&!A.light&&Gs(A,M,void 0,"light"),T&&!A.dark&&Gs(A,T,void 0,"dark");let _={defaultColorScheme:b,...O,cssVarPrefix:c,colorSchemeSelector:h,rootSelector:m,getCssVar:v,colorSchemes:A,font:{...Nv(O.typography),...O.font},spacing:eE(p.spacing)};Object.keys(_.colorSchemes).forEach(V=>{const E=_.colorSchemes[V].palette,j=q=>{const J=q.split("-"),te=J[1],ue=J[2];return v(q,E[te][ue])};if(E.mode==="light"&&(Q(E.common,"background","#fff"),Q(E.common,"onBackground","#000")),E.mode==="dark"&&(Q(E.common,"background","#000"),Q(E.common,"onBackground","#fff")),$v(E,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),E.mode==="light"){Q(E.Alert,"errorColor",tt(E.error.light,.6)),Q(E.Alert,"infoColor",tt(E.info.light,.6)),Q(E.Alert,"successColor",tt(E.success.light,.6)),Q(E.Alert,"warningColor",tt(E.warning.light,.6)),Q(E.Alert,"errorFilledBg",j("palette-error-main")),Q(E.Alert,"infoFilledBg",j("palette-info-main")),Q(E.Alert,"successFilledBg",j("palette-success-main")),Q(E.Alert,"warningFilledBg",j("palette-warning-main")),Q(E.Alert,"errorFilledColor",Vn(()=>E.getContrastText(E.error.main))),Q(E.Alert,"infoFilledColor",Vn(()=>E.getContrastText(E.info.main))),Q(E.Alert,"successFilledColor",Vn(()=>E.getContrastText(E.success.main))),Q(E.Alert,"warningFilledColor",Vn(()=>E.getContrastText(E.warning.main))),Q(E.Alert,"errorStandardBg",nt(E.error.light,.9)),Q(E.Alert,"infoStandardBg",nt(E.info.light,.9)),Q(E.Alert,"successStandardBg",nt(E.success.light,.9)),Q(E.Alert,"warningStandardBg",nt(E.warning.light,.9)),Q(E.Alert,"errorIconColor",j("palette-error-main")),Q(E.Alert,"infoIconColor",j("palette-info-main")),Q(E.Alert,"successIconColor",j("palette-success-main")),Q(E.Alert,"warningIconColor",j("palette-warning-main")),Q(E.AppBar,"defaultBg",j("palette-grey-100")),Q(E.Avatar,"defaultBg",j("palette-grey-400")),Q(E.Button,"inheritContainedBg",j("palette-grey-300")),Q(E.Button,"inheritContainedHoverBg",j("palette-grey-A100")),Q(E.Chip,"defaultBorder",j("palette-grey-400")),Q(E.Chip,"defaultAvatarColor",j("palette-grey-700")),Q(E.Chip,"defaultIconColor",j("palette-grey-700")),Q(E.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Q(E.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Q(E.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Q(E.LinearProgress,"primaryBg",nt(E.primary.main,.62)),Q(E.LinearProgress,"secondaryBg",nt(E.secondary.main,.62)),Q(E.LinearProgress,"errorBg",nt(E.error.main,.62)),Q(E.LinearProgress,"infoBg",nt(E.info.main,.62)),Q(E.LinearProgress,"successBg",nt(E.success.main,.62)),Q(E.LinearProgress,"warningBg",nt(E.warning.main,.62)),Q(E.Skeleton,"bg",`rgba(${j("palette-text-primaryChannel")} / 0.11)`),Q(E.Slider,"primaryTrack",nt(E.primary.main,.62)),Q(E.Slider,"secondaryTrack",nt(E.secondary.main,.62)),Q(E.Slider,"errorTrack",nt(E.error.main,.62)),Q(E.Slider,"infoTrack",nt(E.info.main,.62)),Q(E.Slider,"successTrack",nt(E.success.main,.62)),Q(E.Slider,"warningTrack",nt(E.warning.main,.62));const q=ku(E.background.default,.8);Q(E.SnackbarContent,"bg",q),Q(E.SnackbarContent,"color",Vn(()=>E.getContrastText(q))),Q(E.SpeedDialAction,"fabHoverBg",ku(E.background.paper,.15)),Q(E.StepConnector,"border",j("palette-grey-400")),Q(E.StepContent,"border",j("palette-grey-400")),Q(E.Switch,"defaultColor",j("palette-common-white")),Q(E.Switch,"defaultDisabledColor",j("palette-grey-100")),Q(E.Switch,"primaryDisabledColor",nt(E.primary.main,.62)),Q(E.Switch,"secondaryDisabledColor",nt(E.secondary.main,.62)),Q(E.Switch,"errorDisabledColor",nt(E.error.main,.62)),Q(E.Switch,"infoDisabledColor",nt(E.info.main,.62)),Q(E.Switch,"successDisabledColor",nt(E.success.main,.62)),Q(E.Switch,"warningDisabledColor",nt(E.warning.main,.62)),Q(E.TableCell,"border",nt(Tu(E.divider,1),.88)),Q(E.Tooltip,"bg",Tu(E.grey[700],.92))}if(E.mode==="dark"){Q(E.Alert,"errorColor",nt(E.error.light,.6)),Q(E.Alert,"infoColor",nt(E.info.light,.6)),Q(E.Alert,"successColor",nt(E.success.light,.6)),Q(E.Alert,"warningColor",nt(E.warning.light,.6)),Q(E.Alert,"errorFilledBg",j("palette-error-dark")),Q(E.Alert,"infoFilledBg",j("palette-info-dark")),Q(E.Alert,"successFilledBg",j("palette-success-dark")),Q(E.Alert,"warningFilledBg",j("palette-warning-dark")),Q(E.Alert,"errorFilledColor",Vn(()=>E.getContrastText(E.error.dark))),Q(E.Alert,"infoFilledColor",Vn(()=>E.getContrastText(E.info.dark))),Q(E.Alert,"successFilledColor",Vn(()=>E.getContrastText(E.success.dark))),Q(E.Alert,"warningFilledColor",Vn(()=>E.getContrastText(E.warning.dark))),Q(E.Alert,"errorStandardBg",tt(E.error.light,.9)),Q(E.Alert,"infoStandardBg",tt(E.info.light,.9)),Q(E.Alert,"successStandardBg",tt(E.success.light,.9)),Q(E.Alert,"warningStandardBg",tt(E.warning.light,.9)),Q(E.Alert,"errorIconColor",j("palette-error-main")),Q(E.Alert,"infoIconColor",j("palette-info-main")),Q(E.Alert,"successIconColor",j("palette-success-main")),Q(E.Alert,"warningIconColor",j("palette-warning-main")),Q(E.AppBar,"defaultBg",j("palette-grey-900")),Q(E.AppBar,"darkBg",j("palette-background-paper")),Q(E.AppBar,"darkColor",j("palette-text-primary")),Q(E.Avatar,"defaultBg",j("palette-grey-600")),Q(E.Button,"inheritContainedBg",j("palette-grey-800")),Q(E.Button,"inheritContainedHoverBg",j("palette-grey-700")),Q(E.Chip,"defaultBorder",j("palette-grey-700")),Q(E.Chip,"defaultAvatarColor",j("palette-grey-300")),Q(E.Chip,"defaultIconColor",j("palette-grey-300")),Q(E.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Q(E.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Q(E.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Q(E.LinearProgress,"primaryBg",tt(E.primary.main,.5)),Q(E.LinearProgress,"secondaryBg",tt(E.secondary.main,.5)),Q(E.LinearProgress,"errorBg",tt(E.error.main,.5)),Q(E.LinearProgress,"infoBg",tt(E.info.main,.5)),Q(E.LinearProgress,"successBg",tt(E.success.main,.5)),Q(E.LinearProgress,"warningBg",tt(E.warning.main,.5)),Q(E.Skeleton,"bg",`rgba(${j("palette-text-primaryChannel")} / 0.13)`),Q(E.Slider,"primaryTrack",tt(E.primary.main,.5)),Q(E.Slider,"secondaryTrack",tt(E.secondary.main,.5)),Q(E.Slider,"errorTrack",tt(E.error.main,.5)),Q(E.Slider,"infoTrack",tt(E.info.main,.5)),Q(E.Slider,"successTrack",tt(E.success.main,.5)),Q(E.Slider,"warningTrack",tt(E.warning.main,.5));const q=ku(E.background.default,.98);Q(E.SnackbarContent,"bg",q),Q(E.SnackbarContent,"color",Vn(()=>E.getContrastText(q))),Q(E.SpeedDialAction,"fabHoverBg",ku(E.background.paper,.15)),Q(E.StepConnector,"border",j("palette-grey-600")),Q(E.StepContent,"border",j("palette-grey-600")),Q(E.Switch,"defaultColor",j("palette-grey-300")),Q(E.Switch,"defaultDisabledColor",j("palette-grey-600")),Q(E.Switch,"primaryDisabledColor",tt(E.primary.main,.55)),Q(E.Switch,"secondaryDisabledColor",tt(E.secondary.main,.55)),Q(E.Switch,"errorDisabledColor",tt(E.error.main,.55)),Q(E.Switch,"infoDisabledColor",tt(E.info.main,.55)),Q(E.Switch,"successDisabledColor",tt(E.success.main,.55)),Q(E.Switch,"warningDisabledColor",tt(E.warning.main,.55)),Q(E.TableCell,"border",tt(Tu(E.divider,1),.68)),Q(E.Tooltip,"bg",Tu(E.grey[700],.92))}$n(E.background,"default"),$n(E.background,"paper"),$n(E.common,"background"),$n(E.common,"onBackground"),$n(E,"divider"),Object.keys(E).forEach(q=>{const J=E[q];J&&typeof J=="object"&&(J.main&&Q(E[q],"mainChannel",za(Ua(J.main))),J.light&&Q(E[q],"lightChannel",za(Ua(J.light))),J.dark&&Q(E[q],"darkChannel",za(Ua(J.dark))),J.contrastText&&Q(E[q],"contrastTextChannel",za(Ua(J.contrastText))),q==="text"&&($n(E[q],"primary"),$n(E[q],"secondary")),q==="action"&&(J.active&&$n(E[q],"active"),J.selected&&$n(E[q],"selected")))})}),_=r.reduce((V,E)=>Jt(V,E),_);const k={prefix:c,disableCssColorScheme:o,shouldSkipGeneratingVar:f,getSelector:Pv(_)},{vars:D,generateThemeVars:F,generateStyleSheets:ne}=Av(_,k);return _.vars=D,Object.entries(_.colorSchemes[_.defaultColorScheme]).forEach(([V,E])=>{_[V]=E}),_.generateThemeVars=F,_.generateStyleSheets=ne,_.generateSpacing=function(){return Xh(p.spacing,Cs(this))},_.getColorSchemeSelector=wv(h),_.spacing=_.generateSpacing(),_.shouldSkipGeneratingVar=f,_.unstable_sxConfig={...Ba,...p==null?void 0:p.unstable_sxConfig},_.unstable_sx=function(E){return Zr({sx:E,theme:this})},_.toRuntimeSource=xp,_}function Cp(t,r,a){t.colorSchemes&&a&&(t.colorSchemes[r]={...a!==!0&&a,palette:js({...a===!0?{}:a.palette,mode:r})})}function Ru(t={},...r){const{palette:a,cssVariables:u=!1,colorSchemes:o=a?void 0:{light:!0},defaultColorScheme:c=a==null?void 0:a.mode,...f}=t,h=c||"light",m=o==null?void 0:o[h],p={...o,...a?{[h]:{...typeof m!="boolean"&&m,palette:a}}:void 0};if(u===!1){if(!("colorSchemes"in t))return Is(t,...r);let g=a;"palette"in t||p[h]&&(p[h]!==!0?g=p[h].palette:h==="dark"&&(g={mode:"dark"}));const b=Is({...t,palette:g},...r);return b.defaultColorScheme=h,b.colorSchemes=p,b.palette.mode==="light"&&(b.colorSchemes.light={...p.light!==!0&&p.light,palette:b.palette},Cp(b,"dark",p.dark)),b.palette.mode==="dark"&&(b.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:b.palette},Cp(b,"light",p.light)),b}return!a&&!("light"in p)&&h==="light"&&(p.light=!0),nE({...f,colorSchemes:p,defaultColorScheme:h,...typeof u!="boolean"&&u},...r)}function rE(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function lE(t){return parseFloat(t)}const Ap=Ru();function aE(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const Ou=Kx({themeId:xr,defaultTheme:Ap,rootShouldForwardProp:t=>aE(t)&&t!=="classes"});function wp({theme:t,...r}){const a=xr in t?t[xr]:void 0;return Ve.jsx(up,{...r,themeId:a?xr:void 0,theme:a||t})}const Mu={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:iE,useColorScheme:b4,getInitColorSchemeScript:S4}=xv({themeId:xr,theme:()=>Ru({cssVariables:!0}),colorSchemeStorageKey:Mu.colorSchemeStorageKey,modeStorageKey:Mu.modeStorageKey,defaultColorScheme:{light:Mu.defaultLightColorScheme,dark:Mu.defaultDarkColorScheme},resolveTheme:t=>{const r={...t,typography:bp(t.palette,t.typography)};return r.unstable_sx=function(u){return Zr({sx:u,theme:this})},r}}),uE=iE;function oE({theme:t,...r}){return typeof t=="function"?Ve.jsx(wp,{theme:t,...r}):"colorSchemes"in(xr in t?t[xr]:t)?Ve.jsx(uE,{theme:t,...r}):Ve.jsx(wp,{theme:t,...r})}function sE(t){return Ve.jsx(jx,{...t,defaultTheme:Ap,themeId:xr})}function cE(t){return function(a){return Ve.jsx(sE,{styles:typeof t=="function"?u=>t({theme:u,...a}):t})}}function fE(){return Gx}const Du=pv;function qs(t){return hv(t)}function dE(t){return Cu("MuiSkeleton",t)}Ts("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const hE=t=>{const{classes:r,variant:a,animation:u,hasChildren:o,width:c,height:f}=t;return Ss({root:["root",a,u,o&&"withChildren",o&&!c&&"fitContent",o&&!f&&"heightAuto"]},dE,r)},Vs=Lh`
97
+ 0% {
98
+ opacity: 1;
99
+ }
100
+
101
+ 50% {
102
+ opacity: 0.4;
103
+ }
104
+
105
+ 100% {
106
+ opacity: 1;
107
+ }
108
+ `,Ys=Lh`
109
+ 0% {
110
+ transform: translateX(-100%);
111
+ }
112
+
113
+ 50% {
114
+ /* +0.5s of delay between each loop */
115
+ transform: translateX(100%);
116
+ }
117
+
118
+ 100% {
119
+ transform: translateX(100%);
120
+ }
121
+ `,pE=typeof Vs!="string"?ka`
122
+ animation: ${Vs} 2s ease-in-out 0.5s infinite;
123
+ `:null,mE=typeof Ys!="string"?ka`
124
+ &::after {
125
+ animation: ${Ys} 2s linear 0.5s infinite;
126
+ }
127
+ `:null,gE=Ou("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:a}=t;return[r.root,r[a.variant],a.animation!==!1&&r[a.animation],a.hasChildren&&r.withChildren,a.hasChildren&&!a.width&&r.fitContent,a.hasChildren&&!a.height&&r.heightAuto]}})(Du(({theme:t})=>{const r=rE(t.shape.borderRadius)||"px",a=lE(t.shape.borderRadius);return{display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:ep(t.palette.text.primary,t.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${a}${r}/${Math.round(a/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:({ownerState:u})=>u.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:u})=>u.hasChildren&&!u.width,style:{maxWidth:"fit-content"}},{props:({ownerState:u})=>u.hasChildren&&!u.height,style:{height:"auto"}},{props:{animation:"pulse"},style:pE||{animation:`${Vs} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
128
+ 90deg,
129
+ transparent,
130
+ ${(t.vars||t).palette.action.hover},
131
+ transparent
132
+ )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:mE||{"&::after":{animation:`${Ys} 2s linear 0.5s infinite`}}}]}})),Fs=U.forwardRef(function(r,a){const u=qs({props:r,name:"MuiSkeleton"}),{animation:o="pulse",className:c,component:f="span",height:h,style:m,variant:p="text",width:g,...b}=u,v={...u,animation:o,component:f,variant:p,hasChildren:!!b.children},x=hE(v);return Ve.jsx(gE,{as:f,ref:a,className:pu(x.root,c),ownerState:v,...b,style:{width:g,height:h,...m}})});function Bu(t){return parseInt(t,10)||0}const yE={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function bE(t){return t==null||Object.keys(t).length===0||t.outerHeightStyle===0&&!t.overflowing}const SE=U.forwardRef(function(r,a){const{onChange:u,maxRows:o,minRows:c=1,style:f,value:h,...m}=r,{current:p}=U.useRef(h!=null),g=U.useRef(null),b=np(a,g),v=U.useRef(null),x=U.useRef(null),M=U.useCallback(()=>{const A=g.current,O=tp(A).getComputedStyle(A);if(O.width==="0px")return{outerHeightStyle:0,overflowing:!1};const _=x.current;_.style.width=O.width,_.value=A.value||r.placeholder||"x",_.value.slice(-1)===`
133
+ `&&(_.value+=" ");const k=O.boxSizing,D=Bu(O.paddingBottom)+Bu(O.paddingTop),F=Bu(O.borderBottomWidth)+Bu(O.borderTopWidth),ne=_.scrollHeight;_.value="x";const V=_.scrollHeight;let E=ne;c&&(E=Math.max(Number(c)*V,E)),o&&(E=Math.min(Number(o)*V,E)),E=Math.max(E,V);const j=E+(k==="border-box"?D+F:0),q=Math.abs(E-ne)<=1;return{outerHeightStyle:j,overflowing:q}},[o,c,r.placeholder]),T=U.useCallback(()=>{const A=M();if(bE(A))return;const N=A.outerHeightStyle,O=g.current;v.current!==N&&(v.current=N,O.style.height=`${N}px`),O.style.overflow=A.overflowing?"hidden":""},[M]);Os(()=>{const A=()=>{T()};let N;const O=rv(A),_=g.current,k=tp(_);k.addEventListener("resize",O);let D;return typeof ResizeObserver<"u"&&(D=new ResizeObserver(A),D.observe(_)),()=>{O.clear(),cancelAnimationFrame(N),k.removeEventListener("resize",O),D&&D.disconnect()}},[M,T]),Os(()=>{T()});const H=A=>{p||T(),u&&u(A)};return Ve.jsxs(U.Fragment,{children:[Ve.jsx("textarea",{value:h,onChange:H,ref:b,rows:c,style:f,...m}),Ve.jsx("textarea",{"aria-hidden":!0,className:r.className,readOnly:!0,ref:x,tabIndex:-1,style:{...yE.shadow,...f,paddingTop:0,paddingBottom:0}})]})});function Tp(t){return typeof t=="string"}function xE({props:t,states:r,muiFormControl:a}){return r.reduce((u,o)=>(u[o]=t[o],a&&typeof t[o]>"u"&&(u[o]=a[o]),u),{})}const kp=U.createContext(void 0);function vE(){return U.useContext(kp)}function Rp(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function EE(t,r=!1){return t&&(Rp(t.value)&&t.value!==""||r&&Rp(t.defaultValue)&&t.defaultValue!=="")}function CE(t){return Cu("MuiInputBase",t)}const Qs=Ts("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Op;const AE=(t,r)=>{const{ownerState:a}=t;return[r.root,a.formControl&&r.formControl,a.startAdornment&&r.adornedStart,a.endAdornment&&r.adornedEnd,a.error&&r.error,a.size==="small"&&r.sizeSmall,a.multiline&&r.multiline,a.color&&r[`color${vr(a.color)}`],a.fullWidth&&r.fullWidth,a.hiddenLabel&&r.hiddenLabel]},wE=(t,r)=>{const{ownerState:a}=t;return[r.input,a.size==="small"&&r.inputSizeSmall,a.multiline&&r.inputMultiline,a.type==="search"&&r.inputTypeSearch,a.startAdornment&&r.inputAdornedStart,a.endAdornment&&r.inputAdornedEnd,a.hiddenLabel&&r.inputHiddenLabel]},TE=t=>{const{classes:r,color:a,disabled:u,error:o,endAdornment:c,focused:f,formControl:h,fullWidth:m,hiddenLabel:p,multiline:g,readOnly:b,size:v,startAdornment:x,type:M}=t,T={root:["root",`color${vr(a)}`,u&&"disabled",o&&"error",m&&"fullWidth",f&&"focused",h&&"formControl",v&&v!=="medium"&&`size${vr(v)}`,g&&"multiline",x&&"adornedStart",c&&"adornedEnd",p&&"hiddenLabel",b&&"readOnly"],input:["input",u&&"disabled",M==="search"&&"inputTypeSearch",g&&"inputMultiline",v==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",x&&"inputAdornedStart",c&&"inputAdornedEnd",b&&"readOnly"]};return Ss(T,CE,r)},kE=Ou("div",{name:"MuiInputBase",slot:"Root",overridesResolver:AE})(Du(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Qs.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:r})=>r.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:r,size:a})=>r.multiline&&a==="small",style:{paddingTop:1}},{props:({ownerState:r})=>r.fullWidth,style:{width:"100%"}}]}))),RE=Ou("input",{name:"MuiInputBase",slot:"Input",overridesResolver:wE})(Du(({theme:t})=>{const r=t.palette.mode==="light",a={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},u={opacity:"0 !important"},o=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&::-ms-input-placeholder":a,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Qs.formControl} &`]:{"&::-webkit-input-placeholder":u,"&::-moz-placeholder":u,"&::-ms-input-placeholder":u,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Qs.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:c})=>!c.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:c})=>c.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Mp=cE({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),OE=U.forwardRef(function(r,a){const u=qs({props:r,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:c,autoFocus:f,className:h,color:m,components:p={},componentsProps:g={},defaultValue:b,disabled:v,disableInjectingGlobalStyles:x,endAdornment:M,error:T,fullWidth:H=!1,id:A,inputComponent:N="input",inputProps:O={},inputRef:_,margin:k,maxRows:D,minRows:F,multiline:ne=!1,name:V,onBlur:E,onChange:j,onClick:q,onFocus:J,onKeyDown:te,onKeyUp:ue,placeholder:P,readOnly:ae,renderSuffix:ie,rows:be,size:S,slotProps:Z={},slots:oe={},startAdornment:w,type:le="text",value:ye,...de}=u,Ge=O.value!=null?O.value:ye,{current:Ee}=U.useRef(Ge!=null),Re=U.useRef(),fe=U.useCallback(Be=>{},[]),Ne=np(Re,_,O.ref,fe),[ge,pe]=U.useState(!1),se=vE(),xe=xE({props:u,muiFormControl:se,states:["color","disabled","error","hiddenLabel","size","required","filled"]});xe.focused=se?se.focused:ge,U.useEffect(()=>{!se&&v&&ge&&(pe(!1),E&&E())},[se,v,ge,E]);const Ye=se&&se.onFilled,_e=se&&se.onEmpty,Me=U.useCallback(Be=>{EE(Be)?Ye&&Ye():_e&&_e()},[Ye,_e]);Os(()=>{Ee&&Me({value:Ge})},[Ge,Me,Ee]);const it=Be=>{J&&J(Be),O.onFocus&&O.onFocus(Be),se&&se.onFocus?se.onFocus(Be):pe(!0)},St=Be=>{E&&E(Be),O.onBlur&&O.onBlur(Be),se&&se.onBlur?se.onBlur(Be):pe(!1)},sn=(Be,...en)=>{if(!Ee){const Bt=Be.target||Re.current;if(Bt==null)throw new Error(Sr(1));Me({value:Bt.value})}O.onChange&&O.onChange(Be,...en),j&&j(Be,...en)};U.useEffect(()=>{Me(Re.current)},[]);const Bn=Be=>{Re.current&&Be.currentTarget===Be.target&&Re.current.focus(),q&&q(Be)};let cn=N,De=O;ne&&cn==="input"&&(be?De={type:void 0,minRows:be,maxRows:be,...De}:De={type:void 0,maxRows:D,minRows:F,...De},cn=SE);const Dt=Be=>{Me(Be.animationName==="mui-auto-fill-cancel"?Re.current:{value:"x"})};U.useEffect(()=>{se&&se.setAdornedStart(!!w)},[se,w]);const Y={...u,color:xe.color||"primary",disabled:xe.disabled,endAdornment:M,error:xe.error,focused:xe.focused,formControl:se,fullWidth:H,hiddenLabel:xe.hiddenLabel,multiline:ne,size:xe.size,startAdornment:w,type:le},$=TE(Y),ce=oe.root||p.Root||kE,Ae=Z.root||g.root||{},He=oe.input||p.Input||RE;return De={...De,...Z.input??g.input},Ve.jsxs(U.Fragment,{children:[!x&&typeof Mp=="function"&&(Op||(Op=Ve.jsx(Mp,{}))),Ve.jsxs(ce,{...Ae,ref:a,onClick:Bn,...de,...!Tp(ce)&&{ownerState:{...Y,...Ae.ownerState}},className:pu($.root,Ae.className,h,ae&&"MuiInputBase-readOnly"),children:[w,Ve.jsx(kp.Provider,{value:null,children:Ve.jsx(He,{"aria-invalid":xe.error,"aria-describedby":o,autoComplete:c,autoFocus:f,defaultValue:b,disabled:xe.disabled,id:A,onAnimationStart:Dt,name:V,placeholder:P,readOnly:ae,required:xe.required,rows:be,value:Ge,onKeyDown:te,onKeyUp:ue,type:le,...De,...!Tp(He)&&{as:cn,ownerState:{...Y,...De.ownerState}},ref:Ne,className:pu($.input,De.className,ae&&"MuiInputBase-readOnly"),onBlur:St,onChange:sn,onFocus:it})}),M,ie?ie({...xe,startAdornment:w}):null]})]})});var Ks={exports:{}};/*!
134
+ Copyright (c) 2018 Jed Watson.
135
+ Licensed under the MIT License (MIT), see
136
+ http://jedwatson.github.io/classnames
137
+ */var Dp;function ME(){return Dp||(Dp=1,function(t){(function(){var r={}.hasOwnProperty;function a(){for(var c="",f=0;f<arguments.length;f++){var h=arguments[f];h&&(c=o(c,u(h)))}return c}function u(c){if(typeof c=="string"||typeof c=="number")return c;if(typeof c!="object")return"";if(Array.isArray(c))return a.apply(null,c);if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]"))return c.toString();var f="";for(var h in c)r.call(c,h)&&c[h]&&(f=o(f,h));return f}function o(c,f){return f?c?c+" "+f:c+f:c}t.exports?(a.default=a,t.exports=a):window.classNames=a})()}(Ks)),Ks.exports}var DE=ME();const Xs=El(DE),BE={size:"medium",multiline:!1},zE={small:"small",medium:"small",large:"medium",hero:"large"},Bp=({size:t,theme:r,multiline:a})=>ka([(t==="small"||t==="medium")&&{...r.typography.body2},(t==="large"||t==="hero")&&{".remixicon":{width:"24px",height:"24px"},...r.typography.body1},t==="medium"&&{paddingLeft:"12px",paddingRight:"12px"},t==="small"&&!a&&{height:"32px"},t==="medium"&&!a&&{height:"40px"},t==="large"&&!a&&{height:"48px"},t==="hero"&&!a&&{height:"72px"},t==="small"&&{padding:"0 8px",".Mit-AdornmentButton":{width:"32px",".remixicon":{width:"16px",height:"16px"}}},t==="medium"&&{padding:"0 12px",".Mit-AdornmentButton":{width:"40px",".remixicon":{width:"20px",height:"20px"}}},t==="large"&&{padding:"0 16px",".Mit-AdornmentButton":{width:"48px"}},t==="hero"&&{padding:"0 24px",".Mit-AdornmentButton":{width:"72px"}}]),NE=t=>({backgroundColor:"white",color:t.custom.colors.darkGray2,borderColor:t.custom.colors.silverGrayLight,borderWidth:"1px",borderStyle:"solid",borderRadius:"4px","&.Mui-disabled":{backgroundColor:t.custom.colors.lightGray1},"&:hover:not(.Mui-disabled):not(.Mui-focused)":{borderColor:t.custom.colors.darkGray2},"&.Mui-focused":{borderColor:"transparent",outline:"2px solid currentcolor",outlineOffset:"-2px"},"&.Mui-error":{borderColor:t.custom.colors.red,outlineColor:t.custom.colors.red},"& input::placeholder, textarea::placeholder":{color:t.custom.colors.silverGrayDark,opacity:1},"& input:placeholder-shown, textarea:placeholder-shown":{textOverflow:"ellipsis"},"& textarea":{paddingTop:"8px",paddingBottom:"8px"},"&.MuiInputBase-adornedStart":{paddingLeft:"0",input:{paddingLeft:"8px"}},"&.MuiInputBase-adornedEnd":{paddingRight:"0",input:{paddingRight:"8px"}}}),LE=Object.keys({responsive:!0}),UE=Pe(OE,{shouldForwardProp:t=>!LE.includes(t)})(({theme:t,size:r=BE.size,multiline:a,responsive:u})=>[NE(t),Bp({size:r,theme:t,multiline:a}),u&&{[t.breakpoints.down("sm")]:Bp({size:zE[r],theme:t,multiline:a})}]);Pe.button(({theme:t})=>({...t.typography.button,display:"flex",flexShrink:0,justifyContent:"center",alignItems:"center",border:"none",background:"transparent",transition:`background ${t.transitions.duration.short}ms`,cursor:"pointer",":disabled":{cursor:"default"},":hover":{background:"rgba(0, 0, 0, 0.06)"},color:t.custom.colors.silverGray,".MuiInputBase-root:hover &":{color:"inherit"},".MuiInputBase-root.Mui-focused &":{color:"inherit"},".MuiInputBase-root.Mui-disabled &":{color:"inherit"},height:"100%"}));const Et={text:{roman:400,medium:500,bold:700}},Ie=t=>`${t/16}rem`,zp={fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeightLight:Et.text.roman,fontWeightRegular:Et.text.roman,fontWeightMedium:Et.text.medium,fontWeightBold:Et.text.bold,h1:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.bold,fontStyle:"normal",fontSize:Ie(52),lineHeight:Ie(60)},h2:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.bold,fontStyle:"normal",fontSize:Ie(34),lineHeight:Ie(40)},h3:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.bold,fontStyle:"normal",fontSize:Ie(28),lineHeight:Ie(36)},h4:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.bold,fontStyle:"normal",fontSize:Ie(24),lineHeight:Ie(30)},h5:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.medium,fontStyle:"normal",fontSize:Ie(18),lineHeight:Ie(22)},subtitle1:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.medium,fontStyle:"normal",fontSize:Ie(16),lineHeight:Ie(20)},subtitle2:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.medium,fontStyle:"normal",fontSize:Ie(14),lineHeight:Ie(18)},subtitle3:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.medium,fontStyle:"normal",fontSize:Ie(12),lineHeight:Ie(16)},subtitle4:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.medium,fontStyle:"normal",fontSize:Ie(10),lineHeight:Ie(14)},body1:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.roman,fontStyle:"normal",fontSize:Ie(16),lineHeight:Ie(20)},body2:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.roman,fontStyle:"normal",fontSize:Ie(14),lineHeight:Ie(18)},body3:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.roman,fontStyle:"normal",fontSize:Ie(12),lineHeight:Ie(16)},body4:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.roman,fontStyle:"normal",fontSize:Ie(10),lineHeight:Ie(14)},buttonLarge:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.medium,fontStyle:"normal",fontSize:Ie(16),lineHeight:Ie(20)},button:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.medium,fontStyle:"normal",fontSize:Ie(14),lineHeight:Ie(18),textTransform:"none"},buttonSmall:{fontFamily:"neue-haas-grotesk-text, sans-serif",fontWeight:Et.text.medium,fontStyle:"normal",fontSize:Ie(12),lineHeight:Ie(16)}},_E={defaultProps:{variantMapping:{h1:"span",h2:"span",h3:"span",h4:"span",h5:"span",body1:"p",body2:"p",body3:"p",body4:"p",subtitle1:"p",subtitle2:"p",subtitle3:"p",subtitle4:"p",button:"span"}}};Ru({typography:zp,custom:{}});const HE=Pe.a({color:"inherit",textDecoration:"none"}),jE=U.forwardRef(function({Component:r,...a},u){const o=Nh(),c=r??o.custom.LinkAdapter;return U.createElement(HE,{as:c,ref:u,...a})}),IE={variant:!0,size:!0,edge:!0,startIcon:!0,endIcon:!0,responsive:!0,color:!0},Np=t=>!IE[t],Zs={variant:"primary",size:"medium",edge:"rounded",responsive:!1},Lp={small:1,medium:1,large:2},Up={small:"small",medium:"small",large:"medium"},_p=(t,r,a)=>{const u=r?Lp[t]:0;return[{boxSizing:"border-box",borderWidth:Lp[t]},t==="large"&&{padding:`${14-u}px 24px`,...a.typography.buttonLarge},t==="medium"&&{padding:`${11-u}px 16px`,...a.typography.button},t==="small"&&{padding:`${8-u}px 12px`,...a.typography.buttonSmall}]},Hp=t=>{const{size:r,variant:a,edge:u,theme:o,color:c,responsive:f}={...Zs,...t},{colors:h}=o.custom,m=a==="secondary"||a==="bordered";return ka([{color:o.palette.text.primary,textAlign:"center",display:"inline-flex",justifyContent:"center",alignItems:"center",transition:`background ${o.transitions.duration.short}ms`,cursor:"pointer",":disabled":{cursor:"default"},minWidth:"100px"},..._p(r,m,o),f&&{[o.breakpoints.down("sm")]:_p(Up[r],m,o)},a==="primary"&&{backgroundColor:h.mitRed,color:h.white,border:"none",boxShadow:"0px 2px 4px 0px rgba(37, 38, 43, 0.10), 0px 3px 8px 0px rgba(37, 38, 43, 0.12)",":hover:not(:disabled)":{backgroundColor:h.red,boxShadow:"none"},":disabled":{backgroundColor:h.silverGray,boxShadow:"none"}},a==="secondary"&&{color:h.red,backgroundColor:"transparent",borderColor:"currentcolor",borderStyle:"solid",":hover:not(:disabled)":{backgroundColor:"rgba(255, 20, 35, 0.06)"},":disabled":{color:h.silverGray}},a==="text"&&{backgroundColor:"transparent",borderStyle:"none",color:h.darkGray2,":hover:not(:disabled)":{backgroundColor:"rgba(64, 70, 76, 0.06)"},":disabled":{color:h.silverGray}},a==="bordered"&&{backgroundColor:h.white,color:h.silverGrayDark,border:`1px solid ${h.silverGrayLight}`,":hover:not(:disabled)":{backgroundColor:h.lightGray1,color:h.darkGray2},":disabled":{backgroundColor:h.lightGray2,border:`1px solid ${h.lightGray2}`,color:h.silverGrayDark}},a==="tertiary"&&{color:h.darkGray2,border:"none",backgroundColor:h.lightGray2,":hover:not(:disabled)":{backgroundColor:h.white},":disabled":{backgroundColor:h.lightGray2,color:h.silverGrayLight}},u==="rounded"&&{borderRadius:"4px"},u==="circular"&&{borderRadius:"100vh"},c==="secondary"&&{color:o.custom.colors.silverGray,borderColor:o.custom.colors.silverGray,":hover:not(:disabled)":{backgroundColor:o.custom.colors.lightGray1}}])},jp=Pe("button",{shouldForwardProp:Np})(Hp),Ip=Pe(jE,{shouldForwardProp:Np})(Hp),Gp=Pe.span(({size:t,side:r})=>[{height:"1em",display:"flex",alignItems:"center"},r==="start"&&{marginLeft:"-4px",marginRight:"8px"},r==="end"&&{marginLeft:"8px",marginRight:"-4px"},{"& svg, & .MuiSvgIcon-root":{width:"1em",height:"1em",fontSize:Ie({small:16,medium:20,large:24}[t])}}]),qp=t=>{const{children:r,size:a=Zs.size}=t;return U.createElement(U.Fragment,null,t.startIcon?U.createElement(Gp,{size:a,side:"start"},t.startIcon):null,r,t.endIcon?U.createElement(Gp,{size:a,side:"end"},t.endIcon):null)},GE=U.forwardRef(({children:t,...r},a)=>U.createElement(jp,{ref:a,type:"button",...r},U.createElement(qp,{...r},t)));GE.displayName="Button";const qE=U.forwardRef(({children:t,Component:r,...a},u)=>U.createElement(Ip,{Component:r,ref:u,...a},U.createElement(qp,{...a},t)));qE.displayName="ButtonLink";const Vp=t=>({minWidth:"auto",padding:0,height:{small:"32px",medium:"40px",large:"48px"}[t],width:{small:"32px",medium:"40px",large:"48px"}[t],"& svg, & .MuiSvgIcon-root":{width:"1em",height:"1em",fontSize:Ie({small:20,medium:24,large:32}[t])}}),zu=Pe(U.forwardRef(function(r,a){return U.createElement(jp,{ref:a,type:"button",...r})}))(({size:t=Zs.size,responsive:r,theme:a})=>[Vp(t),r&&{[a.breakpoints.down("sm")]:Vp(Up[t])}]);zu.displayName="ActionButton";const VE=zu.withComponent(({Component:t,...r})=>U.createElement(Ip,{Component:t,...r}));VE.displayName="ActionButtonLink";const Yp=({color:t="currentColor",size:r=24,className:a,...u})=>Hn.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:t,...u,className:"remixicon "+(a||"")},Hn.createElement("path",{d:"M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"})),YE=({color:t="currentColor",size:r=24,className:a,...u})=>Hn.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:t,...u,className:"remixicon "+(a||"")},Hn.createElement("path",{d:"M1.94607 9.31543C1.42353 9.14125 1.4194 8.86022 1.95682 8.68108L21.043 2.31901C21.5715 2.14285 21.8746 2.43866 21.7265 2.95694L16.2733 22.0432C16.1223 22.5716 15.8177 22.59 15.5944 22.0876L11.9999 14L17.9999 6.00005L9.99992 12L1.94607 9.31543Z"})),FE=({color:t="currentColor",size:r=24,className:a,...u})=>Hn.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:t,...u,className:"remixicon "+(a||"")},Hn.createElement("path",{d:"M13.5 2C13.5 2.44425 13.3069 2.84339 13 3.11805V5H18C19.6569 5 21 6.34315 21 8V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V8C3 6.34315 4.34315 5 6 5H11V3.11805C10.6931 2.84339 10.5 2.44425 10.5 2C10.5 1.17157 11.1716 0.5 12 0.5C12.8284 0.5 13.5 1.17157 13.5 2ZM6 7C5.44772 7 5 7.44772 5 8V18C5 18.5523 5.44772 19 6 19H18C18.5523 19 19 18.5523 19 18V8C19 7.44772 18.5523 7 18 7H13H11H6ZM2 10H0V16H2V10ZM22 10H24V16H22V10ZM9 14.5C9.82843 14.5 10.5 13.8284 10.5 13C10.5 12.1716 9.82843 11.5 9 11.5C8.17157 11.5 7.5 12.1716 7.5 13C7.5 13.8284 8.17157 14.5 9 14.5ZM15 14.5C15.8284 14.5 16.5 13.8284 16.5 13C16.5 12.1716 15.8284 11.5 15 11.5C14.1716 11.5 13.5 12.1716 13.5 13C13.5 13.8284 14.1716 14.5 15 14.5Z"}));var Fp="vercel.ai.error",QE=Symbol.for(Fp),Qp,KE=class Db extends Error{constructor({name:r,message:a,cause:u}){super(a),this[Qp]=!0,this.name=r,this.cause=u}static isInstance(r){return Db.hasMarker(r,Fp)}static hasMarker(r,a){const u=Symbol.for(a);return r!=null&&typeof r=="object"&&u in r&&typeof r[u]=="boolean"&&r[u]===!0}};Qp=QE;var Bl=KE;function Kp(t){return t==null?"unknown error":typeof t=="string"?t:t instanceof Error?t.message:JSON.stringify(t)}var Xp="AI_InvalidArgumentError",Zp=`vercel.ai.error.${Xp}`,XE=Symbol.for(Zp),Jp,ZE=class extends Bl{constructor({message:t,cause:r,argument:a}){super({name:Xp,message:t,cause:r}),this[Jp]=!0,this.argument=a}static isInstance(t){return Bl.hasMarker(t,Zp)}};Jp=XE;var Wp="AI_JSONParseError",Pp=`vercel.ai.error.${Wp}`,JE=Symbol.for(Pp),$p,em=class extends Bl{constructor({text:t,cause:r}){super({name:Wp,message:`JSON parsing failed: Text: ${t}.
138
+ Error message: ${Kp(r)}`,cause:r}),this[$p]=!0,this.text=t}static isInstance(t){return Bl.hasMarker(t,Pp)}};$p=JE;var tm="AI_TypeValidationError",nm=`vercel.ai.error.${tm}`,WE=Symbol.for(nm),rm,PE=class eh extends Bl{constructor({value:r,cause:a}){super({name:tm,message:`Type validation failed: Value: ${JSON.stringify(r)}.
139
+ Error message: ${Kp(a)}`,cause:a}),this[rm]=!0,this.value=r}static isInstance(r){return Bl.hasMarker(r,nm)}static wrap({value:r,cause:a}){return eh.isInstance(a)&&a.value===r?a:new eh({value:r,cause:a})}};rm=WE;var lm=PE;let $E=(t,r=21)=>(a=r)=>{let u="",o=a;for(;o--;)u+=t[Math.random()*t.length|0];return u};var Jr={exports:{}},am;function e2(){if(am)return Jr.exports;am=1;const t=typeof Buffer<"u",r=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,a=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function u(h,m,p){p==null&&m!==null&&typeof m=="object"&&(p=m,m=void 0),t&&Buffer.isBuffer(h)&&(h=h.toString()),h&&h.charCodeAt(0)===65279&&(h=h.slice(1));const g=JSON.parse(h,m);if(g===null||typeof g!="object")return g;const b=p&&p.protoAction||"error",v=p&&p.constructorAction||"error";if(b==="ignore"&&v==="ignore")return g;if(b!=="ignore"&&v!=="ignore"){if(r.test(h)===!1&&a.test(h)===!1)return g}else if(b!=="ignore"&&v==="ignore"){if(r.test(h)===!1)return g}else if(a.test(h)===!1)return g;return o(g,{protoAction:b,constructorAction:v,safe:p&&p.safe})}function o(h,{protoAction:m="error",constructorAction:p="error",safe:g}={}){let b=[h];for(;b.length;){const v=b;b=[];for(const x of v){if(m!=="ignore"&&Object.prototype.hasOwnProperty.call(x,"__proto__")){if(g===!0)return null;if(m==="error")throw new SyntaxError("Object contains forbidden prototype property");delete x.__proto__}if(p!=="ignore"&&Object.prototype.hasOwnProperty.call(x,"constructor")&&Object.prototype.hasOwnProperty.call(x.constructor,"prototype")){if(g===!0)return null;if(p==="error")throw new SyntaxError("Object contains forbidden prototype property");delete x.constructor}for(const M in x){const T=x[M];T&&typeof T=="object"&&b.push(T)}}}return h}function c(h,m,p){const g=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return u(h,m,p)}finally{Error.stackTraceLimit=g}}function f(h,m){const p=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return u(h,m,{safe:!0})}catch{return null}finally{Error.stackTraceLimit=p}}return Jr.exports=c,Jr.exports.default=c,Jr.exports.parse=c,Jr.exports.safeParse=f,Jr.exports.scan=o,Jr.exports}var t2=e2();const n2=El(t2);var r2=({prefix:t,size:r=16,alphabet:a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:u="-"}={})=>{const o=$E(a,r);if(t==null)return o;if(a.includes(u))throw new ZE({argument:"separator",message:`The separator "${u}" must not be part of the alphabet "${a}".`});return c=>`${t}${u}${o(c)}`},im=r2(),Js=Symbol.for("vercel.ai.validator");function l2(t){return{[Js]:!0,validate:t}}function a2(t){return typeof t=="object"&&t!==null&&Js in t&&t[Js]===!0&&"validate"in t}function i2(t){return a2(t)?t:u2(t)}function u2(t){return l2(r=>{const a=t.safeParse(r);return a.success?{success:!0,value:a.data}:{success:!1,error:a.error}})}function o2({value:t,schema:r}){const a=i2(r);try{if(a.validate==null)return{success:!0,value:t};const u=a.validate(t);return u.success?u:{success:!1,error:lm.wrap({value:t,cause:u.error})}}catch(u){return{success:!1,error:lm.wrap({value:t,cause:u})}}}function um({text:t,schema:r}){try{const a=n2.parse(t);return r==null?{success:!0,value:a}:o2({value:a,schema:r})}catch(a){return{success:!1,error:em.isInstance(a)?a:new em({text:t,cause:a})}}}var _a={code:"0",name:"text",parse:t=>{if(typeof t!="string")throw new Error('"text" parts expect a string value.');return{type:"text",value:t}}},Ha={code:"3",name:"error",parse:t=>{if(typeof t!="string")throw new Error('"error" parts expect a string value.');return{type:"error",value:t}}},ja={code:"4",name:"assistant_message",parse:t=>{if(t==null||typeof t!="object"||!("id"in t)||!("role"in t)||!("content"in t)||typeof t.id!="string"||typeof t.role!="string"||t.role!=="assistant"||!Array.isArray(t.content)||!t.content.every(r=>r!=null&&typeof r=="object"&&"type"in r&&r.type==="text"&&"text"in r&&r.text!=null&&typeof r.text=="object"&&"value"in r.text&&typeof r.text.value=="string"))throw new Error('"assistant_message" parts expect an object with an "id", "role", and "content" property.');return{type:"assistant_message",value:t}}},Ia={code:"5",name:"assistant_control_data",parse:t=>{if(t==null||typeof t!="object"||!("threadId"in t)||!("messageId"in t)||typeof t.threadId!="string"||typeof t.messageId!="string")throw new Error('"assistant_control_data" parts expect an object with a "threadId" and "messageId" property.');return{type:"assistant_control_data",value:{threadId:t.threadId,messageId:t.messageId}}}},Ga={code:"6",name:"data_message",parse:t=>{if(t==null||typeof t!="object"||!("role"in t)||!("data"in t)||typeof t.role!="string"||t.role!=="data")throw new Error('"data_message" parts expect an object with a "role" and "data" property.');return{type:"data_message",value:t}}},s2=[_a,Ha,ja,Ia,Ga];_a.code+"",Ha.code+"",ja.code+"",Ia.code+"",Ga.code+"",_a.name+"",_a.code,Ha.name+"",Ha.code,ja.name+"",ja.code,Ia.name+"",Ia.code,Ga.name+"",Ga.code,s2.map(t=>t.code);function c2(t){const r=["ROOT"];let a=-1,u=null;function o(m,p,g){switch(m){case'"':{a=p,r.pop(),r.push(g),r.push("INSIDE_STRING");break}case"f":case"t":case"n":{a=p,u=p,r.pop(),r.push(g),r.push("INSIDE_LITERAL");break}case"-":{r.pop(),r.push(g),r.push("INSIDE_NUMBER");break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{a=p,r.pop(),r.push(g),r.push("INSIDE_NUMBER");break}case"{":{a=p,r.pop(),r.push(g),r.push("INSIDE_OBJECT_START");break}case"[":{a=p,r.pop(),r.push(g),r.push("INSIDE_ARRAY_START");break}}}function c(m,p){switch(m){case",":{r.pop(),r.push("INSIDE_OBJECT_AFTER_COMMA");break}case"}":{a=p,r.pop();break}}}function f(m,p){switch(m){case",":{r.pop(),r.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{a=p,r.pop();break}}}for(let m=0;m<t.length;m++){const p=t[m];switch(r[r.length-1]){case"ROOT":o(p,m,"FINISH");break;case"INSIDE_OBJECT_START":{switch(p){case'"':{r.pop(),r.push("INSIDE_OBJECT_KEY");break}case"}":{a=m,r.pop();break}}break}case"INSIDE_OBJECT_AFTER_COMMA":{switch(p){case'"':{r.pop(),r.push("INSIDE_OBJECT_KEY");break}}break}case"INSIDE_OBJECT_KEY":{switch(p){case'"':{r.pop(),r.push("INSIDE_OBJECT_AFTER_KEY");break}}break}case"INSIDE_OBJECT_AFTER_KEY":{switch(p){case":":{r.pop(),r.push("INSIDE_OBJECT_BEFORE_VALUE");break}}break}case"INSIDE_OBJECT_BEFORE_VALUE":{o(p,m,"INSIDE_OBJECT_AFTER_VALUE");break}case"INSIDE_OBJECT_AFTER_VALUE":{c(p,m);break}case"INSIDE_STRING":{switch(p){case'"':{r.pop(),a=m;break}case"\\":{r.push("INSIDE_STRING_ESCAPE");break}default:a=m}break}case"INSIDE_ARRAY_START":{switch(p){case"]":{a=m,r.pop();break}default:{a=m,o(p,m,"INSIDE_ARRAY_AFTER_VALUE");break}}break}case"INSIDE_ARRAY_AFTER_VALUE":{switch(p){case",":{r.pop(),r.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{a=m,r.pop();break}default:{a=m;break}}break}case"INSIDE_ARRAY_AFTER_COMMA":{o(p,m,"INSIDE_ARRAY_AFTER_VALUE");break}case"INSIDE_STRING_ESCAPE":{r.pop(),a=m;break}case"INSIDE_NUMBER":{switch(p){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{a=m;break}case"e":case"E":case"-":case".":break;case",":{r.pop(),r[r.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&f(p,m),r[r.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&c(p,m);break}case"}":{r.pop(),r[r.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&c(p,m);break}case"]":{r.pop(),r[r.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&f(p,m);break}default:{r.pop();break}}break}case"INSIDE_LITERAL":{const b=t.substring(u,m+1);!"false".startsWith(b)&&!"true".startsWith(b)&&!"null".startsWith(b)?(r.pop(),r[r.length-1]==="INSIDE_OBJECT_AFTER_VALUE"?c(p,m):r[r.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&f(p,m)):a=m;break}}}let h=t.slice(0,a+1);for(let m=r.length-1;m>=0;m--)switch(r[m]){case"INSIDE_STRING":{h+='"';break}case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":{h+="}";break}case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":{h+="]";break}case"INSIDE_LITERAL":{const g=t.substring(u,t.length);"true".startsWith(g)?h+="true".slice(g.length):"false".startsWith(g)?h+="false".slice(g.length):"null".startsWith(g)&&(h+="null".slice(g.length))}}return h}function f2(t){if(t===void 0)return{value:void 0,state:"undefined-input"};let r=um({text:t});return r.success?{value:r.value,state:"successful-parse"}:(r=um({text:c2(t)}),r.success?{value:r.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}var qa={code:"0",name:"text",parse:t=>{if(typeof t!="string")throw new Error('"text" parts expect a string value.');return{type:"text",value:t}}},Va={code:"2",name:"data",parse:t=>{if(!Array.isArray(t))throw new Error('"data" parts expect an array value.');return{type:"data",value:t}}},Ya={code:"3",name:"error",parse:t=>{if(typeof t!="string")throw new Error('"error" parts expect a string value.');return{type:"error",value:t}}},Fa={code:"8",name:"message_annotations",parse:t=>{if(!Array.isArray(t))throw new Error('"message_annotations" parts expect an array value.');return{type:"message_annotations",value:t}}},Qa={code:"9",name:"tool_call",parse:t=>{if(t==null||typeof t!="object"||!("toolCallId"in t)||typeof t.toolCallId!="string"||!("toolName"in t)||typeof t.toolName!="string"||!("args"in t)||typeof t.args!="object")throw new Error('"tool_call" parts expect an object with a "toolCallId", "toolName", and "args" property.');return{type:"tool_call",value:t}}},Ka={code:"a",name:"tool_result",parse:t=>{if(t==null||typeof t!="object"||!("toolCallId"in t)||typeof t.toolCallId!="string"||!("result"in t))throw new Error('"tool_result" parts expect an object with a "toolCallId" and a "result" property.');return{type:"tool_result",value:t}}},Xa={code:"b",name:"tool_call_streaming_start",parse:t=>{if(t==null||typeof t!="object"||!("toolCallId"in t)||typeof t.toolCallId!="string"||!("toolName"in t)||typeof t.toolName!="string")throw new Error('"tool_call_streaming_start" parts expect an object with a "toolCallId" and "toolName" property.');return{type:"tool_call_streaming_start",value:t}}},Za={code:"c",name:"tool_call_delta",parse:t=>{if(t==null||typeof t!="object"||!("toolCallId"in t)||typeof t.toolCallId!="string"||!("argsTextDelta"in t)||typeof t.argsTextDelta!="string")throw new Error('"tool_call_delta" parts expect an object with a "toolCallId" and "argsTextDelta" property.');return{type:"tool_call_delta",value:t}}},Ja={code:"d",name:"finish_message",parse:t=>{if(t==null||typeof t!="object"||!("finishReason"in t)||typeof t.finishReason!="string")throw new Error('"finish_message" parts expect an object with a "finishReason" property.');const r={finishReason:t.finishReason};return"usage"in t&&t.usage!=null&&typeof t.usage=="object"&&"promptTokens"in t.usage&&"completionTokens"in t.usage&&(r.usage={promptTokens:typeof t.usage.promptTokens=="number"?t.usage.promptTokens:Number.NaN,completionTokens:typeof t.usage.completionTokens=="number"?t.usage.completionTokens:Number.NaN}),{type:"finish_message",value:r}}},Wa={code:"e",name:"finish_step",parse:t=>{if(t==null||typeof t!="object"||!("finishReason"in t)||typeof t.finishReason!="string")throw new Error('"finish_step" parts expect an object with a "finishReason" property.');const r={finishReason:t.finishReason,isContinued:!1};return"usage"in t&&t.usage!=null&&typeof t.usage=="object"&&"promptTokens"in t.usage&&"completionTokens"in t.usage&&(r.usage={promptTokens:typeof t.usage.promptTokens=="number"?t.usage.promptTokens:Number.NaN,completionTokens:typeof t.usage.completionTokens=="number"?t.usage.completionTokens:Number.NaN}),"isContinued"in t&&typeof t.isContinued=="boolean"&&(r.isContinued=t.isContinued),{type:"finish_step",value:r}}},d2=[qa,Va,Ya,Fa,Qa,Ka,Xa,Za,Ja,Wa],h2={[qa.code]:qa,[Va.code]:Va,[Ya.code]:Ya,[Fa.code]:Fa,[Qa.code]:Qa,[Ka.code]:Ka,[Xa.code]:Xa,[Za.code]:Za,[Ja.code]:Ja,[Wa.code]:Wa};qa.name+"",qa.code,Va.name+"",Va.code,Ya.name+"",Ya.code,Fa.name+"",Fa.code,Qa.name+"",Qa.code,Ka.name+"",Ka.code,Xa.name+"",Xa.code,Za.name+"",Za.code,Ja.name+"",Ja.code,Wa.name+"",Wa.code;var p2=d2.map(t=>t.code),m2=t=>{const r=t.indexOf(":");if(r===-1)throw new Error("Failed to parse stream string. No separator found.");const a=t.slice(0,r);if(!p2.includes(a))throw new Error(`Failed to parse stream string. Invalid code ${a}.`);const u=a,o=t.slice(r+1),c=JSON.parse(o);return h2[u].parse(c)},g2=10;function y2(t,r){const a=new Uint8Array(r);let u=0;for(const o of t)a.set(o,u),u+=o.length;return t.length=0,a}async function b2({stream:t,onTextPart:r,onDataPart:a,onErrorPart:u,onToolCallStreamingStartPart:o,onToolCallDeltaPart:c,onToolCallPart:f,onToolResultPart:h,onMessageAnnotationsPart:m,onFinishMessagePart:p,onFinishStepPart:g}){const b=t.getReader(),v=new TextDecoder,x=[];let M=0;for(;;){const{value:T}=await b.read();if(T&&(x.push(T),M+=T.length,T[T.length-1]!==g2))continue;if(x.length===0)break;const H=y2(x,M);M=0;const A=v.decode(H,{stream:!0}).split(`
140
+ `).filter(N=>N!=="").map(m2);for(const{type:N,value:O}of A)switch(N){case"text":await(r==null?void 0:r(O));break;case"data":await(a==null?void 0:a(O));break;case"error":await(u==null?void 0:u(O));break;case"message_annotations":await(m==null?void 0:m(O));break;case"tool_call_streaming_start":await(o==null?void 0:o(O));break;case"tool_call_delta":await(c==null?void 0:c(O));break;case"tool_call":await(f==null?void 0:f(O));break;case"tool_result":await(h==null?void 0:h(O));break;case"finish_message":await(p==null?void 0:p(O));break;case"finish_step":await(g==null?void 0:g(O));break;default:{const _=N;throw new Error(`Unknown stream part type: ${_}`)}}}}function S2({promptTokens:t,completionTokens:r}){return{promptTokens:t,completionTokens:r,totalTokens:t+r}}async function x2({stream:t,update:r,onToolCall:a,onFinish:u,generateId:o=im,getCurrentDate:c=()=>new Date}){const f=c();let h,m=!0;const p=[],g=[];let b;const v={};let x={completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},M="unknown";function T(){const A=[...g];if(h==null){r(p,A);return}b!=null&&b.length&&(h.annotations=b);const N={...JSON.parse(JSON.stringify(h)),revisionId:o(),createdAt:h.createdAt};r([...p,N],A)}function H(){return(m||h==null)&&(h!=null&&p.push(h),m=!1,h={id:o(),role:"assistant",content:"",createdAt:f}),h}await b2({stream:t,onTextPart(A){const N=H();h={...N,content:N.content+A},T()},onToolCallStreamingStartPart(A){const N=H();N.toolInvocations==null&&(N.toolInvocations=[]),v[A.toolCallId]={text:"",toolName:A.toolName,index:N.toolInvocations.length},N.toolInvocations.push({state:"partial-call",toolCallId:A.toolCallId,toolName:A.toolName,args:void 0}),T()},onToolCallDeltaPart(A){const N=H(),O=v[A.toolCallId];O.text+=A.argsTextDelta;const{value:_}=f2(O.text);N.toolInvocations[O.index]={state:"partial-call",toolCallId:A.toolCallId,toolName:O.toolName,args:_},T()},async onToolCallPart(A){const N=H();if(v[A.toolCallId]!=null?N.toolInvocations[v[A.toolCallId].index]={state:"call",...A}:(N.toolInvocations==null&&(N.toolInvocations=[]),N.toolInvocations.push({state:"call",...A})),a){const O=await a({toolCall:A});O!=null&&(N.toolInvocations[N.toolInvocations.length-1]={state:"result",...A,result:O})}T()},onToolResultPart(A){const O=H().toolInvocations;if(O==null)throw new Error("tool_result must be preceded by a tool_call");const _=O.findIndex(k=>k.toolCallId===A.toolCallId);if(_===-1)throw new Error("tool_result must be preceded by a tool_call with the same toolCallId");O[_]={...O[_],state:"result",...A},T()},onDataPart(A){g.push(...A),T()},onMessageAnnotationsPart(A){b==null?b=[...A]:b.push(...A),T()},onFinishStepPart(A){m=!A.isContinued},onFinishMessagePart(A){M=A.finishReason,A.usage!=null&&(x=S2(A.usage))},onErrorPart(A){throw new Error(A)}}),u==null||u({message:h,finishReason:M,usage:x})}async function v2({stream:t,onTextPart:r}){const a=t.pipeThrough(new TextDecoderStream).getReader();for(;;){const{done:u,value:o}=await a.read();if(u)break;await r(o)}}var E2=()=>fetch;async function C2({api:t,body:r,streamProtocol:a="data",credentials:u,headers:o,abortController:c,restoreMessagesOnFailure:f,onResponse:h,onUpdate:m,onFinish:p,onToolCall:g,generateId:b,fetch:v=E2()}){var x,M;const T=await v(t,{method:"POST",body:JSON.stringify(r),headers:{"Content-Type":"application/json",...o},signal:(x=c==null?void 0:c())==null?void 0:x.signal,credentials:u}).catch(H=>{throw f(),H});if(h)try{await h(T)}catch(H){throw H}if(!T.ok)throw f(),new Error((M=await T.text())!=null?M:"Failed to fetch the chat response.");if(!T.body)throw new Error("The response body is empty.");switch(a){case"text":{const H={id:b(),createdAt:new Date,role:"assistant",content:""};await v2({stream:T.body,onTextPart:A=>{H.content+=A,m([{...H}],[])}}),p==null||p(H,{usage:{completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},finishReason:"unknown"});return}case"data":{await x2({stream:T.body,update:m,onToolCall:g,onFinish({message:H,finishReason:A,usage:N}){p&&H!=null&&p(H,{usage:N,finishReason:A})},generateId:b});return}default:{const H=a;throw new Error(`Unknown stream protocol: ${H}`)}}}async function om(t){if(!t)return[];if(t instanceof FileList)return Promise.all(Array.from(t).map(async r=>{const{name:a,type:u}=r,o=await new Promise((c,f)=>{const h=new FileReader;h.onload=m=>{var p;c((p=m.target)==null?void 0:p.result)},h.onerror=m=>f(m),h.readAsDataURL(r)});return{name:a,contentType:u,url:o}}));if(Array.isArray(t))return t;throw new Error("Invalid attachments type")}var Ws={exports:{}},Ps={};/**
141
+ * @license React
142
+ * use-sync-external-store-shim.production.js
143
+ *
144
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
145
+ *
146
+ * This source code is licensed under the MIT license found in the
147
+ * LICENSE file in the root directory of this source tree.
148
+ */var sm;function A2(){if(sm)return Ps;sm=1;var t=lu();function r(b,v){return b===v&&(b!==0||1/b===1/v)||b!==b&&v!==v}var a=typeof Object.is=="function"?Object.is:r,u=t.useState,o=t.useEffect,c=t.useLayoutEffect,f=t.useDebugValue;function h(b,v){var x=v(),M=u({inst:{value:x,getSnapshot:v}}),T=M[0].inst,H=M[1];return c(function(){T.value=x,T.getSnapshot=v,m(T)&&H({inst:T})},[b,x,v]),o(function(){return m(T)&&H({inst:T}),b(function(){m(T)&&H({inst:T})})},[b]),f(x),x}function m(b){var v=b.getSnapshot;b=b.value;try{var x=v();return!a(b,x)}catch{return!0}}function p(b,v){return v()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:h;return Ps.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:g,Ps}var cm;function w2(){return cm||(cm=1,Ws.exports=A2()),Ws.exports}var T2=w2();const Cr=()=>{},Wt=Cr(),$s=Object,Fe=t=>t===Wt,Yn=t=>typeof t=="function",Ar=(t,r)=>({...t,...r}),k2=t=>Yn(t.then),Nu=new WeakMap;let R2=0;const Pa=t=>{const r=typeof t,a=t&&t.constructor,u=a==Date;let o,c;if($s(t)===t&&!u&&a!=RegExp){if(o=Nu.get(t),o)return o;if(o=++R2+"~",Nu.set(t,o),a==Array){for(o="@",c=0;c<t.length;c++)o+=Pa(t[c])+",";Nu.set(t,o)}if(a==$s){o="#";const f=$s.keys(t).sort();for(;!Fe(c=f.pop());)Fe(t[c])||(o+=c+":"+Pa(t[c])+",");Nu.set(t,o)}}else o=u?t.toJSON():r=="symbol"?t.toString():r=="string"?JSON.stringify(t):""+t;return o},er=new WeakMap,ec={},Lu={},tc="undefined",Uu=typeof window!=tc,nc=typeof document!=tc,O2=()=>Uu&&typeof window.requestAnimationFrame!=tc,fm=(t,r)=>{const a=er.get(t);return[()=>!Fe(r)&&t.get(r)||ec,u=>{if(!Fe(r)){const o=t.get(r);r in Lu||(Lu[r]=o),a[5](r,Ar(o,u),o||ec)}},a[6],()=>!Fe(r)&&r in Lu?Lu[r]:!Fe(r)&&t.get(r)||ec]};let rc=!0;const M2=()=>rc,[lc,ac]=Uu&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Cr,Cr],D2=()=>{const t=nc&&document.visibilityState;return Fe(t)||t!=="hidden"},B2=t=>(nc&&document.addEventListener("visibilitychange",t),lc("focus",t),()=>{nc&&document.removeEventListener("visibilitychange",t),ac("focus",t)}),z2=t=>{const r=()=>{rc=!0,t()},a=()=>{rc=!1};return lc("online",r),lc("offline",a),()=>{ac("online",r),ac("offline",a)}},N2={isOnline:M2,isVisible:D2},L2={initFocus:B2,initReconnect:z2},dm=!Hn.useId,$a=!Uu||"Deno"in window,U2=t=>O2()?window.requestAnimationFrame(t):setTimeout(t,1),ic=$a?U.useEffect:U.useLayoutEffect,uc=typeof navigator<"u"&&navigator.connection,hm=!$a&&uc&&(["slow-2g","2g"].includes(uc.effectiveType)||uc.saveData),oc=t=>{if(Yn(t))try{t=t()}catch{t=""}const r=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Pa(t):"",[t,r]};let _2=0;const sc=()=>++_2,pm=0,mm=1,gm=2;var ei={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:pm,MUTATE_EVENT:gm,RECONNECT_EVENT:mm};async function ym(...t){const[r,a,u,o]=t,c=Ar({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let f=c.populateCache;const h=c.rollbackOnError;let m=c.optimisticData;const p=v=>typeof h=="function"?h(v):h!==!1,g=c.throwOnError;if(Yn(a)){const v=a,x=[],M=r.keys();for(const T of M)!/^\$(inf|sub)\$/.test(T)&&v(r.get(T)._k)&&x.push(T);return Promise.all(x.map(b))}return b(a);async function b(v){const[x]=oc(v);if(!x)return;const[M,T]=fm(r,x),[H,A,N,O]=er.get(r),_=()=>{const J=H[x];return(Yn(c.revalidate)?c.revalidate(M().data,v):c.revalidate!==!1)&&(delete N[x],delete O[x],J&&J[0])?J[0](gm).then(()=>M().data):M().data};if(t.length<3)return _();let k=u,D;const F=sc();A[x]=[F,0];const ne=!Fe(m),V=M(),E=V.data,j=V._c,q=Fe(j)?E:j;if(ne&&(m=Yn(m)?m(q,E):m,T({data:m,_c:q})),Yn(k))try{k=k(q)}catch(J){D=J}if(k&&k2(k))if(k=await k.catch(J=>{D=J}),F!==A[x][0]){if(D)throw D;return k}else D&&ne&&p(D)&&(f=!0,T({data:q,_c:Wt}));if(f&&!D)if(Yn(f)){const J=f(k,q);T({data:J,error:Wt,_c:Wt})}else T({data:k,error:Wt,_c:Wt});if(A[x][1]=sc(),Promise.resolve(_()).then(()=>{T({_c:Wt})}),D){if(g)throw D;return}return k}}const bm=(t,r)=>{for(const a in t)t[a][0]&&t[a][0](r)},H2=(t,r)=>{if(!er.has(t)){const a=Ar(L2,r),u={},o=ym.bind(Wt,t);let c=Cr;const f={},h=(g,b)=>{const v=f[g]||[];return f[g]=v,v.push(b),()=>v.splice(v.indexOf(b),1)},m=(g,b,v)=>{t.set(g,b);const x=f[g];if(x)for(const M of x)M(b,v)},p=()=>{if(!er.has(t)&&(er.set(t,[u,{},{},{},o,m,h]),!$a)){const g=a.initFocus(setTimeout.bind(Wt,bm.bind(Wt,u,pm))),b=a.initReconnect(setTimeout.bind(Wt,bm.bind(Wt,u,mm)));c=()=>{g&&g(),b&&b(),er.delete(t)}}};return p(),[t,o,p,c]}return[t,er.get(t)[4]]},j2=(t,r,a,u,o)=>{const c=a.errorRetryCount,f=o.retryCount,h=~~((Math.random()+.5)*(1<<(f<8?f:8)))*a.errorRetryInterval;!Fe(c)&&f>c||setTimeout(u,h,o)},I2=(t,r)=>Pa(t)==Pa(r),[Sm,G2]=H2(new Map),q2=Ar({onLoadingSlow:Cr,onSuccess:Cr,onError:Cr,onErrorRetry:j2,onDiscarded:Cr,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:hm?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:hm?5e3:3e3,compare:I2,isPaused:()=>!1,cache:Sm,mutate:G2,fallback:{}},N2),V2=(t,r)=>{const a=Ar(t,r);if(r){const{use:u,fallback:o}=t,{use:c,fallback:f}=r;u&&c&&(a.use=u.concat(c)),o&&f&&(a.fallback=Ar(o,f))}return a},Y2=U.createContext({}),F2="$inf$",xm=Uu&&window.__SWR_DEVTOOLS_USE__,Q2=xm?window.__SWR_DEVTOOLS_USE__:[],K2=()=>{xm&&(window.__SWR_DEVTOOLS_REACT__=Hn)},X2=t=>Yn(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Z2=()=>Ar(q2,U.useContext(Y2)),J2=t=>(r,a,u)=>t(r,a&&((...c)=>{const[f]=oc(r),[,,,h]=er.get(Sm);if(f.startsWith(F2))return a(...c);const m=h[f];return Fe(m)?a(...c):(delete h[f],m)}),u),W2=Q2.concat(J2),P2=t=>function(...a){const u=Z2(),[o,c,f]=X2(a),h=V2(u,f);let m=t;const{use:p}=h,g=(p||[]).concat(W2);for(let b=g.length;b--;)m=g[b](m);return m(o,c||h.fetcher||null,h)},$2=(t,r,a)=>{const u=r[t]||(r[t]=[]);return u.push(a),()=>{const o=u.indexOf(a);o>=0&&(u[o]=u[u.length-1],u.pop())}};K2();const vm=Hn.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(t.status="pending",t.then(r=>{t.status="fulfilled",t.value=r},r=>{t.status="rejected",t.reason=r}),t)}),cc={dedupe:!0},_u=P2((t,r,a)=>{const{cache:u,compare:o,suspense:c,fallbackData:f,revalidateOnMount:h,revalidateIfStale:m,refreshInterval:p,refreshWhenHidden:g,refreshWhenOffline:b,keepPreviousData:v}=a,[x,M,T,H]=er.get(u),[A,N]=oc(t),O=U.useRef(!1),_=U.useRef(!1),k=U.useRef(A),D=U.useRef(r),F=U.useRef(a),ne=()=>F.current,V=()=>ne().isVisible()&&ne().isOnline(),[E,j,q,J]=fm(u,A),te=U.useRef({}).current,ue=Fe(f)?a.fallback[A]:f,P=(ge,pe)=>{for(const se in te){const xe=se;if(xe==="data"){if(!o(ge[xe],pe[xe])&&(!Fe(ge[xe])||!o(ye,pe[xe])))return!1}else if(pe[xe]!==ge[xe])return!1}return!0},ae=U.useMemo(()=>{const ge=!A||!r?!1:Fe(h)?ne().isPaused()||c?!1:Fe(m)?!0:m:h,pe=it=>{const St=Ar(it);return delete St._k,ge?{isValidating:!0,isLoading:!0,...St}:St},se=E(),xe=J(),Ye=pe(se),_e=se===xe?Ye:pe(xe);let Me=Ye;return[()=>{const it=pe(E());return P(it,Me)?(Me.data=it.data,Me.isLoading=it.isLoading,Me.isValidating=it.isValidating,Me.error=it.error,Me):(Me=it,it)},()=>_e]},[u,A]),ie=T2.useSyncExternalStore(U.useCallback(ge=>q(A,(pe,se)=>{P(se,pe)||ge()}),[u,A]),ae[0],ae[1]),be=!O.current,S=x[A]&&x[A].length>0,Z=ie.data,oe=Fe(Z)?ue:Z,w=ie.error,le=U.useRef(oe),ye=v?Fe(Z)?le.current:Z:oe,de=S&&!Fe(w)?!1:be&&!Fe(h)?h:ne().isPaused()?!1:c?Fe(oe)?!1:m:Fe(oe)||m,Ge=!!(A&&r&&be&&de),Ee=Fe(ie.isValidating)?Ge:ie.isValidating,Re=Fe(ie.isLoading)?Ge:ie.isLoading,fe=U.useCallback(async ge=>{const pe=D.current;if(!A||!pe||_.current||ne().isPaused())return!1;let se,xe,Ye=!0;const _e=ge||{},Me=!T[A]||!_e.dedupe,it=()=>dm?!_.current&&A===k.current&&O.current:A===k.current,St={isValidating:!1,isLoading:!1},sn=()=>{j(St)},Bn=()=>{const De=T[A];De&&De[1]===xe&&delete T[A]},cn={isValidating:!0};Fe(E().data)&&(cn.isLoading=!0);try{if(Me&&(j(cn),a.loadingTimeout&&Fe(E().data)&&setTimeout(()=>{Ye&&it()&&ne().onLoadingSlow(A,a)},a.loadingTimeout),T[A]=[pe(N),sc()]),[se,xe]=T[A],se=await se,Me&&setTimeout(Bn,a.dedupingInterval),!T[A]||T[A][1]!==xe)return Me&&it()&&ne().onDiscarded(A),!1;St.error=Wt;const De=M[A];if(!Fe(De)&&(xe<=De[0]||xe<=De[1]||De[1]===0))return sn(),Me&&it()&&ne().onDiscarded(A),!1;const Dt=E().data;St.data=o(Dt,se)?Dt:se,Me&&it()&&ne().onSuccess(se,A,a)}catch(De){Bn();const Dt=ne(),{shouldRetryOnError:Y}=Dt;Dt.isPaused()||(St.error=De,Me&&it()&&(Dt.onError(De,A,Dt),(Y===!0||Yn(Y)&&Y(De))&&(!ne().revalidateOnFocus||!ne().revalidateOnReconnect||V())&&Dt.onErrorRetry(De,A,Dt,$=>{const ce=x[A];ce&&ce[0]&&ce[0](ei.ERROR_REVALIDATE_EVENT,$)},{retryCount:(_e.retryCount||0)+1,dedupe:!0})))}return Ye=!1,sn(),!0},[A,u]),Ne=U.useCallback((...ge)=>ym(u,k.current,...ge),[]);if(ic(()=>{D.current=r,F.current=a,Fe(Z)||(le.current=Z)}),ic(()=>{if(!A)return;const ge=fe.bind(Wt,cc);let pe=0;const xe=$2(A,x,(Ye,_e={})=>{if(Ye==ei.FOCUS_EVENT){const Me=Date.now();ne().revalidateOnFocus&&Me>pe&&V()&&(pe=Me+ne().focusThrottleInterval,ge())}else if(Ye==ei.RECONNECT_EVENT)ne().revalidateOnReconnect&&V()&&ge();else{if(Ye==ei.MUTATE_EVENT)return fe();if(Ye==ei.ERROR_REVALIDATE_EVENT)return fe(_e)}});return _.current=!1,k.current=A,O.current=!0,j({_k:N}),de&&(Fe(oe)||$a?ge():U2(ge)),()=>{_.current=!0,xe()}},[A]),ic(()=>{let ge;function pe(){const xe=Yn(p)?p(E().data):p;xe&&ge!==-1&&(ge=setTimeout(se,xe))}function se(){!E().error&&(g||ne().isVisible())&&(b||ne().isOnline())?fe(cc).then(pe):pe()}return pe(),()=>{ge&&(clearTimeout(ge),ge=-1)}},[p,g,b,A]),U.useDebugValue(ye),c&&Fe(oe)&&A){if(!dm&&$a)throw new Error("Fallback data is required when using suspense in SSR.");D.current=r,F.current=a,_.current=!1;const ge=H[A];if(!Fe(ge)){const pe=Ne(ge);vm(pe)}if(Fe(w)){const pe=fe(cc);Fe(ye)||(pe.status="fulfilled",pe.value=!0),vm(pe)}else throw w}return{mutate:Ne,get data(){return te.data=!0,ye},get error(){return te.error=!0,w},get isValidating(){return te.isValidating=!0,Ee},get isLoading(){return te.isLoading=!0,Re}}});var fc,Em;function eC(){if(Em)return fc;Em=1;function t(r,a){if(typeof r!="function")throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof r}\`.`);let u,o=0;return function(...f){clearTimeout(u);const h=Date.now(),m=h-o,p=a-m;p<=0?(o=h,r.apply(this,f)):u=setTimeout(()=>{o=Date.now(),r.apply(this,f)},p)}}return fc=t,fc}var tC=eC();const nC=El(tC);function Cm(t,r){return r!=null?nC(t,r):t}var rC=async(t,r,a,u,o,c,f,h,m,p,g,b,v,x,M,T,H)=>{var A;const N=f.current;a(r.messages,!1);const O=x?r.messages:r.messages.map(({role:k,content:D,experimental_attachments:F,data:ne,annotations:V,toolInvocations:E})=>({role:k,content:D,...F!==void 0&&{experimental_attachments:F},...ne!==void 0&&{data:ne},...V!==void 0&&{annotations:V},...E!==void 0&&{toolInvocations:E}})),_=o.current;return await C2({api:t,body:(A=M==null?void 0:M({messages:r.messages,requestData:r.data,requestBody:r.body}))!=null?A:{messages:O,data:r.data,...c.current.body,...r.body},streamProtocol:p,credentials:c.current.credentials,headers:{...c.current.headers,...r.headers},abortController:()=>h.current,restoreMessagesOnFailure(){H||a(N,!1)},onResponse:b,onUpdate(k,D){a([...r.messages,...k],!1),D!=null&&D.length&&u([..._??[],...D],!1)},onToolCall:v,onFinish:g,generateId:m,fetch:T})};function lC({api:t="/api/chat",id:r,initialMessages:a,initialInput:u="",sendExtraMessageFields:o,onToolCall:c,experimental_prepareRequestBody:f,maxSteps:h=1,streamProtocol:m="data",onResponse:p,onFinish:g,onError:b,credentials:v,headers:x,body:M,generateId:T=im,fetch:H,keepLastMessageOnError:A=!0,experimental_throttle:N}={}){const O=U.useId(),_=r??O,k=typeof t=="string"?[t,_]:_,[D]=U.useState([]),{data:F,mutate:ne}=_u([k,"messages"],null,{fallbackData:a??D}),V=U.useRef(F||[]);U.useEffect(()=>{V.current=F||[]},[F]);const{data:E,mutate:j}=_u([k,"streamData"],null),q=U.useRef(E);U.useEffect(()=>{q.current=E},[E]);const{data:J=!1,mutate:te}=_u([k,"loading"],null),{data:ue=void 0,mutate:P}=_u([k,"error"],null),ae=U.useRef(null),ie=U.useRef({credentials:v,headers:x,body:M});U.useEffect(()=>{ie.current={credentials:v,headers:x,body:M}},[v,x,M]);const be=U.useCallback(async fe=>{const Ne=V.current.length;try{te(!0),P(void 0);const se=new AbortController;ae.current=se,await rC(t,fe,Cm(ne,N),Cm(j,N),q,ie,V,ae,T,m,g,p,c,o,f,H,A),ae.current=null}catch(se){if(se.name==="AbortError")return ae.current=null,null;b&&se instanceof Error&&b(se),P(se)}finally{te(!1)}const ge=V.current,pe=ge[ge.length-1];ge.length>Ne&&pe!=null&&h>1&&Am(pe)&&aC(ge)<h&&await be({messages:ge})},[ne,te,t,ie,p,g,b,P,j,q,m,o,f,c,h,V,ae,T,H,A,N]),S=U.useCallback(async(fe,{data:Ne,headers:ge,body:pe,experimental_attachments:se}={})=>{var xe,Ye;const _e=await om(se),Me=V.current.concat({...fe,id:(xe=fe.id)!=null?xe:T(),createdAt:(Ye=fe.createdAt)!=null?Ye:new Date,experimental_attachments:_e.length>0?_e:void 0});return be({messages:Me,headers:ge,body:pe,data:Ne})},[be,T]),Z=U.useCallback(async({data:fe,headers:Ne,body:ge}={})=>{const pe=V.current;if(pe.length===0)return null;const se=pe[pe.length-1];return be({messages:se.role==="assistant"?pe.slice(0,-1):pe,headers:Ne,body:ge,data:fe})},[be]),oe=U.useCallback(()=>{ae.current&&(ae.current.abort(),ae.current=null)},[]),w=U.useCallback(fe=>{typeof fe=="function"&&(fe=fe(V.current)),ne(fe,!1),V.current=fe},[ne]),le=U.useCallback(fe=>{typeof fe=="function"&&(fe=fe(q.current)),j(fe,!1),q.current=fe},[j]),[ye,de]=U.useState(u),Ge=U.useCallback(async(fe,Ne={},ge)=>{var pe;if((pe=fe==null?void 0:fe.preventDefault)==null||pe.call(fe),!ye&&!Ne.allowEmptySubmit)return;ge&&(ie.current={...ie.current,...ge});const se=await om(Ne.experimental_attachments),Ye={messages:!ye&&!se.length&&Ne.allowEmptySubmit?V.current:V.current.concat({id:T(),createdAt:new Date,role:"user",content:ye,experimental_attachments:se.length>0?se:void 0}),headers:Ne.headers,body:Ne.body,data:Ne.data};be(Ye),de("")},[ye,T,be]);return{messages:F||[],setMessages:w,data:E,setData:le,error:ue,append:S,reload:Z,stop:oe,input:ye,setInput:de,handleInputChange:fe=>{de(fe.target.value)},handleSubmit:Ge,isLoading:J,addToolResult:({toolCallId:fe,result:Ne})=>{const ge=V.current.map((se,xe,Ye)=>xe===Ye.length-1&&se.role==="assistant"&&se.toolInvocations?{...se,toolInvocations:se.toolInvocations.map(_e=>_e.toolCallId===fe?{..._e,result:Ne,state:"result"}:_e)}:se);ne(ge,!1);const pe=ge[ge.length-1];Am(pe)&&be({messages:ge})}}}function Am(t){return t.role==="assistant"&&t.toolInvocations&&t.toolInvocations.length>0&&t.toolInvocations.every(r=>"result"in r)}function aC(t){let r=0;for(let a=t.length-1;a>=0&&t[a].role==="assistant";a--)r++;return r}var iC=lC;const uC=t=>t,oC=t=>async(r,a)=>{var f;if(typeof(a==null?void 0:a.body)!="string")return console.error("Unexpected body type."),window.fetch(r,a);const u=JSON.parse(a==null?void 0:a.body).messages,o=t.transformBody??uC,c={...a,body:JSON.stringify(o(u)),...t.fetchOpts,headers:{...a==null?void 0:a.headers,"Content-Type":"application/json",...(f=t.fetchOpts)==null?void 0:f.headers}};return fetch(r,c)},sC=(t,r)=>{const a=U.useMemo(()=>oC(t),[t]);return iC({api:t.apiUrl,streamProtocol:"text",fetch:a,onFinish:u=>{var o;t.onFinish&&(u.role==="assistant"||u.role==="user"?(o=t.onFinish)==null||o.call(t,u):console.info("Unexpected message role.",u))},...r})};function E4(){}function C4(){}function cC(t,r){const a={};return(t[t.length-1]===""?[...t,""]:t).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const fC=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,dC=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,hC={};function wm(t,r){return(hC.jsx?dC:fC).test(t)}const pC=/[ \t\n\f\r]/g;function mC(t){return typeof t=="object"?t.type==="text"?Tm(t.value):!1:Tm(t)}function Tm(t){return t.replace(pC,"")===""}class ti{constructor(r,a,u){this.property=r,this.normal=a,u&&(this.space=u)}}ti.prototype.property={},ti.prototype.normal={},ti.prototype.space=null;function km(t,r){const a={},u={};let o=-1;for(;++o<t.length;)Object.assign(a,t[o].property),Object.assign(u,t[o].normal);return new ti(a,u,r)}function dc(t){return t.toLowerCase()}class bn{constructor(r,a){this.property=r,this.attribute=a}}bn.prototype.space=null,bn.prototype.boolean=!1,bn.prototype.booleanish=!1,bn.prototype.overloadedBoolean=!1,bn.prototype.number=!1,bn.prototype.commaSeparated=!1,bn.prototype.spaceSeparated=!1,bn.prototype.commaOrSpaceSeparated=!1,bn.prototype.mustUseProperty=!1,bn.prototype.defined=!1;let gC=0;const Te=Wr(),Ct=Wr(),Rm=Wr(),re=Wr(),lt=Wr(),zl=Wr(),un=Wr();function Wr(){return 2**++gC}const hc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Te,booleanish:Ct,commaOrSpaceSeparated:un,commaSeparated:zl,number:re,overloadedBoolean:Rm,spaceSeparated:lt},Symbol.toStringTag,{value:"Module"})),pc=Object.keys(hc);class mc extends bn{constructor(r,a,u,o){let c=-1;if(super(r,a),Om(this,"space",o),typeof u=="number")for(;++c<pc.length;){const f=pc[c];Om(this,pc[c],(u&hc[f])===hc[f])}}}mc.prototype.defined=!0;function Om(t,r,a){a&&(t[r]=a)}const yC={}.hasOwnProperty;function Nl(t){const r={},a={};let u;for(u in t.properties)if(yC.call(t.properties,u)){const o=t.properties[u],c=new mc(u,t.transform(t.attributes||{},u),o,t.space);t.mustUseProperty&&t.mustUseProperty.includes(u)&&(c.mustUseProperty=!0),r[u]=c,a[dc(u)]=u,a[dc(c.attribute)]=u}return new ti(r,a,t.space)}const Mm=Nl({space:"xlink",transform(t,r){return"xlink:"+r.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Dm=Nl({space:"xml",transform(t,r){return"xml:"+r.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Bm(t,r){return r in t?t[r]:r}function zm(t,r){return Bm(t,r.toLowerCase())}const Nm=Nl({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:zm,properties:{xmlns:null,xmlnsXLink:null}}),Lm=Nl({transform(t,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ct,ariaAutoComplete:null,ariaBusy:Ct,ariaChecked:Ct,ariaColCount:re,ariaColIndex:re,ariaColSpan:re,ariaControls:lt,ariaCurrent:null,ariaDescribedBy:lt,ariaDetails:null,ariaDisabled:Ct,ariaDropEffect:lt,ariaErrorMessage:null,ariaExpanded:Ct,ariaFlowTo:lt,ariaGrabbed:Ct,ariaHasPopup:null,ariaHidden:Ct,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lt,ariaLevel:re,ariaLive:null,ariaModal:Ct,ariaMultiLine:Ct,ariaMultiSelectable:Ct,ariaOrientation:null,ariaOwns:lt,ariaPlaceholder:null,ariaPosInSet:re,ariaPressed:Ct,ariaReadOnly:Ct,ariaRelevant:null,ariaRequired:Ct,ariaRoleDescription:lt,ariaRowCount:re,ariaRowIndex:re,ariaRowSpan:re,ariaSelected:Ct,ariaSetSize:re,ariaSort:null,ariaValueMax:re,ariaValueMin:re,ariaValueNow:re,ariaValueText:null,role:null}}),bC=Nl({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:zm,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:zl,acceptCharset:lt,accessKey:lt,action:null,allow:null,allowFullScreen:Te,allowPaymentRequest:Te,allowUserMedia:Te,alt:null,as:null,async:Te,autoCapitalize:null,autoComplete:lt,autoFocus:Te,autoPlay:Te,blocking:lt,capture:null,charSet:null,checked:Te,cite:null,className:lt,cols:re,colSpan:null,content:null,contentEditable:Ct,controls:Te,controlsList:lt,coords:re|zl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Te,defer:Te,dir:null,dirName:null,disabled:Te,download:Rm,draggable:Ct,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Te,formTarget:null,headers:lt,height:re,hidden:Te,high:re,href:null,hrefLang:null,htmlFor:lt,httpEquiv:lt,id:null,imageSizes:null,imageSrcSet:null,inert:Te,inputMode:null,integrity:null,is:null,isMap:Te,itemId:null,itemProp:lt,itemRef:lt,itemScope:Te,itemType:lt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Te,low:re,manifest:null,max:null,maxLength:re,media:null,method:null,min:null,minLength:re,multiple:Te,muted:Te,name:null,nonce:null,noModule:Te,noValidate:Te,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:Te,optimum:re,pattern:null,ping:lt,placeholder:null,playsInline:Te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Te,referrerPolicy:null,rel:lt,required:Te,reversed:Te,rows:re,rowSpan:re,sandbox:lt,scope:null,scoped:Te,seamless:Te,selected:Te,shadowRootClonable:Te,shadowRootDelegatesFocus:Te,shadowRootMode:null,shape:null,size:re,sizes:null,slot:null,span:re,spellCheck:Ct,src:null,srcDoc:null,srcLang:null,srcSet:null,start:re,step:null,style:null,tabIndex:re,target:null,title:null,translate:null,type:null,typeMustMatch:Te,useMap:null,value:Ct,width:re,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lt,axis:null,background:null,bgColor:null,border:re,borderColor:null,bottomMargin:re,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Te,declare:Te,event:null,face:null,frame:null,frameBorder:null,hSpace:re,leftMargin:re,link:null,longDesc:null,lowSrc:null,marginHeight:re,marginWidth:re,noResize:Te,noHref:Te,noShade:Te,noWrap:Te,object:null,profile:null,prompt:null,rev:null,rightMargin:re,rules:null,scheme:null,scrolling:Ct,standby:null,summary:null,text:null,topMargin:re,valueType:null,version:null,vAlign:null,vLink:null,vSpace:re,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Te,disableRemotePlayback:Te,prefix:null,property:null,results:re,security:null,unselectable:null}}),SC=Nl({space:"svg",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"},transform:Bm,properties:{about:un,accentHeight:re,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:re,amplitude:re,arabicForm:null,ascent:re,attributeName:null,attributeType:null,azimuth:re,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:re,by:null,calcMode:null,capHeight:re,className:lt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:re,diffuseConstant:re,direction:null,display:null,dur:null,divisor:re,dominantBaseline:null,download:Te,dx:null,dy:null,edgeMode:null,editable:null,elevation:re,enableBackground:null,end:null,event:null,exponent:re,externalResourcesRequired:null,fill:null,fillOpacity:re,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:zl,g2:zl,glyphName:zl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:re,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:re,horizOriginX:re,horizOriginY:re,id:null,ideographic:re,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:re,k:re,k1:re,k2:re,k3:re,k4:re,kernelMatrix:un,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:re,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:re,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:re,overlineThickness:re,paintOrder:null,panose1:null,path:null,pathLength:re,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:re,pointsAtY:re,pointsAtZ:re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:un,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:un,rev:un,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:un,requiredFeatures:un,requiredFonts:un,requiredFormats:un,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:re,specularExponent:re,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:re,strikethroughThickness:re,string:null,stroke:null,strokeDashArray:un,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:re,strokeOpacity:re,strokeWidth:null,style:null,surfaceScale:re,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:un,tabIndex:re,tableValues:null,target:null,targetX:re,targetY:re,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:un,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:re,underlineThickness:re,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:re,values:null,vAlphabetic:re,vMathematical:re,vectorEffect:null,vHanging:re,vIdeographic:re,version:null,vertAdvY:re,vertOriginX:re,vertOriginY:re,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:re,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),xC=/^data[-\w.:]+$/i,Um=/-[a-z]/g,vC=/[A-Z]/g;function EC(t,r){const a=dc(r);let u=r,o=bn;if(a in t.normal)return t.property[t.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&xC.test(r)){if(r.charAt(4)==="-"){const c=r.slice(5).replace(Um,AC);u="data"+c.charAt(0).toUpperCase()+c.slice(1)}else{const c=r.slice(4);if(!Um.test(c)){let f=c.replace(vC,CC);f.charAt(0)!=="-"&&(f="-"+f),r="data"+f}}o=mc}return new o(u,r)}function CC(t){return"-"+t.toLowerCase()}function AC(t){return t.charAt(1).toUpperCase()}const wC={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"},TC=km([Dm,Mm,Nm,Lm,bC],"html"),gc=km([Dm,Mm,Nm,Lm,SC],"svg");function kC(t){return t.join(" ").trim()}var ni={},yc,_m;function RC(){if(_m)return yc;_m=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,c=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,h=/^\s+|\s+$/g,m=`
149
+ `,p="/",g="*",b="",v="comment",x="declaration";yc=function(T,H){if(typeof T!="string")throw new TypeError("First argument must be a string");if(!T)return[];H=H||{};var A=1,N=1;function O(J){var te=J.match(r);te&&(A+=te.length);var ue=J.lastIndexOf(m);N=~ue?J.length-ue:N+J.length}function _(){var J={line:A,column:N};return function(te){return te.position=new k(J),ne(),te}}function k(J){this.start=J,this.end={line:A,column:N},this.source=H.source}k.prototype.content=T;function D(J){var te=new Error(H.source+":"+A+":"+N+": "+J);if(te.reason=J,te.filename=H.source,te.line=A,te.column=N,te.source=T,!H.silent)throw te}function F(J){var te=J.exec(T);if(te){var ue=te[0];return O(ue),T=T.slice(ue.length),te}}function ne(){F(a)}function V(J){var te;for(J=J||[];te=E();)te!==!1&&J.push(te);return J}function E(){var J=_();if(!(p!=T.charAt(0)||g!=T.charAt(1))){for(var te=2;b!=T.charAt(te)&&(g!=T.charAt(te)||p!=T.charAt(te+1));)++te;if(te+=2,b===T.charAt(te-1))return D("End of comment missing");var ue=T.slice(2,te-2);return N+=2,O(ue),T=T.slice(te),N+=2,J({type:v,comment:ue})}}function j(){var J=_(),te=F(u);if(te){if(E(),!F(o))return D("property missing ':'");var ue=F(c),P=J({type:x,property:M(te[0].replace(t,b)),value:ue?M(ue[0].replace(t,b)):b});return F(f),P}}function q(){var J=[];V(J);for(var te;te=j();)te!==!1&&(J.push(te),V(J));return J}return ne(),q()};function M(T){return T?T.replace(h,b):b}return yc}var Hm;function OC(){if(Hm)return ni;Hm=1;var t=ni.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(ni,"__esModule",{value:!0}),ni.default=a;var r=t(RC());function a(u,o){var c=null;if(!u||typeof u!="string")return c;var f=(0,r.default)(u),h=typeof o=="function";return f.forEach(function(m){if(m.type==="declaration"){var p=m.property,g=m.value;h?o(p,g,m):g&&(c=c||{},c[p]=g)}}),c}return ni}var MC=OC();const jm=El(MC),DC=jm.default||jm,Im=Gm("end"),bc=Gm("start");function Gm(t){return r;function r(a){const u=a&&a.position&&a.position[t]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function BC(t){const r=bc(t),a=Im(t);if(r&&a)return{start:r,end:a}}function ri(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?qm(t.position):"start"in t||"end"in t?qm(t):"line"in t||"column"in t?Sc(t):""}function Sc(t){return Vm(t&&t.line)+":"+Vm(t&&t.column)}function qm(t){return Sc(t&&t.start)+"-"+Sc(t&&t.end)}function Vm(t){return t&&typeof t=="number"?t:1}class Yt extends Error{constructor(r,a,u){super(),typeof a=="string"&&(u=a,a=void 0);let o="",c={},f=!1;if(a&&("line"in a&&"column"in a?c={place:a}:"start"in a&&"end"in a?c={place:a}:"type"in a?c={ancestors:[a],place:a.position}:c={...a}),typeof r=="string"?o=r:!c.cause&&r&&(f=!0,o=r.message,c.cause=r),!c.ruleId&&!c.source&&typeof u=="string"){const m=u.indexOf(":");m===-1?c.ruleId=u:(c.source=u.slice(0,m),c.ruleId=u.slice(m+1))}if(!c.place&&c.ancestors&&c.ancestors){const m=c.ancestors[c.ancestors.length-1];m&&(c.place=m.position)}const h=c.place&&"start"in c.place?c.place.start:c.place;this.ancestors=c.ancestors||void 0,this.cause=c.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file,this.message=o,this.line=h?h.line:void 0,this.name=ri(c.place)||"1:1",this.place=c.place||void 0,this.reason=this.message,this.ruleId=c.ruleId||void 0,this.source=c.source||void 0,this.stack=f&&c.cause&&typeof c.cause.stack=="string"?c.cause.stack:"",this.actual,this.expected,this.note,this.url}}Yt.prototype.file="",Yt.prototype.name="",Yt.prototype.reason="",Yt.prototype.message="",Yt.prototype.stack="",Yt.prototype.column=void 0,Yt.prototype.line=void 0,Yt.prototype.ancestors=void 0,Yt.prototype.cause=void 0,Yt.prototype.fatal=void 0,Yt.prototype.place=void 0,Yt.prototype.ruleId=void 0,Yt.prototype.source=void 0;const xc={}.hasOwnProperty,zC=new Map,NC=/[A-Z]/g,LC=/-([a-z])/g,UC=new Set(["table","tbody","thead","tfoot","tr"]),_C=new Set(["td","th"]),Ym="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function HC(t,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=r.filePath||void 0;let u;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=QC(a,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");u=FC(a,r.jsx,r.jsxs)}const o={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:u,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?gc:TC,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},c=Fm(o,t,void 0);return c&&typeof c!="string"?c:o.create(t,o.Fragment,{children:c||void 0},void 0)}function Fm(t,r,a){if(r.type==="element")return jC(t,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return IC(t,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return qC(t,r,a);if(r.type==="mdxjsEsm")return GC(t,r);if(r.type==="root")return VC(t,r,a);if(r.type==="text")return YC(t,r)}function jC(t,r,a){const u=t.schema;let o=u;r.tagName.toLowerCase()==="svg"&&u.space==="html"&&(o=gc,t.schema=o),t.ancestors.push(r);const c=Km(t,r.tagName,!1),f=KC(t,r);let h=Ec(t,r);return UC.has(r.tagName)&&(h=h.filter(function(m){return typeof m=="string"?!mC(m):!0})),Qm(t,f,c,r),vc(f,h),t.ancestors.pop(),t.schema=u,t.create(r,c,f,a)}function IC(t,r){if(r.data&&r.data.estree&&t.evaluater){const u=r.data.estree.body[0];return u.type,t.evaluater.evaluateExpression(u.expression)}li(t,r.position)}function GC(t,r){if(r.data&&r.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(r.data.estree);li(t,r.position)}function qC(t,r,a){const u=t.schema;let o=u;r.name==="svg"&&u.space==="html"&&(o=gc,t.schema=o),t.ancestors.push(r);const c=r.name===null?t.Fragment:Km(t,r.name,!0),f=XC(t,r),h=Ec(t,r);return Qm(t,f,c,r),vc(f,h),t.ancestors.pop(),t.schema=u,t.create(r,c,f,a)}function VC(t,r,a){const u={};return vc(u,Ec(t,r)),t.create(r,t.Fragment,u,a)}function YC(t,r){return r.value}function Qm(t,r,a,u){typeof a!="string"&&a!==t.Fragment&&t.passNode&&(r.node=u)}function vc(t,r){if(r.length>0){const a=r.length>1?r:r[0];a&&(t.children=a)}}function FC(t,r,a){return u;function u(o,c,f,h){const p=Array.isArray(f.children)?a:r;return h?p(c,f,h):p(c,f)}}function QC(t,r){return a;function a(u,o,c,f){const h=Array.isArray(c.children),m=bc(u);return r(o,c,f,h,{columnNumber:m?m.column-1:void 0,fileName:t,lineNumber:m?m.line:void 0},void 0)}}function KC(t,r){const a={};let u,o;for(o in r.properties)if(o!=="children"&&xc.call(r.properties,o)){const c=ZC(t,o,r.properties[o]);if(c){const[f,h]=c;t.tableCellAlignToStyle&&f==="align"&&typeof h=="string"&&_C.has(r.tagName)?u=h:a[f]=h}}if(u){const c=a.style||(a.style={});c[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return a}function XC(t,r){const a={};for(const u of r.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&t.evaluater){const c=u.data.estree.body[0];c.type;const f=c.expression;f.type;const h=f.properties[0];h.type,Object.assign(a,t.evaluater.evaluateExpression(h.argument))}else li(t,r.position);else{const o=u.name;let c;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&t.evaluater){const h=u.value.data.estree.body[0];h.type,c=t.evaluater.evaluateExpression(h.expression)}else li(t,r.position);else c=u.value===null?!0:u.value;a[o]=c}return a}function Ec(t,r){const a=[];let u=-1;const o=t.passKeys?new Map:zC;for(;++u<r.children.length;){const c=r.children[u];let f;if(t.passKeys){const m=c.type==="element"?c.tagName:c.type==="mdxJsxFlowElement"||c.type==="mdxJsxTextElement"?c.name:void 0;if(m){const p=o.get(m)||0;f=m+"-"+p,o.set(m,p+1)}}const h=Fm(t,c,f);h!==void 0&&a.push(h)}return a}function ZC(t,r,a){const u=EC(t.schema,r);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=u.commaSeparated?cC(a):kC(a)),u.property==="style"){let o=typeof a=="object"?a:JC(t,String(a));return t.stylePropertyNameCase==="css"&&(o=WC(o)),["style",o]}return[t.elementAttributeNameCase==="react"&&u.space?wC[u.property]||u.property:u.attribute,a]}}function JC(t,r){const a={};try{DC(r,u)}catch(o){if(!t.ignoreInvalidStyle){const c=o,f=new Yt("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:c,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw f.file=t.filePath||void 0,f.url=Ym+"#cannot-parse-style-attribute",f}}return a;function u(o,c){let f=o;f.slice(0,2)!=="--"&&(f.slice(0,4)==="-ms-"&&(f="ms-"+f.slice(4)),f=f.replace(LC,$C)),a[f]=c}}function Km(t,r,a){let u;if(!a)u={type:"Literal",value:r};else if(r.includes(".")){const o=r.split(".");let c=-1,f;for(;++c<o.length;){const h=wm(o[c])?{type:"Identifier",name:o[c]}:{type:"Literal",value:o[c]};f=f?{type:"MemberExpression",object:f,property:h,computed:!!(c&&h.type==="Literal"),optional:!1}:h}u=f}else u=wm(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(u.type==="Literal"){const o=u.value;return xc.call(t.components,o)?t.components[o]:o}if(t.evaluater)return t.evaluater.evaluateExpression(u);li(t)}function li(t,r){const a=new Yt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=t.filePath||void 0,a.url=Ym+"#cannot-handle-mdx-estrees-without-createevaluater",a}function WC(t){const r={};let a;for(a in t)xc.call(t,a)&&(r[PC(a)]=t[a]);return r}function PC(t){let r=t.replace(NC,eA);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function $C(t,r){return r.toUpperCase()}function eA(t){return"-"+t.toLowerCase()}const Cc={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},tA={};function nA(t,r){const a=tA,u=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,o=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return Xm(t,u,o)}function Xm(t,r,a){if(rA(t)){if("value"in t)return t.type==="html"&&!a?"":t.value;if(r&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Zm(t.children,r,a)}return Array.isArray(t)?Zm(t,r,a):""}function Zm(t,r,a){const u=[];let o=-1;for(;++o<t.length;)u[o]=Xm(t[o],r,a);return u.join("")}function rA(t){return!!(t&&typeof t=="object")}const Jm=document.createElement("i");function Ac(t){const r="&"+t+";";Jm.innerHTML=r;const a=Jm.textContent;return a.charCodeAt(a.length-1)===59&&t!=="semi"||a===r?!1:a}function tr(t,r,a,u){const o=t.length;let c=0,f;if(r<0?r=-r>o?0:o+r:r=r>o?o:r,a=a>0?a:0,u.length<1e4)f=Array.from(u),f.unshift(r,a),t.splice(...f);else for(a&&t.splice(r,a);c<u.length;)f=u.slice(c,c+1e4),f.unshift(r,0),t.splice(...f),c+=1e4,r+=1e4}function Sn(t,r){return t.length>0?(tr(t,t.length,0,r),t):r}const Wm={}.hasOwnProperty;function lA(t){const r={};let a=-1;for(;++a<t.length;)aA(r,t[a]);return r}function aA(t,r){let a;for(a in r){const o=(Wm.call(t,a)?t[a]:void 0)||(t[a]={}),c=r[a];let f;if(c)for(f in c){Wm.call(o,f)||(o[f]=[]);const h=c[f];iA(o[f],Array.isArray(h)?h:h?[h]:[])}}}function iA(t,r){let a=-1;const u=[];for(;++a<r.length;)(r[a].add==="after"?t:u).push(r[a]);tr(t,0,0,u)}function Pm(t,r){const a=Number.parseInt(t,r);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function Ll(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Fn=wr(/[A-Za-z]/),on=wr(/[\dA-Za-z]/),uA=wr(/[#-'*+\--9=?A-Z^-~]/);function wc(t){return t!==null&&(t<32||t===127)}const Tc=wr(/\d/),oA=wr(/[\dA-Fa-f]/),sA=wr(/[!-/:-@[-`{-~]/);function Ce(t){return t!==null&&t<-2}function Pt(t){return t!==null&&(t<0||t===32)}function Je(t){return t===-2||t===-1||t===32}const cA=wr(new RegExp("\\p{P}|\\p{S}","u")),fA=wr(/\s/);function wr(t){return r;function r(a){return a!==null&&a>-1&&t.test(String.fromCharCode(a))}}function Ul(t){const r=[];let a=-1,u=0,o=0;for(;++a<t.length;){const c=t.charCodeAt(a);let f="";if(c===37&&on(t.charCodeAt(a+1))&&on(t.charCodeAt(a+2)))o=2;else if(c<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(c))||(f=String.fromCharCode(c));else if(c>55295&&c<57344){const h=t.charCodeAt(a+1);c<56320&&h>56319&&h<57344?(f=String.fromCharCode(c,h),o=1):f="�"}else f=String.fromCharCode(c);f&&(r.push(t.slice(u,a),encodeURIComponent(f)),u=a+o+1,f=""),o&&(a+=o,o=0)}return r.join("")+t.slice(u)}function at(t,r,a,u){const o=u?u-1:Number.POSITIVE_INFINITY;let c=0;return f;function f(m){return Je(m)?(t.enter(a),h(m)):r(m)}function h(m){return Je(m)&&c++<o?(t.consume(m),h):(t.exit(a),r(m))}}const dA={tokenize:hA};function hA(t){const r=t.attempt(this.parser.constructs.contentInitial,u,o);let a;return r;function u(h){if(h===null){t.consume(h);return}return t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),at(t,r,"linePrefix")}function o(h){return t.enter("paragraph"),c(h)}function c(h){const m=t.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=m),a=m,f(h)}function f(h){if(h===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(h);return}return Ce(h)?(t.consume(h),t.exit("chunkText"),c):(t.consume(h),f)}}const pA={tokenize:mA},$m={tokenize:gA};function mA(t){const r=this,a=[];let u=0,o,c,f;return h;function h(O){if(u<a.length){const _=a[u];return r.containerState=_[1],t.attempt(_[0].continuation,m,p)(O)}return p(O)}function m(O){if(u++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&N();const _=r.events.length;let k=_,D;for(;k--;)if(r.events[k][0]==="exit"&&r.events[k][1].type==="chunkFlow"){D=r.events[k][1].end;break}A(u);let F=_;for(;F<r.events.length;)r.events[F][1].end=Object.assign({},D),F++;return tr(r.events,k+1,0,r.events.slice(_)),r.events.length=F,p(O)}return h(O)}function p(O){if(u===a.length){if(!o)return v(O);if(o.currentConstruct&&o.currentConstruct.concrete)return M(O);r.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},t.check($m,g,b)(O)}function g(O){return o&&N(),A(u),v(O)}function b(O){return r.parser.lazy[r.now().line]=u!==a.length,f=r.now().offset,M(O)}function v(O){return r.containerState={},t.attempt($m,x,M)(O)}function x(O){return u++,a.push([r.currentConstruct,r.containerState]),v(O)}function M(O){if(O===null){o&&N(),A(0),t.consume(O);return}return o=o||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:c,_tokenizer:o}),T(O)}function T(O){if(O===null){H(t.exit("chunkFlow"),!0),A(0),t.consume(O);return}return Ce(O)?(t.consume(O),H(t.exit("chunkFlow")),u=0,r.interrupt=void 0,h):(t.consume(O),T)}function H(O,_){const k=r.sliceStream(O);if(_&&k.push(null),O.previous=c,c&&(c.next=O),c=O,o.defineSkip(O.start),o.write(k),r.parser.lazy[O.start.line]){let D=o.events.length;for(;D--;)if(o.events[D][1].start.offset<f&&(!o.events[D][1].end||o.events[D][1].end.offset>f))return;const F=r.events.length;let ne=F,V,E;for(;ne--;)if(r.events[ne][0]==="exit"&&r.events[ne][1].type==="chunkFlow"){if(V){E=r.events[ne][1].end;break}V=!0}for(A(u),D=F;D<r.events.length;)r.events[D][1].end=Object.assign({},E),D++;tr(r.events,ne+1,0,r.events.slice(F)),r.events.length=D}}function A(O){let _=a.length;for(;_-- >O;){const k=a[_];r.containerState=k[1],k[0].exit.call(r,t)}a.length=O}function N(){o.write([null]),c=void 0,o=void 0,r.containerState._closeFlow=void 0}}function gA(t,r,a){return at(t,t.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function eg(t){if(t===null||Pt(t)||fA(t))return 1;if(cA(t))return 2}function kc(t,r,a){const u=[];let o=-1;for(;++o<t.length;){const c=t[o].resolveAll;c&&!u.includes(c)&&(r=c(r,a),u.push(c))}return r}const Rc={name:"attention",tokenize:bA,resolveAll:yA};function yA(t,r){let a=-1,u,o,c,f,h,m,p,g;for(;++a<t.length;)if(t[a][0]==="enter"&&t[a][1].type==="attentionSequence"&&t[a][1]._close){for(u=a;u--;)if(t[u][0]==="exit"&&t[u][1].type==="attentionSequence"&&t[u][1]._open&&r.sliceSerialize(t[u][1]).charCodeAt(0)===r.sliceSerialize(t[a][1]).charCodeAt(0)){if((t[u][1]._close||t[a][1]._open)&&(t[a][1].end.offset-t[a][1].start.offset)%3&&!((t[u][1].end.offset-t[u][1].start.offset+t[a][1].end.offset-t[a][1].start.offset)%3))continue;m=t[u][1].end.offset-t[u][1].start.offset>1&&t[a][1].end.offset-t[a][1].start.offset>1?2:1;const b=Object.assign({},t[u][1].end),v=Object.assign({},t[a][1].start);tg(b,-m),tg(v,m),f={type:m>1?"strongSequence":"emphasisSequence",start:b,end:Object.assign({},t[u][1].end)},h={type:m>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[a][1].start),end:v},c={type:m>1?"strongText":"emphasisText",start:Object.assign({},t[u][1].end),end:Object.assign({},t[a][1].start)},o={type:m>1?"strong":"emphasis",start:Object.assign({},f.start),end:Object.assign({},h.end)},t[u][1].end=Object.assign({},f.start),t[a][1].start=Object.assign({},h.end),p=[],t[u][1].end.offset-t[u][1].start.offset&&(p=Sn(p,[["enter",t[u][1],r],["exit",t[u][1],r]])),p=Sn(p,[["enter",o,r],["enter",f,r],["exit",f,r],["enter",c,r]]),p=Sn(p,kc(r.parser.constructs.insideSpan.null,t.slice(u+1,a),r)),p=Sn(p,[["exit",c,r],["enter",h,r],["exit",h,r],["exit",o,r]]),t[a][1].end.offset-t[a][1].start.offset?(g=2,p=Sn(p,[["enter",t[a][1],r],["exit",t[a][1],r]])):g=0,tr(t,u-1,a-u+3,p),a=u+p.length-g-2;break}}for(a=-1;++a<t.length;)t[a][1].type==="attentionSequence"&&(t[a][1].type="data");return t}function bA(t,r){const a=this.parser.constructs.attentionMarkers.null,u=this.previous,o=eg(u);let c;return f;function f(m){return c=m,t.enter("attentionSequence"),h(m)}function h(m){if(m===c)return t.consume(m),h;const p=t.exit("attentionSequence"),g=eg(m),b=!g||g===2&&o||a.includes(m),v=!o||o===2&&g||a.includes(u);return p._open=!!(c===42?b:b&&(o||!v)),p._close=!!(c===42?v:v&&(g||!b)),r(m)}}function tg(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}const SA={name:"autolink",tokenize:xA};function xA(t,r,a){let u=0;return o;function o(x){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),c}function c(x){return Fn(x)?(t.consume(x),f):x===64?a(x):p(x)}function f(x){return x===43||x===45||x===46||on(x)?(u=1,h(x)):p(x)}function h(x){return x===58?(t.consume(x),u=0,m):(x===43||x===45||x===46||on(x))&&u++<32?(t.consume(x),h):(u=0,p(x))}function m(x){return x===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.exit("autolink"),r):x===null||x===32||x===60||wc(x)?a(x):(t.consume(x),m)}function p(x){return x===64?(t.consume(x),g):uA(x)?(t.consume(x),p):a(x)}function g(x){return on(x)?b(x):a(x)}function b(x){return x===46?(t.consume(x),u=0,g):x===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.exit("autolink"),r):v(x)}function v(x){if((x===45||on(x))&&u++<63){const M=x===45?v:b;return t.consume(x),M}return a(x)}}const Hu={tokenize:vA,partial:!0};function vA(t,r,a){return u;function u(c){return Je(c)?at(t,o,"linePrefix")(c):o(c)}function o(c){return c===null||Ce(c)?r(c):a(c)}}const ng={name:"blockQuote",tokenize:EA,continuation:{tokenize:CA},exit:AA};function EA(t,r,a){const u=this;return o;function o(f){if(f===62){const h=u.containerState;return h.open||(t.enter("blockQuote",{_container:!0}),h.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(f),t.exit("blockQuoteMarker"),c}return a(f)}function c(f){return Je(f)?(t.enter("blockQuotePrefixWhitespace"),t.consume(f),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(f))}}function CA(t,r,a){const u=this;return o;function o(f){return Je(f)?at(t,c,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):c(f)}function c(f){return t.attempt(ng,r,a)(f)}}function AA(t){t.exit("blockQuote")}const rg={name:"characterEscape",tokenize:wA};function wA(t,r,a){return u;function u(c){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(c),t.exit("escapeMarker"),o}function o(c){return sA(c)?(t.enter("characterEscapeValue"),t.consume(c),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):a(c)}}const lg={name:"characterReference",tokenize:TA};function TA(t,r,a){const u=this;let o=0,c,f;return h;function h(b){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(b),t.exit("characterReferenceMarker"),m}function m(b){return b===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(b),t.exit("characterReferenceMarkerNumeric"),p):(t.enter("characterReferenceValue"),c=31,f=on,g(b))}function p(b){return b===88||b===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(b),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),c=6,f=oA,g):(t.enter("characterReferenceValue"),c=7,f=Tc,g(b))}function g(b){if(b===59&&o){const v=t.exit("characterReferenceValue");return f===on&&!Ac(u.sliceSerialize(v))?a(b):(t.enter("characterReferenceMarker"),t.consume(b),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)}return f(b)&&o++<c?(t.consume(b),g):a(b)}}const ag={tokenize:RA,partial:!0},ig={name:"codeFenced",tokenize:kA,concrete:!0};function kA(t,r,a){const u=this,o={tokenize:k,partial:!0};let c=0,f=0,h;return m;function m(D){return p(D)}function p(D){const F=u.events[u.events.length-1];return c=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[1],!0).length:0,h=D,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),g(D)}function g(D){return D===h?(f++,t.consume(D),g):f<3?a(D):(t.exit("codeFencedFenceSequence"),Je(D)?at(t,b,"whitespace")(D):b(D))}function b(D){return D===null||Ce(D)?(t.exit("codeFencedFence"),u.interrupt?r(D):t.check(ag,T,_)(D)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),v(D))}function v(D){return D===null||Ce(D)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),b(D)):Je(D)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),at(t,x,"whitespace")(D)):D===96&&D===h?a(D):(t.consume(D),v)}function x(D){return D===null||Ce(D)?b(D):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),M(D))}function M(D){return D===null||Ce(D)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),b(D)):D===96&&D===h?a(D):(t.consume(D),M)}function T(D){return t.attempt(o,_,H)(D)}function H(D){return t.enter("lineEnding"),t.consume(D),t.exit("lineEnding"),A}function A(D){return c>0&&Je(D)?at(t,N,"linePrefix",c+1)(D):N(D)}function N(D){return D===null||Ce(D)?t.check(ag,T,_)(D):(t.enter("codeFlowValue"),O(D))}function O(D){return D===null||Ce(D)?(t.exit("codeFlowValue"),N(D)):(t.consume(D),O)}function _(D){return t.exit("codeFenced"),r(D)}function k(D,F,ne){let V=0;return E;function E(ue){return D.enter("lineEnding"),D.consume(ue),D.exit("lineEnding"),j}function j(ue){return D.enter("codeFencedFence"),Je(ue)?at(D,q,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ue):q(ue)}function q(ue){return ue===h?(D.enter("codeFencedFenceSequence"),J(ue)):ne(ue)}function J(ue){return ue===h?(V++,D.consume(ue),J):V>=f?(D.exit("codeFencedFenceSequence"),Je(ue)?at(D,te,"whitespace")(ue):te(ue)):ne(ue)}function te(ue){return ue===null||Ce(ue)?(D.exit("codeFencedFence"),F(ue)):ne(ue)}}}function RA(t,r,a){const u=this;return o;function o(f){return f===null?a(f):(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),c)}function c(f){return u.parser.lazy[u.now().line]?a(f):r(f)}}const Oc={name:"codeIndented",tokenize:MA},OA={tokenize:DA,partial:!0};function MA(t,r,a){const u=this;return o;function o(p){return t.enter("codeIndented"),at(t,c,"linePrefix",5)(p)}function c(p){const g=u.events[u.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?f(p):a(p)}function f(p){return p===null?m(p):Ce(p)?t.attempt(OA,f,m)(p):(t.enter("codeFlowValue"),h(p))}function h(p){return p===null||Ce(p)?(t.exit("codeFlowValue"),f(p)):(t.consume(p),h)}function m(p){return t.exit("codeIndented"),r(p)}}function DA(t,r,a){const u=this;return o;function o(f){return u.parser.lazy[u.now().line]?a(f):Ce(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),o):at(t,c,"linePrefix",5)(f)}function c(f){const h=u.events[u.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?r(f):Ce(f)?o(f):a(f)}}const BA={name:"codeText",tokenize:LA,resolve:zA,previous:NA};function zA(t){let r=t.length-4,a=3,u,o;if((t[a][1].type==="lineEnding"||t[a][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(u=a;++u<r;)if(t[u][1].type==="codeTextData"){t[a][1].type="codeTextPadding",t[r][1].type="codeTextPadding",a+=2,r-=2;break}}for(u=a-1,r++;++u<=r;)o===void 0?u!==r&&t[u][1].type!=="lineEnding"&&(o=u):(u===r||t[u][1].type==="lineEnding")&&(t[o][1].type="codeTextData",u!==o+2&&(t[o][1].end=t[u-1][1].end,t.splice(o+2,u-o-2),r-=u-o-2,u=o+2),o=void 0);return t}function NA(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function LA(t,r,a){let u=0,o,c;return f;function f(b){return t.enter("codeText"),t.enter("codeTextSequence"),h(b)}function h(b){return b===96?(t.consume(b),u++,h):(t.exit("codeTextSequence"),m(b))}function m(b){return b===null?a(b):b===32?(t.enter("space"),t.consume(b),t.exit("space"),m):b===96?(c=t.enter("codeTextSequence"),o=0,g(b)):Ce(b)?(t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),m):(t.enter("codeTextData"),p(b))}function p(b){return b===null||b===32||b===96||Ce(b)?(t.exit("codeTextData"),m(b)):(t.consume(b),p)}function g(b){return b===96?(t.consume(b),o++,g):o===u?(t.exit("codeTextSequence"),t.exit("codeText"),r(b)):(c.type="codeTextData",p(b))}}class UA{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,a){const u=a??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(r,u):r>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(r,a,u){const o=a||0;this.setCursor(Math.trunc(r));const c=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return u&&ai(this.left,u),c.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),ai(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),ai(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const a=this.left.splice(r,Number.POSITIVE_INFINITY);ai(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);ai(this.left,a.reverse())}}}function ai(t,r){let a=0;if(r.length<1e4)t.push(...r);else for(;a<r.length;)t.push(...r.slice(a,a+1e4)),a+=1e4}function ug(t){const r={};let a=-1,u,o,c,f,h,m,p;const g=new UA(t);for(;++a<g.length;){for(;a in r;)a=r[a];if(u=g.get(a),a&&u[1].type==="chunkFlow"&&g.get(a-1)[1].type==="listItemPrefix"&&(m=u[1]._tokenizer.events,c=0,c<m.length&&m[c][1].type==="lineEndingBlank"&&(c+=2),c<m.length&&m[c][1].type==="content"))for(;++c<m.length&&m[c][1].type!=="content";)m[c][1].type==="chunkText"&&(m[c][1]._isInFirstContentOfListItem=!0,c++);if(u[0]==="enter")u[1].contentType&&(Object.assign(r,_A(g,a)),a=r[a],p=!0);else if(u[1]._container){for(c=a,o=void 0;c--&&(f=g.get(c),f[1].type==="lineEnding"||f[1].type==="lineEndingBlank");)f[0]==="enter"&&(o&&(g.get(o)[1].type="lineEndingBlank"),f[1].type="lineEnding",o=c);o&&(u[1].end=Object.assign({},g.get(o)[1].start),h=g.slice(o,a),h.unshift(u),g.splice(o,a-o+1,h))}}return tr(t,0,Number.POSITIVE_INFINITY,g.slice(0)),!p}function _A(t,r){const a=t.get(r)[1],u=t.get(r)[2];let o=r-1;const c=[],f=a._tokenizer||u.parser[a.contentType](a.start),h=f.events,m=[],p={};let g,b,v=-1,x=a,M=0,T=0;const H=[T];for(;x;){for(;t.get(++o)[1]!==x;);c.push(o),x._tokenizer||(g=u.sliceStream(x),x.next||g.push(null),b&&f.defineSkip(x.start),x._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(g),x._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),b=x,x=x.next}for(x=a;++v<h.length;)h[v][0]==="exit"&&h[v-1][0]==="enter"&&h[v][1].type===h[v-1][1].type&&h[v][1].start.line!==h[v][1].end.line&&(T=v+1,H.push(T),x._tokenizer=void 0,x.previous=void 0,x=x.next);for(f.events=[],x?(x._tokenizer=void 0,x.previous=void 0):H.pop(),v=H.length;v--;){const A=h.slice(H[v],H[v+1]),N=c.pop();m.push([N,N+A.length-1]),t.splice(N,2,A)}for(m.reverse(),v=-1;++v<m.length;)p[M+m[v][0]]=M+m[v][1],M+=m[v][1]-m[v][0]-1;return p}const HA={tokenize:GA,resolve:IA},jA={tokenize:qA,partial:!0};function IA(t){return ug(t),t}function GA(t,r){let a;return u;function u(h){return t.enter("content"),a=t.enter("chunkContent",{contentType:"content"}),o(h)}function o(h){return h===null?c(h):Ce(h)?t.check(jA,f,c)(h):(t.consume(h),o)}function c(h){return t.exit("chunkContent"),t.exit("content"),r(h)}function f(h){return t.consume(h),t.exit("chunkContent"),a.next=t.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,o}}function qA(t,r,a){const u=this;return o;function o(f){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),at(t,c,"linePrefix")}function c(f){if(f===null||Ce(f))return a(f);const h=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?r(f):t.interrupt(u.parser.constructs.flow,a,r)(f)}}function og(t,r,a,u,o,c,f,h,m){const p=m||Number.POSITIVE_INFINITY;let g=0;return b;function b(A){return A===60?(t.enter(u),t.enter(o),t.enter(c),t.consume(A),t.exit(c),v):A===null||A===32||A===41||wc(A)?a(A):(t.enter(u),t.enter(f),t.enter(h),t.enter("chunkString",{contentType:"string"}),T(A))}function v(A){return A===62?(t.enter(c),t.consume(A),t.exit(c),t.exit(o),t.exit(u),r):(t.enter(h),t.enter("chunkString",{contentType:"string"}),x(A))}function x(A){return A===62?(t.exit("chunkString"),t.exit(h),v(A)):A===null||A===60||Ce(A)?a(A):(t.consume(A),A===92?M:x)}function M(A){return A===60||A===62||A===92?(t.consume(A),x):x(A)}function T(A){return!g&&(A===null||A===41||Pt(A))?(t.exit("chunkString"),t.exit(h),t.exit(f),t.exit(u),r(A)):g<p&&A===40?(t.consume(A),g++,T):A===41?(t.consume(A),g--,T):A===null||A===32||A===40||wc(A)?a(A):(t.consume(A),A===92?H:T)}function H(A){return A===40||A===41||A===92?(t.consume(A),T):T(A)}}function sg(t,r,a,u,o,c){const f=this;let h=0,m;return p;function p(x){return t.enter(u),t.enter(o),t.consume(x),t.exit(o),t.enter(c),g}function g(x){return h>999||x===null||x===91||x===93&&!m||x===94&&!h&&"_hiddenFootnoteSupport"in f.parser.constructs?a(x):x===93?(t.exit(c),t.enter(o),t.consume(x),t.exit(o),t.exit(u),r):Ce(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),g):(t.enter("chunkString",{contentType:"string"}),b(x))}function b(x){return x===null||x===91||x===93||Ce(x)||h++>999?(t.exit("chunkString"),g(x)):(t.consume(x),m||(m=!Je(x)),x===92?v:b)}function v(x){return x===91||x===92||x===93?(t.consume(x),h++,b):b(x)}}function cg(t,r,a,u,o,c){let f;return h;function h(v){return v===34||v===39||v===40?(t.enter(u),t.enter(o),t.consume(v),t.exit(o),f=v===40?41:v,m):a(v)}function m(v){return v===f?(t.enter(o),t.consume(v),t.exit(o),t.exit(u),r):(t.enter(c),p(v))}function p(v){return v===f?(t.exit(c),m(f)):v===null?a(v):Ce(v)?(t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),at(t,p,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===f||v===null||Ce(v)?(t.exit("chunkString"),p(v)):(t.consume(v),v===92?b:g)}function b(v){return v===f||v===92?(t.consume(v),g):g(v)}}function ii(t,r){let a;return u;function u(o){return Ce(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),a=!0,u):Je(o)?at(t,u,a?"linePrefix":"lineSuffix")(o):r(o)}}const VA={name:"definition",tokenize:FA},YA={tokenize:QA,partial:!0};function FA(t,r,a){const u=this;let o;return c;function c(x){return t.enter("definition"),f(x)}function f(x){return sg.call(u,t,h,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function h(x){return o=Ll(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),x===58?(t.enter("definitionMarker"),t.consume(x),t.exit("definitionMarker"),m):a(x)}function m(x){return Pt(x)?ii(t,p)(x):p(x)}function p(x){return og(t,g,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function g(x){return t.attempt(YA,b,b)(x)}function b(x){return Je(x)?at(t,v,"whitespace")(x):v(x)}function v(x){return x===null||Ce(x)?(t.exit("definition"),u.parser.defined.push(o),r(x)):a(x)}}function QA(t,r,a){return u;function u(h){return Pt(h)?ii(t,o)(h):a(h)}function o(h){return cg(t,c,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(h)}function c(h){return Je(h)?at(t,f,"whitespace")(h):f(h)}function f(h){return h===null||Ce(h)?r(h):a(h)}}const KA={name:"hardBreakEscape",tokenize:XA};function XA(t,r,a){return u;function u(c){return t.enter("hardBreakEscape"),t.consume(c),o}function o(c){return Ce(c)?(t.exit("hardBreakEscape"),r(c)):a(c)}}const ZA={name:"headingAtx",tokenize:WA,resolve:JA};function JA(t,r){let a=t.length-2,u=3,o,c;return t[u][1].type==="whitespace"&&(u+=2),a-2>u&&t[a][1].type==="whitespace"&&(a-=2),t[a][1].type==="atxHeadingSequence"&&(u===a-1||a-4>u&&t[a-2][1].type==="whitespace")&&(a-=u+1===a?2:4),a>u&&(o={type:"atxHeadingText",start:t[u][1].start,end:t[a][1].end},c={type:"chunkText",start:t[u][1].start,end:t[a][1].end,contentType:"text"},tr(t,u,a-u+1,[["enter",o,r],["enter",c,r],["exit",c,r],["exit",o,r]])),t}function WA(t,r,a){let u=0;return o;function o(g){return t.enter("atxHeading"),c(g)}function c(g){return t.enter("atxHeadingSequence"),f(g)}function f(g){return g===35&&u++<6?(t.consume(g),f):g===null||Pt(g)?(t.exit("atxHeadingSequence"),h(g)):a(g)}function h(g){return g===35?(t.enter("atxHeadingSequence"),m(g)):g===null||Ce(g)?(t.exit("atxHeading"),r(g)):Je(g)?at(t,h,"whitespace")(g):(t.enter("atxHeadingText"),p(g))}function m(g){return g===35?(t.consume(g),m):(t.exit("atxHeadingSequence"),h(g))}function p(g){return g===null||g===35||Pt(g)?(t.exit("atxHeadingText"),h(g)):(t.consume(g),p)}}const PA=["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"],fg=["pre","script","style","textarea"],$A={name:"htmlFlow",tokenize:rw,resolveTo:nw,concrete:!0},ew={tokenize:aw,partial:!0},tw={tokenize:lw,partial:!0};function nw(t){let r=t.length;for(;r--&&!(t[r][0]==="enter"&&t[r][1].type==="htmlFlow"););return r>1&&t[r-2][1].type==="linePrefix"&&(t[r][1].start=t[r-2][1].start,t[r+1][1].start=t[r-2][1].start,t.splice(r-2,2)),t}function rw(t,r,a){const u=this;let o,c,f,h,m;return p;function p(w){return g(w)}function g(w){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(w),b}function b(w){return w===33?(t.consume(w),v):w===47?(t.consume(w),c=!0,T):w===63?(t.consume(w),o=3,u.interrupt?r:S):Fn(w)?(t.consume(w),f=String.fromCharCode(w),H):a(w)}function v(w){return w===45?(t.consume(w),o=2,x):w===91?(t.consume(w),o=5,h=0,M):Fn(w)?(t.consume(w),o=4,u.interrupt?r:S):a(w)}function x(w){return w===45?(t.consume(w),u.interrupt?r:S):a(w)}function M(w){const le="CDATA[";return w===le.charCodeAt(h++)?(t.consume(w),h===le.length?u.interrupt?r:q:M):a(w)}function T(w){return Fn(w)?(t.consume(w),f=String.fromCharCode(w),H):a(w)}function H(w){if(w===null||w===47||w===62||Pt(w)){const le=w===47,ye=f.toLowerCase();return!le&&!c&&fg.includes(ye)?(o=1,u.interrupt?r(w):q(w)):PA.includes(f.toLowerCase())?(o=6,le?(t.consume(w),A):u.interrupt?r(w):q(w)):(o=7,u.interrupt&&!u.parser.lazy[u.now().line]?a(w):c?N(w):O(w))}return w===45||on(w)?(t.consume(w),f+=String.fromCharCode(w),H):a(w)}function A(w){return w===62?(t.consume(w),u.interrupt?r:q):a(w)}function N(w){return Je(w)?(t.consume(w),N):E(w)}function O(w){return w===47?(t.consume(w),E):w===58||w===95||Fn(w)?(t.consume(w),_):Je(w)?(t.consume(w),O):E(w)}function _(w){return w===45||w===46||w===58||w===95||on(w)?(t.consume(w),_):k(w)}function k(w){return w===61?(t.consume(w),D):Je(w)?(t.consume(w),k):O(w)}function D(w){return w===null||w===60||w===61||w===62||w===96?a(w):w===34||w===39?(t.consume(w),m=w,F):Je(w)?(t.consume(w),D):ne(w)}function F(w){return w===m?(t.consume(w),m=null,V):w===null||Ce(w)?a(w):(t.consume(w),F)}function ne(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||Pt(w)?k(w):(t.consume(w),ne)}function V(w){return w===47||w===62||Je(w)?O(w):a(w)}function E(w){return w===62?(t.consume(w),j):a(w)}function j(w){return w===null||Ce(w)?q(w):Je(w)?(t.consume(w),j):a(w)}function q(w){return w===45&&o===2?(t.consume(w),P):w===60&&o===1?(t.consume(w),ae):w===62&&o===4?(t.consume(w),Z):w===63&&o===3?(t.consume(w),S):w===93&&o===5?(t.consume(w),be):Ce(w)&&(o===6||o===7)?(t.exit("htmlFlowData"),t.check(ew,oe,J)(w)):w===null||Ce(w)?(t.exit("htmlFlowData"),J(w)):(t.consume(w),q)}function J(w){return t.check(tw,te,oe)(w)}function te(w){return t.enter("lineEnding"),t.consume(w),t.exit("lineEnding"),ue}function ue(w){return w===null||Ce(w)?J(w):(t.enter("htmlFlowData"),q(w))}function P(w){return w===45?(t.consume(w),S):q(w)}function ae(w){return w===47?(t.consume(w),f="",ie):q(w)}function ie(w){if(w===62){const le=f.toLowerCase();return fg.includes(le)?(t.consume(w),Z):q(w)}return Fn(w)&&f.length<8?(t.consume(w),f+=String.fromCharCode(w),ie):q(w)}function be(w){return w===93?(t.consume(w),S):q(w)}function S(w){return w===62?(t.consume(w),Z):w===45&&o===2?(t.consume(w),S):q(w)}function Z(w){return w===null||Ce(w)?(t.exit("htmlFlowData"),oe(w)):(t.consume(w),Z)}function oe(w){return t.exit("htmlFlow"),r(w)}}function lw(t,r,a){const u=this;return o;function o(f){return Ce(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),c):a(f)}function c(f){return u.parser.lazy[u.now().line]?a(f):r(f)}}function aw(t,r,a){return u;function u(o){return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),t.attempt(Hu,r,a)}}const iw={name:"htmlText",tokenize:uw};function uw(t,r,a){const u=this;let o,c,f;return h;function h(S){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(S),m}function m(S){return S===33?(t.consume(S),p):S===47?(t.consume(S),k):S===63?(t.consume(S),O):Fn(S)?(t.consume(S),ne):a(S)}function p(S){return S===45?(t.consume(S),g):S===91?(t.consume(S),c=0,M):Fn(S)?(t.consume(S),N):a(S)}function g(S){return S===45?(t.consume(S),x):a(S)}function b(S){return S===null?a(S):S===45?(t.consume(S),v):Ce(S)?(f=b,ae(S)):(t.consume(S),b)}function v(S){return S===45?(t.consume(S),x):b(S)}function x(S){return S===62?P(S):S===45?v(S):b(S)}function M(S){const Z="CDATA[";return S===Z.charCodeAt(c++)?(t.consume(S),c===Z.length?T:M):a(S)}function T(S){return S===null?a(S):S===93?(t.consume(S),H):Ce(S)?(f=T,ae(S)):(t.consume(S),T)}function H(S){return S===93?(t.consume(S),A):T(S)}function A(S){return S===62?P(S):S===93?(t.consume(S),A):T(S)}function N(S){return S===null||S===62?P(S):Ce(S)?(f=N,ae(S)):(t.consume(S),N)}function O(S){return S===null?a(S):S===63?(t.consume(S),_):Ce(S)?(f=O,ae(S)):(t.consume(S),O)}function _(S){return S===62?P(S):O(S)}function k(S){return Fn(S)?(t.consume(S),D):a(S)}function D(S){return S===45||on(S)?(t.consume(S),D):F(S)}function F(S){return Ce(S)?(f=F,ae(S)):Je(S)?(t.consume(S),F):P(S)}function ne(S){return S===45||on(S)?(t.consume(S),ne):S===47||S===62||Pt(S)?V(S):a(S)}function V(S){return S===47?(t.consume(S),P):S===58||S===95||Fn(S)?(t.consume(S),E):Ce(S)?(f=V,ae(S)):Je(S)?(t.consume(S),V):P(S)}function E(S){return S===45||S===46||S===58||S===95||on(S)?(t.consume(S),E):j(S)}function j(S){return S===61?(t.consume(S),q):Ce(S)?(f=j,ae(S)):Je(S)?(t.consume(S),j):V(S)}function q(S){return S===null||S===60||S===61||S===62||S===96?a(S):S===34||S===39?(t.consume(S),o=S,J):Ce(S)?(f=q,ae(S)):Je(S)?(t.consume(S),q):(t.consume(S),te)}function J(S){return S===o?(t.consume(S),o=void 0,ue):S===null?a(S):Ce(S)?(f=J,ae(S)):(t.consume(S),J)}function te(S){return S===null||S===34||S===39||S===60||S===61||S===96?a(S):S===47||S===62||Pt(S)?V(S):(t.consume(S),te)}function ue(S){return S===47||S===62||Pt(S)?V(S):a(S)}function P(S){return S===62?(t.consume(S),t.exit("htmlTextData"),t.exit("htmlText"),r):a(S)}function ae(S){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),ie}function ie(S){return Je(S)?at(t,be,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):be(S)}function be(S){return t.enter("htmlTextData"),f(S)}}const Mc={name:"labelEnd",tokenize:hw,resolveTo:dw,resolveAll:fw},ow={tokenize:pw},sw={tokenize:mw},cw={tokenize:gw};function fw(t){let r=-1;for(;++r<t.length;){const a=t[r][1];(a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd")&&(t.splice(r+1,a.type==="labelImage"?4:2),a.type="data",r++)}return t}function dw(t,r){let a=t.length,u=0,o,c,f,h;for(;a--;)if(o=t[a][1],c){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;t[a][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(f){if(t[a][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(c=a,o.type!=="labelLink")){u=2;break}}else o.type==="labelEnd"&&(f=a);const m={type:t[c][1].type==="labelLink"?"link":"image",start:Object.assign({},t[c][1].start),end:Object.assign({},t[t.length-1][1].end)},p={type:"label",start:Object.assign({},t[c][1].start),end:Object.assign({},t[f][1].end)},g={type:"labelText",start:Object.assign({},t[c+u+2][1].end),end:Object.assign({},t[f-2][1].start)};return h=[["enter",m,r],["enter",p,r]],h=Sn(h,t.slice(c+1,c+u+3)),h=Sn(h,[["enter",g,r]]),h=Sn(h,kc(r.parser.constructs.insideSpan.null,t.slice(c+u+4,f-3),r)),h=Sn(h,[["exit",g,r],t[f-2],t[f-1],["exit",p,r]]),h=Sn(h,t.slice(f+1)),h=Sn(h,[["exit",m,r]]),tr(t,c,t.length,h),t}function hw(t,r,a){const u=this;let o=u.events.length,c,f;for(;o--;)if((u.events[o][1].type==="labelImage"||u.events[o][1].type==="labelLink")&&!u.events[o][1]._balanced){c=u.events[o][1];break}return h;function h(v){return c?c._inactive?b(v):(f=u.parser.defined.includes(Ll(u.sliceSerialize({start:c.end,end:u.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(v),t.exit("labelMarker"),t.exit("labelEnd"),m):a(v)}function m(v){return v===40?t.attempt(ow,g,f?g:b)(v):v===91?t.attempt(sw,g,f?p:b)(v):f?g(v):b(v)}function p(v){return t.attempt(cw,g,b)(v)}function g(v){return r(v)}function b(v){return c._balanced=!0,a(v)}}function pw(t,r,a){return u;function u(b){return t.enter("resource"),t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),o}function o(b){return Pt(b)?ii(t,c)(b):c(b)}function c(b){return b===41?g(b):og(t,f,h,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function f(b){return Pt(b)?ii(t,m)(b):g(b)}function h(b){return a(b)}function m(b){return b===34||b===39||b===40?cg(t,p,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):g(b)}function p(b){return Pt(b)?ii(t,g)(b):g(b)}function g(b){return b===41?(t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),t.exit("resource"),r):a(b)}}function mw(t,r,a){const u=this;return o;function o(h){return sg.call(u,t,c,f,"reference","referenceMarker","referenceString")(h)}function c(h){return u.parser.defined.includes(Ll(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?r(h):a(h)}function f(h){return a(h)}}function gw(t,r,a){return u;function u(c){return t.enter("reference"),t.enter("referenceMarker"),t.consume(c),t.exit("referenceMarker"),o}function o(c){return c===93?(t.enter("referenceMarker"),t.consume(c),t.exit("referenceMarker"),t.exit("reference"),r):a(c)}}const yw={name:"labelStartImage",tokenize:bw,resolveAll:Mc.resolveAll};function bw(t,r,a){const u=this;return o;function o(h){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(h),t.exit("labelImageMarker"),c}function c(h){return h===91?(t.enter("labelMarker"),t.consume(h),t.exit("labelMarker"),t.exit("labelImage"),f):a(h)}function f(h){return h===94&&"_hiddenFootnoteSupport"in u.parser.constructs?a(h):r(h)}}const Sw={name:"labelStartLink",tokenize:xw,resolveAll:Mc.resolveAll};function xw(t,r,a){const u=this;return o;function o(f){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(f),t.exit("labelMarker"),t.exit("labelLink"),c}function c(f){return f===94&&"_hiddenFootnoteSupport"in u.parser.constructs?a(f):r(f)}}const Dc={name:"lineEnding",tokenize:vw};function vw(t,r){return a;function a(u){return t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),at(t,r,"linePrefix")}}const ju={name:"thematicBreak",tokenize:Ew};function Ew(t,r,a){let u=0,o;return c;function c(p){return t.enter("thematicBreak"),f(p)}function f(p){return o=p,h(p)}function h(p){return p===o?(t.enter("thematicBreakSequence"),m(p)):u>=3&&(p===null||Ce(p))?(t.exit("thematicBreak"),r(p)):a(p)}function m(p){return p===o?(t.consume(p),u++,m):(t.exit("thematicBreakSequence"),Je(p)?at(t,h,"whitespace")(p):h(p))}}const $t={name:"list",tokenize:ww,continuation:{tokenize:Tw},exit:Rw},Cw={tokenize:Ow,partial:!0},Aw={tokenize:kw,partial:!0};function ww(t,r,a){const u=this,o=u.events[u.events.length-1];let c=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,f=0;return h;function h(x){const M=u.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(M==="listUnordered"?!u.containerState.marker||x===u.containerState.marker:Tc(x)){if(u.containerState.type||(u.containerState.type=M,t.enter(M,{_container:!0})),M==="listUnordered")return t.enter("listItemPrefix"),x===42||x===45?t.check(ju,a,p)(x):p(x);if(!u.interrupt||x===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),m(x)}return a(x)}function m(x){return Tc(x)&&++f<10?(t.consume(x),m):(!u.interrupt||f<2)&&(u.containerState.marker?x===u.containerState.marker:x===41||x===46)?(t.exit("listItemValue"),p(x)):a(x)}function p(x){return t.enter("listItemMarker"),t.consume(x),t.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||x,t.check(Hu,u.interrupt?a:g,t.attempt(Cw,v,b))}function g(x){return u.containerState.initialBlankLine=!0,c++,v(x)}function b(x){return Je(x)?(t.enter("listItemPrefixWhitespace"),t.consume(x),t.exit("listItemPrefixWhitespace"),v):a(x)}function v(x){return u.containerState.size=c+u.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(x)}}function Tw(t,r,a){const u=this;return u.containerState._closeFlow=void 0,t.check(Hu,o,c);function o(h){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,at(t,r,"listItemIndent",u.containerState.size+1)(h)}function c(h){return u.containerState.furtherBlankLines||!Je(h)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,f(h)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,t.attempt(Aw,r,f)(h))}function f(h){return u.containerState._closeFlow=!0,u.interrupt=void 0,at(t,t.attempt($t,r,a),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h)}}function kw(t,r,a){const u=this;return at(t,o,"listItemIndent",u.containerState.size+1);function o(c){const f=u.events[u.events.length-1];return f&&f[1].type==="listItemIndent"&&f[2].sliceSerialize(f[1],!0).length===u.containerState.size?r(c):a(c)}}function Rw(t){t.exit(this.containerState.type)}function Ow(t,r,a){const u=this;return at(t,o,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(c){const f=u.events[u.events.length-1];return!Je(c)&&f&&f[1].type==="listItemPrefixWhitespace"?r(c):a(c)}}const dg={name:"setextUnderline",tokenize:Dw,resolveTo:Mw};function Mw(t,r){let a=t.length,u,o,c;for(;a--;)if(t[a][0]==="enter"){if(t[a][1].type==="content"){u=a;break}t[a][1].type==="paragraph"&&(o=a)}else t[a][1].type==="content"&&t.splice(a,1),!c&&t[a][1].type==="definition"&&(c=a);const f={type:"setextHeading",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[o][1].type="setextHeadingText",c?(t.splice(o,0,["enter",f,r]),t.splice(c+1,0,["exit",t[u][1],r]),t[u][1].end=Object.assign({},t[c][1].end)):t[u][1]=f,t.push(["exit",f,r]),t}function Dw(t,r,a){const u=this;let o;return c;function c(p){let g=u.events.length,b;for(;g--;)if(u.events[g][1].type!=="lineEnding"&&u.events[g][1].type!=="linePrefix"&&u.events[g][1].type!=="content"){b=u.events[g][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||b)?(t.enter("setextHeadingLine"),o=p,f(p)):a(p)}function f(p){return t.enter("setextHeadingLineSequence"),h(p)}function h(p){return p===o?(t.consume(p),h):(t.exit("setextHeadingLineSequence"),Je(p)?at(t,m,"lineSuffix")(p):m(p))}function m(p){return p===null||Ce(p)?(t.exit("setextHeadingLine"),r(p)):a(p)}}const Bw={tokenize:zw};function zw(t){const r=this,a=t.attempt(Hu,u,t.attempt(this.parser.constructs.flowInitial,o,at(t,t.attempt(this.parser.constructs.flow,o,t.attempt(HA,o)),"linePrefix")));return a;function u(c){if(c===null){t.consume(c);return}return t.enter("lineEndingBlank"),t.consume(c),t.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function o(c){if(c===null){t.consume(c);return}return t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),r.currentConstruct=void 0,a}}const Nw={resolveAll:pg()},Lw=hg("string"),Uw=hg("text");function hg(t){return{tokenize:r,resolveAll:pg(t==="text"?_w:void 0)};function r(a){const u=this,o=this.parser.constructs[t],c=a.attempt(o,f,h);return f;function f(g){return p(g)?c(g):h(g)}function h(g){if(g===null){a.consume(g);return}return a.enter("data"),a.consume(g),m}function m(g){return p(g)?(a.exit("data"),c(g)):(a.consume(g),m)}function p(g){if(g===null)return!0;const b=o[g];let v=-1;if(b)for(;++v<b.length;){const x=b[v];if(!x.previous||x.previous.call(u,u.previous))return!0}return!1}}}function pg(t){return r;function r(a,u){let o=-1,c;for(;++o<=a.length;)c===void 0?a[o]&&a[o][1].type==="data"&&(c=o,o++):(!a[o]||a[o][1].type!=="data")&&(o!==c+2&&(a[c][1].end=a[o-1][1].end,a.splice(c+2,o-c-2),o=c+2),c=void 0);return t?t(a,u):a}}function _w(t,r){let a=0;for(;++a<=t.length;)if((a===t.length||t[a][1].type==="lineEnding")&&t[a-1][1].type==="data"){const u=t[a-1][1],o=r.sliceStream(u);let c=o.length,f=-1,h=0,m;for(;c--;){const p=o[c];if(typeof p=="string"){for(f=p.length;p.charCodeAt(f-1)===32;)h++,f--;if(f)break;f=-1}else if(p===-2)m=!0,h++;else if(p!==-1){c++;break}}if(h){const p={type:a===t.length||m||h<2?"lineSuffix":"hardBreakTrailing",start:{line:u.end.line,column:u.end.column-h,offset:u.end.offset-h,_index:u.start._index+c,_bufferIndex:c?f:u.start._bufferIndex+f},end:Object.assign({},u.end)};u.end=Object.assign({},p.start),u.start.offset===u.end.offset?Object.assign(u,p):(t.splice(a,0,["enter",p,r],["exit",p,r]),a+=2)}a++}return t}function Hw(t,r,a){let u=Object.assign(a?Object.assign({},a):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},c=[];let f=[],h=[];const m={consume:N,enter:O,exit:_,attempt:F(k),check:F(D),interrupt:F(D,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:x,sliceSerialize:v,now:M,defineSkip:T,write:b};let g=r.tokenize.call(p,m);return r.resolveAll&&c.push(r),p;function b(j){return f=Sn(f,j),H(),f[f.length-1]!==null?[]:(ne(r,0),p.events=kc(c,p.events,p),p.events)}function v(j,q){return Iw(x(j),q)}function x(j){return jw(f,j)}function M(){const{line:j,column:q,offset:J,_index:te,_bufferIndex:ue}=u;return{line:j,column:q,offset:J,_index:te,_bufferIndex:ue}}function T(j){o[j.line]=j.column,E()}function H(){let j;for(;u._index<f.length;){const q=f[u._index];if(typeof q=="string")for(j=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===j&&u._bufferIndex<q.length;)A(q.charCodeAt(u._bufferIndex));else A(q)}}function A(j){g=g(j)}function N(j){Ce(j)?(u.line++,u.column=1,u.offset+=j===-3?2:1,E()):j!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===f[u._index].length&&(u._bufferIndex=-1,u._index++)),p.previous=j}function O(j,q){const J=q||{};return J.type=j,J.start=M(),p.events.push(["enter",J,p]),h.push(J),J}function _(j){const q=h.pop();return q.end=M(),p.events.push(["exit",q,p]),q}function k(j,q){ne(j,q.from)}function D(j,q){q.restore()}function F(j,q){return J;function J(te,ue,P){let ae,ie,be,S;return Array.isArray(te)?oe(te):"tokenize"in te?oe([te]):Z(te);function Z(de){return Ge;function Ge(Ee){const Re=Ee!==null&&de[Ee],fe=Ee!==null&&de.null,Ne=[...Array.isArray(Re)?Re:Re?[Re]:[],...Array.isArray(fe)?fe:fe?[fe]:[]];return oe(Ne)(Ee)}}function oe(de){return ae=de,ie=0,de.length===0?P:w(de[ie])}function w(de){return Ge;function Ge(Ee){return S=V(),be=de,de.partial||(p.currentConstruct=de),de.name&&p.parser.constructs.disable.null.includes(de.name)?ye():de.tokenize.call(q?Object.assign(Object.create(p),q):p,m,le,ye)(Ee)}}function le(de){return j(be,S),ue}function ye(de){return S.restore(),++ie<ae.length?w(ae[ie]):P}}}function ne(j,q){j.resolveAll&&!c.includes(j)&&c.push(j),j.resolve&&tr(p.events,q,p.events.length-q,j.resolve(p.events.slice(q),p)),j.resolveTo&&(p.events=j.resolveTo(p.events,p))}function V(){const j=M(),q=p.previous,J=p.currentConstruct,te=p.events.length,ue=Array.from(h);return{restore:P,from:te};function P(){u=j,p.previous=q,p.currentConstruct=J,p.events.length=te,h=ue,E()}}function E(){u.line in o&&u.column<2&&(u.column=o[u.line],u.offset+=o[u.line]-1)}}function jw(t,r){const a=r.start._index,u=r.start._bufferIndex,o=r.end._index,c=r.end._bufferIndex;let f;if(a===o)f=[t[a].slice(u,c)];else{if(f=t.slice(a,o),u>-1){const h=f[0];typeof h=="string"?f[0]=h.slice(u):f.shift()}c>0&&f.push(t[o].slice(0,c))}return f}function Iw(t,r){let a=-1;const u=[];let o;for(;++a<t.length;){const c=t[a];let f;if(typeof c=="string")f=c;else switch(c){case-5:{f="\r";break}case-4:{f=`
150
+ `;break}case-3:{f=`\r
151
+ `;break}case-2:{f=r?" ":" ";break}case-1:{if(!r&&o)continue;f=" ";break}default:f=String.fromCharCode(c)}o=c===-2,u.push(f)}return u.join("")}const Gw=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:VA},disable:{null:[]},document:{42:$t,43:$t,45:$t,48:$t,49:$t,50:$t,51:$t,52:$t,53:$t,54:$t,55:$t,56:$t,57:$t,62:ng},flow:{35:ZA,42:ju,45:[dg,ju],60:$A,61:dg,95:ju,96:ig,126:ig},flowInitial:{[-2]:Oc,[-1]:Oc,32:Oc},insideSpan:{null:[Rc,Nw]},string:{38:lg,92:rg},text:{[-5]:Dc,[-4]:Dc,[-3]:Dc,33:yw,38:lg,42:Rc,60:[SA,iw],91:Sw,92:[KA,rg],93:Mc,95:Rc,96:BA}},Symbol.toStringTag,{value:"Module"}));function qw(t){const a=lA([Gw,...(t||{}).extensions||[]]),u={defined:[],lazy:{},constructs:a,content:o(dA),document:o(pA),flow:o(Bw),string:o(Lw),text:o(Uw)};return u;function o(c){return f;function f(h){return Hw(u,c,h)}}}function Vw(t){for(;!ug(t););return t}const mg=/[\0\t\n\r]/g;function Yw(){let t=1,r="",a=!0,u;return o;function o(c,f,h){const m=[];let p,g,b,v,x;for(c=r+(typeof c=="string"?c.toString():new TextDecoder(f||void 0).decode(c)),b=0,r="",a&&(c.charCodeAt(0)===65279&&b++,a=void 0);b<c.length;){if(mg.lastIndex=b,p=mg.exec(c),v=p&&p.index!==void 0?p.index:c.length,x=c.charCodeAt(v),!p){r=c.slice(b);break}if(x===10&&b===v&&u)m.push(-3),u=void 0;else switch(u&&(m.push(-5),u=void 0),b<v&&(m.push(c.slice(b,v)),t+=v-b),x){case 0:{m.push(65533),t++;break}case 9:{for(g=Math.ceil(t/4)*4,m.push(-2);t++<g;)m.push(-1);break}case 10:{m.push(-4),t=1;break}default:u=!0,t=1}b=v+1}return h&&(u&&m.push(-5),r&&m.push(r),m.push(null)),m}}const Fw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qw(t){return t.replace(Fw,Kw)}function Kw(t,r,a){if(r)return r;if(a.charCodeAt(0)===35){const o=a.charCodeAt(1),c=o===120||o===88;return Pm(a.slice(c?2:1),c?16:10)}return Ac(a)||t}const gg={}.hasOwnProperty;function Xw(t,r,a){return typeof r!="string"&&(a=r,r=void 0),Zw(a)(Vw(qw(a).document().write(Yw()(t,r,!0))))}function Zw(t){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(it),autolinkProtocol:V,autolinkEmail:V,atxHeading:c(xe),blockQuote:c(fe),characterEscape:V,characterReference:V,codeFenced:c(Ne),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:c(Ne,f),codeText:c(ge,f),codeTextData:V,data:V,codeFlowValue:V,definition:c(pe),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:c(se),hardBreakEscape:c(Ye),hardBreakTrailing:c(Ye),htmlFlow:c(_e,f),htmlFlowData:V,htmlText:c(_e,f),htmlTextData:V,image:c(Me),label:f,link:c(it),listItem:c(sn),listItemValue:v,listOrdered:c(St,b),listUnordered:c(St),paragraph:c(Bn),reference:w,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:c(xe),strong:c(cn),thematicBreak:c(Dt)},exit:{atxHeading:m(),atxHeadingSequence:k,autolink:m(),autolinkEmail:Re,autolinkProtocol:Ee,blockQuote:m(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:ye,characterReferenceMarkerNumeric:ye,characterReferenceValue:de,characterReference:Ge,codeFenced:m(H),codeFencedFence:T,codeFencedFenceInfo:x,codeFencedFenceMeta:M,codeFlowValue:E,codeIndented:m(A),codeText:m(ue),codeTextData:E,data:E,definition:m(),definitionDestinationString:_,definitionLabelString:N,definitionTitleString:O,emphasis:m(),hardBreakEscape:m(q),hardBreakTrailing:m(q),htmlFlow:m(J),htmlFlowData:E,htmlText:m(te),htmlTextData:E,image:m(ae),label:be,labelText:ie,lineEnding:j,link:m(P),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:le,resourceDestinationString:S,resourceTitleString:Z,resource:oe,setextHeading:m(ne),setextHeadingLineSequence:F,setextHeadingText:D,strong:m(),thematicBreak:m()}};yg(r,(t||{}).mdastExtensions||[]);const a={};return u;function u(Y){let $={type:"root",children:[]};const ce={stack:[$],tokenStack:[],config:r,enter:h,exit:p,buffer:f,resume:g,data:a},Ae=[];let He=-1;for(;++He<Y.length;)if(Y[He][1].type==="listOrdered"||Y[He][1].type==="listUnordered")if(Y[He][0]==="enter")Ae.push(He);else{const Be=Ae.pop();He=o(Y,Be,He)}for(He=-1;++He<Y.length;){const Be=r[Y[He][0]];gg.call(Be,Y[He][1].type)&&Be[Y[He][1].type].call(Object.assign({sliceSerialize:Y[He][2].sliceSerialize},ce),Y[He][1])}if(ce.tokenStack.length>0){const Be=ce.tokenStack[ce.tokenStack.length-1];(Be[1]||bg).call(ce,void 0,Be[0])}for($.position={start:Tr(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:Tr(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},He=-1;++He<r.transforms.length;)$=r.transforms[He]($)||$;return $}function o(Y,$,ce){let Ae=$-1,He=-1,Be=!1,en,Bt,Rt,Pr;for(;++Ae<=ce;){const pt=Y[Ae];switch(pt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{pt[0]==="enter"?He++:He--,Pr=void 0;break}case"lineEndingBlank":{pt[0]==="enter"&&(en&&!Pr&&!He&&!Rt&&(Rt=Ae),Pr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Pr=void 0}if(!He&&pt[0]==="enter"&&pt[1].type==="listItemPrefix"||He===-1&&pt[0]==="exit"&&(pt[1].type==="listUnordered"||pt[1].type==="listOrdered")){if(en){let At=Ae;for(Bt=void 0;At--;){const zn=Y[At];if(zn[1].type==="lineEnding"||zn[1].type==="lineEndingBlank"){if(zn[0]==="exit")continue;Bt&&(Y[Bt][1].type="lineEndingBlank",Be=!0),zn[1].type="lineEnding",Bt=At}else if(!(zn[1].type==="linePrefix"||zn[1].type==="blockQuotePrefix"||zn[1].type==="blockQuotePrefixWhitespace"||zn[1].type==="blockQuoteMarker"||zn[1].type==="listItemIndent"))break}Rt&&(!Bt||Rt<Bt)&&(en._spread=!0),en.end=Object.assign({},Bt?Y[Bt][1].start:pt[1].end),Y.splice(Bt||Ae,0,["exit",en,pt[2]]),Ae++,ce++}if(pt[1].type==="listItemPrefix"){const At={type:"listItem",_spread:!1,start:Object.assign({},pt[1].start),end:void 0};en=At,Y.splice(Ae,0,["enter",At,pt[2]]),Ae++,ce++,Rt=void 0,Pr=!0}}}return Y[$][1]._spread=Be,ce}function c(Y,$){return ce;function ce(Ae){h.call(this,Y(Ae),Ae),$&&$.call(this,Ae)}}function f(){this.stack.push({type:"fragment",children:[]})}function h(Y,$,ce){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([$,ce||void 0]),Y.position={start:Tr($.start),end:void 0}}function m(Y){return $;function $(ce){Y&&Y.call(this,ce),p.call(this,ce)}}function p(Y,$){const ce=this.stack.pop(),Ae=this.tokenStack.pop();if(Ae)Ae[0].type!==Y.type&&($?$.call(this,Y,Ae[0]):(Ae[1]||bg).call(this,Y,Ae[0]));else throw new Error("Cannot close `"+Y.type+"` ("+ri({start:Y.start,end:Y.end})+"): it’s not open");ce.position.end=Tr(Y.end)}function g(){return nA(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function v(Y){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function x(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.lang=Y}function M(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.meta=Y}function T(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function H(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.value=Y.replace(/(\r?\n|\r)$/g,"")}function N(Y){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.label=$,ce.identifier=Ll(this.sliceSerialize(Y)).toLowerCase()}function O(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.title=Y}function _(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.url=Y}function k(Y){const $=this.stack[this.stack.length-1];if(!$.depth){const ce=this.sliceSerialize(Y).length;$.depth=ce}}function D(){this.data.setextHeadingSlurpLineEnding=!0}function F(Y){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function ne(){this.data.setextHeadingSlurpLineEnding=void 0}function V(Y){const ce=this.stack[this.stack.length-1].children;let Ae=ce[ce.length-1];(!Ae||Ae.type!=="text")&&(Ae=De(),Ae.position={start:Tr(Y.start),end:void 0},ce.push(Ae)),this.stack.push(Ae)}function E(Y){const $=this.stack.pop();$.value+=this.sliceSerialize(Y),$.position.end=Tr(Y.end)}function j(Y){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ce=$.children[$.children.length-1];ce.position.end=Tr(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes($.type)&&(V.call(this,Y),E.call(this,Y))}function q(){this.data.atHardBreak=!0}function J(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.value=Y}function te(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.value=Y}function ue(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.value=Y}function P(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=$,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function ae(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=$,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function ie(Y){const $=this.sliceSerialize(Y),ce=this.stack[this.stack.length-2];ce.label=Qw($),ce.identifier=Ll($).toLowerCase()}function be(){const Y=this.stack[this.stack.length-1],$=this.resume(),ce=this.stack[this.stack.length-1];if(this.data.inReference=!0,ce.type==="link"){const Ae=Y.children;ce.children=Ae}else ce.alt=$}function S(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.url=Y}function Z(){const Y=this.resume(),$=this.stack[this.stack.length-1];$.title=Y}function oe(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function le(Y){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.label=$,ce.identifier=Ll(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function ye(Y){this.data.characterReferenceType=Y.type}function de(Y){const $=this.sliceSerialize(Y),ce=this.data.characterReferenceType;let Ae;ce?(Ae=Pm($,ce==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ae=Ac($);const He=this.stack[this.stack.length-1];He.value+=Ae}function Ge(Y){const $=this.stack.pop();$.position.end=Tr(Y.end)}function Ee(Y){E.call(this,Y);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(Y)}function Re(Y){E.call(this,Y);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(Y)}function fe(){return{type:"blockquote",children:[]}}function Ne(){return{type:"code",lang:null,meta:null,value:""}}function ge(){return{type:"inlineCode",value:""}}function pe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function se(){return{type:"emphasis",children:[]}}function xe(){return{type:"heading",depth:0,children:[]}}function Ye(){return{type:"break"}}function _e(){return{type:"html",value:""}}function Me(){return{type:"image",title:null,url:"",alt:null}}function it(){return{type:"link",title:null,url:"",children:[]}}function St(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function sn(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function Bn(){return{type:"paragraph",children:[]}}function cn(){return{type:"strong",children:[]}}function De(){return{type:"text",value:""}}function Dt(){return{type:"thematicBreak"}}}function Tr(t){return{line:t.line,column:t.column,offset:t.offset}}function yg(t,r){let a=-1;for(;++a<r.length;){const u=r[a];Array.isArray(u)?yg(t,u):Jw(t,u)}}function Jw(t,r){let a;for(a in r)if(gg.call(r,a))switch(a){case"canContainEols":{const u=r[a];u&&t[a].push(...u);break}case"transforms":{const u=r[a];u&&t[a].push(...u);break}case"enter":case"exit":{const u=r[a];u&&Object.assign(t[a],u);break}}}function bg(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+ri({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+ri({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+ri({start:r.start,end:r.end})+") is still open")}function Ww(t){const r=this;r.parser=a;function a(u){return Xw(u,{...r.data("settings"),...t,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}function Pw(t,r){const a={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(r),!0)};return t.patch(r,a),t.applyData(r,a)}function $w(t,r){const a={type:"element",tagName:"br",properties:{},children:[]};return t.patch(r,a),[t.applyData(r,a),{type:"text",value:`
152
+ `}]}function eT(t,r){const a=r.value?r.value+`
153
+ `:"",u={};r.lang&&(u.className=["language-"+r.lang]);let o={type:"element",tagName:"code",properties:u,children:[{type:"text",value:a}]};return r.meta&&(o.data={meta:r.meta}),t.patch(r,o),o=t.applyData(r,o),o={type:"element",tagName:"pre",properties:{},children:[o]},t.patch(r,o),o}function tT(t,r){const a={type:"element",tagName:"del",properties:{},children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}function nT(t,r){const a={type:"element",tagName:"em",properties:{},children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}function rT(t,r){const a=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",u=String(r.identifier).toUpperCase(),o=Ul(u.toLowerCase()),c=t.footnoteOrder.indexOf(u);let f,h=t.footnoteCounts.get(u);h===void 0?(h=0,t.footnoteOrder.push(u),f=t.footnoteOrder.length):f=c+1,h+=1,t.footnoteCounts.set(u,h);const m={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+o,id:a+"fnref-"+o+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(f)}]};t.patch(r,m);const p={type:"element",tagName:"sup",properties:{},children:[m]};return t.patch(r,p),t.applyData(r,p)}function lT(t,r){const a={type:"element",tagName:"h"+r.depth,properties:{},children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}function aT(t,r){if(t.options.allowDangerousHtml){const a={type:"raw",value:r.value};return t.patch(r,a),t.applyData(r,a)}}function Sg(t,r){const a=r.referenceType;let u="]";if(a==="collapsed"?u+="[]":a==="full"&&(u+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+u}];const o=t.all(r),c=o[0];c&&c.type==="text"?c.value="["+c.value:o.unshift({type:"text",value:"["});const f=o[o.length-1];return f&&f.type==="text"?f.value+=u:o.push({type:"text",value:u}),o}function iT(t,r){const a=String(r.identifier).toUpperCase(),u=t.definitionById.get(a);if(!u)return Sg(t,r);const o={src:Ul(u.url||""),alt:r.alt};u.title!==null&&u.title!==void 0&&(o.title=u.title);const c={type:"element",tagName:"img",properties:o,children:[]};return t.patch(r,c),t.applyData(r,c)}function uT(t,r){const a={src:Ul(r.url)};r.alt!==null&&r.alt!==void 0&&(a.alt=r.alt),r.title!==null&&r.title!==void 0&&(a.title=r.title);const u={type:"element",tagName:"img",properties:a,children:[]};return t.patch(r,u),t.applyData(r,u)}function oT(t,r){const a={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};t.patch(r,a);const u={type:"element",tagName:"code",properties:{},children:[a]};return t.patch(r,u),t.applyData(r,u)}function sT(t,r){const a=String(r.identifier).toUpperCase(),u=t.definitionById.get(a);if(!u)return Sg(t,r);const o={href:Ul(u.url||"")};u.title!==null&&u.title!==void 0&&(o.title=u.title);const c={type:"element",tagName:"a",properties:o,children:t.all(r)};return t.patch(r,c),t.applyData(r,c)}function cT(t,r){const a={href:Ul(r.url)};r.title!==null&&r.title!==void 0&&(a.title=r.title);const u={type:"element",tagName:"a",properties:a,children:t.all(r)};return t.patch(r,u),t.applyData(r,u)}function fT(t,r,a){const u=t.all(r),o=a?dT(a):xg(r),c={},f=[];if(typeof r.checked=="boolean"){const g=u[0];let b;g&&g.type==="element"&&g.tagName==="p"?b=g:(b={type:"element",tagName:"p",properties:{},children:[]},u.unshift(b)),b.children.length>0&&b.children.unshift({type:"text",value:" "}),b.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),c.className=["task-list-item"]}let h=-1;for(;++h<u.length;){const g=u[h];(o||h!==0||g.type!=="element"||g.tagName!=="p")&&f.push({type:"text",value:`
154
+ `}),g.type==="element"&&g.tagName==="p"&&!o?f.push(...g.children):f.push(g)}const m=u[u.length-1];m&&(o||m.type!=="element"||m.tagName!=="p")&&f.push({type:"text",value:`
155
+ `});const p={type:"element",tagName:"li",properties:c,children:f};return t.patch(r,p),t.applyData(r,p)}function dT(t){let r=!1;if(t.type==="list"){r=t.spread||!1;const a=t.children;let u=-1;for(;!r&&++u<a.length;)r=xg(a[u])}return r}function xg(t){const r=t.spread;return r??t.children.length>1}function hT(t,r){const a={},u=t.all(r);let o=-1;for(typeof r.start=="number"&&r.start!==1&&(a.start=r.start);++o<u.length;){const f=u[o];if(f.type==="element"&&f.tagName==="li"&&f.properties&&Array.isArray(f.properties.className)&&f.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const c={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:t.wrap(u,!0)};return t.patch(r,c),t.applyData(r,c)}function pT(t,r){const a={type:"element",tagName:"p",properties:{},children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}function mT(t,r){const a={type:"root",children:t.wrap(t.all(r))};return t.patch(r,a),t.applyData(r,a)}function gT(t,r){const a={type:"element",tagName:"strong",properties:{},children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}function yT(t,r){const a=t.all(r),u=a.shift(),o=[];if(u){const f={type:"element",tagName:"thead",properties:{},children:t.wrap([u],!0)};t.patch(r.children[0],f),o.push(f)}if(a.length>0){const f={type:"element",tagName:"tbody",properties:{},children:t.wrap(a,!0)},h=bc(r.children[1]),m=Im(r.children[r.children.length-1]);h&&m&&(f.position={start:h,end:m}),o.push(f)}const c={type:"element",tagName:"table",properties:{},children:t.wrap(o,!0)};return t.patch(r,c),t.applyData(r,c)}function bT(t,r,a){const u=a?a.children:void 0,c=(u?u.indexOf(r):1)===0?"th":"td",f=a&&a.type==="table"?a.align:void 0,h=f?f.length:r.children.length;let m=-1;const p=[];for(;++m<h;){const b=r.children[m],v={},x=f?f[m]:void 0;x&&(v.align=x);let M={type:"element",tagName:c,properties:v,children:[]};b&&(M.children=t.all(b),t.patch(b,M),M=t.applyData(b,M)),p.push(M)}const g={type:"element",tagName:"tr",properties:{},children:t.wrap(p,!0)};return t.patch(r,g),t.applyData(r,g)}function ST(t,r){const a={type:"element",tagName:"td",properties:{},children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}const vg=9,Eg=32;function xT(t){const r=String(t),a=/\r?\n|\r/g;let u=a.exec(r),o=0;const c=[];for(;u;)c.push(Cg(r.slice(o,u.index),o>0,!0),u[0]),o=u.index+u[0].length,u=a.exec(r);return c.push(Cg(r.slice(o),o>0,!1)),c.join("")}function Cg(t,r,a){let u=0,o=t.length;if(r){let c=t.codePointAt(u);for(;c===vg||c===Eg;)u++,c=t.codePointAt(u)}if(a){let c=t.codePointAt(o-1);for(;c===vg||c===Eg;)o--,c=t.codePointAt(o-1)}return o>u?t.slice(u,o):""}function vT(t,r){const a={type:"text",value:xT(String(r.value))};return t.patch(r,a),t.applyData(r,a)}function ET(t,r){const a={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(r,a),t.applyData(r,a)}const CT={blockquote:Pw,break:$w,code:eT,delete:tT,emphasis:nT,footnoteReference:rT,heading:lT,html:aT,imageReference:iT,image:uT,inlineCode:oT,linkReference:sT,link:cT,listItem:fT,list:hT,paragraph:pT,root:mT,strong:gT,table:yT,tableCell:ST,tableRow:bT,text:vT,thematicBreak:ET,toml:Iu,yaml:Iu,definition:Iu,footnoteDefinition:Iu};function Iu(){}const Ag=-1,Gu=0,qu=1,Vu=2,Bc=3,zc=4,Nc=5,Lc=6,wg=7,Tg=8,kg=typeof self=="object"?self:globalThis,AT=(t,r)=>{const a=(o,c)=>(t.set(c,o),o),u=o=>{if(t.has(o))return t.get(o);const[c,f]=r[o];switch(c){case Gu:case Ag:return a(f,o);case qu:{const h=a([],o);for(const m of f)h.push(u(m));return h}case Vu:{const h=a({},o);for(const[m,p]of f)h[u(m)]=u(p);return h}case Bc:return a(new Date(f),o);case zc:{const{source:h,flags:m}=f;return a(new RegExp(h,m),o)}case Nc:{const h=a(new Map,o);for(const[m,p]of f)h.set(u(m),u(p));return h}case Lc:{const h=a(new Set,o);for(const m of f)h.add(u(m));return h}case wg:{const{name:h,message:m}=f;return a(new kg[h](m),o)}case Tg:return a(BigInt(f),o);case"BigInt":return a(Object(BigInt(f)),o)}return a(new kg[c](f),o)};return u},Rg=t=>AT(new Map,t)(0),_l="",{toString:wT}={},{keys:TT}=Object,ui=t=>{const r=typeof t;if(r!=="object"||!t)return[Gu,r];const a=wT.call(t).slice(8,-1);switch(a){case"Array":return[qu,_l];case"Object":return[Vu,_l];case"Date":return[Bc,_l];case"RegExp":return[zc,_l];case"Map":return[Nc,_l];case"Set":return[Lc,_l]}return a.includes("Array")?[qu,a]:a.includes("Error")?[wg,a]:[Vu,a]},Yu=([t,r])=>t===Gu&&(r==="function"||r==="symbol"),kT=(t,r,a,u)=>{const o=(f,h)=>{const m=u.push(f)-1;return a.set(h,m),m},c=f=>{if(a.has(f))return a.get(f);let[h,m]=ui(f);switch(h){case Gu:{let g=f;switch(m){case"bigint":h=Tg,g=f.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+m);g=null;break;case"undefined":return o([Ag],f)}return o([h,g],f)}case qu:{if(m)return o([m,[...f]],f);const g=[],b=o([h,g],f);for(const v of f)g.push(c(v));return b}case Vu:{if(m)switch(m){case"BigInt":return o([m,f.toString()],f);case"Boolean":case"Number":case"String":return o([m,f.valueOf()],f)}if(r&&"toJSON"in f)return c(f.toJSON());const g=[],b=o([h,g],f);for(const v of TT(f))(t||!Yu(ui(f[v])))&&g.push([c(v),c(f[v])]);return b}case Bc:return o([h,f.toISOString()],f);case zc:{const{source:g,flags:b}=f;return o([h,{source:g,flags:b}],f)}case Nc:{const g=[],b=o([h,g],f);for(const[v,x]of f)(t||!(Yu(ui(v))||Yu(ui(x))))&&g.push([c(v),c(x)]);return b}case Lc:{const g=[],b=o([h,g],f);for(const v of f)(t||!Yu(ui(v)))&&g.push(c(v));return b}}const{message:p}=f;return o([h,{name:m,message:p}],f)};return c},Og=(t,{json:r,lossy:a}={})=>{const u=[];return kT(!(r||a),!!r,new Map,u)(t),u},Fu=typeof structuredClone=="function"?(t,r)=>r&&("json"in r||"lossy"in r)?Rg(Og(t,r)):structuredClone(t):(t,r)=>Rg(Og(t,r));function RT(t,r){const a=[{type:"text",value:"↩"}];return r>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),a}function OT(t,r){return"Back to reference "+(t+1)+(r>1?"-"+r:"")}function MT(t){const r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",a=t.options.footnoteBackContent||RT,u=t.options.footnoteBackLabel||OT,o=t.options.footnoteLabel||"Footnotes",c=t.options.footnoteLabelTagName||"h2",f=t.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let m=-1;for(;++m<t.footnoteOrder.length;){const p=t.footnoteById.get(t.footnoteOrder[m]);if(!p)continue;const g=t.all(p),b=String(p.identifier).toUpperCase(),v=Ul(b.toLowerCase());let x=0;const M=[],T=t.footnoteCounts.get(b);for(;T!==void 0&&++x<=T;){M.length>0&&M.push({type:"text",value:" "});let N=typeof a=="string"?a:a(m,x);typeof N=="string"&&(N={type:"text",value:N}),M.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+v+(x>1?"-"+x:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(m,x),className:["data-footnote-backref"]},children:Array.isArray(N)?N:[N]})}const H=g[g.length-1];if(H&&H.type==="element"&&H.tagName==="p"){const N=H.children[H.children.length-1];N&&N.type==="text"?N.value+=" ":H.children.push({type:"text",value:" "}),H.children.push(...M)}else g.push(...M);const A={type:"element",tagName:"li",properties:{id:r+"fn-"+v},children:t.wrap(g,!0)};t.patch(p,A),h.push(A)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:c,properties:{...Fu(f),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
156
+ `},{type:"element",tagName:"ol",properties:{},children:t.wrap(h,!0)},{type:"text",value:`
157
+ `}]}}const Mg=function(t){if(t==null)return NT;if(typeof t=="function")return Qu(t);if(typeof t=="object")return Array.isArray(t)?DT(t):BT(t);if(typeof t=="string")return zT(t);throw new Error("Expected function, string, or object as test")};function DT(t){const r=[];let a=-1;for(;++a<t.length;)r[a]=Mg(t[a]);return Qu(u);function u(...o){let c=-1;for(;++c<r.length;)if(r[c].apply(this,o))return!0;return!1}}function BT(t){const r=t;return Qu(a);function a(u){const o=u;let c;for(c in t)if(o[c]!==r[c])return!1;return!0}}function zT(t){return Qu(r);function r(a){return a&&a.type===t}}function Qu(t){return r;function r(a,u,o){return!!(LT(a)&&t.call(this,a,typeof u=="number"?u:void 0,o||void 0))}}function NT(){return!0}function LT(t){return t!==null&&typeof t=="object"&&"type"in t}function z4(t){return t}const Dg=[],UT=!0,Bg=!1,_T="skip";function HT(t,r,a,u){let o;typeof r=="function"&&typeof a!="function"?(u=a,a=r):o=r;const c=Mg(o),f=u?-1:1;h(t,void 0,[])();function h(m,p,g){const b=m&&typeof m=="object"?m:{};if(typeof b.type=="string"){const x=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(m.type+(x?"<"+x+">":""))+")"})}return v;function v(){let x=Dg,M,T,H;if((!r||c(m,p,g[g.length-1]||void 0))&&(x=jT(a(m,g)),x[0]===Bg))return x;if("children"in m&&m.children){const A=m;if(A.children&&x[0]!==_T)for(T=(u?A.children.length:-1)+f,H=g.concat(A);T>-1&&T<A.children.length;){const N=A.children[T];if(M=h(N,T,H)(),M[0]===Bg)return M;T=typeof M[1]=="number"?M[1]:T+f}}return x}}}function jT(t){return Array.isArray(t)?t:typeof t=="number"?[UT,t]:t==null?Dg:[t]}function zg(t,r,a,u){let o,c,f;typeof r=="function"?(c=void 0,f=r,o=a):(c=r,f=a,o=u),HT(t,c,h,o);function h(m,p){const g=p[p.length-1],b=g?g.children.indexOf(m):void 0;return f(m,b,g)}}const Uc={}.hasOwnProperty,IT={};function GT(t,r){const a=r||IT,u=new Map,o=new Map,c=new Map,f={...CT,...a.handlers},h={all:p,applyData:VT,definitionById:u,footnoteById:o,footnoteCounts:c,footnoteOrder:[],handlers:f,one:m,options:a,patch:qT,wrap:FT};return zg(t,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const b=g.type==="definition"?u:o,v=String(g.identifier).toUpperCase();b.has(v)||b.set(v,g)}}),h;function m(g,b){const v=g.type,x=h.handlers[v];if(Uc.call(h.handlers,v)&&x)return x(h,g,b);if(h.options.passThrough&&h.options.passThrough.includes(v)){if("children"in g){const{children:T,...H}=g,A=Fu(H);return A.children=h.all(g),A}return Fu(g)}return(h.options.unknownHandler||YT)(h,g,b)}function p(g){const b=[];if("children"in g){const v=g.children;let x=-1;for(;++x<v.length;){const M=h.one(v[x],g);if(M){if(x&&v[x-1].type==="break"&&(!Array.isArray(M)&&M.type==="text"&&(M.value=Ng(M.value)),!Array.isArray(M)&&M.type==="element")){const T=M.children[0];T&&T.type==="text"&&(T.value=Ng(T.value))}Array.isArray(M)?b.push(...M):b.push(M)}}}return b}}function qT(t,r){t.position&&(r.position=BC(t))}function VT(t,r){let a=r;if(t&&t.data){const u=t.data.hName,o=t.data.hChildren,c=t.data.hProperties;if(typeof u=="string")if(a.type==="element")a.tagName=u;else{const f="children"in a?a.children:[a];a={type:"element",tagName:u,properties:{},children:f}}a.type==="element"&&c&&Object.assign(a.properties,Fu(c)),"children"in a&&a.children&&o!==null&&o!==void 0&&(a.children=o)}return a}function YT(t,r){const a=r.data||{},u="value"in r&&!(Uc.call(a,"hProperties")||Uc.call(a,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:t.all(r)};return t.patch(r,u),t.applyData(r,u)}function FT(t,r){const a=[];let u=-1;for(r&&a.push({type:"text",value:`
158
+ `});++u<t.length;)u&&a.push({type:"text",value:`
159
+ `}),a.push(t[u]);return r&&t.length>0&&a.push({type:"text",value:`
160
+ `}),a}function Ng(t){let r=0,a=t.charCodeAt(r);for(;a===9||a===32;)r++,a=t.charCodeAt(r);return t.slice(r)}function Lg(t,r){const a=GT(t,r),u=a.one(t,void 0),o=MT(a),c=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return o&&c.children.push({type:"text",value:`
161
+ `},o),c}function QT(t,r){return t&&"run"in t?async function(a,u){const o=Lg(a,{file:u,...r});await t.run(o,u)}:function(a,u){return Lg(a,{file:u,...t||r})}}function Ug(t){if(t)throw t}var _c,_g;function KT(){if(_g)return _c;_g=1;var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,o=function(p){return typeof Array.isArray=="function"?Array.isArray(p):r.call(p)==="[object Array]"},c=function(p){if(!p||r.call(p)!=="[object Object]")return!1;var g=t.call(p,"constructor"),b=p.constructor&&p.constructor.prototype&&t.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!g&&!b)return!1;var v;for(v in p);return typeof v>"u"||t.call(p,v)},f=function(p,g){a&&g.name==="__proto__"?a(p,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):p[g.name]=g.newValue},h=function(p,g){if(g==="__proto__")if(t.call(p,g)){if(u)return u(p,g).value}else return;return p[g]};return _c=function m(){var p,g,b,v,x,M,T=arguments[0],H=1,A=arguments.length,N=!1;for(typeof T=="boolean"&&(N=T,T=arguments[1]||{},H=2),(T==null||typeof T!="object"&&typeof T!="function")&&(T={});H<A;++H)if(p=arguments[H],p!=null)for(g in p)b=h(T,g),v=h(p,g),T!==v&&(N&&v&&(c(v)||(x=o(v)))?(x?(x=!1,M=b&&o(b)?b:[]):M=b&&c(b)?b:{},f(T,{name:g,newValue:m(N,M,v)})):typeof v<"u"&&f(T,{name:g,newValue:v}));return T},_c}var XT=KT();const Hc=El(XT);function jc(t){if(typeof t!="object"||t===null)return!1;const r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function ZT(){const t=[],r={run:a,use:u};return r;function a(...o){let c=-1;const f=o.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);h(null,...o);function h(m,...p){const g=t[++c];let b=-1;if(m){f(m);return}for(;++b<o.length;)(p[b]===null||p[b]===void 0)&&(p[b]=o[b]);o=p,g?JT(g,h)(...p):f(null,...p)}}function u(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return t.push(o),r}}function JT(t,r){let a;return u;function u(...f){const h=t.length>f.length;let m;h&&f.push(o);try{m=t.apply(this,f)}catch(p){const g=p;if(h&&a)throw g;return o(g)}h||(m&&m.then&&typeof m.then=="function"?m.then(c,o):m instanceof Error?o(m):c(m))}function o(f,...h){a||(a=!0,r(f,...h))}function c(f){o(null,f)}}const Qn={basename:WT,dirname:PT,extname:$T,join:ek,sep:"/"};function WT(t,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');oi(t);let a=0,u=-1,o=t.length,c;if(r===void 0||r.length===0||r.length>t.length){for(;o--;)if(t.codePointAt(o)===47){if(c){a=o+1;break}}else u<0&&(c=!0,u=o+1);return u<0?"":t.slice(a,u)}if(r===t)return"";let f=-1,h=r.length-1;for(;o--;)if(t.codePointAt(o)===47){if(c){a=o+1;break}}else f<0&&(c=!0,f=o+1),h>-1&&(t.codePointAt(o)===r.codePointAt(h--)?h<0&&(u=o):(h=-1,u=f));return a===u?u=f:u<0&&(u=t.length),t.slice(a,u)}function PT(t){if(oi(t),t.length===0)return".";let r=-1,a=t.length,u;for(;--a;)if(t.codePointAt(a)===47){if(u){r=a;break}}else u||(u=!0);return r<0?t.codePointAt(0)===47?"/":".":r===1&&t.codePointAt(0)===47?"//":t.slice(0,r)}function $T(t){oi(t);let r=t.length,a=-1,u=0,o=-1,c=0,f;for(;r--;){const h=t.codePointAt(r);if(h===47){if(f){u=r+1;break}continue}a<0&&(f=!0,a=r+1),h===46?o<0?o=r:c!==1&&(c=1):o>-1&&(c=-1)}return o<0||a<0||c===0||c===1&&o===a-1&&o===u+1?"":t.slice(o,a)}function ek(...t){let r=-1,a;for(;++r<t.length;)oi(t[r]),t[r]&&(a=a===void 0?t[r]:a+"/"+t[r]);return a===void 0?".":tk(a)}function tk(t){oi(t);const r=t.codePointAt(0)===47;let a=nk(t,!r);return a.length===0&&!r&&(a="."),a.length>0&&t.codePointAt(t.length-1)===47&&(a+="/"),r?"/"+a:a}function nk(t,r){let a="",u=0,o=-1,c=0,f=-1,h,m;for(;++f<=t.length;){if(f<t.length)h=t.codePointAt(f);else{if(h===47)break;h=47}if(h===47){if(!(o===f-1||c===1))if(o!==f-1&&c===2){if(a.length<2||u!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(m=a.lastIndexOf("/"),m!==a.length-1){m<0?(a="",u=0):(a=a.slice(0,m),u=a.length-1-a.lastIndexOf("/")),o=f,c=0;continue}}else if(a.length>0){a="",u=0,o=f,c=0;continue}}r&&(a=a.length>0?a+"/..":"..",u=2)}else a.length>0?a+="/"+t.slice(o+1,f):a=t.slice(o+1,f),u=f-o-1;o=f,c=0}else h===46&&c>-1?c++:c=-1}return a}function oi(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const rk={cwd:lk};function lk(){return"/"}function Ic(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function ak(t){if(typeof t=="string")t=new URL(t);else if(!Ic(t)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(t.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return ik(t)}function ik(t){if(t.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const r=t.pathname;let a=-1;for(;++a<r.length;)if(r.codePointAt(a)===37&&r.codePointAt(a+1)===50){const u=r.codePointAt(a+2);if(u===70||u===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(r)}const Gc=["history","path","basename","stem","extname","dirname"];class Hg{constructor(r){let a;r?Ic(r)?a={path:r}:typeof r=="string"||uk(r)?a={value:r}:a=r:a={},this.cwd="cwd"in a?"":rk.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<Gc.length;){const c=Gc[u];c in a&&a[c]!==void 0&&a[c]!==null&&(this[c]=c==="history"?[...a[c]]:a[c])}let o;for(o in a)Gc.includes(o)||(this[o]=a[o])}get basename(){return typeof this.path=="string"?Qn.basename(this.path):void 0}set basename(r){Vc(r,"basename"),qc(r,"basename"),this.path=Qn.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?Qn.dirname(this.path):void 0}set dirname(r){jg(this.basename,"dirname"),this.path=Qn.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?Qn.extname(this.path):void 0}set extname(r){if(qc(r,"extname"),jg(this.dirname,"extname"),r){if(r.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Qn.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){Ic(r)&&(r=ak(r)),Vc(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?Qn.basename(this.path,this.extname):void 0}set stem(r){Vc(r,"stem"),qc(r,"stem"),this.path=Qn.join(this.dirname||"",r+(this.extname||""))}fail(r,a,u){const o=this.message(r,a,u);throw o.fatal=!0,o}info(r,a,u){const o=this.message(r,a,u);return o.fatal=void 0,o}message(r,a,u){const o=new Yt(r,a,u);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function qc(t,r){if(t&&t.includes(Qn.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Qn.sep+"`")}function Vc(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function jg(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}function uk(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const ok=function(t){const u=this.constructor.prototype,o=u[t],c=function(){return o.apply(c,arguments)};return Object.setPrototypeOf(c,u),c},sk={}.hasOwnProperty;class Yc extends ok{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ZT()}copy(){const r=new Yc;let a=-1;for(;++a<this.attachers.length;){const u=this.attachers[a];r.use(...u)}return r.data(Hc(!0,{},this.namespace)),r}data(r,a){return typeof r=="string"?arguments.length===2?(Kc("data",this.frozen),this.namespace[r]=a,this):sk.call(this.namespace,r)&&this.namespace[r]||void 0:r?(Kc("data",this.frozen),this.namespace=r,this):this.namespace}freeze(){if(this.frozen)return this;const r=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const o=a.call(r,...u);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const a=Ku(r),u=this.parser||this.Parser;return Fc("parse",u),u(String(a),a)}process(r,a){const u=this;return this.freeze(),Fc("process",this.parser||this.Parser),Qc("process",this.compiler||this.Compiler),a?o(void 0,a):new Promise(o);function o(c,f){const h=Ku(r),m=u.parse(h);u.run(m,h,function(g,b,v){if(g||!b||!v)return p(g);const x=b,M=u.stringify(x,v);dk(M)?v.value=M:v.result=M,p(g,v)});function p(g,b){g||!b?f(g):c?c(b):a(void 0,b)}}}processSync(r){let a=!1,u;return this.freeze(),Fc("processSync",this.parser||this.Parser),Qc("processSync",this.compiler||this.Compiler),this.process(r,o),Gg("processSync","process",a),u;function o(c,f){a=!0,Ug(c),u=f}}run(r,a,u){Ig(r),this.freeze();const o=this.transformers;return!u&&typeof a=="function"&&(u=a,a=void 0),u?c(void 0,u):new Promise(c);function c(f,h){const m=Ku(a);o.run(r,m,p);function p(g,b,v){const x=b||r;g?h(g):f?f(x):u(void 0,x,v)}}}runSync(r,a){let u=!1,o;return this.run(r,a,c),Gg("runSync","run",u),o;function c(f,h){Ug(f),o=h,u=!0}}stringify(r,a){this.freeze();const u=Ku(a),o=this.compiler||this.Compiler;return Qc("stringify",o),Ig(r),o(r,u)}use(r,...a){const u=this.attachers,o=this.namespace;if(Kc("use",this.frozen),r!=null)if(typeof r=="function")m(r,a);else if(typeof r=="object")Array.isArray(r)?h(r):f(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function c(p){if(typeof p=="function")m(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[g,...b]=p;m(g,b)}else f(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function f(p){if(!("plugins"in p)&&!("settings"in p))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(p.plugins),p.settings&&(o.settings=Hc(!0,o.settings,p.settings))}function h(p){let g=-1;if(p!=null)if(Array.isArray(p))for(;++g<p.length;){const b=p[g];c(b)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function m(p,g){let b=-1,v=-1;for(;++b<u.length;)if(u[b][0]===p){v=b;break}if(v===-1)u.push([p,...g]);else if(g.length>0){let[x,...M]=g;const T=u[v][1];jc(T)&&jc(x)&&(x=Hc(!0,T,x)),u[v]=[p,x,...M]}}}}const ck=new Yc().freeze();function Fc(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Qc(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Kc(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ig(t){if(!jc(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Gg(t,r,a){if(!a)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Ku(t){return fk(t)?t:new Hg(t)}function fk(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function dk(t){return typeof t=="string"||hk(t)}function hk(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const pk="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",qg=[],Vg={allowDangerousHtml:!0},mk=/^(https?|ircs?|mailto|xmpp)$/i,gk=[{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:"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 yk(t){const r=t.allowedElements,a=t.allowElement,u=t.children||"",o=t.className,c=t.components,f=t.disallowedElements,h=t.rehypePlugins||qg,m=t.remarkPlugins||qg,p=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...Vg}:Vg,g=t.skipHtml,b=t.unwrapDisallowed,v=t.urlTransform||bk,x=ck().use(Ww).use(m).use(QT,p).use(h),M=new Hg;typeof u=="string"&&(M.value=u);for(const N of gk)Object.hasOwn(t,N.from)&&(""+N.from+(N.to?"use `"+N.to+"` instead":"remove it")+pk+N.id,void 0);const T=x.parse(M);let H=x.runSync(T,M);return o&&(H={type:"element",tagName:"div",properties:{className:o},children:H.type==="root"?H.children:[H]}),zg(H,A),HC(H,{Fragment:Ve.Fragment,components:c,ignoreInvalidStyle:!0,jsx:Ve.jsx,jsxs:Ve.jsxs,passKeys:!0,passNode:!0});function A(N,O,_){if(N.type==="raw"&&_&&typeof O=="number")return g?_.children.splice(O,1):_.children[O]={type:"text",value:N.value},O;if(N.type==="element"){let k;for(k in Cc)if(Object.hasOwn(Cc,k)&&Object.hasOwn(N.properties,k)){const D=N.properties[k],F=Cc[k];(F===null||F.includes(N.tagName))&&(N.properties[k]=v(String(D||""),k,N))}}if(N.type==="element"){let k=r?!r.includes(N.tagName):f?f.includes(N.tagName):!1;if(!k&&a&&typeof O=="number"&&(k=!a(N,O,_)),k&&_&&typeof O=="number")return b&&N.children?_.children.splice(O,1,...N.children):_.children.splice(O,1),O}}}function bk(t){const r=t.indexOf(":"),a=t.indexOf("?"),u=t.indexOf("#"),o=t.indexOf("/");return r<0||o>-1&&r>o||a>-1&&r>a||u>-1&&r>u||mk.test(t.slice(0,r))?t:""}const Sk=(...t)=>r=>{t.forEach(a=>{typeof a=="function"?a(r):a&&(a.current=r)})},Yg=t=>t.scrollHeight-t.clientHeight-t.scrollTop,xk=t=>{t.scrollTop=t.scrollHeight},vk=Pe.div({overflow:"auto"}),Ek=U.forwardRef(function({children:r,threshold:a=2,className:u},o){const c=U.useRef(),[f,h]=U.useState(r),m=U.useRef(null);return U.useLayoutEffect(()=>{c.current&&(m.current=Yg(c.current)<a,h(r))},[r,a]),U.useLayoutEffect(()=>{if(!c.current)return;const p=Yg(c.current)<a;m.current&&!p&&(xk(c.current),m.current=null)},[f,a]),U.createElement(vk,{className:u,ref:Sk(c,o)},f)}),Fg=Pe.span({clipPath:"inset(100%)",clip:"rect(1px, 1px, 1px, 1px)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),Ck={loadingMessages:[{delay:1500,text:"Loading"},{delay:4e3,text:"Still loading"}]},Ak=({message:t,isLoading:r,loadingMessages:a=Ck.loadingMessages})=>{var f;const[u,o]=U.useState(-1);U.useEffect(()=>{o(-1)},[r,a]),U.useEffect(()=>{const h=a[u+1];if(!r||!h)return()=>{};const m=setTimeout(()=>{o(u+1)},h.delay);return()=>{clearTimeout(m)}},[r,u,a]);const c=(f=a[u])==null?void 0:f.text;return U.createElement(Fg,{"aria-atomic":"true","aria-live":"polite"},r?c:t)},Qg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARcAAAFWCAYAAABD19kdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAydpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmE2YTYzOTY4YSwgMjAyNC8wMy8wNi0xMTo1MjowNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI1LjExIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCNDI3MzM5NzU5NjQxMUVGODdDNzkzMDJBNTgwRDI5NSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCNDI3MzM5ODU5NjQxMUVGODdDNzkzMDJBNTgwRDI5NSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkI0MjczMzk1NTk2NDExRUY4N0M3OTMwMkE1ODBEMjk1IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkI0MjczMzk2NTk2NDExRUY4N0M3OTMwMkE1ODBEMjk1Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+aNrTMAAAVExJREFUeNrs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",Kg=U.forwardRef(function({Component:r,...a},u){const o=Nh(),c=r??o.custom.ImgAdapter??"img";return U.createElement(c,{ref:u,...a})});function wk(t){return typeof t.main=="string"}function Tk(t,r=[]){if(!wk(t))return!1;for(const a of r)if(!t.hasOwnProperty(a)||typeof t[a]!="string")return!1;return!0}function kk(t=[]){return([,r])=>r&&Tk(r,t)}function Rk(t){return Cu("MuiTypography",t)}Ts("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ok={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Mk=fE(),Dk=t=>{const{align:r,gutterBottom:a,noWrap:u,paragraph:o,variant:c,classes:f}=t,h={root:["root",c,t.align!=="inherit"&&`align${vr(r)}`,a&&"gutterBottom",u&&"noWrap",o&&"paragraph"]};return Ss(h,Rk,f)},Bk=Ou("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:a}=t;return[r.root,a.variant&&r[a.variant],a.align!=="inherit"&&r[`align${vr(a.align)}`],a.noWrap&&r.noWrap,a.gutterBottom&&r.gutterBottom,a.paragraph&&r.paragraph]}})(Du(({theme:t})=>{var r;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([a,u])=>a!=="inherit"&&u&&typeof u=="object").map(([a,u])=>({props:{variant:a},style:u})),...Object.entries(t.palette).filter(kk()).map(([a])=>({props:{color:a},style:{color:(t.vars||t).palette[a].main}})),...Object.entries(((r=t.palette)==null?void 0:r.text)||{}).filter(([,a])=>typeof a=="string").map(([a])=>({props:{color:`text${vr(a)}`},style:{color:(t.vars||t).palette.text[a]}})),{props:({ownerState:a})=>a.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:a})=>a.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:a})=>a.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:a})=>a.paragraph,style:{marginBottom:16}}]}})),Xg={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},zk=U.forwardRef(function(r,a){const{color:u,...o}=qs({props:r,name:"MuiTypography"}),c=!Ok[u],f=Mk({...o,...c&&{color:u}}),{align:h="inherit",className:m,component:p,gutterBottom:g=!1,noWrap:b=!1,paragraph:v=!1,variant:x="body1",variantMapping:M=Xg,...T}=f,H={...f,align:h,color:u,className:m,component:p,gutterBottom:g,noWrap:b,paragraph:v,variant:x,variantMapping:M},A=p||(v?"p":M[x]||Xg[x])||"span",N=Dk(H);return Ve.jsx(Bk,{as:A,ref:a,className:pu(N.root,m),...T,ownerState:H,style:{...h!=="inherit"&&{"--Typography-textAlign":h},...T.style}})}),Ht={root:"MitAiChat--root",conversationStarter:"MitAiChat--conversationStarter",messagesContainer:"MitAiChat--messagesContainer",messageRow:"MitAiChat--messageRow",messageRowUser:"MitAiChat--messageRowUser",messageRowAssistant:"MitAiChat--messageRowAssistant",message:"MitAiChat--message",avatar:"MitAiChat--avatar",input:"MitAiChat--input"},Nk=Pe.div({width:"100%",height:"100%",display:"flex",flexDirection:"column"}),Lk=Pe(Ek)(({theme:t})=>({display:"flex",flexDirection:"column",flex:1,padding:"24px",paddingBottom:"12px",overflow:"auto",gap:"24px",backgroundColor:t.custom.colors.lightGray1,borderColor:t.custom.colors.silverGrayLight,borderStyle:"solid",borderWidth:"0 1px"})),Zg=Pe.div({display:"flex",width:"100%",gap:"10px",[`&.${Ht.messageRowUser}`]:{flexDirection:"row-reverse"},"> *":{minWidth:0},position:"relative"}),Jg=Pe.div(({theme:t})=>({flexShrink:0,borderRadius:"50%",backgroundColor:t.custom.colors.white,display:"flex",alignItems:"center",justifyContent:"center",img:{width:"66%",height:"auto"},width:"32px",height:"32px",position:"absolute",top:"-16px",[`.${Ht.messageRowAssistant} &`]:{left:"-10px"},[`.${Ht.messageRowUser} &`]:{right:"16px"}})),Wg=Pe.div(({theme:t})=>({border:`1px solid ${t.custom.colors.silverGrayLight}`,backgroundColor:t.custom.colors.white,padding:"12px",...t.typography.body2,"p:first-of-type":{marginTop:0},"p:last-of-type":{marginBottom:0},a:{color:t.custom.colors.mitRed,textDecoration:"none"},"a:hover":{color:t.custom.colors.red,textDecoration:"underline"},borderRadius:"12px",[`.${Ht.messageRowAssistant} &`]:{borderRadius:"0 12px 12px 12px"},[`.${Ht.messageRowUser} &`]:{borderRadius:"12px 0 12px 12px"}})),Uk=Pe.div({alignSelf:"flex-end",alignItems:"end",display:"flex",flexDirection:"column",gap:"12px"}),_k=Pe.button(({theme:t})=>({border:`1px solid ${t.custom.colors.silverGrayLight}`,backgroundColor:t.custom.colors.white,padding:"8px 16px",...t.typography.subtitle3,cursor:"pointer","&:hover":{backgroundColor:t.custom.colors.lightGray1},borderRadius:"100vh"})),Hk=Pe(UE)({borderRadius:"0 0 8px 8px"}),jk=Pe(zu)(({theme:t})=>({backgroundColor:t.custom.colors.red,flexShrink:0,marginRight:"24px",marginLeft:"12px","&:hover:not(:disabled)":{backgroundColor:t.custom.colors.mitRed}})),Ik=Pe.span(({theme:t})=>({display:"inline-flex",gap:"4px",".MuiSkeleton-root":{backgroundColor:t.custom.colors.silverGray}})),Gk=()=>U.createElement(Ik,null,U.createElement(Fs,{variant:"circular",width:"8px",height:"8px"}),U.createElement(Fs,{variant:"circular",width:"8px",height:"8px"}),U.createElement(Fs,{variant:"circular",width:"8px",height:"8px"})),qk=Pe(zu)(({theme:t})=>({color:"inherit",backgroundColor:t.custom.colors.red,"&:hover:not(:disabled)":{backgroundColor:t.custom.colors.mitRed}})),Vk=Pe(FE)({width:"40px",height:"40px"}),Yk=Pe(({title:t,onClose:r,className:a})=>U.createElement("div",{className:a},U.createElement(Vk,null),U.createElement(zk,{flex:1,variant:"h5"},t),r?U.createElement(qk,{variant:"text",onClick:r,"aria-label":"Close chat"},U.createElement(Yp,null)):null))(({theme:t})=>({backgroundColor:t.custom.colors.red,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 24px",gap:"16px",color:t.custom.colors.white,borderRadius:"8px 8px 0 0"})),Fk=function({chatId:r,className:a,conversationStarters:u,requestOpts:o,initialMessages:c,parseContent:f,srLoadingMessages:h,title:m,onClose:p,ImgComponent:g,placeholder:b="Type a message...",...v}){var E;const x=U.useRef(null),M=U.useMemo(()=>{const j=Math.random().toString().slice(2);return c.map((q,J)=>({...q,id:`initial-${j}-${J}`}))},[c]),{messages:T,input:H,handleInputChange:A,handleSubmit:N,append:O,isLoading:_}=sC(o,{initialMessages:M,id:r}),k=U.useMemo(()=>{const j=M.map(q=>q.id);return T.map(q=>{if(q.role==="assistant"&&!j.includes(q.id)){const J=f?f(q.content):q.content;return{...q,content:J}}return q})},[f,T,M]),D=k.length===M.length,F=!D&&((E=k[k.length-1])==null?void 0:E.role)==="user",ne=()=>{var j;(j=x.current)==null||j.scrollBy({behavior:"instant",top:x.current.scrollHeight})},V=k[k.length-1];return U.createElement(Nk,{className:Xs(a,Ht.root),...v},U.createElement(Yk,{title:m,onClose:p}),U.createElement(Lk,{className:Ht.messagesContainer,ref:x},k.map(j=>U.createElement(Zg,{key:j.id,"data-chat-role":j.role,className:Xs(Ht.messageRow,{[Ht.messageRowUser]:j.role==="user",[Ht.messageRowAssistant]:j.role==="assistant"})},j.role==="assistant"?U.createElement(Jg,{className:Ht.avatar},U.createElement(Kg,{src:Qg,alt:"",Component:g})):null,U.createElement(Wg,{className:Ht.message},U.createElement(Fg,null,j.role==="user"?"You said: ":"Assistant said: "),U.createElement(yk,{skipHtml:!0},j.content)))),D?U.createElement(Uk,null,u==null?void 0:u.map(j=>U.createElement(_k,{className:Ht.conversationStarter,key:j.content,onClick:()=>{ne(),O({role:"user",content:j.content})}},j.content))):null,F?U.createElement(Zg,{className:Xs(Ht.messageRow,Ht.messageRowAssistant),key:"loading"},U.createElement(Jg,{className:Ht.avatar},U.createElement(Kg,{src:Qg,alt:"",Component:g})),U.createElement(Wg,null,U.createElement(Gk,null))):null),U.createElement("form",{onSubmit:j=>{ne(),N(j)}},U.createElement(Hk,{fullWidth:!0,size:"hero",className:Ht.input,placeholder:b,name:"message",sx:{flex:1},value:H,onChange:A,endAdornment:U.createElement(jk,{size:"large","aria-label":"Send",type:"submit",disabled:_||!H},U.createElement(YE,null))})),U.createElement(Ak,{isLoading:_,loadingMessages:h,message:V.role==="assistant"?V.content:""}))},Qk=t=>U.createElement(Fk,{key:t.chatId,...t}),Kk={defaultProps:{disableRipple:!0},styleOverrides:{root:{":focus-visible":{outline:"revert"}}}},Ue={mitRed:"#750014",brightRed:"#FF1423",black:"#000000",white:"#FFFFFF",darkGray2:"#212326",darkGray1:"#40464C",silverGrayDark:"#626A73",silverGray:"#8B959E",silverGrayLight:"#B8C2CC",lightGray2:"#DDE1E6",lightGray1:"#F3F4F8",navGray:"#303337",darkPink:"#750062",pink:"#FF14F0",lightPink:"#FFB3FF",darkPurple:"#3E006B",purple:"#93F",lightPurple:"#BFB3FF",darkBlue:"#002896",blue:"#1966FF",lightBlue:"#99EBFF",darkGreen:"#004D1A",green:"#00AD00",lightGreen:"#AF3",darkRed:"#83192A",red:"#A31F34",lightRed:"#D02E44",orange:"#FAB005",yellow:"#FFEB00"},Xk={defaultProps:{size:"medium",color:"default",variant:"outlined",deleteIcon:U.createElement(Yp,{"aria-hidden":"true"})},styleOverrides:{root:{borderRadius:"100vh",borderWidth:"1px"},deleteIcon:{"&:hover":{color:"inherit"},"&.MuiChip-deleteIconLarge":{width:"16px",height:"16px"},"&.MuiChip-deleteIconMedium":{width:"14px",height:"14px"},margin:"0 -2px 0 8px",color:"inherit"},icon:{margin:"0 8px 0 -2px",color:"inherit","&.MuiChip-iconLarge":{width:"16px",height:"16px"},"&.MuiChip-iconMedium":{width:"14px",height:"14px"}}},variants:[{props:{size:"medium"},style:({theme:t})=>({...t.typography.body3,boxSizing:"border-box",height:"24px",paddingRight:"12px",paddingLeft:"12px",".MuiChip-label":{paddingLeft:"0px",paddingRight:"0px"}})},{props:{size:"large"},style:({theme:t})=>({...t.typography.body2,height:"32px",paddingLeft:"16px",paddingRight:"16px",".MuiChip-label":{paddingLeft:"0px",paddingRight:"0px"}})},{props:{variant:"outlined"},style:{borderColor:Ue.silverGrayLight,color:Ue.darkGray1,"&.Mui-focusVisible":{backgroundColor:"transparent"},"&.MuiChip-clickable:hover, &.MuiChip-deletable:hover":{color:Ue.darkGray1,borderColor:Ue.silverGrayDark,backgroundColor:"transparent"}}},{props:{variant:"outlinedWhite"},style:{backgroundColor:"white",border:"1px solid",borderColor:Ue.silverGrayLight,color:Ue.darkGray1,"&.Mui-focusVisible":{backgroundColor:"white"},"&.MuiChip-clickable:hover, &.MuiChip-deletable:hover":{color:Ue.darkGray1,borderColor:Ue.silverGrayDark,backgroundColor:"white"}}},{props:{variant:"gray"},style:{backgroundColor:Ue.lightGray2,border:"none",color:Ue.darkGray2,"&.Mui-focusVisible":{backgroundColor:Ue.lightGray2},"&.MuiChip-clickable:hover, &.MuiChip-deletable:hover":{color:Ue.darkGray1,backgroundColor:Ue.silverGrayLight}}},{props:{variant:"dark"},style:{backgroundColor:Ue.silverGrayDark,border:"none",color:Ue.white,"&.Mui-focusVisible":{backgroundColor:Ue.silverGrayDark},"&.MuiChip-clickable:hover, &.MuiChip-deletable:hover":{backgroundColor:Ue.darkGray1}}},{props:{variant:"darker"},style:{backgroundColor:Ue.darkGray2,border:`1px solid ${Ue.darkGray1}`,color:Ue.white,"&.Mui-focusVisible":{backgroundColor:Ue.darkGray2},"&.MuiChip-clickable:hover, &.MuiChip-deletable:hover":{backgroundColor:Ue.black,border:`1px solid ${Ue.silverGray}`}}},{props:{variant:"filled"},style:{backgroundColor:Ue.mitRed,border:"none",color:Ue.white,"&.Mui-focusVisible":{backgroundColor:Ue.mitRed},"&.MuiChip-clickable:hover, &.MuiChip-deletable:hover":{backgroundColor:Ue.red}}}]},Zk={colors:Ue,dimensions:{headerHeight:"72px",headerHeightSm:"60px"}},Jk={values:{xs:0,sm:600,md:900,lg:1320,xl:1536}},Wk={custom:Zk,palette:{primary:{main:Ue.mitRed,light:Ue.lightRed,active:Ue.red,contrastText:Ue.white},secondary:{light:Ue.darkGray2,active:Ue.silverGrayDark,main:Ue.black,contrastText:Ue.white}},shape:{borderRadius:8},spacing:8,typography:zp,breakpoints:Jk,components:{MuiButtonBase:Kk,MuiTypography:_E,MuiMenu:{styleOverrides:{paper:{borderRadius:"4px"}}},MuiAutocomplete:{styleOverrides:{paper:{borderRadius:"4px"},popupIndicator:{paddingRight:0,marginRight:0}}},MuiChip:Xk}},Pk=(t=>Ru(Jt(Wk,t)))(),$k=({children:t,theme:r=Pk})=>U.createElement(oE,{theme:r},t);Pe.span(({theme:t})=>({color:t.custom.colors.lightRed,marginLeft:"4px"})),Pe.div(({theme:t,error:r})=>[{...t.typography.body2,color:r?t.custom.colors.lightRed:t.custom.colors.silverGrayDark},r&&{textIndent:"-24px",paddingLeft:"24px","> svg:first-of-type":{marginRight:"4px",transform:"translateY(2px)",width:"18px",height:"18px",position:"relative",top:"2px"}}]),Pe.div(({fullWidth:t})=>[{display:"inline-flex",flexDirection:"column",alignItems:"start","> *:not(:last-child)":{marginBottom:"4px"}},t&&{width:"100%"}]);const e5=t=>{const r=t.root;jb.createRoot(r).render(U.createElement($k,null,U.createElement(Qk,{...t})))};vl.aiChat=e5,Object.defineProperty(vl,Symbol.toStringTag,{value:"Module"})});