@creative-dswork/dscode 0.2.5 → 0.2.7

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,76 @@
1
+ var _d=Object.defineProperty;var Rd=(e,t,n)=>t in e?_d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var bu=(e,t,n)=>Rd(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();var vi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zc={exports:{}},Xi={},Vc={exports:{}},ce={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its 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 bl=Symbol.for("react.element"),Zd=Symbol.for("react.portal"),zd=Symbol.for("react.fragment"),Vd=Symbol.for("react.strict_mode"),Dd=Symbol.for("react.profiler"),Od=Symbol.for("react.provider"),$d=Symbol.for("react.context"),Bd=Symbol.for("react.forward_ref"),Ud=Symbol.for("react.suspense"),Wd=Symbol.for("react.memo"),qd=Symbol.for("react.lazy"),Lu=Symbol.iterator;function Qd(e){return e===null||typeof e!="object"?null:(e=Lu&&e[Lu]||e["@@iterator"],typeof e=="function"?e:null)}var Dc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oc=Object.assign,$c={};function Nr(e,t,n){this.props=e,this.context=t,this.refs=$c,this.updater=n||Dc}Nr.prototype.isReactComponent={};Nr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Nr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Bc(){}Bc.prototype=Nr.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=$c,this.updater=n||Dc}var ms=hs.prototype=new Bc;ms.constructor=hs;Oc(ms,Nr.prototype);ms.isPureReactComponent=!0;var Nu=Array.isArray,Uc=Object.prototype.hasOwnProperty,gs={current:null},Wc={key:!0,ref:!0,__self:!0,__source:!0};function qc(e,t,n){var r,l={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Uc.call(t,r)&&!Wc.hasOwnProperty(r)&&(l[r]=t[r]);var o=arguments.length-2;if(o===1)l.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];l.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)l[r]===void 0&&(l[r]=o[r]);return{$$typeof:bl,type:e,key:i,ref:a,props:l,_owner:gs.current}}function Xd(e,t){return{$$typeof:bl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ys(e){return typeof e=="object"&&e!==null&&e.$$typeof===bl}function Yd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Hu=/\/+/g;function ya(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Yd(""+e.key):t.toString(36)}function li(e,t,n,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case bl:case Zd:a=!0}}if(a)return a=e,l=l(a),e=r===""?"."+ya(a,0):r,Nu(l)?(n="",e!=null&&(n=e.replace(Hu,"$&/")+"/"),li(l,t,n,"",function(c){return c})):l!=null&&(ys(l)&&(l=Xd(l,n+(!l.key||a&&a.key===l.key?"":(""+l.key).replace(Hu,"$&/")+"/")+e)),t.push(l)),1;if(a=0,r=r===""?".":r+":",Nu(e))for(var o=0;o<e.length;o++){i=e[o];var s=r+ya(i,o);a+=li(i,t,n,s,l)}else if(s=Qd(e),typeof s=="function")for(e=s.call(e),o=0;!(i=e.next()).done;)i=i.value,s=r+ya(i,o++),a+=li(i,t,n,s,l);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Fl(e,t,n){if(e==null)return e;var r=[],l=0;return li(e,r,"","",function(i){return t.call(n,i,l++)}),r}function Kd(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var it={current:null},ii={transition:null},Gd={ReactCurrentDispatcher:it,ReactCurrentBatchConfig:ii,ReactCurrentOwner:gs};function Qc(){throw Error("act(...) is not supported in production builds of React.")}ce.Children={map:Fl,forEach:function(e,t,n){Fl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Fl(e,function(){t++}),t},toArray:function(e){return Fl(e,function(t){return t})||[]},only:function(e){if(!ys(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ce.Component=Nr;ce.Fragment=zd;ce.Profiler=Dd;ce.PureComponent=hs;ce.StrictMode=Vd;ce.Suspense=Ud;ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Gd;ce.act=Qc;ce.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Oc({},e.props),l=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=gs.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(s in t)Uc.call(t,s)&&!Wc.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&o!==void 0?o[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){o=Array(s);for(var c=0;c<s;c++)o[c]=arguments[c+2];r.children=o}return{$$typeof:bl,type:e.type,key:l,ref:i,props:r,_owner:a}};ce.createContext=function(e){return e={$$typeof:$d,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Od,_context:e},e.Consumer=e};ce.createElement=qc;ce.createFactory=function(e){var t=qc.bind(null,e);return t.type=e,t};ce.createRef=function(){return{current:null}};ce.forwardRef=function(e){return{$$typeof:Bd,render:e}};ce.isValidElement=ys;ce.lazy=function(e){return{$$typeof:qd,_payload:{_status:-1,_result:e},_init:Kd}};ce.memo=function(e,t){return{$$typeof:Wd,type:e,compare:t===void 0?null:t}};ce.startTransition=function(e){var t=ii.transition;ii.transition={};try{e()}finally{ii.transition=t}};ce.unstable_act=Qc;ce.useCallback=function(e,t){return it.current.useCallback(e,t)};ce.useContext=function(e){return it.current.useContext(e)};ce.useDebugValue=function(){};ce.useDeferredValue=function(e){return it.current.useDeferredValue(e)};ce.useEffect=function(e,t){return it.current.useEffect(e,t)};ce.useId=function(){return it.current.useId()};ce.useImperativeHandle=function(e,t,n){return it.current.useImperativeHandle(e,t,n)};ce.useInsertionEffect=function(e,t){return it.current.useInsertionEffect(e,t)};ce.useLayoutEffect=function(e,t){return it.current.useLayoutEffect(e,t)};ce.useMemo=function(e,t){return it.current.useMemo(e,t)};ce.useReducer=function(e,t,n){return it.current.useReducer(e,t,n)};ce.useRef=function(e){return it.current.useRef(e)};ce.useState=function(e){return it.current.useState(e)};ce.useSyncExternalStore=function(e,t,n){return it.current.useSyncExternalStore(e,t,n)};ce.useTransition=function(){return it.current.useTransition()};ce.version="18.3.1";Vc.exports=ce;var u=Vc.exports;const Xc=ps(u);/**
10
+ * @license React
11
+ * react-jsx-runtime.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its 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 Jd=u,ep=Symbol.for("react.element"),tp=Symbol.for("react.fragment"),np=Object.prototype.hasOwnProperty,rp=Jd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lp={key:!0,ref:!0,__self:!0,__source:!0};function Yc(e,t,n){var r,l={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)np.call(t,r)&&!lp.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:ep,type:e,key:i,ref:a,props:l,_owner:rp.current}}Xi.Fragment=tp;Xi.jsx=Yc;Xi.jsxs=Yc;zc.exports=Xi;var p=zc.exports,oo={},Kc={exports:{}},St={},Gc={exports:{}},Jc={};/**
18
+ * @license React
19
+ * scheduler.production.min.js
20
+ *
21
+ * Copyright (c) Facebook, Inc. and its 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
+ */(function(e){function t(V,Y){var k=V.length;V.push(Y);e:for(;0<k;){var ie=k-1>>>1,de=V[ie];if(0<l(de,Y))V[ie]=Y,V[k]=de,k=ie;else break e}}function n(V){return V.length===0?null:V[0]}function r(V){if(V.length===0)return null;var Y=V[0],k=V.pop();if(k!==Y){V[0]=k;e:for(var ie=0,de=V.length,S=de>>>1;ie<S;){var ye=2*(ie+1)-1,Re=V[ye],ge=ye+1,Fe=V[ge];if(0>l(Re,k))ge<de&&0>l(Fe,Re)?(V[ie]=Fe,V[ge]=k,ie=ge):(V[ie]=Re,V[ye]=k,ie=ye);else if(ge<de&&0>l(Fe,k))V[ie]=Fe,V[ge]=k,ie=ge;else break e}}return Y}function l(V,Y){var k=V.sortIndex-Y.sortIndex;return k!==0?k:V.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,o=a.now();e.unstable_now=function(){return a.now()-o}}var s=[],c=[],d=1,f=null,m=3,h=!1,x=!1,w=!1,H=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(V){for(var Y=n(c);Y!==null;){if(Y.callback===null)r(c);else if(Y.startTime<=V)r(c),Y.sortIndex=Y.expirationTime,t(s,Y);else break;Y=n(c)}}function L(V){if(w=!1,v(V),!x)if(n(s)!==null)x=!0,fe(P);else{var Y=n(c);Y!==null&&b(L,Y.startTime-V)}}function P(V,Y){x=!1,w&&(w=!1,g(_),_=-1),h=!0;var k=m;try{for(v(Y),f=n(s);f!==null&&(!(f.expirationTime>Y)||V&&!O());){var ie=f.callback;if(typeof ie=="function"){f.callback=null,m=f.priorityLevel;var de=ie(f.expirationTime<=Y);Y=e.unstable_now(),typeof de=="function"?f.callback=de:f===n(s)&&r(s),v(Y)}else r(s);f=n(s)}if(f!==null)var S=!0;else{var ye=n(c);ye!==null&&b(L,ye.startTime-Y),S=!1}return S}finally{f=null,m=k,h=!1}}var E=!1,F=null,_=-1,Q=5,M=-1;function O(){return!(e.unstable_now()-M<Q)}function U(){if(F!==null){var V=e.unstable_now();M=V;var Y=!0;try{Y=F(!0,V)}finally{Y?ae():(E=!1,F=null)}}else E=!1}var ae;if(typeof y=="function")ae=function(){y(U)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,J=re.port2;re.port1.onmessage=U,ae=function(){J.postMessage(null)}}else ae=function(){H(U,0)};function fe(V){F=V,E||(E=!0,ae())}function b(V,Y){_=H(function(){V(e.unstable_now())},Y)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(V){V.callback=null},e.unstable_continueExecution=function(){x||h||(x=!0,fe(P))},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(V){switch(m){case 1:case 2:case 3:var Y=3;break;default:Y=m}var k=m;m=Y;try{return V()}finally{m=k}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(V,Y){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var k=m;m=V;try{return Y()}finally{m=k}},e.unstable_scheduleCallback=function(V,Y,k){var ie=e.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?ie+k:ie):k=ie,V){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return de=k+de,V={id:d++,callback:Y,priorityLevel:V,startTime:k,expirationTime:de,sortIndex:-1},k>ie?(V.sortIndex=k,t(c,V),n(s)===null&&V===n(c)&&(w?(g(_),_=-1):w=!0,b(L,k-ie))):(V.sortIndex=de,t(s,V),x||h||(x=!0,fe(P))),V},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(V){var Y=m;return function(){var k=m;m=Y;try{return V.apply(this,arguments)}finally{m=k}}}})(Jc);Gc.exports=Jc;var ip=Gc.exports;/**
26
+ * @license React
27
+ * react-dom.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its 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 ap=u,Et=ip;function Z(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var e1=new Set,ol={};function qn(e,t){wr(e,t),wr(e+"Capture",t)}function wr(e,t){for(ol[e]=t,e=0;e<t.length;e++)e1.add(t[e])}var Jt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),so=Object.prototype.hasOwnProperty,op=/^[: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]*$/,ju={},Tu={};function sp(e){return so.call(Tu,e)?!0:so.call(ju,e)?!1:op.test(e)?Tu[e]=!0:(ju[e]=!0,!1)}function up(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cp(e,t,n,r){if(t===null||typeof t>"u"||up(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function at(e,t,n,r,l,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Qe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Qe[e]=new at(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Qe[t]=new at(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Qe[e]=new at(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Qe[e]=new at(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Qe[e]=new at(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Qe[e]=new at(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Qe[e]=new at(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Qe[e]=new at(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Qe[e]=new at(e,5,!1,e.toLowerCase(),null,!1,!1)});var xs=/[\-:]([a-z])/g;function vs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xs,vs);Qe[t]=new at(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(xs,vs);Qe[t]=new at(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(xs,vs);Qe[t]=new at(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Qe[e]=new at(e,1,!1,e.toLowerCase(),null,!1,!1)});Qe.xlinkHref=new at("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Qe[e]=new at(e,1,!1,e.toLowerCase(),null,!0,!0)});function ks(e,t,n,r){var l=Qe.hasOwnProperty(t)?Qe[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(cp(t,n,l,r)&&(n=null),r||l===null?sp(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var rn=ap.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_l=Symbol.for("react.element"),nr=Symbol.for("react.portal"),rr=Symbol.for("react.fragment"),ws=Symbol.for("react.strict_mode"),uo=Symbol.for("react.profiler"),t1=Symbol.for("react.provider"),n1=Symbol.for("react.context"),Es=Symbol.for("react.forward_ref"),co=Symbol.for("react.suspense"),fo=Symbol.for("react.suspense_list"),Ss=Symbol.for("react.memo"),dn=Symbol.for("react.lazy"),r1=Symbol.for("react.offscreen"),Iu=Symbol.iterator;function Pr(e){return e===null||typeof e!="object"?null:(e=Iu&&e[Iu]||e["@@iterator"],typeof e=="function"?e:null)}var Te=Object.assign,xa;function Ur(e){if(xa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);xa=t&&t[1]||""}return`
34
+ `+xa+e}var va=!1;function ka(e,t){if(!e||va)return"";va=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var l=c.stack.split(`
35
+ `),i=r.stack.split(`
36
+ `),a=l.length-1,o=i.length-1;1<=a&&0<=o&&l[a]!==i[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==i[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==i[o]){var s=`
37
+ `+l[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=a&&0<=o);break}}}finally{va=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ur(e):""}function fp(e){switch(e.tag){case 5:return Ur(e.type);case 16:return Ur("Lazy");case 13:return Ur("Suspense");case 19:return Ur("SuspenseList");case 0:case 2:case 15:return e=ka(e.type,!1),e;case 11:return e=ka(e.type.render,!1),e;case 1:return e=ka(e.type,!0),e;default:return""}}function po(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case rr:return"Fragment";case nr:return"Portal";case uo:return"Profiler";case ws:return"StrictMode";case co:return"Suspense";case fo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case n1:return(e.displayName||"Context")+".Consumer";case t1:return(e._context.displayName||"Context")+".Provider";case Es:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ss:return t=e.displayName||null,t!==null?t:po(e.type)||"Memo";case dn:t=e._payload,e=e._init;try{return po(e(t))}catch{}}return null}function dp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return po(t);case 8:return t===ws?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Mn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function l1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pp(e){var t=l1(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rl(e){e._valueTracker||(e._valueTracker=pp(e))}function i1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=l1(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ki(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ho(e,t){var n=t.checked;return Te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Pu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function a1(e,t){t=t.checked,t!=null&&ks(e,"checked",t,!1)}function mo(e,t){a1(e,t);var n=Mn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?go(e,t.type,n):t.hasOwnProperty("defaultValue")&&go(e,t.type,Mn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function go(e,t,n){(t!=="number"||ki(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wr=Array.isArray;function hr(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Mn(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function yo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Z(91));return Te({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function _u(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(Z(92));if(Wr(n)){if(1<n.length)throw Error(Z(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Mn(n)}}function o1(e,t){var n=Mn(t.value),r=Mn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Ru(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function s1(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function xo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?s1(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Zl,u1=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Zl=Zl||document.createElement("div"),Zl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Zl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function sl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},hp=["Webkit","ms","Moz","O"];Object.keys(Xr).forEach(function(e){hp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xr[t]=Xr[e]})});function c1(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Xr.hasOwnProperty(e)&&Xr[e]?(""+t).trim():t+"px"}function f1(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=c1(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var mp=Te({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function vo(e,t){if(t){if(mp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Z(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Z(62))}}function ko(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 wo=null;function As(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Eo=null,mr=null,gr=null;function Zu(e){if(e=Hl(e)){if(typeof Eo!="function")throw Error(Z(280));var t=e.stateNode;t&&(t=ea(t),Eo(e.stateNode,e.type,t))}}function d1(e){mr?gr?gr.push(e):gr=[e]:mr=e}function p1(){if(mr){var e=mr,t=gr;if(gr=mr=null,Zu(e),t)for(e=0;e<t.length;e++)Zu(t[e])}}function h1(e,t){return e(t)}function m1(){}var wa=!1;function g1(e,t,n){if(wa)return e(t,n);wa=!0;try{return h1(e,t,n)}finally{wa=!1,(mr!==null||gr!==null)&&(m1(),p1())}}function ul(e,t){var n=e.stateNode;if(n===null)return null;var r=ea(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(Z(231,t,typeof n));return n}var So=!1;if(Jt)try{var Fr={};Object.defineProperty(Fr,"passive",{get:function(){So=!0}}),window.addEventListener("test",Fr,Fr),window.removeEventListener("test",Fr,Fr)}catch{So=!1}function gp(e,t,n,r,l,i,a,o,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var Yr=!1,wi=null,Ei=!1,Ao=null,yp={onError:function(e){Yr=!0,wi=e}};function xp(e,t,n,r,l,i,a,o,s){Yr=!1,wi=null,gp.apply(yp,arguments)}function vp(e,t,n,r,l,i,a,o,s){if(xp.apply(this,arguments),Yr){if(Yr){var c=wi;Yr=!1,wi=null}else throw Error(Z(198));Ei||(Ei=!0,Ao=c)}}function Qn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function y1(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function zu(e){if(Qn(e)!==e)throw Error(Z(188))}function kp(e){var t=e.alternate;if(!t){if(t=Qn(e),t===null)throw Error(Z(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return zu(l),e;if(i===r)return zu(l),t;i=i.sibling}throw Error(Z(188))}if(n.return!==r.return)n=l,r=i;else{for(var a=!1,o=l.child;o;){if(o===n){a=!0,n=l,r=i;break}if(o===r){a=!0,r=l,n=i;break}o=o.sibling}if(!a){for(o=i.child;o;){if(o===n){a=!0,n=i,r=l;break}if(o===r){a=!0,r=i,n=l;break}o=o.sibling}if(!a)throw Error(Z(189))}}if(n.alternate!==r)throw Error(Z(190))}if(n.tag!==3)throw Error(Z(188));return n.stateNode.current===n?e:t}function x1(e){return e=kp(e),e!==null?v1(e):null}function v1(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=v1(e);if(t!==null)return t;e=e.sibling}return null}var k1=Et.unstable_scheduleCallback,Vu=Et.unstable_cancelCallback,wp=Et.unstable_shouldYield,Ep=Et.unstable_requestPaint,_e=Et.unstable_now,Sp=Et.unstable_getCurrentPriorityLevel,Cs=Et.unstable_ImmediatePriority,w1=Et.unstable_UserBlockingPriority,Si=Et.unstable_NormalPriority,Ap=Et.unstable_LowPriority,E1=Et.unstable_IdlePriority,Yi=null,Ut=null;function Cp(e){if(Ut&&typeof Ut.onCommitFiberRoot=="function")try{Ut.onCommitFiberRoot(Yi,e,void 0,(e.current.flags&128)===128)}catch{}}var _t=Math.clz32?Math.clz32:Lp,Mp=Math.log,bp=Math.LN2;function Lp(e){return e>>>=0,e===0?32:31-(Mp(e)/bp|0)|0}var zl=64,Vl=4194304;function qr(e){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: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ai(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var o=a&~l;o!==0?r=qr(o):(i&=a,i!==0&&(r=qr(i)))}else a=n&~l,a!==0?r=qr(a):i!==0&&(r=qr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-_t(t),l=1<<n,r|=e[n],t&=~l;return r}function Np(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Hp(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-_t(i),o=1<<a,s=l[a];s===-1?(!(o&n)||o&r)&&(l[a]=Np(o,t)):s<=t&&(e.expiredLanes|=o),i&=~o}}function Co(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function S1(){var e=zl;return zl<<=1,!(zl&4194240)&&(zl=64),e}function Ea(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ll(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=n}function jp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-_t(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function Ms(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var xe=0;function A1(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var C1,bs,M1,b1,L1,Mo=!1,Dl=[],xn=null,vn=null,kn=null,cl=new Map,fl=new Map,hn=[],Tp="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 submit".split(" ");function Du(e,t){switch(e){case"focusin":case"focusout":xn=null;break;case"dragenter":case"dragleave":vn=null;break;case"mouseover":case"mouseout":kn=null;break;case"pointerover":case"pointerout":cl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fl.delete(t.pointerId)}}function _r(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=Hl(t),t!==null&&bs(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Ip(e,t,n,r,l){switch(t){case"focusin":return xn=_r(xn,e,t,n,r,l),!0;case"dragenter":return vn=_r(vn,e,t,n,r,l),!0;case"mouseover":return kn=_r(kn,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return cl.set(i,_r(cl.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,fl.set(i,_r(fl.get(i)||null,e,t,n,r,l)),!0}return!1}function N1(e){var t=_n(e.target);if(t!==null){var n=Qn(t);if(n!==null){if(t=n.tag,t===13){if(t=y1(n),t!==null){e.blockedOn=t,L1(e.priority,function(){M1(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ai(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=bo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);wo=r,n.target.dispatchEvent(r),wo=null}else return t=Hl(n),t!==null&&bs(t),e.blockedOn=n,!1;t.shift()}return!0}function Ou(e,t,n){ai(e)&&n.delete(t)}function Pp(){Mo=!1,xn!==null&&ai(xn)&&(xn=null),vn!==null&&ai(vn)&&(vn=null),kn!==null&&ai(kn)&&(kn=null),cl.forEach(Ou),fl.forEach(Ou)}function Rr(e,t){e.blockedOn===t&&(e.blockedOn=null,Mo||(Mo=!0,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,Pp)))}function dl(e){function t(l){return Rr(l,e)}if(0<Dl.length){Rr(Dl[0],e);for(var n=1;n<Dl.length;n++){var r=Dl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(xn!==null&&Rr(xn,e),vn!==null&&Rr(vn,e),kn!==null&&Rr(kn,e),cl.forEach(t),fl.forEach(t),n=0;n<hn.length;n++)r=hn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<hn.length&&(n=hn[0],n.blockedOn===null);)N1(n),n.blockedOn===null&&hn.shift()}var yr=rn.ReactCurrentBatchConfig,Ci=!0;function Fp(e,t,n,r){var l=xe,i=yr.transition;yr.transition=null;try{xe=1,Ls(e,t,n,r)}finally{xe=l,yr.transition=i}}function _p(e,t,n,r){var l=xe,i=yr.transition;yr.transition=null;try{xe=4,Ls(e,t,n,r)}finally{xe=l,yr.transition=i}}function Ls(e,t,n,r){if(Ci){var l=bo(e,t,n,r);if(l===null)Ta(e,t,r,Mi,n),Du(e,r);else if(Ip(l,e,t,n,r))r.stopPropagation();else if(Du(e,r),t&4&&-1<Tp.indexOf(e)){for(;l!==null;){var i=Hl(l);if(i!==null&&C1(i),i=bo(e,t,n,r),i===null&&Ta(e,t,r,Mi,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else Ta(e,t,r,null,n)}}var Mi=null;function bo(e,t,n,r){if(Mi=null,e=As(r),e=_n(e),e!==null)if(t=Qn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=y1(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Mi=e,null}function H1(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Sp()){case Cs:return 1;case w1:return 4;case Si:case Ap:return 16;case E1:return 536870912;default:return 16}default:return 16}}var gn=null,Ns=null,oi=null;function j1(){if(oi)return oi;var e,t=Ns,n=t.length,r,l="value"in gn?gn.value:gn.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===l[i-r];r++);return oi=l.slice(e,1<r?1-r:void 0)}function si(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ol(){return!0}function $u(){return!1}function At(e){function t(n,r,l,i,a){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ol:$u,this.isPropagationStopped=$u,this}return Te(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ol)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ol)},persist:function(){},isPersistent:Ol}),t}var Hr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hs=At(Hr),Nl=Te({},Hr,{view:0,detail:0}),Rp=At(Nl),Sa,Aa,Zr,Ki=Te({},Nl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:js,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!==Zr&&(Zr&&e.type==="mousemove"?(Sa=e.screenX-Zr.screenX,Aa=e.screenY-Zr.screenY):Aa=Sa=0,Zr=e),Sa)},movementY:function(e){return"movementY"in e?e.movementY:Aa}}),Bu=At(Ki),Zp=Te({},Ki,{dataTransfer:0}),zp=At(Zp),Vp=Te({},Nl,{relatedTarget:0}),Ca=At(Vp),Dp=Te({},Hr,{animationName:0,elapsedTime:0,pseudoElement:0}),Op=At(Dp),$p=Te({},Hr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Bp=At($p),Up=Te({},Hr,{data:0}),Uu=At(Up),Wp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qp={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"},Qp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Qp[e])?!!t[e]:!1}function js(){return Xp}var Yp=Te({},Nl,{key:function(e){if(e.key){var t=Wp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=si(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?qp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:js,charCode:function(e){return e.type==="keypress"?si(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?si(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Kp=At(Yp),Gp=Te({},Ki,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wu=At(Gp),Jp=Te({},Nl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:js}),eh=At(Jp),th=Te({},Hr,{propertyName:0,elapsedTime:0,pseudoElement:0}),nh=At(th),rh=Te({},Ki,{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}),lh=At(rh),ih=[9,13,27,32],Ts=Jt&&"CompositionEvent"in window,Kr=null;Jt&&"documentMode"in document&&(Kr=document.documentMode);var ah=Jt&&"TextEvent"in window&&!Kr,T1=Jt&&(!Ts||Kr&&8<Kr&&11>=Kr),qu=" ",Qu=!1;function I1(e,t){switch(e){case"keyup":return ih.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function P1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var lr=!1;function oh(e,t){switch(e){case"compositionend":return P1(t);case"keypress":return t.which!==32?null:(Qu=!0,qu);case"textInput":return e=t.data,e===qu&&Qu?null:e;default:return null}}function sh(e,t){if(lr)return e==="compositionend"||!Ts&&I1(e,t)?(e=j1(),oi=Ns=gn=null,lr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return T1&&t.locale!=="ko"?null:t.data;default:return null}}var uh={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 Xu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!uh[e.type]:t==="textarea"}function F1(e,t,n,r){d1(r),t=bi(t,"onChange"),0<t.length&&(n=new Hs("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gr=null,pl=null;function ch(e){W1(e,0)}function Gi(e){var t=or(e);if(i1(t))return e}function fh(e,t){if(e==="change")return t}var _1=!1;if(Jt){var Ma;if(Jt){var ba="oninput"in document;if(!ba){var Yu=document.createElement("div");Yu.setAttribute("oninput","return;"),ba=typeof Yu.oninput=="function"}Ma=ba}else Ma=!1;_1=Ma&&(!document.documentMode||9<document.documentMode)}function Ku(){Gr&&(Gr.detachEvent("onpropertychange",R1),pl=Gr=null)}function R1(e){if(e.propertyName==="value"&&Gi(pl)){var t=[];F1(t,pl,e,As(e)),g1(ch,t)}}function dh(e,t,n){e==="focusin"?(Ku(),Gr=t,pl=n,Gr.attachEvent("onpropertychange",R1)):e==="focusout"&&Ku()}function ph(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gi(pl)}function hh(e,t){if(e==="click")return Gi(t)}function mh(e,t){if(e==="input"||e==="change")return Gi(t)}function gh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zt=typeof Object.is=="function"?Object.is:gh;function hl(e,t){if(zt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!so.call(t,l)||!zt(e[l],t[l]))return!1}return!0}function Gu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ju(e,t){var n=Gu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Gu(n)}}function Z1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Z1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function z1(){for(var e=window,t=ki();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ki(e.document)}return t}function Is(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function yh(e){var t=z1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Z1(n.ownerDocument.documentElement,n)){if(r!==null&&Is(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Ju(n,i);var a=Ju(n,r);l&&a&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var xh=Jt&&"documentMode"in document&&11>=document.documentMode,ir=null,Lo=null,Jr=null,No=!1;function e0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;No||ir==null||ir!==ki(r)||(r=ir,"selectionStart"in r&&Is(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jr&&hl(Jr,r)||(Jr=r,r=bi(Lo,"onSelect"),0<r.length&&(t=new Hs("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ir)))}function $l(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ar={animationend:$l("Animation","AnimationEnd"),animationiteration:$l("Animation","AnimationIteration"),animationstart:$l("Animation","AnimationStart"),transitionend:$l("Transition","TransitionEnd")},La={},V1={};Jt&&(V1=document.createElement("div").style,"AnimationEvent"in window||(delete ar.animationend.animation,delete ar.animationiteration.animation,delete ar.animationstart.animation),"TransitionEvent"in window||delete ar.transitionend.transition);function Ji(e){if(La[e])return La[e];if(!ar[e])return e;var t=ar[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in V1)return La[e]=t[n];return e}var D1=Ji("animationend"),O1=Ji("animationiteration"),$1=Ji("animationstart"),B1=Ji("transitionend"),U1=new Map,t0="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ln(e,t){U1.set(e,t),qn(t,[e])}for(var Na=0;Na<t0.length;Na++){var Ha=t0[Na],vh=Ha.toLowerCase(),kh=Ha[0].toUpperCase()+Ha.slice(1);Ln(vh,"on"+kh)}Ln(D1,"onAnimationEnd");Ln(O1,"onAnimationIteration");Ln($1,"onAnimationStart");Ln("dblclick","onDoubleClick");Ln("focusin","onFocus");Ln("focusout","onBlur");Ln(B1,"onTransitionEnd");wr("onMouseEnter",["mouseout","mouseover"]);wr("onMouseLeave",["mouseout","mouseover"]);wr("onPointerEnter",["pointerout","pointerover"]);wr("onPointerLeave",["pointerout","pointerover"]);qn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));qn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));qn("onBeforeInput",["compositionend","keypress","textInput","paste"]);qn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));qn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));qn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qr="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(" "),wh=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qr));function n0(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,vp(r,t,void 0,e),e.currentTarget=null}function W1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var o=r[a],s=o.instance,c=o.currentTarget;if(o=o.listener,s!==i&&l.isPropagationStopped())break e;n0(l,o,c),i=s}else for(a=0;a<r.length;a++){if(o=r[a],s=o.instance,c=o.currentTarget,o=o.listener,s!==i&&l.isPropagationStopped())break e;n0(l,o,c),i=s}}}if(Ei)throw e=Ao,Ei=!1,Ao=null,e}function Ce(e,t){var n=t[Po];n===void 0&&(n=t[Po]=new Set);var r=e+"__bubble";n.has(r)||(q1(t,e,2,!1),n.add(r))}function ja(e,t,n){var r=0;t&&(r|=4),q1(n,e,r,t)}var Bl="_reactListening"+Math.random().toString(36).slice(2);function ml(e){if(!e[Bl]){e[Bl]=!0,e1.forEach(function(n){n!=="selectionchange"&&(wh.has(n)||ja(n,!1,e),ja(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Bl]||(t[Bl]=!0,ja("selectionchange",!1,t))}}function q1(e,t,n,r){switch(H1(t)){case 1:var l=Fp;break;case 4:l=_p;break;default:l=Ls}n=l.bind(null,t,n,e),l=void 0,!So||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Ta(e,t,n,r,l){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var o=r.stateNode.containerInfo;if(o===l||o.nodeType===8&&o.parentNode===l)break;if(a===4)for(a=r.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===l||s.nodeType===8&&s.parentNode===l))return;a=a.return}for(;o!==null;){if(a=_n(o),a===null)return;if(s=a.tag,s===5||s===6){r=i=a;continue e}o=o.parentNode}}r=r.return}g1(function(){var c=i,d=As(n),f=[];e:{var m=U1.get(e);if(m!==void 0){var h=Hs,x=e;switch(e){case"keypress":if(si(n)===0)break e;case"keydown":case"keyup":h=Kp;break;case"focusin":x="focus",h=Ca;break;case"focusout":x="blur",h=Ca;break;case"beforeblur":case"afterblur":h=Ca;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Bu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=zp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=eh;break;case D1:case O1:case $1:h=Op;break;case B1:h=nh;break;case"scroll":h=Rp;break;case"wheel":h=lh;break;case"copy":case"cut":case"paste":h=Bp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Wu}var w=(t&4)!==0,H=!w&&e==="scroll",g=w?m!==null?m+"Capture":null:m;w=[];for(var y=c,v;y!==null;){v=y;var L=v.stateNode;if(v.tag===5&&L!==null&&(v=L,g!==null&&(L=ul(y,g),L!=null&&w.push(gl(y,L,v)))),H)break;y=y.return}0<w.length&&(m=new h(m,x,null,n,d),f.push({event:m,listeners:w}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",m&&n!==wo&&(x=n.relatedTarget||n.fromElement)&&(_n(x)||x[en]))break e;if((h||m)&&(m=d.window===d?d:(m=d.ownerDocument)?m.defaultView||m.parentWindow:window,h?(x=n.relatedTarget||n.toElement,h=c,x=x?_n(x):null,x!==null&&(H=Qn(x),x!==H||x.tag!==5&&x.tag!==6)&&(x=null)):(h=null,x=c),h!==x)){if(w=Bu,L="onMouseLeave",g="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(w=Wu,L="onPointerLeave",g="onPointerEnter",y="pointer"),H=h==null?m:or(h),v=x==null?m:or(x),m=new w(L,y+"leave",h,n,d),m.target=H,m.relatedTarget=v,L=null,_n(d)===c&&(w=new w(g,y+"enter",x,n,d),w.target=v,w.relatedTarget=H,L=w),H=L,h&&x)t:{for(w=h,g=x,y=0,v=w;v;v=Kn(v))y++;for(v=0,L=g;L;L=Kn(L))v++;for(;0<y-v;)w=Kn(w),y--;for(;0<v-y;)g=Kn(g),v--;for(;y--;){if(w===g||g!==null&&w===g.alternate)break t;w=Kn(w),g=Kn(g)}w=null}else w=null;h!==null&&r0(f,m,h,w,!1),x!==null&&H!==null&&r0(f,H,x,w,!0)}}e:{if(m=c?or(c):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var P=fh;else if(Xu(m))if(_1)P=mh;else{P=ph;var E=dh}else(h=m.nodeName)&&h.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(P=hh);if(P&&(P=P(e,c))){F1(f,P,n,d);break e}E&&E(e,m,c),e==="focusout"&&(E=m._wrapperState)&&E.controlled&&m.type==="number"&&go(m,"number",m.value)}switch(E=c?or(c):window,e){case"focusin":(Xu(E)||E.contentEditable==="true")&&(ir=E,Lo=c,Jr=null);break;case"focusout":Jr=Lo=ir=null;break;case"mousedown":No=!0;break;case"contextmenu":case"mouseup":case"dragend":No=!1,e0(f,n,d);break;case"selectionchange":if(xh)break;case"keydown":case"keyup":e0(f,n,d)}var F;if(Ts)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else lr?I1(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(T1&&n.locale!=="ko"&&(lr||_!=="onCompositionStart"?_==="onCompositionEnd"&&lr&&(F=j1()):(gn=d,Ns="value"in gn?gn.value:gn.textContent,lr=!0)),E=bi(c,_),0<E.length&&(_=new Uu(_,e,null,n,d),f.push({event:_,listeners:E}),F?_.data=F:(F=P1(n),F!==null&&(_.data=F)))),(F=ah?oh(e,n):sh(e,n))&&(c=bi(c,"onBeforeInput"),0<c.length&&(d=new Uu("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:c}),d.data=F))}W1(f,t)})}function gl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function bi(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=ul(e,n),i!=null&&r.unshift(gl(e,i,l)),i=ul(e,t),i!=null&&r.push(gl(e,i,l))),e=e.return}return r}function Kn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function r0(e,t,n,r,l){for(var i=t._reactName,a=[];n!==null&&n!==r;){var o=n,s=o.alternate,c=o.stateNode;if(s!==null&&s===r)break;o.tag===5&&c!==null&&(o=c,l?(s=ul(n,i),s!=null&&a.unshift(gl(n,s,o))):l||(s=ul(n,i),s!=null&&a.push(gl(n,s,o)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var Eh=/\r\n?/g,Sh=/\u0000|\uFFFD/g;function l0(e){return(typeof e=="string"?e:""+e).replace(Eh,`
38
+ `).replace(Sh,"")}function Ul(e,t,n){if(t=l0(t),l0(e)!==t&&n)throw Error(Z(425))}function Li(){}var Ho=null,jo=null;function To(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Io=typeof setTimeout=="function"?setTimeout:void 0,Ah=typeof clearTimeout=="function"?clearTimeout:void 0,i0=typeof Promise=="function"?Promise:void 0,Ch=typeof queueMicrotask=="function"?queueMicrotask:typeof i0<"u"?function(e){return i0.resolve(null).then(e).catch(Mh)}:Io;function Mh(e){setTimeout(function(){throw e})}function Ia(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),dl(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);dl(t)}function wn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function a0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var jr=Math.random().toString(36).slice(2),Bt="__reactFiber$"+jr,yl="__reactProps$"+jr,en="__reactContainer$"+jr,Po="__reactEvents$"+jr,bh="__reactListeners$"+jr,Lh="__reactHandles$"+jr;function _n(e){var t=e[Bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[en]||n[Bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=a0(e);e!==null;){if(n=e[Bt])return n;e=a0(e)}return t}e=n,n=e.parentNode}return null}function Hl(e){return e=e[Bt]||e[en],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function or(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Z(33))}function ea(e){return e[yl]||null}var Fo=[],sr=-1;function Nn(e){return{current:e}}function Me(e){0>sr||(e.current=Fo[sr],Fo[sr]=null,sr--)}function Ee(e,t){sr++,Fo[sr]=e.current,e.current=t}var bn={},et=Nn(bn),ft=Nn(!1),Dn=bn;function Er(e,t){var n=e.type.contextTypes;if(!n)return bn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function dt(e){return e=e.childContextTypes,e!=null}function Ni(){Me(ft),Me(et)}function o0(e,t,n){if(et.current!==bn)throw Error(Z(168));Ee(et,t),Ee(ft,n)}function Q1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(Z(108,dp(e)||"Unknown",l));return Te({},n,r)}function Hi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bn,Dn=et.current,Ee(et,e),Ee(ft,ft.current),!0}function s0(e,t,n){var r=e.stateNode;if(!r)throw Error(Z(169));n?(e=Q1(e,t,Dn),r.__reactInternalMemoizedMergedChildContext=e,Me(ft),Me(et),Ee(et,e)):Me(ft),Ee(ft,n)}var Xt=null,ta=!1,Pa=!1;function X1(e){Xt===null?Xt=[e]:Xt.push(e)}function Nh(e){ta=!0,X1(e)}function Hn(){if(!Pa&&Xt!==null){Pa=!0;var e=0,t=xe;try{var n=Xt;for(xe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Xt=null,ta=!1}catch(l){throw Xt!==null&&(Xt=Xt.slice(e+1)),k1(Cs,Hn),l}finally{xe=t,Pa=!1}}return null}var ur=[],cr=0,ji=null,Ti=0,Ct=[],Mt=0,On=null,Yt=1,Kt="";function In(e,t){ur[cr++]=Ti,ur[cr++]=ji,ji=e,Ti=t}function Y1(e,t,n){Ct[Mt++]=Yt,Ct[Mt++]=Kt,Ct[Mt++]=On,On=e;var r=Yt;e=Kt;var l=32-_t(r)-1;r&=~(1<<l),n+=1;var i=32-_t(t)+l;if(30<i){var a=l-l%5;i=(r&(1<<a)-1).toString(32),r>>=a,l-=a,Yt=1<<32-_t(t)+l|n<<l|r,Kt=i+e}else Yt=1<<i|n<<l|r,Kt=e}function Ps(e){e.return!==null&&(In(e,1),Y1(e,1,0))}function Fs(e){for(;e===ji;)ji=ur[--cr],ur[cr]=null,Ti=ur[--cr],ur[cr]=null;for(;e===On;)On=Ct[--Mt],Ct[Mt]=null,Kt=Ct[--Mt],Ct[Mt]=null,Yt=Ct[--Mt],Ct[Mt]=null}var kt=null,vt=null,Le=!1,Ft=null;function K1(e,t){var n=Lt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function u0(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,kt=e,vt=wn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,kt=e,vt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=On!==null?{id:Yt,overflow:Kt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Lt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,kt=e,vt=null,!0):!1;default:return!1}}function _o(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ro(e){if(Le){var t=vt;if(t){var n=t;if(!u0(e,t)){if(_o(e))throw Error(Z(418));t=wn(n.nextSibling);var r=kt;t&&u0(e,t)?K1(r,n):(e.flags=e.flags&-4097|2,Le=!1,kt=e)}}else{if(_o(e))throw Error(Z(418));e.flags=e.flags&-4097|2,Le=!1,kt=e}}}function c0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;kt=e}function Wl(e){if(e!==kt)return!1;if(!Le)return c0(e),Le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!To(e.type,e.memoizedProps)),t&&(t=vt)){if(_o(e))throw G1(),Error(Z(418));for(;t;)K1(e,t),t=wn(t.nextSibling)}if(c0(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Z(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){vt=wn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}vt=null}}else vt=kt?wn(e.stateNode.nextSibling):null;return!0}function G1(){for(var e=vt;e;)e=wn(e.nextSibling)}function Sr(){vt=kt=null,Le=!1}function _s(e){Ft===null?Ft=[e]:Ft.push(e)}var Hh=rn.ReactCurrentBatchConfig;function zr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(Z(309));var r=n.stateNode}if(!r)throw Error(Z(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var o=l.refs;a===null?delete o[i]:o[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(Z(284));if(!n._owner)throw Error(Z(290,e))}return e}function ql(e,t){throw e=Object.prototype.toString.call(t),Error(Z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function f0(e){var t=e._init;return t(e._payload)}function J1(e){function t(g,y){if(e){var v=g.deletions;v===null?(g.deletions=[y],g.flags|=16):v.push(y)}}function n(g,y){if(!e)return null;for(;y!==null;)t(g,y),y=y.sibling;return null}function r(g,y){for(g=new Map;y!==null;)y.key!==null?g.set(y.key,y):g.set(y.index,y),y=y.sibling;return g}function l(g,y){return g=Cn(g,y),g.index=0,g.sibling=null,g}function i(g,y,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<y?(g.flags|=2,y):v):(g.flags|=2,y)):(g.flags|=1048576,y)}function a(g){return e&&g.alternate===null&&(g.flags|=2),g}function o(g,y,v,L){return y===null||y.tag!==6?(y=Da(v,g.mode,L),y.return=g,y):(y=l(y,v),y.return=g,y)}function s(g,y,v,L){var P=v.type;return P===rr?d(g,y,v.props.children,L,v.key):y!==null&&(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===dn&&f0(P)===y.type)?(L=l(y,v.props),L.ref=zr(g,y,v),L.return=g,L):(L=mi(v.type,v.key,v.props,null,g.mode,L),L.ref=zr(g,y,v),L.return=g,L)}function c(g,y,v,L){return y===null||y.tag!==4||y.stateNode.containerInfo!==v.containerInfo||y.stateNode.implementation!==v.implementation?(y=Oa(v,g.mode,L),y.return=g,y):(y=l(y,v.children||[]),y.return=g,y)}function d(g,y,v,L,P){return y===null||y.tag!==7?(y=Vn(v,g.mode,L,P),y.return=g,y):(y=l(y,v),y.return=g,y)}function f(g,y,v){if(typeof y=="string"&&y!==""||typeof y=="number")return y=Da(""+y,g.mode,v),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case _l:return v=mi(y.type,y.key,y.props,null,g.mode,v),v.ref=zr(g,null,y),v.return=g,v;case nr:return y=Oa(y,g.mode,v),y.return=g,y;case dn:var L=y._init;return f(g,L(y._payload),v)}if(Wr(y)||Pr(y))return y=Vn(y,g.mode,v,null),y.return=g,y;ql(g,y)}return null}function m(g,y,v,L){var P=y!==null?y.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return P!==null?null:o(g,y,""+v,L);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case _l:return v.key===P?s(g,y,v,L):null;case nr:return v.key===P?c(g,y,v,L):null;case dn:return P=v._init,m(g,y,P(v._payload),L)}if(Wr(v)||Pr(v))return P!==null?null:d(g,y,v,L,null);ql(g,v)}return null}function h(g,y,v,L,P){if(typeof L=="string"&&L!==""||typeof L=="number")return g=g.get(v)||null,o(y,g,""+L,P);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case _l:return g=g.get(L.key===null?v:L.key)||null,s(y,g,L,P);case nr:return g=g.get(L.key===null?v:L.key)||null,c(y,g,L,P);case dn:var E=L._init;return h(g,y,v,E(L._payload),P)}if(Wr(L)||Pr(L))return g=g.get(v)||null,d(y,g,L,P,null);ql(y,L)}return null}function x(g,y,v,L){for(var P=null,E=null,F=y,_=y=0,Q=null;F!==null&&_<v.length;_++){F.index>_?(Q=F,F=null):Q=F.sibling;var M=m(g,F,v[_],L);if(M===null){F===null&&(F=Q);break}e&&F&&M.alternate===null&&t(g,F),y=i(M,y,_),E===null?P=M:E.sibling=M,E=M,F=Q}if(_===v.length)return n(g,F),Le&&In(g,_),P;if(F===null){for(;_<v.length;_++)F=f(g,v[_],L),F!==null&&(y=i(F,y,_),E===null?P=F:E.sibling=F,E=F);return Le&&In(g,_),P}for(F=r(g,F);_<v.length;_++)Q=h(F,g,_,v[_],L),Q!==null&&(e&&Q.alternate!==null&&F.delete(Q.key===null?_:Q.key),y=i(Q,y,_),E===null?P=Q:E.sibling=Q,E=Q);return e&&F.forEach(function(O){return t(g,O)}),Le&&In(g,_),P}function w(g,y,v,L){var P=Pr(v);if(typeof P!="function")throw Error(Z(150));if(v=P.call(v),v==null)throw Error(Z(151));for(var E=P=null,F=y,_=y=0,Q=null,M=v.next();F!==null&&!M.done;_++,M=v.next()){F.index>_?(Q=F,F=null):Q=F.sibling;var O=m(g,F,M.value,L);if(O===null){F===null&&(F=Q);break}e&&F&&O.alternate===null&&t(g,F),y=i(O,y,_),E===null?P=O:E.sibling=O,E=O,F=Q}if(M.done)return n(g,F),Le&&In(g,_),P;if(F===null){for(;!M.done;_++,M=v.next())M=f(g,M.value,L),M!==null&&(y=i(M,y,_),E===null?P=M:E.sibling=M,E=M);return Le&&In(g,_),P}for(F=r(g,F);!M.done;_++,M=v.next())M=h(F,g,_,M.value,L),M!==null&&(e&&M.alternate!==null&&F.delete(M.key===null?_:M.key),y=i(M,y,_),E===null?P=M:E.sibling=M,E=M);return e&&F.forEach(function(U){return t(g,U)}),Le&&In(g,_),P}function H(g,y,v,L){if(typeof v=="object"&&v!==null&&v.type===rr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case _l:e:{for(var P=v.key,E=y;E!==null;){if(E.key===P){if(P=v.type,P===rr){if(E.tag===7){n(g,E.sibling),y=l(E,v.props.children),y.return=g,g=y;break e}}else if(E.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===dn&&f0(P)===E.type){n(g,E.sibling),y=l(E,v.props),y.ref=zr(g,E,v),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===rr?(y=Vn(v.props.children,g.mode,L,v.key),y.return=g,g=y):(L=mi(v.type,v.key,v.props,null,g.mode,L),L.ref=zr(g,y,v),L.return=g,g=L)}return a(g);case nr:e:{for(E=v.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(g,y.sibling),y=l(y,v.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=Oa(v,g.mode,L),y.return=g,g=y}return a(g);case dn:return E=v._init,H(g,y,E(v._payload),L)}if(Wr(v))return x(g,y,v,L);if(Pr(v))return w(g,y,v,L);ql(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(g,y.sibling),y=l(y,v),y.return=g,g=y):(n(g,y),y=Da(v,g.mode,L),y.return=g,g=y),a(g)):n(g,y)}return H}var Ar=J1(!0),ef=J1(!1),Ii=Nn(null),Pi=null,fr=null,Rs=null;function Zs(){Rs=fr=Pi=null}function zs(e){var t=Ii.current;Me(Ii),e._currentValue=t}function Zo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function xr(e,t){Pi=e,Rs=fr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ct=!0),e.firstContext=null)}function Ht(e){var t=e._currentValue;if(Rs!==e)if(e={context:e,memoizedValue:t,next:null},fr===null){if(Pi===null)throw Error(Z(308));fr=e,Pi.dependencies={lanes:0,firstContext:e}}else fr=fr.next=e;return t}var Rn=null;function Vs(e){Rn===null?Rn=[e]:Rn.push(e)}function tf(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Vs(t)):(n.next=l.next,l.next=n),t.interleaved=n,tn(e,r)}function tn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var pn=!1;function Ds(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function nf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Gt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function En(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,he&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,tn(e,n)}return l=r.interleaved,l===null?(t.next=t,Vs(r)):(t.next=l.next,l.next=t),r.interleaved=t,tn(e,n)}function ui(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ms(e,n)}}function d0(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fi(e,t,n,r){var l=e.updateQueue;pn=!1;var i=l.firstBaseUpdate,a=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,c=s.next;s.next=null,a===null?i=c:a.next=c,a=s;var d=e.alternate;d!==null&&(d=d.updateQueue,o=d.lastBaseUpdate,o!==a&&(o===null?d.firstBaseUpdate=c:o.next=c,d.lastBaseUpdate=s))}if(i!==null){var f=l.baseState;a=0,d=c=s=null,o=i;do{var m=o.lane,h=o.eventTime;if((r&m)===m){d!==null&&(d=d.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var x=e,w=o;switch(m=t,h=n,w.tag){case 1:if(x=w.payload,typeof x=="function"){f=x.call(h,f,m);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=w.payload,m=typeof x=="function"?x.call(h,f,m):x,m==null)break e;f=Te({},f,m);break e;case 2:pn=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[o]:m.push(o))}else h={eventTime:h,lane:m,tag:o.tag,payload:o.payload,callback:o.callback,next:null},d===null?(c=d=h,s=f):d=d.next=h,a|=m;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;m=o,o=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(d===null&&(s=f),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=d,t=l.shared.interleaved,t!==null){l=t;do a|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Bn|=a,e.lanes=a,e.memoizedState=f}}function p0(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(Z(191,l));l.call(r)}}}var jl={},Wt=Nn(jl),xl=Nn(jl),vl=Nn(jl);function Zn(e){if(e===jl)throw Error(Z(174));return e}function Os(e,t){switch(Ee(vl,t),Ee(xl,e),Ee(Wt,jl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xo(t,e)}Me(Wt),Ee(Wt,t)}function Cr(){Me(Wt),Me(xl),Me(vl)}function rf(e){Zn(vl.current);var t=Zn(Wt.current),n=xo(t,e.type);t!==n&&(Ee(xl,e),Ee(Wt,n))}function $s(e){xl.current===e&&(Me(Wt),Me(xl))}var He=Nn(0);function _i(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fa=[];function Bs(){for(var e=0;e<Fa.length;e++)Fa[e]._workInProgressVersionPrimary=null;Fa.length=0}var ci=rn.ReactCurrentDispatcher,_a=rn.ReactCurrentBatchConfig,$n=0,je=null,Ve=null,Oe=null,Ri=!1,el=!1,kl=0,jh=0;function Ye(){throw Error(Z(321))}function Us(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!zt(e[n],t[n]))return!1;return!0}function Ws(e,t,n,r,l,i){if($n=i,je=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ci.current=e===null||e.memoizedState===null?Fh:_h,e=n(r,l),el){i=0;do{if(el=!1,kl=0,25<=i)throw Error(Z(301));i+=1,Oe=Ve=null,t.updateQueue=null,ci.current=Rh,e=n(r,l)}while(el)}if(ci.current=Zi,t=Ve!==null&&Ve.next!==null,$n=0,Oe=Ve=je=null,Ri=!1,t)throw Error(Z(300));return e}function qs(){var e=kl!==0;return kl=0,e}function Ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Oe===null?je.memoizedState=Oe=e:Oe=Oe.next=e,Oe}function jt(){if(Ve===null){var e=je.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=Oe===null?je.memoizedState:Oe.next;if(t!==null)Oe=t,Ve=e;else{if(e===null)throw Error(Z(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},Oe===null?je.memoizedState=Oe=e:Oe=Oe.next=e}return Oe}function wl(e,t){return typeof t=="function"?t(e):t}function Ra(e){var t=jt(),n=t.queue;if(n===null)throw Error(Z(311));n.lastRenderedReducer=e;var r=Ve,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var a=l.next;l.next=i.next,i.next=a}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var o=a=null,s=null,c=i;do{var d=c.lane;if(($n&d)===d)s!==null&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};s===null?(o=s=f,a=r):s=s.next=f,je.lanes|=d,Bn|=d}c=c.next}while(c!==null&&c!==i);s===null?a=r:s.next=o,zt(r,t.memoizedState)||(ct=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,je.lanes|=i,Bn|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Za(e){var t=jt(),n=t.queue;if(n===null)throw Error(Z(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var a=l=l.next;do i=e(i,a.action),a=a.next;while(a!==l);zt(i,t.memoizedState)||(ct=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function lf(){}function af(e,t){var n=je,r=jt(),l=t(),i=!zt(r.memoizedState,l);if(i&&(r.memoizedState=l,ct=!0),r=r.queue,Qs(uf.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Oe!==null&&Oe.memoizedState.tag&1){if(n.flags|=2048,El(9,sf.bind(null,n,r,l,t),void 0,null),$e===null)throw Error(Z(349));$n&30||of(n,t,l)}return l}function of(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=je.updateQueue,t===null?(t={lastEffect:null,stores:null},je.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function sf(e,t,n,r){t.value=n,t.getSnapshot=r,cf(t)&&ff(e)}function uf(e,t,n){return n(function(){cf(t)&&ff(e)})}function cf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!zt(e,n)}catch{return!0}}function ff(e){var t=tn(e,1);t!==null&&Rt(t,e,1,-1)}function h0(e){var t=Ot();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:e},t.queue=e,e=e.dispatch=Ph.bind(null,je,e),[t.memoizedState,e]}function El(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=je.updateQueue,t===null?(t={lastEffect:null,stores:null},je.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function df(){return jt().memoizedState}function fi(e,t,n,r){var l=Ot();je.flags|=e,l.memoizedState=El(1|t,n,void 0,r===void 0?null:r)}function na(e,t,n,r){var l=jt();r=r===void 0?null:r;var i=void 0;if(Ve!==null){var a=Ve.memoizedState;if(i=a.destroy,r!==null&&Us(r,a.deps)){l.memoizedState=El(t,n,i,r);return}}je.flags|=e,l.memoizedState=El(1|t,n,i,r)}function m0(e,t){return fi(8390656,8,e,t)}function Qs(e,t){return na(2048,8,e,t)}function pf(e,t){return na(4,2,e,t)}function hf(e,t){return na(4,4,e,t)}function mf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function gf(e,t,n){return n=n!=null?n.concat([e]):null,na(4,4,mf.bind(null,t,e),n)}function Xs(){}function yf(e,t){var n=jt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Us(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function xf(e,t){var n=jt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Us(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function vf(e,t,n){return $n&21?(zt(n,t)||(n=S1(),je.lanes|=n,Bn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ct=!0),e.memoizedState=n)}function Th(e,t){var n=xe;xe=n!==0&&4>n?n:4,e(!0);var r=_a.transition;_a.transition={};try{e(!1),t()}finally{xe=n,_a.transition=r}}function kf(){return jt().memoizedState}function Ih(e,t,n){var r=An(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},wf(e))Ef(t,n);else if(n=tf(e,t,n,r),n!==null){var l=lt();Rt(n,e,r,l),Sf(n,t,r)}}function Ph(e,t,n){var r=An(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wf(e))Ef(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,o=i(a,n);if(l.hasEagerState=!0,l.eagerState=o,zt(o,a)){var s=t.interleaved;s===null?(l.next=l,Vs(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=tf(e,t,l,r),n!==null&&(l=lt(),Rt(n,e,r,l),Sf(n,t,r))}}function wf(e){var t=e.alternate;return e===je||t!==null&&t===je}function Ef(e,t){el=Ri=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Sf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ms(e,n)}}var Zi={readContext:Ht,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useInsertionEffect:Ye,useLayoutEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useMutableSource:Ye,useSyncExternalStore:Ye,useId:Ye,unstable_isNewReconciler:!1},Fh={readContext:Ht,useCallback:function(e,t){return Ot().memoizedState=[e,t===void 0?null:t],e},useContext:Ht,useEffect:m0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,fi(4194308,4,mf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return fi(4194308,4,e,t)},useInsertionEffect:function(e,t){return fi(4,2,e,t)},useMemo:function(e,t){var n=Ot();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ot();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ih.bind(null,je,e),[r.memoizedState,e]},useRef:function(e){var t=Ot();return e={current:e},t.memoizedState=e},useState:h0,useDebugValue:Xs,useDeferredValue:function(e){return Ot().memoizedState=e},useTransition:function(){var e=h0(!1),t=e[0];return e=Th.bind(null,e[1]),Ot().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=je,l=Ot();if(Le){if(n===void 0)throw Error(Z(407));n=n()}else{if(n=t(),$e===null)throw Error(Z(349));$n&30||of(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,m0(uf.bind(null,r,i,e),[e]),r.flags|=2048,El(9,sf.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ot(),t=$e.identifierPrefix;if(Le){var n=Kt,r=Yt;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=kl++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=jh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_h={readContext:Ht,useCallback:yf,useContext:Ht,useEffect:Qs,useImperativeHandle:gf,useInsertionEffect:pf,useLayoutEffect:hf,useMemo:xf,useReducer:Ra,useRef:df,useState:function(){return Ra(wl)},useDebugValue:Xs,useDeferredValue:function(e){var t=jt();return vf(t,Ve.memoizedState,e)},useTransition:function(){var e=Ra(wl)[0],t=jt().memoizedState;return[e,t]},useMutableSource:lf,useSyncExternalStore:af,useId:kf,unstable_isNewReconciler:!1},Rh={readContext:Ht,useCallback:yf,useContext:Ht,useEffect:Qs,useImperativeHandle:gf,useInsertionEffect:pf,useLayoutEffect:hf,useMemo:xf,useReducer:Za,useRef:df,useState:function(){return Za(wl)},useDebugValue:Xs,useDeferredValue:function(e){var t=jt();return Ve===null?t.memoizedState=e:vf(t,Ve.memoizedState,e)},useTransition:function(){var e=Za(wl)[0],t=jt().memoizedState;return[e,t]},useMutableSource:lf,useSyncExternalStore:af,useId:kf,unstable_isNewReconciler:!1};function It(e,t){if(e&&e.defaultProps){t=Te({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function zo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Te({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ra={isMounted:function(e){return(e=e._reactInternals)?Qn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=lt(),l=An(e),i=Gt(r,l);i.payload=t,n!=null&&(i.callback=n),t=En(e,i,l),t!==null&&(Rt(t,e,l,r),ui(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=lt(),l=An(e),i=Gt(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=En(e,i,l),t!==null&&(Rt(t,e,l,r),ui(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=lt(),r=An(e),l=Gt(n,r);l.tag=2,t!=null&&(l.callback=t),t=En(e,l,r),t!==null&&(Rt(t,e,r,n),ui(t,e,r))}};function g0(e,t,n,r,l,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!hl(n,r)||!hl(l,i):!0}function Af(e,t,n){var r=!1,l=bn,i=t.contextType;return typeof i=="object"&&i!==null?i=Ht(i):(l=dt(t)?Dn:et.current,r=t.contextTypes,i=(r=r!=null)?Er(e,l):bn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ra,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function y0(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ra.enqueueReplaceState(t,t.state,null)}function Vo(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Ds(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=Ht(i):(i=dt(t)?Dn:et.current,l.context=Er(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(zo(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&ra.enqueueReplaceState(l,l.state,null),Fi(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Mr(e,t){try{var n="",r=t;do n+=fp(r),r=r.return;while(r);var l=n}catch(i){l=`
39
+ Error generating stack: `+i.message+`
40
+ `+i.stack}return{value:e,source:t,stack:l,digest:null}}function za(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Do(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Zh=typeof WeakMap=="function"?WeakMap:Map;function Cf(e,t,n){n=Gt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vi||(Vi=!0,Ko=r),Do(e,t)},n}function Mf(e,t,n){n=Gt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Do(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Do(e,t),typeof r!="function"&&(Sn===null?Sn=new Set([this]):Sn.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function x0(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Zh;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Gh.bind(null,e,t,n),t.then(e,e))}function v0(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function k0(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Gt(-1,1),t.tag=2,En(n,t,1))),n.lanes|=1),e)}var zh=rn.ReactCurrentOwner,ct=!1;function nt(e,t,n,r){t.child=e===null?ef(t,null,n,r):Ar(t,e.child,n,r)}function w0(e,t,n,r,l){n=n.render;var i=t.ref;return xr(t,l),r=Ws(e,t,n,r,i,l),n=qs(),e!==null&&!ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nn(e,t,l)):(Le&&n&&Ps(t),t.flags|=1,nt(e,t,r,l),t.child)}function E0(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!ru(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,bf(e,t,i,r,l)):(e=mi(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:hl,n(a,r)&&e.ref===t.ref)return nn(e,t,l)}return t.flags|=1,e=Cn(i,r),e.ref=t.ref,e.return=t,t.child=e}function bf(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(hl(i,r)&&e.ref===t.ref)if(ct=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(ct=!0);else return t.lanes=e.lanes,nn(e,t,l)}return Oo(e,t,n,r,l)}function Lf(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ee(pr,xt),xt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ee(pr,xt),xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ee(pr,xt),xt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ee(pr,xt),xt|=r;return nt(e,t,l,n),t.child}function Nf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Oo(e,t,n,r,l){var i=dt(n)?Dn:et.current;return i=Er(t,i),xr(t,l),n=Ws(e,t,n,r,i,l),r=qs(),e!==null&&!ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nn(e,t,l)):(Le&&r&&Ps(t),t.flags|=1,nt(e,t,n,l),t.child)}function S0(e,t,n,r,l){if(dt(n)){var i=!0;Hi(t)}else i=!1;if(xr(t,l),t.stateNode===null)di(e,t),Af(t,n,r),Vo(t,n,r,l),r=!0;else if(e===null){var a=t.stateNode,o=t.memoizedProps;a.props=o;var s=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ht(c):(c=dt(n)?Dn:et.current,c=Er(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(o!==r||s!==c)&&y0(t,a,r,c),pn=!1;var m=t.memoizedState;a.state=m,Fi(t,r,a,l),s=t.memoizedState,o!==r||m!==s||ft.current||pn?(typeof d=="function"&&(zo(t,n,d,r),s=t.memoizedState),(o=pn||g0(t,n,o,r,m,s,c))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=o):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,nf(e,t),o=t.memoizedProps,c=t.type===t.elementType?o:It(t.type,o),a.props=c,f=t.pendingProps,m=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=Ht(s):(s=dt(n)?Dn:et.current,s=Er(t,s));var h=n.getDerivedStateFromProps;(d=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(o!==f||m!==s)&&y0(t,a,r,s),pn=!1,m=t.memoizedState,a.state=m,Fi(t,r,a,l);var x=t.memoizedState;o!==f||m!==x||ft.current||pn?(typeof h=="function"&&(zo(t,n,h,r),x=t.memoizedState),(c=pn||g0(t,n,c,r,m,x,s)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,x,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,x,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),a.props=r,a.state=x,a.context=s,r=c):(typeof a.componentDidUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return $o(e,t,n,r,i,l)}function $o(e,t,n,r,l,i){Nf(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return l&&s0(t,n,!1),nn(e,t,i);r=t.stateNode,zh.current=t;var o=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Ar(t,e.child,null,i),t.child=Ar(t,null,o,i)):nt(e,t,o,i),t.memoizedState=r.state,l&&s0(t,n,!0),t.child}function Hf(e){var t=e.stateNode;t.pendingContext?o0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&o0(e,t.context,!1),Os(e,t.containerInfo)}function A0(e,t,n,r,l){return Sr(),_s(l),t.flags|=256,nt(e,t,n,r),t.child}var Bo={dehydrated:null,treeContext:null,retryLane:0};function Uo(e){return{baseLanes:e,cachePool:null,transitions:null}}function jf(e,t,n){var r=t.pendingProps,l=He.current,i=!1,a=(t.flags&128)!==0,o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:(l&2)!==0),o?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Ee(He,l&1),e===null)return Ro(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=aa(a,r,0,null),e=Vn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Uo(n),t.memoizedState=Bo,e):Ys(t,a));if(l=e.memoizedState,l!==null&&(o=l.dehydrated,o!==null))return Vh(e,t,a,r,o,l,n);if(i){i=r.fallback,a=t.mode,l=e.child,o=l.sibling;var s={mode:"hidden",children:r.children};return!(a&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=Cn(l,s),r.subtreeFlags=l.subtreeFlags&14680064),o!==null?i=Cn(o,i):(i=Vn(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?Uo(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=Bo,r}return i=e.child,e=i.sibling,r=Cn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ys(e,t){return t=aa({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ql(e,t,n,r){return r!==null&&_s(r),Ar(t,e.child,null,n),e=Ys(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Vh(e,t,n,r,l,i,a){if(n)return t.flags&256?(t.flags&=-257,r=za(Error(Z(422))),Ql(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=aa({mode:"visible",children:r.children},l,0,null),i=Vn(i,l,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Ar(t,e.child,null,a),t.child.memoizedState=Uo(a),t.memoizedState=Bo,i);if(!(t.mode&1))return Ql(e,t,a,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var o=r.dgst;return r=o,i=Error(Z(419)),r=za(i,r,void 0),Ql(e,t,a,r)}if(o=(a&e.childLanes)!==0,ct||o){if(r=$e,r!==null){switch(a&-a){case 4:l=2;break;case 16:l=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|a)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,tn(e,l),Rt(r,e,l,-1))}return nu(),r=za(Error(Z(421))),Ql(e,t,a,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Jh.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,vt=wn(l.nextSibling),kt=t,Le=!0,Ft=null,e!==null&&(Ct[Mt++]=Yt,Ct[Mt++]=Kt,Ct[Mt++]=On,Yt=e.id,Kt=e.overflow,On=t),t=Ys(t,r.children),t.flags|=4096,t)}function C0(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zo(e.return,t,n)}function Va(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function Tf(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(nt(e,t,r.children,n),r=He.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&C0(e,n,t);else if(e.tag===19)C0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ee(He,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&_i(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Va(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&_i(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Va(t,!0,n,null,i);break;case"together":Va(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function di(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Bn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Z(153));if(t.child!==null){for(e=t.child,n=Cn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Cn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Dh(e,t,n){switch(t.tag){case 3:Hf(t),Sr();break;case 5:rf(t);break;case 1:dt(t.type)&&Hi(t);break;case 4:Os(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;Ee(Ii,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ee(He,He.current&1),t.flags|=128,null):n&t.child.childLanes?jf(e,t,n):(Ee(He,He.current&1),e=nn(e,t,n),e!==null?e.sibling:null);Ee(He,He.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Tf(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Ee(He,He.current),r)break;return null;case 22:case 23:return t.lanes=0,Lf(e,t,n)}return nn(e,t,n)}var If,Wo,Pf,Ff;If=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Wo=function(){};Pf=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Zn(Wt.current);var i=null;switch(n){case"input":l=ho(e,l),r=ho(e,r),i=[];break;case"select":l=Te({},l,{value:void 0}),r=Te({},r,{value:void 0}),i=[];break;case"textarea":l=yo(e,l),r=yo(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Li)}vo(n,r);var a;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var o=l[c];for(a in o)o.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(ol.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(o=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&s!==o&&(s!=null||o!=null))if(c==="style")if(o){for(a in o)!o.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&o[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(c,n)),n=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,o=o?o.__html:void 0,s!=null&&o!==s&&(i=i||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(ol.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&Ce("scroll",e),i||o===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};Ff=function(e,t,n,r){n!==r&&(t.flags|=4)};function Vr(e,t){if(!Le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Oh(e,t,n){var r=t.pendingProps;switch(Fs(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(t),null;case 1:return dt(t.type)&&Ni(),Ke(t),null;case 3:return r=t.stateNode,Cr(),Me(ft),Me(et),Bs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Wl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ft!==null&&(es(Ft),Ft=null))),Wo(e,t),Ke(t),null;case 5:$s(t);var l=Zn(vl.current);if(n=t.type,e!==null&&t.stateNode!=null)Pf(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Z(166));return Ke(t),null}if(e=Zn(Wt.current),Wl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Bt]=t,r[yl]=i,e=(t.mode&1)!==0,n){case"dialog":Ce("cancel",r),Ce("close",r);break;case"iframe":case"object":case"embed":Ce("load",r);break;case"video":case"audio":for(l=0;l<Qr.length;l++)Ce(Qr[l],r);break;case"source":Ce("error",r);break;case"img":case"image":case"link":Ce("error",r),Ce("load",r);break;case"details":Ce("toggle",r);break;case"input":Pu(r,i),Ce("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Ce("invalid",r);break;case"textarea":_u(r,i),Ce("invalid",r)}vo(n,i),l=null;for(var a in i)if(i.hasOwnProperty(a)){var o=i[a];a==="children"?typeof o=="string"?r.textContent!==o&&(i.suppressHydrationWarning!==!0&&Ul(r.textContent,o,e),l=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(i.suppressHydrationWarning!==!0&&Ul(r.textContent,o,e),l=["children",""+o]):ol.hasOwnProperty(a)&&o!=null&&a==="onScroll"&&Ce("scroll",r)}switch(n){case"input":Rl(r),Fu(r,i,!0);break;case"textarea":Rl(r),Ru(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Li)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=s1(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Bt]=t,e[yl]=r,If(e,t,!1,!1),t.stateNode=e;e:{switch(a=ko(n,r),n){case"dialog":Ce("cancel",e),Ce("close",e),l=r;break;case"iframe":case"object":case"embed":Ce("load",e),l=r;break;case"video":case"audio":for(l=0;l<Qr.length;l++)Ce(Qr[l],e);l=r;break;case"source":Ce("error",e),l=r;break;case"img":case"image":case"link":Ce("error",e),Ce("load",e),l=r;break;case"details":Ce("toggle",e),l=r;break;case"input":Pu(e,r),l=ho(e,r),Ce("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=Te({},r,{value:void 0}),Ce("invalid",e);break;case"textarea":_u(e,r),l=yo(e,r),Ce("invalid",e);break;default:l=r}vo(n,l),o=l;for(i in o)if(o.hasOwnProperty(i)){var s=o[i];i==="style"?f1(e,s):i==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&u1(e,s)):i==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&sl(e,s):typeof s=="number"&&sl(e,""+s):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ol.hasOwnProperty(i)?s!=null&&i==="onScroll"&&Ce("scroll",e):s!=null&&ks(e,i,s,a))}switch(n){case"input":Rl(e),Fu(e,r,!1);break;case"textarea":Rl(e),Ru(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Mn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?hr(e,!!r.multiple,i,!1):r.defaultValue!=null&&hr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Li)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ke(t),null;case 6:if(e&&t.stateNode!=null)Ff(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(Z(166));if(n=Zn(vl.current),Zn(Wt.current),Wl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Bt]=t,(i=r.nodeValue!==n)&&(e=kt,e!==null))switch(e.tag){case 3:Ul(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ul(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Bt]=t,t.stateNode=r}return Ke(t),null;case 13:if(Me(He),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Le&&vt!==null&&t.mode&1&&!(t.flags&128))G1(),Sr(),t.flags|=98560,i=!1;else if(i=Wl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(Z(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(Z(317));i[Bt]=t}else Sr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ke(t),i=!1}else Ft!==null&&(es(Ft),Ft=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||He.current&1?De===0&&(De=3):nu())),t.updateQueue!==null&&(t.flags|=4),Ke(t),null);case 4:return Cr(),Wo(e,t),e===null&&ml(t.stateNode.containerInfo),Ke(t),null;case 10:return zs(t.type._context),Ke(t),null;case 17:return dt(t.type)&&Ni(),Ke(t),null;case 19:if(Me(He),i=t.memoizedState,i===null)return Ke(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)Vr(i,!1);else{if(De!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=_i(e),a!==null){for(t.flags|=128,Vr(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ee(He,He.current&1|2),t.child}e=e.sibling}i.tail!==null&&_e()>br&&(t.flags|=128,r=!0,Vr(i,!1),t.lanes=4194304)}else{if(!r)if(e=_i(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Vr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Le)return Ke(t),null}else 2*_e()-i.renderingStartTime>br&&n!==1073741824&&(t.flags|=128,r=!0,Vr(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=_e(),t.sibling=null,n=He.current,Ee(He,r?n&1|2:n&1),t):(Ke(t),null);case 22:case 23:return tu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?xt&1073741824&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),null;case 24:return null;case 25:return null}throw Error(Z(156,t.tag))}function $h(e,t){switch(Fs(t),t.tag){case 1:return dt(t.type)&&Ni(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Cr(),Me(ft),Me(et),Bs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $s(t),null;case 13:if(Me(He),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Z(340));Sr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(He),null;case 4:return Cr(),null;case 10:return zs(t.type._context),null;case 22:case 23:return tu(),null;case 24:return null;default:return null}}var Xl=!1,Ge=!1,Bh=typeof WeakSet=="function"?WeakSet:Set,q=null;function dr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Pe(e,t,r)}else n.current=null}function qo(e,t,n){try{n()}catch(r){Pe(e,t,r)}}var M0=!1;function Uh(e,t){if(Ho=Ci,e=z1(),Is(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,o=-1,s=-1,c=0,d=0,f=e,m=null;t:for(;;){for(var h;f!==n||l!==0&&f.nodeType!==3||(o=a+l),f!==i||r!==0&&f.nodeType!==3||(s=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)m=f,f=h;for(;;){if(f===e)break t;if(m===n&&++c===l&&(o=a),m===i&&++d===r&&(s=a),(h=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=h}n=o===-1||s===-1?null:{start:o,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(jo={focusedElem:e,selectionRange:n},Ci=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var w=x.memoizedProps,H=x.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?w:It(t.type,w),H);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Z(163))}}catch(L){Pe(t,t.return,L)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return x=M0,M0=!1,x}function tl(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&qo(t,n,i)}l=l.next}while(l!==r)}}function la(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Qo(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function _f(e){var t=e.alternate;t!==null&&(e.alternate=null,_f(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[yl],delete t[Po],delete t[bh],delete t[Lh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Rf(e){return e.tag===5||e.tag===3||e.tag===4}function b0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.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 Xo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Li));else if(r!==4&&(e=e.child,e!==null))for(Xo(e,t,n),e=e.sibling;e!==null;)Xo(e,t,n),e=e.sibling}function Yo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Yo(e,t,n),e=e.sibling;e!==null;)Yo(e,t,n),e=e.sibling}var We=null,Pt=!1;function un(e,t,n){for(n=n.child;n!==null;)Zf(e,t,n),n=n.sibling}function Zf(e,t,n){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount(Yi,n)}catch{}switch(n.tag){case 5:Ge||dr(n,t);case 6:var r=We,l=Pt;We=null,un(e,t,n),We=r,Pt=l,We!==null&&(Pt?(e=We,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):We.removeChild(n.stateNode));break;case 18:We!==null&&(Pt?(e=We,n=n.stateNode,e.nodeType===8?Ia(e.parentNode,n):e.nodeType===1&&Ia(e,n),dl(e)):Ia(We,n.stateNode));break;case 4:r=We,l=Pt,We=n.stateNode.containerInfo,Pt=!0,un(e,t,n),We=r,Pt=l;break;case 0:case 11:case 14:case 15:if(!Ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&qo(n,t,a),l=l.next}while(l!==r)}un(e,t,n);break;case 1:if(!Ge&&(dr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){Pe(n,t,o)}un(e,t,n);break;case 21:un(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,un(e,t,n),Ge=r):un(e,t,n);break;default:un(e,t,n)}}function L0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Bh),t.forEach(function(r){var l=em.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,a=t,o=a;e:for(;o!==null;){switch(o.tag){case 5:We=o.stateNode,Pt=!1;break e;case 3:We=o.stateNode.containerInfo,Pt=!0;break e;case 4:We=o.stateNode.containerInfo,Pt=!0;break e}o=o.return}if(We===null)throw Error(Z(160));Zf(i,a,l),We=null,Pt=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(c){Pe(l,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)zf(t,e),t=t.sibling}function zf(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Tt(t,e),Dt(e),r&4){try{tl(3,e,e.return),la(3,e)}catch(w){Pe(e,e.return,w)}try{tl(5,e,e.return)}catch(w){Pe(e,e.return,w)}}break;case 1:Tt(t,e),Dt(e),r&512&&n!==null&&dr(n,n.return);break;case 5:if(Tt(t,e),Dt(e),r&512&&n!==null&&dr(n,n.return),e.flags&32){var l=e.stateNode;try{sl(l,"")}catch(w){Pe(e,e.return,w)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,o=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{o==="input"&&i.type==="radio"&&i.name!=null&&a1(l,i),ko(o,a);var c=ko(o,i);for(a=0;a<s.length;a+=2){var d=s[a],f=s[a+1];d==="style"?f1(l,f):d==="dangerouslySetInnerHTML"?u1(l,f):d==="children"?sl(l,f):ks(l,d,f,c)}switch(o){case"input":mo(l,i);break;case"textarea":o1(l,i);break;case"select":var m=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?hr(l,!!i.multiple,h,!1):m!==!!i.multiple&&(i.defaultValue!=null?hr(l,!!i.multiple,i.defaultValue,!0):hr(l,!!i.multiple,i.multiple?[]:"",!1))}l[yl]=i}catch(w){Pe(e,e.return,w)}}break;case 6:if(Tt(t,e),Dt(e),r&4){if(e.stateNode===null)throw Error(Z(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(w){Pe(e,e.return,w)}}break;case 3:if(Tt(t,e),Dt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{dl(t.containerInfo)}catch(w){Pe(e,e.return,w)}break;case 4:Tt(t,e),Dt(e);break;case 13:Tt(t,e),Dt(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(Js=_e())),r&4&&L0(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Ge=(c=Ge)||d,Tt(t,e),Ge=c):Tt(t,e),Dt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(q=e,d=e.child;d!==null;){for(f=q=d;q!==null;){switch(m=q,h=m.child,m.tag){case 0:case 11:case 14:case 15:tl(4,m,m.return);break;case 1:dr(m,m.return);var x=m.stateNode;if(typeof x.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(w){Pe(r,n,w)}}break;case 5:dr(m,m.return);break;case 22:if(m.memoizedState!==null){H0(f);continue}}h!==null?(h.return=m,q=h):H0(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{l=f.stateNode,c?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(o=f.stateNode,s=f.memoizedProps.style,a=s!=null&&s.hasOwnProperty("display")?s.display:null,o.style.display=c1("display",a))}catch(w){Pe(e,e.return,w)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(w){Pe(e,e.return,w)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Tt(t,e),Dt(e),r&4&&L0(e);break;case 21:break;default:Tt(t,e),Dt(e)}}function Dt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Rf(n)){var r=n;break e}n=n.return}throw Error(Z(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(sl(l,""),r.flags&=-33);var i=b0(e);Yo(e,i,l);break;case 3:case 4:var a=r.stateNode.containerInfo,o=b0(e);Xo(e,o,a);break;default:throw Error(Z(161))}}catch(s){Pe(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Wh(e,t,n){q=e,Vf(e)}function Vf(e,t,n){for(var r=(e.mode&1)!==0;q!==null;){var l=q,i=l.child;if(l.tag===22&&r){var a=l.memoizedState!==null||Xl;if(!a){var o=l.alternate,s=o!==null&&o.memoizedState!==null||Ge;o=Xl;var c=Ge;if(Xl=a,(Ge=s)&&!c)for(q=l;q!==null;)a=q,s=a.child,a.tag===22&&a.memoizedState!==null?j0(l):s!==null?(s.return=a,q=s):j0(l);for(;i!==null;)q=i,Vf(i),i=i.sibling;q=l,Xl=o,Ge=c}N0(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,q=i):N0(e)}}function N0(e){for(;q!==null;){var t=q;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ge||la(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ge)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:It(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&p0(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}p0(t,a,n)}break;case 5:var o=t.stateNode;if(n===null&&t.flags&4){n=o;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&dl(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Z(163))}Ge||t.flags&512&&Qo(t)}catch(m){Pe(t,t.return,m)}}if(t===e){q=null;break}if(n=t.sibling,n!==null){n.return=t.return,q=n;break}q=t.return}}function H0(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var n=t.sibling;if(n!==null){n.return=t.return,q=n;break}q=t.return}}function j0(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{la(4,t)}catch(s){Pe(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(s){Pe(t,l,s)}}var i=t.return;try{Qo(t)}catch(s){Pe(t,i,s)}break;case 5:var a=t.return;try{Qo(t)}catch(s){Pe(t,a,s)}}}catch(s){Pe(t,t.return,s)}if(t===e){q=null;break}var o=t.sibling;if(o!==null){o.return=t.return,q=o;break}q=t.return}}var qh=Math.ceil,zi=rn.ReactCurrentDispatcher,Ks=rn.ReactCurrentOwner,Nt=rn.ReactCurrentBatchConfig,he=0,$e=null,ze=null,qe=0,xt=0,pr=Nn(0),De=0,Sl=null,Bn=0,ia=0,Gs=0,nl=null,ut=null,Js=0,br=1/0,Qt=null,Vi=!1,Ko=null,Sn=null,Yl=!1,yn=null,Di=0,rl=0,Go=null,pi=-1,hi=0;function lt(){return he&6?_e():pi!==-1?pi:pi=_e()}function An(e){return e.mode&1?he&2&&qe!==0?qe&-qe:Hh.transition!==null?(hi===0&&(hi=S1()),hi):(e=xe,e!==0||(e=window.event,e=e===void 0?16:H1(e.type)),e):1}function Rt(e,t,n,r){if(50<rl)throw rl=0,Go=null,Error(Z(185));Ll(e,n,r),(!(he&2)||e!==$e)&&(e===$e&&(!(he&2)&&(ia|=n),De===4&&mn(e,qe)),pt(e,r),n===1&&he===0&&!(t.mode&1)&&(br=_e()+500,ta&&Hn()))}function pt(e,t){var n=e.callbackNode;Hp(e,t);var r=Ai(e,e===$e?qe:0);if(r===0)n!==null&&Vu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Vu(n),t===1)e.tag===0?Nh(T0.bind(null,e)):X1(T0.bind(null,e)),Ch(function(){!(he&6)&&Hn()}),n=null;else{switch(A1(r)){case 1:n=Cs;break;case 4:n=w1;break;case 16:n=Si;break;case 536870912:n=E1;break;default:n=Si}n=Qf(n,Df.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Df(e,t){if(pi=-1,hi=0,he&6)throw Error(Z(327));var n=e.callbackNode;if(vr()&&e.callbackNode!==n)return null;var r=Ai(e,e===$e?qe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Oi(e,r);else{t=r;var l=he;he|=2;var i=$f();($e!==e||qe!==t)&&(Qt=null,br=_e()+500,zn(e,t));do try{Yh();break}catch(o){Of(e,o)}while(!0);Zs(),zi.current=i,he=l,ze!==null?t=0:($e=null,qe=0,t=De)}if(t!==0){if(t===2&&(l=Co(e),l!==0&&(r=l,t=Jo(e,l))),t===1)throw n=Sl,zn(e,0),mn(e,r),pt(e,_e()),n;if(t===6)mn(e,r);else{if(l=e.current.alternate,!(r&30)&&!Qh(l)&&(t=Oi(e,r),t===2&&(i=Co(e),i!==0&&(r=i,t=Jo(e,i))),t===1))throw n=Sl,zn(e,0),mn(e,r),pt(e,_e()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(Z(345));case 2:Pn(e,ut,Qt);break;case 3:if(mn(e,r),(r&130023424)===r&&(t=Js+500-_e(),10<t)){if(Ai(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){lt(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Io(Pn.bind(null,e,ut,Qt),t);break}Pn(e,ut,Qt);break;case 4:if(mn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var a=31-_t(r);i=1<<a,a=t[a],a>l&&(l=a),r&=~i}if(r=l,r=_e()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qh(r/1960))-r,10<r){e.timeoutHandle=Io(Pn.bind(null,e,ut,Qt),r);break}Pn(e,ut,Qt);break;case 5:Pn(e,ut,Qt);break;default:throw Error(Z(329))}}}return pt(e,_e()),e.callbackNode===n?Df.bind(null,e):null}function Jo(e,t){var n=nl;return e.current.memoizedState.isDehydrated&&(zn(e,t).flags|=256),e=Oi(e,t),e!==2&&(t=ut,ut=n,t!==null&&es(t)),e}function es(e){ut===null?ut=e:ut.push.apply(ut,e)}function Qh(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!zt(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function mn(e,t){for(t&=~Gs,t&=~ia,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_t(t),r=1<<n;e[n]=-1,t&=~r}}function T0(e){if(he&6)throw Error(Z(327));vr();var t=Ai(e,0);if(!(t&1))return pt(e,_e()),null;var n=Oi(e,t);if(e.tag!==0&&n===2){var r=Co(e);r!==0&&(t=r,n=Jo(e,r))}if(n===1)throw n=Sl,zn(e,0),mn(e,t),pt(e,_e()),n;if(n===6)throw Error(Z(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Pn(e,ut,Qt),pt(e,_e()),null}function eu(e,t){var n=he;he|=1;try{return e(t)}finally{he=n,he===0&&(br=_e()+500,ta&&Hn())}}function Un(e){yn!==null&&yn.tag===0&&!(he&6)&&vr();var t=he;he|=1;var n=Nt.transition,r=xe;try{if(Nt.transition=null,xe=1,e)return e()}finally{xe=r,Nt.transition=n,he=t,!(he&6)&&Hn()}}function tu(){xt=pr.current,Me(pr)}function zn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ah(n)),ze!==null)for(n=ze.return;n!==null;){var r=n;switch(Fs(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ni();break;case 3:Cr(),Me(ft),Me(et),Bs();break;case 5:$s(r);break;case 4:Cr();break;case 13:Me(He);break;case 19:Me(He);break;case 10:zs(r.type._context);break;case 22:case 23:tu()}n=n.return}if($e=e,ze=e=Cn(e.current,null),qe=xt=t,De=0,Sl=null,Gs=ia=Bn=0,ut=nl=null,Rn!==null){for(t=0;t<Rn.length;t++)if(n=Rn[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=l,r.next=a}n.pending=r}Rn=null}return e}function Of(e,t){do{var n=ze;try{if(Zs(),ci.current=Zi,Ri){for(var r=je.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Ri=!1}if($n=0,Oe=Ve=je=null,el=!1,kl=0,Ks.current=null,n===null||n.return===null){De=1,Sl=t,ze=null;break}e:{var i=e,a=n.return,o=n,s=t;if(t=qe,o.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s,d=o,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var m=d.alternate;m?(d.updateQueue=m.updateQueue,d.memoizedState=m.memoizedState,d.lanes=m.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=v0(a);if(h!==null){h.flags&=-257,k0(h,a,o,i,t),h.mode&1&&x0(i,c,t),t=h,s=c;var x=t.updateQueue;if(x===null){var w=new Set;w.add(s),t.updateQueue=w}else x.add(s);break e}else{if(!(t&1)){x0(i,c,t),nu();break e}s=Error(Z(426))}}else if(Le&&o.mode&1){var H=v0(a);if(H!==null){!(H.flags&65536)&&(H.flags|=256),k0(H,a,o,i,t),_s(Mr(s,o));break e}}i=s=Mr(s,o),De!==4&&(De=2),nl===null?nl=[i]:nl.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=Cf(i,s,t);d0(i,g);break e;case 1:o=s;var y=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Sn===null||!Sn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var L=Mf(i,o,t);d0(i,L);break e}}i=i.return}while(i!==null)}Uf(n)}catch(P){t=P,ze===n&&n!==null&&(ze=n=n.return);continue}break}while(!0)}function $f(){var e=zi.current;return zi.current=Zi,e===null?Zi:e}function nu(){(De===0||De===3||De===2)&&(De=4),$e===null||!(Bn&268435455)&&!(ia&268435455)||mn($e,qe)}function Oi(e,t){var n=he;he|=2;var r=$f();($e!==e||qe!==t)&&(Qt=null,zn(e,t));do try{Xh();break}catch(l){Of(e,l)}while(!0);if(Zs(),he=n,zi.current=r,ze!==null)throw Error(Z(261));return $e=null,qe=0,De}function Xh(){for(;ze!==null;)Bf(ze)}function Yh(){for(;ze!==null&&!wp();)Bf(ze)}function Bf(e){var t=qf(e.alternate,e,xt);e.memoizedProps=e.pendingProps,t===null?Uf(e):ze=t,Ks.current=null}function Uf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=$h(n,t),n!==null){n.flags&=32767,ze=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{De=6,ze=null;return}}else if(n=Oh(n,t,xt),n!==null){ze=n;return}if(t=t.sibling,t!==null){ze=t;return}ze=t=e}while(t!==null);De===0&&(De=5)}function Pn(e,t,n){var r=xe,l=Nt.transition;try{Nt.transition=null,xe=1,Kh(e,t,n,r)}finally{Nt.transition=l,xe=r}return null}function Kh(e,t,n,r){do vr();while(yn!==null);if(he&6)throw Error(Z(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Z(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(jp(e,i),e===$e&&(ze=$e=null,qe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Yl||(Yl=!0,Qf(Si,function(){return vr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Nt.transition,Nt.transition=null;var a=xe;xe=1;var o=he;he|=4,Ks.current=null,Uh(e,n),zf(n,e),yh(jo),Ci=!!Ho,jo=Ho=null,e.current=n,Wh(n),Ep(),he=o,xe=a,Nt.transition=i}else e.current=n;if(Yl&&(Yl=!1,yn=e,Di=l),i=e.pendingLanes,i===0&&(Sn=null),Cp(n.stateNode),pt(e,_e()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(Vi)throw Vi=!1,e=Ko,Ko=null,e;return Di&1&&e.tag!==0&&vr(),i=e.pendingLanes,i&1?e===Go?rl++:(rl=0,Go=e):rl=0,Hn(),null}function vr(){if(yn!==null){var e=A1(Di),t=Nt.transition,n=xe;try{if(Nt.transition=null,xe=16>e?16:e,yn===null)var r=!1;else{if(e=yn,yn=null,Di=0,he&6)throw Error(Z(331));var l=he;for(he|=4,q=e.current;q!==null;){var i=q,a=i.child;if(q.flags&16){var o=i.deletions;if(o!==null){for(var s=0;s<o.length;s++){var c=o[s];for(q=c;q!==null;){var d=q;switch(d.tag){case 0:case 11:case 15:tl(8,d,i)}var f=d.child;if(f!==null)f.return=d,q=f;else for(;q!==null;){d=q;var m=d.sibling,h=d.return;if(_f(d),d===c){q=null;break}if(m!==null){m.return=h,q=m;break}q=h}}}var x=i.alternate;if(x!==null){var w=x.child;if(w!==null){x.child=null;do{var H=w.sibling;w.sibling=null,w=H}while(w!==null)}}q=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,q=a;else e:for(;q!==null;){if(i=q,i.flags&2048)switch(i.tag){case 0:case 11:case 15:tl(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,q=g;break e}q=i.return}}var y=e.current;for(q=y;q!==null;){a=q;var v=a.child;if(a.subtreeFlags&2064&&v!==null)v.return=a,q=v;else e:for(a=y;q!==null;){if(o=q,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:la(9,o)}}catch(P){Pe(o,o.return,P)}if(o===a){q=null;break e}var L=o.sibling;if(L!==null){L.return=o.return,q=L;break e}q=o.return}}if(he=l,Hn(),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot(Yi,e)}catch{}r=!0}return r}finally{xe=n,Nt.transition=t}}return!1}function I0(e,t,n){t=Mr(n,t),t=Cf(e,t,1),e=En(e,t,1),t=lt(),e!==null&&(Ll(e,1,t),pt(e,t))}function Pe(e,t,n){if(e.tag===3)I0(e,e,n);else for(;t!==null;){if(t.tag===3){I0(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Sn===null||!Sn.has(r))){e=Mr(n,e),e=Mf(t,e,1),t=En(t,e,1),e=lt(),t!==null&&(Ll(t,1,e),pt(t,e));break}}t=t.return}}function Gh(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=lt(),e.pingedLanes|=e.suspendedLanes&n,$e===e&&(qe&n)===n&&(De===4||De===3&&(qe&130023424)===qe&&500>_e()-Js?zn(e,0):Gs|=n),pt(e,t)}function Wf(e,t){t===0&&(e.mode&1?(t=Vl,Vl<<=1,!(Vl&130023424)&&(Vl=4194304)):t=1);var n=lt();e=tn(e,t),e!==null&&(Ll(e,t,n),pt(e,n))}function Jh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Wf(e,n)}function em(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Z(314))}r!==null&&r.delete(t),Wf(e,n)}var qf;qf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ft.current)ct=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ct=!1,Dh(e,t,n);ct=!!(e.flags&131072)}else ct=!1,Le&&t.flags&1048576&&Y1(t,Ti,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;di(e,t),e=t.pendingProps;var l=Er(t,et.current);xr(t,n),l=Ws(null,t,r,e,l,n);var i=qs();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,dt(r)?(i=!0,Hi(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ds(t),l.updater=ra,t.stateNode=l,l._reactInternals=t,Vo(t,r,e,n),t=$o(null,t,r,!0,i,n)):(t.tag=0,Le&&i&&Ps(t),nt(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(di(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=nm(r),e=It(r,e),l){case 0:t=Oo(null,t,r,e,n);break e;case 1:t=S0(null,t,r,e,n);break e;case 11:t=w0(null,t,r,e,n);break e;case 14:t=E0(null,t,r,It(r.type,e),n);break e}throw Error(Z(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:It(r,l),Oo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:It(r,l),S0(e,t,r,l,n);case 3:e:{if(Hf(t),e===null)throw Error(Z(387));r=t.pendingProps,i=t.memoizedState,l=i.element,nf(e,t),Fi(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Mr(Error(Z(423)),t),t=A0(e,t,r,n,l);break e}else if(r!==l){l=Mr(Error(Z(424)),t),t=A0(e,t,r,n,l);break e}else for(vt=wn(t.stateNode.containerInfo.firstChild),kt=t,Le=!0,Ft=null,n=ef(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Sr(),r===l){t=nn(e,t,n);break e}nt(e,t,r,n)}t=t.child}return t;case 5:return rf(t),e===null&&Ro(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,a=l.children,To(r,l)?a=null:i!==null&&To(r,i)&&(t.flags|=32),Nf(e,t),nt(e,t,a,n),t.child;case 6:return e===null&&Ro(t),null;case 13:return jf(e,t,n);case 4:return Os(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ar(t,null,r,n):nt(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:It(r,l),w0(e,t,r,l,n);case 7:return nt(e,t,t.pendingProps,n),t.child;case 8:return nt(e,t,t.pendingProps.children,n),t.child;case 12:return nt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,a=l.value,Ee(Ii,r._currentValue),r._currentValue=a,i!==null)if(zt(i.value,a)){if(i.children===l.children&&!ft.current){t=nn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var o=i.dependencies;if(o!==null){a=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Gt(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?s.next=s:(s.next=d.next,d.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Zo(i.return,n,t),o.lanes|=n;break}s=s.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(Z(341));a.lanes|=n,o=a.alternate,o!==null&&(o.lanes|=n),Zo(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}nt(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,xr(t,n),l=Ht(l),r=r(l),t.flags|=1,nt(e,t,r,n),t.child;case 14:return r=t.type,l=It(r,t.pendingProps),l=It(r.type,l),E0(e,t,r,l,n);case 15:return bf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:It(r,l),di(e,t),t.tag=1,dt(r)?(e=!0,Hi(t)):e=!1,xr(t,n),Af(t,r,l),Vo(t,r,l,n),$o(null,t,r,!0,e,n);case 19:return Tf(e,t,n);case 22:return Lf(e,t,n)}throw Error(Z(156,t.tag))};function Qf(e,t){return k1(e,t)}function tm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lt(e,t,n,r){return new tm(e,t,n,r)}function ru(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nm(e){if(typeof e=="function")return ru(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Es)return 11;if(e===Ss)return 14}return 2}function Cn(e,t){var n=e.alternate;return n===null?(n=Lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function mi(e,t,n,r,l,i){var a=2;if(r=e,typeof e=="function")ru(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case rr:return Vn(n.children,l,i,t);case ws:a=8,l|=8;break;case uo:return e=Lt(12,n,t,l|2),e.elementType=uo,e.lanes=i,e;case co:return e=Lt(13,n,t,l),e.elementType=co,e.lanes=i,e;case fo:return e=Lt(19,n,t,l),e.elementType=fo,e.lanes=i,e;case r1:return aa(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case t1:a=10;break e;case n1:a=9;break e;case Es:a=11;break e;case Ss:a=14;break e;case dn:a=16,r=null;break e}throw Error(Z(130,e==null?e:typeof e,""))}return t=Lt(a,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Vn(e,t,n,r){return e=Lt(7,e,r,t),e.lanes=n,e}function aa(e,t,n,r){return e=Lt(22,e,r,t),e.elementType=r1,e.lanes=n,e.stateNode={isHidden:!1},e}function Da(e,t,n){return e=Lt(6,e,null,t),e.lanes=n,e}function Oa(e,t,n){return t=Lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function rm(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ea(0),this.expirationTimes=Ea(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ea(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function lu(e,t,n,r,l,i,a,o,s){return e=new rm(e,t,n,o,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Lt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ds(i),e}function lm(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:nr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Xf(e){if(!e)return bn;e=e._reactInternals;e:{if(Qn(e)!==e||e.tag!==1)throw Error(Z(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(dt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(Z(171))}if(e.tag===1){var n=e.type;if(dt(n))return Q1(e,n,t)}return t}function Yf(e,t,n,r,l,i,a,o,s){return e=lu(n,r,!0,e,l,i,a,o,s),e.context=Xf(null),n=e.current,r=lt(),l=An(n),i=Gt(r,l),i.callback=t??null,En(n,i,l),e.current.lanes=l,Ll(e,l,r),pt(e,r),e}function oa(e,t,n,r){var l=t.current,i=lt(),a=An(l);return n=Xf(n),t.context===null?t.context=n:t.pendingContext=n,t=Gt(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=En(l,t,a),e!==null&&(Rt(e,l,a,i),ui(e,l,a)),a}function $i(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function P0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function iu(e,t){P0(e,t),(e=e.alternate)&&P0(e,t)}function im(){return null}var Kf=typeof reportError=="function"?reportError:function(e){console.error(e)};function au(e){this._internalRoot=e}sa.prototype.render=au.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(Z(409));oa(e,t,null,null)};sa.prototype.unmount=au.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Un(function(){oa(null,e,null,null)}),t[en]=null}};function sa(e){this._internalRoot=e}sa.prototype.unstable_scheduleHydration=function(e){if(e){var t=b1();e={blockedOn:null,target:e,priority:t};for(var n=0;n<hn.length&&t!==0&&t<hn[n].priority;n++);hn.splice(n,0,e),n===0&&N1(e)}};function ou(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ua(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function F0(){}function am(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var c=$i(a);i.call(c)}}var a=Yf(t,r,e,0,null,!1,!1,"",F0);return e._reactRootContainer=a,e[en]=a.current,ml(e.nodeType===8?e.parentNode:e),Un(),a}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var o=r;r=function(){var c=$i(s);o.call(c)}}var s=lu(e,0,!1,null,null,!1,!1,"",F0);return e._reactRootContainer=s,e[en]=s.current,ml(e.nodeType===8?e.parentNode:e),Un(function(){oa(t,s,n,r)}),s}function ca(e,t,n,r,l){var i=n._reactRootContainer;if(i){var a=i;if(typeof l=="function"){var o=l;l=function(){var s=$i(a);o.call(s)}}oa(t,a,e,l)}else a=am(n,t,e,l,r);return $i(a)}C1=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=qr(t.pendingLanes);n!==0&&(Ms(t,n|1),pt(t,_e()),!(he&6)&&(br=_e()+500,Hn()))}break;case 13:Un(function(){var r=tn(e,1);if(r!==null){var l=lt();Rt(r,e,1,l)}}),iu(e,1)}};bs=function(e){if(e.tag===13){var t=tn(e,134217728);if(t!==null){var n=lt();Rt(t,e,134217728,n)}iu(e,134217728)}};M1=function(e){if(e.tag===13){var t=An(e),n=tn(e,t);if(n!==null){var r=lt();Rt(n,e,t,r)}iu(e,t)}};b1=function(){return xe};L1=function(e,t){var n=xe;try{return xe=e,t()}finally{xe=n}};Eo=function(e,t,n){switch(t){case"input":if(mo(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=ea(r);if(!l)throw Error(Z(90));i1(r),mo(r,l)}}}break;case"textarea":o1(e,n);break;case"select":t=n.value,t!=null&&hr(e,!!n.multiple,t,!1)}};h1=eu;m1=Un;var om={usingClientEntryPoint:!1,Events:[Hl,or,ea,d1,p1,eu]},Dr={findFiberByHostInstance:_n,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sm={bundleType:Dr.bundleType,version:Dr.version,rendererPackageName:Dr.rendererPackageName,rendererConfig:Dr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:rn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=x1(e),e===null?null:e.stateNode},findFiberByHostInstance:Dr.findFiberByHostInstance||im,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Kl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kl.isDisabled&&Kl.supportsFiber)try{Yi=Kl.inject(sm),Ut=Kl}catch{}}St.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=om;St.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ou(t))throw Error(Z(200));return lm(e,t,null,n)};St.createRoot=function(e,t){if(!ou(e))throw Error(Z(299));var n=!1,r="",l=Kf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=lu(e,1,!1,null,null,n,!1,r,l),e[en]=t.current,ml(e.nodeType===8?e.parentNode:e),new au(t)};St.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(Z(188)):(e=Object.keys(e).join(","),Error(Z(268,e)));return e=x1(t),e=e===null?null:e.stateNode,e};St.flushSync=function(e){return Un(e)};St.hydrate=function(e,t,n){if(!ua(t))throw Error(Z(200));return ca(null,e,t,!0,n)};St.hydrateRoot=function(e,t,n){if(!ou(e))throw Error(Z(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",a=Kf;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Yf(t,null,e,1,n??null,l,!1,i,a),e[en]=t.current,ml(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new sa(t)};St.render=function(e,t,n){if(!ua(t))throw Error(Z(200));return ca(null,e,t,!1,n)};St.unmountComponentAtNode=function(e){if(!ua(e))throw Error(Z(40));return e._reactRootContainer?(Un(function(){ca(null,null,e,!1,function(){e._reactRootContainer=null,e[en]=null})}),!0):!1};St.unstable_batchedUpdates=eu;St.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ua(n))throw Error(Z(200));if(e==null||e._reactInternals===void 0)throw Error(Z(38));return ca(e,t,n,!1,r)};St.version="18.3.1-next-f1338f8080-20240426";function Gf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gf)}catch(e){console.error(e)}}Gf(),Kc.exports=St;var um=Kc.exports,_0=um;oo.createRoot=_0.createRoot,oo.hydrateRoot=_0.hydrateRoot;function R0(e){return typeof e=="string"?e:Array.isArray(e)?e.filter(t=>t.type==="text").map(t=>t.text).join(`
41
+ `):""}function $a(e,t){const n=[...e],r=n[n.length-1];return r!=null&&r.isStreaming?n[n.length-1]={...r,...t(r)}:n.push({id:`assistant-${Date.now()}`,role:"assistant",content:"",thinking:"",tools:[],isStreaming:!0,images:void 0,createdAt:Date.now(),...t({id:"",role:"assistant",content:"",thinking:"",tools:[]})}),n}function Gl(e,t){switch(t.type){case"ready":return t.messages.map((n,r)=>({id:`hist-${r}`,role:n.role,content:R0(n.content),thinking:typeof n.thinking=="string"?n.thinking:"",tools:Array.isArray(n.tools)?n.tools:[],createdAt:typeof n.createdAt=="number"?n.createdAt:void 0,images:Array.isArray(n.images)?n.images:[]}));case"user_message":return[...e,{id:`user-${Date.now()}`,role:"user",content:R0(t.text),images:t.images??[],createdAt:Date.now()}];case"assistant_start":return e;case"thinking_delta":return $a(e,n=>{const r=Date.now();return{thinking:(n.thinking??"")+t.delta,thinkingStartedAt:n.thinkingStartedAt??r,thinkingUpdatedAt:r}});case"text_delta":return $a(e,n=>({content:n.content+t.delta,thinkingStartedAt:void 0}));case"tool_start":return $a(e,n=>({tools:[...n.tools??[],{name:t.name,args:typeof t.args=="string"?t.args:JSON.stringify(t.args).slice(0,80),result:"",isError:!1,images:[]}],thinkingStartedAt:void 0}));case"tool_progress":{const n=[...e],r=n[n.length-1];if(r!=null&&r.isStreaming&&r.tools){const l=r.tools.map(i=>i.name===t.name&&!i.result?{...i,progress:t.progress,progressTotal:t.total,progressMessage:t.message}:i);n[n.length-1]={...r,tools:l}}return n}case"tool_end":{const n=[...e],r=n[n.length-1];if(r!=null&&r.isStreaming){const l=(r.tools??[]).map(i=>i.name===t.name&&!i.result?{...i,result:t.result,isError:t.isError,images:t.images??i.images}:i);n[n.length-1]={...r,tools:l}}return n}case"mcp_app":{const n=[...e];for(let r=n.length-1;r>=0;r--){const l=n[r];if(l.tools){const i=l.tools.findIndex(a=>a.name===t.app.toolName);if(i>=0){const a=[...l.tools];a[i]={...a[i],mcpApp:t.app},n[r]={...l,tools:a};break}}}return n}case"assistant_end":{const n=[...e],r=n[n.length-1];return r!=null&&r.isStreaming&&(n[n.length-1]={...r,isStreaming:!1}),n}case"clear_conversation":return[];default:return e}}function cm(e){const t=u.useRef(null),[n,r]=u.useState(!1),l=u.useRef(),i=u.useRef(e);i.current=e;const a=u.useCallback(()=>{var m;if(((m=t.current)==null?void 0:m.readyState)===WebSocket.OPEN)return;const s=window.location.protocol==="https:"?"wss:":"ws:",c=window.location.host,d=`${s}//${c}/ws`,f=new WebSocket(d);t.current=f,f.onopen=()=>{r(!0)},f.onmessage=h=>{try{const x=JSON.parse(h.data);i.current(x)}catch{}},f.onclose=()=>{r(!1),t.current=null,l.current=setTimeout(a,2e3)},f.onerror=()=>{f.close()}},[]),o=u.useCallback(s=>{var c;((c=t.current)==null?void 0:c.readyState)===WebSocket.OPEN&&t.current.send(JSON.stringify(s))},[]);return u.useEffect(()=>(a(),()=>{var s;clearTimeout(l.current),(s=t.current)==null||s.close()}),[a]),{connected:n,send:o}}function fm(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const dm=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,pm=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,hm={};function Z0(e,t){return(hm.jsx?pm:dm).test(e)}const mm=/[ \t\n\f\r]/g;function gm(e){return typeof e=="object"?e.type==="text"?z0(e.value):!1:z0(e)}function z0(e){return e.replace(mm,"")===""}class Tl{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Tl.prototype.normal={};Tl.prototype.property={};Tl.prototype.space=void 0;function Jf(e,t){const n={},r={};for(const l of e)Object.assign(n,l.property),Object.assign(r,l.normal);return new Tl(n,r,t)}function ts(e){return e.toLowerCase()}class ht{constructor(t,n){this.attribute=n,this.property=t}}ht.prototype.attribute="";ht.prototype.booleanish=!1;ht.prototype.boolean=!1;ht.prototype.commaOrSpaceSeparated=!1;ht.prototype.commaSeparated=!1;ht.prototype.defined=!1;ht.prototype.mustUseProperty=!1;ht.prototype.number=!1;ht.prototype.overloadedBoolean=!1;ht.prototype.property="";ht.prototype.spaceSeparated=!1;ht.prototype.space=void 0;let ym=0;const oe=Xn(),Ze=Xn(),ns=Xn(),z=Xn(),we=Xn(),kr=Xn(),yt=Xn();function Xn(){return 2**++ym}const rs=Object.freeze(Object.defineProperty({__proto__:null,boolean:oe,booleanish:Ze,commaOrSpaceSeparated:yt,commaSeparated:kr,number:z,overloadedBoolean:ns,spaceSeparated:we},Symbol.toStringTag,{value:"Module"})),Ba=Object.keys(rs);class su extends ht{constructor(t,n,r,l){let i=-1;if(super(t,n),V0(this,"space",l),typeof r=="number")for(;++i<Ba.length;){const a=Ba[i];V0(this,Ba[i],(r&rs[a])===rs[a])}}}su.prototype.defined=!0;function V0(e,t,n){n&&(e[t]=n)}function Tr(e){const t={},n={};for(const[r,l]of Object.entries(e.properties)){const i=new su(r,e.transform(e.attributes||{},r),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ts(r)]=r,n[ts(i.attribute)]=r}return new Tl(t,n,e.space)}const e2=Tr({properties:{ariaActiveDescendant:null,ariaAtomic:Ze,ariaAutoComplete:null,ariaBusy:Ze,ariaChecked:Ze,ariaColCount:z,ariaColIndex:z,ariaColSpan:z,ariaControls:we,ariaCurrent:null,ariaDescribedBy:we,ariaDetails:null,ariaDisabled:Ze,ariaDropEffect:we,ariaErrorMessage:null,ariaExpanded:Ze,ariaFlowTo:we,ariaGrabbed:Ze,ariaHasPopup:null,ariaHidden:Ze,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:we,ariaLevel:z,ariaLive:null,ariaModal:Ze,ariaMultiLine:Ze,ariaMultiSelectable:Ze,ariaOrientation:null,ariaOwns:we,ariaPlaceholder:null,ariaPosInSet:z,ariaPressed:Ze,ariaReadOnly:Ze,ariaRelevant:null,ariaRequired:Ze,ariaRoleDescription:we,ariaRowCount:z,ariaRowIndex:z,ariaRowSpan:z,ariaSelected:Ze,ariaSetSize:z,ariaSort:null,ariaValueMax:z,ariaValueMin:z,ariaValueNow:z,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function t2(e,t){return t in e?e[t]:t}function n2(e,t){return t2(e,t.toLowerCase())}const xm=Tr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:kr,acceptCharset:we,accessKey:we,action:null,allow:null,allowFullScreen:oe,allowPaymentRequest:oe,allowUserMedia:oe,alt:null,as:null,async:oe,autoCapitalize:null,autoComplete:we,autoFocus:oe,autoPlay:oe,blocking:we,capture:null,charSet:null,checked:oe,cite:null,className:we,cols:z,colSpan:null,content:null,contentEditable:Ze,controls:oe,controlsList:we,coords:z|kr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:oe,defer:oe,dir:null,dirName:null,disabled:oe,download:ns,draggable:Ze,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:oe,formTarget:null,headers:we,height:z,hidden:ns,high:z,href:null,hrefLang:null,htmlFor:we,httpEquiv:we,id:null,imageSizes:null,imageSrcSet:null,inert:oe,inputMode:null,integrity:null,is:null,isMap:oe,itemId:null,itemProp:we,itemRef:we,itemScope:oe,itemType:we,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:oe,low:z,manifest:null,max:null,maxLength:z,media:null,method:null,min:null,minLength:z,multiple:oe,muted:oe,name:null,nonce:null,noModule:oe,noValidate:oe,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:oe,optimum:z,pattern:null,ping:we,placeholder:null,playsInline:oe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:oe,referrerPolicy:null,rel:we,required:oe,reversed:oe,rows:z,rowSpan:z,sandbox:we,scope:null,scoped:oe,seamless:oe,selected:oe,shadowRootClonable:oe,shadowRootDelegatesFocus:oe,shadowRootMode:null,shape:null,size:z,sizes:null,slot:null,span:z,spellCheck:Ze,src:null,srcDoc:null,srcLang:null,srcSet:null,start:z,step:null,style:null,tabIndex:z,target:null,title:null,translate:null,type:null,typeMustMatch:oe,useMap:null,value:Ze,width:z,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:we,axis:null,background:null,bgColor:null,border:z,borderColor:null,bottomMargin:z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:oe,declare:oe,event:null,face:null,frame:null,frameBorder:null,hSpace:z,leftMargin:z,link:null,longDesc:null,lowSrc:null,marginHeight:z,marginWidth:z,noResize:oe,noHref:oe,noShade:oe,noWrap:oe,object:null,profile:null,prompt:null,rev:null,rightMargin:z,rules:null,scheme:null,scrolling:Ze,standby:null,summary:null,text:null,topMargin:z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:oe,disableRemotePlayback:oe,prefix:null,property:null,results:z,security:null,unselectable:null},space:"html",transform:n2}),vm=Tr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:yt,accentHeight:z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:z,amplitude:z,arabicForm:null,ascent:z,attributeName:null,attributeType:null,azimuth:z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:z,by:null,calcMode:null,capHeight:z,className:we,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:z,diffuseConstant:z,direction:null,display:null,dur:null,divisor:z,dominantBaseline:null,download:oe,dx:null,dy:null,edgeMode:null,editable:null,elevation:z,enableBackground:null,end:null,event:null,exponent:z,externalResourcesRequired:null,fill:null,fillOpacity:z,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:kr,g2:kr,glyphName:kr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:z,horizOriginX:z,horizOriginY:z,id:null,ideographic:z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:z,k:z,k1:z,k2:z,k3:z,k4:z,kernelMatrix:yt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:z,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:z,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:z,overlineThickness:z,paintOrder:null,panose1:null,path:null,pathLength:z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:we,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:z,pointsAtY:z,pointsAtZ:z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:yt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yt,rev:yt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yt,requiredFeatures:yt,requiredFonts:yt,requiredFormats:yt,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:z,specularExponent:z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:z,strikethroughThickness:z,string:null,stroke:null,strokeDashArray:yt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:z,strokeOpacity:z,strokeWidth:null,style:null,surfaceScale:z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:yt,tabIndex:z,tableValues:null,target:null,targetX:z,targetY:z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:yt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:z,underlineThickness:z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:z,values:null,vAlphabetic:z,vMathematical:z,vectorEffect:null,vHanging:z,vIdeographic:z,version:null,vertAdvY:z,vertOriginX:z,vertOriginY:z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:t2}),r2=Tr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),l2=Tr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:n2}),i2=Tr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),km={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"},wm=/[A-Z]/g,D0=/-[a-z]/g,Em=/^data[-\w.:]+$/i;function Sm(e,t){const n=ts(t);let r=t,l=ht;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Em.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(D0,Cm);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!D0.test(i)){let a=i.replace(wm,Am);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}l=su}return new l(r,t)}function Am(e){return"-"+e.toLowerCase()}function Cm(e){return e.charAt(1).toUpperCase()}const Mm=Jf([e2,xm,r2,l2,i2],"html"),uu=Jf([e2,vm,r2,l2,i2],"svg");function bm(e){return e.join(" ").trim()}var cu={},O0=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Lm=/\n/g,Nm=/^\s*/,Hm=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,jm=/^:\s*/,Tm=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Im=/^[;\s]*/,Pm=/^\s+|\s+$/g,Fm=`
42
+ `,$0="/",B0="*",Fn="",_m="comment",Rm="declaration";function Zm(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function l(x){var w=x.match(Lm);w&&(n+=w.length);var H=x.lastIndexOf(Fm);r=~H?x.length-H:r+x.length}function i(){var x={line:n,column:r};return function(w){return w.position=new a(x),c(),w}}function a(x){this.start=x,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(x){var w=new Error(t.source+":"+n+":"+r+": "+x);if(w.reason=x,w.filename=t.source,w.line=n,w.column=r,w.source=e,!t.silent)throw w}function s(x){var w=x.exec(e);if(w){var H=w[0];return l(H),e=e.slice(H.length),w}}function c(){s(Nm)}function d(x){var w;for(x=x||[];w=f();)w!==!1&&x.push(w);return x}function f(){var x=i();if(!($0!=e.charAt(0)||B0!=e.charAt(1))){for(var w=2;Fn!=e.charAt(w)&&(B0!=e.charAt(w)||$0!=e.charAt(w+1));)++w;if(w+=2,Fn===e.charAt(w-1))return o("End of comment missing");var H=e.slice(2,w-2);return r+=2,l(H),e=e.slice(w),r+=2,x({type:_m,comment:H})}}function m(){var x=i(),w=s(Hm);if(w){if(f(),!s(jm))return o("property missing ':'");var H=s(Tm),g=x({type:Rm,property:U0(w[0].replace(O0,Fn)),value:H?U0(H[0].replace(O0,Fn)):Fn});return s(Im),g}}function h(){var x=[];d(x);for(var w;w=m();)w!==!1&&(x.push(w),d(x));return x}return c(),h()}function U0(e){return e?e.replace(Pm,Fn):Fn}var zm=Zm,Vm=vi&&vi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cu,"__esModule",{value:!0});cu.default=Om;const Dm=Vm(zm);function Om(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,Dm.default)(e),l=typeof t=="function";return r.forEach(i=>{if(i.type!=="declaration")return;const{property:a,value:o}=i;l?t(a,o,i):o&&(n=n||{},n[a]=o)}),n}var fa={};Object.defineProperty(fa,"__esModule",{value:!0});fa.camelCase=void 0;var $m=/^--[a-zA-Z0-9_-]+$/,Bm=/-([a-z])/g,Um=/^[^-]+$/,Wm=/^-(webkit|moz|ms|o|khtml)-/,qm=/^-(ms)-/,Qm=function(e){return!e||Um.test(e)||$m.test(e)},Xm=function(e,t){return t.toUpperCase()},W0=function(e,t){return"".concat(t,"-")},Ym=function(e,t){return t===void 0&&(t={}),Qm(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(qm,W0):e=e.replace(Wm,W0),e.replace(Bm,Xm))};fa.camelCase=Ym;var Km=vi&&vi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Gm=Km(cu),Jm=fa;function ls(e,t){var n={};return!e||typeof e!="string"||(0,Gm.default)(e,function(r,l){r&&l&&(n[(0,Jm.camelCase)(r,t)]=l)}),n}ls.default=ls;var e4=ls;const t4=ps(e4),a2=o2("end"),fu=o2("start");function o2(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function n4(e){const t=fu(e),n=a2(e);if(t&&n)return{start:t,end:n}}function ll(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?q0(e.position):"start"in e||"end"in e?q0(e):"line"in e||"column"in e?is(e):""}function is(e){return Q0(e&&e.line)+":"+Q0(e&&e.column)}function q0(e){return is(e&&e.start)+"-"+is(e&&e.end)}function Q0(e){return e&&typeof e=="number"?e:1}class tt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let l="",i={},a=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?l=t:!i.cause&&t&&(a=!0,l=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?i.ruleId=r:(i.source=r.slice(0,s),i.ruleId=r.slice(s+1))}if(!i.place&&i.ancestors&&i.ancestors){const s=i.ancestors[i.ancestors.length-1];s&&(i.place=s.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=l,this.line=o?o.line:void 0,this.name=ll(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}tt.prototype.file="";tt.prototype.name="";tt.prototype.reason="";tt.prototype.message="";tt.prototype.stack="";tt.prototype.column=void 0;tt.prototype.line=void 0;tt.prototype.ancestors=void 0;tt.prototype.cause=void 0;tt.prototype.fatal=void 0;tt.prototype.place=void 0;tt.prototype.ruleId=void 0;tt.prototype.source=void 0;const du={}.hasOwnProperty,r4=new Map,l4=/[A-Z]/g,i4=new Set(["table","tbody","thead","tfoot","tr"]),a4=new Set(["td","th"]),s2="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function o4(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=m4(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=h4(n,t.jsx,t.jsxs)}const l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?uu:Mm,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=u2(l,e,void 0);return i&&typeof i!="string"?i:l.create(e,l.Fragment,{children:i||void 0},void 0)}function u2(e,t,n){if(t.type==="element")return s4(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return u4(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return f4(e,t,n);if(t.type==="mdxjsEsm")return c4(e,t);if(t.type==="root")return d4(e,t,n);if(t.type==="text")return p4(e,t)}function s4(e,t,n){const r=e.schema;let l=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(l=uu,e.schema=l),e.ancestors.push(t);const i=f2(e,t.tagName,!1),a=g4(e,t);let o=hu(e,t);return i4.has(t.tagName)&&(o=o.filter(function(s){return typeof s=="string"?!gm(s):!0})),c2(e,a,i,t),pu(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function u4(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Al(e,t.position)}function c4(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Al(e,t.position)}function f4(e,t,n){const r=e.schema;let l=r;t.name==="svg"&&r.space==="html"&&(l=uu,e.schema=l),e.ancestors.push(t);const i=t.name===null?e.Fragment:f2(e,t.name,!0),a=y4(e,t),o=hu(e,t);return c2(e,a,i,t),pu(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function d4(e,t,n){const r={};return pu(r,hu(e,t)),e.create(t,e.Fragment,r,n)}function p4(e,t){return t.value}function c2(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function pu(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function h4(e,t,n){return r;function r(l,i,a,o){const c=Array.isArray(a.children)?n:t;return o?c(i,a,o):c(i,a)}}function m4(e,t){return n;function n(r,l,i,a){const o=Array.isArray(i.children),s=fu(r);return t(l,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function g4(e,t){const n={};let r,l;for(l in t.properties)if(l!=="children"&&du.call(t.properties,l)){const i=x4(e,l,t.properties[l]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&a4.has(t.tagName)?r=o:n[a]=o}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function y4(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const a=i.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else Al(e,t.position);else{const l=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else Al(e,t.position);else i=r.value===null?!0:r.value;n[l]=i}return n}function hu(e,t){const n=[];let r=-1;const l=e.passKeys?new Map:r4;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const s=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(s){const c=l.get(s)||0;a=s+"-"+c,l.set(s,c+1)}}const o=u2(e,i,a);o!==void 0&&n.push(o)}return n}function x4(e,t,n){const r=Sm(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?fm(n):bm(n)),r.property==="style"){let l=typeof n=="object"?n:v4(e,String(n));return e.stylePropertyNameCase==="css"&&(l=k4(l)),["style",l]}return[e.elementAttributeNameCase==="react"&&r.space?km[r.property]||r.property:r.attribute,n]}}function v4(e,t){try{return t4(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,l=new tt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw l.file=e.filePath||void 0,l.url=s2+"#cannot-parse-style-attribute",l}}function f2(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const l=t.split(".");let i=-1,a;for(;++i<l.length;){const o=Z0(l[i])?{type:"Identifier",name:l[i]}:{type:"Literal",value:l[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}r=a}else r=Z0(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const l=r.value;return du.call(e.components,l)?e.components[l]:l}if(e.evaluater)return e.evaluater.evaluateExpression(r);Al(e)}function Al(e,t){const n=new tt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=s2+"#cannot-handle-mdx-estrees-without-createevaluater",n}function k4(e){const t={};let n;for(n in e)du.call(e,n)&&(t[w4(n)]=e[n]);return t}function w4(e){let t=e.replace(l4,E4);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function E4(e){return"-"+e.toLowerCase()}const Ua={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"]},S4={};function mu(e,t){const n=S4,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,l=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return d2(e,r,l)}function d2(e,t,n){if(A4(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return X0(e.children,t,n)}return Array.isArray(e)?X0(e,t,n):""}function X0(e,t,n){const r=[];let l=-1;for(;++l<e.length;)r[l]=d2(e[l],t,n);return r.join("")}function A4(e){return!!(e&&typeof e=="object")}const Y0=document.createElement("i");function gu(e){const t="&"+e+";";Y0.innerHTML=t;const n=Y0.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function wt(e,t,n,r){const l=e.length;let i=0,a;if(t<0?t=-t>l?0:l+t:t=t>l?l:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function bt(e,t){return e.length>0?(wt(e,e.length,0,t),e):t}const K0={}.hasOwnProperty;function p2(e){const t={};let n=-1;for(;++n<e.length;)C4(t,e[n]);return t}function C4(e,t){let n;for(n in t){const l=(K0.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){K0.call(l,a)||(l[a]=[]);const o=i[a];M4(l[a],Array.isArray(o)?o:o?[o]:[])}}}function M4(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);wt(e,0,0,r)}function h2(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Zt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const rt=jn(/[A-Za-z]/),Je=jn(/[\dA-Za-z]/),b4=jn(/[#-'*+\--9=?A-Z^-~]/);function Bi(e){return e!==null&&(e<32||e===127)}const as=jn(/\d/),L4=jn(/[\dA-Fa-f]/),N4=jn(/[!-/:-@[-`{-~]/);function te(e){return e!==null&&e<-2}function ke(e){return e!==null&&(e<0||e===32)}function ue(e){return e===-2||e===-1||e===32}const da=jn(new RegExp("\\p{P}|\\p{S}","u")),Wn=jn(/\s/);function jn(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ir(e){const t=[];let n=-1,r=0,l=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&Je(e.charCodeAt(n+1))&&Je(e.charCodeAt(n+2)))l=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(n+1);i<56320&&o>56319&&o<57344?(a=String.fromCharCode(i,o),l=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+l+1,a=""),l&&(n+=l,l=0)}return t.join("")+e.slice(r)}function pe(e,t,n,r){const l=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(s){return ue(s)?(e.enter(n),o(s)):t(s)}function o(s){return ue(s)&&i++<l?(e.consume(s),o):(e.exit(n),t(s))}}const H4={tokenize:j4};function j4(e){const t=e.attempt(this.parser.constructs.contentInitial,r,l);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),pe(e,t,"linePrefix")}function l(o){return e.enter("paragraph"),i(o)}function i(o){const s=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=s),n=s,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return te(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const T4={tokenize:I4},G0={tokenize:P4};function I4(e){const t=this,n=[];let r=0,l,i,a;return o;function o(v){if(r<n.length){const L=n[r];return t.containerState=L[1],e.attempt(L[0].continuation,s,c)(v)}return c(v)}function s(v){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,l&&y();const L=t.events.length;let P=L,E;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){E=t.events[P][1].end;break}g(r);let F=L;for(;F<t.events.length;)t.events[F][1].end={...E},F++;return wt(t.events,P+1,0,t.events.slice(L)),t.events.length=F,c(v)}return o(v)}function c(v){if(r===n.length){if(!l)return m(v);if(l.currentConstruct&&l.currentConstruct.concrete)return x(v);t.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(G0,d,f)(v)}function d(v){return l&&y(),g(r),m(v)}function f(v){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,x(v)}function m(v){return t.containerState={},e.attempt(G0,h,x)(v)}function h(v){return r++,n.push([t.currentConstruct,t.containerState]),m(v)}function x(v){if(v===null){l&&y(),g(0),e.consume(v);return}return l=l||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:l,contentType:"flow",previous:i}),w(v)}function w(v){if(v===null){H(e.exit("chunkFlow"),!0),g(0),e.consume(v);return}return te(v)?(e.consume(v),H(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(v),w)}function H(v,L){const P=t.sliceStream(v);if(L&&P.push(null),v.previous=i,i&&(i.next=v),i=v,l.defineSkip(v.start),l.write(P),t.parser.lazy[v.start.line]){let E=l.events.length;for(;E--;)if(l.events[E][1].start.offset<a&&(!l.events[E][1].end||l.events[E][1].end.offset>a))return;const F=t.events.length;let _=F,Q,M;for(;_--;)if(t.events[_][0]==="exit"&&t.events[_][1].type==="chunkFlow"){if(Q){M=t.events[_][1].end;break}Q=!0}for(g(r),E=F;E<t.events.length;)t.events[E][1].end={...M},E++;wt(t.events,_+1,0,t.events.slice(F)),t.events.length=E}}function g(v){let L=n.length;for(;L-- >v;){const P=n[L];t.containerState=P[1],P[0].exit.call(t,e)}n.length=v}function y(){l.write([null]),i=void 0,l=void 0,t.containerState._closeFlow=void 0}}function P4(e,t,n){return pe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Lr(e){if(e===null||ke(e)||Wn(e))return 1;if(da(e))return 2}function pa(e,t,n){const r=[];let l=-1;for(;++l<e.length;){const i=e[l].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const os={name:"attention",resolveAll:F4,tokenize:_4};function F4(e,t){let n=-1,r,l,i,a,o,s,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},m={...e[n][1].start};J0(f,-s),J0(m,s),a={type:s>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},i={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},l={type:s>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=bt(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=bt(c,[["enter",l,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=bt(c,pa(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=bt(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",l,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=bt(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,wt(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function _4(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,l=Lr(r);let i;return a;function a(s){return i=s,e.enter("attentionSequence"),o(s)}function o(s){if(s===i)return e.consume(s),o;const c=e.exit("attentionSequence"),d=Lr(s),f=!d||d===2&&l||n.includes(s),m=!l||l===2&&d||n.includes(r);return c._open=!!(i===42?f:f&&(l||!m)),c._close=!!(i===42?m:m&&(d||!f)),t(s)}}function J0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const R4={name:"autolink",tokenize:Z4};function Z4(e,t,n){let r=0;return l;function l(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(h){return rt(h)?(e.consume(h),a):h===64?n(h):c(h)}function a(h){return h===43||h===45||h===46||Je(h)?(r=1,o(h)):c(h)}function o(h){return h===58?(e.consume(h),r=0,s):(h===43||h===45||h===46||Je(h))&&r++<32?(e.consume(h),o):(r=0,c(h))}function s(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||Bi(h)?n(h):(e.consume(h),s)}function c(h){return h===64?(e.consume(h),d):b4(h)?(e.consume(h),c):n(h)}function d(h){return Je(h)?f(h):n(h)}function f(h){return h===46?(e.consume(h),r=0,d):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):m(h)}function m(h){if((h===45||Je(h))&&r++<63){const x=h===45?m:f;return e.consume(h),x}return n(h)}}const Il={partial:!0,tokenize:z4};function z4(e,t,n){return r;function r(i){return ue(i)?pe(e,l,"linePrefix")(i):l(i)}function l(i){return i===null||te(i)?t(i):n(i)}}const m2={continuation:{tokenize:D4},exit:O4,name:"blockQuote",tokenize:V4};function V4(e,t,n){const r=this;return l;function l(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return ue(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function D4(e,t,n){const r=this;return l;function l(a){return ue(a)?pe(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(m2,t,n)(a)}}function O4(e){e.exit("blockQuote")}const g2={name:"characterEscape",tokenize:$4};function $4(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),l}function l(i){return N4(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const y2={name:"characterReference",tokenize:B4};function B4(e,t,n){const r=this;let l=0,i,a;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),s}function s(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=Je,d(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=L4,d):(e.enter("characterReferenceValue"),i=7,a=as,d(f))}function d(f){if(f===59&&l){const m=e.exit("characterReferenceValue");return a===Je&&!gu(r.sliceSerialize(m))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&l++<i?(e.consume(f),d):n(f)}}const ec={partial:!0,tokenize:W4},tc={concrete:!0,name:"codeFenced",tokenize:U4};function U4(e,t,n){const r=this,l={partial:!0,tokenize:P};let i=0,a=0,o;return s;function s(E){return c(E)}function c(E){const F=r.events[r.events.length-1];return i=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[1],!0).length:0,o=E,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(E)}function d(E){return E===o?(a++,e.consume(E),d):a<3?n(E):(e.exit("codeFencedFenceSequence"),ue(E)?pe(e,f,"whitespace")(E):f(E))}function f(E){return E===null||te(E)?(e.exit("codeFencedFence"),r.interrupt?t(E):e.check(ec,w,L)(E)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(E))}function m(E){return E===null||te(E)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(E)):ue(E)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),pe(e,h,"whitespace")(E)):E===96&&E===o?n(E):(e.consume(E),m)}function h(E){return E===null||te(E)?f(E):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(E))}function x(E){return E===null||te(E)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(E)):E===96&&E===o?n(E):(e.consume(E),x)}function w(E){return e.attempt(l,L,H)(E)}function H(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),g}function g(E){return i>0&&ue(E)?pe(e,y,"linePrefix",i+1)(E):y(E)}function y(E){return E===null||te(E)?e.check(ec,w,L)(E):(e.enter("codeFlowValue"),v(E))}function v(E){return E===null||te(E)?(e.exit("codeFlowValue"),y(E)):(e.consume(E),v)}function L(E){return e.exit("codeFenced"),t(E)}function P(E,F,_){let Q=0;return M;function M(J){return E.enter("lineEnding"),E.consume(J),E.exit("lineEnding"),O}function O(J){return E.enter("codeFencedFence"),ue(J)?pe(E,U,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):U(J)}function U(J){return J===o?(E.enter("codeFencedFenceSequence"),ae(J)):_(J)}function ae(J){return J===o?(Q++,E.consume(J),ae):Q>=a?(E.exit("codeFencedFenceSequence"),ue(J)?pe(E,re,"whitespace")(J):re(J)):_(J)}function re(J){return J===null||te(J)?(E.exit("codeFencedFence"),F(J)):_(J)}}}function W4(e,t,n){const r=this;return l;function l(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Wa={name:"codeIndented",tokenize:Q4},q4={partial:!0,tokenize:X4};function Q4(e,t,n){const r=this;return l;function l(c){return e.enter("codeIndented"),pe(e,i,"linePrefix",5)(c)}function i(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?s(c):te(c)?e.attempt(q4,a,s)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||te(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function s(c){return e.exit("codeIndented"),t(c)}}function X4(e,t,n){const r=this;return l;function l(a){return r.parser.lazy[r.now().line]?n(a):te(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l):pe(e,i,"linePrefix",5)(a)}function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):te(a)?l(a):n(a)}}const Y4={name:"codeText",previous:G4,resolve:K4,tokenize:J4};function K4(e){let t=e.length-4,n=3,r,l;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)l===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(l=r):(r===t||e[r][1].type==="lineEnding")&&(e[l][1].type="codeTextData",r!==l+2&&(e[l][1].end=e[r-1][1].end,e.splice(l+2,r-l-2),t-=r-l-2,r=l+2),l=void 0);return e}function G4(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function J4(e,t,n){let r=0,l,i;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),s(f))}function s(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),s):f===96?(i=e.enter("codeTextSequence"),l=0,d(f)):te(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||te(f)?(e.exit("codeTextData"),s(f)):(e.consume(f),c)}function d(f){return f===96?(e.consume(f),l++,d):l===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",c(f))}}class e8{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const l=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-l,Number.POSITIVE_INFINITY);return r&&Or(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Or(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Or(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Or(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Or(this.left,n.reverse())}}}function Or(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function x2(e){const t={};let n=-1,r,l,i,a,o,s,c;const d=new e8(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,i=0,i<s.length&&s[i][1].type==="lineEndingBlank"&&(i+=2),i<s.length&&s[i][1].type==="content"))for(;++i<s.length&&s[i][1].type!=="content";)s[i][1].type==="chunkText"&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,t8(d,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,l=void 0;i--;)if(a=d.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(l&&(d.get(l)[1].type="lineEndingBlank"),a[1].type="lineEnding",l=i);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;l&&(r[1].end={...d.get(l)[1].start},o=d.slice(l,n),o.unshift(r),d.splice(l,n-l+1,o))}}return wt(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function t8(e,t){const n=e.get(t)[1],r=e.get(t)[2];let l=t-1;const i=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const o=a.events,s=[],c={};let d,f,m=-1,h=n,x=0,w=0;const H=[w];for(;h;){for(;e.get(++l)[1]!==h;);i.push(l),h._tokenizer||(d=r.sliceStream(h),h.next||d.push(null),f&&a.defineSkip(h.start),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(d),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++m<o.length;)o[m][0]==="exit"&&o[m-1][0]==="enter"&&o[m][1].type===o[m-1][1].type&&o[m][1].start.line!==o[m][1].end.line&&(w=m+1,H.push(w),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(a.events=[],h?(h._tokenizer=void 0,h.previous=void 0):H.pop(),m=H.length;m--;){const g=o.slice(H[m],H[m+1]),y=i.pop();s.push([y,y+g.length-1]),e.splice(y,2,g)}for(s.reverse(),m=-1;++m<s.length;)c[x+s[m][0]]=x+s[m][1],x+=s[m][1]-s[m][0]-1;return c}const n8={resolve:l8,tokenize:i8},r8={partial:!0,tokenize:a8};function l8(e){return x2(e),e}function i8(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),l(o)}function l(o){return o===null?i(o):te(o)?e.check(r8,a,i)(o):(e.consume(o),l)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,l}}function a8(e,t,n){const r=this;return l;function l(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),pe(e,i,"linePrefix")}function i(a){if(a===null||te(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function v2(e,t,n,r,l,i,a,o,s){const c=s||Number.POSITIVE_INFINITY;let d=0;return f;function f(g){return g===60?(e.enter(r),e.enter(l),e.enter(i),e.consume(g),e.exit(i),m):g===null||g===32||g===41||Bi(g)?n(g):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),w(g))}function m(g){return g===62?(e.enter(i),e.consume(g),e.exit(i),e.exit(l),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(g))}function h(g){return g===62?(e.exit("chunkString"),e.exit(o),m(g)):g===null||g===60||te(g)?n(g):(e.consume(g),g===92?x:h)}function x(g){return g===60||g===62||g===92?(e.consume(g),h):h(g)}function w(g){return!d&&(g===null||g===41||ke(g))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(g)):d<c&&g===40?(e.consume(g),d++,w):g===41?(e.consume(g),d--,w):g===null||g===32||g===40||Bi(g)?n(g):(e.consume(g),g===92?H:w)}function H(g){return g===40||g===41||g===92?(e.consume(g),w):w(g)}}function k2(e,t,n,r,l,i){const a=this;let o=0,s;return c;function c(h){return e.enter(r),e.enter(l),e.consume(h),e.exit(l),e.enter(i),d}function d(h){return o>999||h===null||h===91||h===93&&!s||h===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):h===93?(e.exit(i),e.enter(l),e.consume(h),e.exit(l),e.exit(r),t):te(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||te(h)||o++>999?(e.exit("chunkString"),d(h)):(e.consume(h),s||(s=!ue(h)),h===92?m:f)}function m(h){return h===91||h===92||h===93?(e.consume(h),o++,f):f(h)}}function w2(e,t,n,r,l,i){let a;return o;function o(m){return m===34||m===39||m===40?(e.enter(r),e.enter(l),e.consume(m),e.exit(l),a=m===40?41:m,s):n(m)}function s(m){return m===a?(e.enter(l),e.consume(m),e.exit(l),e.exit(r),t):(e.enter(i),c(m))}function c(m){return m===a?(e.exit(i),s(a)):m===null?n(m):te(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),pe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===a||m===null||te(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?f:d)}function f(m){return m===a||m===92?(e.consume(m),d):d(m)}}function il(e,t){let n;return r;function r(l){return te(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,r):ue(l)?pe(e,r,n?"linePrefix":"lineSuffix")(l):t(l)}}const o8={name:"definition",tokenize:u8},s8={partial:!0,tokenize:c8};function u8(e,t,n){const r=this;let l;return i;function i(h){return e.enter("definition"),a(h)}function a(h){return k2.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return l=Zt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),s):n(h)}function s(h){return ke(h)?il(e,c)(h):c(h)}function c(h){return v2(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function d(h){return e.attempt(s8,f,f)(h)}function f(h){return ue(h)?pe(e,m,"whitespace")(h):m(h)}function m(h){return h===null||te(h)?(e.exit("definition"),r.parser.defined.push(l),t(h)):n(h)}}function c8(e,t,n){return r;function r(o){return ke(o)?il(e,l)(o):n(o)}function l(o){return w2(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return ue(o)?pe(e,a,"whitespace")(o):a(o)}function a(o){return o===null||te(o)?t(o):n(o)}}const f8={name:"hardBreakEscape",tokenize:d8};function d8(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),l}function l(i){return te(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const p8={name:"headingAtx",resolve:h8,tokenize:m8};function h8(e,t){let n=e.length-2,r=3,l,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(l={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},wt(e,r,n-r+1,[["enter",l,t],["enter",i,t],["exit",i,t],["exit",l,t]])),e}function m8(e,t,n){let r=0;return l;function l(d){return e.enter("atxHeading"),i(d)}function i(d){return e.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(e.consume(d),a):d===null||ke(d)?(e.exit("atxHeadingSequence"),o(d)):n(d)}function o(d){return d===35?(e.enter("atxHeadingSequence"),s(d)):d===null||te(d)?(e.exit("atxHeading"),t(d)):ue(d)?pe(e,o,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function s(d){return d===35?(e.consume(d),s):(e.exit("atxHeadingSequence"),o(d))}function c(d){return d===null||d===35||ke(d)?(e.exit("atxHeadingText"),o(d)):(e.consume(d),c)}}const g8=["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"],nc=["pre","script","style","textarea"],y8={concrete:!0,name:"htmlFlow",resolveTo:k8,tokenize:w8},x8={partial:!0,tokenize:S8},v8={partial:!0,tokenize:E8};function k8(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function w8(e,t,n){const r=this;let l,i,a,o,s;return c;function c(S){return d(S)}function d(S){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(S),f}function f(S){return S===33?(e.consume(S),m):S===47?(e.consume(S),i=!0,w):S===63?(e.consume(S),l=3,r.interrupt?t:k):rt(S)?(e.consume(S),a=String.fromCharCode(S),H):n(S)}function m(S){return S===45?(e.consume(S),l=2,h):S===91?(e.consume(S),l=5,o=0,x):rt(S)?(e.consume(S),l=4,r.interrupt?t:k):n(S)}function h(S){return S===45?(e.consume(S),r.interrupt?t:k):n(S)}function x(S){const ye="CDATA[";return S===ye.charCodeAt(o++)?(e.consume(S),o===ye.length?r.interrupt?t:U:x):n(S)}function w(S){return rt(S)?(e.consume(S),a=String.fromCharCode(S),H):n(S)}function H(S){if(S===null||S===47||S===62||ke(S)){const ye=S===47,Re=a.toLowerCase();return!ye&&!i&&nc.includes(Re)?(l=1,r.interrupt?t(S):U(S)):g8.includes(a.toLowerCase())?(l=6,ye?(e.consume(S),g):r.interrupt?t(S):U(S)):(l=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(S):i?y(S):v(S))}return S===45||Je(S)?(e.consume(S),a+=String.fromCharCode(S),H):n(S)}function g(S){return S===62?(e.consume(S),r.interrupt?t:U):n(S)}function y(S){return ue(S)?(e.consume(S),y):M(S)}function v(S){return S===47?(e.consume(S),M):S===58||S===95||rt(S)?(e.consume(S),L):ue(S)?(e.consume(S),v):M(S)}function L(S){return S===45||S===46||S===58||S===95||Je(S)?(e.consume(S),L):P(S)}function P(S){return S===61?(e.consume(S),E):ue(S)?(e.consume(S),P):v(S)}function E(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),s=S,F):ue(S)?(e.consume(S),E):_(S)}function F(S){return S===s?(e.consume(S),s=null,Q):S===null||te(S)?n(S):(e.consume(S),F)}function _(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||ke(S)?P(S):(e.consume(S),_)}function Q(S){return S===47||S===62||ue(S)?v(S):n(S)}function M(S){return S===62?(e.consume(S),O):n(S)}function O(S){return S===null||te(S)?U(S):ue(S)?(e.consume(S),O):n(S)}function U(S){return S===45&&l===2?(e.consume(S),fe):S===60&&l===1?(e.consume(S),b):S===62&&l===4?(e.consume(S),ie):S===63&&l===3?(e.consume(S),k):S===93&&l===5?(e.consume(S),Y):te(S)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(x8,de,ae)(S)):S===null||te(S)?(e.exit("htmlFlowData"),ae(S)):(e.consume(S),U)}function ae(S){return e.check(v8,re,de)(S)}function re(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),J}function J(S){return S===null||te(S)?ae(S):(e.enter("htmlFlowData"),U(S))}function fe(S){return S===45?(e.consume(S),k):U(S)}function b(S){return S===47?(e.consume(S),a="",V):U(S)}function V(S){if(S===62){const ye=a.toLowerCase();return nc.includes(ye)?(e.consume(S),ie):U(S)}return rt(S)&&a.length<8?(e.consume(S),a+=String.fromCharCode(S),V):U(S)}function Y(S){return S===93?(e.consume(S),k):U(S)}function k(S){return S===62?(e.consume(S),ie):S===45&&l===2?(e.consume(S),k):U(S)}function ie(S){return S===null||te(S)?(e.exit("htmlFlowData"),de(S)):(e.consume(S),ie)}function de(S){return e.exit("htmlFlow"),t(S)}}function E8(e,t,n){const r=this;return l;function l(a){return te(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function S8(e,t,n){return r;function r(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(Il,t,n)}}const A8={name:"htmlText",tokenize:C8};function C8(e,t,n){const r=this;let l,i,a;return o;function o(k){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(k),s}function s(k){return k===33?(e.consume(k),c):k===47?(e.consume(k),P):k===63?(e.consume(k),v):rt(k)?(e.consume(k),_):n(k)}function c(k){return k===45?(e.consume(k),d):k===91?(e.consume(k),i=0,x):rt(k)?(e.consume(k),y):n(k)}function d(k){return k===45?(e.consume(k),h):n(k)}function f(k){return k===null?n(k):k===45?(e.consume(k),m):te(k)?(a=f,b(k)):(e.consume(k),f)}function m(k){return k===45?(e.consume(k),h):f(k)}function h(k){return k===62?fe(k):k===45?m(k):f(k)}function x(k){const ie="CDATA[";return k===ie.charCodeAt(i++)?(e.consume(k),i===ie.length?w:x):n(k)}function w(k){return k===null?n(k):k===93?(e.consume(k),H):te(k)?(a=w,b(k)):(e.consume(k),w)}function H(k){return k===93?(e.consume(k),g):w(k)}function g(k){return k===62?fe(k):k===93?(e.consume(k),g):w(k)}function y(k){return k===null||k===62?fe(k):te(k)?(a=y,b(k)):(e.consume(k),y)}function v(k){return k===null?n(k):k===63?(e.consume(k),L):te(k)?(a=v,b(k)):(e.consume(k),v)}function L(k){return k===62?fe(k):v(k)}function P(k){return rt(k)?(e.consume(k),E):n(k)}function E(k){return k===45||Je(k)?(e.consume(k),E):F(k)}function F(k){return te(k)?(a=F,b(k)):ue(k)?(e.consume(k),F):fe(k)}function _(k){return k===45||Je(k)?(e.consume(k),_):k===47||k===62||ke(k)?Q(k):n(k)}function Q(k){return k===47?(e.consume(k),fe):k===58||k===95||rt(k)?(e.consume(k),M):te(k)?(a=Q,b(k)):ue(k)?(e.consume(k),Q):fe(k)}function M(k){return k===45||k===46||k===58||k===95||Je(k)?(e.consume(k),M):O(k)}function O(k){return k===61?(e.consume(k),U):te(k)?(a=O,b(k)):ue(k)?(e.consume(k),O):Q(k)}function U(k){return k===null||k===60||k===61||k===62||k===96?n(k):k===34||k===39?(e.consume(k),l=k,ae):te(k)?(a=U,b(k)):ue(k)?(e.consume(k),U):(e.consume(k),re)}function ae(k){return k===l?(e.consume(k),l=void 0,J):k===null?n(k):te(k)?(a=ae,b(k)):(e.consume(k),ae)}function re(k){return k===null||k===34||k===39||k===60||k===61||k===96?n(k):k===47||k===62||ke(k)?Q(k):(e.consume(k),re)}function J(k){return k===47||k===62||ke(k)?Q(k):n(k)}function fe(k){return k===62?(e.consume(k),e.exit("htmlTextData"),e.exit("htmlText"),t):n(k)}function b(k){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),V}function V(k){return ue(k)?pe(e,Y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):Y(k)}function Y(k){return e.enter("htmlTextData"),a(k)}}const yu={name:"labelEnd",resolveAll:N8,resolveTo:H8,tokenize:j8},M8={tokenize:T8},b8={tokenize:I8},L8={tokenize:P8};function N8(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const l=r.type==="labelImage"?4:2;r.type="data",t+=l}}return e.length!==n.length&&wt(e,0,e.length,n),e}function H8(e,t){let n=e.length,r=0,l,i,a,o;for(;n--;)if(l=e[n][1],i){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;e[n][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(i=n,l.type!=="labelLink")){r=2;break}}else l.type==="labelEnd"&&(a=n);const s={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[i][1].start},end:{...e[a][1].end}},d={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",s,t],["enter",c,t]],o=bt(o,e.slice(i+1,i+r+3)),o=bt(o,[["enter",d,t]]),o=bt(o,pa(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=bt(o,[["exit",d,t],e[a-2],e[a-1],["exit",c,t]]),o=bt(o,e.slice(a+1)),o=bt(o,[["exit",s,t]]),wt(e,i,e.length,o),e}function j8(e,t,n){const r=this;let l=r.events.length,i,a;for(;l--;)if((r.events[l][1].type==="labelImage"||r.events[l][1].type==="labelLink")&&!r.events[l][1]._balanced){i=r.events[l][1];break}return o;function o(m){return i?i._inactive?f(m):(a=r.parser.defined.includes(Zt(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),s):n(m)}function s(m){return m===40?e.attempt(M8,d,a?d:f)(m):m===91?e.attempt(b8,d,a?c:f)(m):a?d(m):f(m)}function c(m){return e.attempt(L8,d,f)(m)}function d(m){return t(m)}function f(m){return i._balanced=!0,n(m)}}function T8(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),l}function l(f){return ke(f)?il(e,i)(f):i(f)}function i(f){return f===41?d(f):v2(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return ke(f)?il(e,s)(f):d(f)}function o(f){return n(f)}function s(f){return f===34||f===39||f===40?w2(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function c(f){return ke(f)?il(e,d)(f):d(f)}function d(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function I8(e,t,n){const r=this;return l;function l(o){return k2.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(Zt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function P8(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),l}function l(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const F8={name:"labelStartImage",resolveAll:yu.resolveAll,tokenize:_8};function _8(e,t,n){const r=this;return l;function l(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const R8={name:"labelStartLink",resolveAll:yu.resolveAll,tokenize:Z8};function Z8(e,t,n){const r=this;return l;function l(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const qa={name:"lineEnding",tokenize:z8};function z8(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),pe(e,t,"linePrefix")}}const gi={name:"thematicBreak",tokenize:V8};function V8(e,t,n){let r=0,l;return i;function i(c){return e.enter("thematicBreak"),a(c)}function a(c){return l=c,o(c)}function o(c){return c===l?(e.enter("thematicBreakSequence"),s(c)):r>=3&&(c===null||te(c))?(e.exit("thematicBreak"),t(c)):n(c)}function s(c){return c===l?(e.consume(c),r++,s):(e.exit("thematicBreakSequence"),ue(c)?pe(e,o,"whitespace")(c):o(c))}}const st={continuation:{tokenize:B8},exit:W8,name:"list",tokenize:$8},D8={partial:!0,tokenize:q8},O8={partial:!0,tokenize:U8};function $8(e,t,n){const r=this,l=r.events[r.events.length-1];let i=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,a=0;return o;function o(h){const x=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:as(h)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(gi,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(h)}return n(h)}function s(h){return as(h)&&++a<10?(e.consume(h),s):(!r.interrupt||a<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(Il,r.interrupt?n:d,e.attempt(D8,m,f))}function d(h){return r.containerState.initialBlankLine=!0,i++,m(h)}function f(h){return ue(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),m):n(h)}function m(h){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function B8(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Il,l,i);function l(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,pe(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!ue(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(O8,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,pe(e,e.attempt(st,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function U8(e,t,n){const r=this;return pe(e,l,"listItemIndent",r.containerState.size+1);function l(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function W8(e){e.exit(this.containerState.type)}function q8(e,t,n){const r=this;return pe(e,l,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(i){const a=r.events[r.events.length-1];return!ue(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const rc={name:"setextUnderline",resolveTo:Q8,tokenize:X8};function Q8(e,t){let n=e.length,r,l,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(l=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[l][1].type="setextHeadingText",i?(e.splice(l,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function X8(e,t,n){const r=this;let l;return i;function i(c){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),l=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===l?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),ue(c)?pe(e,s,"lineSuffix")(c):s(c))}function s(c){return c===null||te(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Y8={tokenize:K8};function K8(e){const t=this,n=e.attempt(Il,r,e.attempt(this.parser.constructs.flowInitial,l,pe(e,e.attempt(this.parser.constructs.flow,l,e.attempt(n8,l)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function l(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const G8={resolveAll:S2()},J8=E2("string"),e6=E2("text");function E2(e){return{resolveAll:S2(e==="text"?t6:void 0),tokenize:t};function t(n){const r=this,l=this.parser.constructs[e],i=n.attempt(l,a,o);return a;function a(d){return c(d)?i(d):o(d)}function o(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),s}function s(d){return c(d)?(n.exit("data"),i(d)):(n.consume(d),s)}function c(d){if(d===null)return!0;const f=l[d];let m=-1;if(f)for(;++m<f.length;){const h=f[m];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function S2(e){return t;function t(n,r){let l=-1,i;for(;++l<=n.length;)i===void 0?n[l]&&n[l][1].type==="data"&&(i=l,l++):(!n[l]||n[l][1].type!=="data")&&(l!==i+2&&(n[i][1].end=n[l-1][1].end,n.splice(i+2,l-i-2),l=i+2),i=void 0);return e?e(n,r):n}}function t6(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],l=t.sliceStream(r);let i=l.length,a=-1,o=0,s;for(;i--;){const c=l[i];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)s=!0,o++;else if(c!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||s||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?a:r.start._bufferIndex+a,_index:r.start._index+i,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const n6={42:st,43:st,45:st,48:st,49:st,50:st,51:st,52:st,53:st,54:st,55:st,56:st,57:st,62:m2},r6={91:o8},l6={[-2]:Wa,[-1]:Wa,32:Wa},i6={35:p8,42:gi,45:[rc,gi],60:y8,61:rc,95:gi,96:tc,126:tc},a6={38:y2,92:g2},o6={[-5]:qa,[-4]:qa,[-3]:qa,33:F8,38:y2,42:os,60:[R4,A8],91:R8,92:[f8,g2],93:yu,95:os,96:Y4},s6={null:[os,G8]},u6={null:[42,95]},c6={null:[]},f6=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:u6,contentInitial:r6,disable:c6,document:n6,flow:i6,flowInitial:l6,insideSpan:s6,string:a6,text:o6},Symbol.toStringTag,{value:"Module"}));function d6(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const l={},i=[];let a=[],o=[];const s={attempt:F(P),check:F(E),consume:y,enter:v,exit:L,interrupt:F(E,{interrupt:!0})},c={code:null,containerState:{},defineSkip:w,events:[],now:x,parser:e,previous:null,sliceSerialize:m,sliceStream:h,write:f};let d=t.tokenize.call(c,s);return t.resolveAll&&i.push(t),c;function f(O){return a=bt(a,O),H(),a[a.length-1]!==null?[]:(_(t,0),c.events=pa(i,c.events,c),c.events)}function m(O,U){return h6(h(O),U)}function h(O){return p6(a,O)}function x(){const{_bufferIndex:O,_index:U,line:ae,column:re,offset:J}=r;return{_bufferIndex:O,_index:U,line:ae,column:re,offset:J}}function w(O){l[O.line]=O.column,M()}function H(){let O;for(;r._index<a.length;){const U=a[r._index];if(typeof U=="string")for(O=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===O&&r._bufferIndex<U.length;)g(U.charCodeAt(r._bufferIndex));else g(U)}}function g(O){d=d(O)}function y(O){te(O)?(r.line++,r.column=1,r.offset+=O===-3?2:1,M()):O!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=O}function v(O,U){const ae=U||{};return ae.type=O,ae.start=x(),c.events.push(["enter",ae,c]),o.push(ae),ae}function L(O){const U=o.pop();return U.end=x(),c.events.push(["exit",U,c]),U}function P(O,U){_(O,U.from)}function E(O,U){U.restore()}function F(O,U){return ae;function ae(re,J,fe){let b,V,Y,k;return Array.isArray(re)?de(re):"tokenize"in re?de([re]):ie(re);function ie(ge){return Fe;function Fe(ot){const Xe=ot!==null&&ge[ot],mt=ot!==null&&ge.null,gt=[...Array.isArray(Xe)?Xe:Xe?[Xe]:[],...Array.isArray(mt)?mt:mt?[mt]:[]];return de(gt)(ot)}}function de(ge){return b=ge,V=0,ge.length===0?fe:S(ge[V])}function S(ge){return Fe;function Fe(ot){return k=Q(),Y=ge,ge.partial||(c.currentConstruct=ge),ge.name&&c.parser.constructs.disable.null.includes(ge.name)?Re():ge.tokenize.call(U?Object.assign(Object.create(c),U):c,s,ye,Re)(ot)}}function ye(ge){return O(Y,k),J}function Re(ge){return k.restore(),++V<b.length?S(b[V]):fe}}}function _(O,U){O.resolveAll&&!i.includes(O)&&i.push(O),O.resolve&&wt(c.events,U,c.events.length-U,O.resolve(c.events.slice(U),c)),O.resolveTo&&(c.events=O.resolveTo(c.events,c))}function Q(){const O=x(),U=c.previous,ae=c.currentConstruct,re=c.events.length,J=Array.from(o);return{from:re,restore:fe};function fe(){r=O,c.previous=U,c.currentConstruct=ae,c.events.length=re,o=J,M()}}function M(){r.line in l&&r.column<2&&(r.column=l[r.line],r.offset+=l[r.line]-1)}}function p6(e,t){const n=t.start._index,r=t.start._bufferIndex,l=t.end._index,i=t.end._bufferIndex;let a;if(n===l)a=[e[n].slice(r,i)];else{if(a=e.slice(n,l),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}i>0&&a.push(e[l].slice(0,i))}return a}function h6(e,t){let n=-1;const r=[];let l;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
43
+ `;break}case-3:{a=`\r
44
+ `;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&l)continue;a=" ";break}default:a=String.fromCharCode(i)}l=i===-2,r.push(a)}return r.join("")}function m6(e){const r={constructs:p2([f6,...(e||{}).extensions||[]]),content:l(H4),defined:[],document:l(T4),flow:l(Y8),lazy:{},string:l(J8),text:l(e6)};return r;function l(i){return a;function a(o){return d6(r,i,o)}}}function g6(e){for(;!x2(e););return e}const lc=/[\0\t\n\r]/g;function y6(){let e=1,t="",n=!0,r;return l;function l(i,a,o){const s=[];let c,d,f,m,h;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(lc.lastIndex=f,c=lc.exec(i),m=c&&c.index!==void 0?c.index:i.length,h=i.charCodeAt(m),!c){t=i.slice(f);break}if(h===10&&f===m&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),f<m&&(s.push(i.slice(f,m)),e+=m-f),h){case 0:{s.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,s.push(-2);e++<d;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}f=m+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}const x6=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function v6(e){return e.replace(x6,k6)}function k6(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const l=n.charCodeAt(1),i=l===120||l===88;return h2(n.slice(i?2:1),i?16:10)}return gu(n)||e}const A2={}.hasOwnProperty;function w6(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),E6(n)(g6(m6(n).document().write(y6()(e,t,!0))))}function E6(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(se),autolinkProtocol:Q,autolinkEmail:Q,atxHeading:i(Vt),blockQuote:i(mt),characterEscape:Q,characterReference:Q,codeFenced:i(gt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(gt,a),codeText:i(an,a),codeTextData:Q,data:Q,codeFlowValue:Q,definition:i(on),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(sn),hardBreakEscape:i(R),hardBreakTrailing:i(R),htmlFlow:i(ee,a),htmlFlowData:Q,htmlText:i(ee,a),htmlTextData:Q,image:i(B),label:a,link:i(se),listItem:i(N),listItemValue:m,listOrdered:i(ne,f),listUnordered:i(ne),paragraph:i(I),reference:S,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Vt),strong:i(A),thematicBreak:i(j)},exit:{atxHeading:s(),atxHeadingSequence:P,autolink:s(),autolinkEmail:Xe,autolinkProtocol:ot,blockQuote:s(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:Re,characterReferenceMarkerNumeric:Re,characterReferenceValue:ge,characterReference:Fe,codeFenced:s(H),codeFencedFence:w,codeFencedFenceInfo:h,codeFencedFenceMeta:x,codeFlowValue:M,codeIndented:s(g),codeText:s(J),codeTextData:M,data:M,definition:s(),definitionDestinationString:L,definitionLabelString:y,definitionTitleString:v,emphasis:s(),hardBreakEscape:s(U),hardBreakTrailing:s(U),htmlFlow:s(ae),htmlFlowData:M,htmlText:s(re),htmlTextData:M,image:s(b),label:Y,labelText:V,lineEnding:O,link:s(fe),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:ye,resourceDestinationString:k,resourceTitleString:ie,resource:de,setextHeading:s(_),setextHeadingLineSequence:F,setextHeadingText:E,strong:s(),thematicBreak:s()}};C2(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(C){let T={type:"root",children:[]};const $={stack:[T],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:d,data:n},K=[];let G=-1;for(;++G<C.length;)if(C[G][1].type==="listOrdered"||C[G][1].type==="listUnordered")if(C[G][0]==="enter")K.push(G);else{const le=K.pop();G=l(C,le,G)}for(G=-1;++G<C.length;){const le=t[C[G][0]];A2.call(le,C[G][1].type)&&le[C[G][1].type].call(Object.assign({sliceSerialize:C[G][2].sliceSerialize},$),C[G][1])}if($.tokenStack.length>0){const le=$.tokenStack[$.tokenStack.length-1];(le[1]||ic).call($,void 0,le[0])}for(T.position={start:cn(C.length>0?C[0][1].start:{line:1,column:1,offset:0}),end:cn(C.length>0?C[C.length-2][1].end:{line:1,column:1,offset:0})},G=-1;++G<t.transforms.length;)T=t.transforms[G](T)||T;return T}function l(C,T,$){let K=T-1,G=-1,le=!1,Ie,Ne,Be,Se;for(;++K<=$;){const be=C[K];switch(be[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{be[0]==="enter"?G++:G--,Se=void 0;break}case"lineEndingBlank":{be[0]==="enter"&&(Ie&&!Se&&!G&&!Be&&(Be=K),Se=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Se=void 0}if(!G&&be[0]==="enter"&&be[1].type==="listItemPrefix"||G===-1&&be[0]==="exit"&&(be[1].type==="listUnordered"||be[1].type==="listOrdered")){if(Ie){let D=K;for(Ne=void 0;D--;){const W=C[D];if(W[1].type==="lineEnding"||W[1].type==="lineEndingBlank"){if(W[0]==="exit")continue;Ne&&(C[Ne][1].type="lineEndingBlank",le=!0),W[1].type="lineEnding",Ne=D}else if(!(W[1].type==="linePrefix"||W[1].type==="blockQuotePrefix"||W[1].type==="blockQuotePrefixWhitespace"||W[1].type==="blockQuoteMarker"||W[1].type==="listItemIndent"))break}Be&&(!Ne||Be<Ne)&&(Ie._spread=!0),Ie.end=Object.assign({},Ne?C[Ne][1].start:be[1].end),C.splice(Ne||K,0,["exit",Ie,be[2]]),K++,$++}if(be[1].type==="listItemPrefix"){const D={type:"listItem",_spread:!1,start:Object.assign({},be[1].start),end:void 0};Ie=D,C.splice(K,0,["enter",D,be[2]]),K++,$++,Be=void 0,Se=!0}}}return C[T][1]._spread=le,$}function i(C,T){return $;function $(K){o.call(this,C(K),K),T&&T.call(this,K)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(C,T,$){this.stack[this.stack.length-1].children.push(C),this.stack.push(C),this.tokenStack.push([T,$||void 0]),C.position={start:cn(T.start),end:void 0}}function s(C){return T;function T($){C&&C.call(this,$),c.call(this,$)}}function c(C,T){const $=this.stack.pop(),K=this.tokenStack.pop();if(K)K[0].type!==C.type&&(T?T.call(this,C,K[0]):(K[1]||ic).call(this,C,K[0]));else throw new Error("Cannot close `"+C.type+"` ("+ll({start:C.start,end:C.end})+"): it’s not open");$.position.end=cn(C.end)}function d(){return mu(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(C){if(this.data.expectingFirstListItemValue){const T=this.stack[this.stack.length-2];T.start=Number.parseInt(this.sliceSerialize(C),10),this.data.expectingFirstListItemValue=void 0}}function h(){const C=this.resume(),T=this.stack[this.stack.length-1];T.lang=C}function x(){const C=this.resume(),T=this.stack[this.stack.length-1];T.meta=C}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function H(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function g(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C.replace(/(\r?\n|\r)$/g,"")}function y(C){const T=this.resume(),$=this.stack[this.stack.length-1];$.label=T,$.identifier=Zt(this.sliceSerialize(C)).toLowerCase()}function v(){const C=this.resume(),T=this.stack[this.stack.length-1];T.title=C}function L(){const C=this.resume(),T=this.stack[this.stack.length-1];T.url=C}function P(C){const T=this.stack[this.stack.length-1];if(!T.depth){const $=this.sliceSerialize(C).length;T.depth=$}}function E(){this.data.setextHeadingSlurpLineEnding=!0}function F(C){const T=this.stack[this.stack.length-1];T.depth=this.sliceSerialize(C).codePointAt(0)===61?1:2}function _(){this.data.setextHeadingSlurpLineEnding=void 0}function Q(C){const $=this.stack[this.stack.length-1].children;let K=$[$.length-1];(!K||K.type!=="text")&&(K=X(),K.position={start:cn(C.start),end:void 0},$.push(K)),this.stack.push(K)}function M(C){const T=this.stack.pop();T.value+=this.sliceSerialize(C),T.position.end=cn(C.end)}function O(C){const T=this.stack[this.stack.length-1];if(this.data.atHardBreak){const $=T.children[T.children.length-1];$.position.end=cn(C.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(T.type)&&(Q.call(this,C),M.call(this,C))}function U(){this.data.atHardBreak=!0}function ae(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C}function re(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C}function J(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C}function fe(){const C=this.stack[this.stack.length-1];if(this.data.inReference){const T=this.data.referenceType||"shortcut";C.type+="Reference",C.referenceType=T,delete C.url,delete C.title}else delete C.identifier,delete C.label;this.data.referenceType=void 0}function b(){const C=this.stack[this.stack.length-1];if(this.data.inReference){const T=this.data.referenceType||"shortcut";C.type+="Reference",C.referenceType=T,delete C.url,delete C.title}else delete C.identifier,delete C.label;this.data.referenceType=void 0}function V(C){const T=this.sliceSerialize(C),$=this.stack[this.stack.length-2];$.label=v6(T),$.identifier=Zt(T).toLowerCase()}function Y(){const C=this.stack[this.stack.length-1],T=this.resume(),$=this.stack[this.stack.length-1];if(this.data.inReference=!0,$.type==="link"){const K=C.children;$.children=K}else $.alt=T}function k(){const C=this.resume(),T=this.stack[this.stack.length-1];T.url=C}function ie(){const C=this.resume(),T=this.stack[this.stack.length-1];T.title=C}function de(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function ye(C){const T=this.resume(),$=this.stack[this.stack.length-1];$.label=T,$.identifier=Zt(this.sliceSerialize(C)).toLowerCase(),this.data.referenceType="full"}function Re(C){this.data.characterReferenceType=C.type}function ge(C){const T=this.sliceSerialize(C),$=this.data.characterReferenceType;let K;$?(K=h2(T,$==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):K=gu(T);const G=this.stack[this.stack.length-1];G.value+=K}function Fe(C){const T=this.stack.pop();T.position.end=cn(C.end)}function ot(C){M.call(this,C);const T=this.stack[this.stack.length-1];T.url=this.sliceSerialize(C)}function Xe(C){M.call(this,C);const T=this.stack[this.stack.length-1];T.url="mailto:"+this.sliceSerialize(C)}function mt(){return{type:"blockquote",children:[]}}function gt(){return{type:"code",lang:null,meta:null,value:""}}function an(){return{type:"inlineCode",value:""}}function on(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function sn(){return{type:"emphasis",children:[]}}function Vt(){return{type:"heading",depth:0,children:[]}}function R(){return{type:"break"}}function ee(){return{type:"html",value:""}}function B(){return{type:"image",title:null,url:"",alt:null}}function se(){return{type:"link",title:null,url:"",children:[]}}function ne(C){return{type:"list",ordered:C.type==="listOrdered",start:null,spread:C._spread,children:[]}}function N(C){return{type:"listItem",spread:C._spread,checked:null,children:[]}}function I(){return{type:"paragraph",children:[]}}function A(){return{type:"strong",children:[]}}function X(){return{type:"text",value:""}}function j(){return{type:"thematicBreak"}}}function cn(e){return{line:e.line,column:e.column,offset:e.offset}}function C2(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?C2(e,r):S6(e,r)}}function S6(e,t){let n;for(n in t)if(A2.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function ic(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ll({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ll({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ll({start:t.start,end:t.end})+") is still open")}function A6(e){const t=this;t.parser=n;function n(r){return w6(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function C6(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function M6(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
45
+ `}]}function b6(e,t){const n=t.value?t.value+`
46
+ `:"",r={},l=t.lang?t.lang.split(/\s+/):[];l.length>0&&(r.className=["language-"+l[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function L6(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function N6(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function H6(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),l=Ir(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,o+=1,e.footnoteCounts.set(r,o);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+l,id:n+"fnref-"+l+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const c={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,c),e.applyData(t,c)}function j6(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function T6(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function M2(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const l=e.all(t),i=l[0];i&&i.type==="text"?i.value="["+i.value:l.unshift({type:"text",value:"["});const a=l[l.length-1];return a&&a.type==="text"?a.value+=r:l.push({type:"text",value:r}),l}function I6(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return M2(e,t);const l={src:Ir(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(l.title=r.title);const i={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,i),e.applyData(t,i)}function P6(e,t){const n={src:Ir(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function F6(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function _6(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return M2(e,t);const l={href:Ir(r.url||"")};r.title!==null&&r.title!==void 0&&(l.title=r.title);const i={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function R6(e,t){const n={href:Ir(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Z6(e,t,n){const r=e.all(t),l=n?z6(n):b2(t),i={},a=[];if(typeof t.checked=="boolean"){const d=r[0];let f;d&&d.type==="element"&&d.tagName==="p"?f=d:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const d=r[o];(l||o!==0||d.type!=="element"||d.tagName!=="p")&&a.push({type:"text",value:`
47
+ `}),d.type==="element"&&d.tagName==="p"&&!l?a.push(...d.children):a.push(d)}const s=r[r.length-1];s&&(l||s.type!=="element"||s.tagName!=="p")&&a.push({type:"text",value:`
48
+ `});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function z6(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=b2(n[r])}return t}function b2(e){const t=e.spread;return t??e.children.length>1}function V6(e,t){const n={},r=e.all(t);let l=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++l<r.length;){const a=r[l];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function D6(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function O6(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function $6(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function B6(e,t){const n=e.all(t),r=n.shift(),l=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),l.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=fu(t.children[1]),s=a2(t.children[t.children.length-1]);o&&s&&(a.position={start:o,end:s}),l.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,i),e.applyData(t,i)}function U6(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let s=-1;const c=[];for(;++s<o;){const f=t.children[s],m={},h=a?a[s]:void 0;h&&(m.align=h);let x={type:"element",tagName:i,properties:m,children:[]};f&&(x.children=e.all(f),e.patch(f,x),x=e.applyData(f,x)),c.push(x)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,d),e.applyData(t,d)}function W6(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ac=9,oc=32;function q6(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),l=0;const i=[];for(;r;)i.push(sc(t.slice(l,r.index),l>0,!0),r[0]),l=r.index+r[0].length,r=n.exec(t);return i.push(sc(t.slice(l),l>0,!1)),i.join("")}function sc(e,t,n){let r=0,l=e.length;if(t){let i=e.codePointAt(r);for(;i===ac||i===oc;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(l-1);for(;i===ac||i===oc;)l--,i=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}function Q6(e,t){const n={type:"text",value:q6(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function X6(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Y6={blockquote:C6,break:M6,code:b6,delete:L6,emphasis:N6,footnoteReference:H6,heading:j6,html:T6,imageReference:I6,image:P6,inlineCode:F6,linkReference:_6,link:R6,listItem:Z6,list:V6,paragraph:D6,root:O6,strong:$6,table:B6,tableCell:W6,tableRow:U6,text:Q6,thematicBreak:X6,toml:Jl,yaml:Jl,definition:Jl,footnoteDefinition:Jl};function Jl(){}const L2=-1,ha=0,al=1,Ui=2,xu=3,vu=4,ku=5,wu=6,N2=7,H2=8,K6=typeof self=="object"?self:globalThis,uc=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new K6[e](t)},G6=(e,t)=>{const n=(l,i)=>(e.set(i,l),l),r=l=>{if(e.has(l))return e.get(l);const[i,a]=t[l];switch(i){case ha:case L2:return n(a,l);case al:{const o=n([],l);for(const s of a)o.push(r(s));return o}case Ui:{const o=n({},l);for(const[s,c]of a)o[r(s)]=r(c);return o}case xu:return n(new Date(a),l);case vu:{const{source:o,flags:s}=a;return n(new RegExp(o,s),l)}case ku:{const o=n(new Map,l);for(const[s,c]of a)o.set(r(s),r(c));return o}case wu:{const o=n(new Set,l);for(const s of a)o.add(r(s));return o}case N2:{const{name:o,message:s}=a;return n(uc(o,s),l)}case H2:return n(BigInt(a),l);case"BigInt":return n(Object(BigInt(a)),l);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:o}=new Uint8Array(a);return n(new DataView(o),a)}}return n(uc(i,a),l)};return r},cc=e=>G6(new Map,e)(0),Gn="",{toString:J6}={},{keys:eg}=Object,$r=e=>{const t=typeof e;if(t!=="object"||!e)return[ha,t];const n=J6.call(e).slice(8,-1);switch(n){case"Array":return[al,Gn];case"Object":return[Ui,Gn];case"Date":return[xu,Gn];case"RegExp":return[vu,Gn];case"Map":return[ku,Gn];case"Set":return[wu,Gn];case"DataView":return[al,n]}return n.includes("Array")?[al,n]:n.includes("Error")?[N2,n]:[Ui,n]},ei=([e,t])=>e===ha&&(t==="function"||t==="symbol"),tg=(e,t,n,r)=>{const l=(a,o)=>{const s=r.push(a)-1;return n.set(o,s),s},i=a=>{if(n.has(a))return n.get(a);let[o,s]=$r(a);switch(o){case ha:{let d=a;switch(s){case"bigint":o=H2,d=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);d=null;break;case"undefined":return l([L2],a)}return l([o,d],a)}case al:{if(s){let m=a;return s==="DataView"?m=new Uint8Array(a.buffer):s==="ArrayBuffer"&&(m=new Uint8Array(a)),l([s,[...m]],a)}const d=[],f=l([o,d],a);for(const m of a)d.push(i(m));return f}case Ui:{if(s)switch(s){case"BigInt":return l([s,a.toString()],a);case"Boolean":case"Number":case"String":return l([s,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const d=[],f=l([o,d],a);for(const m of eg(a))(e||!ei($r(a[m])))&&d.push([i(m),i(a[m])]);return f}case xu:return l([o,a.toISOString()],a);case vu:{const{source:d,flags:f}=a;return l([o,{source:d,flags:f}],a)}case ku:{const d=[],f=l([o,d],a);for(const[m,h]of a)(e||!(ei($r(m))||ei($r(h))))&&d.push([i(m),i(h)]);return f}case wu:{const d=[],f=l([o,d],a);for(const m of a)(e||!ei($r(m)))&&d.push(i(m));return f}}const{message:c}=a;return l([o,{name:s,message:c}],a)};return i},fc=(e,{json:t,lossy:n}={})=>{const r=[];return tg(!(t||n),!!t,new Map,r)(e),r},Wi=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?cc(fc(e,t)):structuredClone(e):(e,t)=>cc(fc(e,t));function ng(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function rg(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function lg(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||ng,r=e.options.footnoteBackLabel||rg,l=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let s=-1;for(;++s<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[s]);if(!c)continue;const d=e.all(c),f=String(c.identifier).toUpperCase(),m=Ir(f.toLowerCase());let h=0;const x=[],w=e.footnoteCounts.get(f);for(;w!==void 0&&++h<=w;){x.length>0&&x.push({type:"text",value:" "});let y=typeof n=="string"?n:n(s,h);typeof y=="string"&&(y={type:"text",value:y}),x.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(s,h),className:["data-footnote-backref"]},children:Array.isArray(y)?y:[y]})}const H=d[d.length-1];if(H&&H.type==="element"&&H.tagName==="p"){const y=H.children[H.children.length-1];y&&y.type==="text"?y.value+=" ":H.children.push({type:"text",value:" "}),H.children.push(...x)}else d.push(...x);const g={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(d,!0)};e.patch(c,g),o.push(g)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Wi(a),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:`
49
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
50
+ `}]}}const ma=function(e){if(e==null)return sg;if(typeof e=="function")return ga(e);if(typeof e=="object")return Array.isArray(e)?ig(e):ag(e);if(typeof e=="string")return og(e);throw new Error("Expected function, string, or object as test")};function ig(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ma(e[n]);return ga(r);function r(...l){let i=-1;for(;++i<t.length;)if(t[i].apply(this,l))return!0;return!1}}function ag(e){const t=e;return ga(n);function n(r){const l=r;let i;for(i in e)if(l[i]!==t[i])return!1;return!0}}function og(e){return ga(t);function t(n){return n&&n.type===e}}function ga(e){return t;function t(n,r,l){return!!(ug(n)&&e.call(this,n,typeof r=="number"?r:void 0,l||void 0))}}function sg(){return!0}function ug(e){return e!==null&&typeof e=="object"&&"type"in e}const j2=[],cg=!0,ss=!1,fg="skip";function T2(e,t,n,r){let l;typeof t=="function"&&typeof n!="function"?(r=n,n=t):l=t;const i=ma(l),a=r?-1:1;o(e,void 0,[])();function o(s,c,d){const f=s&&typeof s=="object"?s:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(s.type+(h?"<"+h+">":""))+")"})}return m;function m(){let h=j2,x,w,H;if((!t||i(s,c,d[d.length-1]||void 0))&&(h=dg(n(s,d)),h[0]===ss))return h;if("children"in s&&s.children){const g=s;if(g.children&&h[0]!==fg)for(w=(r?g.children.length:-1)+a,H=d.concat(g);w>-1&&w<g.children.length;){const y=g.children[w];if(x=o(y,w,H)(),x[0]===ss)return x;w=typeof x[1]=="number"?x[1]:w+a}}return h}}}function dg(e){return Array.isArray(e)?e:typeof e=="number"?[cg,e]:e==null?j2:[e]}function Eu(e,t,n,r){let l,i,a;typeof t=="function"&&typeof n!="function"?(i=void 0,a=t,l=n):(i=t,a=n,l=r),T2(e,i,o,l);function o(s,c){const d=c[c.length-1],f=d?d.children.indexOf(s):void 0;return a(s,f,d)}}const us={}.hasOwnProperty,pg={};function hg(e,t){const n=t||pg,r=new Map,l=new Map,i=new Map,a={...Y6,...n.handlers},o={all:c,applyData:gg,definitionById:r,footnoteById:l,footnoteCounts:i,footnoteOrder:[],handlers:a,one:s,options:n,patch:mg,wrap:xg};return Eu(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const f=d.type==="definition"?r:l,m=String(d.identifier).toUpperCase();f.has(m)||f.set(m,d)}}),o;function s(d,f){const m=d.type,h=o.handlers[m];if(us.call(o.handlers,m)&&h)return h(o,d,f);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in d){const{children:w,...H}=d,g=Wi(H);return g.children=o.all(d),g}return Wi(d)}return(o.options.unknownHandler||yg)(o,d,f)}function c(d){const f=[];if("children"in d){const m=d.children;let h=-1;for(;++h<m.length;){const x=o.one(m[h],d);if(x){if(h&&m[h-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=dc(x.value)),!Array.isArray(x)&&x.type==="element")){const w=x.children[0];w&&w.type==="text"&&(w.value=dc(w.value))}Array.isArray(x)?f.push(...x):f.push(x)}}}return f}}function mg(e,t){e.position&&(t.position=n4(e))}function gg(e,t){let n=t;if(e&&e.data){const r=e.data.hName,l=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&i&&Object.assign(n.properties,Wi(i)),"children"in n&&n.children&&l!==null&&l!==void 0&&(n.children=l)}return n}function yg(e,t){const n=t.data||{},r="value"in t&&!(us.call(n,"hProperties")||us.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function xg(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
51
+ `});++r<e.length;)r&&n.push({type:"text",value:`
52
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
53
+ `}),n}function dc(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function pc(e,t){const n=hg(e,t),r=n.one(e,void 0),l=lg(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return l&&i.children.push({type:"text",value:`
54
+ `},l),i}function vg(e,t){return e&&"run"in e?async function(n,r){const l=pc(n,{file:r,...t});await e.run(l,r)}:function(n,r){return pc(n,{file:r,...e||t})}}function hc(e){if(e)throw e}var yi=Object.prototype.hasOwnProperty,I2=Object.prototype.toString,mc=Object.defineProperty,gc=Object.getOwnPropertyDescriptor,yc=function(t){return typeof Array.isArray=="function"?Array.isArray(t):I2.call(t)==="[object Array]"},xc=function(t){if(!t||I2.call(t)!=="[object Object]")return!1;var n=yi.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&yi.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var l;for(l in t);return typeof l>"u"||yi.call(t,l)},vc=function(t,n){mc&&n.name==="__proto__"?mc(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},kc=function(t,n){if(n==="__proto__")if(yi.call(t,n)){if(gc)return gc(t,n).value}else return;return t[n]},kg=function e(){var t,n,r,l,i,a,o=arguments[0],s=1,c=arguments.length,d=!1;for(typeof o=="boolean"&&(d=o,o=arguments[1]||{},s=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});s<c;++s)if(t=arguments[s],t!=null)for(n in t)r=kc(o,n),l=kc(t,n),o!==l&&(d&&l&&(xc(l)||(i=yc(l)))?(i?(i=!1,a=r&&yc(r)?r:[]):a=r&&xc(r)?r:{},vc(o,{name:n,newValue:e(d,a,l)})):typeof l<"u"&&vc(o,{name:n,newValue:l}));return o};const Qa=ps(kg);function cs(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function wg(){const e=[],t={run:n,use:r};return t;function n(...l){let i=-1;const a=l.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...l);function o(s,...c){const d=e[++i];let f=-1;if(s){a(s);return}for(;++f<l.length;)(c[f]===null||c[f]===void 0)&&(c[f]=l[f]);l=c,d?Eg(d,o)(...c):a(null,...c)}}function r(l){if(typeof l!="function")throw new TypeError("Expected `middelware` to be a function, not "+l);return e.push(l),t}}function Eg(e,t){let n;return r;function r(...a){const o=e.length>a.length;let s;o&&a.push(l);try{s=e.apply(this,a)}catch(c){const d=c;if(o&&n)throw d;return l(d)}o||(s&&s.then&&typeof s.then=="function"?s.then(i,l):s instanceof Error?l(s):i(s))}function l(a,...o){n||(n=!0,t(a,...o))}function i(a){l(null,a)}}const $t={basename:Sg,dirname:Ag,extname:Cg,join:Mg,sep:"/"};function Sg(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Pl(e);let n=0,r=-1,l=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;l--;)if(e.codePointAt(l)===47){if(i){n=l+1;break}}else r<0&&(i=!0,r=l+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;l--;)if(e.codePointAt(l)===47){if(i){n=l+1;break}}else a<0&&(i=!0,a=l+1),o>-1&&(e.codePointAt(l)===t.codePointAt(o--)?o<0&&(r=l):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function Ag(e){if(Pl(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Cg(e){Pl(e);let t=e.length,n=-1,r=0,l=-1,i=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?l<0?l=t:i!==1&&(i=1):l>-1&&(i=-1)}return l<0||n<0||i===0||i===1&&l===n-1&&l===r+1?"":e.slice(l,n)}function Mg(...e){let t=-1,n;for(;++t<e.length;)Pl(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":bg(n)}function bg(e){Pl(e);const t=e.codePointAt(0)===47;let n=Lg(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Lg(e,t){let n="",r=0,l=-1,i=0,a=-1,o,s;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(l===a-1||i===1))if(l!==a-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),l=a,i=0;continue}}else if(n.length>0){n="",r=0,l=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(l+1,a):n=e.slice(l+1,a),r=a-l-1;l=a,i=0}else o===46&&i>-1?i++:i=-1}return n}function Pl(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Ng={cwd:Hg};function Hg(){return"/"}function fs(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function jg(e){if(typeof e=="string")e=new URL(e);else if(!fs(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Tg(e)}function Tg(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const l=new TypeError("File URL path must not include encoded / characters");throw l.code="ERR_INVALID_FILE_URL_PATH",l}}return decodeURIComponent(t)}const Xa=["history","path","basename","stem","extname","dirname"];class P2{constructor(t){let n;t?fs(t)?n={path:t}:typeof t=="string"||Ig(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Ng.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Xa.length;){const i=Xa[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let l;for(l in n)Xa.includes(l)||(this[l]=n[l])}get basename(){return typeof this.path=="string"?$t.basename(this.path):void 0}set basename(t){Ka(t,"basename"),Ya(t,"basename"),this.path=$t.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?$t.dirname(this.path):void 0}set dirname(t){wc(this.basename,"dirname"),this.path=$t.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?$t.extname(this.path):void 0}set extname(t){if(Ya(t,"extname"),wc(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=$t.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){fs(t)&&(t=jg(t)),Ka(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?$t.basename(this.path,this.extname):void 0}set stem(t){Ka(t,"stem"),Ya(t,"stem"),this.path=$t.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const l=this.message(t,n,r);throw l.fatal=!0,l}info(t,n,r){const l=this.message(t,n,r);return l.fatal=void 0,l}message(t,n,r){const l=new tt(t,n,r);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Ya(e,t){if(e&&e.includes($t.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+$t.sep+"`")}function Ka(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function wc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Ig(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Pg=function(e){const r=this.constructor.prototype,l=r[e],i=function(){return l.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},Fg={}.hasOwnProperty;class Su extends Pg{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=wg()}copy(){const t=new Su;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Qa(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(eo("data",this.frozen),this.namespace[t]=n,this):Fg.call(this.namespace,t)&&this.namespace[t]||void 0:t?(eo("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const l=n.call(t,...r);typeof l=="function"&&this.transformers.use(l)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=ti(t),r=this.parser||this.Parser;return Ga("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Ga("process",this.parser||this.Parser),Ja("process",this.compiler||this.Compiler),n?l(void 0,n):new Promise(l);function l(i,a){const o=ti(t),s=r.parse(o);r.run(s,o,function(d,f,m){if(d||!f||!m)return c(d);const h=f,x=r.stringify(h,m);Zg(x)?m.value=x:m.result=x,c(d,m)});function c(d,f){d||!f?a(d):i?i(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Ga("processSync",this.parser||this.Parser),Ja("processSync",this.compiler||this.Compiler),this.process(t,l),Sc("processSync","process",n),r;function l(i,a){n=!0,hc(i),r=a}}run(t,n,r){Ec(t),this.freeze();const l=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(a,o){const s=ti(n);l.run(t,s,c);function c(d,f,m){const h=f||t;d?o(d):a?a(h):r(void 0,h,m)}}}runSync(t,n){let r=!1,l;return this.run(t,n,i),Sc("runSync","run",r),l;function i(a,o){hc(a),l=o,r=!0}}stringify(t,n){this.freeze();const r=ti(n),l=this.compiler||this.Compiler;return Ja("stringify",l),Ec(t),l(t,r)}use(t,...n){const r=this.attachers,l=this.namespace;if(eo("use",this.frozen),t!=null)if(typeof t=="function")s(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")s(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[d,...f]=c;s(d,f)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(l.settings=Qa(!0,l.settings,c.settings))}function o(c){let d=-1;if(c!=null)if(Array.isArray(c))for(;++d<c.length;){const f=c[d];i(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function s(c,d){let f=-1,m=-1;for(;++f<r.length;)if(r[f][0]===c){m=f;break}if(m===-1)r.push([c,...d]);else if(d.length>0){let[h,...x]=d;const w=r[m][1];cs(w)&&cs(h)&&(h=Qa(!0,w,h)),r[m]=[c,h,...x]}}}}const _g=new Su().freeze();function Ga(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ja(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function eo(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ec(e){if(!cs(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Sc(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ti(e){return Rg(e)?e:new P2(e)}function Rg(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Zg(e){return typeof e=="string"||zg(e)}function zg(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Vg="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ac=[],Cc={allowDangerousHtml:!0},Dg=/^(https?|ircs?|mailto|xmpp)$/i,Og=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function $g(e){const t=Bg(e),n=Ug(e);return Wg(t.runSync(t.parse(n),n),e)}function Bg(e){const t=e.rehypePlugins||Ac,n=e.remarkPlugins||Ac,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Cc}:Cc;return _g().use(A6).use(n).use(vg,r).use(t)}function Ug(e){const t=e.children||"",n=new P2;return typeof t=="string"&&(n.value=t),n}function Wg(e,t){const n=t.allowedElements,r=t.allowElement,l=t.components,i=t.disallowedElements,a=t.skipHtml,o=t.unwrapDisallowed,s=t.urlTransform||qg;for(const d of Og)Object.hasOwn(t,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+Vg+d.id,void 0);return Eu(e,c),o4(e,{Fragment:p.Fragment,components:l,ignoreInvalidStyle:!0,jsx:p.jsx,jsxs:p.jsxs,passKeys:!0,passNode:!0});function c(d,f,m){if(d.type==="raw"&&m&&typeof f=="number")return a?m.children.splice(f,1):m.children[f]={type:"text",value:d.value},f;if(d.type==="element"){let h;for(h in Ua)if(Object.hasOwn(Ua,h)&&Object.hasOwn(d.properties,h)){const x=d.properties[h],w=Ua[h];(w===null||w.includes(d.tagName))&&(d.properties[h]=s(String(x||""),h,d))}}if(d.type==="element"){let h=n?!n.includes(d.tagName):i?i.includes(d.tagName):!1;if(!h&&r&&typeof f=="number"&&(h=!r(d,f,m)),h&&m&&typeof f=="number")return o&&d.children?m.children.splice(f,1,...d.children):m.children.splice(f,1),f}}}function qg(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),l=e.indexOf("/");return t===-1||l!==-1&&t>l||n!==-1&&t>n||r!==-1&&t>r||Dg.test(e.slice(0,t))?e:""}function Mc(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,l=n.indexOf(t);for(;l!==-1;)r++,l=n.indexOf(t,l+t.length);return r}function Qg(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Xg(e,t,n){const l=ma((n||{}).ignore||[]),i=Yg(t);let a=-1;for(;++a<i.length;)T2(e,"text",o);function o(c,d){let f=-1,m;for(;++f<d.length;){const h=d[f],x=m?m.children:void 0;if(l(h,x?x.indexOf(h):void 0,m))return;m=h}if(m)return s(c,d)}function s(c,d){const f=d[d.length-1],m=i[a][0],h=i[a][1];let x=0;const H=f.children.indexOf(c);let g=!1,y=[];m.lastIndex=0;let v=m.exec(c.value);for(;v;){const L=v.index,P={index:v.index,input:v.input,stack:[...d,c]};let E=h(...v,P);if(typeof E=="string"&&(E=E.length>0?{type:"text",value:E}:void 0),E===!1?m.lastIndex=L+1:(x!==L&&y.push({type:"text",value:c.value.slice(x,L)}),Array.isArray(E)?y.push(...E):E&&y.push(E),x=L+v[0].length,g=!0),!m.global)break;v=m.exec(c.value)}return g?(x<c.value.length&&y.push({type:"text",value:c.value.slice(x)}),f.children.splice(H,1,...y)):y=[c],H+y.length}}function Yg(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const l=n[r];t.push([Kg(l[0]),Gg(l[1])])}return t}function Kg(e){return typeof e=="string"?new RegExp(Qg(e),"g"):e}function Gg(e){return typeof e=="function"?e:function(){return e}}const to="phrasing",no=["autolink","link","image","label"];function Jg(){return{transforms:[a3],enter:{literalAutolink:t3,literalAutolinkEmail:ro,literalAutolinkHttp:ro,literalAutolinkWww:ro},exit:{literalAutolink:i3,literalAutolinkEmail:l3,literalAutolinkHttp:n3,literalAutolinkWww:r3}}}function e3(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:to,notInConstruct:no},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:to,notInConstruct:no},{character:":",before:"[ps]",after:"\\/",inConstruct:to,notInConstruct:no}]}}function t3(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ro(e){this.config.enter.autolinkProtocol.call(this,e)}function n3(e){this.config.exit.autolinkProtocol.call(this,e)}function r3(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function l3(e){this.config.exit.autolinkEmail.call(this,e)}function i3(e){this.exit(e)}function a3(e){Xg(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,o3],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),s3]],{ignore:["link","linkReference"]})}function o3(e,t,n,r,l){let i="";if(!F2(l)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!u3(n)))return!1;const a=c3(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function s3(e,t,n,r){return!F2(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function u3(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function c3(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const l=Mc(e,"(");let i=Mc(e,")");for(;r!==-1&&l>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function F2(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Wn(n)||da(n))&&(!t||n!==47)}_2.peek=v3;function f3(){this.buffer()}function d3(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function p3(){this.buffer()}function h3(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function m3(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Zt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function g3(e){this.exit(e)}function y3(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Zt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function x3(e){this.exit(e)}function v3(){return"["}function _2(e,t,n,r){const l=n.createTracker(r);let i=l.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return i+=l.move(n.safe(n.associationId(e),{after:"]",before:i})),o(),a(),i+=l.move("]"),i}function k3(){return{enter:{gfmFootnoteCallString:f3,gfmFootnoteCall:d3,gfmFootnoteDefinitionLabelString:p3,gfmFootnoteDefinition:h3},exit:{gfmFootnoteCallString:m3,gfmFootnoteCall:g3,gfmFootnoteDefinitionLabelString:y3,gfmFootnoteDefinition:x3}}}function w3(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:_2},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,l,i,a){const o=i.createTracker(a);let s=o.move("[^");const c=i.enter("footnoteDefinition"),d=i.enter("label");return s+=o.move(i.safe(i.associationId(r),{before:s,after:"]"})),d(),s+=o.move("]:"),r.children&&r.children.length>0&&(o.shift(4),s+=o.move((t?`
55
+ `:" ")+i.indentLines(i.containerFlow(r,o.current()),t?R2:E3))),c(),s}}function E3(e,t,n){return t===0?e:R2(e,t,n)}function R2(e,t,n){return(n?"":" ")+e}const S3=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Z2.peek=L3;function A3(){return{canContainEols:["delete"],enter:{strikethrough:M3},exit:{strikethrough:b3}}}function C3(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:S3}],handlers:{delete:Z2}}}function M3(e){this.enter({type:"delete",children:[]},e)}function b3(e){this.exit(e)}function Z2(e,t,n,r){const l=n.createTracker(r),i=n.enter("strikethrough");let a=l.move("~~");return a+=n.containerPhrasing(e,{...l.current(),before:a,after:"~"}),a+=l.move("~~"),i(),a}function L3(){return"~"}function N3(e){return e.length}function H3(e,t){const n=t||{},r=(n.align||[]).concat(),l=n.stringLength||N3,i=[],a=[],o=[],s=[];let c=0,d=-1;for(;++d<e.length;){const w=[],H=[];let g=-1;for(e[d].length>c&&(c=e[d].length);++g<e[d].length;){const y=j3(e[d][g]);if(n.alignDelimiters!==!1){const v=l(y);H[g]=v,(s[g]===void 0||v>s[g])&&(s[g]=v)}w.push(y)}a[d]=w,o[d]=H}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)i[f]=bc(r[f]);else{const w=bc(r);for(;++f<c;)i[f]=w}f=-1;const m=[],h=[];for(;++f<c;){const w=i[f];let H="",g="";w===99?(H=":",g=":"):w===108?H=":":w===114&&(g=":");let y=n.alignDelimiters===!1?1:Math.max(1,s[f]-H.length-g.length);const v=H+"-".repeat(y)+g;n.alignDelimiters!==!1&&(y=H.length+y+g.length,y>s[f]&&(s[f]=y),h[f]=y),m[f]=v}a.splice(1,0,m),o.splice(1,0,h),d=-1;const x=[];for(;++d<a.length;){const w=a[d],H=o[d];f=-1;const g=[];for(;++f<c;){const y=w[f]||"";let v="",L="";if(n.alignDelimiters!==!1){const P=s[f]-(H[f]||0),E=i[f];E===114?v=" ".repeat(P):E===99?P%2?(v=" ".repeat(P/2+.5),L=" ".repeat(P/2-.5)):(v=" ".repeat(P/2),L=v):L=" ".repeat(P)}n.delimiterStart!==!1&&!f&&g.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&y==="")&&(n.delimiterStart!==!1||f)&&g.push(" "),n.alignDelimiters!==!1&&g.push(v),g.push(y),n.alignDelimiters!==!1&&g.push(L),n.padding!==!1&&g.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&g.push("|")}x.push(n.delimiterEnd===!1?g.join("").replace(/ +$/,""):g.join(""))}return x.join(`
56
+ `)}function j3(e){return e==null?"":String(e)}function bc(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function T3(e,t,n,r){const l=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),I3);return l(),a}function I3(e,t,n){return">"+(n?"":" ")+e}function P3(e,t){return Lc(e,t.inConstruct,!0)&&!Lc(e,t.notInConstruct,!1)}function Lc(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Nc(e,t,n,r){let l=-1;for(;++l<n.unsafe.length;)if(n.unsafe[l].character===`
57
+ `&&P3(n.stack,n.unsafe[l]))return/[ \t]/.test(r.before)?"":" ";return`\\
58
+ `}function F3(e,t){const n=String(e);let r=n.indexOf(t),l=r,i=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===l?++i>a&&(a=i):i=1,l=r+t.length,r=n.indexOf(t,l);return a}function _3(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function R3(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Z3(e,t,n,r){const l=R3(n),i=e.value||"",a=l==="`"?"GraveAccent":"Tilde";if(_3(e,n)){const f=n.enter("codeIndented"),m=n.indentLines(i,z3);return f(),m}const o=n.createTracker(r),s=l.repeat(Math.max(F3(i,l)+1,3)),c=n.enter("codeFenced");let d=o.move(s);if(e.lang){const f=n.enter(`codeFencedLang${a}`);d+=o.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${a}`);d+=o.move(" "),d+=o.move(n.safe(e.meta,{before:d,after:`
59
+ `,encode:["`"],...o.current()})),f()}return d+=o.move(`
60
+ `),i&&(d+=o.move(i+`
61
+ `)),d+=o.move(s),c(),d}function z3(e,t,n){return(n?"":" ")+e}function Au(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function V3(e,t,n,r){const l=Au(n),i=l==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const s=n.createTracker(r);let c=s.move("[");return c+=s.move(n.safe(n.associationId(e),{before:c,after:"]",...s.current()})),c+=s.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(o=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":`
62
+ `,...s.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=s.move(" "+l),c+=s.move(n.safe(e.title,{before:c,after:l,...s.current()})),c+=s.move(l),o()),a(),c}function D3(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Cl(e){return"&#x"+e.toString(16).toUpperCase()+";"}function qi(e,t,n){const r=Lr(e),l=Lr(t);return r===void 0?l===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:l===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?l===void 0?{inside:!1,outside:!1}:l===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:l===void 0?{inside:!1,outside:!1}:l===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}z2.peek=O3;function z2(e,t,n,r){const l=D3(n),i=n.enter("emphasis"),a=n.createTracker(r),o=a.move(l);let s=a.move(n.containerPhrasing(e,{after:l,before:o,...a.current()}));const c=s.charCodeAt(0),d=qi(r.before.charCodeAt(r.before.length-1),c,l);d.inside&&(s=Cl(c)+s.slice(1));const f=s.charCodeAt(s.length-1),m=qi(r.after.charCodeAt(0),f,l);m.inside&&(s=s.slice(0,-1)+Cl(f));const h=a.move(l);return i(),n.attentionEncodeSurroundingInfo={after:m.outside,before:d.outside},o+s+h}function O3(e,t,n){return n.options.emphasis||"*"}function $3(e,t){let n=!1;return Eu(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,ss}),!!((!e.depth||e.depth<3)&&mu(e)&&(t.options.setext||n))}function B3(e,t,n,r){const l=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if($3(e,n)){const d=n.enter("headingSetext"),f=n.enter("phrasing"),m=n.containerPhrasing(e,{...i.current(),before:`
63
+ `,after:`
64
+ `});return f(),d(),m+`
65
+ `+(l===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
66
+ `))+1))}const a="#".repeat(l),o=n.enter("headingAtx"),s=n.enter("phrasing");i.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
67
+ `,...i.current()});return/^[\t ]/.test(c)&&(c=Cl(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),s(),o(),c}V2.peek=U3;function V2(e){return e.value||""}function U3(){return"<"}D2.peek=W3;function D2(e,t,n,r){const l=Au(n),i=l==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const s=n.createTracker(r);let c=s.move("![");return c+=s.move(n.safe(e.alt,{before:c,after:"]",...s.current()})),c+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(o=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=s.move(" "+l),c+=s.move(n.safe(e.title,{before:c,after:l,...s.current()})),c+=s.move(l),o()),c+=s.move(")"),a(),c}function W3(){return"!"}O2.peek=q3;function O2(e,t,n,r){const l=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let s=o.move("![");const c=n.safe(e.alt,{before:s,after:"]",...o.current()});s+=o.move(c+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:s,after:"]",...o.current()});return a(),n.stack=d,i(),l==="full"||!c||c!==f?s+=o.move(f+"]"):l==="shortcut"?s=s.slice(0,-1):s+=o.move("]"),s}function q3(){return"!"}$2.peek=Q3;function $2(e,t,n){let r=e.value||"",l="`",i=-1;for(;new RegExp("(^|[^`])"+l+"([^`]|$)").test(r);)l+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const a=n.unsafe[i],o=n.compilePattern(a);let s;if(a.atBreak)for(;s=o.exec(r);){let c=s.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(s.index+1)}}return l+r+l}function Q3(){return"`"}function B2(e,t){const n=mu(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}U2.peek=X3;function U2(e,t,n,r){const l=Au(n),i=l==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,s;if(B2(e,n)){const d=n.stack;n.stack=[],o=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),n.stack=d,f}o=n.enter("link"),s=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(s=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=a.move(" "+l),c+=a.move(n.safe(e.title,{before:c,after:l,...a.current()})),c+=a.move(l),s()),c+=a.move(")"),o(),c}function X3(e,t,n){return B2(e,n)?"<":"["}W2.peek=Y3;function W2(e,t,n,r){const l=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let s=o.move("[");const c=n.containerPhrasing(e,{before:s,after:"]",...o.current()});s+=o.move(c+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:s,after:"]",...o.current()});return a(),n.stack=d,i(),l==="full"||!c||c!==f?s+=o.move(f+"]"):l==="shortcut"?s=s.slice(0,-1):s+=o.move("]"),s}function Y3(){return"["}function Cu(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function K3(e){const t=Cu(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function G3(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function q2(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function J3(e,t,n,r){const l=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?G3(n):Cu(n);const o=e.ordered?a==="."?")":".":K3(n);let s=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(s=!0),q2(n)===a&&d){let f=-1;for(;++f<e.children.length;){const m=e.children[f];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(a=o),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,l(),c}function ey(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function ty(e,t,n,r){const l=ey(n);let i=n.bulletCurrent||Cu(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let a=i.length+1;(l==="tab"||l==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(i+" ".repeat(a-i.length)),o.shift(a);const s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),d);return s(),c;function d(f,m,h){return m?(h?"":" ".repeat(a))+f:(h?i:i+" ".repeat(a-i.length))+f}}function ny(e,t,n,r){const l=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),l(),a}const ry=ma(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ly(e,t,n,r){return(e.children.some(function(a){return ry(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function iy(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Q2.peek=ay;function Q2(e,t,n,r){const l=iy(n),i=n.enter("strong"),a=n.createTracker(r),o=a.move(l+l);let s=a.move(n.containerPhrasing(e,{after:l,before:o,...a.current()}));const c=s.charCodeAt(0),d=qi(r.before.charCodeAt(r.before.length-1),c,l);d.inside&&(s=Cl(c)+s.slice(1));const f=s.charCodeAt(s.length-1),m=qi(r.after.charCodeAt(0),f,l);m.inside&&(s=s.slice(0,-1)+Cl(f));const h=a.move(l+l);return i(),n.attentionEncodeSurroundingInfo={after:m.outside,before:d.outside},o+s+h}function ay(e,t,n){return n.options.strong||"*"}function oy(e,t,n,r){return n.safe(e.value,r)}function sy(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function uy(e,t,n){const r=(q2(n)+(n.options.ruleSpaces?" ":"")).repeat(sy(n));return n.options.ruleSpaces?r.slice(0,-1):r}const X2={blockquote:T3,break:Nc,code:Z3,definition:V3,emphasis:z2,hardBreak:Nc,heading:B3,html:V2,image:D2,imageReference:O2,inlineCode:$2,link:U2,linkReference:W2,list:J3,listItem:ty,paragraph:ny,root:ly,strong:Q2,text:oy,thematicBreak:uy};function cy(){return{enter:{table:fy,tableData:Hc,tableHeader:Hc,tableRow:py},exit:{codeText:hy,table:dy,tableData:lo,tableHeader:lo,tableRow:lo}}}function fy(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function dy(e){this.exit(e),this.data.inTable=void 0}function py(e){this.enter({type:"tableRow",children:[]},e)}function lo(e){this.exit(e)}function Hc(e){this.enter({type:"tableCell",children:[]},e)}function hy(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,my));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function my(e,t){return t==="|"?t:e}function gy(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,l=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
68
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:a,tableCell:s,tableRow:o}};function a(h,x,w,H){return c(d(h,w,H),h.align)}function o(h,x,w,H){const g=f(h,w,H),y=c([g]);return y.slice(0,y.indexOf(`
69
+ `))}function s(h,x,w,H){const g=w.enter("tableCell"),y=w.enter("phrasing"),v=w.containerPhrasing(h,{...H,before:i,after:i});return y(),g(),v}function c(h,x){return H3(h,{align:x,alignDelimiters:r,padding:n,stringLength:l})}function d(h,x,w){const H=h.children;let g=-1;const y=[],v=x.enter("table");for(;++g<H.length;)y[g]=f(H[g],x,w);return v(),y}function f(h,x,w){const H=h.children;let g=-1;const y=[],v=x.enter("tableRow");for(;++g<H.length;)y[g]=s(H[g],h,x,w);return v(),y}function m(h,x,w){let H=X2.inlineCode(h,x,w);return w.stack.includes("tableCell")&&(H=H.replace(/\|/g,"\\$&")),H}}function yy(){return{exit:{taskListCheckValueChecked:jc,taskListCheckValueUnchecked:jc,paragraph:vy}}}function xy(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:ky}}}function jc(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function vy(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const l=t.children;let i=-1,a;for(;++i<l.length;){const o=l[i];if(o.type==="paragraph"){a=o;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function ky(e,t,n,r){const l=e.children[0],i=typeof e.checked=="boolean"&&l&&l.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);i&&o.move(a);let s=X2.listItem(e,t,n,{...r,...o.current()});return i&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),s;function c(d){return d+a}}function wy(){return[Jg(),k3(),A3(),cy(),yy()]}function Ey(e){return{extensions:[e3(),w3(e),C3(),gy(e),xy()]}}const Sy={tokenize:Ny,partial:!0},Y2={tokenize:Hy,partial:!0},K2={tokenize:jy,partial:!0},G2={tokenize:Ty,partial:!0},Ay={tokenize:Iy,partial:!0},J2={name:"wwwAutolink",tokenize:by,previous:td},ed={name:"protocolAutolink",tokenize:Ly,previous:nd},ln={name:"emailAutolink",tokenize:My,previous:rd},qt={};function Cy(){return{text:qt}}let Tn=48;for(;Tn<123;)qt[Tn]=ln,Tn++,Tn===58?Tn=65:Tn===91&&(Tn=97);qt[43]=ln;qt[45]=ln;qt[46]=ln;qt[95]=ln;qt[72]=[ln,ed];qt[104]=[ln,ed];qt[87]=[ln,J2];qt[119]=[ln,J2];function My(e,t,n){const r=this;let l,i;return a;function a(f){return!ds(f)||!rd.call(r,r.previous)||Mu(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return ds(f)?(e.consume(f),o):f===64?(e.consume(f),s):n(f)}function s(f){return f===46?e.check(Ay,d,c)(f):f===45||f===95||Je(f)?(i=!0,e.consume(f),s):d(f)}function c(f){return e.consume(f),l=!0,s}function d(f){return i&&l&&rt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function by(e,t,n){const r=this;return l;function l(a){return a!==87&&a!==119||!td.call(r,r.previous)||Mu(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Sy,e.attempt(Y2,e.attempt(K2,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function Ly(e,t,n){const r=this;let l="",i=!1;return a;function a(f){return(f===72||f===104)&&nd.call(r,r.previous)&&!Mu(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),l+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(rt(f)&&l.length<5)return l+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const m=l.toLowerCase();if(m==="http"||m==="https")return e.consume(f),s}return n(f)}function s(f){return f===47?(e.consume(f),i?c:(i=!0,s)):n(f)}function c(f){return f===null||Bi(f)||ke(f)||Wn(f)||da(f)?n(f):e.attempt(Y2,e.attempt(K2,d),n)(f)}function d(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function Ny(e,t,n){let r=0;return l;function l(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),l):a===46&&r===3?(e.consume(a),i):n(a)}function i(a){return a===null?n(a):t(a)}}function Hy(e,t,n){let r,l,i;return a;function a(c){return c===46||c===95?e.check(G2,s,o)(c):c===null||ke(c)||Wn(c)||c!==45&&da(c)?s(c):(i=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(l=r,r=void 0),e.consume(c),a}function s(c){return l||r||!i?n(c):t(c)}}function jy(e,t){let n=0,r=0;return l;function l(a){return a===40?(n++,e.consume(a),l):a===41&&r<n?i(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(G2,t,i)(a):a===null||ke(a)||Wn(a)?t(a):(e.consume(a),l)}function i(a){return a===41&&r++,e.consume(a),l}}function Ty(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),i):o===93?(e.consume(o),l):o===60||o===null||ke(o)||Wn(o)?t(o):n(o)}function l(o){return o===null||o===40||o===91||ke(o)||Wn(o)?t(o):r(o)}function i(o){return rt(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):rt(o)?(e.consume(o),a):n(o)}}function Iy(e,t,n){return r;function r(i){return e.consume(i),l}function l(i){return Je(i)?n(i):t(i)}}function td(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ke(e)}function nd(e){return!rt(e)}function rd(e){return!(e===47||ds(e))}function ds(e){return e===43||e===45||e===46||e===95||Je(e)}function Mu(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Py={tokenize:Oy,partial:!0};function Fy(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:zy,continuation:{tokenize:Vy},exit:Dy}},text:{91:{name:"gfmFootnoteCall",tokenize:Zy},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:_y,resolveTo:Ry}}}}function _y(e,t,n){const r=this;let l=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;l--;){const s=r.events[l][1];if(s.type==="labelImage"){a=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return o;function o(s){if(!a||!a._balanced)return n(s);const c=Zt(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function Ry(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};l.end.column++,l.end.offset++,l.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},l.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",l,t],["exit",l,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function Zy(e,t,n){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),s}function s(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(i>999||f===93&&!a||f===null||f===91||ke(f))return n(f);if(f===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return l.includes(Zt(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return ke(f)||(a=!0),i++,e.consume(f),f===92?d:c}function d(f){return f===91||f===92||f===93?(e.consume(f),i++,c):c(f)}}function zy(e,t,n){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return s;function s(x){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(x){return x===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(x)}function d(x){if(a>999||x===93&&!o||x===null||x===91||ke(x))return n(x);if(x===93){e.exit("chunkString");const w=e.exit("gfmFootnoteDefinitionLabelString");return i=Zt(r.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return ke(x)||(o=!0),a++,e.consume(x),x===92?f:d}function f(x){return x===91||x===92||x===93?(e.consume(x),a++,d):d(x)}function m(x){return x===58?(e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),l.includes(i)||l.push(i),pe(e,h,"gfmFootnoteDefinitionWhitespace")):n(x)}function h(x){return t(x)}}function Vy(e,t,n){return e.check(Il,t,e.attempt(Py,t,n))}function Dy(e){e.exit("gfmFootnoteDefinition")}function Oy(e,t,n){const r=this;return pe(e,l,"gfmFootnoteDefinitionIndent",5);function l(i){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(i):n(i)}}function $y(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:l};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function l(a,o){let s=-1;for(;++s<a.length;)if(a[s][0]==="enter"&&a[s][1].type==="strikethroughSequenceTemporary"&&a[s][1]._close){let c=s;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[s][1].end.offset-a[s][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[s][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[s][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[s][1].start)},m=[["enter",d,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",f,o]],h=o.parser.constructs.insideSpan.null;h&&wt(m,m.length,0,pa(h,a.slice(c+1,s),o)),wt(m,m.length,0,[["exit",f,o],["enter",a[s][1],o],["exit",a[s][1],o],["exit",d,o]]),wt(a,c-1,s-c+3,m),s=c+m.length-2;break}}for(s=-1;++s<a.length;)a[s][1].type==="strikethroughSequenceTemporary"&&(a[s][1].type="data");return a}function i(a,o,s){const c=this.previous,d=this.events;let f=0;return m;function m(x){return c===126&&d[d.length-1][1].type!=="characterEscape"?s(x):(a.enter("strikethroughSequenceTemporary"),h(x))}function h(x){const w=Lr(c);if(x===126)return f>1?s(x):(a.consume(x),f++,h);if(f<2&&!n)return s(x);const H=a.exit("strikethroughSequenceTemporary"),g=Lr(x);return H._open=!g||g===2&&!!w,H._close=!w||w===2&&!!g,o(x)}}}class By{constructor(){this.map=[]}add(t,n,r){Uy(this,t,n,r)}consume(t){if(this.map.sort(function(i,a){return i[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let l=r.pop();for(;l;){for(const i of l)t.push(i);l=r.pop()}this.map.length=0}}function Uy(e,t,n,r){let l=0;if(!(n===0&&r.length===0)){for(;l<e.map.length;){if(e.map[l][0]===t){e.map[l][1]+=n,e.map[l][2].push(...r);return}l+=1}e.map.push([t,n,r])}}function Wy(e,t){let n=!1;const r=[];for(;t<e.length;){const l=e[t];if(n){if(l[0]==="enter")l[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(l[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(l[1].type==="tableDelimiterRow")break}else l[0]==="enter"&&l[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function qy(){return{flow:{null:{name:"table",tokenize:Qy,resolveAll:Xy}}}}function Qy(e,t,n){const r=this;let l=0,i=0,a;return o;function o(M){let O=r.events.length-1;for(;O>-1;){const re=r.events[O][1].type;if(re==="lineEnding"||re==="linePrefix")O--;else break}const U=O>-1?r.events[O][1].type:null,ae=U==="tableHead"||U==="tableRow"?E:s;return ae===E&&r.parser.lazy[r.now().line]?n(M):ae(M)}function s(M){return e.enter("tableHead"),e.enter("tableRow"),c(M)}function c(M){return M===124||(a=!0,i+=1),d(M)}function d(M){return M===null?n(M):te(M)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),h):n(M):ue(M)?pe(e,d,"whitespace")(M):(i+=1,a&&(a=!1,l+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),a=!0,d):(e.enter("data"),f(M)))}function f(M){return M===null||M===124||ke(M)?(e.exit("data"),d(M)):(e.consume(M),M===92?m:f)}function m(M){return M===92||M===124?(e.consume(M),f):f(M)}function h(M){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(M):(e.enter("tableDelimiterRow"),a=!1,ue(M)?pe(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):x(M))}function x(M){return M===45||M===58?H(M):M===124?(a=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),w):P(M)}function w(M){return ue(M)?pe(e,H,"whitespace")(M):H(M)}function H(M){return M===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),g):M===45?(i+=1,g(M)):M===null||te(M)?L(M):P(M)}function g(M){return M===45?(e.enter("tableDelimiterFiller"),y(M)):P(M)}function y(M){return M===45?(e.consume(M),y):M===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(M))}function v(M){return ue(M)?pe(e,L,"whitespace")(M):L(M)}function L(M){return M===124?x(M):M===null||te(M)?!a||l!==i?P(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):P(M)}function P(M){return n(M)}function E(M){return e.enter("tableRow"),F(M)}function F(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),F):M===null||te(M)?(e.exit("tableRow"),t(M)):ue(M)?pe(e,F,"whitespace")(M):(e.enter("data"),_(M))}function _(M){return M===null||M===124||ke(M)?(e.exit("data"),F(M)):(e.consume(M),M===92?Q:_)}function Q(M){return M===92||M===124?(e.consume(M),_):_(M)}}function Xy(e,t){let n=-1,r=!0,l=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,s=0,c,d,f;const m=new By;for(;++n<e.length;){const h=e[n],x=h[1];h[0]==="enter"?x.type==="tableHead"?(o=!1,s!==0&&(Tc(m,t,s,c,d),d=void 0,s=0),c={type:"table",start:Object.assign({},x.start),end:Object.assign({},x.end)},m.add(n,0,[["enter",c,t]])):x.type==="tableRow"||x.type==="tableDelimiterRow"?(r=!0,f=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,d={type:"tableBody",start:Object.assign({},x.start),end:Object.assign({},x.end)},m.add(n,0,[["enter",d,t]])),l=x.type==="tableDelimiterRow"?2:d?3:1):l&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],f=ni(m,t,i,l,void 0,f),i=[0,0,0,0]),a[2]=n)):x.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],f=ni(m,t,i,l,void 0,f)),i=a,a=[i[1],n,0,0])):x.type==="tableHead"?(o=!0,s=n):x.type==="tableRow"||x.type==="tableDelimiterRow"?(s=n,i[1]!==0?(a[0]=a[1],f=ni(m,t,i,l,n,f)):a[1]!==0&&(f=ni(m,t,a,l,n,f)),l=0):l&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")&&(a[3]=n)}for(s!==0&&Tc(m,t,s,c,d),m.consume(t.events),n=-1;++n<t.events.length;){const h=t.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=Wy(t.events,n))}return e}function ni(e,t,n,r,l,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},tr(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const s=tr(t.events,n[1]);if(i={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=tr(t.events,n[2]),d=tr(t.events,n[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const m=t.events[n[2]],h=t.events[n[3]];if(m[1].end=Object.assign({},h[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const x=n[2]+1,w=n[3]-n[2]-1;e.add(x,w,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return l!==void 0&&(i.end=Object.assign({},tr(t.events,l)),e.add(l,0,[["exit",i,t]]),i=void 0),i}function Tc(e,t,n,r,l){const i=[],a=tr(t.events,n);l&&(l.end=Object.assign({},a),i.push(["exit",l,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function tr(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Yy={name:"tasklistCheck",tokenize:Gy};function Ky(){return{text:{91:Yy}}}function Gy(e,t,n){const r=this;return l;function l(s){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),i)}function i(s){return ke(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),a):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),a):n(s)}function a(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(s)}function o(s){return te(s)?t(s):ue(s)?e.check({tokenize:Jy},t,n)(s):n(s)}}function Jy(e,t,n){return pe(e,r,"whitespace");function r(l){return l===null?n(l):t(l)}}function ex(e){return p2([Cy(),Fy(),$y(e),qy(),Ky()])}const tx={};function nx(e){const t=this,n=e||tx,r=t.data(),l=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);l.push(ex(n)),i.push(wy()),a.push(Ey(n))}function Qi({children:e,className:t="",isStreaming:n=!1}){const r=(l,i)=>n?p.jsx(p.Fragment,{children:i}):p.jsx("span",{"data-collider":l,children:i});return p.jsx("div",{className:`prose prose-sm max-w-none break-words ${t}`,children:p.jsx($g,{remarkPlugins:[nx],components:{pre:({children:l})=>{var s;const i=l,a=(s=i==null?void 0:i.props)==null?void 0:s.children,o=typeof a=="string"?a.split(`
70
+ `).flatMap((c,d)=>{const f=p.jsx("span",{"data-collider":"code-line",children:c},d);return d>0?[`
71
+ `,f]:[f]}):l;return p.jsx("pre",{className:"md-pre-base p-3 overflow-x-auto text-xs my-1",children:o})},code:({className:l,children:i,...a})=>l?p.jsx("code",{className:l,...a,children:i}):p.jsx("code",{className:"px-1.5 py-0.5 text-xs",style:{borderRadius:"4px",backgroundColor:"var(--color-surface-hover)",color:"var(--color-accent)",fontFamily:"Geist Mono, JetBrains Mono, monospace"},...a,children:i}),p:({children:l})=>p.jsx("p",{children:r("text-line",l)}),li:({children:l})=>p.jsx("li",{children:r("text-line",l)}),blockquote:({children:l})=>p.jsx("blockquote",{children:r("text-line",l)}),h1:({children:l})=>p.jsx("h1",{children:r("text-line",l)}),h2:({children:l})=>p.jsx("h2",{children:r("text-line",l)}),h3:({children:l})=>p.jsx("h3",{children:r("text-line",l)}),h4:({children:l})=>p.jsx("h4",{children:r("text-line",l)}),table:({children:l})=>p.jsx("div",{className:"overflow-x-auto my-2",children:p.jsx("table",{className:"min-w-full border-collapse text-xs",style:{border:"1px solid var(--color-border)"},children:l})}),th:({children:l})=>p.jsx("th",{"data-collider":"table-cell",className:"px-3 py-1.5 text-left font-medium",style:{border:"1px solid var(--color-border)",backgroundColor:"var(--color-surface)"},children:r("text-line",l)}),td:({children:l})=>p.jsx("td",{"data-collider":"table-cell",className:"px-3 py-1.5",style:{border:"1px solid var(--color-border)"},children:r("text-line",l)}),a:({href:l,children:i})=>p.jsx("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"underline",style:{color:"var(--color-accent)"},children:i}),img:({src:l,alt:i})=>p.jsx("img",{src:l,alt:i??"Image",className:"max-w-full max-h-[400px] object-contain my-2 cursor-pointer hover:opacity-90 transition-opacity",style:{borderRadius:"8px",border:"1px solid var(--color-border)"},loading:"lazy",onClick:()=>l&&window.open(l,"_blank")})},children:e})})}function rx(e){const t=[],n=/data:(image\/[a-zA-Z+.-]+);base64,([A-Za-z0-9+/=]+)/g;let r=e,l;for(;(l=n.exec(e))!==null;)t.push({mimeType:l[1],data:l[2]});if(r=r.replace(n,"[Image]"),t.length===0&&e.length>100&&/^[A-Za-z0-9+/=]+\n?$/.test(e.trim())){const i=e.trim();i.startsWith("iVBOR")?(t.push({data:i,mimeType:"image/png"}),r="[Image]"):i.startsWith("/9j/")?(t.push({data:i,mimeType:"image/jpeg"}),r="[Image]"):i.startsWith("R0lGOD")?(t.push({data:i,mimeType:"image/gif"}),r="[Image]"):i.startsWith("UklGR")&&(t.push({data:i,mimeType:"image/webp"}),r="[Image]")}return{images:t,cleanedText:r}}function lx(e){if(e<1e3)return"0s";const t=Math.floor(e/1e3);if(t<60)return`${t}s`;const n=Math.floor(t/60),r=t%60;return`${n}m ${r}s`}function ix(e){const t=e.trim();if(!t.startsWith("{")&&!t.startsWith("["))return null;try{return JSON.parse(t)}catch{return null}}function ax(e){const t=[],n=r=>{const l={},i=[];for(const[a,o]of Object.entries(r)){if(o==null)continue;const s=a.toLowerCase();if(s==="title"||s==="name"||s==="label")l.title=String(o);else if(s==="score"||s==="relevance"||s==="rank"){const c=Number(o);l.score=Number.isFinite(c)?c.toFixed(2):String(o)}else s==="url"||s==="link"||s==="href"?l.url=String(o):s==="content"||s==="snippet"||s==="summary"||s==="description"||s==="text"||s==="body"?l.content=String(o):(typeof o=="string"||typeof o=="number"||typeof o=="boolean")&&i.push({label:a,value:String(o)})}return i.length>0&&(l.metaFields=i),l};if(Array.isArray(e))for(const r of e)r&&typeof r=="object"&&!Array.isArray(r)&&t.push(n(r));else if(e&&typeof e=="object"){const r=e;for(const[,l]of Object.entries(r))if(Array.isArray(l)&&l.length>0&&l[0]&&typeof l[0]=="object"){for(const i of l)i&&typeof i=="object"&&!Array.isArray(i)&&t.push(n(i));break}t.length===0&&t.push(n(r))}return t}function ox({item:e}){const t=e.content&&e.content.includes(`
72
+ `);return p.jsxs("div",{className:"mcp-rich-item","data-collider":"tool-result-line",children:[p.jsxs("div",{className:"r-head",children:[e.title&&p.jsx("span",{className:"r-title",children:e.title}),e.score!==void 0&&p.jsx("span",{className:"r-score",children:e.score})]}),e.url&&p.jsx("div",{className:"r-url",children:e.url}),e.content&&p.jsx("div",{className:"r-content",children:t?e.content.split(`
73
+ `).map((n,r)=>p.jsx("p",{children:n},r)):p.jsx("p",{children:e.content})}),e.metaFields&&e.metaFields.length>0&&p.jsx("div",{className:"r-meta-row",children:e.metaFields.map((n,r)=>p.jsxs("span",{children:[n.label,": ",n.value]},r))})]})}function sx({tool:e,thinking:t}){const n=e.isError,r=e.result&&e.result.length>0,l=e.name.startsWith("mcp__"),i=!!e.mcpApp,[a,o]=u.useState(l&&!r),s=u.useRef(!1),c=typeof e.progress=="number",d=typeof e.progressTotal=="number"&&e.progressTotal>0,f=d?Math.max(0,Math.min(100,Math.round(e.progress/e.progressTotal*100))):0,m=c&&!d,h=u.useRef(Date.now()),[x,w]=u.useState(0);u.useEffect(()=>{if(!l||r)return;h.current=Date.now();const M=setInterval(()=>{w(Date.now()-h.current)},1e3);return()=>clearInterval(M)},[l,r]);const H=r?"":lx(x),g=u.useRef(c);u.useEffect(()=>{c&&!g.current&&!s.current&&o(!0),g.current=c},[c]);const y=()=>{a?s.current=!0:s.current=!1,o(!a)},v=n?"✗":r&&!n?"✓":"◌",L=n?"err":"ok",P=c&&!r?" spinner":"",E=u.useMemo(()=>{if(e.images&&e.images.length>0)return e.images.map(O=>({data:O.data,mimeType:O.mimeType}));if(!r||i)return null;const M=rx(e.result);return M.images.length>0?M.images:null},[e.images,e.result,r,i]),F=u.useMemo(()=>!l||!r||i?null:ix(e.result),[l,r,i,e.result]),_=u.useMemo(()=>F?ax(F):null,[F]),Q=_&&_.length>0;return p.jsxs("div",{"data-collider":"tool-card",className:`tool-card${l?" mcp":""}${a?" open":""}`,children:[p.jsxs("div",{"data-collider":"tool-header",className:"tool-card-header",onClick:y,children:[p.jsx("span",{className:`status ${L}${P}`,children:v}),p.jsx("span",{className:"name",children:e.name}),l&&p.jsx("span",{className:"mcp-badge",children:"MCP"}),e.args&&p.jsx("span",{className:"args",children:e.args}),!a&&c&&p.jsxs("span",{className:"mini-progress-bar",children:[p.jsx("span",{className:"mini-progress-bar-track",children:p.jsx("span",{className:`mini-progress-fill${m?" indeterminate":""}`,style:m?void 0:{width:`${f}%`}})}),!m&&p.jsxs("span",{className:"mini-progress-text",children:[f,"%"]})]}),p.jsx("span",{className:"arrow",children:"▾"})]}),p.jsxs("div",{className:"tool-card-body",children:[l&&!r&&p.jsxs("div",{className:"exec-card","data-collider":"exec-card",children:[p.jsxs("div",{className:"exec-card-top",children:[p.jsxs("span",{className:"exec-card-label",children:[p.jsx("span",{className:"exec-pulse-dot"}),"Live · ",c?"executing":"waiting"]}),H&&p.jsx("span",{className:"exec-elapsed",children:H})]}),c?p.jsxs("div",{className:"exec-progress-section",children:[p.jsx("div",{className:"progress-bar",children:p.jsx("div",{className:`progress-fill${m?" indeterminate":""}`,style:m?void 0:{width:`${f}%`}})}),p.jsxs("div",{className:"exec-progress-footer",children:[!m&&p.jsxs("span",{className:"progress-text",children:[f,"%"]}),e.progressMessage&&p.jsx("span",{className:"progress-message",children:e.progressMessage})]})]}):p.jsx("span",{className:"exec-waiting-text",children:"Waiting for execution to begin…"})]}),E&&E.length>0&&p.jsx("div",{style:{padding:"8px 14px",display:"flex",flexWrap:"wrap",gap:"8px"},children:E.map((M,O)=>p.jsx("img",{src:`data:${M.mimeType};base64,${M.data}`,alt:`Tool result image ${O+1}`,className:"max-w-[300px] max-h-[300px] object-contain rounded cursor-pointer hover:opacity-90 transition-opacity",style:{border:"1px solid var(--color-border)",backgroundColor:"var(--color-surface)"},onClick:()=>window.open(`data:${M.mimeType};base64,${M.data}`,"_blank")},O))}),r&&!i&&!l&&p.jsx("div",{className:"tool-card-body-inner","data-collider":"tool-result-line",children:p.jsx(Qi,{className:"text-xs",children:e.result})}),l&&Q&&p.jsx("div",{className:"mcp-rich-list",children:_.map((M,O)=>p.jsx(ox,{item:M},O))}),l&&!Q&&r&&p.jsx("div",{className:"mcp-raw-block","data-collider":"tool-result-line",children:p.jsx(Qi,{className:"text-xs",children:e.result})})]}),i&&a&&p.jsx("div",{style:{padding:"0 14px 12px"},children:p.jsx("iframe",{src:e.mcpApp.appUrl,className:"w-full rounded border",style:{minHeight:"480px",height:"60vh",maxHeight:"700px",borderColor:"var(--color-border)",backgroundColor:"#fff"},sandbox:"allow-scripts allow-same-origin",title:`MCP App: ${e.name}`})})]})}const ux=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,44H32A20,20,0,0,0,12,64V88a20,20,0,0,0,16,19.6V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V107.6A20,20,0,0,0,244,88V64A20,20,0,0,0,224,44ZM36,68H220V84H36ZM52,188V108H204v80Zm112-52a12,12,0,0,1-12,12H104a12,12,0,0,1,0-24h48A12,12,0,0,1,164,136Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,96v96a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96Z",opacity:"0.2"}),u.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM208,192H48V104H208ZM224,88H32V64H224V88ZM96,136a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm-72,96H104a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm72-56H32V64H224V88Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,50H32A14,14,0,0,0,18,64V88a14,14,0,0,0,14,14h2v90a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V102h2a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50ZM210,192a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V102H210ZM226,88a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H224a2,2,0,0,1,2,2ZM98,136a6,6,0,0,1,6-6h48a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM208,192H48V104H208ZM224,88H32V64H224V88ZM96,136a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,52H32A12,12,0,0,0,20,64V88a12,12,0,0,0,12,12h4v92a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V100h4a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52ZM212,192a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V100H212ZM228,88a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H224a4,4,0,0,1,4,4ZM100,136a4,4,0,0,1,4-4h48a4,4,0,0,1,0,8H104A4,4,0,0,1,100,136Z"}))]]),cx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),u.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),fx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),u.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),dx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,196h-4V40a12,12,0,0,0-12-12H152a12,12,0,0,0-12,12V76H96A12,12,0,0,0,84,88v36H48a12,12,0,0,0-12,12v60H32a12,12,0,0,0,0,24H224a12,12,0,0,0,0-24ZM164,52h32V196H164Zm-56,48h32v96H108ZM60,148H84v48H60Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208,40V208H152V40Z",opacity:"0.2"}),u.createElement("path",{d:"M224,200h-8V40a8,8,0,0,0-8-8H152a8,8,0,0,0-8,8V80H96a8,8,0,0,0-8,8v40H48a8,8,0,0,0-8,8v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16ZM160,48h40V200H160ZM104,96h40V200H104ZM56,144H88v56H56Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16h8V136a8,8,0,0,1,8-8H72a8,8,0,0,1,8,8v64H96V88a8,8,0,0,1,8-8h32a8,8,0,0,1,8,8V200h16V40a8,8,0,0,1,8-8h40a8,8,0,0,1,8,8V200h8A8,8,0,0,1,232,208Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,202H214V40a6,6,0,0,0-6-6H152a6,6,0,0,0-6,6V82H96a6,6,0,0,0-6,6v42H48a6,6,0,0,0-6,6v66H32a6,6,0,0,0,0,12H224a6,6,0,0,0,0-12ZM158,46h44V202H158ZM102,94h44V202H102ZM54,142H90v60H54Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,200h-8V40a8,8,0,0,0-8-8H152a8,8,0,0,0-8,8V80H96a8,8,0,0,0-8,8v40H48a8,8,0,0,0-8,8v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16ZM160,48h40V200H160ZM104,96h40V200H104ZM56,144H88v56H56Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,204H212V40a4,4,0,0,0-4-4H152a4,4,0,0,0-4,4V84H96a4,4,0,0,0-4,4v44H48a4,4,0,0,0-4,4v68H32a4,4,0,0,0,0,8H224a4,4,0,0,0,0-8ZM156,44h48V204H156ZM100,92h48V204H100ZM52,140H92v64H52Z"}))]]),px=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,44H40A20,20,0,0,0,20,64V224A19.82,19.82,0,0,0,31.56,242.1a20.14,20.14,0,0,0,8.49,1.9,19.91,19.91,0,0,0,12.82-4.72l.12-.11L84.47,212H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44Zm-4,144H80a11.93,11.93,0,0,0-7.84,2.92L44,215.23V68H212Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,64V192a8,8,0,0,1-8,8H80L45.15,230.11A8,8,0,0,1,32,224V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z",opacity:"0.2"}),u.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V224a15.84,15.84,0,0,0,9.25,14.5A16.05,16.05,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M232,64V192a16,16,0,0,1-16,16H83l-32.6,28.16-.09.07A15.89,15.89,0,0,1,40,240a16.05,16.05,0,0,1-6.79-1.52A15.84,15.84,0,0,1,24,224V64A16,16,0,0,1,40,48H216A16,16,0,0,1,232,64Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,50H40A14,14,0,0,0,26,64V224a13.88,13.88,0,0,0,8.09,12.69A14.11,14.11,0,0,0,40,238a13.87,13.87,0,0,0,9-3.31l.06-.05L82.23,206H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50Zm2,142a2,2,0,0,1-2,2H80a6,6,0,0,0-3.92,1.46L41.26,225.53A2,2,0,0,1,38,224V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V224a15.84,15.84,0,0,0,9.25,14.5A16.05,16.05,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,52H40A12,12,0,0,0,28,64V224a11.89,11.89,0,0,0,6.93,10.88A12.17,12.17,0,0,0,40,236a11.89,11.89,0,0,0,7.69-2.83l0,0L81.49,204H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52Zm4,140a4,4,0,0,1-4,4H80a4,4,0,0,0-2.62,1L42.56,227.06A4,4,0,0,1,36,224V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Z"}))]]),hx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,76H188V48a20,20,0,0,0-20-20H40A20,20,0,0,0,20,48V176a12,12,0,0,0,19.54,9.33l28.46-23V184a20,20,0,0,0,20,20h92.17l36.29,29.33A12,12,0,0,0,236,224V96A20,20,0,0,0,216,76ZM44,150.87V52H164v80H71.58A12,12,0,0,0,64,134.67Zm168,48-20-16.2a12,12,0,0,0-7.54-2.67H92V156h76a20,20,0,0,0,20-20V100h24Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,96V224l-39.58-32H88a8,8,0,0,1-8-8V144h88a8,8,0,0,0,8-8V88h40A8,8,0,0,1,224,96Z",opacity:"0.2"}),u.createElement("path",{d:"M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M232,96a16,16,0,0,0-16-16H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8Zm-42.55,89.78a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32V207.25Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,82H182V48a14,14,0,0,0-14-14H40A14,14,0,0,0,26,48V176a6,6,0,0,0,3.42,5.41A5.86,5.86,0,0,0,32,182a6,6,0,0,0,3.77-1.33L73.71,150H74v34a14,14,0,0,0,14,14h94.29l37.94,30.67A6,6,0,0,0,224,230a5.86,5.86,0,0,0,2.58-.59A6,6,0,0,0,230,224V96A14,14,0,0,0,216,82ZM71.58,138a6,6,0,0,0-3.77,1.33L38,163.43V48a2,2,0,0,1,2-2H168a2,2,0,0,1,2,2v88a2,2,0,0,1-2,2ZM218,211.43l-29.81-24.1a6,6,0,0,0-3.77-1.33H88a2,2,0,0,1-2-2V150h82a14,14,0,0,0,14-14V94h34a2,2,0,0,1,2,2Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,84H180V48a12,12,0,0,0-12-12H40A12,12,0,0,0,28,48V176a4,4,0,0,0,4,4,4,4,0,0,0,2.51-.89L73,148h3v36a12,12,0,0,0,12,12h95l38.49,31.11A4,4,0,0,0,224,228a4,4,0,0,0,4-4V96A12,12,0,0,0,216,84ZM71.58,140a4,4,0,0,0-2.51.89L36,167.62V48a4,4,0,0,1,4-4H168a4,4,0,0,1,4,4v88a4,4,0,0,1-4,4ZM220,215.62l-33.07-26.73a4,4,0,0,0-2.51-.89H88a4,4,0,0,1-4-4V148h84a12,12,0,0,0,12-12V92h36a4,4,0,0,1,4,4Z"}))]]),mx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),u.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"}))]]),gx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M200,164v8h12a12,12,0,0,1,0,24H200v12a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12h32a12,12,0,0,1,0,24ZM92,172a32,32,0,0,1-32,32H56v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12H60A32,32,0,0,1,92,172Zm-24,0a8,8,0,0,0-8-8H56v16h4A8,8,0,0,0,68,172Zm100,8a40,40,0,0,1-40,40H112a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,168,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,144,180ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88v20a12,12,0,0,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0ZM160,57V80h23Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),u.createElement("path",{d:"M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm72,108.53a8.18,8.18,0,0,1-8.25,7.47H192v16h15.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H192v15.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152.53ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184ZM128,144H112a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,128,144Zm-.49,56H120V160h8a20,20,0,0,1,20,20.77C147.58,191.59,138.34,200,127.51,200Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M222,152a6,6,0,0,1-6,6H190v20h18a6,6,0,0,1,0,12H190v18a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6h32A6,6,0,0,1,222,152ZM90,172a26,26,0,0,1-26,26H54v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6H64A26,26,0,0,1,90,172Zm-12,0a14,14,0,0,0-14-14H54v28H64A14,14,0,0,0,78,172Zm84,8a34,34,0,0,1-34,34H112a6,6,0,0,1-6-6V152a6,6,0,0,1,6-6h16A34,34,0,0,1,162,180Zm-12,0a22,22,0,0,0-22-22H118v44h10A22,22,0,0,0,150,180ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,0,1-12,0ZM158,82h35.52L158,46.48Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M220,152a4,4,0,0,1-4,4H188v24h20a4,4,0,0,1,0,8H188v20a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4h32A4,4,0,0,1,220,152ZM88,172a24,24,0,0,1-24,24H52v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4H64A24,24,0,0,1,88,172Zm-8,0a16,16,0,0,0-16-16H52v32H64A16,16,0,0,0,80,172Zm80,8a32,32,0,0,1-32,32H112a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h16A32,32,0,0,1,160,180Zm-8,0a24,24,0,0,0-24-24H116v48h12A24,24,0,0,0,152,180ZM44,112V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0ZM156,84h42.34L156,41.65Z"}))]]),yx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",opacity:"0.2"}),u.createElement("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z"}))]]),xx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),u.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"}))]]),vx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M144,96a16,16,0,1,1,16,16A16,16,0,0,1,144,96Zm92-40V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56ZM44,60v79.72l33.86-33.86a20,20,0,0,1,28.28,0L147.31,147l17.18-17.17a20,20,0,0,1,28.28,0L212,149.09V60Zm0,136H162.34L92,125.66l-48,48Zm168,0V183l-33.37-33.37L164.28,164l32,32Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,56V178.06l-39.72-39.72a8,8,0,0,0-11.31,0L147.31,164,97.66,114.34a8,8,0,0,0-11.32,0L32,168.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),u.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM156,88a12,12,0,1,1-12,12A12,12,0,0,1,156,88Zm60,112H40V160.69l46.34-46.35a8,8,0,0,1,11.32,0h0L165,181.66a8,8,0,0,0,11.32-11.32l-17.66-17.65L173,138.34a8,8,0,0,1,11.31,0L216,170.07V200Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V163.57L188.53,134.1a14,14,0,0,0-19.8,0l-21.42,21.42L101.9,110.1a14,14,0,0,0-19.8,0L38,154.2V56A2,2,0,0,1,40,54ZM38,200V171.17l52.58-52.58a2,2,0,0,1,2.84,0L176.83,202H40A2,2,0,0,1,38,200Zm178,2H193.8l-38-38,21.41-21.42a2,2,0,0,1,2.83,0l38,38V200A2,2,0,0,1,216,202ZM146,100a10,10,0,1,1,10,10A10,10,0,0,1,146,100Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V168.4l-32.89-32.89a12,12,0,0,0-17,0l-22.83,22.83-46.82-46.83a12,12,0,0,0-17,0L36,159V56A4,4,0,0,1,40,52ZM36,200V170.34l53.17-53.17a4,4,0,0,1,5.66,0L181.66,204H40A4,4,0,0,1,36,200Zm180,4H193l-40-40,22.83-22.83a4,4,0,0,1,5.66,0L220,179.71V200A4,4,0,0,1,216,204ZM148,100a8,8,0,1,1,8,8A8,8,0,0,1,148,100Z"}))]]),kx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),u.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),wx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,64V192H40V64Z",opacity:"0.2"}),u.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"}))]]),Ex=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M236.37,139.4a12,12,0,0,0-12-3A84.07,84.07,0,0,1,119.6,31.59a12,12,0,0,0-15-15A108.86,108.86,0,0,0,49.69,55.07,108,108,0,0,0,136,228a107.09,107.09,0,0,0,64.93-21.69,108.86,108.86,0,0,0,38.44-54.94A12,12,0,0,0,236.37,139.4Zm-49.88,47.74A84,84,0,0,1,68.86,69.51,84.93,84.93,0,0,1,92.27,48.29Q92,52.13,92,56A108.12,108.12,0,0,0,200,164q3.87,0,7.71-.27A84.79,84.79,0,0,1,186.49,187.14Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M227.89,147.89A96,96,0,1,1,108.11,28.11,96.09,96.09,0,0,0,227.89,147.89Z",opacity:"0.2"}),u.createElement("path",{d:"M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M235.54,150.21a104.84,104.84,0,0,1-37,52.91A104,104,0,0,1,32,120,103.09,103.09,0,0,1,52.88,57.48a104.84,104.84,0,0,1,52.91-37,8,8,0,0,1,10,10,88.08,88.08,0,0,0,109.8,109.8,8,8,0,0,1,10,10Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M232.13,143.64a6,6,0,0,0-6-1.49A90.07,90.07,0,0,1,113.86,29.85a6,6,0,0,0-7.49-7.48A102.88,102.88,0,0,0,54.48,58.68,102,102,0,0,0,197.32,201.52a102.88,102.88,0,0,0,36.31-51.89A6,6,0,0,0,232.13,143.64Zm-42,48.29a90,90,0,0,1-126-126A90.9,90.9,0,0,1,99.65,37.66,102.06,102.06,0,0,0,218.34,156.35,90.9,90.9,0,0,1,190.1,191.93Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M230.72,145.06a4,4,0,0,0-4-1A92.08,92.08,0,0,1,111.94,29.27a4,4,0,0,0-5-5A100.78,100.78,0,0,0,56.08,59.88a100,100,0,0,0,140,140,100.78,100.78,0,0,0,35.59-50.87A4,4,0,0,0,230.72,145.06ZM191.3,193.53A92,92,0,0,1,62.47,64.7a93,93,0,0,1,39.88-30.35,100.09,100.09,0,0,0,119.3,119.3A93,93,0,0,1,191.3,193.53Z"}))]]),Sx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M230.14,25.86a20,20,0,0,0-19.57-5.11l-.22.07L18.44,79a20,20,0,0,0-3.06,37.25L99,157l40.71,83.65a19.81,19.81,0,0,0,18,11.38c.57,0,1.15,0,1.73-.07A19.82,19.82,0,0,0,177,237.56L235.18,45.65a1.42,1.42,0,0,0,.07-.22A20,20,0,0,0,230.14,25.86ZM156.91,221.07l-34.37-70.64,46-45.95a12,12,0,0,0-17-17l-46,46L34.93,99.09,210,46Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M223.69,42.18l-58.22,192a8,8,0,0,1-14.92,1.25L108,148,20.58,105.45a8,8,0,0,1,1.25-14.92l192-58.22A8,8,0,0,1,223.69,42.18Z",opacity:"0.2"}),u.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M225.88,30.12a13.83,13.83,0,0,0-13.7-3.58l-.11,0L20.14,84.77A14,14,0,0,0,18,110.85l85.56,41.64L145.12,238a13.87,13.87,0,0,0,12.61,8c.4,0,.81,0,1.21-.05a13.9,13.9,0,0,0,12.29-10.09l58.2-191.93,0-.11A13.83,13.83,0,0,0,225.88,30.12Zm-8,10.4L159.73,232.43l0,.11a2,2,0,0,1-3.76.26l-40.68-83.58,49-49a6,6,0,1,0-8.49-8.49l-49,49L23.15,100a2,2,0,0,1,.31-3.74l.11,0L215.48,38.08a1.94,1.94,0,0,1,1.92.52A2,2,0,0,1,217.92,40.52Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224.47,31.52a11.87,11.87,0,0,0-11.82-3L20.74,86.67a12,12,0,0,0-1.91,22.38L105,151l41.92,86.15A11.88,11.88,0,0,0,157.74,244c.34,0,.69,0,1,0a11.89,11.89,0,0,0,10.52-8.63l58.21-192,0-.08A11.85,11.85,0,0,0,224.47,31.52Zm-4.62,9.54-58.23,192a4,4,0,0,1-7.48.59l-41.3-84.86,50-50a4,4,0,1,0-5.66-5.66l-50,50-84.9-41.31a3.88,3.88,0,0,1-2.27-4,3.93,3.93,0,0,1,3-3.54L214.9,36.16A3.93,3.93,0,0,1,216,36a4,4,0,0,1,2.79,1.19A3.93,3.93,0,0,1,219.85,41.06Z"}))]]),Ax=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M240.49,63.51a12,12,0,0,0-17,0L192,95,161,64l31.52-31.51a12,12,0,0,0-17-17L144,47,120.49,23.51a12,12,0,1,0-17,17L107,44,56.89,94.14a44,44,0,0,0,0,62.23l12.88,12.88L23.51,215.51a12,12,0,0,0,17,17l46.26-46.26,12.88,12.88a44,44,0,0,0,62.23,0L212,149l3.51,3.52a12,12,0,0,0,17-17L209,112l31.52-31.51A12,12,0,0,0,240.49,63.51Zm-95.6,118.63a20,20,0,0,1-28.29,0L73.86,139.4a20,20,0,0,1,0-28.29L124,61l71,71Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M212,132l-58.63,58.63a32,32,0,0,1-45.25,0L65.37,147.88a32,32,0,0,1,0-45.25L124,44Z",opacity:"0.2"}),u.createElement("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M237.66,77.66,203.31,112l26.35,26.34a8,8,0,0,1-11.32,11.32L212,143.31l-53,53a40,40,0,0,1-56.57,0L86.75,180.57,37.66,229.66a8,8,0,0,1-11.32-11.32l49.09-49.09L59.72,153.54a40,40,0,0,1,0-56.57l53-53-6.35-6.34a8,8,0,0,1,11.32-11.32L144,52.69l34.34-34.35a8,8,0,1,1,11.32,11.32L155.31,64,192,100.69l34.34-34.35a8,8,0,0,1,11.32,11.32Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M236.24,67.76a6,6,0,0,0-8.48,0L192,103.51,152.49,64l35.75-35.76a6,6,0,0,0-8.48-8.48L144,55.51,116.24,27.76a6,6,0,1,0-8.48,8.48L115.51,44,61.13,98.38a38,38,0,0,0,0,53.75l17.13,17.12-50.5,50.51a6,6,0,1,0,8.48,8.48l50.51-50.5,17.13,17.13a38,38,0,0,0,53.74,0L212,140.49l7.76,7.75a6,6,0,0,0,8.48-8.48L200.49,112l35.75-35.76A6,6,0,0,0,236.24,67.76ZM149.13,186.38a26,26,0,0,1-36.77,0L69.62,143.64a26,26,0,0,1,0-36.77L124,52.49,203.51,132Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M234.83,69.17a4,4,0,0,0-5.66,0L192,106.34,149.66,64l37.17-37.17a4,4,0,1,0-5.66-5.66L144,58.34,114.83,29.17a4,4,0,0,0-5.66,5.66L118.34,44,62.54,99.8a36.05,36.05,0,0,0,0,50.91l18.55,18.54L29.17,221.17a4,4,0,0,0,5.66,5.66l51.92-51.92,18.54,18.55a36.06,36.06,0,0,0,50.91,0l55.8-55.8,9.17,9.17a4,4,0,0,0,5.66-5.66L197.66,112l37.17-37.17A4,4,0,0,0,234.83,69.17ZM150.54,187.8a28,28,0,0,1-39.59,0L68.2,145.05a28,28,0,0,1,0-39.59L124,49.66,206.34,132Z"}))]]),Cx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),u.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]),Mx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M222.41,155.16a12,12,0,0,0-11.56-.69A16,16,0,0,1,188,139,16.2,16.2,0,0,1,202.8,124a15.83,15.83,0,0,1,8,1.5A12,12,0,0,0,228,114.7V72a20,20,0,0,0-20-20H176a40.15,40.15,0,0,0-12.62-29.16,39.67,39.67,0,0,0-29.94-10.76,40.08,40.08,0,0,0-37.34,37C96,50.07,96,51,96,52H64A20,20,0,0,0,44,72v28a40.15,40.15,0,0,0-29.16,12.62A40,40,0,0,0,41.1,179.9a28.3,28.3,0,0,0,2.9.1v28a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V165.31A12,12,0,0,0,222.41,155.16ZM204,204H68V165.31a12,12,0,0,0-17.15-10.84A15.9,15.9,0,0,1,42.8,156,16.2,16.2,0,0,1,28,141.06a16,16,0,0,1,22.82-15.52A12,12,0,0,0,68,114.7V76h42.7a12,12,0,0,0,10.83-17.15A15.9,15.9,0,0,1,120,50.8,16.19,16.19,0,0,1,134.94,36a16,16,0,0,1,15.53,22.81A12,12,0,0,0,161.31,76H204v24c-1,0-1.93,0-2.9.11A40,40,0,0,0,204,180h0Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M204,168a28,28,0,0,0,12-2.69V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V165.31a28,28,0,1,1,0-50.62V72a8,8,0,0,1,8-8h46.69a28,28,0,1,1,50.61,0H208a8,8,0,0,1,8,8v42.69A28,28,0,1,0,204,168Z",opacity:"0.2"}),u.createElement("path",{d:"M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.15,36.15,0,0,0-11.36-26.25,36,36,0,0,0-60.55,23.63,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,36.56,36.56,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M165.78,224H208a16,16,0,0,0,16-16V170.35A8,8,0,0,0,212.94,163a23.37,23.37,0,0,1-8.94,1.77c-13.23,0-24-11.1-24-24.73s10.77-24.73,24-24.73a23.37,23.37,0,0,1,8.94,1.77A8,8,0,0,0,224,109.65V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36,36,0,0,0-72,0,35.36,35.36,0,0,0,.22,4H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36,36,0,0,0,0,72,35.36,35.36,0,0,0,4-.22V208a16,16,0,0,0,16,16h42.22"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M219.21,160.24a6,6,0,0,0-5.78-.35,22,22,0,1,1-11.05-41.83,22.15,22.15,0,0,1,11.05,2.06A6,6,0,0,0,222,114.7V72a14,14,0,0,0-14-14H169.48a35,35,0,0,0,.52-6,34.1,34.1,0,0,0-10.73-24.78,33.64,33.64,0,0,0-25.45-9.15A34,34,0,0,0,102.54,58H64A14,14,0,0,0,50,72v34.53a34,34,0,0,0-30.79,10.2,34,34,0,0,0,22.31,57.18,34.34,34.34,0,0,0,8.48-.44V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V165.31A6,6,0,0,0,219.21,160.24ZM210,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V165.31a6,6,0,0,0-6-6,5.92,5.92,0,0,0-2.57.58,22,22,0,0,1-31.38-18.46,22,22,0,0,1,31.38-21.31A6,6,0,0,0,62,114.7V72a2,2,0,0,1,2-2h46.69a6,6,0,0,0,5.42-8.57,22.25,22.25,0,0,1-2-11,22,22,0,1,1,41.83,11A6,6,0,0,0,161.3,70H208a2,2,0,0,1,2,2v34.54a34,34,0,0,0-39.93,31.28,33.71,33.71,0,0,0,9.14,25.45A34.15,34.15,0,0,0,210,173.48Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.11,36.11,0,0,0-11.36-26.24,36,36,0,0,0-60.55,23.62,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,35.68,35.68,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M218.14,161.93a4,4,0,0,0-3.86-.24,24,24,0,0,1-34.23-23.25,24,24,0,0,1,34.23-20.13A4,4,0,0,0,220,114.7V72a12,12,0,0,0-12-12H167a32,32,0,1,0-62.91-10.33A32.57,32.57,0,0,0,105,60H64A12,12,0,0,0,52,72v37a32,32,0,1,0-10.33,62.91A32.28,32.28,0,0,0,52,171v37a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V165.31A4,4,0,0,0,218.14,161.93ZM212,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V165.31a4,4,0,0,0-1.86-3.38,4,4,0,0,0-3.85-.24,24,24,0,0,1-34.24-20.13,24,24,0,0,1,34.24-23.25A4,4,0,0,0,60,114.7V72a4,4,0,0,1,4-4h46.69a4,4,0,0,0,3.62-5.71,24,24,0,0,1,20.13-34.24,24,24,0,0,1,23.25,34.24A4,4,0,0,0,161.31,68H208a4,4,0,0,1,4,4v37a32.57,32.57,0,0,0-10.33-.94A32,32,0,1,0,212,171Z"}))]]),bx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M157.27,21.22a12,12,0,0,0-12.64,1.31L75.88,76H32A20,20,0,0,0,12,96v64a20,20,0,0,0,20,20H75.88l68.75,53.47A12,12,0,0,0,164,224V32A12,12,0,0,0,157.27,21.22ZM36,100H68v56H36Zm104,99.46L92,162.13V93.87l48-37.33ZM212,128a44,44,0,0,1-11,29.11,12,12,0,1,1-18-15.88,20,20,0,0,0,0-26.43,12,12,0,0,1,18-15.86A43.94,43.94,0,0,1,212,128Zm40,0a83.87,83.87,0,0,1-21.39,56,12,12,0,0,1-17.89-16,60,60,0,0,0,0-80,12,12,0,1,1,17.88-16A83.87,83.87,0,0,1,252,128Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M80,88v80H32a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8Z",opacity:"0.2"}),u.createElement("path",{d:"M155.51,24.81a8,8,0,0,0-8.42.88L77.25,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V32A8,8,0,0,0,155.51,24.81ZM32,96H72v64H32ZM144,207.64,88,164.09V91.91l56-43.55Zm54-106.08a40,40,0,0,1,0,52.88,8,8,0,0,1-12-10.58,24,24,0,0,0,0-31.72,8,8,0,0,1,12-10.58ZM248,128a79.9,79.9,0,0,1-20.37,53.34,8,8,0,0,1-11.92-10.67,64,64,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67A79.83,79.83,0,0,1,248,128Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M160,32.25V223.69a8.29,8.29,0,0,1-3.91,7.18,8,8,0,0,1-9-.56l-65.57-51A4,4,0,0,1,80,176.16V79.84a4,4,0,0,1,1.55-3.15l65.57-51a8,8,0,0,1,10,.16A8.27,8.27,0,0,1,160,32.25ZM60,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H60a4,4,0,0,0,4-4V84A4,4,0,0,0,60,80Zm126.77,20.84a8,8,0,0,0-.72,11.3,24,24,0,0,1,0,31.72,8,8,0,1,0,12,10.58,40,40,0,0,0,0-52.88A8,8,0,0,0,186.74,100.84Zm40.89-26.17a8,8,0,1,0-11.92,10.66,64,64,0,0,1,0,85.34,8,8,0,1,0,11.92,10.66,80,80,0,0,0,0-106.66Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M154.64,26.61a6,6,0,0,0-6.32.65L77.94,82H32A14,14,0,0,0,18,96v64a14,14,0,0,0,14,14H77.94l70.38,54.74A6,6,0,0,0,158,224V32A6,6,0,0,0,154.64,26.61ZM30,160V96a2,2,0,0,1,2-2H74v68H32A2,2,0,0,1,30,160Zm116,51.73L86,165.07V90.93l60-46.66Zm50.53-108.85a38,38,0,0,1,0,50.24,6,6,0,1,1-9-7.94,26,26,0,0,0,0-34.37,6,6,0,0,1,9-7.93ZM246,128a77.86,77.86,0,0,1-19.86,52,6,6,0,1,1-8.94-8,66,66,0,0,0,0-88,6,6,0,1,1,8.94-8A77.86,77.86,0,0,1,246,128Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M155.51,24.81a8,8,0,0,0-8.42.88L77.25,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V32A8,8,0,0,0,155.51,24.81ZM32,96H72v64H32ZM144,207.64,88,164.09V91.91l56-43.55Zm54-106.08a40,40,0,0,1,0,52.88,8,8,0,0,1-12-10.58,24,24,0,0,0,0-31.72,8,8,0,0,1,12-10.58ZM248,128a79.9,79.9,0,0,1-20.37,53.34,8,8,0,0,1-11.92-10.67,64,64,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67A79.83,79.83,0,0,1,248,128Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M153.76,28.41a4,4,0,0,0-4.22.43L78.63,84H32A12,12,0,0,0,20,96v64a12,12,0,0,0,12,12H78.63l70.91,55.16A4.07,4.07,0,0,0,152,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,156,224V32A4,4,0,0,0,153.76,28.41ZM28,160V96a4,4,0,0,1,4-4H76v72H32A4,4,0,0,1,28,160Zm120,55.82L84,166V90l64-49.78Zm47-111.61a36,36,0,0,1,0,47.59,4,4,0,1,1-6-5.3,28,28,0,0,0,0-37,4,4,0,0,1,6-5.28ZM244,128a75.88,75.88,0,0,1-19.35,50.67,4,4,0,0,1-6-5.34,68,68,0,0,0,0-90.66,4,4,0,0,1,6-5.34A75.88,75.88,0,0,1,244,128Z"}))]]),Lx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm33.25,62.75a12,12,0,0,0,8.49-3.52L204.37,68.6a12,12,0,0,0-17-17L164.77,74.26a12,12,0,0,0,8.48,20.49ZM224,116H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),u.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm33.94,58.75,17-17a8,8,0,0,1,11.32,11.32l-17,17a8,8,0,0,1-11.31-11.31ZM48,136a8,8,0,0,1,0-16H72a8,8,0,0,1,0,16Zm46.06,37.25-17,17a8,8,0,0,1-11.32-11.32l17-17a8,8,0,0,1,11.31,11.31Zm0-79.19a8,8,0,0,1-11.31,0l-17-17A8,8,0,0,1,77.09,65.77l17,17A8,8,0,0,1,94.06,94.06ZM136,208a8,8,0,0,1-16,0V184a8,8,0,0,1,16,0Zm0-136a8,8,0,0,1-16,0V48a8,8,0,0,1,16,0Zm54.23,118.23a8,8,0,0,1-11.32,0l-17-17a8,8,0,0,1,11.31-11.31l17,17A8,8,0,0,1,190.23,190.23ZM208,136H184a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm39.25,56.75A6,6,0,0,0,177.5,87l22.62-22.63a6,6,0,0,0-8.48-8.48L169,78.5a6,6,0,0,0,4.24,10.25ZM224,122H192a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12Zm-46.5,47A6,6,0,0,0,169,177.5l22.63,22.62a6,6,0,0,0,8.48-8.48ZM128,186a6,6,0,0,0-6,6v32a6,6,0,0,0,12,0V192A6,6,0,0,0,128,186ZM78.5,169,55.88,191.64a6,6,0,1,0,8.48,8.48L87,177.5A6,6,0,1,0,78.5,169ZM70,128a6,6,0,0,0-6-6H32a6,6,0,0,0,0,12H64A6,6,0,0,0,70,128ZM64.36,55.88a6,6,0,0,0-8.48,8.48L78.5,87A6,6,0,1,0,87,78.5Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"}))]]),Nx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M243,96a20.33,20.33,0,0,0-17.74-14l-56.59-4.57L146.83,24.62a20.36,20.36,0,0,0-37.66,0L87.35,77.44,30.76,82A20.45,20.45,0,0,0,19.1,117.88l43.18,37.24-13.2,55.7A20.37,20.37,0,0,0,79.57,233L128,203.19,176.43,233a20.39,20.39,0,0,0,30.49-22.15l-13.2-55.7,43.18-37.24A20.43,20.43,0,0,0,243,96ZM172.53,141.7a12,12,0,0,0-3.84,11.86L181.58,208l-47.29-29.08a12,12,0,0,0-12.58,0L74.42,208l12.89-54.4a12,12,0,0,0-3.84-11.86L41.2,105.24l55.4-4.47a12,12,0,0,0,10.13-7.38L128,41.89l21.27,51.5a12,12,0,0,0,10.13,7.38l55.4,4.47Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M229.06,108.79l-48.7,42,14.88,62.79a8.4,8.4,0,0,1-12.52,9.17L128,189.09,73.28,222.74a8.4,8.4,0,0,1-12.52-9.17l14.88-62.79-48.7-42A8.46,8.46,0,0,1,31.73,94L95.64,88.8l24.62-59.6a8.36,8.36,0,0,1,15.48,0l24.62,59.6L224.27,94A8.46,8.46,0,0,1,229.06,108.79Z",opacity:"0.2"}),u.createElement("path",{d:"M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M237.28,97.87A14.18,14.18,0,0,0,224.76,88l-60.25-4.87-23.22-56.2a14.37,14.37,0,0,0-26.58,0L91.49,83.11,31.24,88a14.18,14.18,0,0,0-12.52,9.89A14.43,14.43,0,0,0,23,113.32L69,152.93l-14,59.25a14.4,14.4,0,0,0,5.59,15,14.1,14.1,0,0,0,15.91.6L128,196.12l51.58,31.71a14.1,14.1,0,0,0,15.91-.6,14.4,14.4,0,0,0,5.59-15l-14-59.25L233,113.32A14.43,14.43,0,0,0,237.28,97.87Zm-12.14,6.37-48.69,42a6,6,0,0,0-1.92,5.92l14.88,62.79a2.35,2.35,0,0,1-.95,2.57,2.24,2.24,0,0,1-2.6.1L131.14,184a6,6,0,0,0-6.28,0L70.14,217.61a2.24,2.24,0,0,1-2.6-.1,2.35,2.35,0,0,1-1-2.57l14.88-62.79a6,6,0,0,0-1.92-5.92l-48.69-42a2.37,2.37,0,0,1-.73-2.65,2.28,2.28,0,0,1,2.07-1.65l63.92-5.16a6,6,0,0,0,5.06-3.69l24.63-59.6a2.35,2.35,0,0,1,4.38,0l24.63,59.6a6,6,0,0,0,5.06,3.69l63.92,5.16a2.28,2.28,0,0,1,2.07,1.65A2.37,2.37,0,0,1,225.14,104.24Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M235.36,98.49A12.21,12.21,0,0,0,224.59,90l-61.47-5L139.44,27.67a12.37,12.37,0,0,0-22.88,0L92.88,85,31.41,90a12.45,12.45,0,0,0-7.07,21.84l46.85,40.41L56.87,212.64a12.35,12.35,0,0,0,18.51,13.49L128,193.77l52.62,32.36a12.12,12.12,0,0,0,13.69-.51,12.28,12.28,0,0,0,4.82-13l-14.32-60.42,46.85-40.41A12.29,12.29,0,0,0,235.36,98.49Zm-8.93,7.26-48.68,42a4,4,0,0,0-1.28,3.95l14.87,62.79a4.37,4.37,0,0,1-1.72,4.65,4.24,4.24,0,0,1-4.81.18L130.1,185.67a4,4,0,0,0-4.2,0L71.19,219.32a4.24,4.24,0,0,1-4.81-.18,4.37,4.37,0,0,1-1.72-4.65L79.53,151.7a4,4,0,0,0-1.28-3.95l-48.68-42A4.37,4.37,0,0,1,28.25,101a4.31,4.31,0,0,1,3.81-3L96,92.79a4,4,0,0,0,3.38-2.46L124,30.73a4.35,4.35,0,0,1,8.08,0l24.62,59.6A4,4,0,0,0,160,92.79l63.9,5.15a4.31,4.31,0,0,1,3.81,3A4.37,4.37,0,0,1,226.43,105.75Z"}))]]),Hx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M116,36V20a12,12,0,0,1,24,0V36a12,12,0,0,1-24,0Zm80,92a68,68,0,1,1-68-68A68.07,68.07,0,0,1,196,128Zm-24,0a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,128ZM51.51,68.49a12,12,0,1,0,17-17l-12-12a12,12,0,0,0-17,17Zm0,119-12,12a12,12,0,0,0,17,17l12-12a12,12,0,1,0-17-17ZM196,72a12,12,0,0,0,8.49-3.51l12-12a12,12,0,0,0-17-17l-12,12A12,12,0,0,0,196,72Zm8.49,115.51a12,12,0,0,0-17,17l12,12a12,12,0,0,0,17-17ZM48,128a12,12,0,0,0-12-12H20a12,12,0,0,0,0,24H36A12,12,0,0,0,48,128Zm80,80a12,12,0,0,0-12,12v16a12,12,0,0,0,24,0V220A12,12,0,0,0,128,208Zm108-92H220a12,12,0,0,0,0,24h16a12,12,0,0,0,0-24Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M184,128a56,56,0,1,1-56-56A56,56,0,0,1,184,128Z",opacity:"0.2"}),u.createElement("path",{d:"M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm8,24a64,64,0,1,0,64,64A64.07,64.07,0,0,0,128,64ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M122,40V16a6,6,0,0,1,12,0V40a6,6,0,0,1-12,0Zm68,88a62,62,0,1,1-62-62A62.07,62.07,0,0,1,190,128Zm-12,0a50,50,0,1,0-50,50A50.06,50.06,0,0,0,178,128ZM59.76,68.24a6,6,0,1,0,8.48-8.48l-16-16a6,6,0,0,0-8.48,8.48Zm0,119.52-16,16a6,6,0,1,0,8.48,8.48l16-16a6,6,0,1,0-8.48-8.48ZM192,70a6,6,0,0,0,4.24-1.76l16-16a6,6,0,0,0-8.48-8.48l-16,16A6,6,0,0,0,192,70Zm4.24,117.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48-8.48ZM46,128a6,6,0,0,0-6-6H16a6,6,0,0,0,0,12H40A6,6,0,0,0,46,128Zm82,82a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V216A6,6,0,0,0,128,210Zm112-88H216a6,6,0,0,0,0,12h24a6,6,0,0,0,0-12Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M124,40V16a4,4,0,0,1,8,0V40a4,4,0,0,1-8,0Zm64,88a60,60,0,1,1-60-60A60.07,60.07,0,0,1,188,128Zm-8,0a52,52,0,1,0-52,52A52.06,52.06,0,0,0,180,128ZM61.17,66.83a4,4,0,0,0,5.66-5.66l-16-16a4,4,0,0,0-5.66,5.66Zm0,122.34-16,16a4,4,0,0,0,5.66,5.66l16-16a4,4,0,0,0-5.66-5.66ZM192,68a4,4,0,0,0,2.83-1.17l16-16a4,4,0,1,0-5.66-5.66l-16,16A4,4,0,0,0,192,68Zm2.83,121.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66-5.66ZM40,124H16a4,4,0,0,0,0,8H40a4,4,0,0,0,0-8Zm88,88a4,4,0,0,0-4,4v24a4,4,0,0,0,8,0V216A4,4,0,0,0,128,212Zm112-88H216a4,4,0,0,0,0,8h24a4,4,0,0,0,0-8Z"}))]]),jx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,52H168a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm176,16H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm-48,40H40a12,12,0,0,0,0,24H168a12,12,0,0,0,0-24Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"}),u.createElement("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM160,184H64a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm32-32H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16ZM56,112a8,8,0,0,1,8-8h96a8,8,0,0,1,0,16H64A8,8,0,0,1,56,112ZM192,88H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,46H168a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm176,28H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm-48,40H40a6,6,0,0,0,0,12H168a6,6,0,0,0,0-12Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M36,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H40A4,4,0,0,1,36,64Zm4,44H168a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Zm176,32H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm-48,40H40a4,4,0,0,0,0,8H168a4,4,0,0,0,0-8Z"}))]]),Tx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"}),u.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]),Ix=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,36H40A20,20,0,0,0,20,56V160a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,120H44V60H212Zm24,52a12,12,0,0,1-12,12H32a12,12,0,0,1,0-24H224A12,12,0,0,1,236,208ZM104,128V88a12,12,0,0,1,18.36-10.18l32,20a12,12,0,0,1,0,20.36l-32,20A12,12,0,0,1,104,128Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,48H40a8,8,0,0,0-8,8V168a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V56A8,8,0,0,0,216,48ZM112,144V80l48,32Z",opacity:"0.2"}),u.createElement("path",{d:"M164.44,105.34l-48-32A8,8,0,0,0,104,80v64a8,8,0,0,0,12.44,6.66l48-32a8,8,0,0,0,0-13.32ZM120,129.05V95l25.58,17ZM216,40H40A16,16,0,0,0,24,56V168a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,128H40V56H216V168Zm16,40a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16H224A8,8,0,0,1,232,208Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16H224A8,8,0,0,1,232,208Zm0-152V168a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-68,56a8,8,0,0,0-3.41-6.55l-40-28A8,8,0,0,0,108,84v56a8,8,0,0,0,12.59,6.55l40-28A8,8,0,0,0,164,112Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M163.33,107l-48-32A6,6,0,0,0,106,80v64a6,6,0,0,0,9.33,5l48-32a6,6,0,0,0,0-10ZM118,132.79V91.21L149.18,112ZM216,42H40A14,14,0,0,0,26,56V168a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42Zm2,126a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Zm12,40a6,6,0,0,1-6,6H32a6,6,0,0,1,0-12H224A6,6,0,0,1,230,208Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M164.44,105.34l-48-32A8,8,0,0,0,104,80v64a8,8,0,0,0,12.44,6.66l48-32a8,8,0,0,0,0-13.32ZM120,129.05V95l25.58,17ZM216,40H40A16,16,0,0,0,24,56V168a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,128H40V56H216V168Zm16,40a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16H224A8,8,0,0,1,232,208Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M162.22,108.67l-48-32A4,4,0,0,0,108,80v64a4,4,0,0,0,2.11,3.53,4,4,0,0,0,4.11-.2l48-32a4,4,0,0,0,0-6.66ZM116,136.53V87.47L152.79,112ZM216,44H40A12,12,0,0,0,28,56V168a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44Zm4,124a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Zm8,40a4,4,0,0,1-4,4H32a4,4,0,0,1,0-8H224A4,4,0,0,1,228,208Z"}))]]),Px=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),u.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),Fx=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),u.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),_x=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),u.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Rx=u.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),ve=u.forwardRef((e,t)=>{const{alt:n,color:r,size:l,weight:i,mirrored:a,children:o,weights:s,...c}=e,{color:d="currentColor",size:f,weight:m="regular",mirrored:h=!1,...x}=u.useContext(Rx);return u.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:l??f,height:l??f,fill:r??d,viewBox:"0 0 256 256",transform:a||h?"scale(-1, 1)":void 0,...x,...c},!!n&&u.createElement("title",null,n),o,s.get(i??m))});ve.displayName="IconBase";const ld=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:ux}));ld.displayName="ArchiveIcon";const Zx=ld,id=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:cx}));id.displayName="CaretDownIcon";const zx=id,ad=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:fx}));ad.displayName="CaretRightIcon";const Vx=ad,od=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:dx}));od.displayName="ChartBarIcon";const Dx=od,sd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:px}));sd.displayName="ChatIcon";const Ox=sd,ud=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:hx}));ud.displayName="ChatsIcon";const $x=ud,cd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:mx}));cd.displayName="FileIcon";const fd=cd,dd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:gx}));dd.displayName="FilePdfIcon";const Bx=dd,pd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:yx}));pd.displayName="FolderIcon";const Ux=pd,hd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:xx}));hd.displayName="GearIcon";const Wx=hd,md=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:vx}));md.displayName="ImageIcon";const qx=md,gd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:kx}));gd.displayName="InfoIcon";const Qx=gd,yd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:wx}));yd.displayName="ListIcon";const Xx=yd,xd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Ex}));xd.displayName="MoonIcon";const Yx=xd,vd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Sx}));vd.displayName="PaperPlaneTiltIcon";const Kx=vd,kd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Ax}));kd.displayName="PlugIcon";const Gx=kd,wd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Cx}));wd.displayName="PlusIcon";const Ed=wd,Sd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Mx}));Sd.displayName="PuzzlePieceIcon";const Jx=Sd,Ad=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:bx}));Ad.displayName="SpeakerHighIcon";const e5=Ad,Cd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Lx}));Cd.displayName="SpinnerIcon";const t5=Cd,Md=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Nx}));Md.displayName="StarIcon";const n5=Md,bd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Hx}));bd.displayName="SunIcon";const r5=bd,Ld=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:jx}));Ld.displayName="TextAlignLeftIcon";const l5=Ld,Nd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Tx}));Nd.displayName="TrashIcon";const Hd=Nd,jd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Ix}));jd.displayName="VideoIcon";const i5=jd,Td=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Px}));Td.displayName="WarningIcon";const a5=Td,Id=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:Fx}));Id.displayName="XIcon";const Ml=Id,Pd=u.forwardRef((e,t)=>u.createElement(ve,{ref:t,...e,weights:_x}));Pd.displayName="XCircleIcon";const o5=Pd;function s5({messages:e,processing:t,hasStreaming:n,sessionActiveMs:r,permissionPrompt:l,onPermission:i,containerRef:a,scrollLocked:o=!1}){const s=u.useRef(null),c=u.useRef(null),d=u.useRef(!0),f=r;u.useLayoutEffect(()=>{d.current&&s.current&&s.current.scrollIntoView({behavior:n?"instant":"smooth"})},[e,t,l]);const m=u.useCallback(()=>{const h=c.current;if(!h)return;const x=d.current,w=h.scrollTop+h.clientHeight>=h.scrollHeight-64;d.current=w,!x&&w&&n&&requestAnimationFrame(()=>{var H;(H=s.current)==null||H.scrollIntoView({behavior:"instant"})})},[n]);return e.length===0&&!l?p.jsx("div",{className:"flex-1 flex items-center justify-center",children:p.jsxs("div",{className:"text-center",style:{maxWidth:"520px",padding:"0 var(--space-xl)"},children:[p.jsx("div",{style:{width:"64px",height:"64px",borderRadius:"50%",backgroundColor:"var(--color-accent-bg)",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 28px"},children:p.jsx("span",{style:{width:"22px",height:"22px",borderRadius:"3px",transform:"rotate(45deg)",background:"var(--color-accent)"}})}),p.jsxs("h1",{style:{fontSize:"28px",fontWeight:300,lineHeight:1.3,color:"var(--color-text)",fontFamily:"var(--font-display)",marginBottom:"12px"},children:["What would you like to"," ",p.jsx("span",{style:{fontWeight:600},children:"create"})," ","today?"]}),p.jsxs("p",{style:{fontSize:"14px",color:"var(--color-text-muted)",lineHeight:1.6,marginBottom:"28px"},children:["dscode is a digital studio for content-driven creation —"," ","code, write, design, and build with an AI that thinks like a maker."]}),p.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:["Write code","Refactor systems","Design interfaces","Analyze data","Run commands"].map(h=>p.jsx("span",{style:{fontSize:"12px",padding:"6px 14px",borderRadius:"20px",border:"1px solid var(--color-border)",backgroundColor:"var(--color-surface)",color:"var(--color-text-muted)"},children:h},h))})]})}):p.jsxs("div",{ref:h=>{c.current=h,a&&(a.current=h)},onScroll:m,className:"flex-1 overflow-y-auto min-h-0 px-4 py-4 space-y-4"+(o?" overflow-hidden pointer-events-none":""),children:[e.map(h=>p.jsx(u5,{fallback:p.jsx(c5,{message:h}),children:h.role==="user"?p.jsx(p5,{message:h}):p.jsx(h5,{message:h})},h.id)),t&&!n&&!l&&p.jsx(f5,{sessionTime:f}),l&&p.jsx(d5,{toolName:l.toolName,preview:l.preview,fuzzyPattern:l.fuzzyPattern,fuzzyArgDesc:l.fuzzyArgDesc,llmSuggestions:l.llmSuggestions,onDecision:i}),p.jsx("div",{ref:s})]})}class u5 extends Xc.Component{constructor(){super(...arguments);bu(this,"state",{hasError:!1,error:null})}static getDerivedStateFromError(n){return{hasError:!0,error:n}}render(){var n;return this.state.hasError?(console.error("[ChatView] render error:",(n=this.state.error)==null?void 0:n.message),this.props.fallback):this.props.children}}function c5({message:e}){return p.jsx("div",{className:"flex justify-start",children:p.jsxs("div",{"data-collider":"message-card",className:"max-w-[85%] px-4 py-3",style:{borderRadius:"12px",border:"1px solid var(--color-error-text)",backgroundColor:"var(--color-error)",color:"var(--color-error-text)"},children:[p.jsx("div",{className:"text-xs font-bold mb-1",children:"Render Error"}),p.jsxs("div",{className:"text-xs font-mono break-all",children:["role=",e.role," | content=",String(e.content).slice(0,60)]})]})})}function xi(e){return e<60?`${e}s`:`${Math.floor(e/60)}m ${e%60}s`}function f5({sessionTime:e}){return p.jsx("div",{className:"flex justify-start animate-fade-up",children:p.jsx("div",{className:"px-4 py-3",style:{borderRadius:"12px",border:"1px solid var(--color-border)",backgroundColor:"var(--color-surface)"},children:p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsxs("div",{className:"flex gap-1",children:[p.jsx("span",{className:"w-2 h-2 rounded-full animate-bounce",style:{backgroundColor:"var(--color-accent)",animationDelay:"0ms"}}),p.jsx("span",{className:"w-2 h-2 rounded-full animate-bounce",style:{backgroundColor:"var(--color-accent)",animationDelay:"150ms"}}),p.jsx("span",{className:"w-2 h-2 rounded-full animate-bounce",style:{backgroundColor:"var(--color-accent)",animationDelay:"300ms"}})]}),p.jsx("span",{className:"text-sm",style:{color:"var(--color-text-muted)"},children:"Waiting..."}),p.jsxs("span",{className:"text-xs tabular-nums",style:{color:"var(--color-text-muted)"},children:["(",xi(Math.floor(e/1e3)),")"]})]})})})}function d5({toolName:e,preview:t,fuzzyPattern:n,fuzzyArgDesc:r,llmSuggestions:l,onDecision:i}){const[a,o]=u.useState(!1),[s,c]=u.useState(""),[d,f]=u.useState(!1),[m,h]=u.useState("save"),x=H=>{f(!1),m==="session"||m==="allow"?H===0?i("always_allow"):i("always_allow",void 0,n??void 0,H):i("always_allow_save",void 0,H===1?n??void 0:void 0,H)},w=()=>{s.trim()&&(i("deny",s.trim()),c(""),o(!1))};return p.jsx("div",{className:"flex justify-start animate-fade-up",children:p.jsxs("div",{className:"max-w-[85%] md:max-w-[75%] px-4 py-3","data-collider":"message-card",style:{borderRadius:"12px",border:"1px solid var(--color-border)",backgroundColor:"var(--color-warning)"},children:[p.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[p.jsx(a5,{size:16,weight:"bold",style:{color:"var(--color-warning-text)"}}),p.jsx("span",{className:"text-sm font-medium",style:{color:"var(--color-warning-text)"},children:"Permission Required"})]}),p.jsx("div",{className:"mb-2 text-xs font-mono",style:{color:"var(--color-accent)"},children:e}),p.jsx("div",{className:"mb-3 text-xs font-mono break-all max-h-24 overflow-y-auto rounded p-2",style:{backgroundColor:"var(--color-bg)",color:"var(--color-text-muted)"},children:t}),a?p.jsxs("div",{className:"space-y-2",children:[p.jsx("textarea",{value:s,onChange:H=>c(H.target.value),placeholder:"Explain what you want the agent to do instead...",className:"w-full text-xs p-2 resize-none focus:outline-none",style:{borderRadius:"8px",backgroundColor:"var(--color-bg)",border:"1px solid var(--color-border)",color:"var(--color-text)"},rows:3,autoFocus:!0,onKeyDown:H=>{H.key==="Enter"&&!H.shiftKey&&(H.preventDefault(),w()),H.key==="Escape"&&(c(""),o(!1))}}),p.jsxs("div",{className:"flex gap-2",children:[p.jsx("button",{onClick:w,disabled:!s.trim(),className:"btn-primary text-xs",children:"Submit"}),p.jsx("button",{onClick:()=>{c(""),o(!1)},className:"btn-secondary text-xs",children:"Cancel"})]})]}):d?p.jsxs("div",{className:"flex gap-2 flex-wrap",children:[m==="session"?p.jsxs(p.Fragment,{children:[p.jsxs("button",{onClick:()=>x(0),className:"btn-secondary text-xs",children:["Exact: ",e]}),p.jsxs("button",{onClick:()=>x(1),className:"btn-secondary text-xs",children:["Fuzzy: ",n]})]}):p.jsxs(p.Fragment,{children:[p.jsxs("button",{onClick:()=>x(0),className:"btn-secondary text-xs",children:["Exact: ",e,e.startsWith("mcp__")?"":" (this call)"]}),p.jsx("button",{onClick:()=>x(1),className:"btn-secondary text-xs",children:e.startsWith("mcp__")?n:"All calls"}),r&&p.jsx("button",{onClick:()=>x(2),className:"btn-secondary text-xs",children:r}),l&&l.map((H,g)=>p.jsxs("button",{onClick:()=>x(3+g),className:"btn-secondary text-xs",children:["[AI] ",H.label]},g))]}),p.jsx("button",{onClick:()=>f(!1),className:"btn text-xs",style:{backgroundColor:"var(--color-surface-hover)"},children:"Cancel"})]}):p.jsxs("div",{className:"flex gap-2 flex-wrap",children:[n&&n!==e?p.jsx("button",{onClick:()=>{h("allow"),f(!0)},className:"btn-primary text-xs",children:"Allow ▸"}):p.jsx("button",{onClick:()=>i("allow"),className:"btn-primary text-xs",children:"Allow"}),n&&n!==e?p.jsx("button",{onClick:()=>{h("session"),f(!0)},className:"btn-secondary text-xs",children:"Always Allow ▸"}):p.jsx("button",{onClick:()=>i("always_allow"),className:"btn-secondary text-xs",children:"Always Allow"}),p.jsx("button",{onClick:()=>{h("save"),f(!0)},className:"btn-secondary text-xs",children:"Save to Settings ▸"}),p.jsx("button",{onClick:()=>o(!0),className:"btn text-xs",style:{backgroundColor:"var(--color-warning)",color:"var(--color-warning-text)",borderColor:"var(--color-warning-text)"},children:"Explain"}),p.jsx("button",{onClick:()=>i("deny"),className:"btn-danger text-xs",children:"Deny"})]})]})})}function p5({message:e}){const t=typeof e.content=="string"?e.content:"";return p.jsxs("div",{className:"user-msg",children:[p.jsxs("div",{className:"meta",children:["You",e.createdAt?` · ${new Date(e.createdAt).toLocaleTimeString()}`:""]}),p.jsxs("div",{"data-collider":"message-card",className:"content",children:[e.images&&e.images.length>0&&p.jsx("div",{className:"flex flex-wrap gap-2 mb-2 justify-end",children:e.images.map((n,r)=>{const l="data"in n?`data:${n.mimeType};base64,${n.data}`:void 0;return p.jsx("img",{src:l??"/placeholder-image.svg",alt:`Attached image ${r+1}`,className:"max-w-[200px] max-h-[200px] object-cover rounded cursor-pointer hover:opacity-90 transition-opacity",style:{border:"1px solid var(--color-border)"},onClick:()=>l&&window.open(l,"_blank")},r)})}),t?p.jsx(Qi,{className:"text-sm leading-relaxed",children:t}):e.isStreaming&&!e.thinking&&(!e.images||e.images.length===0)?p.jsx("span",{className:"inline-block w-2 h-4 animate-pulse rounded-sm",style:{backgroundColor:"var(--color-accent)"}}):null]})]})}function h5({message:e}){const t=typeof e.content=="string"?e.content:"",n=!!e.thinking,r=!!(e.tools&&e.tools.length>0),l=t.length>0||e.isStreaming,i=!n&&!r;return p.jsxs("div",{className:"assistant-msg",children:[p.jsxs("div",{className:"meta",children:["dscode",e.createdAt?` · ${new Date(e.createdAt).toLocaleTimeString()}`:""]}),n&&p.jsxs(p.Fragment,{children:[!i&&p.jsxs("div",{className:"phase-label","data-collider":"phase-label",children:[p.jsx("span",{className:`phase-dot ${e.isStreaming&&e.thinking?"active":"done"}`}),p.jsx("span",{className:"phase-text",children:"Thinking"})]}),p.jsx(g5,{thinking:e.thinking,isStreaming:e.isStreaming,thinkingStartedAt:e.thinkingStartedAt,thinkingUpdatedAt:e.thinkingUpdatedAt})]}),r&&p.jsxs(p.Fragment,{children:[!i&&p.jsxs("div",{className:"phase-label","data-collider":"phase-label",children:[p.jsx("span",{className:`phase-dot ${e.isStreaming?"active":"done"}`}),p.jsx("span",{className:"phase-text",children:"Executing"})]}),p.jsx("div",{className:"space-y-2",children:e.tools.map((a,o)=>p.jsx(sx,{tool:a,thinking:e.thinking},`${a.name}-${o}`))})]}),e.images&&e.images.length>0&&p.jsx("div",{className:"flex flex-wrap gap-2",children:e.images.map((a,o)=>{const s="data"in a?`data:${a.mimeType};base64,${a.data}`:void 0;return p.jsx("img",{src:s??"/placeholder-image.svg",alt:`Attached image ${o+1}`,className:"max-w-[200px] max-h-[200px] object-cover rounded cursor-pointer hover:opacity-90 transition-opacity",style:{border:"1px solid var(--color-border)"},onClick:()=>s&&window.open(s,"_blank")},o)})}),(l||r&&e.isStreaming)&&p.jsxs("div",{className:"phase-label","data-collider":"phase-label",children:[p.jsx("span",{className:`phase-dot ${e.isStreaming&&!e.thinking?"active":"done"}`}),p.jsx("span",{className:"phase-text",children:"Response"})]}),p.jsx("div",{className:"text-response",children:t?p.jsx(Qi,{isStreaming:e.isStreaming,className:"text-sm leading-relaxed",children:t}):e.isStreaming&&!e.thinking&&(!e.images||e.images.length===0)?p.jsx("span",{className:"inline-block w-2 h-4 animate-pulse rounded-sm",style:{backgroundColor:"var(--color-accent)"}}):null})]})}const m5=15e3;function g5({thinking:e,isStreaming:t,thinkingStartedAt:n,thinkingUpdatedAt:r}){const[l,i]=u.useState(!t),[a,o]=u.useState(0),s=u.useRef(null);u.useEffect(()=>{t&&i(!1)},[t]),u.useEffect(()=>{if(!t)return;const g=setInterval(()=>o(y=>y+1),1e3);return()=>clearInterval(g)},[t]);const c=t&&n!=null?Math.round((Date.now()-n)/1e3):null;c!=null&&(s.current=c);const d=!!e&&n==null,f=d?s.current:null,m=d?f:c,h=d&&f!=null,x=t&&n!=null&&r!=null&&Date.now()-r>m5,w=x?Math.round((Date.now()-(r??Date.now()))/1e3):0,H=t&&n!=null;return p.jsxs("div",{className:`thinking${l?" collapsed":""}${x?" stalled":""}${h?" done":""}${H?" streaming":""}`,"data-collider":"thinking-block",children:[p.jsxs("div",{className:"label",onClick:()=>i(!l),children:[p.jsx("span",{className:"dot"}),h?`Thought for ${xi(f)}`:H&&m!=null?p.jsxs(p.Fragment,{children:["Thinking ",p.jsxs("span",{className:"elapsed",children:["· ",xi(m)]})]}):"Thinking",x&&p.jsxs("span",{className:"stall-note",children:[" · no output for ",xi(w)]})]}),p.jsx("div",{className:"thinking-body",children:e})]})}function Ic(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=async()=>{const l=r.result,i=await y5(l),a=i.indexOf(","),o=i.slice(5,i.indexOf(";")),s=i.slice(a+1);t({data:s,mimeType:o})},r.onerror=n,r.readAsDataURL(e)})}function y5(e){return new Promise((t,n)=>{const r=new window.Image;r.onload=()=>{if(r.height<=480){t(e);return}const i=480/r.height,a=Math.round(r.width*i),o=document.createElement("canvas");o.width=a,o.height=480;const s=o.getContext("2d");if(!s){t(e);return}s.drawImage(r,0,0,a,480),t(o.toDataURL("image/jpeg",.85))},r.onerror=()=>n(new Error("Failed to load image for compression")),r.src=e})}function x5(e){return e.type.startsWith("image/")}function Pc(e){return!!(e.includes("/")||e.includes("\\")||/\.[a-zA-Z0-9]{1,6}$/.test(e)||/[a-zA-Z0-9\-_]/.test(e))}function v5(e){const t=e.slice(e.lastIndexOf(".")).toLowerCase();return[".png",".jpg",".jpeg",".gif",".webp",".bmp",".svg"].includes(t)?qx:[".txt",".md",".mdx",".log",".csv"].includes(t)?l5:[".mp4",".avi",".mov",".webm"].includes(t)?i5:[".mp3",".wav",".ogg"].includes(t)?e5:t===".pdf"?Bx:[".zip",".tar",".gz",".7z",".rar"].includes(t)?Zx:fd}const k5=10*1024*1024,w5=50*1024*1024;function E5({onSend:e,onAbort:t,onSlashCommand:n,onCommand:r,processing:l,slashCommands:i,fileListItems:a,fileListPrefix:o,viewMode:s,projectPath:c,onToast:d}){const[f,m]=u.useState(""),[h,x]=u.useState([]),[w,H]=u.useState([]),[g,y]=u.useState(!1),[v,L]=u.useState(!1),[P,E]=u.useState(""),[F,_]=u.useState(0),[Q,M]=u.useState(!1),[O,U]=u.useState(""),[ae,re]=u.useState(0),J=u.useRef(null),fe=u.useRef([]),b=u.useRef(-1),V=u.useRef(""),Y=u.useRef(!1),k=100,ie=i.filter(R=>!P||R.name.startsWith(P.slice(1))),de=u.useRef();u.useEffect(()=>(Q&&O!==void 0&&(clearTimeout(de.current),de.current=setTimeout(()=>{r({type:"file_list",prefix:O})},150)),()=>clearTimeout(de.current)),[O,Q,r]),u.useEffect(()=>{re(0)},[a]);const S=u.useCallback(()=>{const R=f.trim();if(!R&&h.length===0&&w.length===0)return;R&&fe.current[0]!==R&&(fe.current.unshift(R),fe.current.length>k&&fe.current.pop()),b.current=-1;const ee=w.length>0?w.map(B=>({name:B.name,content:B.content})):void 0;e(R,h.length>0?h:void 0,void 0,ee),m(""),x([]),H([]),L(!1),M(!1)},[f,h,w,e]),ye=R=>{const ee=J.current;if(!ee)return;const B=ee.selectionStart??f.length,se=f.slice(0,B),ne=se.match(new RegExp('(?:^|(?<![a-zA-Z0-9]))@("([^"]*)"?|([^\\s]*))$'));if(!ne||!Pc(ne[2]??ne[3]??""))return;const N=se.lastIndexOf("@");if(N===-1)return;const I=f.slice(0,N),A=f.slice(B),X=`@${R}/`,j=`${I}${X}${A}`;m(j),U(R+"/"),M(!0),r({type:"file_list",prefix:R+"/"}),requestAnimationFrame(()=>{const C=N+X.length;ee.focus(),ee.setSelectionRange(C,C)})},Re=(R,ee)=>{const B=J.current;if(!B)return;const se=B.selectionStart??f.length,N=f.slice(0,se).lastIndexOf("@");if(N===-1)return;const I=f.slice(0,N),A=f.slice(se);if(ee){const X=`${I}@${R} @${A}`;m(X),U(""),r({type:"file_list",prefix:""}),requestAnimationFrame(()=>{const j=N+R.length+3;B.focus(),B.setSelectionRange(j,j)})}else{const X=`${I}@${R} ${A}`;m(X),M(!1),requestAnimationFrame(()=>{const j=N+R.length+2;B.focus(),B.setSelectionRange(j,j)})}},ge=R=>{var ee;if(Q){if(R.key==="ArrowDown"){R.preventDefault(),re(B=>Math.min(B+1,a.length-1));return}if(R.key==="ArrowUp"){R.preventDefault(),re(B=>Math.max(B-1,0));return}if(R.key==="Enter"){R.preventDefault();const B=a[ae];B&&(B.isDir?ye(B.path):Re(B.path,!1));return}if(R.key==="Tab"){R.preventDefault();const B=a[ae];B&&(B.isDir?ye(B.path):Re(B.path,!0));return}if(R.key==="Escape"){M(!1);return}return}if(v){if(R.key==="ArrowDown")R.preventDefault(),_(B=>Math.min(B+1,ie.length-1));else if(R.key==="ArrowUp")R.preventDefault(),_(B=>Math.max(B-1,0));else if(R.key==="Enter"||R.key==="Tab"){R.preventDefault();const B=ie[F];B&&(m(`/${B.name} `),L(!1),(ee=J.current)==null||ee.focus())}else R.key==="Escape"&&L(!1);return}if(!l&&fe.current.length>0){if(R.key==="ArrowUp"){R.preventDefault(),b.current===-1?(V.current=f,b.current=0):b.current=Math.min(b.current+1,fe.current.length-1),m(fe.current[b.current]),requestAnimationFrame(()=>{const B=J.current;B&&(B.focus(),B.setSelectionRange(B.value.length,B.value.length))});return}if(R.key==="ArrowDown"&&b.current>=0){R.preventDefault(),b.current--,b.current===-1?m(V.current):m(fe.current[b.current]),requestAnimationFrame(()=>{const B=J.current;B&&(B.focus(),B.setSelectionRange(B.value.length,B.value.length))});return}}if(R.key==="Escape"&&l){R.preventDefault(),t();return}R.key==="Enter"&&!R.shiftKey&&!Y.current&&(R.preventDefault(),l||S()),R.key==="Backspace"&&!f&&h.length>0&&(R.preventDefault(),x(B=>B.slice(0,-1)))},Fe=R=>{const ee=R.target.value;m(ee),b.current=-1,V.current="",ee==="/"?(L(!0),E(""),_(0),M(!1)):ee.startsWith("/")&&!ee.includes(" ")?(L(!0),E(ee),_(0),M(!1)):L(!1);const B=R.target.selectionStart??ee.length,ne=ee.slice(0,B).match(new RegExp('(?:^|(?<![a-zA-Z0-9]))@("([^"]*)"?|([^\\s]*))$'));ne&&Pc(ne[2]??ne[3]??"")?(M(!0),U(ne[2]??ne[3]??"")):M(!1)},ot=u.useCallback(async R=>{const ee=R.clipboardData.items,B=[];for(let se=0;se<ee.length;se++)x5(ee[se])&&B.push(ee[se]);if(B.length>0){R.preventDefault();const se=[];for(const ne of B){const N=ne.getAsFile();if(N)try{const I=await Ic(N);se.push(I)}catch{}}x(ne=>[...ne,...se])}},[]),Xe=u.useCallback(R=>{x(ee=>ee.filter((B,se)=>se!==R))},[]),mt=u.useCallback(R=>{H(ee=>ee.filter((B,se)=>se!==R))},[]),gt=u.useCallback(R=>{l||(R.preventDefault(),R.dataTransfer.dropEffect="copy",y(!0))},[l]),an=u.useCallback(R=>{y(!1)},[]),on=u.useCallback(async R=>{if(l)return;R.preventDefault(),y(!1);const ee=R.dataTransfer.files;if(ee.length===0)return;const B=[],se=[];let ne=0;for(let N=0;N<ee.length;N++){const I=ee[N];if(I.type.startsWith("image/"))try{const A=await Ic(I);B.push(A)}catch{}else{if(I.size>k5){d==null||d("warning",`File '${I.name}' exceeds 10 MB limit`);continue}if(ne+I.size>w5){d==null||d("warning","Total file size exceeds 50 MB limit");continue}try{const A=await new Promise((X,j)=>{const C=new FileReader;C.onload=()=>{const T=C.result;X(T.substring(T.indexOf(",")+1))},C.onerror=j,C.readAsDataURL(I)});se.push({name:I.name,size:I.size,content:A}),ne+=I.size}catch{}}}B.length>0&&x(N=>[...N,...B]),se.length>0&&H(N=>[...N,...se]),requestAnimationFrame(()=>{var N;(N=J.current)==null||N.focus()})},[l]),sn=()=>{const R=J.current;R&&(R.style.height="auto",R.style.height=Math.min(R.scrollHeight,200)+"px")},Vt={borderRadius:"8px",border:"1px solid var(--color-border)",backgroundColor:"var(--color-surface)",color:"var(--color-text)"};return p.jsxs("div",{className:"px-4 py-3 relative",onDragOver:gt,onDragLeave:an,onDrop:on,style:{borderTop:"1px solid var(--color-border)",backgroundColor:g?"var(--color-surface-hover)":"var(--color-surface)",transition:"background-color 0.2s ease"},children:[v&&ie.length>0&&s!=="dashboard"&&p.jsxs("div",{className:"absolute bottom-full left-4 mb-1 w-72 overflow-hidden z-50",style:Vt,children:[p.jsx("div",{className:"px-3 py-2 text-xs border-b",style:{color:"var(--color-text-muted)",borderColor:"var(--color-border)"},children:"Commands"}),p.jsx("div",{className:"max-h-48 overflow-y-auto",children:ie.map((R,ee)=>p.jsxs("button",{className:"w-full text-left px-3 py-2 text-sm transition-colors flex items-center gap-2",style:{backgroundColor:ee===F?"var(--color-surface-hover)":"transparent",color:"var(--color-text)"},onMouseEnter:()=>_(ee),onClick:()=>{var B;m(`/${R.name} `),L(!1),(B=J.current)==null||B.focus()},children:[p.jsxs("span",{className:"font-mono text-xs",style:{color:"var(--color-accent)"},children:["/",R.name]}),p.jsx("span",{className:"text-xs truncate",style:{color:"var(--color-text-muted)"},children:R.description})]},R.name))})]}),Q&&p.jsxs("div",{className:"absolute bottom-full left-4 mb-1 w-80 overflow-hidden z-50",style:Vt,children:[p.jsxs("div",{className:"px-3 py-2 text-xs border-b",style:{color:"var(--color-text-muted)",borderColor:"var(--color-border)"},children:["Files ",O?`@${O}`:""]}),p.jsx("div",{className:"max-h-48 overflow-y-auto",children:a.length>0?a.map((R,ee)=>p.jsxs("button",{className:"w-full text-left px-3 py-2 text-sm transition-colors flex items-center gap-2",style:{paddingLeft:`${12+(R.depth??0)*14}px`,backgroundColor:ee===ae?"var(--color-surface-hover)":"transparent",color:"var(--color-text)"},onMouseEnter:()=>re(ee),onClick:()=>{R.isDir?ye(R.path):Re(R.path,!1)},children:[R.isDir?p.jsx(Ux,{size:14,weight:"bold",style:{color:"var(--color-text-muted)"}}):p.jsx(fd,{size:14,weight:"bold",style:{color:"var(--color-text-muted)"}}),p.jsx("span",{className:"font-mono text-xs truncate",style:{color:"var(--color-accent)"},children:R.name})]},R.path)):p.jsx("div",{className:"px-3 py-2 text-sm",style:{color:"var(--color-text-muted)"},children:O?"No matching files":"Type to search files..."})})]}),w.length>0&&p.jsx("div",{className:"flex flex-wrap gap-2 mb-2 max-w-4xl mx-auto",children:w.map((R,ee)=>{const B=v5(R.name);return p.jsxs("div",{className:"flex items-center gap-1.5 px-2.5 py-1.5 text-sm max-w-[200px]",style:{border:"1px solid var(--color-border)",borderRadius:"8px",backgroundColor:"var(--color-bg)"},children:[p.jsx(B,{size:14,weight:"bold",style:{color:"var(--color-text-muted)",flexShrink:0}}),p.jsx("span",{className:"truncate text-xs",style:{color:"var(--color-text)"},title:R.name,children:R.name}),p.jsx("button",{onClick:()=>mt(ee),className:"flex-shrink-0 w-4 h-4 rounded text-xs flex items-center justify-center ml-0.5",style:{color:"var(--color-text-muted)"},title:"Remove file",children:p.jsx(Ml,{size:12,weight:"bold"})})]},`${R.name}-${ee}`)})}),h.length>0&&p.jsx("div",{className:"flex flex-wrap gap-2 mb-2 max-w-4xl mx-auto",children:h.map((R,ee)=>p.jsxs("div",{className:"relative group",children:[p.jsx("img",{src:`data:${R.mimeType};base64,${R.data}`,alt:`Pasted image ${ee+1}`,className:"h-16 w-16 object-cover rounded",style:{border:"1px solid var(--color-border)"}}),p.jsx("button",{onClick:()=>Xe(ee),className:"absolute -top-1.5 -right-1.5 w-5 h-5 rounded text-xs flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity",style:{backgroundColor:"var(--color-error-text)",color:"#fff"},title:"Remove image",children:"×"})]},ee))}),p.jsxs("div",{className:"flex items-end gap-2 max-w-4xl mx-auto",children:[p.jsx("textarea",{ref:J,value:f,onChange:R=>{Fe(R),sn()},onKeyDown:ge,onPaste:ot,onCompositionStart:()=>{Y.current=!0},onCompositionEnd:()=>{Y.current=!1},placeholder:l?"Processing... (Esc to stop)":s==="dashboard"?"Ask about this dashboard…":"Type a message... (@file, Tab for multi-file, Enter to send)",disabled:l,rows:1,className:"flex-1 resize-none text-sm min-h-[40px] max-h-[200px] px-4 py-2.5 focus:outline-none",style:{borderRadius:"12px",border:"1px solid var(--color-border)",backgroundColor:"var(--color-bg)",color:"var(--color-text)",fontFamily:"Geist Sans, system-ui, sans-serif"}}),l?p.jsx("button",{onClick:t,className:"btn-danger shrink-0",title:"Stop agent (Esc)",children:"Stop"}):p.jsx("button",{onClick:S,disabled:!f.trim()&&h.length===0&&w.length===0,className:"btn-primary shrink-0",children:p.jsx(Kx,{size:16,weight:"bold"})})]}),p.jsxs("div",{className:"text-xs text-center mt-1.5",style:{color:"var(--color-text-muted)"},children:["DSCode Web ·"," ",l?"Press Stop or Esc to abort":s==="dashboard"?"Dashboard mode — ask follow-up questions about this session":"Type @ for files, Tab to add more, Enter to send, Ctrl+V for images"]})]})}function S5(e,t){try{const n=localStorage.getItem(e);if(n!==null){const r=parseInt(n,10);if(!isNaN(r)&&r>0)return r}}catch{}return t}function Fc({minWidth:e=200,maxWidth:t=500,defaultWidth:n=320,storageKey:r,enabled:l=!0}){const[i,a]=u.useState(()=>S5(r,n)),o=u.useRef(null),s=u.useRef(null),c=u.useRef(""),d=u.useRef(""),f=u.useCallback(m=>{if(!l)return;m.preventDefault(),m.target.setPointerCapture(m.pointerId),s.current={startX:m.clientX,startWidth:i},c.current=document.body.style.cursor,d.current=document.body.style.userSelect,document.body.style.cursor="col-resize",document.body.style.userSelect="none";const h=w=>{if(!s.current)return;const H=w.clientX-s.current.startX,g=Math.min(t,Math.max(e,s.current.startWidth+H));a(g)},x=()=>{s.current=null,document.removeEventListener("pointermove",h),document.removeEventListener("pointerup",x),document.body.style.cursor=c.current,document.body.style.userSelect=d.current;try{localStorage.setItem(r,String(i))}catch{}};document.addEventListener("pointermove",h),document.addEventListener("pointerup",x)},[l,i,e,t,r]);return{width:i,panelRef:o,handleProps:{onPointerDown:f,role:"separator","aria-orientation":"vertical"}}}function A5(e){if(e<1e3)return"<1s";const t=Math.floor(e/1e3);if(t<60)return`${t}s`;if(t<3600)return`${Math.floor(t/60)}m ${t%60}s`;const n=Math.floor(t/3600),r=Math.floor(t%3600/60);return`${n}h ${r}m`}function C5({open:e,onClose:t,sessions:n,currentSessionId:r,mcpServers:l,config:i,onSessionAction:a,onMcpAction:o,onConfigChange:s,onNewSession:c,isProcessing:d,onCacheAction:f,cacheSize:m,cacheClearing:h,activePanel:x,onPanelChange:w}){const{width:H,panelRef:g,handleProps:y}=Fc({storageKey:"dscode-sidebar-width"}),{width:v,panelRef:L,handleProps:P}=Fc({storageKey:"dscode-detail-panel-width",defaultWidth:320,minWidth:240,maxWidth:480}),E=_=>{w(x===_?null:_)};return p.jsxs(p.Fragment,{children:[e&&p.jsx("div",{className:"fixed inset-0 bg-black/30 z-40 md:hidden",onClick:t}),p.jsxs("aside",{ref:g,className:`fixed md:static inset-y-0 left-0 z-50 flex flex-col transform transition-transform duration-200 ${e?"translate-x-0":"-translate-x-full md:translate-x-0"} ${!e&&"hidden md:flex"}`,style:{width:`${H}px`,minWidth:`${H}px`,backgroundColor:"var(--color-surface)",borderRight:"1px solid var(--color-border)"},children:[p.jsxs("div",{className:"flex items-center justify-between p-3 md:hidden",style:{borderBottom:"1px solid var(--color-border)"},children:[p.jsx("span",{className:"font-semibold text-sm",style:{color:"var(--color-accent)"},children:"DSCode"}),p.jsx("button",{onClick:t,className:"p-1 rounded-btn hover:brightness-95 transition-[filter] duration-200",style:{backgroundColor:"var(--color-surface-hover)"},children:p.jsx(Ml,{size:18,weight:"bold",style:{color:"var(--color-text)"}})})]}),p.jsxs("div",{className:"flex-1 flex flex-col min-h-0 overflow-y-auto p-3 gap-4",children:[p.jsxs("div",{children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-widest mb-1.5 px-1",style:{color:"var(--color-text-muted)"},children:"Create"}),p.jsxs("button",{onClick:()=>E("sessions"),className:"w-full flex items-center gap-2.5 px-2.5 py-1.5 text-sm rounded-lg transition-colors",style:{backgroundColor:x==="sessions"?"var(--color-surface-hover)":"transparent",color:x==="sessions"?"var(--color-text)":"var(--color-text-muted)"},children:[p.jsx($x,{size:15,weight:x==="sessions"?"bold":"regular"}),p.jsx("span",{className:"flex-1 text-left",children:"Sessions"}),n.length>0&&p.jsx("span",{className:"text-[11px] font-semibold px-1.5 py-0.5 rounded-full",style:{backgroundColor:"var(--color-surface-hover)",color:"var(--color-text-muted)"},children:n.length})]})]}),p.jsxs("div",{children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-widest mb-1.5 px-1",style:{color:"var(--color-text-muted)"},children:"Capabilities"}),p.jsxs("button",{onClick:()=>E("mcp"),className:"w-full flex items-center gap-2.5 px-2.5 py-1.5 text-sm rounded-lg transition-colors",style:{backgroundColor:x==="mcp"?"var(--color-surface-hover)":"transparent",color:x==="mcp"?"var(--color-text)":"var(--color-text-muted)"},children:[p.jsx(Gx,{size:15,weight:x==="mcp"?"bold":"regular"}),p.jsx("span",{className:"flex-1 text-left",children:"MCP"}),l.length>0&&p.jsx("span",{className:"text-[11px] font-semibold px-1.5 py-0.5 rounded-full",style:{backgroundColor:"var(--color-surface-hover)",color:"var(--color-text-muted)"},children:l.length})]}),p.jsxs("button",{onClick:()=>E("skills"),className:"w-full flex items-center gap-2.5 px-2.5 py-1.5 text-sm rounded-lg transition-colors",style:{backgroundColor:x==="skills"?"var(--color-surface-hover)":"transparent",color:x==="skills"?"var(--color-text)":"var(--color-text-muted)"},children:[p.jsx(n5,{size:15,weight:x==="skills"?"bold":"regular"}),p.jsx("span",{className:"flex-1 text-left",children:"Skills"}),p.jsx("span",{className:"text-[11px] font-semibold px-1.5 py-0.5 rounded-full",style:{backgroundColor:"var(--color-surface-hover)",color:"var(--color-text-muted)"},children:5})]})]})]}),p.jsx("div",{className:"shrink-0 p-3",style:{borderTop:"1px solid var(--color-border)"},children:p.jsxs("button",{onClick:()=>E("settings"),className:"w-full flex items-center gap-2.5 px-2.5 py-1.5 text-sm rounded-lg transition-colors",style:{backgroundColor:x==="settings"?"var(--color-surface-hover)":"transparent",color:x==="settings"?"var(--color-text)":"var(--color-text-muted)"},children:[p.jsx(Wx,{size:15,weight:x==="settings"?"bold":"regular"}),p.jsx("span",{className:"flex-1 text-left",children:"Settings"})]})}),p.jsx("div",{className:"resize-handle hidden md:block",...y})]}),x&&p.jsxs("aside",{ref:L,className:"hidden md:flex flex-col",style:{width:`${v}px`,minWidth:`${v}px`,backgroundColor:"var(--color-surface)",borderRight:"1px solid var(--color-border)",position:"relative"},children:[p.jsxs("div",{className:"flex items-center justify-between px-4 py-2.5 shrink-0",style:{borderBottom:"1px solid var(--color-border)"},children:[p.jsx("span",{className:"font-medium",style:{fontFamily:"var(--font-display)",fontSize:"15px",color:"var(--color-text)"},children:x==="sessions"?"Sessions":x==="mcp"?"MCP Servers":x==="skills"?"Skills":"Settings"}),p.jsx("button",{onClick:()=>w(null),className:"p-1 rounded hover:brightness-95 transition-[filter]",style:{color:"var(--color-text-muted)"},children:p.jsx(Ml,{size:14,weight:"bold"})})]}),p.jsxs("div",{className:"flex-1 overflow-y-auto p-3",children:[x==="sessions"&&p.jsx(M5,{sessions:n,currentSessionId:r,onAction:a,isProcessing:d,onNewSession:c}),x==="mcp"&&p.jsx(b5,{servers:l,onAction:o}),x==="skills"&&p.jsx(L5,{}),x==="settings"&&p.jsx(N5,{config:i,onChange:s,onCacheAction:f,cacheSize:m,cacheClearing:h})]}),p.jsx("div",{className:"resize-handle",...P})]})]})}function M5({sessions:e,currentSessionId:t,onAction:n,onNewSession:r,isProcessing:l}){return p.jsxs("div",{className:"space-y-3",children:[p.jsxs("button",{onClick:()=>{l||r()},className:"w-full text-left px-3 py-1.5 text-sm rounded-lg transition-colors flex items-center gap-2",style:{backgroundColor:"var(--color-accent-bg)",color:"var(--color-accent)",opacity:l?.4:1,pointerEvents:l?"none":"auto"},children:[p.jsx(Ed,{size:14,weight:"bold"}),p.jsx("span",{children:"New Session"})]}),e.length===0?p.jsx("p",{className:"text-xs text-center py-8",style:{color:"var(--color-text-muted)"},children:"No saved sessions"}):p.jsx("div",{className:"space-y-0.5",children:e.map(i=>{const a=i.id===t,o=l&&!a;return p.jsxs("div",{className:"flex items-center justify-between p-2 transition-colors group rounded-lg",style:{backgroundColor:a?"var(--color-surface-hover)":"transparent",borderLeft:a?"2px solid var(--color-border)":"2px solid transparent",opacity:o?.4:1,pointerEvents:o?"none":"auto"},onMouseEnter:s=>{!a&&!o&&(s.currentTarget.style.backgroundColor="var(--color-surface-hover)")},onMouseLeave:s=>{s.currentTarget.style.backgroundColor=a?"var(--color-surface-hover)":"transparent"},children:[p.jsxs("button",{onClick:()=>{o||n("load",i.id)},className:"flex-1 text-left min-w-0",children:[p.jsx("div",{className:"text-sm truncate",style:{color:"var(--color-text)",fontFamily:"var(--font-display)"},children:i.title}),p.jsxs("div",{className:"text-[11px] mt-0.5",style:{color:"var(--color-text-muted)"},children:[A5(i.totalActiveMs)," · ",i.messageCount," msgs"]})]}),a&&l&&p.jsx(t5,{size:14,weight:"bold",style:{color:"var(--color-accent)",opacity:.6,animation:"spin 1s linear infinite"}}),p.jsx("button",{onClick:()=>{!o&&!l&&n("delete",i.id)},className:"opacity-0 group-hover:opacity-100 p-1 rounded transition-all",style:{color:"var(--color-error-text)"},title:"Delete",children:p.jsx(Hd,{size:14,weight:"bold"})})]},i.id)})})]})}function b5({servers:e,onAction:t}){const[n,r]=u.useState(null);return p.jsxs("div",{className:"space-y-3",children:[p.jsx("button",{onClick:()=>t("refresh"),className:"btn-secondary w-full text-xs",children:"Refresh"}),e.length===0?p.jsx("p",{className:"text-xs text-center py-8",style:{color:"var(--color-text-muted)"},children:"No MCP servers configured"}):p.jsx("div",{className:"space-y-1",children:e.map(l=>p.jsxs("div",{children:[p.jsxs("button",{onClick:()=>r(n===l.name?null:l.name),className:"w-full flex items-center gap-2 p-2 text-left rounded-lg transition-colors",style:{backgroundColor:"transparent"},onMouseEnter:i=>{i.currentTarget.style.backgroundColor="var(--color-surface-hover)"},onMouseLeave:i=>{i.currentTarget.style.backgroundColor="transparent"},children:[p.jsx("span",{className:"w-2 h-2 rounded-full shrink-0",style:{backgroundColor:l.status==="connected"?"var(--color-success-text)":l.status==="connecting"?"#f59e0b":l.status==="error"?"var(--color-error-text)":"var(--color-text-muted)"}}),p.jsxs("div",{className:"min-w-0 flex-1",children:[p.jsx("div",{className:"text-sm truncate",style:{color:"var(--color-text)"},children:l.name}),p.jsxs("div",{className:"text-[11px]",style:{color:"var(--color-text-muted)"},children:[l.toolCount," tools · ",l.status]})]}),p.jsxs("div",{className:"flex items-center gap-1 shrink-0",children:[p.jsx("div",{role:"button",tabIndex:0,onClick:i=>{i.stopPropagation(),l.status==="connected"||l.status==="connecting"?t("disconnect",l.name):t("connect",l.name)},onKeyDown:i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),i.stopPropagation(),l.status==="connected"||l.status==="connecting"?t("disconnect",l.name):t("connect",l.name))},className:"flex-shrink-0",style:{position:"relative",width:"36px",height:"22px",borderRadius:"11px",border:l.status==="connected"||l.status==="connecting"?"none":"1px solid var(--color-border)",cursor:"pointer",backgroundColor:l.status==="connected"||l.status==="connecting"?"var(--color-accent)":l.status==="error"?"var(--color-error-text)":"var(--color-surface)",opacity:l.status==="connecting"?.7:1,transition:"background-color 250ms ease, border-color 250ms ease, opacity 250ms ease"},children:p.jsx("span",{style:{position:"absolute",top:"3px",left:l.status==="connected"||l.status==="connecting"?"18px":"2px",width:"16px",height:"16px",borderRadius:"50%",backgroundColor:"#ffffff",boxShadow:"0 1px 2px rgba(0,0,0,0.12)",transition:"left 200ms cubic-bezier(0.34, 1.56, 0.64, 1)"}})}),n===l.name?p.jsx(zx,{size:12,style:{color:"var(--color-text-muted)"}}):p.jsx(Vx,{size:12,style:{color:"var(--color-text-muted)"}})]})]}),n===l.name&&p.jsx("div",{className:"ml-4 mt-1 space-y-0.5 pl-3",style:{borderLeft:"2px solid var(--color-border)"},children:l.tools.map(i=>p.jsxs("div",{className:"text-xs py-1",children:[p.jsx("span",{className:"font-mono",style:{color:"var(--color-accent)"},children:i.name}),i.description&&p.jsx("span",{className:"ml-1",style:{color:"var(--color-text-muted)"},children:i.description})]},i.name))})]},l.name))})]})}function L5(){return p.jsxs("div",{className:"space-y-3",children:[p.jsxs("div",{children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider mb-2",style:{color:"var(--color-text-muted)"},children:"Installed"}),p.jsx("div",{className:"space-y-2",children:[{name:"game-engine",desc:"Build web-based games with HTML5 Canvas & WebGL",tags:["game","canvas"]},{name:"brandkit",desc:"Premium brand-kit image generation",tags:["design","brand"]},{name:"html-output",desc:"Rich self-contained HTML for specs",tags:["html","docs"]},{name:"minimalist-ui",desc:"Clean editorial interfaces",tags:["design","ui"]},{name:"design-taste-frontend",desc:"Anti-slop frontend skill",tags:["design","frontend"]}].map(e=>p.jsxs("div",{className:"skill-card",children:[p.jsx("div",{className:"skill-icon installed",children:"S"}),p.jsxs("div",{className:"flex-1 min-w-0",children:[p.jsx("div",{style:{color:"var(--color-text)",fontSize:"13px",fontWeight:600},children:e.name}),p.jsx("div",{className:"text-[11px] mt-0.5",style:{color:"var(--color-text-muted)"},children:e.desc}),p.jsx("div",{children:e.tags.map(t=>p.jsx("span",{className:"skill-tag",children:t},t))})]})]},e.name))})]}),p.jsxs("div",{children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider mb-2 mt-4",style:{color:"var(--color-text-muted)"},children:"Available"}),p.jsx("div",{className:"space-y-2",children:[{name:"web-game-design",desc:"Design principles for browser games",tags:["game","design"]},{name:"image-to-code",desc:"Convert design images to code",tags:["code","design"]}].map(e=>p.jsxs("div",{className:"skill-card",children:[p.jsx("div",{className:"skill-icon available",children:"A"}),p.jsxs("div",{className:"flex-1 min-w-0",children:[p.jsx("div",{style:{color:"var(--color-text)",fontSize:"13px",fontWeight:600},children:e.name}),p.jsx("div",{className:"text-[11px] mt-0.5",style:{color:"var(--color-text-muted)"},children:e.desc}),p.jsx("div",{children:e.tags.map(t=>p.jsx("span",{className:"skill-tag",children:t},t))})]}),p.jsx("button",{className:"skill-action install",children:"Install"})]},e.name))})]}),p.jsxs("div",{className:"market-banner",children:[p.jsx(Jx,{size:18,style:{color:"var(--color-text-muted)"}}),p.jsx("div",{style:{color:"var(--color-text)",fontSize:"13px",fontWeight:500},children:"Skill Marketplace"}),p.jsx("div",{className:"text-[11px]",style:{color:"var(--color-text-muted)"},children:"Discover and install community skills"}),p.jsxs("div",{className:"market-tooltip-wrapper",style:{position:"relative"},children:[p.jsx("button",{className:"market-btn",disabled:!0,children:"Browse Marketplace"}),p.jsx("div",{className:"market-tooltip",children:"Coming soon — marketplace integration planned"})]})]})]})}function N5({config:e,onChange:t,onCacheAction:n,cacheSize:r,cacheClearing:l}){var v,L,P;const[i,a]=u.useState(""),[o,s]=u.useState((e==null?void 0:e.modelId)??""),[c,d]=u.useState((e==null?void 0:e.thinkingLevel)??"off"),[f,m]=u.useState((e==null?void 0:e.provider)??""),[h,x]=u.useState((e==null?void 0:e.projectPath)??""),[w,H]=u.useState(!1),g=u.useRef(e);if(u.useEffect(()=>{n==null||n("size")},[]),u.useEffect(()=>{e&&e!==g.current&&(m(e.provider),s(e.modelId),d(e.thinkingLevel),g.current=e)},[e]),!e)return p.jsx("p",{className:"text-xs text-center py-8",style:{color:"var(--color-text-muted)"},children:"Loading..."});const y={borderRadius:"8px",border:"1px solid var(--color-border)",backgroundColor:"var(--color-bg)",color:"var(--color-text)",fontSize:"0.75rem",width:"100%",padding:"0.5rem 0.75rem",outline:"none"};return p.jsxs("div",{className:"space-y-4",children:[p.jsxs("div",{children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider mb-2",style:{color:"var(--color-text-muted)"},children:"Appearance"}),p.jsx("div",{className:"settings-card text-xs",style:{color:"var(--color-text-muted)"},children:"Theme: Use the topbar sun/moon toggle. System preference is auto-detected."})]}),p.jsxs("div",{children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider mb-2",style:{color:"var(--color-text-muted)"},children:"Model"}),p.jsxs("div",{className:"space-y-2",children:[p.jsxs("div",{children:[p.jsx("label",{className:"text-xs mb-1 block",style:{color:"var(--color-text-muted)"},children:"Provider"}),p.jsx("select",{value:f,onChange:E=>{m(E.target.value),t("set_provider",E.target.value)},style:y,children:e.providers.map(E=>p.jsx("option",{value:E,children:E},E))})]}),p.jsxs("div",{children:[p.jsx("label",{className:"text-xs mb-1 block",style:{color:"var(--color-text-muted)"},children:"Model"}),p.jsx("select",{value:o,onChange:E=>{s(E.target.value),t("set_model",E.target.value)},style:y,children:e.models.map(E=>p.jsx("option",{value:E.id,children:E.name},E.id))})]}),p.jsxs("div",{children:[p.jsx("label",{className:"text-xs mb-1 block",style:{color:"var(--color-text-muted)"},children:"Thinking Level"}),p.jsx("select",{value:c,onChange:E=>{d(E.target.value),t("set_thinking",E.target.value)},style:y,children:["off","minimal","low","medium","high","xhigh"].map(E=>p.jsx("option",{value:E,children:E},E))})]})]})]}),p.jsxs("div",{children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider mb-2",style:{color:"var(--color-text-muted)"},children:"API Key"}),p.jsxs("div",{className:"flex gap-2",children:[p.jsx("input",{type:"password",value:i,onChange:E=>a(E.target.value),className:"input text-xs flex-1",placeholder:e.apiKey||"sk-..."}),p.jsx("button",{onClick:()=>{i&&t("set_key",i),a("")},className:"btn-primary text-xs px-3",children:"Set"})]})]}),p.jsxs("div",{children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider mb-2",style:{color:"var(--color-text-muted)"},children:"Project Path"}),p.jsxs("div",{className:"flex gap-2",children:[p.jsx("input",{type:"text",value:h,onChange:E=>x(E.target.value),className:"input text-xs flex-1",placeholder:e.projectPath}),p.jsx("button",{onClick:()=>{h&&t("set_project_path",h.trim())},className:"btn-primary text-xs px-3",children:"Set"})]})]}),e.vision!=null||w?p.jsxs("div",{className:"pt-2 space-y-3",style:{borderTop:"1px solid var(--color-border)"},children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-wider",style:{color:"var(--color-text-muted)"},children:"Vision"}),!w&&p.jsx("button",{onClick:()=>t("set_vision_delete",""),className:"text-xs px-2 py-1 rounded",style:{color:"var(--color-error-text)"},children:p.jsx(Hd,{size:12,weight:"bold"})})]}),(w||e.vision)&&p.jsxs(p.Fragment,{children:[p.jsxs("div",{children:[p.jsx("label",{className:"text-xs mb-1 block",style:{color:"var(--color-text-muted)"},children:"Provider"}),p.jsxs("select",{value:((v=e.vision)==null?void 0:v.provider)??"",onChange:E=>t("set_vision_provider",E.target.value),style:y,children:[p.jsx("option",{value:"",children:"Select..."}),e.visionProviders.map(E=>p.jsx("option",{value:E,children:E},E))]})]}),p.jsxs("div",{children:[p.jsx("label",{className:"text-xs mb-1 block",style:{color:"var(--color-text-muted)"},children:"Model"}),p.jsxs("select",{value:((L=e.vision)==null?void 0:L.model)??"",onChange:E=>t("set_vision_model",E.target.value),style:y,children:[p.jsx("option",{value:"",children:"Select..."}),e.visionModels.map(E=>p.jsx("option",{value:E.id,children:E.name},E.id))]})]}),p.jsxs("div",{children:[p.jsx("label",{className:"text-xs mb-1 block",style:{color:"var(--color-text-muted)"},children:"API Key"}),p.jsxs("div",{className:"flex gap-2",children:[p.jsx("input",{type:"password",value:i,onChange:E=>a(E.target.value),className:"input text-xs flex-1",placeholder:(P=e.vision)!=null&&P.key?"••••••••":"Enter vision API key"}),p.jsx("button",{onClick:()=>{i&&t("set_vision_key",i),a("")},className:"btn-primary text-xs px-3",children:"Set"})]})]})]}),!e.vision&&w&&p.jsx("button",{onClick:()=>H(!1),className:"text-xs",style:{color:"var(--color-text-muted)"},children:"Cancel"})]}):p.jsxs("button",{onClick:()=>H(!0),className:"w-full text-left px-3 py-1.5 text-sm rounded-lg transition-colors flex items-center gap-2",onMouseEnter:E=>{E.currentTarget.style.backgroundColor="var(--color-surface-hover)"},onMouseLeave:E=>{E.currentTarget.style.backgroundColor="transparent"},children:[p.jsx(Ed,{size:14,weight:"bold",style:{color:"var(--color-accent)"}}),p.jsx("span",{style:{color:"var(--color-accent)"},children:"Add Vision Model"})]}),p.jsxs("div",{className:"pt-2",style:{borderTop:"1px solid var(--color-border)"},children:[p.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider mb-2",style:{color:"var(--color-text-muted)"},children:"Cache"}),p.jsx("div",{className:"settings-card",children:p.jsx("div",{className:"flex items-center justify-between",children:p.jsxs("div",{children:[p.jsx("div",{style:{fontFamily:"'Geist Mono', monospace",fontSize:"16px",fontWeight:700,color:"var(--color-text)"},children:r==null||l?"...":r.totalBytes===0?"0 B":r.totalBytes<1024?`${r.totalBytes} B`:r.totalBytes<1024*1024?`${(r.totalBytes/1024).toFixed(1)} KB`:`${(r.totalBytes/(1024*1024)).toFixed(1)} MB`}),p.jsx("div",{className:"text-[11px]",style:{color:"var(--color-text-muted)"},children:r==null||l?"calculating...":r.totalBytes===0?"no cached files":`${r.fileCount} files · ${r.sessionCount} sessions`})]})})}),p.jsx("button",{onClick:()=>n==null?void 0:n("clear"),disabled:r==null||r.totalBytes===0||l,className:"settings-danger-btn mt-2",children:"Clear All Cache"})]}),p.jsx("div",{className:"pt-2",style:{borderTop:"1px solid var(--color-border)"},children:p.jsxs("p",{className:"text-xs",style:{color:"var(--color-text-muted)"},children:["Max Tokens: ",e.maxTokens.toLocaleString()]})})]})}function H5({toasts:e,onRemove:t}){return p.jsx("div",{className:"fixed top-4 right-4 z-[100] flex flex-col gap-2 max-w-sm",children:e.map(n=>p.jsx(j5,{toast:n,onRemove:t},n.id))})}function j5({toast:e,onRemove:t}){const n=e.type==="warning",r=e.type==="error";return u.useEffect(()=>{let l=null;if(e.type==="info"||e.type==="warning"?l=3e3:e.type==="error"&&(l=8e3),l===null)return;const i=setTimeout(()=>t(e.id),l);return()=>clearTimeout(i)},[e.id,e.type,t]),p.jsxs("div",{className:"px-4 py-3 text-sm flex items-start gap-2 animate-slide-in",style:{borderRadius:"8px",border:"1px solid var(--color-border)",backgroundColor:r?"var(--color-error)":n?"var(--color-warning, #fef3c7)":"var(--color-surface)",color:r?"var(--color-error-text)":n?"var(--color-warning-text, #92400e)":"var(--color-text)"},children:[p.jsx("span",{className:"shrink-0 mt-0.5",children:r?p.jsx(o5,{size:16,weight:"bold",style:{color:"var(--color-error-text)"}}):p.jsx(Qx,{size:16,weight:"bold",style:{color:"var(--color-accent)"}})}),p.jsx("span",{className:"flex-1 break-words",children:e.text}),p.jsx("button",{onClick:()=>t(e.id),className:"shrink-0 hover:opacity-70 ml-2",style:{color:"var(--color-text-muted)"},children:p.jsx(Ml,{size:14,weight:"bold"})})]})}function T5(){const[e,t]=u.useState([]),n=u.useCallback(l=>{const i=`toast-${Date.now()}-${Math.random().toString(36).slice(2,7)}`;t(a=>[...a,{...l,id:i}])},[]),r=u.useCallback(l=>{t(i=>i.filter(a=>a.id!==l))},[]);return{toasts:e,addToast:n,removeToast:r}}function I5({text:e,onClose:t}){u.useEffect(()=>{const l=i=>{i.key==="Escape"&&t()};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[t]);const n=e.split(`
74
+ `),r=n[0].replace(/:$/,"");return p.jsx("div",{className:"fixed inset-0 z-50 flex items-start justify-end p-4 pt-16",onClick:t,children:p.jsxs("div",{className:"max-w-md w-full max-h-[70vh] overflow-y-auto",style:{borderRadius:"12px",border:"1px solid var(--color-border)",backgroundColor:"var(--color-surface)",color:"var(--color-text)"},onClick:l=>l.stopPropagation(),children:[p.jsxs("div",{className:"flex items-center justify-between px-4 py-3",style:{borderBottom:"1px solid var(--color-border)"},children:[p.jsx("span",{className:"text-sm font-semibold",style:{color:"var(--color-accent)"},children:r}),p.jsx("button",{onClick:t,className:"p-1 rounded-btn hover:brightness-95 transition-[filter] duration-200",style:{backgroundColor:"var(--color-surface-hover)"},children:p.jsx(Ml,{size:16,weight:"bold",style:{color:"var(--color-text-muted)"}})})]}),p.jsx("div",{className:"p-4",children:p.jsx("pre",{className:"text-xs leading-relaxed whitespace-pre-wrap break-words",style:{fontFamily:"Geist Mono, JetBrains Mono, monospace",color:"var(--color-text)",margin:0},children:n.slice(1).join(`
75
+ `)})}),p.jsxs("div",{className:"px-4 py-2 text-xs",style:{borderTop:"1px solid var(--color-border)",color:"var(--color-text-muted)"},children:["Press ",p.jsx("kbd",{style:{borderRadius:"4px",border:"1px solid var(--color-border)",backgroundColor:"var(--color-bg)",padding:"1px 5px",fontFamily:"Geist Mono, JetBrains Mono, monospace",fontSize:"0.7rem"},children:"Esc"})," to close"]})]})})}const P5=["system","rules","user","thinking","readwrite","edit","shell","skill","mcp","other"],F5={system:"System",rules:"Rules",user:"User",thinking:"Thinking",readwrite:"Read/Write",edit:"Edit",shell:"Shell",skill:"Skill",mcp:"MCP",other:"Other"},_5={system:"var(--cw-system)",rules:"var(--cw-rules)",user:"var(--cw-user)",thinking:"var(--cw-thinking)",readwrite:"var(--cw-readwrite)",edit:"var(--cw-edit)",shell:"var(--cw-shell)",skill:"var(--cw-skill)",mcp:"var(--cw-mcp)",other:"var(--cw-other)"};function Jn(e){return e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"k":e.toString()}function R5({data:e}){const[t,n]=u.useState(!1),r=u.useRef(null),l=u.useCallback(()=>n(!0),[]),i=u.useCallback(()=>n(!1),[]);if(!e)return null;const{total:a,used:o,free:s,categories:c}=e,d=2,f=P5.map(y=>({key:y,label:F5[y],tokens:c[y],color:_5[y]})).filter(y=>y.tokens>0),m=a>0?o/a*100:0,x=d/260*100;let w=f.map((y,v)=>{const L=a>0?f[v].tokens/a*100:0;return L>0&&L<x?x:L});const H=w.reduce((y,v)=>y+v,0);if(H>m&&H>0){const y=m/H;w=w.map(v=>v*y)}const g=a>0?Math.max(0,100-m):100;return p.jsxs("div",{className:"relative flex items-center gap-2",onMouseEnter:l,onMouseLeave:i,children:[p.jsxs("span",{className:"text-xs shrink-0 select-none tabular-nums",style:{color:"var(--color-text-muted)"},children:[Jn(o)," / ",Jn(a)]}),p.jsxs("div",{className:"flex flex-col items-center gap-0.5 shrink-0",children:[p.jsx("span",{className:"text-[10px] leading-none select-none",style:{color:"var(--color-text-muted)"},children:"Context Window"}),p.jsxs("div",{ref:r,className:"flex shrink-0 overflow-hidden",style:{width:"260px",height:"22px",backgroundColor:"var(--color-border)",gap:"1px"},children:[f.map((y,v)=>p.jsx("div",{className:"",style:{width:`${w[v]}%`,backgroundColor:y.color,minWidth:y.tokens>0?`${d}px`:0,transition:"width 0.3s ease, background-color 0.3s ease"},title:`${y.label}: ${Jn(y.tokens)}`},y.key)),g>0&&p.jsx("div",{className:"",style:{flex:1,backgroundColor:"transparent",transition:"width 0.3s ease"}})]})]}),t&&p.jsxs("div",{className:"absolute top-full mt-2 left-1/2 -translate-x-1/2 z-50 p-3 rounded-lg shadow-lg",style:{backgroundColor:"var(--color-surface)",border:"1px solid var(--color-border)",minWidth:"220px"},children:[p.jsx("div",{className:"text-xs mb-2",style:{color:"var(--color-text-muted)"},children:"Context window (estimated)"}),p.jsxs("div",{className:"flex flex-col gap-1.5",children:[f.map(y=>p.jsxs("div",{className:"flex items-center gap-2 text-xs",style:{color:"var(--color-text)"},children:[p.jsx("span",{className:"w-2.5 h-2.5 rounded-sm shrink-0",style:{backgroundColor:y.color}}),p.jsx("span",{className:"flex-1",children:y.label}),p.jsx("span",{className:"tabular-nums",style:{color:"var(--color-text-muted)"},children:Jn(y.tokens)})]},y.key)),s>0&&p.jsxs("div",{className:"flex items-center gap-2 text-xs",style:{color:"var(--color-text)"},children:[p.jsx("span",{className:"w-2.5 h-2.5 rounded-sm shrink-0",style:{border:"1px dashed var(--color-border)",backgroundColor:"transparent"}}),p.jsx("span",{className:"flex-1",children:"Free"}),p.jsx("span",{className:"tabular-nums",style:{color:"var(--color-text-muted)"},children:Jn(s)})]})]}),p.jsxs("div",{className:"text-xs mt-2 pt-2 flex justify-between tabular-nums",style:{color:"var(--color-text-muted)",borderTop:"1px solid var(--color-border)"},children:[p.jsx("span",{children:o>0?`${(o/a*100).toFixed(0)}% used`:""}),p.jsxs("span",{children:["Total: ",Jn(a)]})]})]})]})}function Z5(e){let t=e.trim();return t=t.replace(/^```(?:html|HTML)?\s*\n?/,""),t=t.replace(/\n?```\s*$/,""),t}function z5({html:e,loading:t}){const n=u.useRef(null),r=u.useMemo(()=>t||!e?"":Z5(e),[e,t]);return u.useEffect(()=>{n.current&&r&&(n.current.srcdoc=r)},[r]),t||!r?p.jsx("div",{className:"flex-1 flex items-center justify-center p-8",children:p.jsxs("div",{className:"flex flex-col items-center gap-4",children:[p.jsxs("div",{className:"flex gap-1.5",children:[p.jsx("span",{className:"w-2.5 h-2.5 rounded-full animate-bounce",style:{backgroundColor:"var(--color-accent)",animationDelay:"0ms"}}),p.jsx("span",{className:"w-2.5 h-2.5 rounded-full animate-bounce",style:{backgroundColor:"var(--color-accent)",animationDelay:"150ms"}}),p.jsx("span",{className:"w-2.5 h-2.5 rounded-full animate-bounce",style:{backgroundColor:"var(--color-accent)",animationDelay:"300ms"}})]}),p.jsx("span",{className:"text-sm",style:{color:"var(--color-text-muted)"},children:"Generating dashboard..."})]})}):p.jsxs("div",{className:"flex-1 min-h-0 flex flex-col",style:{backgroundColor:"var(--color-bg)"},children:[p.jsx("iframe",{ref:n,srcDoc:r,sandbox:"allow-same-origin",className:"flex-1 w-full border-0",style:{backgroundColor:"var(--color-bg)",minHeight:"100%"},title:"Dashboard Artifact"}),p.jsxs("div",{className:"text-xs px-2 py-0.5",style:{color:"var(--color-text-muted)",borderTop:"1px solid var(--color-border)"},children:[r.length," bytes"]})]})}const _c=2500,V5=2,io=80,Rc=60,D5=300,Zc=22,ri=70,O5=4,Br=[{char:"d",ox:-40,oy:0},{char:"s",ox:-24,oy:0},{char:"c",ox:-8,oy:0},{char:"o",ox:8,oy:0},{char:"d",ox:24,oy:0},{char:"e",ox:40,oy:0}];function me(e,t){return e+Math.random()*(t-e)}function fn(e,t){return Math.floor(me(e,t+1))}function $5(e){const t=e.replace("#","");return[parseInt(t.substring(0,2),16),parseInt(t.substring(2,4),16),parseInt(t.substring(4,6),16)]}function ao(e,t,n){return Math.max(t,Math.min(n,e))}function er(e,t,n){return e+(t-e)*n}function B5(e){return 1-(1-e)*(1-e)}function U5({artifactReady:e,onComplete:t,scrollContainerRef:n}){const r=u.useRef(null),l=u.useRef(null),i=u.useRef(t);i.current=t;const a=u.useRef(e);a.current=e;const o=u.useRef(!1);return u.useEffect(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){i.current();return}const s=r.current;if(!s)return;const c=s.getContext("2d"),d=document.body.style.cursor;document.body.style.cursor="none";const f=getComputedStyle(document.documentElement),h={accent:f.getPropertyValue("--color-accent").trim()||"#ca8a04",text:f.getPropertyValue("--color-text").trim()||"#2d2a26",textMuted:f.getPropertyValue("--color-text-muted").trim()||"#8a8580"},w=`hsl(${((()=>{const[N,I,A]=$5(h.accent),X=Math.max(N,I,A),j=Math.min(N,I,A),C=X-j;return C===0?38:X===N?((I-A)/C+(I<A?6:0))*60:X===I?((A-N)/C+2)*60:((N-I)/C+4)*60})()+20)%360}, 45%, 52%)`,H={d:h.accent,s:w,c:w,o:h.textMuted,e:h.text};let g=0,y=0;const v=s.parentElement,L=Math.min(window.devicePixelRatio||1,V5),E=(n==null?void 0:n.current)??(()=>{let N=v.parentElement;for(;N;){const I=getComputedStyle(N).overflowY;if(I==="auto"||I==="scroll")return N;N=N.parentElement}return null})();let F=0,_="";E&&(F=E.scrollTop,_=E.style.overflow,E.style.overflow="hidden");const Q=document.createElement("canvas"),M=Q.getContext("2d"),U=document.createElement("canvas").getContext("2d");function ae(N){let I=N.parentElement;for(;I&&I!==document.body;){const A=getComputedStyle(I).overflowY;if(A==="auto"||A==="scroll")return I;I=I.parentElement}return null}function re(){const N=Math.min(320,g*.18,y*.5);Q.width=g*L,Q.height=y*L,M.setTransform(L,0,0,L,0,0),M.clearRect(0,0,g,y),M.font=`700 ${N}px "Geist", sans-serif`,M.textAlign="center",M.textBaseline="middle",M.fillStyle="#ffffff",M.fillText("DSCode",g/2,y/2);const I="DSCode",A=M.measureText(I).width,X=g/2-A/2,j=[];let C=X;for(let G=0;G<I.length;G++){const le=M.measureText(I[G]).width;j.push({letter:I[G],left:C,right:C+le}),C+=le}const T=M.getImageData(0,0,Math.floor(g*L),Math.floor(y*L)),$=[],K=6;for(let G=0;G<y;G+=K)for(let le=0;le<g;le+=K){const Ie=(Math.floor(G*L)*Math.floor(g*L)+Math.floor(le*L))*4;if(Ie+3<T.data.length&&T.data[Ie+3]>128){const Ne=j.find(Se=>le>=Se.left&&le<Se.right),Be=Ne?Ne.letter:I[Math.min(Math.floor((le-X)/(A/I.length)),I.length-1)];$.push({x:le,y:G,letter:Be})}}for(let G=$.length-1;G>0;G--){const le=Math.floor(Math.random()*(G+1));[$[G],$[le]]=[$[le],$[G]]}return $.slice(0,_c)}function J(){const N=v.querySelectorAll("[data-collider]"),I=s.getBoundingClientRect(),A=[],X=Math.abs(Br[0].ox);N.forEach(j=>{var Be;if(j.querySelector("[data-collider]")||!((Be=j.textContent)!=null&&Be.trim()))return;const C=j.getBoundingClientRect(),T=C.top-I.top,$=T+C.height;if(T>=y||$<=0)return;const K=ae(j);if(K){const Se=K.getBoundingClientRect();if(C.bottom<=Se.top||C.top>=Se.bottom)return}const G=j.getAttribute("data-collider");let le=C.width;if(G==="text-line"||G==="code-line"||G==="tool-result-line"){const Se=j.textContent||"",be=getComputedStyle(j);U.font=`${be.fontWeight||"400"} ${be.fontSize} "${be.fontFamily.split(",")[0].replace(/"/g,"")}", sans-serif`;const D=U.measureText(Se).width+4;le=Math.min(C.width,D)}const Ie=C.left-I.left;let Ne;if(le>=ri){const Se=Ie+X,be=Ie+le-X;Ne=Se+me(0,be-Se)}else Ne=Ie+le/2;A.push({el:j,top:T,left:Ie,width:le,height:C.height,landingX:Ne,struck:!1})}),A.sort((j,C)=>j.top-C.top);for(let j=1;j<A.length;j++){let C=0;for(;Math.abs(A[j].landingX-A[j-1].landingX)<ri*.3&&C<5;)A[j].landingX=A[j].width>=ri?A[j].left+X+me(0,A[j].width-ri):A[j].left+A[j].width/2,C++}return A}function fe(){const N=v.querySelectorAll(".meta"),I=s.getBoundingClientRect(),A=[];return N.forEach(X=>{var $;if(X.closest("[data-collider]")||!(($=X.textContent)!=null&&$.trim()))return;const j=X.getBoundingClientRect(),C=j.top-I.top,T=C+j.height;C>=y||T<=0||A.push({el:X,top:C,left:j.left-I.left,width:j.width,height:j.height,dissolved:!1})}),A}const b={phase:"cascade",phaseTime:0,colors:h,particles:[],impactRings:[],shards:[],shake:0,formedTime:0,targetPoints:[],particlesAssigned:0,gatherStarted:!1,W:g,H:y,cluster:{x:0,y:0,hopState:"drop",hopTimer:0,rowIndex:-1,hopStartX:0,hopStartY:0,hopEndX:0,hopEndY:0,hopDuration:0,hopProgress:0,nextRowIndex:-1},rows:[],scaleX:1,scaleY:1,breathPhase:0,letterColorMap:H,timestamps:[],dissolvedTimestampEls:new Set};l.current=b;function V(N){N.key==="Escape"&&b.phase==="cascade"&&!b.gatherStarted&&ie()}document.addEventListener("keydown",V);function Y(N){const I=N.getBoundingClientRect(),A=s.getBoundingClientRect(),X=I.left-A.left,j=I.top-A.top,C=I.width,T=I.height,K=N.getAttribute("data-collider")==="tool-card"||N.getAttribute("data-collider")==="message-card"?fn(30,50):fn(20,40);for(let G=0;G<K;G++){const le=X+me(0,C),Ie=j+me(0,T),Ne=Math.atan2(Ie-(j+T/2),le-(X+C/2)),Be=me(2,8),Se=[h.accent,w,h.text],be=Se[fn(0,Se.length-1)];b.particles.push({x:le,y:Ie,vx:Math.cos(Ne)*Be+me(-3,3),vy:Math.sin(Ne)*Be-me(1,5),size:me(1.5,4),color:be,phase:"fall",life:fn(1500,3e3)})}}function k(N,I,A){const X=fn(6,12);for(let j=0;j<X;j++){const C=me(0,Math.PI*2),T=me(2,6);b.particles.push({x:N,y:I,vx:Math.cos(C)*T,vy:Math.sin(C)*T-me(1,3),size:me(1,3),color:A,phase:"fall",life:fn(800,1800)})}}function ie(){if(b.gatherStarted)return;b.gatherStarted=!0,b.phase="gather",b.phaseTime=0,b.targetPoints=re(),b.particlesAssigned=0;const N=Math.min(b.particles.length,b.targetPoints.length);for(let I=0;I<N;I++)b.particles[I].tx=b.targetPoints[I].x,b.particles[I].ty=b.targetPoints[I].y,b.particles[I].gatherDelay=me(20,80),b.particlesAssigned++}function de(){const N=b.cluster,I=s.getBoundingClientRect(),A=b.rows[N.rowIndex],X=A.top;let j=N.rowIndex+1,C=null,T=0;for(;j<b.rows.length;){const K=b.rows[j];if(K.struck){j++;continue}const G=K.el.getBoundingClientRect(),le=G.top-I.top;if(le<X||G.bottom-I.top<=0){j++;continue}C=K,N.nextRowIndex=j,T=le;break}if(!C){ie();return}C.top=T,N.hopStartX=A.landingX,N.hopStartY=X,N.hopEndX=C.landingX,N.hopEndY=T;const $=Math.abs(N.hopEndY-N.hopStartY);N.hopDuration=Math.max(350,Math.min(800,Math.sqrt($)*25)),N.hopState="hopping"}function S(N){let I=N.parentElement;for(;I;){const A=I.getAttribute("data-collider");if(A!=="tool-card"&&A!=="message-card"){I=I.parentElement;continue}if(![...I.querySelectorAll("[data-collider]")].every(C=>{const T=b.rows.find($=>$.el===C);return!(T&&!T.struck)}))break;Y(I),I.style.transition="opacity 200ms ease-out",I.style.opacity="0",I=I.parentElement}}const ye=60;function Re(N){if(N.dissolved)return;N.dissolved=!0,b.dissolvedTimestampEls.add(N.el);const I=s.getBoundingClientRect(),A=N.el.getBoundingClientRect(),X=A.left-I.left,j=A.top-I.top,T=[...N.el.textContent||""],$=T.indexOf("·"),K=N.width/Math.max(T.length,1);T.forEach((G,le)=>{if(G===" ")return;const Ie=X+le*K+K/2,Ne=j+N.height/2,Be=fn(2,3);for(let Se=0;Se<Be;Se++)b.particles.push({x:Ie+me(-K*.3,K*.3),y:Ne+me(-N.height*.3,N.height*.3),vx:me(-2,2),vy:me(-4,-1),size:me(1,3),color:$>=0&&le>=$?h.textMuted:h.accent,phase:"fall",life:fn(400,600)})}),N.el.style.transition="opacity 300ms ease-out",N.el.style.opacity="0"}function ge(){const I=b.cluster.y;for(const A of b.timestamps){if(A.dissolved)continue;const X=A.top+A.height/2;Math.abs(I-X)<ye&&Re(A)}}function Fe(){const N=b.cluster;if(N.rowIndex<0||N.rowIndex>=b.rows.length)return;const I=b.rows[N.rowIndex];if(I.struck)return;I.struck=!0,I.landingX,I.top+I.height*.35,I.el.style.transition="none",S(I.el),requestAnimationFrame(()=>{I.el.style.transition="background-color 60ms ease-out, box-shadow 60ms ease-out, opacity 180ms ease-out 60ms",I.el.style.backgroundColor="",I.el.style.boxShadow="",I.el.getAttribute("data-collider")!=="message-card"&&(I.el.style.opacity="0")});const A=me(-8,8),X=me(-4,2);I.el.style.transform=`translate(${A}px, ${X}px)`,I.el.style.transition+=", transform 120ms ease-out";for(const j of Br){const C=N.x+j.ox,T=N.y+j.oy+Zc/2,$=b.letterColorMap[j.char]??h.accent;k(C,T,$)}{const j=s.getBoundingClientRect();for(let C=0;C<b.rows.length;C++){const T=b.rows[C],$=T.el.getBoundingClientRect();T.top=$.top-j.top,T.left=$.left-j.left,T.width=$.width,T.height=$.height}if(b.rows.sort((C,T)=>C.top-T.top),N.rowIndex=b.rows.findIndex(C=>C===I),N.hopState==="hopping"){const C=N.rowIndex+1;C<b.rows.length&&(N.hopEndY=b.rows[C].top,N.hopEndX=b.rows[C].landingX)}}}function ot(N,I){b.phaseTime+=N;const A=b.cluster;if(b.rows.length===0&&b.phaseTime>2e3&&!b.gatherStarted){ie();return}switch(A.hopState){case"drop":{b.rows.length>0&&A.rowIndex===-1&&(A.rowIndex=0,A.x=b.rows[0].landingX);const j=b.rows.length>0?b.rows[0].top:y/2;A.y+=O5*I,A.y>=j&&(A.y=j,A.hopState="squash",A.hopTimer=io,Fe());break}case"squash":{A.hopTimer-=N;const j=ao(1-A.hopTimer/io,0,1);b.scaleY=er(1,.6,j),b.scaleX=er(1,1.3,j),A.hopTimer<=0&&(A.hopState="stretch",A.hopTimer=Rc);break}case"stretch":{A.hopTimer-=N;const j=ao(1-A.hopTimer/Rc,0,1);b.scaleY=er(.6,1.2,j),b.scaleX=er(1.3,.85,j),A.hopTimer<=0&&(b.scaleY=1,b.scaleX=1,A.hopState="dwell",A.hopTimer=D5);break}case"dwell":{A.hopTimer-=N,b.breathPhase+=N*(Math.PI*2/600);const j=1+Math.sin(b.breathPhase)*.02;b.scaleX=j,b.scaleY=j,A.hopTimer<=0&&(b.scaleX=1,b.scaleY=1,de());break}case"hopping":{A.hopProgress+=N/A.hopDuration;const j=ao(A.hopProgress,0,1),C=B5(j),T=Math.abs(A.hopEndY-A.hopStartY),$=Math.max(40,T*.55),K=(A.hopStartY+A.hopEndY)/2,G=Math.min($,Math.max(0,K));if(A.y=er(A.hopStartY,A.hopEndY,j)-G*Math.sin(j*Math.PI),A.x=er(A.hopStartX,A.hopEndX,C),j>=1){A.y=A.hopEndY,A.x=A.hopEndX,A.hopProgress=0;const le=A.nextRowIndex;if(A.nextRowIndex=-1,le<0||le>=b.rows.length){ie();return}A.rowIndex=le,A.hopState="squash",A.hopTimer=io,Fe()}break}}(A.hopState==="hopping"||A.hopState==="dwell")&&ge();const X=[];for(const j of b.particles)j.phase==="fall"&&(j.vy+=.28*I,j.x+=j.vx,j.y+=j.vy,j.vx*=.995,j.life!==void 0&&(j.life-=N),(j.y>y+10||j.life!==void 0&&j.life<=0)&&X.push(j));X.length>0&&(b.particles=b.particles.filter(j=>!X.includes(j)));for(const j of b.shards)j.x+=j.vx,j.y+=j.vy,j.vy+=.15*I,j.rotation+=j.rotationSpeed,j.life-=N;b.shards=b.shards.filter(j=>j.life>0)}function Xe(N,I){if(b.phaseTime+=N,b.particles.length<b.targetPoints.length&&b.particles.length<_c){const A=Math.min(b.targetPoints.length-b.particles.length,50);for(let X=0;X<A&&b.particlesAssigned<b.targetPoints.length;X++){const j=b.targetPoints[b.particlesAssigned++];b.particles.push({x:me(0,g),y:y+me(20,80),vx:me(-2,2),vy:me(-8,-3),size:me(2,4),color:b.letterColorMap[j.letter]??h.text,phase:"fall",tx:j.x,ty:j.y,gatherDelay:me(20,80)})}}for(const A of b.particles)if(A.phase==="fall")A.vy+=.28*I,A.x+=A.vx,A.y+=A.vy,A.vx*=.995,A.y>y-4&&(A.y=y-4,A.vy*=-.3,A.vx*=.75),A.tx!==void 0&&A.gatherDelay!==void 0&&(A.gatherDelay-=N,A.gatherDelay<=0&&(A.phase="gather"));else if(A.phase==="gather"){if(A.tx===void 0||A.ty===void 0)continue;const X=A.tx-A.x,j=A.ty-A.y,C=Math.sqrt(X*X+j*j);C<4?(A.x=A.tx,A.y=A.ty,A.phase="formed",A.flash=1,b.impactRings.push({x:A.x,y:A.y,r:2,life:1}),b.shake=Math.min(b.shake+2.5,8)):(A.vx+=X/C*.55,A.vy+=j/C*.55,A.vx*=.88,A.vy*=.88,A.x+=A.vx,A.y+=A.vy)}else A.phase==="formed"&&A.flash!==void 0&&(A.flash*=.92);for(const A of b.shards)A.x+=A.vx,A.y+=A.vy,A.vy+=.12*I,A.rotation+=A.rotationSpeed,A.life-=N;b.shards=b.shards.filter(A=>A.life>0);for(const A of b.impactRings)A.r+=2.2,A.life-=.045;b.impactRings=b.impactRings.filter(A=>A.life>0),b.particles.length>0&&b.particles.every(A=>A.phase==="formed")&&b.phaseTime>800&&(b.phase="formed",b.phaseTime=0,b.formedTime=0),b.phaseTime>5e3&&(b.phase="formed",b.phaseTime=0,b.formedTime=0)}function mt(N,I){b.phaseTime+=N,b.formedTime+=N;for(const A of b.impactRings)A.r+=1.5,A.life-=.03;b.impactRings=b.impactRings.filter(A=>A.life>0);for(const A of b.particles)A.flash!==void 0&&(A.flash*=.92);for(const A of b.shards)A.x+=A.vx,A.y+=A.vy,A.vy+=.1*I,A.rotation+=A.rotationSpeed,A.life-=N;b.shards=b.shards.filter(A=>A.life>0),b.formedTime>600&&a.current&&!o.current&&(o.current=!0,i.current()),b.formedTime>5e3&&!o.current&&(o.current=!0,i.current())}function gt(){if(b.phase!=="cascade"||b.cluster.hopState==="drop"&&b.rows.length===0)return;const N=b.cluster,I=b.scaleX,A=b.scaleY;let X=N.x;if(N.rowIndex>=0&&N.rowIndex<b.rows.length){const j=b.rows[N.rowIndex],C=N.x+Br[0].ox,T=N.x+Br[5].ox,$=C>=j.left&&C<=j.left+j.width,K=T>=j.left&&T<=j.left+j.width;$&&K?X=(C+T)/2:X=C}c.save(),c.translate(X,N.y),c.scale(I,A),c.translate(-X,-N.y);for(const j of Br){const C=j.char,T=me(-2,2),$=me(-2,2),K=N.x+j.ox+T,G=N.y+j.oy+$;c.font=`700 ${Zc}px "Geist", sans-serif`,c.textAlign="center",c.textBaseline="middle",c.fillStyle=H[C]??h.text,c.fillText(C,K,G)}c.restore()}function an(){for(const N of b.particles){const I=N.phase==="formed"?N.size*(1+(N.flash??0)*3):N.size;N.phase==="formed"&&(N.flash??0)>.3&&(c.globalCompositeOperation="lighter");let A=N.x,X=N.y;if(N.phase==="formed"&&!a.current){const j=b.formedTime;A+=Math.sin(N.y*.04+j*.002)*Math.cos(N.x*.03+j*.0015)*2.5,X+=Math.cos(N.x*.04+j*.002)*Math.sin(N.y*.03+j*.0015)*2.5}c.beginPath(),c.arc(A,X,I,0,Math.PI*2),c.fillStyle=N.color,c.fill(),c.globalCompositeOperation="source-over"}}function on(){for(const N of b.impactRings)c.beginPath(),c.arc(N.x,N.y,N.r,0,Math.PI*2),c.strokeStyle=`rgba(255, 255, 255, ${N.life.toFixed(3)})`,c.lineWidth=2,c.stroke()}function sn(){for(const N of b.shards){if(c.save(),c.translate(N.x,N.y),c.rotate(N.rotation),c.globalAlpha=Math.max(0,N.life/500),c.beginPath(),N.points.length>0){c.moveTo(N.points[0].x,N.points[0].y);for(let I=1;I<N.points.length;I++)c.lineTo(N.points[I].x,N.points[I].y);c.closePath()}else c.arc(0,0,N.size*3,0,Math.PI*2);c.fillStyle=N.color,c.fill(),c.strokeStyle=N.color,c.lineWidth=.5,c.stroke(),c.restore()}}function Vt(N){if(b.phase!=="formed")return;const I=g/2,A=y/2,X=Math.sin(N*.002)*.5+.5,j=Math.floor((.05+X*.08)*255).toString(16).padStart(2,"0");c.globalCompositeOperation="lighter";const C=c.createRadialGradient(I,A,0,I,A,Math.min(g,y)*.4);C.addColorStop(0,h.accent+j),C.addColorStop(1,"transparent"),c.fillStyle=C,c.fillRect(0,0,g,y),c.globalCompositeOperation="source-over"}function R(){const N={cascade:"CASCADE ACTIVE",gather:"PARTICLE CONVERGENCE",formed:"FORMATION COMPLETE"};c.save(),c.font="600 11px 'Geist Mono', 'JetBrains Mono', monospace",c.textAlign="right",c.textBaseline="bottom",c.fillStyle=h.textMuted,c.fillText(N[b.phase],g-20,y-16),c.restore()}let ee=performance.now();function B(N){if(g=v.clientWidth,y=v.clientHeight,g===0||y===0){se=requestAnimationFrame(B);return}s.width=g*L,s.height=y*L,s.style.width=g+"px",s.style.height=y+"px",c.setTransform(L,0,0,L,0,0),b.W=g,b.H=y,b.rows=J(),b.timestamps=fe(),console.log("[dscode] timestamps:",b.timestamps.length),b.cluster.x=g/2,b.cluster.y=-me(60,140),b.cluster.hopState="drop",b.cluster.rowIndex=-1,console.log("[dscode] rows:",b.rows.length,"H:",y,"W:",g),ee=performance.now(),se=requestAnimationFrame(ne)}let se=0;function ne(N){const I=Math.min(N-ee,33);ee=N;const A=I/16.667;switch(c.clearRect(0,0,g,y),c.save(),b.shake>.1&&(c.translate(me(-b.shake,b.shake),me(-b.shake,b.shake)),b.shake*=.88),Vt(N),gt(),an(),on(),sn(),c.restore(),b.phase){case"cascade":ot(I,A);break;case"gather":Xe(I,A);break;case"formed":mt(I,A);break}R(),se=requestAnimationFrame(ne)}return se=requestAnimationFrame(B),()=>{cancelAnimationFrame(se),document.removeEventListener("keydown",V),document.body.style.cursor=d,E&&(E.style.overflow=_,E.scrollTop=F)}},[]),p.jsx("canvas",{ref:r,style:{position:"absolute",zIndex:50,inset:0,background:"transparent",pointerEvents:"none"}})}const W5=[{name:"help",description:"Show available commands"},{name:"reset",description:"Clear conversation history"},{name:"session",description:"Session management (list|save|load|delete)"},{name:"memory",description:"Memory management (list|add|remove|clear)"},{name:"skills",description:"Skill management (list|activate|deactivate)"},{name:"drivers",description:"List loaded drivers"},{name:"mcp",description:"Browse MCP servers and tools"},{name:"permissions",description:"Show session permission grants"},{name:"cost",description:"Show token usage for this session"},{name:"compact",description:"Force context compaction"},{name:"config",description:"Show or change user command config"},{name:"image",description:"Attach an image (file path or 'clipboard')"}];function q5(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.id===t[r].id&&n.updatedAt===t[r].updatedAt&&n.messageCount===t[r].messageCount&&n.contentHash===t[r].contentHash)}function Q5(){const e=localStorage.getItem("dscode-theme");return e==="dark"||e==="light"?e:"light"}function X5(){try{const e=localStorage.getItem("dscode-dash-cache");if(e)return JSON.parse(e)}catch{}return{}}function Y5(e){try{localStorage.setItem("dscode-dash-cache",JSON.stringify(e))}catch{}}const K5=20;function G5(){var Se,be;const[e,t]=u.useState([]),[n,r]=u.useState(!1),[l,i]=u.useState(null),[a,o]=u.useState(""),[s,c]=u.useState(null),[d,f]=u.useState(!1),[m,h]=u.useState(null),[x,w]=u.useState([]),[H,g]=u.useState(null),[y,v]=u.useState([]),[L,P]=u.useState([]),[E,F]=u.useState(""),[_,Q]=u.useState(Q5),[M,O]=u.useState(null),[U,ae]=u.useState(null),[re,J]=u.useState("chat"),[fe,b]=u.useState(""),[V,Y]=u.useState(!1),[k,ie]=u.useState(null),[de,S]=u.useState(!1),[ye,Re]=u.useState("idle"),{toasts:ge,addToast:Fe,removeToast:ot}=T5(),Xe=u.useRef(0),mt=u.useRef(s);mt.current=s;const gt=u.useRef(H);gt.current=H;const an=u.useRef(null),on=u.useRef(X5()),sn=u.useRef(fe);sn.current=fe;const Vt=u.useRef(V);Vt.current=V;const R=u.useRef(null);u.useEffect(()=>{const D=document.documentElement;_==="dark"?D.classList.add("dark"):D.classList.remove("dark"),localStorage.setItem("dscode-theme",_)},[_]),u.useEffect(()=>{const D=an.current;an.current=H,D!==null&&D!==H&&re==="dashboard"&&J("chat")},[H,re]),u.useEffect(()=>{e.length===0&&re==="dashboard"&&J("chat")},[e,re]);const ee=u.useCallback(()=>Q(D=>D==="light"?"dark":"light"),[]),B=u.useCallback(D=>{switch(D.type){case"ready":{o(D.model),i(D.config),t(W=>Gl(W,D));break}case"user_message":case"thinking_delta":case"text_delta":case"tool_progress":case"tool_start":case"tool_end":case"mcp_app":t(W=>Gl(W,D));break;case"assistant_end":t(W=>Gl(W,D));break;case"clear_conversation":t(W=>Gl(W,D)),c(null);break;case"assistant_start":break;case"info":{const W=D.text;W.includes(`
76
+ `)||W.startsWith("Available")||W.startsWith("Drivers")||W.startsWith("Skills")||W.startsWith("Configuration")||W.startsWith("Memories")||W.startsWith("Session grants")?ae(W):Fe({type:"info",text:W});break}case"warning":Fe({type:"warning",text:D.text});break;case"error":Fe({type:"error",text:D.text}),r(!1),Xe.current=0;break;case"permission_prompt":c({toolName:D.toolName,preview:D.preview,fuzzyPattern:D.fuzzyPattern??null,fuzzyArgDesc:D.fuzzyArgDesc??null,llmSuggestions:D.llmSuggestions??void 0});break;case"loader":r(D.state==="show"),D.state==="show"?Xe.current||(Xe.current=Date.now()):Xe.current=0;break;case"sessions":{if(w(W=>q5(W,D.data)?W:D.data),g(D.currentSessionId??null),D.currentSessionId){const W=D.data.find(Ue=>Ue.id===D.currentSessionId);W!=null&&W.pendingPermission&&!mt.current&&c({toolName:W.pendingPermission.toolName,preview:W.pendingPermission.preview,fuzzyPattern:W.pendingPermission.fuzzyPattern??null})}break}case"session_time":{const W=gt.current;W&&w(Ue=>Ue.map(Ae=>Ae.id===W?{...Ae,totalActiveMs:D.totalActiveMs}:Ae));break}case"mcp_state":v(D.servers);break;case"mcp_open_browser":f(!0),h("mcp");break;case"model":o(D.name);break;case"context_window":O(D);break;case"config":i(D.data);break;case"file_list_result":P(D.items),F(D.prefix);break;case"artifact_start":b(""),Y(!0);break;case"artifact_delta":b(W=>W+D.delta);break;case"artifact_end":{Y(!1);const W=gt.current;if(W){const Ue=x.find(Ae=>Ae.id===W);if(Ue){const Ae=on.current,Yn=Object.keys(Ae);Yn.length>=K5&&!Ae[W]&&delete Ae[Yn[0]],Ae[W]={contentHash:Ue.contentHash,html:sn.current},Y5(Ae)}}break}case"cache_size":ie({totalBytes:D.totalBytes,fileCount:D.fileCount,sessionCount:D.sessionCount}),S(!1);break}},[Fe,x]),{connected:se,send:ne}=cm(B),N=u.useCallback((D,W,Ue,Ae)=>{!D.trim()&&(!W||W.length===0)&&(!Ae||Ae.length===0)||(Xe.current=Date.now(),r(!0),ne(re==="dashboard"?{type:"artifact",action:"update",instruction:D}:{type:"chat",text:D,images:W!=null&&W.length?W:void 0,fileRefs:Ue!=null&&Ue.length?Ue:void 0,uploadedFiles:Ae!=null&&Ae.length?Ae:void 0}))},[ne,re]),I=u.useCallback((D,W,Ue,Ae)=>{ne({type:W?"permission_response":"permission",decision:D,persistRule:D==="always_allow_save",denyReason:W,toolNamePattern:Ue,fuzzyMode:Ae,sessionGrantPattern:D==="always_allow"||D==="allow"&&Ae===1?Ue:void 0}),c(null)},[ne]),A=u.useCallback(()=>ne({type:"abort"}),[ne]),X=u.useCallback(D=>ne({type:"slash",command:D}),[ne]),j=u.useCallback(D=>ne(D),[ne]),C=u.useCallback((D,W)=>ne({type:"config",action:D,value:W}),[ne]),T=u.useCallback(D=>{D==="clear"&&S(!0),ne({type:"cache",action:D})},[ne]),$=u.useCallback((D,W)=>ne({type:"session",action:D,id:W}),[ne]),K=u.useCallback((D,W)=>ne({type:"mcp",action:D,serverName:W}),[ne]),G=u.useCallback(()=>ne({type:"slash",command:"/reset"}),[ne]),le=u.useCallback(D=>{var Ue;if(D==="chat"){J("chat");return}if(e.length===0)return;const W=gt.current;if(W){const Ae=on.current[W],Yn=(Ue=x.find(Fd=>Fd.id===W))==null?void 0:Ue.contentHash;if(Ae&&Yn!==void 0&&Yn!==""&&Ae.contentHash===Yn){b(Ae.html),Y(!1),J("dashboard");return}}if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){J("dashboard"),b(""),Y(!0),ne({type:"artifact",action:"generate",context:"session_dashboard"});return}b(""),Y(!0),ne({type:"artifact",action:"generate",context:"session_dashboard"}),Re("animating")},[ne,x,e]),Ie=u.useCallback(()=>{const D=()=>{Vt.current?requestAnimationFrame(D):(Re("idle"),J("dashboard"))};requestAnimationFrame(D)},[]);u.useEffect(()=>{se&&($("list"),K("list"))},[se,$,K]);const Ne=e.some(D=>D.isStreaming),Be=((Se=x.find(D=>D.id===H))==null?void 0:Se.totalActiveMs)??0;return p.jsxs("div",{className:"h-screen flex flex-col",style:{backgroundColor:"var(--color-bg)"},children:[p.jsxs("header",{className:"flex items-center px-4 shrink-0 gap-3",style:{height:"var(--topbar-h)",backgroundColor:"var(--color-surface)",borderBottom:"1px solid var(--color-border)"},children:[p.jsxs("div",{className:"flex items-center gap-2.5 min-w-0",children:[p.jsx("button",{onClick:()=>f(!d),className:"p-1 rounded-btn hover:brightness-95 transition-[filter] duration-200 md:hidden",style:{backgroundColor:"var(--color-surface-hover)"},"aria-label":"Toggle sidebar",children:p.jsx(Xx,{size:18,weight:"bold",style:{color:"var(--color-text)"}})}),p.jsx("span",{style:{width:"8px",height:"8px",borderRadius:"1.5px",transform:"rotate(45deg)",background:"var(--color-accent)",flexShrink:0}}),p.jsx("span",{className:"text-sm font-medium truncate hidden sm:inline",style:{color:"var(--color-text)",fontFamily:"var(--font-display)"},children:re==="dashboard"&&H?`dashboard · ${((be=x.find(D=>D.id===H))==null?void 0:be.title)||"Session"}`:"DSCode"})]}),p.jsxs("div",{className:"flex-1 flex items-center justify-center gap-3",children:[e.length>0&&p.jsxs("div",{className:"flex items-center shrink-0",style:{borderRadius:"8px",backgroundColor:"var(--color-surface-hover)",padding:"2px"},children:[p.jsxs("button",{onClick:()=>le("chat"),className:"flex items-center gap-1 text-xs font-medium transition-colors",style:{padding:"3px 10px",borderRadius:"6px",color:re==="chat"?"var(--color-text)":"var(--color-text-muted)",backgroundColor:re==="chat"?"var(--color-surface)":"transparent"},children:[p.jsx(Ox,{size:12,weight:"bold"})," Chat"]}),p.jsxs("button",{onClick:()=>le("dashboard"),className:"flex items-center gap-1 text-xs font-medium transition-colors",style:{padding:"3px 10px",borderRadius:"6px",color:re==="dashboard"?"var(--color-text)":"var(--color-text-muted)",backgroundColor:re==="dashboard"?"var(--color-surface)":"transparent"},children:[p.jsx(Dx,{size:12,weight:"bold"})," Dashboard"]})]}),p.jsx("div",{className:"hidden md:flex",children:p.jsx(R5,{data:M})})]}),p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx("button",{onClick:ee,className:"p-1.5 rounded-btn hover:brightness-95 transition-[filter] duration-200",style:{backgroundColor:"var(--color-surface-hover)"},"aria-label":"Toggle theme",children:_==="light"?p.jsx(Yx,{size:16,weight:"bold",style:{color:"var(--color-text)"}}):p.jsx(r5,{size:16,weight:"bold",style:{color:"var(--color-text)"}})}),p.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs px-2.5 py-0.5",style:{borderRadius:"8px",backgroundColor:se?"var(--color-success)":"var(--color-error)",color:se?"var(--color-success-text)":"var(--color-error-text)"},children:[p.jsx("span",{className:"w-1.5 h-1.5 rounded-full",style:{backgroundColor:se?"var(--color-success-text)":"var(--color-error-text)"}}),se?"Connected":"Reconnecting..."]})]})]}),p.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[p.jsx(C5,{open:d,onClose:()=>f(!1),activePanel:m,onPanelChange:h,sessions:x,currentSessionId:H,mcpServers:y,config:l,onSessionAction:$,onMcpAction:K,onConfigChange:C,isProcessing:n,onNewSession:G,onCacheAction:T,cacheSize:k,cacheClearing:de}),p.jsx("main",{className:"flex-1 flex flex-col min-w-0",children:p.jsxs("div",{className:"flex-1 flex flex-col min-h-0",style:{position:"relative"},children:[ye==="animating"&&p.jsx(U5,{artifactReady:!V&&fe!=="",onComplete:Ie,scrollContainerRef:R}),re==="dashboard"&&ye==="idle"?p.jsx(z5,{html:fe,loading:V}):p.jsx(s5,{messages:e,processing:n,hasStreaming:Ne,sessionActiveMs:Be,permissionPrompt:s,onPermission:I,containerRef:R,scrollLocked:ye==="animating"}),p.jsx(E5,{onSend:N,onAbort:A,onSlashCommand:X,onCommand:j,processing:n,slashCommands:W5,fileListItems:L,fileListPrefix:E,viewMode:re,projectPath:(l==null?void 0:l.projectPath)??"",onToast:(D,W)=>Fe({type:D,text:W})})]})})]}),p.jsx(H5,{toasts:ge,onRemove:ot}),U&&p.jsx(I5,{text:U,onClose:()=>ae(null)})]})}oo.createRoot(document.getElementById("root")).render(p.jsx(Xc.StrictMode,{children:p.jsx(G5,{})}));