md-review 0.0.3 → 0.0.4
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.
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
`+N[l].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),K}while(1<=l&&0<=s);break}}}finally{jn=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?mn(i):""}function Un(e,t){switch(e.tag){case 26:case 27:case 5:return mn(e.type);case 16:return mn("Lazy");case 13:return e.child!==t&&t!==null?mn("Suspense Fallback"):mn("Suspense");case 19:return mn("SuspenseList");case 0:case 15:return je(e.type,!1);case 11:return je(e.type.render,!1);case 1:return je(e.type,!0);case 31:return mn("Activity");default:return""}}function wn(e){try{var t="",i=null;do t+=Un(e,i),i=e,e=e.return;while(e);return t}catch(l){return`
|
|
47
47
|
Error generating stack: `+l.message+`
|
|
48
48
|
`+l.stack}}var Kn=Object.prototype.hasOwnProperty,ni=n.unstable_scheduleCallback,ta=n.unstable_cancelCallback,vl=n.unstable_shouldYield,wa=n.unstable_requestPaint,yt=n.unstable_now,ka=n.unstable_getCurrentPriorityLevel,j=n.unstable_ImmediatePriority,le=n.unstable_UserBlockingPriority,xe=n.unstable_NormalPriority,ze=n.unstable_LowPriority,Pe=n.unstable_IdlePriority,Qt=n.log,Hn=n.unstable_setDisableYieldValue,Ut=null,_t=null;function jt(e){if(typeof Qt=="function"&&Hn(e),_t&&typeof _t.setStrictMode=="function")try{_t.setStrictMode(Ut,e)}catch{}}var We=Math.clz32?Math.clz32:Mr,Vn=Math.log,$t=Math.LN2;function Mr(e){return e>>>=0,e===0?32:31-(Vn(e)/$t|0)|0}var na=256,Ca=262144,ia=4194304;function nn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function w(e,t,i){var l=e.pendingLanes;if(l===0)return 0;var s=0,d=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var v=l&134217727;return v!==0?(l=v&~d,l!==0?s=nn(l):(y&=v,y!==0?s=nn(y):i||(i=v&~e,i!==0&&(s=nn(i))))):(v=l&~d,v!==0?s=nn(v):y!==0?s=nn(y):i||(i=l&~e,i!==0&&(s=nn(i)))),s===0?0:t!==0&&t!==s&&(t&d)===0&&(d=s&-s,i=t&-t,d>=i||d===32&&(i&4194048)!==0)?t:s}function V(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function fe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ke(){var e=ia;return ia<<=1,(ia&62914560)===0&&(ia=4194304),e}function pt(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function st(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ge(e,t,i,l,s,d){var y=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var v=e.entanglements,N=e.expirationTimes,I=e.hiddenUpdates;for(i=y&~i;0<i;){var K=31-We(i),Z=1<<K;v[K]=0,N[K]=-1;var U=I[K];if(U!==null)for(I[K]=null,K=0;K<U.length;K++){var F=U[K];F!==null&&(F.lane&=-536870913)}i&=~Z}l!==0&&de(e,l,0),d!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=d&~(y&~t))}function de(e,t,i){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-We(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|i&261930}function we(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var l=31-We(i),s=1<<l;s&t|e[l]&t&&(e[l]|=t),i&=~s}}function xt(e,t){var i=t&-t;return i=(i&42)!==0?1:ht(i),(i&(e.suspendedLanes|t))!==0?0:i}function ht(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ii(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Oa(){var e=$.p;return e!==0?e:(e=window.event,e===void 0?32:Pg(e.type))}function Ma(e,t){var i=$.p;try{return $.p=e,t()}finally{$.p=i}}var Pn=Math.random().toString(36).slice(2),Tt="__reactFiber$"+Pn,Kt="__reactProps$"+Pn,Ni="__reactContainer$"+Pn,Sl="__reactEvents$"+Pn,Rr="__reactListeners$"+Pn,Ra="__reactHandles$"+Pn,Dr="__reactResources$"+Pn,aa="__reactMarker$"+Pn;function xl(e){delete e[Tt],delete e[Kt],delete e[Sl],delete e[Rr],delete e[Ra]}function Jt(e){var t=e[Tt];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Ni]||i[Tt]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=Mg(e);e!==null;){if(i=e[Tt])return i;e=Mg(e)}return t}e=i,i=e.parentNode}return null}function ai(e){if(e=e[Tt]||e[Ni]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ai(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function wi(e){var t=e[Dr];return t||(t=e[Dr]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function kt(e){e[aa]=!0}var Lr=new Set,la={};function li(e,t){te(e,t),te(e+"Capture",t)}function te(e,t){for(la[e]=t,e=0;e<t.length;e++)Lr.add(t[e])}var Ee=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Be={},et={};function Nt(e){return Kn.call(et,e)?!0:Kn.call(Be,e)?!1:Ee.test(e)?et[e]=!0:(Be[e]=!0,!1)}function Vt(e,t,i){if(Nt(t))if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+i)}}function hn(e,t,i){if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+i)}}function an(e,t,i,l){if(l===null)e.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(t,i,""+l)}}function ft(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bn(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zr(e,t,i){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,d=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(y){i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Da(e){if(!e._valueTracker){var t=bn(e)?"checked":"value";e._valueTracker=zr(e,t,""+e[t])}}function Tl(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),l="";return e&&(l=bn(e)?e.checked?"true":"false":e.value),e=l,e!==i?(t.setValue(e),!0):!1}function La(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ms=/[\n"\\]/g;function ln(e){return e.replace(ms,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Nl(e,t,i,l,s,d,y,v){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+ft(t)):e.value!==""+ft(t)&&(e.value=""+ft(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?za(e,y,ft(t)):i!=null?za(e,y,ft(i)):l!=null&&e.removeAttribute("value"),s==null&&d!=null&&(e.defaultChecked=!!d),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.name=""+ft(v):e.removeAttribute("name")}function ra(e,t,i,l,s,d,y,v){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||i!=null){if(!(d!=="submit"&&d!=="reset"||t!=null)){Da(e);return}i=i!=null?""+ft(i):"",t=t!=null?""+ft(t):i,v||t===e.value||(e.value=t),e.defaultValue=t}l=l??s,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=v?e.checked:!!l,e.defaultChecked=!!l,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),Da(e)}function za(e,t,i){t==="number"&&La(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function Ht(e,t,i,l){if(e=e.options,t){t={};for(var s=0;s<i.length;s++)t["$"+i[s]]=!0;for(i=0;i<e.length;i++)s=t.hasOwnProperty("$"+e[i].value),e[i].selected!==s&&(e[i].selected=s),s&&l&&(e[i].defaultSelected=!0)}else{for(i=""+ft(i),t=null,s=0;s<e.length;s++){if(e[s].value===i){e[s].selected=!0,l&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Br(e,t,i){if(t!=null&&(t=""+ft(t),t!==e.value&&(e.value=t),i==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=i!=null?""+ft(i):""}function Ba(e,t,i,l){if(t==null){if(l!=null){if(i!=null)throw Error(o(92));if(J(l)){if(1<l.length)throw Error(o(93));l=l[0]}i=l}i==null&&(i=""),t=i}i=ft(t),e.defaultValue=i,l=e.textContent,l===i&&l!==""&&l!==null&&(e.value=l),Da(e)}function Ne(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var Ir=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ct(e,t,i){var l=t.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,i):typeof i!="number"||i===0||Ir.has(t)?t==="float"?e.cssFloat=i:e[t]=(""+i).trim():e[t]=i+"px"}function tt(e,t,i){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,i!=null){for(var l in i)!i.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var s in t)l=t[s],t.hasOwnProperty(s)&&i[s]!==l&&Ct(e,s,l)}else for(var d in t)t.hasOwnProperty(d)&&Ct(e,d,t[d])}function ki(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ri=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Al=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ci(e){return Al.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function se(){}var he=null;function Oe(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fe=null,Et=null;function kn(e){var t=ai(e);if(t&&(e=t.stateNode)){var i=e[Kt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Nl(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+ln(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var l=i[t];if(l!==e&&l.form===e.form){var s=l[Kt]||null;if(!s)throw Error(o(90));Nl(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<i.length;t++)l=i[t],l.form===e.form&&Tl(l)}break e;case"textarea":Br(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&Ht(e,!!i.multiple,t,!1)}}}var wl=!1;function Ur(e,t,i){if(wl)return e(t,i);wl=!0;try{var l=e(t);return l}finally{if(wl=!1,(Fe!==null||Et!==null)&&(Ao(),Fe&&(t=Fe,e=Et,Et=Fe=null,kn(t),e)))for(t=0;t<e.length;t++)kn(e[t])}}function kl(e,t){var i=e.stateNode;if(i===null)return null;var l=i[Kt]||null;if(l===null)return null;i=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(o(231,t,typeof i));return i}var oi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hs=!1;if(oi)try{var Cl={};Object.defineProperty(Cl,"passive",{get:function(){hs=!0}}),window.addEventListener("test",Cl,Cl),window.removeEventListener("test",Cl,Cl)}catch{hs=!1}var Oi=null,bs=null,Hr=null;function Tf(){if(Hr)return Hr;var e,t=bs,i=t.length,l,s="value"in Oi?Oi.value:Oi.textContent,d=s.length;for(e=0;e<i&&t[e]===s[e];e++);var y=i-e;for(l=1;l<=y&&t[i-l]===s[d-l];l++);return Hr=s.slice(e,1<l?1-l:void 0)}function qr(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 Fr(){return!0}function Nf(){return!1}function rn(e){function t(i,l,s,d,y){this._reactName=i,this._targetInst=s,this.type=l,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(i=e[v],this[v]=i?i(d):d[v]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Fr:Nf,this.isPropagationStopped=Nf,this}return h(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Fr)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Fr)},persist:function(){},isPersistent:Fr}),t}var oa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gr=rn(oa),Ol=h({},oa,{view:0,detail:0}),qb=rn(Ol),ys,Es,Ml,Yr=h({},Ol,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vs,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!==Ml&&(Ml&&e.type==="mousemove"?(ys=e.screenX-Ml.screenX,Es=e.screenY-Ml.screenY):Es=ys=0,Ml=e),ys)},movementY:function(e){return"movementY"in e?e.movementY:Es}}),Af=rn(Yr),Fb=h({},Yr,{dataTransfer:0}),Gb=rn(Fb),Yb=h({},Ol,{relatedTarget:0}),_s=rn(Yb),jb=h({},oa,{animationName:0,elapsedTime:0,pseudoElement:0}),Kb=rn(jb),Vb=h({},oa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pb=rn(Vb),Xb=h({},oa,{data:0}),wf=rn(Xb),Zb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qb={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"},$b={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$b[e])?!!t[e]:!1}function vs(){return Jb}var Wb=h({},Ol,{key:function(e){if(e.key){var t=Zb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Qb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vs,charCode:function(e){return e.type==="keypress"?qr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ey=rn(Wb),ty=h({},Yr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kf=rn(ty),ny=h({},Ol,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vs}),iy=rn(ny),ay=h({},oa,{propertyName:0,elapsedTime:0,pseudoElement:0}),ly=rn(ay),ry=h({},Yr,{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}),oy=rn(ry),sy=h({},oa,{newState:0,oldState:0}),uy=rn(sy),cy=[9,13,27,32],Ss=oi&&"CompositionEvent"in window,Rl=null;oi&&"documentMode"in document&&(Rl=document.documentMode);var fy=oi&&"TextEvent"in window&&!Rl,Cf=oi&&(!Ss||Rl&&8<Rl&&11>=Rl),Of=" ",Mf=!1;function Rf(e,t){switch(e){case"keyup":return cy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Df(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ia=!1;function dy(e,t){switch(e){case"compositionend":return Df(t);case"keypress":return t.which!==32?null:(Mf=!0,Of);case"textInput":return e=t.data,e===Of&&Mf?null:e;default:return null}}function py(e,t){if(Ia)return e==="compositionend"||!Ss&&Rf(e,t)?(e=Tf(),Hr=bs=Oi=null,Ia=!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 Cf&&t.locale!=="ko"?null:t.data;default:return null}}var gy={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 Lf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gy[e.type]:t==="textarea"}function zf(e,t,i,l){Fe?Et?Et.push(l):Et=[l]:Fe=l,t=Do(t,"onChange"),0<t.length&&(i=new Gr("onChange","change",null,i,l),e.push({event:i,listeners:t}))}var Dl=null,Ll=null;function my(e){bg(e,0)}function jr(e){var t=Ai(e);if(Tl(t))return e}function Bf(e,t){if(e==="change")return t}var If=!1;if(oi){var xs;if(oi){var Ts="oninput"in document;if(!Ts){var Uf=document.createElement("div");Uf.setAttribute("oninput","return;"),Ts=typeof Uf.oninput=="function"}xs=Ts}else xs=!1;If=xs&&(!document.documentMode||9<document.documentMode)}function Hf(){Dl&&(Dl.detachEvent("onpropertychange",qf),Ll=Dl=null)}function qf(e){if(e.propertyName==="value"&&jr(Ll)){var t=[];zf(t,Ll,e,Oe(e)),Ur(my,t)}}function hy(e,t,i){e==="focusin"?(Hf(),Dl=t,Ll=i,Dl.attachEvent("onpropertychange",qf)):e==="focusout"&&Hf()}function by(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return jr(Ll)}function yy(e,t){if(e==="click")return jr(t)}function Ey(e,t){if(e==="input"||e==="change")return jr(t)}function _y(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yn=typeof Object.is=="function"?Object.is:_y;function zl(e,t){if(yn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!1;for(l=0;l<i.length;l++){var s=i[l];if(!Kn.call(t,s)||!yn(e[s],t[s]))return!1}return!0}function Ff(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gf(e,t){var i=Ff(e);e=0;for(var l;i;){if(i.nodeType===3){if(l=e+i.textContent.length,e<=t&&l>=t)return{node:i,offset:t-e};e=l}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ff(i)}}function Yf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=La(e.document);t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=La(e.document)}return t}function Ns(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")}var vy=oi&&"documentMode"in document&&11>=document.documentMode,Ua=null,As=null,Bl=null,ws=!1;function Kf(e,t,i){var l=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;ws||Ua==null||Ua!==La(l)||(l=Ua,"selectionStart"in l&&Ns(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Bl&&zl(Bl,l)||(Bl=l,l=Do(As,"onSelect"),0<l.length&&(t=new Gr("onSelect","select",null,t,i),e.push({event:t,listeners:l}),t.target=Ua)))}function sa(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var Ha={animationend:sa("Animation","AnimationEnd"),animationiteration:sa("Animation","AnimationIteration"),animationstart:sa("Animation","AnimationStart"),transitionrun:sa("Transition","TransitionRun"),transitionstart:sa("Transition","TransitionStart"),transitioncancel:sa("Transition","TransitionCancel"),transitionend:sa("Transition","TransitionEnd")},ks={},Vf={};oi&&(Vf=document.createElement("div").style,"AnimationEvent"in window||(delete Ha.animationend.animation,delete Ha.animationiteration.animation,delete Ha.animationstart.animation),"TransitionEvent"in window||delete Ha.transitionend.transition);function ua(e){if(ks[e])return ks[e];if(!Ha[e])return e;var t=Ha[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in Vf)return ks[e]=t[i];return e}var Pf=ua("animationend"),Xf=ua("animationiteration"),Zf=ua("animationstart"),Sy=ua("transitionrun"),xy=ua("transitionstart"),Ty=ua("transitioncancel"),Qf=ua("transitionend"),$f=new Map,Cs="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Cs.push("scrollEnd");function qn(e,t){$f.set(e,t),li(t,[e])}var Kr=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Cn=[],qa=0,Os=0;function Vr(){for(var e=qa,t=Os=qa=0;t<e;){var i=Cn[t];Cn[t++]=null;var l=Cn[t];Cn[t++]=null;var s=Cn[t];Cn[t++]=null;var d=Cn[t];if(Cn[t++]=null,l!==null&&s!==null){var y=l.pending;y===null?s.next=s:(s.next=y.next,y.next=s),l.pending=s}d!==0&&Jf(i,s,d)}}function Pr(e,t,i,l){Cn[qa++]=e,Cn[qa++]=t,Cn[qa++]=i,Cn[qa++]=l,Os|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Ms(e,t,i,l){return Pr(e,t,i,l),Xr(e)}function ca(e,t){return Pr(e,null,null,t),Xr(e)}function Jf(e,t,i){e.lanes|=i;var l=e.alternate;l!==null&&(l.lanes|=i);for(var s=!1,d=e.return;d!==null;)d.childLanes|=i,l=d.alternate,l!==null&&(l.childLanes|=i),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(s=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,s&&t!==null&&(s=31-We(i),e=d.hiddenUpdates,l=e[s],l===null?e[s]=[t]:l.push(t),t.lane=i|536870912),d):null}function Xr(e){if(50<ar)throw ar=0,qu=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Fa={};function Ny(e,t,i,l){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function En(e,t,i,l){return new Ny(e,t,i,l)}function Rs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function si(e,t){var i=e.alternate;return i===null?(i=En(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function Wf(e,t){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,t=i.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Zr(e,t,i,l,s,d){var y=0;if(l=e,typeof e=="function")Rs(e)&&(y=1);else if(typeof e=="string")y=OE(e,i,ce.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ue:return e=En(31,i,t,s),e.elementType=ue,e.lanes=d,e;case C:return fa(i.children,s,d,t);case D:y=8,s|=24;break;case k:return e=En(12,i,t,s|2),e.elementType=k,e.lanes=d,e;case X:return e=En(13,i,t,s),e.elementType=X,e.lanes=d,e;case M:return e=En(19,i,t,s),e.elementType=M,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:y=10;break e;case Y:y=9;break e;case W:y=11;break e;case Q:y=14;break e;case ee:y=16,l=null;break e}y=29,i=Error(o(130,e===null?"null":typeof e,"")),l=null}return t=En(y,i,t,s),t.elementType=e,t.type=l,t.lanes=d,t}function fa(e,t,i,l){return e=En(7,e,l,t),e.lanes=i,e}function Ds(e,t,i){return e=En(6,e,null,t),e.lanes=i,e}function ed(e){var t=En(18,null,null,0);return t.stateNode=e,t}function Ls(e,t,i){return t=En(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var td=new WeakMap;function On(e,t){if(typeof e=="object"&&e!==null){var i=td.get(e);return i!==void 0?i:(t={value:e,source:t,stack:wn(t)},td.set(e,t),t)}return{value:e,source:t,stack:wn(t)}}var Ga=[],Ya=0,Qr=null,Il=0,Mn=[],Rn=0,Mi=null,Xn=1,Zn="";function ui(e,t){Ga[Ya++]=Il,Ga[Ya++]=Qr,Qr=e,Il=t}function nd(e,t,i){Mn[Rn++]=Xn,Mn[Rn++]=Zn,Mn[Rn++]=Mi,Mi=e;var l=Xn;e=Zn;var s=32-We(l)-1;l&=~(1<<s),i+=1;var d=32-We(t)+s;if(30<d){var y=s-s%5;d=(l&(1<<y)-1).toString(32),l>>=y,s-=y,Xn=1<<32-We(t)+s|i<<s|l,Zn=d+e}else Xn=1<<d|i<<s|l,Zn=e}function zs(e){e.return!==null&&(ui(e,1),nd(e,1,0))}function Bs(e){for(;e===Qr;)Qr=Ga[--Ya],Ga[Ya]=null,Il=Ga[--Ya],Ga[Ya]=null;for(;e===Mi;)Mi=Mn[--Rn],Mn[Rn]=null,Zn=Mn[--Rn],Mn[Rn]=null,Xn=Mn[--Rn],Mn[Rn]=null}function id(e,t){Mn[Rn++]=Xn,Mn[Rn++]=Zn,Mn[Rn++]=Mi,Xn=t.id,Zn=t.overflow,Mi=e}var qt=null,gt=null,Ke=!1,Ri=null,Dn=!1,Is=Error(o(519));function Di(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ul(On(t,e)),Is}function ad(e){var t=e.stateNode,i=e.type,l=e.memoizedProps;switch(t[Tt]=e,t[Kt]=l,i){case"dialog":He("cancel",t),He("close",t);break;case"iframe":case"object":case"embed":He("load",t);break;case"video":case"audio":for(i=0;i<rr.length;i++)He(rr[i],t);break;case"source":He("error",t);break;case"img":case"image":case"link":He("error",t),He("load",t);break;case"details":He("toggle",t);break;case"input":He("invalid",t),ra(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":He("invalid",t);break;case"textarea":He("invalid",t),Ba(t,l.value,l.defaultValue,l.children)}i=l.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||t.textContent===""+i||l.suppressHydrationWarning===!0||vg(t.textContent,i)?(l.popover!=null&&(He("beforetoggle",t),He("toggle",t)),l.onScroll!=null&&He("scroll",t),l.onScrollEnd!=null&&He("scrollend",t),l.onClick!=null&&(t.onclick=se),t=!0):t=!1,t||Di(e,!0)}function ld(e){for(qt=e.return;qt;)switch(qt.tag){case 5:case 31:case 13:Dn=!1;return;case 27:case 3:Dn=!0;return;default:qt=qt.return}}function ja(e){if(e!==qt)return!1;if(!Ke)return ld(e),Ke=!0,!1;var t=e.tag,i;if((i=t!==3&&t!==27)&&((i=t===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||tc(e.type,e.memoizedProps)),i=!i),i&>&&Di(e),ld(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));gt=Og(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));gt=Og(e)}else t===27?(t=gt,Pi(e.type)?(e=rc,rc=null,gt=e):gt=t):gt=qt?zn(e.stateNode.nextSibling):null;return!0}function da(){gt=qt=null,Ke=!1}function Us(){var e=Ri;return e!==null&&(cn===null?cn=e:cn.push.apply(cn,e),Ri=null),e}function Ul(e){Ri===null?Ri=[e]:Ri.push(e)}var Hs=A(null),pa=null,ci=null;function Li(e,t,i){S(Hs,t._currentValue),t._currentValue=i}function fi(e){e._currentValue=Hs.current,G(Hs)}function qs(e,t,i){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===i)break;e=e.return}}function Fs(e,t,i,l){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var d=s.dependencies;if(d!==null){var y=s.child;d=d.firstContext;e:for(;d!==null;){var v=d;d=s;for(var N=0;N<t.length;N++)if(v.context===t[N]){d.lanes|=i,v=d.alternate,v!==null&&(v.lanes|=i),qs(d.return,i,e),l||(y=null);break e}d=v.next}}else if(s.tag===18){if(y=s.return,y===null)throw Error(o(341));y.lanes|=i,d=y.alternate,d!==null&&(d.lanes|=i),qs(y,i,e),y=null}else y=s.child;if(y!==null)y.return=s;else for(y=s;y!==null;){if(y===e){y=null;break}if(s=y.sibling,s!==null){s.return=y.return,y=s;break}y=y.return}s=y}}function Ka(e,t,i,l){e=null;for(var s=t,d=!1;s!==null;){if(!d){if((s.flags&524288)!==0)d=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var y=s.alternate;if(y===null)throw Error(o(387));if(y=y.memoizedProps,y!==null){var v=s.type;yn(s.pendingProps.value,y.value)||(e!==null?e.push(v):e=[v])}}else if(s===Le.current){if(y=s.alternate,y===null)throw Error(o(387));y.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(fr):e=[fr])}s=s.return}e!==null&&Fs(t,e,i,l),t.flags|=262144}function $r(e){for(e=e.firstContext;e!==null;){if(!yn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ga(e){pa=e,ci=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ft(e){return rd(pa,e)}function Jr(e,t){return pa===null&&ga(e),rd(e,t)}function rd(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},ci===null){if(e===null)throw Error(o(308));ci=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ci=ci.next=t;return i}var Ay=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},wy=n.unstable_scheduleCallback,ky=n.unstable_NormalPriority,Ot={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Gs(){return{controller:new Ay,data:new Map,refCount:0}}function Hl(e){e.refCount--,e.refCount===0&&wy(ky,function(){e.controller.abort()})}var ql=null,Ys=0,Va=0,Pa=null;function Cy(e,t){if(ql===null){var i=ql=[];Ys=0,Va=Vu(),Pa={status:"pending",value:void 0,then:function(l){i.push(l)}}}return Ys++,t.then(od,od),t}function od(){if(--Ys===0&&ql!==null){Pa!==null&&(Pa.status="fulfilled");var e=ql;ql=null,Va=0,Pa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Oy(e,t){var i=[],l={status:"pending",value:null,reason:null,then:function(s){i.push(s)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var s=0;s<i.length;s++)(0,i[s])(t)},function(s){for(l.status="rejected",l.reason=s,s=0;s<i.length;s++)(0,i[s])(void 0)}),l}var sd=L.S;L.S=function(e,t){Kp=yt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Cy(e,t),sd!==null&&sd(e,t)};var ma=A(null);function js(){var e=ma.current;return e!==null?e:ut.pooledCache}function Wr(e,t){t===null?S(ma,ma.current):S(ma,t.pool)}function ud(){var e=js();return e===null?null:{parent:Ot._currentValue,pool:e}}var Xa=Error(o(460)),Ks=Error(o(474)),eo=Error(o(542)),to={then:function(){}};function cd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function fd(e,t,i){switch(i=e[i],i===void 0?e.push(t):i!==t&&(t.then(se,se),t=i),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,pd(e),e;default:if(typeof t.status=="string")t.then(se,se);else{if(e=ut,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=l}},function(l){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,pd(e),e}throw ba=t,Xa}}function ha(e){try{var t=e._init;return t(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(ba=i,Xa):i}}var ba=null;function dd(){if(ba===null)throw Error(o(459));var e=ba;return ba=null,e}function pd(e){if(e===Xa||e===eo)throw Error(o(483))}var Za=null,Fl=0;function no(e){var t=Fl;return Fl+=1,Za===null&&(Za=[]),fd(Za,e,t)}function Gl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function io(e,t){throw t.$$typeof===E?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function gd(e){function t(R,O){if(e){var B=R.deletions;B===null?(R.deletions=[O],R.flags|=16):B.push(O)}}function i(R,O){if(!e)return null;for(;O!==null;)t(R,O),O=O.sibling;return null}function l(R){for(var O=new Map;R!==null;)R.key!==null?O.set(R.key,R):O.set(R.index,R),R=R.sibling;return O}function s(R,O){return R=si(R,O),R.index=0,R.sibling=null,R}function d(R,O,B){return R.index=B,e?(B=R.alternate,B!==null?(B=B.index,B<O?(R.flags|=67108866,O):B):(R.flags|=67108866,O)):(R.flags|=1048576,O)}function y(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function v(R,O,B,P){return O===null||O.tag!==6?(O=Ds(B,R.mode,P),O.return=R,O):(O=s(O,B),O.return=R,O)}function N(R,O,B,P){var ve=B.type;return ve===C?K(R,O,B.props.children,P,B.key):O!==null&&(O.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===ee&&ha(ve)===O.type)?(O=s(O,B.props),Gl(O,B),O.return=R,O):(O=Zr(B.type,B.key,B.props,null,R.mode,P),Gl(O,B),O.return=R,O)}function I(R,O,B,P){return O===null||O.tag!==4||O.stateNode.containerInfo!==B.containerInfo||O.stateNode.implementation!==B.implementation?(O=Ls(B,R.mode,P),O.return=R,O):(O=s(O,B.children||[]),O.return=R,O)}function K(R,O,B,P,ve){return O===null||O.tag!==7?(O=fa(B,R.mode,P,ve),O.return=R,O):(O=s(O,B),O.return=R,O)}function Z(R,O,B){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Ds(""+O,R.mode,B),O.return=R,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case _:return B=Zr(O.type,O.key,O.props,null,R.mode,B),Gl(B,O),B.return=R,B;case x:return O=Ls(O,R.mode,B),O.return=R,O;case ee:return O=ha(O),Z(R,O,B)}if(J(O)||re(O))return O=fa(O,R.mode,B,null),O.return=R,O;if(typeof O.then=="function")return Z(R,no(O),B);if(O.$$typeof===H)return Z(R,Jr(R,O),B);io(R,O)}return null}function U(R,O,B,P){var ve=O!==null?O.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return ve!==null?null:v(R,O,""+B,P);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case _:return B.key===ve?N(R,O,B,P):null;case x:return B.key===ve?I(R,O,B,P):null;case ee:return B=ha(B),U(R,O,B,P)}if(J(B)||re(B))return ve!==null?null:K(R,O,B,P,null);if(typeof B.then=="function")return U(R,O,no(B),P);if(B.$$typeof===H)return U(R,O,Jr(R,B),P);io(R,B)}return null}function F(R,O,B,P,ve){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return R=R.get(B)||null,v(O,R,""+P,ve);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case _:return R=R.get(P.key===null?B:P.key)||null,N(O,R,P,ve);case x:return R=R.get(P.key===null?B:P.key)||null,I(O,R,P,ve);case ee:return P=ha(P),F(R,O,B,P,ve)}if(J(P)||re(P))return R=R.get(B)||null,K(O,R,P,ve,null);if(typeof P.then=="function")return F(R,O,B,no(P),ve);if(P.$$typeof===H)return F(R,O,B,Jr(O,P),ve);io(O,P)}return null}function pe(R,O,B,P){for(var ve=null,Xe=null,be=O,Re=O=0,Ye=null;be!==null&&Re<B.length;Re++){be.index>Re?(Ye=be,be=null):Ye=be.sibling;var Ze=U(R,be,B[Re],P);if(Ze===null){be===null&&(be=Ye);break}e&&be&&Ze.alternate===null&&t(R,be),O=d(Ze,O,Re),Xe===null?ve=Ze:Xe.sibling=Ze,Xe=Ze,be=Ye}if(Re===B.length)return i(R,be),Ke&&ui(R,Re),ve;if(be===null){for(;Re<B.length;Re++)be=Z(R,B[Re],P),be!==null&&(O=d(be,O,Re),Xe===null?ve=be:Xe.sibling=be,Xe=be);return Ke&&ui(R,Re),ve}for(be=l(be);Re<B.length;Re++)Ye=F(be,R,Re,B[Re],P),Ye!==null&&(e&&Ye.alternate!==null&&be.delete(Ye.key===null?Re:Ye.key),O=d(Ye,O,Re),Xe===null?ve=Ye:Xe.sibling=Ye,Xe=Ye);return e&&be.forEach(function(Ji){return t(R,Ji)}),Ke&&ui(R,Re),ve}function Te(R,O,B,P){if(B==null)throw Error(o(151));for(var ve=null,Xe=null,be=O,Re=O=0,Ye=null,Ze=B.next();be!==null&&!Ze.done;Re++,Ze=B.next()){be.index>Re?(Ye=be,be=null):Ye=be.sibling;var Ji=U(R,be,Ze.value,P);if(Ji===null){be===null&&(be=Ye);break}e&&be&&Ji.alternate===null&&t(R,be),O=d(Ji,O,Re),Xe===null?ve=Ji:Xe.sibling=Ji,Xe=Ji,be=Ye}if(Ze.done)return i(R,be),Ke&&ui(R,Re),ve;if(be===null){for(;!Ze.done;Re++,Ze=B.next())Ze=Z(R,Ze.value,P),Ze!==null&&(O=d(Ze,O,Re),Xe===null?ve=Ze:Xe.sibling=Ze,Xe=Ze);return Ke&&ui(R,Re),ve}for(be=l(be);!Ze.done;Re++,Ze=B.next())Ze=F(be,R,Re,Ze.value,P),Ze!==null&&(e&&Ze.alternate!==null&&be.delete(Ze.key===null?Re:Ze.key),O=d(Ze,O,Re),Xe===null?ve=Ze:Xe.sibling=Ze,Xe=Ze);return e&&be.forEach(function(FE){return t(R,FE)}),Ke&&ui(R,Re),ve}function rt(R,O,B,P){if(typeof B=="object"&&B!==null&&B.type===C&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case _:e:{for(var ve=B.key;O!==null;){if(O.key===ve){if(ve=B.type,ve===C){if(O.tag===7){i(R,O.sibling),P=s(O,B.props.children),P.return=R,R=P;break e}}else if(O.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===ee&&ha(ve)===O.type){i(R,O.sibling),P=s(O,B.props),Gl(P,B),P.return=R,R=P;break e}i(R,O);break}else t(R,O);O=O.sibling}B.type===C?(P=fa(B.props.children,R.mode,P,B.key),P.return=R,R=P):(P=Zr(B.type,B.key,B.props,null,R.mode,P),Gl(P,B),P.return=R,R=P)}return y(R);case x:e:{for(ve=B.key;O!==null;){if(O.key===ve)if(O.tag===4&&O.stateNode.containerInfo===B.containerInfo&&O.stateNode.implementation===B.implementation){i(R,O.sibling),P=s(O,B.children||[]),P.return=R,R=P;break e}else{i(R,O);break}else t(R,O);O=O.sibling}P=Ls(B,R.mode,P),P.return=R,R=P}return y(R);case ee:return B=ha(B),rt(R,O,B,P)}if(J(B))return pe(R,O,B,P);if(re(B)){if(ve=re(B),typeof ve!="function")throw Error(o(150));return B=ve.call(B),Te(R,O,B,P)}if(typeof B.then=="function")return rt(R,O,no(B),P);if(B.$$typeof===H)return rt(R,O,Jr(R,B),P);io(R,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,O!==null&&O.tag===6?(i(R,O.sibling),P=s(O,B),P.return=R,R=P):(i(R,O),P=Ds(B,R.mode,P),P.return=R,R=P),y(R)):i(R,O)}return function(R,O,B,P){try{Fl=0;var ve=rt(R,O,B,P);return Za=null,ve}catch(be){if(be===Xa||be===eo)throw be;var Xe=En(29,be,null,R.mode);return Xe.lanes=P,Xe.return=R,Xe}finally{}}}var ya=gd(!0),md=gd(!1),zi=!1;function Vs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ps(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Bi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ii(e,t,i){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,($e&2)!==0){var s=l.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),l.pending=t,t=Xr(e),Jf(e,null,i),t}return Pr(e,l,t,i),Xr(e)}function Yl(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,i|=l,t.lanes=i,we(e,i)}}function Xs(e,t){var i=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,i===l)){var s=null,d=null;if(i=i.firstBaseUpdate,i!==null){do{var y={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};d===null?s=d=y:d=d.next=y,i=i.next}while(i!==null);d===null?s=d=t:d=d.next=t}else s=d=t;i={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:l.shared,callbacks:l.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}var Zs=!1;function jl(){if(Zs){var e=Pa;if(e!==null)throw e}}function Kl(e,t,i,l){Zs=!1;var s=e.updateQueue;zi=!1;var d=s.firstBaseUpdate,y=s.lastBaseUpdate,v=s.shared.pending;if(v!==null){s.shared.pending=null;var N=v,I=N.next;N.next=null,y===null?d=I:y.next=I,y=N;var K=e.alternate;K!==null&&(K=K.updateQueue,v=K.lastBaseUpdate,v!==y&&(v===null?K.firstBaseUpdate=I:v.next=I,K.lastBaseUpdate=N))}if(d!==null){var Z=s.baseState;y=0,K=I=N=null,v=d;do{var U=v.lane&-536870913,F=U!==v.lane;if(F?(Ge&U)===U:(l&U)===U){U!==0&&U===Va&&(Zs=!0),K!==null&&(K=K.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var pe=e,Te=v;U=t;var rt=i;switch(Te.tag){case 1:if(pe=Te.payload,typeof pe=="function"){Z=pe.call(rt,Z,U);break e}Z=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=Te.payload,U=typeof pe=="function"?pe.call(rt,Z,U):pe,U==null)break e;Z=h({},Z,U);break e;case 2:zi=!0}}U=v.callback,U!==null&&(e.flags|=64,F&&(e.flags|=8192),F=s.callbacks,F===null?s.callbacks=[U]:F.push(U))}else F={lane:U,tag:v.tag,payload:v.payload,callback:v.callback,next:null},K===null?(I=K=F,N=Z):K=K.next=F,y|=U;if(v=v.next,v===null){if(v=s.shared.pending,v===null)break;F=v,v=F.next,F.next=null,s.lastBaseUpdate=F,s.shared.pending=null}}while(!0);K===null&&(N=Z),s.baseState=N,s.firstBaseUpdate=I,s.lastBaseUpdate=K,d===null&&(s.shared.lanes=0),Gi|=y,e.lanes=y,e.memoizedState=Z}}function hd(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function bd(e,t){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)hd(i[e],t)}var Qa=A(null),ao=A(0);function yd(e,t){e=_i,S(ao,e),S(Qa,t),_i=e|t.baseLanes}function Qs(){S(ao,_i),S(Qa,Qa.current)}function $s(){_i=ao.current,G(Qa),G(ao)}var _n=A(null),Ln=null;function Ui(e){var t=e.alternate;S(At,At.current&1),S(_n,e),Ln===null&&(t===null||Qa.current!==null||t.memoizedState!==null)&&(Ln=e)}function Js(e){S(At,At.current),S(_n,e),Ln===null&&(Ln=e)}function Ed(e){e.tag===22?(S(At,At.current),S(_n,e),Ln===null&&(Ln=e)):Hi()}function Hi(){S(At,At.current),S(_n,_n.current)}function vn(e){G(_n),Ln===e&&(Ln=null),G(At)}var At=A(0);function lo(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||ac(i)||lc(i)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)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 di=0,Me=null,at=null,Mt=null,ro=!1,$a=!1,Ea=!1,oo=0,Vl=0,Ja=null,My=0;function vt(){throw Error(o(321))}function Ws(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!yn(e[i],t[i]))return!1;return!0}function eu(e,t,i,l,s,d){return di=d,Me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e===null||e.memoizedState===null?np:mu,Ea=!1,d=i(l,s),Ea=!1,$a&&(d=vd(t,i,l,s)),_d(e),d}function _d(e){L.H=Zl;var t=at!==null&&at.next!==null;if(di=0,Mt=at=Me=null,ro=!1,Vl=0,Ja=null,t)throw Error(o(300));e===null||Rt||(e=e.dependencies,e!==null&&$r(e)&&(Rt=!0))}function vd(e,t,i,l){Me=e;var s=0;do{if($a&&(Ja=null),Vl=0,$a=!1,25<=s)throw Error(o(301));if(s+=1,Mt=at=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}L.H=ip,d=t(i,l)}while($a);return d}function Ry(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?Pl(t):t,e=e.useState()[0],(at!==null?at.memoizedState:null)!==e&&(Me.flags|=1024),t}function tu(){var e=oo!==0;return oo=0,e}function nu(e,t,i){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i}function iu(e){if(ro){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ro=!1}di=0,Mt=at=Me=null,$a=!1,Vl=oo=0,Ja=null}function Wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mt===null?Me.memoizedState=Mt=e:Mt=Mt.next=e,Mt}function wt(){if(at===null){var e=Me.alternate;e=e!==null?e.memoizedState:null}else e=at.next;var t=Mt===null?Me.memoizedState:Mt.next;if(t!==null)Mt=t,at=e;else{if(e===null)throw Me.alternate===null?Error(o(467)):Error(o(310));at=e,e={memoizedState:at.memoizedState,baseState:at.baseState,baseQueue:at.baseQueue,queue:at.queue,next:null},Mt===null?Me.memoizedState=Mt=e:Mt=Mt.next=e}return Mt}function so(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Pl(e){var t=Vl;return Vl+=1,Ja===null&&(Ja=[]),e=fd(Ja,e,t),t=Me,(Mt===null?t.memoizedState:Mt.next)===null&&(t=t.alternate,L.H=t===null||t.memoizedState===null?np:mu),e}function uo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Pl(e);if(e.$$typeof===H)return Ft(e)}throw Error(o(438,String(e)))}function au(e){var t=null,i=Me.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var l=Me.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=so(),Me.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0)for(i=t.data[t.index]=Array(e),l=0;l<e;l++)i[l]=z;return t.index++,i}function pi(e,t){return typeof t=="function"?t(e):t}function co(e){var t=wt();return lu(t,at,e)}function lu(e,t,i){var l=e.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=i;var s=e.baseQueue,d=l.pending;if(d!==null){if(s!==null){var y=s.next;s.next=d.next,d.next=y}t.baseQueue=s=d,l.pending=null}if(d=e.baseState,s===null)e.memoizedState=d;else{t=s.next;var v=y=null,N=null,I=t,K=!1;do{var Z=I.lane&-536870913;if(Z!==I.lane?(Ge&Z)===Z:(di&Z)===Z){var U=I.revertLane;if(U===0)N!==null&&(N=N.next={lane:0,revertLane:0,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),Z===Va&&(K=!0);else if((di&U)===U){I=I.next,U===Va&&(K=!0);continue}else Z={lane:0,revertLane:I.revertLane,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},N===null?(v=N=Z,y=d):N=N.next=Z,Me.lanes|=U,Gi|=U;Z=I.action,Ea&&i(d,Z),d=I.hasEagerState?I.eagerState:i(d,Z)}else U={lane:Z,revertLane:I.revertLane,gesture:I.gesture,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},N===null?(v=N=U,y=d):N=N.next=U,Me.lanes|=Z,Gi|=Z;I=I.next}while(I!==null&&I!==t);if(N===null?y=d:N.next=v,!yn(d,e.memoizedState)&&(Rt=!0,K&&(i=Pa,i!==null)))throw i;e.memoizedState=d,e.baseState=y,e.baseQueue=N,l.lastRenderedState=d}return s===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function ru(e){var t=wt(),i=t.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=e;var l=i.dispatch,s=i.pending,d=t.memoizedState;if(s!==null){i.pending=null;var y=s=s.next;do d=e(d,y.action),y=y.next;while(y!==s);yn(d,t.memoizedState)||(Rt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),i.lastRenderedState=d}return[d,l]}function Sd(e,t,i){var l=Me,s=wt(),d=Ke;if(d){if(i===void 0)throw Error(o(407));i=i()}else i=t();var y=!yn((at||s).memoizedState,i);if(y&&(s.memoizedState=i,Rt=!0),s=s.queue,uu(Nd.bind(null,l,s,e),[e]),s.getSnapshot!==t||y||Mt!==null&&Mt.memoizedState.tag&1){if(l.flags|=2048,Wa(9,{destroy:void 0},Td.bind(null,l,s,i,t),null),ut===null)throw Error(o(349));d||(di&127)!==0||xd(l,t,i)}return i}function xd(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=Me.updateQueue,t===null?(t=so(),Me.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function Td(e,t,i,l){t.value=i,t.getSnapshot=l,Ad(t)&&wd(e)}function Nd(e,t,i){return i(function(){Ad(t)&&wd(e)})}function Ad(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!yn(e,i)}catch{return!0}}function wd(e){var t=ca(e,2);t!==null&&fn(t,e,2)}function ou(e){var t=Wt();if(typeof e=="function"){var i=e;if(e=i(),Ea){jt(!0);try{i()}finally{jt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pi,lastRenderedState:e},t}function kd(e,t,i,l){return e.baseState=i,lu(e,at,typeof l=="function"?l:pi)}function Dy(e,t,i,l,s){if(go(e))throw Error(o(485));if(e=t.action,e!==null){var d={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){d.listeners.push(y)}};L.T!==null?i(!0):d.isTransition=!1,l(d),i=t.pending,i===null?(d.next=t.pending=d,Cd(t,d)):(d.next=i.next,t.pending=i.next=d)}}function Cd(e,t){var i=t.action,l=t.payload,s=e.state;if(t.isTransition){var d=L.T,y={};L.T=y;try{var v=i(s,l),N=L.S;N!==null&&N(y,v),Od(e,t,v)}catch(I){su(e,t,I)}finally{d!==null&&y.types!==null&&(d.types=y.types),L.T=d}}else try{d=i(s,l),Od(e,t,d)}catch(I){su(e,t,I)}}function Od(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(l){Md(e,t,l)},function(l){return su(e,t,l)}):Md(e,t,i)}function Md(e,t,i){t.status="fulfilled",t.value=i,Rd(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,Cd(e,i)))}function su(e,t,i){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=i,Rd(t),t=t.next;while(t!==l)}e.action=null}function Rd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Dd(e,t){return t}function Ld(e,t){if(Ke){var i=ut.formState;if(i!==null){e:{var l=Me;if(Ke){if(gt){t:{for(var s=gt,d=Dn;s.nodeType!==8;){if(!d){s=null;break t}if(s=zn(s.nextSibling),s===null){s=null;break t}}d=s.data,s=d==="F!"||d==="F"?s:null}if(s){gt=zn(s.nextSibling),l=s.data==="F!";break e}}Di(l)}l=!1}l&&(t=i[0])}}return i=Wt(),i.memoizedState=i.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dd,lastRenderedState:t},i.queue=l,i=Wd.bind(null,Me,l),l.dispatch=i,l=ou(!1),d=gu.bind(null,Me,!1,l.queue),l=Wt(),s={state:t,dispatch:null,action:e,pending:null},l.queue=s,i=Dy.bind(null,Me,s,d,i),s.dispatch=i,l.memoizedState=e,[t,i,!1]}function zd(e){var t=wt();return Bd(t,at,e)}function Bd(e,t,i){if(t=lu(e,t,Dd)[0],e=co(pi)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=Pl(t)}catch(y){throw y===Xa?eo:y}else l=t;t=wt();var s=t.queue,d=s.dispatch;return i!==t.memoizedState&&(Me.flags|=2048,Wa(9,{destroy:void 0},Ly.bind(null,s,i),null)),[l,d,e]}function Ly(e,t){e.action=t}function Id(e){var t=wt(),i=at;if(i!==null)return Bd(t,i,e);wt(),t=t.memoizedState,i=wt();var l=i.queue.dispatch;return i.memoizedState=e,[t,l,!1]}function Wa(e,t,i,l){return e={tag:e,create:i,deps:l,inst:t,next:null},t=Me.updateQueue,t===null&&(t=so(),Me.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(l=i.next,i.next=e,e.next=l,t.lastEffect=e),e}function Ud(){return wt().memoizedState}function fo(e,t,i,l){var s=Wt();Me.flags|=e,s.memoizedState=Wa(1|t,{destroy:void 0},i,l===void 0?null:l)}function po(e,t,i,l){var s=wt();l=l===void 0?null:l;var d=s.memoizedState.inst;at!==null&&l!==null&&Ws(l,at.memoizedState.deps)?s.memoizedState=Wa(t,d,i,l):(Me.flags|=e,s.memoizedState=Wa(1|t,d,i,l))}function Hd(e,t){fo(8390656,8,e,t)}function uu(e,t){po(2048,8,e,t)}function zy(e){Me.flags|=4;var t=Me.updateQueue;if(t===null)t=so(),Me.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function qd(e){var t=wt().memoizedState;return zy({ref:t,nextImpl:e}),function(){if(($e&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Fd(e,t){return po(4,2,e,t)}function Gd(e,t){return po(4,4,e,t)}function Yd(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function jd(e,t,i){i=i!=null?i.concat([e]):null,po(4,4,Yd.bind(null,t,e),i)}function cu(){}function Kd(e,t){var i=wt();t=t===void 0?null:t;var l=i.memoizedState;return t!==null&&Ws(t,l[1])?l[0]:(i.memoizedState=[e,t],e)}function Vd(e,t){var i=wt();t=t===void 0?null:t;var l=i.memoizedState;if(t!==null&&Ws(t,l[1]))return l[0];if(l=e(),Ea){jt(!0);try{e()}finally{jt(!1)}}return i.memoizedState=[l,t],l}function fu(e,t,i){return i===void 0||(di&1073741824)!==0&&(Ge&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=Pp(),Me.lanes|=e,Gi|=e,i)}function Pd(e,t,i,l){return yn(i,t)?i:Qa.current!==null?(e=fu(e,i,l),yn(e,t)||(Rt=!0),e):(di&42)===0||(di&1073741824)!==0&&(Ge&261930)===0?(Rt=!0,e.memoizedState=i):(e=Pp(),Me.lanes|=e,Gi|=e,t)}function Xd(e,t,i,l,s){var d=$.p;$.p=d!==0&&8>d?d:8;var y=L.T,v={};L.T=v,gu(e,!1,t,i);try{var N=s(),I=L.S;if(I!==null&&I(v,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var K=Oy(N,l);Xl(e,t,K,Tn(e))}else Xl(e,t,l,Tn(e))}catch(Z){Xl(e,t,{then:function(){},status:"rejected",reason:Z},Tn())}finally{$.p=d,y!==null&&v.types!==null&&(y.types=v.types),L.T=y}}function By(){}function du(e,t,i,l){if(e.tag!==5)throw Error(o(476));var s=Zd(e).queue;Xd(e,s,t,ne,i===null?By:function(){return Qd(e),i(l)})}function Zd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pi,lastRenderedState:ne},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pi,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Qd(e){var t=Zd(e);t.next===null&&(t=e.alternate.memoizedState),Xl(e,t.next.queue,{},Tn())}function pu(){return Ft(fr)}function $d(){return wt().memoizedState}function Jd(){return wt().memoizedState}function Iy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var i=Tn();e=Bi(i);var l=Ii(t,e,i);l!==null&&(fn(l,t,i),Yl(l,t,i)),t={cache:Gs()},e.payload=t;return}t=t.return}}function Uy(e,t,i){var l=Tn();i={lane:l,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},go(e)?ep(t,i):(i=Ms(e,t,i,l),i!==null&&(fn(i,e,l),tp(i,t,l)))}function Wd(e,t,i){var l=Tn();Xl(e,t,i,l)}function Xl(e,t,i,l){var s={lane:l,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(go(e))ep(t,s);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,v=d(y,i);if(s.hasEagerState=!0,s.eagerState=v,yn(v,y))return Pr(e,t,s,0),ut===null&&Vr(),!1}catch{}finally{}if(i=Ms(e,t,s,l),i!==null)return fn(i,e,l),tp(i,t,l),!0}return!1}function gu(e,t,i,l){if(l={lane:2,revertLane:Vu(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},go(e)){if(t)throw Error(o(479))}else t=Ms(e,i,l,2),t!==null&&fn(t,e,2)}function go(e){var t=e.alternate;return e===Me||t!==null&&t===Me}function ep(e,t){$a=ro=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function tp(e,t,i){if((i&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,i|=l,t.lanes=i,we(e,i)}}var Zl={readContext:Ft,use:uo,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useLayoutEffect:vt,useInsertionEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useSyncExternalStore:vt,useId:vt,useHostTransitionStatus:vt,useFormState:vt,useActionState:vt,useOptimistic:vt,useMemoCache:vt,useCacheRefresh:vt};Zl.useEffectEvent=vt;var np={readContext:Ft,use:uo,useCallback:function(e,t){return Wt().memoizedState=[e,t===void 0?null:t],e},useContext:Ft,useEffect:Hd,useImperativeHandle:function(e,t,i){i=i!=null?i.concat([e]):null,fo(4194308,4,Yd.bind(null,t,e),i)},useLayoutEffect:function(e,t){return fo(4194308,4,e,t)},useInsertionEffect:function(e,t){fo(4,2,e,t)},useMemo:function(e,t){var i=Wt();t=t===void 0?null:t;var l=e();if(Ea){jt(!0);try{e()}finally{jt(!1)}}return i.memoizedState=[l,t],l},useReducer:function(e,t,i){var l=Wt();if(i!==void 0){var s=i(t);if(Ea){jt(!0);try{i(t)}finally{jt(!1)}}}else s=t;return l.memoizedState=l.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},l.queue=e,e=e.dispatch=Uy.bind(null,Me,e),[l.memoizedState,e]},useRef:function(e){var t=Wt();return e={current:e},t.memoizedState=e},useState:function(e){e=ou(e);var t=e.queue,i=Wd.bind(null,Me,t);return t.dispatch=i,[e.memoizedState,i]},useDebugValue:cu,useDeferredValue:function(e,t){var i=Wt();return fu(i,e,t)},useTransition:function(){var e=ou(!1);return e=Xd.bind(null,Me,e.queue,!0,!1),Wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,i){var l=Me,s=Wt();if(Ke){if(i===void 0)throw Error(o(407));i=i()}else{if(i=t(),ut===null)throw Error(o(349));(Ge&127)!==0||xd(l,t,i)}s.memoizedState=i;var d={value:i,getSnapshot:t};return s.queue=d,Hd(Nd.bind(null,l,d,e),[e]),l.flags|=2048,Wa(9,{destroy:void 0},Td.bind(null,l,d,i,t),null),i},useId:function(){var e=Wt(),t=ut.identifierPrefix;if(Ke){var i=Zn,l=Xn;i=(l&~(1<<32-We(l)-1)).toString(32)+i,t="_"+t+"R_"+i,i=oo++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=My++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:pu,useFormState:Ld,useActionState:Ld,useOptimistic:function(e){var t=Wt();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=gu.bind(null,Me,!0,i),i.dispatch=t,[e,t]},useMemoCache:au,useCacheRefresh:function(){return Wt().memoizedState=Iy.bind(null,Me)},useEffectEvent:function(e){var t=Wt(),i={impl:e};return t.memoizedState=i,function(){if(($e&2)!==0)throw Error(o(440));return i.impl.apply(void 0,arguments)}}},mu={readContext:Ft,use:uo,useCallback:Kd,useContext:Ft,useEffect:uu,useImperativeHandle:jd,useInsertionEffect:Fd,useLayoutEffect:Gd,useMemo:Vd,useReducer:co,useRef:Ud,useState:function(){return co(pi)},useDebugValue:cu,useDeferredValue:function(e,t){var i=wt();return Pd(i,at.memoizedState,e,t)},useTransition:function(){var e=co(pi)[0],t=wt().memoizedState;return[typeof e=="boolean"?e:Pl(e),t]},useSyncExternalStore:Sd,useId:$d,useHostTransitionStatus:pu,useFormState:zd,useActionState:zd,useOptimistic:function(e,t){var i=wt();return kd(i,at,e,t)},useMemoCache:au,useCacheRefresh:Jd};mu.useEffectEvent=qd;var ip={readContext:Ft,use:uo,useCallback:Kd,useContext:Ft,useEffect:uu,useImperativeHandle:jd,useInsertionEffect:Fd,useLayoutEffect:Gd,useMemo:Vd,useReducer:ru,useRef:Ud,useState:function(){return ru(pi)},useDebugValue:cu,useDeferredValue:function(e,t){var i=wt();return at===null?fu(i,e,t):Pd(i,at.memoizedState,e,t)},useTransition:function(){var e=ru(pi)[0],t=wt().memoizedState;return[typeof e=="boolean"?e:Pl(e),t]},useSyncExternalStore:Sd,useId:$d,useHostTransitionStatus:pu,useFormState:Id,useActionState:Id,useOptimistic:function(e,t){var i=wt();return at!==null?kd(i,at,e,t):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:au,useCacheRefresh:Jd};ip.useEffectEvent=qd;function hu(e,t,i,l){t=e.memoizedState,i=i(l,t),i=i==null?t:h({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var bu={enqueueSetState:function(e,t,i){e=e._reactInternals;var l=Tn(),s=Bi(l);s.payload=t,i!=null&&(s.callback=i),t=Ii(e,s,l),t!==null&&(fn(t,e,l),Yl(t,e,l))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var l=Tn(),s=Bi(l);s.tag=1,s.payload=t,i!=null&&(s.callback=i),t=Ii(e,s,l),t!==null&&(fn(t,e,l),Yl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=Tn(),l=Bi(i);l.tag=2,t!=null&&(l.callback=t),t=Ii(e,l,i),t!==null&&(fn(t,e,i),Yl(t,e,i))}};function ap(e,t,i,l,s,d,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,d,y):t.prototype&&t.prototype.isPureReactComponent?!zl(i,l)||!zl(s,d):!0}function lp(e,t,i,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,l),t.state!==e&&bu.enqueueReplaceState(t,t.state,null)}function _a(e,t){var i=t;if("ref"in t){i={};for(var l in t)l!=="ref"&&(i[l]=t[l])}if(e=e.defaultProps){i===t&&(i=h({},i));for(var s in e)i[s]===void 0&&(i[s]=e[s])}return i}function rp(e){Kr(e)}function op(e){console.error(e)}function sp(e){Kr(e)}function mo(e,t){try{var i=e.onUncaughtError;i(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function up(e,t,i){try{var l=e.onCaughtError;l(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function yu(e,t,i){return i=Bi(i),i.tag=3,i.payload={element:null},i.callback=function(){mo(e,t)},i}function cp(e){return e=Bi(e),e.tag=3,e}function fp(e,t,i,l){var s=i.type.getDerivedStateFromError;if(typeof s=="function"){var d=l.value;e.payload=function(){return s(d)},e.callback=function(){up(t,i,l)}}var y=i.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){up(t,i,l),typeof s!="function"&&(Yi===null?Yi=new Set([this]):Yi.add(this));var v=l.stack;this.componentDidCatch(l.value,{componentStack:v!==null?v:""})})}function Hy(e,t,i,l,s){if(i.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=i.alternate,t!==null&&Ka(t,i,s,!0),i=_n.current,i!==null){switch(i.tag){case 31:case 13:return Ln===null?wo():i.alternate===null&&St===0&&(St=3),i.flags&=-257,i.flags|=65536,i.lanes=s,l===to?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([l]):t.add(l),Yu(e,l,s)),!1;case 22:return i.flags|=65536,l===to?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([l]):i.add(l)),Yu(e,l,s)),!1}throw Error(o(435,i.tag))}return Yu(e,l,s),wo(),!1}if(Ke)return t=_n.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,l!==Is&&(e=Error(o(422),{cause:l}),Ul(On(e,i)))):(l!==Is&&(t=Error(o(423),{cause:l}),Ul(On(t,i))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,l=On(l,i),s=yu(e.stateNode,l,s),Xs(e,s),St!==4&&(St=2)),!1;var d=Error(o(520),{cause:l});if(d=On(d,i),ir===null?ir=[d]:ir.push(d),St!==4&&(St=2),t===null)return!0;l=On(l,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=s&-s,i.lanes|=e,e=yu(i.stateNode,l,e),Xs(i,e),!1;case 1:if(t=i.type,d=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Yi===null||!Yi.has(d))))return i.flags|=65536,s&=-s,i.lanes|=s,s=cp(s),fp(s,e,i,l),Xs(i,s),!1}i=i.return}while(i!==null);return!1}var Eu=Error(o(461)),Rt=!1;function Gt(e,t,i,l){t.child=e===null?md(t,null,i,l):ya(t,e.child,i,l)}function dp(e,t,i,l,s){i=i.render;var d=t.ref;if("ref"in l){var y={};for(var v in l)v!=="ref"&&(y[v]=l[v])}else y=l;return ga(t),l=eu(e,t,i,y,d,s),v=tu(),e!==null&&!Rt?(nu(e,t,s),gi(e,t,s)):(Ke&&v&&zs(t),t.flags|=1,Gt(e,t,l,s),t.child)}function pp(e,t,i,l,s){if(e===null){var d=i.type;return typeof d=="function"&&!Rs(d)&&d.defaultProps===void 0&&i.compare===null?(t.tag=15,t.type=d,gp(e,t,d,l,s)):(e=Zr(i.type,null,l,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,!wu(e,s)){var y=d.memoizedProps;if(i=i.compare,i=i!==null?i:zl,i(y,l)&&e.ref===t.ref)return gi(e,t,s)}return t.flags|=1,e=si(d,l),e.ref=t.ref,e.return=t,t.child=e}function gp(e,t,i,l,s){if(e!==null){var d=e.memoizedProps;if(zl(d,l)&&e.ref===t.ref)if(Rt=!1,t.pendingProps=l=d,wu(e,s))(e.flags&131072)!==0&&(Rt=!0);else return t.lanes=e.lanes,gi(e,t,s)}return _u(e,t,i,l,s)}function mp(e,t,i,l){var s=l.children,d=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(d=d!==null?d.baseLanes|i:i,e!==null){for(l=t.child=e.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;l=s&~d}else l=0,t.child=null;return hp(e,t,d,i,l)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Wr(t,d!==null?d.cachePool:null),d!==null?yd(t,d):Qs(),Ed(t);else return l=t.lanes=536870912,hp(e,t,d!==null?d.baseLanes|i:i,i,l)}else d!==null?(Wr(t,d.cachePool),yd(t,d),Hi(),t.memoizedState=null):(e!==null&&Wr(t,null),Qs(),Hi());return Gt(e,t,s,i),t.child}function Ql(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function hp(e,t,i,l,s){var d=js();return d=d===null?null:{parent:Ot._currentValue,pool:d},t.memoizedState={baseLanes:i,cachePool:d},e!==null&&Wr(t,null),Qs(),Ed(t),e!==null&&Ka(e,t,l,!0),t.childLanes=s,null}function ho(e,t){return t=yo({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function bp(e,t,i){return ya(t,e.child,null,i),e=ho(t,t.pendingProps),e.flags|=2,vn(t),t.memoizedState=null,e}function qy(e,t,i){var l=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ke){if(l.mode==="hidden")return e=ho(t,l),t.lanes=536870912,Ql(null,e);if(Js(t),(e=gt)?(e=Cg(e,Dn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Mi!==null?{id:Xn,overflow:Zn}:null,retryLane:536870912,hydrationErrors:null},i=ed(e),i.return=t,t.child=i,qt=t,gt=null)):e=null,e===null)throw Di(t);return t.lanes=536870912,null}return ho(t,l)}var d=e.memoizedState;if(d!==null){var y=d.dehydrated;if(Js(t),s)if(t.flags&256)t.flags&=-257,t=bp(e,t,i);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Rt||Ka(e,t,i,!1),s=(i&e.childLanes)!==0,Rt||s){if(l=ut,l!==null&&(y=xt(l,i),y!==0&&y!==d.retryLane))throw d.retryLane=y,ca(e,y),fn(l,e,y),Eu;wo(),t=bp(e,t,i)}else e=d.treeContext,gt=zn(y.nextSibling),qt=t,Ke=!0,Ri=null,Dn=!1,e!==null&&id(t,e),t=ho(t,l),t.flags|=4096;return t}return e=si(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function bo(e,t){var i=t.ref;if(i===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(o(284));(e===null||e.ref!==i)&&(t.flags|=4194816)}}function _u(e,t,i,l,s){return ga(t),i=eu(e,t,i,l,void 0,s),l=tu(),e!==null&&!Rt?(nu(e,t,s),gi(e,t,s)):(Ke&&l&&zs(t),t.flags|=1,Gt(e,t,i,s),t.child)}function yp(e,t,i,l,s,d){return ga(t),t.updateQueue=null,i=vd(t,l,i,s),_d(e),l=tu(),e!==null&&!Rt?(nu(e,t,d),gi(e,t,d)):(Ke&&l&&zs(t),t.flags|=1,Gt(e,t,i,d),t.child)}function Ep(e,t,i,l,s){if(ga(t),t.stateNode===null){var d=Fa,y=i.contextType;typeof y=="object"&&y!==null&&(d=Ft(y)),d=new i(l,d),t.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=bu,t.stateNode=d,d._reactInternals=t,d=t.stateNode,d.props=l,d.state=t.memoizedState,d.refs={},Vs(t),y=i.contextType,d.context=typeof y=="object"&&y!==null?Ft(y):Fa,d.state=t.memoizedState,y=i.getDerivedStateFromProps,typeof y=="function"&&(hu(t,i,y,l),d.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&bu.enqueueReplaceState(d,d.state,null),Kl(t,l,d,s),jl(),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){d=t.stateNode;var v=t.memoizedProps,N=_a(i,v);d.props=N;var I=d.context,K=i.contextType;y=Fa,typeof K=="object"&&K!==null&&(y=Ft(K));var Z=i.getDerivedStateFromProps;K=typeof Z=="function"||typeof d.getSnapshotBeforeUpdate=="function",v=t.pendingProps!==v,K||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v||I!==y)&&lp(t,d,l,y),zi=!1;var U=t.memoizedState;d.state=U,Kl(t,l,d,s),jl(),I=t.memoizedState,v||U!==I||zi?(typeof Z=="function"&&(hu(t,i,Z,l),I=t.memoizedState),(N=zi||ap(t,i,N,l,U,I,y))?(K||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=I),d.props=l,d.state=I,d.context=y,l=N):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{d=t.stateNode,Ps(e,t),y=t.memoizedProps,K=_a(i,y),d.props=K,Z=t.pendingProps,U=d.context,I=i.contextType,N=Fa,typeof I=="object"&&I!==null&&(N=Ft(I)),v=i.getDerivedStateFromProps,(I=typeof v=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(y!==Z||U!==N)&&lp(t,d,l,N),zi=!1,U=t.memoizedState,d.state=U,Kl(t,l,d,s),jl();var F=t.memoizedState;y!==Z||U!==F||zi||e!==null&&e.dependencies!==null&&$r(e.dependencies)?(typeof v=="function"&&(hu(t,i,v,l),F=t.memoizedState),(K=zi||ap(t,i,K,l,U,F,N)||e!==null&&e.dependencies!==null&&$r(e.dependencies))?(I||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(l,F,N),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(l,F,N)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||y===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=F),d.props=l,d.state=F,d.context=N,l=K):(typeof d.componentDidUpdate!="function"||y===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),l=!1)}return d=l,bo(e,t),l=(t.flags&128)!==0,d||l?(d=t.stateNode,i=l&&typeof i.getDerivedStateFromError!="function"?null:d.render(),t.flags|=1,e!==null&&l?(t.child=ya(t,e.child,null,s),t.child=ya(t,null,i,s)):Gt(e,t,i,s),t.memoizedState=d.state,e=t.child):e=gi(e,t,s),e}function _p(e,t,i,l){return da(),t.flags|=256,Gt(e,t,i,l),t.child}var vu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Su(e){return{baseLanes:e,cachePool:ud()}}function xu(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=xn),e}function vp(e,t,i){var l=t.pendingProps,s=!1,d=(t.flags&128)!==0,y;if((y=d)||(y=e!==null&&e.memoizedState===null?!1:(At.current&2)!==0),y&&(s=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ke){if(s?Ui(t):Hi(),(e=gt)?(e=Cg(e,Dn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Mi!==null?{id:Xn,overflow:Zn}:null,retryLane:536870912,hydrationErrors:null},i=ed(e),i.return=t,t.child=i,qt=t,gt=null)):e=null,e===null)throw Di(t);return lc(e)?t.lanes=32:t.lanes=536870912,null}var v=l.children;return l=l.fallback,s?(Hi(),s=t.mode,v=yo({mode:"hidden",children:v},s),l=fa(l,s,i,null),v.return=t,l.return=t,v.sibling=l,t.child=v,l=t.child,l.memoizedState=Su(i),l.childLanes=xu(e,y,i),t.memoizedState=vu,Ql(null,l)):(Ui(t),Tu(t,v))}var N=e.memoizedState;if(N!==null&&(v=N.dehydrated,v!==null)){if(d)t.flags&256?(Ui(t),t.flags&=-257,t=Nu(e,t,i)):t.memoizedState!==null?(Hi(),t.child=e.child,t.flags|=128,t=null):(Hi(),v=l.fallback,s=t.mode,l=yo({mode:"visible",children:l.children},s),v=fa(v,s,i,null),v.flags|=2,l.return=t,v.return=t,l.sibling=v,t.child=l,ya(t,e.child,null,i),l=t.child,l.memoizedState=Su(i),l.childLanes=xu(e,y,i),t.memoizedState=vu,t=Ql(null,l));else if(Ui(t),lc(v)){if(y=v.nextSibling&&v.nextSibling.dataset,y)var I=y.dgst;y=I,l=Error(o(419)),l.stack="",l.digest=y,Ul({value:l,source:null,stack:null}),t=Nu(e,t,i)}else if(Rt||Ka(e,t,i,!1),y=(i&e.childLanes)!==0,Rt||y){if(y=ut,y!==null&&(l=xt(y,i),l!==0&&l!==N.retryLane))throw N.retryLane=l,ca(e,l),fn(y,e,l),Eu;ac(v)||wo(),t=Nu(e,t,i)}else ac(v)?(t.flags|=192,t.child=e.child,t=null):(e=N.treeContext,gt=zn(v.nextSibling),qt=t,Ke=!0,Ri=null,Dn=!1,e!==null&&id(t,e),t=Tu(t,l.children),t.flags|=4096);return t}return s?(Hi(),v=l.fallback,s=t.mode,N=e.child,I=N.sibling,l=si(N,{mode:"hidden",children:l.children}),l.subtreeFlags=N.subtreeFlags&65011712,I!==null?v=si(I,v):(v=fa(v,s,i,null),v.flags|=2),v.return=t,l.return=t,l.sibling=v,t.child=l,Ql(null,l),l=t.child,v=e.child.memoizedState,v===null?v=Su(i):(s=v.cachePool,s!==null?(N=Ot._currentValue,s=s.parent!==N?{parent:N,pool:N}:s):s=ud(),v={baseLanes:v.baseLanes|i,cachePool:s}),l.memoizedState=v,l.childLanes=xu(e,y,i),t.memoizedState=vu,Ql(e.child,l)):(Ui(t),i=e.child,e=i.sibling,i=si(i,{mode:"visible",children:l.children}),i.return=t,i.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=i,t.memoizedState=null,i)}function Tu(e,t){return t=yo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function yo(e,t){return e=En(22,e,null,t),e.lanes=0,e}function Nu(e,t,i){return ya(t,e.child,null,i),e=Tu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Sp(e,t,i){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),qs(e.return,t,i)}function Au(e,t,i,l,s,d){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:i,tailMode:s,treeForkCount:d}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=l,y.tail=i,y.tailMode=s,y.treeForkCount=d)}function xp(e,t,i){var l=t.pendingProps,s=l.revealOrder,d=l.tail;l=l.children;var y=At.current,v=(y&2)!==0;if(v?(y=y&1|2,t.flags|=128):y&=1,S(At,y),Gt(e,t,l,i),l=Ke?Il:0,!v&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sp(e,i,t);else if(e.tag===19)Sp(e,i,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}switch(s){case"forwards":for(i=t.child,s=null;i!==null;)e=i.alternate,e!==null&&lo(e)===null&&(s=i),i=i.sibling;i=s,i===null?(s=t.child,t.child=null):(s=i.sibling,i.sibling=null),Au(t,!1,s,i,d,l);break;case"backwards":case"unstable_legacy-backwards":for(i=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&lo(e)===null){t.child=s;break}e=s.sibling,s.sibling=i,i=s,s=e}Au(t,!0,i,null,d,l);break;case"together":Au(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function gi(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Gi|=t.lanes,(i&t.childLanes)===0)if(e!==null){if(Ka(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,i=si(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=si(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function wu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&$r(e)))}function Fy(e,t,i){switch(t.tag){case 3:Je(t,t.stateNode.containerInfo),Li(t,Ot,e.memoizedState.cache),da();break;case 27:case 5:zt(t);break;case 4:Je(t,t.stateNode.containerInfo);break;case 10:Li(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Js(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Ui(t),t.flags|=128,null):(i&t.child.childLanes)!==0?vp(e,t,i):(Ui(t),e=gi(e,t,i),e!==null?e.sibling:null);Ui(t);break;case 19:var s=(e.flags&128)!==0;if(l=(i&t.childLanes)!==0,l||(Ka(e,t,i,!1),l=(i&t.childLanes)!==0),s){if(l)return xp(e,t,i);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),S(At,At.current),l)break;return null;case 22:return t.lanes=0,mp(e,t,i,t.pendingProps);case 24:Li(t,Ot,e.memoizedState.cache)}return gi(e,t,i)}function Tp(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps)Rt=!0;else{if(!wu(e,i)&&(t.flags&128)===0)return Rt=!1,Fy(e,t,i);Rt=(e.flags&131072)!==0}else Rt=!1,Ke&&(t.flags&1048576)!==0&&nd(t,Il,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=ha(t.elementType),t.type=e,typeof e=="function")Rs(e)?(l=_a(e,l),t.tag=1,t=Ep(null,t,e,l,i)):(t.tag=0,t=_u(null,t,e,l,i));else{if(e!=null){var s=e.$$typeof;if(s===W){t.tag=11,t=dp(null,t,e,l,i);break e}else if(s===Q){t.tag=14,t=pp(null,t,e,l,i);break e}}throw t=oe(e)||e,Error(o(306,t,""))}}return t;case 0:return _u(e,t,t.type,t.pendingProps,i);case 1:return l=t.type,s=_a(l,t.pendingProps),Ep(e,t,l,s,i);case 3:e:{if(Je(t,t.stateNode.containerInfo),e===null)throw Error(o(387));l=t.pendingProps;var d=t.memoizedState;s=d.element,Ps(e,t),Kl(t,l,null,i);var y=t.memoizedState;if(l=y.cache,Li(t,Ot,l),l!==d.cache&&Fs(t,[Ot],i,!0),jl(),l=y.element,d.isDehydrated)if(d={element:l,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){t=_p(e,t,l,i);break e}else if(l!==s){s=On(Error(o(424)),t),Ul(s),t=_p(e,t,l,i);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(gt=zn(e.firstChild),qt=t,Ke=!0,Ri=null,Dn=!0,i=md(t,null,l,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(da(),l===s){t=gi(e,t,i);break e}Gt(e,t,l,i)}t=t.child}return t;case 26:return bo(e,t),e===null?(i=zg(t.type,null,t.pendingProps,null))?t.memoizedState=i:Ke||(i=t.type,e=t.pendingProps,l=Lo(me.current).createElement(i),l[Tt]=t,l[Kt]=e,Yt(l,i,e),kt(l),t.stateNode=l):t.memoizedState=zg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return zt(t),e===null&&Ke&&(l=t.stateNode=Rg(t.type,t.pendingProps,me.current),qt=t,Dn=!0,s=gt,Pi(t.type)?(rc=s,gt=zn(l.firstChild)):gt=s),Gt(e,t,t.pendingProps.children,i),bo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ke&&((s=l=gt)&&(l=bE(l,t.type,t.pendingProps,Dn),l!==null?(t.stateNode=l,qt=t,gt=zn(l.firstChild),Dn=!1,s=!0):s=!1),s||Di(t)),zt(t),s=t.type,d=t.pendingProps,y=e!==null?e.memoizedProps:null,l=d.children,tc(s,d)?l=null:y!==null&&tc(s,y)&&(t.flags|=32),t.memoizedState!==null&&(s=eu(e,t,Ry,null,null,i),fr._currentValue=s),bo(e,t),Gt(e,t,l,i),t.child;case 6:return e===null&&Ke&&((e=i=gt)&&(i=yE(i,t.pendingProps,Dn),i!==null?(t.stateNode=i,qt=t,gt=null,e=!0):e=!1),e||Di(t)),null;case 13:return vp(e,t,i);case 4:return Je(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=ya(t,null,l,i):Gt(e,t,l,i),t.child;case 11:return dp(e,t,t.type,t.pendingProps,i);case 7:return Gt(e,t,t.pendingProps,i),t.child;case 8:return Gt(e,t,t.pendingProps.children,i),t.child;case 12:return Gt(e,t,t.pendingProps.children,i),t.child;case 10:return l=t.pendingProps,Li(t,t.type,l.value),Gt(e,t,l.children,i),t.child;case 9:return s=t.type._context,l=t.pendingProps.children,ga(t),s=Ft(s),l=l(s),t.flags|=1,Gt(e,t,l,i),t.child;case 14:return pp(e,t,t.type,t.pendingProps,i);case 15:return gp(e,t,t.type,t.pendingProps,i);case 19:return xp(e,t,i);case 31:return qy(e,t,i);case 22:return mp(e,t,i,t.pendingProps);case 24:return ga(t),l=Ft(Ot),e===null?(s=js(),s===null&&(s=ut,d=Gs(),s.pooledCache=d,d.refCount++,d!==null&&(s.pooledCacheLanes|=i),s=d),t.memoizedState={parent:l,cache:s},Vs(t),Li(t,Ot,s)):((e.lanes&i)!==0&&(Ps(e,t),Kl(t,null,null,i),jl()),s=e.memoizedState,d=t.memoizedState,s.parent!==l?(s={parent:l,cache:l},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Li(t,Ot,l)):(l=d.cache,Li(t,Ot,l),l!==s.cache&&Fs(t,[Ot],i,!0))),Gt(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function mi(e){e.flags|=4}function ku(e,t,i,l,s){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if($p())e.flags|=8192;else throw ba=to,Ks}else e.flags&=-16777217}function Np(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!qg(t))if($p())e.flags|=8192;else throw ba=to,Ks}function Eo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ke():536870912,e.lanes|=t,il|=t)}function $l(e,t){if(!Ke)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function mt(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,l=0;if(t)for(var s=e.child;s!==null;)i|=s.lanes|s.childLanes,l|=s.subtreeFlags&65011712,l|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)i|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=l,e.childLanes=i,t}function Gy(e,t,i){var l=t.pendingProps;switch(Bs(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(t),null;case 1:return mt(t),null;case 3:return i=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),fi(Ot),Qe(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(ja(t)?mi(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Us())),mt(t),null;case 26:var s=t.type,d=t.memoizedState;return e===null?(mi(t),d!==null?(mt(t),Np(t,d)):(mt(t),ku(t,s,null,l,i))):d?d!==e.memoizedState?(mi(t),mt(t),Np(t,d)):(mt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&mi(t),mt(t),ku(t,s,e,l,i)),null;case 27:if(gn(t),i=me.current,s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&mi(t);else{if(!l){if(t.stateNode===null)throw Error(o(166));return mt(t),null}e=ce.current,ja(t)?ad(t):(e=Rg(s,l,i),t.stateNode=e,mi(t))}return mt(t),null;case 5:if(gn(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&mi(t);else{if(!l){if(t.stateNode===null)throw Error(o(166));return mt(t),null}if(d=ce.current,ja(t))ad(t);else{var y=Lo(me.current);switch(d){case 1:d=y.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:d=y.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":d=y.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":d=y.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":d=y.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof l.is=="string"?y.createElement("select",{is:l.is}):y.createElement("select"),l.multiple?d.multiple=!0:l.size&&(d.size=l.size);break;default:d=typeof l.is=="string"?y.createElement(s,{is:l.is}):y.createElement(s)}}d[Tt]=t,d[Kt]=l;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)d.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=d;e:switch(Yt(d,s,l),s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&mi(t)}}return mt(t),ku(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&mi(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(o(166));if(e=me.current,ja(t)){if(e=t.stateNode,i=t.memoizedProps,l=null,s=qt,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}e[Tt]=t,e=!!(e.nodeValue===i||l!==null&&l.suppressHydrationWarning===!0||vg(e.nodeValue,i)),e||Di(t,!0)}else e=Lo(e).createTextNode(l),e[Tt]=t,t.stateNode=e}return mt(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(l=ja(t),i!==null){if(e===null){if(!l)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Tt]=t}else da(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;mt(t),e=!1}else i=Us(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(vn(t),t):(vn(t),null);if((t.flags&128)!==0)throw Error(o(558))}return mt(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=ja(t),l!==null&&l.dehydrated!==null){if(e===null){if(!s)throw Error(o(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(o(317));s[Tt]=t}else da(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;mt(t),s=!1}else s=Us(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(vn(t),t):(vn(t),null)}return vn(t),(t.flags&128)!==0?(t.lanes=i,t):(i=l!==null,e=e!==null&&e.memoizedState!==null,i&&(l=t.child,s=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(s=l.alternate.memoizedState.cachePool.pool),d=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(d=l.memoizedState.cachePool.pool),d!==s&&(l.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),Eo(t,t.updateQueue),mt(t),null);case 4:return Qe(),e===null&&Qu(t.stateNode.containerInfo),mt(t),null;case 10:return fi(t.type),mt(t),null;case 19:if(G(At),l=t.memoizedState,l===null)return mt(t),null;if(s=(t.flags&128)!==0,d=l.rendering,d===null)if(s)$l(l,!1);else{if(St!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=lo(e),d!==null){for(t.flags|=128,$l(l,!1),e=d.updateQueue,t.updateQueue=e,Eo(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)Wf(i,e),i=i.sibling;return S(At,At.current&1|2),Ke&&ui(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&yt()>To&&(t.flags|=128,s=!0,$l(l,!1),t.lanes=4194304)}else{if(!s)if(e=lo(d),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Eo(t,e),$l(l,!0),l.tail===null&&l.tailMode==="hidden"&&!d.alternate&&!Ke)return mt(t),null}else 2*yt()-l.renderingStartTime>To&&i!==536870912&&(t.flags|=128,s=!0,$l(l,!1),t.lanes=4194304);l.isBackwards?(d.sibling=t.child,t.child=d):(e=l.last,e!==null?e.sibling=d:t.child=d,l.last=d)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=yt(),e.sibling=null,i=At.current,S(At,s?i&1|2:i&1),Ke&&ui(t,l.treeForkCount),e):(mt(t),null);case 22:case 23:return vn(t),$s(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(i&536870912)!==0&&(t.flags&128)===0&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),i=t.updateQueue,i!==null&&Eo(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==i&&(t.flags|=2048),e!==null&&G(ma),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),fi(Ot),mt(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Yy(e,t){switch(Bs(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fi(Ot),Qe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return gn(t),null;case 31:if(t.memoizedState!==null){if(vn(t),t.alternate===null)throw Error(o(340));da()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(vn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));da()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(At),null;case 4:return Qe(),null;case 10:return fi(t.type),null;case 22:case 23:return vn(t),$s(),e!==null&&G(ma),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return fi(Ot),null;case 25:return null;default:return null}}function Ap(e,t){switch(Bs(t),t.tag){case 3:fi(Ot),Qe();break;case 26:case 27:case 5:gn(t);break;case 4:Qe();break;case 31:t.memoizedState!==null&&vn(t);break;case 13:vn(t);break;case 19:G(At);break;case 10:fi(t.type);break;case 22:case 23:vn(t),$s(),e!==null&&G(ma);break;case 24:fi(Ot)}}function Jl(e,t){try{var i=t.updateQueue,l=i!==null?i.lastEffect:null;if(l!==null){var s=l.next;i=s;do{if((i.tag&e)===e){l=void 0;var d=i.create,y=i.inst;l=d(),y.destroy=l}i=i.next}while(i!==s)}}catch(v){it(t,t.return,v)}}function qi(e,t,i){try{var l=t.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var d=s.next;l=d;do{if((l.tag&e)===e){var y=l.inst,v=y.destroy;if(v!==void 0){y.destroy=void 0,s=t;var N=i,I=v;try{I()}catch(K){it(s,N,K)}}}l=l.next}while(l!==d)}}catch(K){it(t,t.return,K)}}function wp(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;try{bd(t,i)}catch(l){it(e,e.return,l)}}}function kp(e,t,i){i.props=_a(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(l){it(e,t,l)}}function Wl(e,t){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof i=="function"?e.refCleanup=i(l):i.current=l}}catch(s){it(e,t,s)}}function Qn(e,t){var i=e.ref,l=e.refCleanup;if(i!==null)if(typeof l=="function")try{l()}catch(s){it(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(s){it(e,t,s)}else i.current=null}function Cp(e){var t=e.type,i=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&l.focus();break e;case"img":i.src?l.src=i.src:i.srcSet&&(l.srcset=i.srcSet)}}catch(s){it(e,e.return,s)}}function Cu(e,t,i){try{var l=e.stateNode;fE(l,e.type,i,t),l[Kt]=t}catch(s){it(e,e.return,s)}}function Op(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Pi(e.type)||e.tag===4}function Ou(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Op(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.tag===27&&Pi(e.type)||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 Mu(e,t,i){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t):(t=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,t.appendChild(e),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=se));else if(l!==4&&(l===27&&Pi(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(Mu(e,t,i),e=e.sibling;e!==null;)Mu(e,t,i),e=e.sibling}function _o(e,t,i){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(l!==4&&(l===27&&Pi(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(_o(e,t,i),e=e.sibling;e!==null;)_o(e,t,i),e=e.sibling}function Mp(e){var t=e.stateNode,i=e.memoizedProps;try{for(var l=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);Yt(t,l,i),t[Tt]=e,t[Kt]=i}catch(d){it(e,e.return,d)}}var hi=!1,Dt=!1,Ru=!1,Rp=typeof WeakSet=="function"?WeakSet:Set,It=null;function jy(e,t){if(e=e.containerInfo,Wu=Fo,e=jf(e),Ns(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var l=i.getSelection&&i.getSelection();if(l&&l.rangeCount!==0){i=l.anchorNode;var s=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{i.nodeType,d.nodeType}catch{i=null;break e}var y=0,v=-1,N=-1,I=0,K=0,Z=e,U=null;t:for(;;){for(var F;Z!==i||s!==0&&Z.nodeType!==3||(v=y+s),Z!==d||l!==0&&Z.nodeType!==3||(N=y+l),Z.nodeType===3&&(y+=Z.nodeValue.length),(F=Z.firstChild)!==null;)U=Z,Z=F;for(;;){if(Z===e)break t;if(U===i&&++I===s&&(v=y),U===d&&++K===l&&(N=y),(F=Z.nextSibling)!==null)break;Z=U,U=Z.parentNode}Z=F}i=v===-1||N===-1?null:{start:v,end:N}}else i=null}i=i||{start:0,end:0}}else i=null;for(ec={focusedElem:e,selectionRange:i},Fo=!1,It=t;It!==null;)if(t=It,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,It=e;else for(;It!==null;){switch(t=It,d=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)s=e[i],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,i=t,s=d.memoizedProps,d=d.memoizedState,l=i.stateNode;try{var pe=_a(i.type,s);e=l.getSnapshotBeforeUpdate(pe,d),l.__reactInternalSnapshotBeforeUpdate=e}catch(Te){it(i,i.return,Te)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,i=e.nodeType,i===9)ic(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ic(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,It=e;break}It=t.return}}function Dp(e,t,i){var l=i.flags;switch(i.tag){case 0:case 11:case 15:yi(e,i),l&4&&Jl(5,i);break;case 1:if(yi(e,i),l&4)if(e=i.stateNode,t===null)try{e.componentDidMount()}catch(y){it(i,i.return,y)}else{var s=_a(i.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){it(i,i.return,y)}}l&64&&wp(i),l&512&&Wl(i,i.return);break;case 3:if(yi(e,i),l&64&&(e=i.updateQueue,e!==null)){if(t=null,i.child!==null)switch(i.child.tag){case 27:case 5:t=i.child.stateNode;break;case 1:t=i.child.stateNode}try{bd(e,t)}catch(y){it(i,i.return,y)}}break;case 27:t===null&&l&4&&Mp(i);case 26:case 5:yi(e,i),t===null&&l&4&&Cp(i),l&512&&Wl(i,i.return);break;case 12:yi(e,i);break;case 31:yi(e,i),l&4&&Bp(e,i);break;case 13:yi(e,i),l&4&&Ip(e,i),l&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=Wy.bind(null,i),EE(e,i))));break;case 22:if(l=i.memoizedState!==null||hi,!l){t=t!==null&&t.memoizedState!==null||Dt,s=hi;var d=Dt;hi=l,(Dt=t)&&!d?Ei(e,i,(i.subtreeFlags&8772)!==0):yi(e,i),hi=s,Dt=d}break;case 30:break;default:yi(e,i)}}function Lp(e){var t=e.alternate;t!==null&&(e.alternate=null,Lp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&xl(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var bt=null,on=!1;function bi(e,t,i){for(i=i.child;i!==null;)zp(e,t,i),i=i.sibling}function zp(e,t,i){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(Ut,i)}catch{}switch(i.tag){case 26:Dt||Qn(i,t),bi(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Dt||Qn(i,t);var l=bt,s=on;Pi(i.type)&&(bt=i.stateNode,on=!1),bi(e,t,i),sr(i.stateNode),bt=l,on=s;break;case 5:Dt||Qn(i,t);case 6:if(l=bt,s=on,bt=null,bi(e,t,i),bt=l,on=s,bt!==null)if(on)try{(bt.nodeType===9?bt.body:bt.nodeName==="HTML"?bt.ownerDocument.body:bt).removeChild(i.stateNode)}catch(d){it(i,t,d)}else try{bt.removeChild(i.stateNode)}catch(d){it(i,t,d)}break;case 18:bt!==null&&(on?(e=bt,wg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),fl(e)):wg(bt,i.stateNode));break;case 4:l=bt,s=on,bt=i.stateNode.containerInfo,on=!0,bi(e,t,i),bt=l,on=s;break;case 0:case 11:case 14:case 15:qi(2,i,t),Dt||qi(4,i,t),bi(e,t,i);break;case 1:Dt||(Qn(i,t),l=i.stateNode,typeof l.componentWillUnmount=="function"&&kp(i,t,l)),bi(e,t,i);break;case 21:bi(e,t,i);break;case 22:Dt=(l=Dt)||i.memoizedState!==null,bi(e,t,i),Dt=l;break;default:bi(e,t,i)}}function Bp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{fl(e)}catch(i){it(t,t.return,i)}}}function Ip(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{fl(e)}catch(i){it(t,t.return,i)}}function Ky(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Rp),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Rp),t;default:throw Error(o(435,e.tag))}}function vo(e,t){var i=Ky(e);t.forEach(function(l){if(!i.has(l)){i.add(l);var s=eE.bind(null,e,l);l.then(s,s)}})}function sn(e,t){var i=t.deletions;if(i!==null)for(var l=0;l<i.length;l++){var s=i[l],d=e,y=t,v=y;e:for(;v!==null;){switch(v.tag){case 27:if(Pi(v.type)){bt=v.stateNode,on=!1;break e}break;case 5:bt=v.stateNode,on=!1;break e;case 3:case 4:bt=v.stateNode.containerInfo,on=!0;break e}v=v.return}if(bt===null)throw Error(o(160));zp(d,y,s),bt=null,on=!1,d=s.alternate,d!==null&&(d.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Up(t,e),t=t.sibling}var Fn=null;function Up(e,t){var i=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sn(t,e),un(e),l&4&&(qi(3,e,e.return),Jl(3,e),qi(5,e,e.return));break;case 1:sn(t,e),un(e),l&512&&(Dt||i===null||Qn(i,i.return)),l&64&&hi&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?l:i.concat(l))));break;case 26:var s=Fn;if(sn(t,e),un(e),l&512&&(Dt||i===null||Qn(i,i.return)),l&4){var d=i!==null?i.memoizedState:null;if(l=e.memoizedState,i===null)if(l===null)if(e.stateNode===null){e:{l=e.type,i=e.memoizedProps,s=s.ownerDocument||s;t:switch(l){case"title":d=s.getElementsByTagName("title")[0],(!d||d[aa]||d[Tt]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=s.createElement(l),s.head.insertBefore(d,s.querySelector("head > title"))),Yt(d,l,i),d[Tt]=e,kt(d),l=d;break e;case"link":var y=Ug("link","href",s).get(l+(i.href||""));if(y){for(var v=0;v<y.length;v++)if(d=y[v],d.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&d.getAttribute("rel")===(i.rel==null?null:i.rel)&&d.getAttribute("title")===(i.title==null?null:i.title)&&d.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){y.splice(v,1);break t}}d=s.createElement(l),Yt(d,l,i),s.head.appendChild(d);break;case"meta":if(y=Ug("meta","content",s).get(l+(i.content||""))){for(v=0;v<y.length;v++)if(d=y[v],d.getAttribute("content")===(i.content==null?null:""+i.content)&&d.getAttribute("name")===(i.name==null?null:i.name)&&d.getAttribute("property")===(i.property==null?null:i.property)&&d.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&d.getAttribute("charset")===(i.charSet==null?null:i.charSet)){y.splice(v,1);break t}}d=s.createElement(l),Yt(d,l,i),s.head.appendChild(d);break;default:throw Error(o(468,l))}d[Tt]=e,kt(d),l=d}e.stateNode=l}else Hg(s,e.type,e.stateNode);else e.stateNode=Ig(s,l,e.memoizedProps);else d!==l?(d===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):d.count--,l===null?Hg(s,e.type,e.stateNode):Ig(s,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Cu(e,e.memoizedProps,i.memoizedProps)}break;case 27:sn(t,e),un(e),l&512&&(Dt||i===null||Qn(i,i.return)),i!==null&&l&4&&Cu(e,e.memoizedProps,i.memoizedProps);break;case 5:if(sn(t,e),un(e),l&512&&(Dt||i===null||Qn(i,i.return)),e.flags&32){s=e.stateNode;try{Ne(s,"")}catch(pe){it(e,e.return,pe)}}l&4&&e.stateNode!=null&&(s=e.memoizedProps,Cu(e,s,i!==null?i.memoizedProps:s)),l&1024&&(Ru=!0);break;case 6:if(sn(t,e),un(e),l&4){if(e.stateNode===null)throw Error(o(162));l=e.memoizedProps,i=e.stateNode;try{i.nodeValue=l}catch(pe){it(e,e.return,pe)}}break;case 3:if(Io=null,s=Fn,Fn=zo(t.containerInfo),sn(t,e),Fn=s,un(e),l&4&&i!==null&&i.memoizedState.isDehydrated)try{fl(t.containerInfo)}catch(pe){it(e,e.return,pe)}Ru&&(Ru=!1,Hp(e));break;case 4:l=Fn,Fn=zo(e.stateNode.containerInfo),sn(t,e),un(e),Fn=l;break;case 12:sn(t,e),un(e);break;case 31:sn(t,e),un(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,vo(e,l)));break;case 13:sn(t,e),un(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(xo=yt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,vo(e,l)));break;case 22:s=e.memoizedState!==null;var N=i!==null&&i.memoizedState!==null,I=hi,K=Dt;if(hi=I||s,Dt=K||N,sn(t,e),Dt=K,hi=I,un(e),l&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(i===null||N||hi||Dt||va(e)),i=null,t=e;;){if(t.tag===5||t.tag===26){if(i===null){N=i=t;try{if(d=N.stateNode,s)y=d.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{v=N.stateNode;var Z=N.memoizedProps.style,U=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;v.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(pe){it(N,N.return,pe)}}}else if(t.tag===6){if(i===null){N=t;try{N.stateNode.nodeValue=s?"":N.memoizedProps}catch(pe){it(N,N.return,pe)}}}else if(t.tag===18){if(i===null){N=t;try{var F=N.stateNode;s?kg(F,!0):kg(N.stateNode,!1)}catch(pe){it(N,N.return,pe)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(i=l.retryQueue,i!==null&&(l.retryQueue=null,vo(e,i))));break;case 19:sn(t,e),un(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,vo(e,l)));break;case 30:break;case 21:break;default:sn(t,e),un(e)}}function un(e){var t=e.flags;if(t&2){try{for(var i,l=e.return;l!==null;){if(Op(l)){i=l;break}l=l.return}if(i==null)throw Error(o(160));switch(i.tag){case 27:var s=i.stateNode,d=Ou(e);_o(e,d,s);break;case 5:var y=i.stateNode;i.flags&32&&(Ne(y,""),i.flags&=-33);var v=Ou(e);_o(e,v,y);break;case 3:case 4:var N=i.stateNode.containerInfo,I=Ou(e);Mu(e,I,N);break;default:throw Error(o(161))}}catch(K){it(e,e.return,K)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Hp(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function yi(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Dp(e,t.alternate,t),t=t.sibling}function va(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:qi(4,t,t.return),va(t);break;case 1:Qn(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&kp(t,t.return,i),va(t);break;case 27:sr(t.stateNode);case 26:case 5:Qn(t,t.return),va(t);break;case 22:t.memoizedState===null&&va(t);break;case 30:va(t);break;default:va(t)}e=e.sibling}}function Ei(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,s=e,d=t,y=d.flags;switch(d.tag){case 0:case 11:case 15:Ei(s,d,i),Jl(4,d);break;case 1:if(Ei(s,d,i),l=d,s=l.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(I){it(l,l.return,I)}if(l=d,s=l.updateQueue,s!==null){var v=l.stateNode;try{var N=s.shared.hiddenCallbacks;if(N!==null)for(s.shared.hiddenCallbacks=null,s=0;s<N.length;s++)hd(N[s],v)}catch(I){it(l,l.return,I)}}i&&y&64&&wp(d),Wl(d,d.return);break;case 27:Mp(d);case 26:case 5:Ei(s,d,i),i&&l===null&&y&4&&Cp(d),Wl(d,d.return);break;case 12:Ei(s,d,i);break;case 31:Ei(s,d,i),i&&y&4&&Bp(s,d);break;case 13:Ei(s,d,i),i&&y&4&&Ip(s,d);break;case 22:d.memoizedState===null&&Ei(s,d,i),Wl(d,d.return);break;case 30:break;default:Ei(s,d,i)}t=t.sibling}}function Du(e,t){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&Hl(i))}function Lu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Hl(e))}function Gn(e,t,i,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qp(e,t,i,l),t=t.sibling}function qp(e,t,i,l){var s=t.flags;switch(t.tag){case 0:case 11:case 15:Gn(e,t,i,l),s&2048&&Jl(9,t);break;case 1:Gn(e,t,i,l);break;case 3:Gn(e,t,i,l),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Hl(e)));break;case 12:if(s&2048){Gn(e,t,i,l),e=t.stateNode;try{var d=t.memoizedProps,y=d.id,v=d.onPostCommit;typeof v=="function"&&v(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(N){it(t,t.return,N)}}else Gn(e,t,i,l);break;case 31:Gn(e,t,i,l);break;case 13:Gn(e,t,i,l);break;case 23:break;case 22:d=t.stateNode,y=t.alternate,t.memoizedState!==null?d._visibility&2?Gn(e,t,i,l):er(e,t):d._visibility&2?Gn(e,t,i,l):(d._visibility|=2,el(e,t,i,l,(t.subtreeFlags&10256)!==0||!1)),s&2048&&Du(y,t);break;case 24:Gn(e,t,i,l),s&2048&&Lu(t.alternate,t);break;default:Gn(e,t,i,l)}}function el(e,t,i,l,s){for(s=s&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var d=e,y=t,v=i,N=l,I=y.flags;switch(y.tag){case 0:case 11:case 15:el(d,y,v,N,s),Jl(8,y);break;case 23:break;case 22:var K=y.stateNode;y.memoizedState!==null?K._visibility&2?el(d,y,v,N,s):er(d,y):(K._visibility|=2,el(d,y,v,N,s)),s&&I&2048&&Du(y.alternate,y);break;case 24:el(d,y,v,N,s),s&&I&2048&&Lu(y.alternate,y);break;default:el(d,y,v,N,s)}t=t.sibling}}function er(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var i=e,l=t,s=l.flags;switch(l.tag){case 22:er(i,l),s&2048&&Du(l.alternate,l);break;case 24:er(i,l),s&2048&&Lu(l.alternate,l);break;default:er(i,l)}t=t.sibling}}var tr=8192;function tl(e,t,i){if(e.subtreeFlags&tr)for(e=e.child;e!==null;)Fp(e,t,i),e=e.sibling}function Fp(e,t,i){switch(e.tag){case 26:tl(e,t,i),e.flags&tr&&e.memoizedState!==null&&ME(i,Fn,e.memoizedState,e.memoizedProps);break;case 5:tl(e,t,i);break;case 3:case 4:var l=Fn;Fn=zo(e.stateNode.containerInfo),tl(e,t,i),Fn=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=tr,tr=16777216,tl(e,t,i),tr=l):tl(e,t,i));break;default:tl(e,t,i)}}function Gp(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function nr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var l=t[i];It=l,jp(l,e)}Gp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Yp(e),e=e.sibling}function Yp(e){switch(e.tag){case 0:case 11:case 15:nr(e),e.flags&2048&&qi(9,e,e.return);break;case 3:nr(e);break;case 12:nr(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,So(e)):nr(e);break;default:nr(e)}}function So(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var l=t[i];It=l,jp(l,e)}Gp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:qi(8,t,t.return),So(t);break;case 22:i=t.stateNode,i._visibility&2&&(i._visibility&=-3,So(t));break;default:So(t)}e=e.sibling}}function jp(e,t){for(;It!==null;){var i=It;switch(i.tag){case 0:case 11:case 15:qi(8,i,t);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var l=i.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Hl(i.memoizedState.cache)}if(l=i.child,l!==null)l.return=i,It=l;else e:for(i=e;It!==null;){l=It;var s=l.sibling,d=l.return;if(Lp(l),l===i){It=null;break e}if(s!==null){s.return=d,It=s;break e}It=d}}}var Vy={getCacheForType:function(e){var t=Ft(Ot),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return Ft(Ot).controller.signal}},Py=typeof WeakMap=="function"?WeakMap:Map,$e=0,ut=null,Ue=null,Ge=0,nt=0,Sn=null,Fi=!1,nl=!1,zu=!1,_i=0,St=0,Gi=0,Sa=0,Bu=0,xn=0,il=0,ir=null,cn=null,Iu=!1,xo=0,Kp=0,To=1/0,No=null,Yi=null,Bt=0,ji=null,al=null,vi=0,Uu=0,Hu=null,Vp=null,ar=0,qu=null;function Tn(){return($e&2)!==0&&Ge!==0?Ge&-Ge:L.T!==null?Vu():Oa()}function Pp(){if(xn===0)if((Ge&536870912)===0||Ke){var e=Ca;Ca<<=1,(Ca&3932160)===0&&(Ca=262144),xn=e}else xn=536870912;return e=_n.current,e!==null&&(e.flags|=32),xn}function fn(e,t,i){(e===ut&&(nt===2||nt===9)||e.cancelPendingCommit!==null)&&(ll(e,0),Ki(e,Ge,xn,!1)),st(e,i),(($e&2)===0||e!==ut)&&(e===ut&&(($e&2)===0&&(Sa|=i),St===4&&Ki(e,Ge,xn,!1)),$n(e))}function Xp(e,t,i){if(($e&6)!==0)throw Error(o(327));var l=!i&&(t&127)===0&&(t&e.expiredLanes)===0||V(e,t),s=l?Qy(e,t):Gu(e,t,!0),d=l;do{if(s===0){nl&&!l&&Ki(e,t,0,!1);break}else{if(i=e.current.alternate,d&&!Xy(i)){s=Gu(e,t,!1),d=!1;continue}if(s===2){if(d=t,e.errorRecoveryDisabledLanes&d)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var v=e;s=ir;var N=v.current.memoizedState.isDehydrated;if(N&&(ll(v,y).flags|=256),y=Gu(v,y,!1),y!==2){if(zu&&!N){v.errorRecoveryDisabledLanes|=d,Sa|=d,s=4;break e}d=cn,cn=s,d!==null&&(cn===null?cn=d:cn.push.apply(cn,d))}s=y}if(d=!1,s!==2)continue}}if(s===1){ll(e,0),Ki(e,t,0,!0);break}e:{switch(l=e,d=s,d){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Ki(l,t,xn,!Fi);break e;case 2:cn=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(s=xo+300-yt(),10<s)){if(Ki(l,t,xn,!Fi),w(l,0,!0)!==0)break e;vi=t,l.timeoutHandle=Ng(Zp.bind(null,l,i,cn,No,Iu,t,xn,Sa,il,Fi,d,"Throttled",-0,0),s);break e}Zp(l,i,cn,No,Iu,t,xn,Sa,il,Fi,d,null,-0,0)}}break}while(!0);$n(e)}function Zp(e,t,i,l,s,d,y,v,N,I,K,Z,U,F){if(e.timeoutHandle=-1,Z=t.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:se},Fp(t,d,Z);var pe=(d&62914560)===d?xo-yt():(d&4194048)===d?Kp-yt():0;if(pe=RE(Z,pe),pe!==null){vi=d,e.cancelPendingCommit=pe(ig.bind(null,e,t,d,i,l,s,y,v,N,K,Z,null,U,F)),Ki(e,d,y,!I);return}}ig(e,t,d,i,l,s,y,v,N)}function Xy(e){for(var t=e;;){var i=t.tag;if((i===0||i===11||i===15)&&t.flags&16384&&(i=t.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var l=0;l<i.length;l++){var s=i[l],d=s.getSnapshot;s=s.value;try{if(!yn(d(),s))return!1}catch{return!1}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;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 Ki(e,t,i,l){t&=~Bu,t&=~Sa,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var s=t;0<s;){var d=31-We(s),y=1<<d;l[d]=-1,s&=~y}i!==0&&de(e,i,t)}function Ao(){return($e&6)===0?(lr(0),!1):!0}function Fu(){if(Ue!==null){if(nt===0)var e=Ue.return;else e=Ue,ci=pa=null,iu(e),Za=null,Fl=0,e=Ue;for(;e!==null;)Ap(e.alternate,e),e=e.return;Ue=null}}function ll(e,t){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,gE(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),vi=0,Fu(),ut=e,Ue=i=si(e.current,null),Ge=t,nt=0,Sn=null,Fi=!1,nl=V(e,t),zu=!1,il=xn=Bu=Sa=Gi=St=0,cn=ir=null,Iu=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var s=31-We(l),d=1<<s;t|=e[s],l&=~d}return _i=t,Vr(),i}function Qp(e,t){Me=null,L.H=Zl,t===Xa||t===eo?(t=dd(),nt=3):t===Ks?(t=dd(),nt=4):nt=t===Eu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Sn=t,Ue===null&&(St=1,mo(e,On(t,e.current)))}function $p(){var e=_n.current;return e===null?!0:(Ge&4194048)===Ge?Ln===null:(Ge&62914560)===Ge||(Ge&536870912)!==0?e===Ln:!1}function Jp(){var e=L.H;return L.H=Zl,e===null?Zl:e}function Wp(){var e=L.A;return L.A=Vy,e}function wo(){St=4,Fi||(Ge&4194048)!==Ge&&_n.current!==null||(nl=!0),(Gi&134217727)===0&&(Sa&134217727)===0||ut===null||Ki(ut,Ge,xn,!1)}function Gu(e,t,i){var l=$e;$e|=2;var s=Jp(),d=Wp();(ut!==e||Ge!==t)&&(No=null,ll(e,t)),t=!1;var y=St;e:do try{if(nt!==0&&Ue!==null){var v=Ue,N=Sn;switch(nt){case 8:Fu(),y=6;break e;case 3:case 2:case 9:case 6:_n.current===null&&(t=!0);var I=nt;if(nt=0,Sn=null,rl(e,v,N,I),i&&nl){y=0;break e}break;default:I=nt,nt=0,Sn=null,rl(e,v,N,I)}}Zy(),y=St;break}catch(K){Qp(e,K)}while(!0);return t&&e.shellSuspendCounter++,ci=pa=null,$e=l,L.H=s,L.A=d,Ue===null&&(ut=null,Ge=0,Vr()),y}function Zy(){for(;Ue!==null;)eg(Ue)}function Qy(e,t){var i=$e;$e|=2;var l=Jp(),s=Wp();ut!==e||Ge!==t?(No=null,To=yt()+500,ll(e,t)):nl=V(e,t);e:do try{if(nt!==0&&Ue!==null){t=Ue;var d=Sn;t:switch(nt){case 1:nt=0,Sn=null,rl(e,t,d,1);break;case 2:case 9:if(cd(d)){nt=0,Sn=null,tg(t);break}t=function(){nt!==2&&nt!==9||ut!==e||(nt=7),$n(e)},d.then(t,t);break e;case 3:nt=7;break e;case 4:nt=5;break e;case 7:cd(d)?(nt=0,Sn=null,tg(t)):(nt=0,Sn=null,rl(e,t,d,7));break;case 5:var y=null;switch(Ue.tag){case 26:y=Ue.memoizedState;case 5:case 27:var v=Ue;if(y?qg(y):v.stateNode.complete){nt=0,Sn=null;var N=v.sibling;if(N!==null)Ue=N;else{var I=v.return;I!==null?(Ue=I,ko(I)):Ue=null}break t}}nt=0,Sn=null,rl(e,t,d,5);break;case 6:nt=0,Sn=null,rl(e,t,d,6);break;case 8:Fu(),St=6;break e;default:throw Error(o(462))}}$y();break}catch(K){Qp(e,K)}while(!0);return ci=pa=null,L.H=l,L.A=s,$e=i,Ue!==null?0:(ut=null,Ge=0,Vr(),St)}function $y(){for(;Ue!==null&&!vl();)eg(Ue)}function eg(e){var t=Tp(e.alternate,e,_i);e.memoizedProps=e.pendingProps,t===null?ko(e):Ue=t}function tg(e){var t=e,i=t.alternate;switch(t.tag){case 15:case 0:t=yp(i,t,t.pendingProps,t.type,void 0,Ge);break;case 11:t=yp(i,t,t.pendingProps,t.type.render,t.ref,Ge);break;case 5:iu(t);default:Ap(i,t),t=Ue=Wf(t,_i),t=Tp(i,t,_i)}e.memoizedProps=e.pendingProps,t===null?ko(e):Ue=t}function rl(e,t,i,l){ci=pa=null,iu(t),Za=null,Fl=0;var s=t.return;try{if(Hy(e,s,t,i,Ge)){St=1,mo(e,On(i,e.current)),Ue=null;return}}catch(d){if(s!==null)throw Ue=s,d;St=1,mo(e,On(i,e.current)),Ue=null;return}t.flags&32768?(Ke||l===1?e=!0:nl||(Ge&536870912)!==0?e=!1:(Fi=e=!0,(l===2||l===9||l===3||l===6)&&(l=_n.current,l!==null&&l.tag===13&&(l.flags|=16384))),ng(t,e)):ko(t)}function ko(e){var t=e;do{if((t.flags&32768)!==0){ng(t,Fi);return}e=t.return;var i=Gy(t.alternate,t,_i);if(i!==null){Ue=i;return}if(t=t.sibling,t!==null){Ue=t;return}Ue=t=e}while(t!==null);St===0&&(St=5)}function ng(e,t){do{var i=Yy(e.alternate,e);if(i!==null){i.flags&=32767,Ue=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){Ue=e;return}Ue=e=i}while(e!==null);St=6,Ue=null}function ig(e,t,i,l,s,d,y,v,N){e.cancelPendingCommit=null;do Co();while(Bt!==0);if(($e&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(d=t.lanes|t.childLanes,d|=Os,ge(e,i,d,y,v,N),e===ut&&(Ue=ut=null,Ge=0),al=t,ji=e,vi=i,Uu=d,Hu=s,Vp=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,tE(xe,function(){return sg(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=L.T,L.T=null,s=$.p,$.p=2,y=$e,$e|=4;try{jy(e,t,i)}finally{$e=y,$.p=s,L.T=l}}Bt=1,ag(),lg(),rg()}}function ag(){if(Bt===1){Bt=0;var e=ji,t=al,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=L.T,L.T=null;var l=$.p;$.p=2;var s=$e;$e|=4;try{Up(t,e);var d=ec,y=jf(e.containerInfo),v=d.focusedElem,N=d.selectionRange;if(y!==v&&v&&v.ownerDocument&&Yf(v.ownerDocument.documentElement,v)){if(N!==null&&Ns(v)){var I=N.start,K=N.end;if(K===void 0&&(K=I),"selectionStart"in v)v.selectionStart=I,v.selectionEnd=Math.min(K,v.value.length);else{var Z=v.ownerDocument||document,U=Z&&Z.defaultView||window;if(U.getSelection){var F=U.getSelection(),pe=v.textContent.length,Te=Math.min(N.start,pe),rt=N.end===void 0?Te:Math.min(N.end,pe);!F.extend&&Te>rt&&(y=rt,rt=Te,Te=y);var R=Gf(v,Te),O=Gf(v,rt);if(R&&O&&(F.rangeCount!==1||F.anchorNode!==R.node||F.anchorOffset!==R.offset||F.focusNode!==O.node||F.focusOffset!==O.offset)){var B=Z.createRange();B.setStart(R.node,R.offset),F.removeAllRanges(),Te>rt?(F.addRange(B),F.extend(O.node,O.offset)):(B.setEnd(O.node,O.offset),F.addRange(B))}}}}for(Z=[],F=v;F=F.parentNode;)F.nodeType===1&&Z.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Z.length;v++){var P=Z[v];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}Fo=!!Wu,ec=Wu=null}finally{$e=s,$.p=l,L.T=i}}e.current=t,Bt=2}}function lg(){if(Bt===2){Bt=0;var e=ji,t=al,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=L.T,L.T=null;var l=$.p;$.p=2;var s=$e;$e|=4;try{Dp(e,t.alternate,t)}finally{$e=s,$.p=l,L.T=i}}Bt=3}}function rg(){if(Bt===4||Bt===3){Bt=0,wa();var e=ji,t=al,i=vi,l=Vp;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Bt=5:(Bt=0,al=ji=null,og(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(Yi=null),ii(i),t=t.stateNode,_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(Ut,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=L.T,s=$.p,$.p=2,L.T=null;try{for(var d=e.onRecoverableError,y=0;y<l.length;y++){var v=l[y];d(v.value,{componentStack:v.stack})}}finally{L.T=t,$.p=s}}(vi&3)!==0&&Co(),$n(e),s=e.pendingLanes,(i&261930)!==0&&(s&42)!==0?e===qu?ar++:(ar=0,qu=e):ar=0,lr(0)}}function og(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Hl(t)))}function Co(){return ag(),lg(),rg(),sg()}function sg(){if(Bt!==5)return!1;var e=ji,t=Uu;Uu=0;var i=ii(vi),l=L.T,s=$.p;try{$.p=32>i?32:i,L.T=null,i=Hu,Hu=null;var d=ji,y=vi;if(Bt=0,al=ji=null,vi=0,($e&6)!==0)throw Error(o(331));var v=$e;if($e|=4,Yp(d.current),qp(d,d.current,y,i),$e=v,lr(0,!1),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(Ut,d)}catch{}return!0}finally{$.p=s,L.T=l,og(e,t)}}function ug(e,t,i){t=On(i,t),t=yu(e.stateNode,t,2),e=Ii(e,t,2),e!==null&&(st(e,2),$n(e))}function it(e,t,i){if(e.tag===3)ug(e,e,i);else for(;t!==null;){if(t.tag===3){ug(t,e,i);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Yi===null||!Yi.has(l))){e=On(i,e),i=cp(2),l=Ii(t,i,2),l!==null&&(fp(i,l,t,e),st(l,2),$n(l));break}}t=t.return}}function Yu(e,t,i){var l=e.pingCache;if(l===null){l=e.pingCache=new Py;var s=new Set;l.set(t,s)}else s=l.get(t),s===void 0&&(s=new Set,l.set(t,s));s.has(i)||(zu=!0,s.add(i),e=Jy.bind(null,e,t,i),t.then(e,e))}function Jy(e,t,i){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,ut===e&&(Ge&i)===i&&(St===4||St===3&&(Ge&62914560)===Ge&&300>yt()-xo?($e&2)===0&&ll(e,0):Bu|=i,il===Ge&&(il=0)),$n(e)}function cg(e,t){t===0&&(t=ke()),e=ca(e,t),e!==null&&(st(e,t),$n(e))}function Wy(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),cg(e,i)}function eE(e,t){var i=0;switch(e.tag){case 31:case 13:var l=e.stateNode,s=e.memoizedState;s!==null&&(i=s.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(t),cg(e,i)}function tE(e,t){return ni(e,t)}var Oo=null,ol=null,ju=!1,Mo=!1,Ku=!1,Vi=0;function $n(e){e!==ol&&e.next===null&&(ol===null?Oo=ol=e:ol=ol.next=e),Mo=!0,ju||(ju=!0,iE())}function lr(e,t){if(!Ku&&Mo){Ku=!0;do for(var i=!1,l=Oo;l!==null;){if(e!==0){var s=l.pendingLanes;if(s===0)var d=0;else{var y=l.suspendedLanes,v=l.pingedLanes;d=(1<<31-We(42|e)+1)-1,d&=s&~(y&~v),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(i=!0,gg(l,d))}else d=Ge,d=w(l,l===ut?d:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(d&3)===0||V(l,d)||(i=!0,gg(l,d));l=l.next}while(i);Ku=!1}}function nE(){fg()}function fg(){Mo=ju=!1;var e=0;Vi!==0&&pE()&&(e=Vi);for(var t=yt(),i=null,l=Oo;l!==null;){var s=l.next,d=dg(l,t);d===0?(l.next=null,i===null?Oo=s:i.next=s,s===null&&(ol=i)):(i=l,(e!==0||(d&3)!==0)&&(Mo=!0)),l=s}Bt!==0&&Bt!==5||lr(e),Vi!==0&&(Vi=0)}function dg(e,t){for(var i=e.suspendedLanes,l=e.pingedLanes,s=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var y=31-We(d),v=1<<y,N=s[y];N===-1?((v&i)===0||(v&l)!==0)&&(s[y]=fe(v,t)):N<=t&&(e.expiredLanes|=v),d&=~v}if(t=ut,i=Ge,i=w(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,i===0||e===t&&(nt===2||nt===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&ta(l),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||V(e,i)){if(t=i&-i,t===e.callbackPriority)return t;switch(l!==null&&ta(l),ii(i)){case 2:case 8:i=le;break;case 32:i=xe;break;case 268435456:i=Pe;break;default:i=xe}return l=pg.bind(null,e),i=ni(i,l),e.callbackPriority=t,e.callbackNode=i,t}return l!==null&&l!==null&&ta(l),e.callbackPriority=2,e.callbackNode=null,2}function pg(e,t){if(Bt!==0&&Bt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(Co()&&e.callbackNode!==i)return null;var l=Ge;return l=w(e,e===ut?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Xp(e,l,t),dg(e,yt()),e.callbackNode!=null&&e.callbackNode===i?pg.bind(null,e):null)}function gg(e,t){if(Co())return null;Xp(e,t,!0)}function iE(){mE(function(){($e&6)!==0?ni(j,nE):fg()})}function Vu(){if(Vi===0){var e=Va;e===0&&(e=na,na<<=1,(na&261888)===0&&(na=256)),Vi=e}return Vi}function mg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ci(""+e)}function hg(e,t){var i=t.ownerDocument.createElement("input");return i.name=t.name,i.value=t.value,e.id&&i.setAttribute("form",e.id),t.parentNode.insertBefore(i,t),e=new FormData(e),i.parentNode.removeChild(i),e}function aE(e,t,i,l,s){if(t==="submit"&&i&&i.stateNode===s){var d=mg((s[Kt]||null).action),y=l.submitter;y&&(t=(t=y[Kt]||null)?mg(t.formAction):y.getAttribute("formAction"),t!==null&&(d=t,y=null));var v=new Gr("action","action",null,l,s);e.push({event:v,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Vi!==0){var N=y?hg(s,y):new FormData(s);du(i,{pending:!0,data:N,method:s.method,action:d},null,N)}}else typeof d=="function"&&(v.preventDefault(),N=y?hg(s,y):new FormData(s),du(i,{pending:!0,data:N,method:s.method,action:d},d,N))},currentTarget:s}]})}}for(var Pu=0;Pu<Cs.length;Pu++){var Xu=Cs[Pu],lE=Xu.toLowerCase(),rE=Xu[0].toUpperCase()+Xu.slice(1);qn(lE,"on"+rE)}qn(Pf,"onAnimationEnd"),qn(Xf,"onAnimationIteration"),qn(Zf,"onAnimationStart"),qn("dblclick","onDoubleClick"),qn("focusin","onFocus"),qn("focusout","onBlur"),qn(Sy,"onTransitionRun"),qn(xy,"onTransitionStart"),qn(Ty,"onTransitionCancel"),qn(Qf,"onTransitionEnd"),te("onMouseEnter",["mouseout","mouseover"]),te("onMouseLeave",["mouseout","mouseover"]),te("onPointerEnter",["pointerout","pointerover"]),te("onPointerLeave",["pointerout","pointerover"]),li("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),li("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),li("onBeforeInput",["compositionend","keypress","textInput","paste"]),li("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),li("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),li("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rr="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(" "),oE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(rr));function bg(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var l=e[i],s=l.event;l=l.listeners;e:{var d=void 0;if(t)for(var y=l.length-1;0<=y;y--){var v=l[y],N=v.instance,I=v.currentTarget;if(v=v.listener,N!==d&&s.isPropagationStopped())break e;d=v,s.currentTarget=I;try{d(s)}catch(K){Kr(K)}s.currentTarget=null,d=N}else for(y=0;y<l.length;y++){if(v=l[y],N=v.instance,I=v.currentTarget,v=v.listener,N!==d&&s.isPropagationStopped())break e;d=v,s.currentTarget=I;try{d(s)}catch(K){Kr(K)}s.currentTarget=null,d=N}}}}function He(e,t){var i=t[Sl];i===void 0&&(i=t[Sl]=new Set);var l=e+"__bubble";i.has(l)||(yg(t,e,2,!1),i.add(l))}function Zu(e,t,i){var l=0;t&&(l|=4),yg(i,e,l,t)}var Ro="_reactListening"+Math.random().toString(36).slice(2);function Qu(e){if(!e[Ro]){e[Ro]=!0,Lr.forEach(function(i){i!=="selectionchange"&&(oE.has(i)||Zu(i,!1,e),Zu(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ro]||(t[Ro]=!0,Zu("selectionchange",!1,t))}}function yg(e,t,i,l){switch(Pg(t)){case 2:var s=zE;break;case 8:s=BE;break;default:s=fc}i=s.bind(null,t,i,e),s=void 0,!hs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),l?s!==void 0?e.addEventListener(t,i,{capture:!0,passive:s}):e.addEventListener(t,i,!0):s!==void 0?e.addEventListener(t,i,{passive:s}):e.addEventListener(t,i,!1)}function $u(e,t,i,l,s){var d=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var y=l.tag;if(y===3||y===4){var v=l.stateNode.containerInfo;if(v===s)break;if(y===4)for(y=l.return;y!==null;){var N=y.tag;if((N===3||N===4)&&y.stateNode.containerInfo===s)return;y=y.return}for(;v!==null;){if(y=Jt(v),y===null)return;if(N=y.tag,N===5||N===6||N===26||N===27){l=d=y;continue e}v=v.parentNode}}l=l.return}Ur(function(){var I=d,K=Oe(i),Z=[];e:{var U=$f.get(e);if(U!==void 0){var F=Gr,pe=e;switch(e){case"keypress":if(qr(i)===0)break e;case"keydown":case"keyup":F=ey;break;case"focusin":pe="focus",F=_s;break;case"focusout":pe="blur",F=_s;break;case"beforeblur":case"afterblur":F=_s;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=Af;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=Gb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=iy;break;case Pf:case Xf:case Zf:F=Kb;break;case Qf:F=ly;break;case"scroll":case"scrollend":F=qb;break;case"wheel":F=oy;break;case"copy":case"cut":case"paste":F=Pb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=kf;break;case"toggle":case"beforetoggle":F=uy}var Te=(t&4)!==0,rt=!Te&&(e==="scroll"||e==="scrollend"),R=Te?U!==null?U+"Capture":null:U;Te=[];for(var O=I,B;O!==null;){var P=O;if(B=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||B===null||R===null||(P=kl(O,R),P!=null&&Te.push(or(O,P,B))),rt)break;O=O.return}0<Te.length&&(U=new F(U,pe,null,i,K),Z.push({event:U,listeners:Te}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",F=e==="mouseout"||e==="pointerout",U&&i!==he&&(pe=i.relatedTarget||i.fromElement)&&(Jt(pe)||pe[Ni]))break e;if((F||U)&&(U=K.window===K?K:(U=K.ownerDocument)?U.defaultView||U.parentWindow:window,F?(pe=i.relatedTarget||i.toElement,F=I,pe=pe?Jt(pe):null,pe!==null&&(rt=f(pe),Te=pe.tag,pe!==rt||Te!==5&&Te!==27&&Te!==6)&&(pe=null)):(F=null,pe=I),F!==pe)){if(Te=Af,P="onMouseLeave",R="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(Te=kf,P="onPointerLeave",R="onPointerEnter",O="pointer"),rt=F==null?U:Ai(F),B=pe==null?U:Ai(pe),U=new Te(P,O+"leave",F,i,K),U.target=rt,U.relatedTarget=B,P=null,Jt(K)===I&&(Te=new Te(R,O+"enter",pe,i,K),Te.target=B,Te.relatedTarget=rt,P=Te),rt=P,F&&pe)t:{for(Te=sE,R=F,O=pe,B=0,P=R;P;P=Te(P))B++;P=0;for(var ve=O;ve;ve=Te(ve))P++;for(;0<B-P;)R=Te(R),B--;for(;0<P-B;)O=Te(O),P--;for(;B--;){if(R===O||O!==null&&R===O.alternate){Te=R;break t}R=Te(R),O=Te(O)}Te=null}else Te=null;F!==null&&Eg(Z,U,F,Te,!1),pe!==null&&rt!==null&&Eg(Z,rt,pe,Te,!0)}}e:{if(U=I?Ai(I):window,F=U.nodeName&&U.nodeName.toLowerCase(),F==="select"||F==="input"&&U.type==="file")var Xe=Bf;else if(Lf(U))if(If)Xe=Ey;else{Xe=by;var be=hy}else F=U.nodeName,!F||F.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?I&&ki(I.elementType)&&(Xe=Bf):Xe=yy;if(Xe&&(Xe=Xe(e,I))){zf(Z,Xe,i,K);break e}be&&be(e,U,I),e==="focusout"&&I&&U.type==="number"&&I.memoizedProps.value!=null&&za(U,"number",U.value)}switch(be=I?Ai(I):window,e){case"focusin":(Lf(be)||be.contentEditable==="true")&&(Ua=be,As=I,Bl=null);break;case"focusout":Bl=As=Ua=null;break;case"mousedown":ws=!0;break;case"contextmenu":case"mouseup":case"dragend":ws=!1,Kf(Z,i,K);break;case"selectionchange":if(vy)break;case"keydown":case"keyup":Kf(Z,i,K)}var Re;if(Ss)e:{switch(e){case"compositionstart":var Ye="onCompositionStart";break e;case"compositionend":Ye="onCompositionEnd";break e;case"compositionupdate":Ye="onCompositionUpdate";break e}Ye=void 0}else Ia?Rf(e,i)&&(Ye="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(Ye="onCompositionStart");Ye&&(Cf&&i.locale!=="ko"&&(Ia||Ye!=="onCompositionStart"?Ye==="onCompositionEnd"&&Ia&&(Re=Tf()):(Oi=K,bs="value"in Oi?Oi.value:Oi.textContent,Ia=!0)),be=Do(I,Ye),0<be.length&&(Ye=new wf(Ye,e,null,i,K),Z.push({event:Ye,listeners:be}),Re?Ye.data=Re:(Re=Df(i),Re!==null&&(Ye.data=Re)))),(Re=fy?dy(e,i):py(e,i))&&(Ye=Do(I,"onBeforeInput"),0<Ye.length&&(be=new wf("onBeforeInput","beforeinput",null,i,K),Z.push({event:be,listeners:Ye}),be.data=Re)),aE(Z,e,I,i,K)}bg(Z,t)})}function or(e,t,i){return{instance:e,listener:t,currentTarget:i}}function Do(e,t){for(var i=t+"Capture",l=[];e!==null;){var s=e,d=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||d===null||(s=kl(e,i),s!=null&&l.unshift(or(e,s,d)),s=kl(e,t),s!=null&&l.push(or(e,s,d))),e.tag===3)return l;e=e.return}return[]}function sE(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Eg(e,t,i,l,s){for(var d=t._reactName,y=[];i!==null&&i!==l;){var v=i,N=v.alternate,I=v.stateNode;if(v=v.tag,N!==null&&N===l)break;v!==5&&v!==26&&v!==27||I===null||(N=I,s?(I=kl(i,d),I!=null&&y.unshift(or(i,I,N))):s||(I=kl(i,d),I!=null&&y.push(or(i,I,N)))),i=i.return}y.length!==0&&e.push({event:t,listeners:y})}var uE=/\r\n?/g,cE=/\u0000|\uFFFD/g;function _g(e){return(typeof e=="string"?e:""+e).replace(uE,`
|
|
49
|
-
`).replace(cE,"")}function vg(e,t){return t=_g(t),_g(e)===t}function lt(e,t,i,l,s,d){switch(i){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Ne(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Ne(e,""+l);break;case"className":hn(e,"class",l);break;case"tabIndex":hn(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":hn(e,i,l);break;case"style":tt(e,l,d);break;case"data":if(t!=="object"){hn(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||i!=="href")){e.removeAttribute(i);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(i);break}l=Ci(""+l),e.setAttribute(i,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(i==="formAction"?(t!=="input"&<(e,t,"name",s.name,s,null),lt(e,t,"formEncType",s.formEncType,s,null),lt(e,t,"formMethod",s.formMethod,s,null),lt(e,t,"formTarget",s.formTarget,s,null)):(lt(e,t,"encType",s.encType,s,null),lt(e,t,"method",s.method,s,null),lt(e,t,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(i);break}l=Ci(""+l),e.setAttribute(i,l);break;case"onClick":l!=null&&(e.onclick=se);break;case"onScroll":l!=null&&He("scroll",e);break;case"onScrollEnd":l!=null&&He("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(i=l.__html,i!=null){if(s.children!=null)throw Error(o(60));e.innerHTML=i}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}i=Ci(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(i,""+l):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":l===!0?e.setAttribute(i,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(i,l):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(i,l):e.removeAttribute(i);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(i):e.setAttribute(i,l);break;case"popover":He("beforetoggle",e),He("toggle",e),Vt(e,"popover",l);break;case"xlinkActuate":an(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":an(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":an(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":an(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":an(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":an(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":an(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":an(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":an(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Vt(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=ri.get(i)||i,Vt(e,i,l))}}function Ju(e,t,i,l,s,d){switch(i){case"style":tt(e,l,d);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(i=l.__html,i!=null){if(s.children!=null)throw Error(o(60));e.innerHTML=i}}break;case"children":typeof l=="string"?Ne(e,l):(typeof l=="number"||typeof l=="bigint")&&Ne(e,""+l);break;case"onScroll":l!=null&&He("scroll",e);break;case"onScrollEnd":l!=null&&He("scrollend",e);break;case"onClick":l!=null&&(e.onclick=se);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!la.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(s=i.endsWith("Capture"),t=i.slice(2,s?i.length-7:void 0),d=e[Kt]||null,d=d!=null?d[i]:null,typeof d=="function"&&e.removeEventListener(t,d,s),typeof l=="function")){typeof d!="function"&&d!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,l,s);break e}i in e?e[i]=l:l===!0?e.setAttribute(i,""):Vt(e,i,l)}}}function Yt(e,t,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",e),He("load",e);var l=!1,s=!1,d;for(d in i)if(i.hasOwnProperty(d)){var y=i[d];if(y!=null)switch(d){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:lt(e,t,d,y,i,null)}}s&<(e,t,"srcSet",i.srcSet,i,null),l&<(e,t,"src",i.src,i,null);return;case"input":He("invalid",e);var v=d=y=s=null,N=null,I=null;for(l in i)if(i.hasOwnProperty(l)){var K=i[l];if(K!=null)switch(l){case"name":s=K;break;case"type":y=K;break;case"checked":N=K;break;case"defaultChecked":I=K;break;case"value":d=K;break;case"defaultValue":v=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(o(137,t));break;default:lt(e,t,l,K,i,null)}}ra(e,d,v,N,I,y,s,!1);return;case"select":He("invalid",e),l=y=d=null;for(s in i)if(i.hasOwnProperty(s)&&(v=i[s],v!=null))switch(s){case"value":d=v;break;case"defaultValue":y=v;break;case"multiple":l=v;default:lt(e,t,s,v,i,null)}t=d,i=y,e.multiple=!!l,t!=null?Ht(e,!!l,t,!1):i!=null&&Ht(e,!!l,i,!0);return;case"textarea":He("invalid",e),d=s=l=null;for(y in i)if(i.hasOwnProperty(y)&&(v=i[y],v!=null))switch(y){case"value":l=v;break;case"defaultValue":s=v;break;case"children":d=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(91));break;default:lt(e,t,y,v,i,null)}Ba(e,l,s,d);return;case"option":for(N in i)if(i.hasOwnProperty(N)&&(l=i[N],l!=null))switch(N){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:lt(e,t,N,l,i,null)}return;case"dialog":He("beforetoggle",e),He("toggle",e),He("cancel",e),He("close",e);break;case"iframe":case"object":He("load",e);break;case"video":case"audio":for(l=0;l<rr.length;l++)He(rr[l],e);break;case"image":He("error",e),He("load",e);break;case"details":He("toggle",e);break;case"embed":case"source":case"link":He("error",e),He("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(I in i)if(i.hasOwnProperty(I)&&(l=i[I],l!=null))switch(I){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:lt(e,t,I,l,i,null)}return;default:if(ki(t)){for(K in i)i.hasOwnProperty(K)&&(l=i[K],l!==void 0&&Ju(e,t,K,l,i,void 0));return}}for(v in i)i.hasOwnProperty(v)&&(l=i[v],l!=null&<(e,t,v,l,i,null))}function fE(e,t,i,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,d=null,y=null,v=null,N=null,I=null,K=null;for(F in i){var Z=i[F];if(i.hasOwnProperty(F)&&Z!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":N=Z;default:l.hasOwnProperty(F)||lt(e,t,F,null,l,Z)}}for(var U in l){var F=l[U];if(Z=i[U],l.hasOwnProperty(U)&&(F!=null||Z!=null))switch(U){case"type":d=F;break;case"name":s=F;break;case"checked":I=F;break;case"defaultChecked":K=F;break;case"value":y=F;break;case"defaultValue":v=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(o(137,t));break;default:F!==Z&<(e,t,U,F,l,Z)}}Nl(e,y,v,N,I,K,d,s);return;case"select":F=y=v=U=null;for(d in i)if(N=i[d],i.hasOwnProperty(d)&&N!=null)switch(d){case"value":break;case"multiple":F=N;default:l.hasOwnProperty(d)||lt(e,t,d,null,l,N)}for(s in l)if(d=l[s],N=i[s],l.hasOwnProperty(s)&&(d!=null||N!=null))switch(s){case"value":U=d;break;case"defaultValue":v=d;break;case"multiple":y=d;default:d!==N&<(e,t,s,d,l,N)}t=v,i=y,l=F,U!=null?Ht(e,!!i,U,!1):!!l!=!!i&&(t!=null?Ht(e,!!i,t,!0):Ht(e,!!i,i?[]:"",!1));return;case"textarea":F=U=null;for(v in i)if(s=i[v],i.hasOwnProperty(v)&&s!=null&&!l.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:lt(e,t,v,null,l,s)}for(y in l)if(s=l[y],d=i[y],l.hasOwnProperty(y)&&(s!=null||d!=null))switch(y){case"value":U=s;break;case"defaultValue":F=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(o(91));break;default:s!==d&<(e,t,y,s,l,d)}Br(e,U,F);return;case"option":for(var pe in i)if(U=i[pe],i.hasOwnProperty(pe)&&U!=null&&!l.hasOwnProperty(pe))switch(pe){case"selected":e.selected=!1;break;default:lt(e,t,pe,null,l,U)}for(N in l)if(U=l[N],F=i[N],l.hasOwnProperty(N)&&U!==F&&(U!=null||F!=null))switch(N){case"selected":e.selected=U&&typeof U!="function"&&typeof U!="symbol";break;default:lt(e,t,N,U,l,F)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Te in i)U=i[Te],i.hasOwnProperty(Te)&&U!=null&&!l.hasOwnProperty(Te)&<(e,t,Te,null,l,U);for(I in l)if(U=l[I],F=i[I],l.hasOwnProperty(I)&&U!==F&&(U!=null||F!=null))switch(I){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(o(137,t));break;default:lt(e,t,I,U,l,F)}return;default:if(ki(t)){for(var rt in i)U=i[rt],i.hasOwnProperty(rt)&&U!==void 0&&!l.hasOwnProperty(rt)&&Ju(e,t,rt,void 0,l,U);for(K in l)U=l[K],F=i[K],!l.hasOwnProperty(K)||U===F||U===void 0&&F===void 0||Ju(e,t,K,U,l,F);return}}for(var R in i)U=i[R],i.hasOwnProperty(R)&&U!=null&&!l.hasOwnProperty(R)&<(e,t,R,null,l,U);for(Z in l)U=l[Z],F=i[Z],!l.hasOwnProperty(Z)||U===F||U==null&&F==null||lt(e,t,Z,U,l,F)}function Sg(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),l=0;l<i.length;l++){var s=i[l],d=s.transferSize,y=s.initiatorType,v=s.duration;if(d&&v&&Sg(y)){for(y=0,v=s.responseEnd,l+=1;l<i.length;l++){var N=i[l],I=N.startTime;if(I>v)break;var K=N.transferSize,Z=N.initiatorType;K&&Sg(Z)&&(N=N.responseEnd,y+=K*(N<v?1:(v-I)/(N-I)))}if(--l,t+=8*(d+y)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Wu=null,ec=null;function Lo(e){return e.nodeType===9?e:e.ownerDocument}function xg(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Tg(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function tc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var nc=null;function pE(){var e=window.event;return e&&e.type==="popstate"?e===nc?!1:(nc=e,!0):(nc=null,!1)}var Ng=typeof setTimeout=="function"?setTimeout:void 0,gE=typeof clearTimeout=="function"?clearTimeout:void 0,Ag=typeof Promise=="function"?Promise:void 0,mE=typeof queueMicrotask=="function"?queueMicrotask:typeof Ag<"u"?function(e){return Ag.resolve(null).then(e).catch(hE)}:Ng;function hE(e){setTimeout(function(){throw e})}function Pi(e){return e==="head"}function wg(e,t){var i=t,l=0;do{var s=i.nextSibling;if(e.removeChild(i),s&&s.nodeType===8)if(i=s.data,i==="/$"||i==="/&"){if(l===0){e.removeChild(s),fl(t);return}l--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")l++;else if(i==="html")sr(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,sr(i);for(var d=i.firstChild;d;){var y=d.nextSibling,v=d.nodeName;d[aa]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&d.rel.toLowerCase()==="stylesheet"||i.removeChild(d),d=y}}else i==="body"&&sr(e.ownerDocument.body);i=s}while(i);fl(t)}function kg(e,t){var i=e;e=0;do{var l=i.nextSibling;if(i.nodeType===1?t?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(t?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),l&&l.nodeType===8)if(i=l.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=l}while(i)}function ic(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var i=t;switch(t=t.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":ic(i),xl(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function bE(e,t,i,l){for(;e.nodeType===1;){var s=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[aa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var d=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=zn(e.nextSibling),e===null)break}return null}function yE(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=zn(e.nextSibling),e===null))return null;return e}function Cg(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=zn(e.nextSibling),e===null))return null;return e}function ac(e){return e.data==="$?"||e.data==="$~"}function lc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function EE(e,t){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||i.readyState!=="loading")t();else{var l=function(){t(),i.removeEventListener("DOMContentLoaded",l)};i.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function zn(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var rc=null;function Og(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(t===0)return zn(e.nextSibling);t--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||t++}e=e.nextSibling}return null}function Mg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(t===0)return e;t--}else i!=="/$"&&i!=="/&"||t++}e=e.previousSibling}return null}function Rg(e,t,i){switch(t=Lo(i),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function sr(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);xl(e)}var Bn=new Map,Dg=new Set;function zo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Si=$.d;$.d={f:_E,r:vE,D:SE,C:xE,L:TE,m:NE,X:wE,S:AE,M:kE};function _E(){var e=Si.f(),t=Ao();return e||t}function vE(e){var t=ai(e);t!==null&&t.tag===5&&t.type==="form"?Qd(t):Si.r(e)}var sl=typeof document>"u"?null:document;function Lg(e,t,i){var l=sl;if(l&&typeof t=="string"&&t){var s=ln(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof i=="string"&&(s+='[crossorigin="'+i+'"]'),Dg.has(s)||(Dg.add(s),e={rel:e,crossOrigin:i,href:t},l.querySelector(s)===null&&(t=l.createElement("link"),Yt(t,"link",e),kt(t),l.head.appendChild(t)))}}function SE(e){Si.D(e),Lg("dns-prefetch",e,null)}function xE(e,t){Si.C(e,t),Lg("preconnect",e,t)}function TE(e,t,i){Si.L(e,t,i);var l=sl;if(l&&e&&t){var s='link[rel="preload"][as="'+ln(t)+'"]';t==="image"&&i&&i.imageSrcSet?(s+='[imagesrcset="'+ln(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(s+='[imagesizes="'+ln(i.imageSizes)+'"]')):s+='[href="'+ln(e)+'"]';var d=s;switch(t){case"style":d=ul(e);break;case"script":d=cl(e)}Bn.has(d)||(e=h({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),Bn.set(d,e),l.querySelector(s)!==null||t==="style"&&l.querySelector(ur(d))||t==="script"&&l.querySelector(cr(d))||(t=l.createElement("link"),Yt(t,"link",e),kt(t),l.head.appendChild(t)))}}function NE(e,t){Si.m(e,t);var i=sl;if(i&&e){var l=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+ln(l)+'"][href="'+ln(e)+'"]',d=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=cl(e)}if(!Bn.has(d)&&(e=h({rel:"modulepreload",href:e},t),Bn.set(d,e),i.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(cr(d)))return}l=i.createElement("link"),Yt(l,"link",e),kt(l),i.head.appendChild(l)}}}function AE(e,t,i){Si.S(e,t,i);var l=sl;if(l&&e){var s=wi(l).hoistableStyles,d=ul(e);t=t||"default";var y=s.get(d);if(!y){var v={loading:0,preload:null};if(y=l.querySelector(ur(d)))v.loading=5;else{e=h({rel:"stylesheet",href:e,"data-precedence":t},i),(i=Bn.get(d))&&oc(e,i);var N=y=l.createElement("link");kt(N),Yt(N,"link",e),N._p=new Promise(function(I,K){N.onload=I,N.onerror=K}),N.addEventListener("load",function(){v.loading|=1}),N.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Bo(y,t,l)}y={type:"stylesheet",instance:y,count:1,state:v},s.set(d,y)}}}function wE(e,t){Si.X(e,t);var i=sl;if(i&&e){var l=wi(i).hoistableScripts,s=cl(e),d=l.get(s);d||(d=i.querySelector(cr(s)),d||(e=h({src:e,async:!0},t),(t=Bn.get(s))&&sc(e,t),d=i.createElement("script"),kt(d),Yt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(s,d))}}function kE(e,t){Si.M(e,t);var i=sl;if(i&&e){var l=wi(i).hoistableScripts,s=cl(e),d=l.get(s);d||(d=i.querySelector(cr(s)),d||(e=h({src:e,async:!0,type:"module"},t),(t=Bn.get(s))&&sc(e,t),d=i.createElement("script"),kt(d),Yt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(s,d))}}function zg(e,t,i,l){var s=(s=me.current)?zo(s):null;if(!s)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(t=ul(i.href),i=wi(s).hoistableStyles,l=i.get(t),l||(l={type:"style",instance:null,count:0,state:null},i.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=ul(i.href);var d=wi(s).hoistableStyles,y=d.get(e);if(y||(s=s.ownerDocument||s,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,y),(d=s.querySelector(ur(e)))&&!d._p&&(y.instance=d,y.state.loading=5),Bn.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Bn.set(e,i),d||CE(s,e,i,y.state))),t&&l===null)throw Error(o(528,""));return y}if(t&&l!==null)throw Error(o(529,""));return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=cl(i),i=wi(s).hoistableScripts,l=i.get(t),l||(l={type:"script",instance:null,count:0,state:null},i.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function ul(e){return'href="'+ln(e)+'"'}function ur(e){return'link[rel="stylesheet"]['+e+"]"}function Bg(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function CE(e,t,i,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Yt(t,"link",i),kt(t),e.head.appendChild(t))}function cl(e){return'[src="'+ln(e)+'"]'}function cr(e){return"script[async]"+e}function Ig(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+ln(i.href)+'"]');if(l)return t.instance=l,kt(l),l;var s=h({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),kt(l),Yt(l,"style",s),Bo(l,i.precedence,e),t.instance=l;case"stylesheet":s=ul(i.href);var d=e.querySelector(ur(s));if(d)return t.state.loading|=4,t.instance=d,kt(d),d;l=Bg(i),(s=Bn.get(s))&&oc(l,s),d=(e.ownerDocument||e).createElement("link"),kt(d);var y=d;return y._p=new Promise(function(v,N){y.onload=v,y.onerror=N}),Yt(d,"link",l),t.state.loading|=4,Bo(d,i.precedence,e),t.instance=d;case"script":return d=cl(i.src),(s=e.querySelector(cr(d)))?(t.instance=s,kt(s),s):(l=i,(s=Bn.get(d))&&(l=h({},i),sc(l,s)),e=e.ownerDocument||e,s=e.createElement("script"),kt(s),Yt(s,"link",l),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Bo(l,i.precedence,e));return t.instance}function Bo(e,t,i){for(var l=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,d=s,y=0;y<l.length;y++){var v=l[y];if(v.dataset.precedence===t)d=v;else if(d!==s)break}d?d.parentNode.insertBefore(e,d.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function oc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function sc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Io=null;function Ug(e,t,i){if(Io===null){var l=new Map,s=Io=new Map;s.set(i,l)}else s=Io,l=s.get(i),l||(l=new Map,s.set(i,l));if(l.has(e))return l;for(l.set(e,null),i=i.getElementsByTagName(e),s=0;s<i.length;s++){var d=i[s];if(!(d[aa]||d[Tt]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var y=d.getAttribute(t)||"";y=e+y;var v=l.get(y);v?v.push(d):l.set(y,[d])}}return l}function Hg(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function OE(e,t,i){if(i===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function qg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function ME(e,t,i,l){if(i.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var s=ul(l.href),d=t.querySelector(ur(s));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Uo.bind(e),t.then(e,e)),i.state.loading|=4,i.instance=d,kt(d);return}d=t.ownerDocument||t,l=Bg(l),(s=Bn.get(s))&&oc(l,s),d=d.createElement("link"),kt(d);var y=d;y._p=new Promise(function(v,N){y.onload=v,y.onerror=N}),Yt(d,"link",l),i.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=Uo.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}var uc=0;function RE(e,t){return e.stylesheets&&e.count===0&&qo(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var l=setTimeout(function(){if(e.stylesheets&&qo(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+t);0<e.imgBytes&&uc===0&&(uc=62500*dE());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&qo(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>uc?50:800)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function Uo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ho=null;function qo(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ho=new Map,t.forEach(DE,e),Ho=null,Uo.call(e))}function DE(e,t){if(!(t.state.loading&4)){var i=Ho.get(e);if(i)var l=i.get(null);else{i=new Map,Ho.set(e,i);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<s.length;d++){var y=s[d];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(i.set(y.dataset.precedence,y),l=y)}l&&i.set(null,l)}s=t.instance,y=s.getAttribute("data-precedence"),d=i.get(y)||l,d===l&&i.set(null,s),i.set(y,s),this.count++,l=Uo.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),d?d.parentNode.insertBefore(s,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var fr={$$typeof:H,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function LE(e,t,i,l,s,d,y,v,N){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.hiddenUpdates=pt(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=d,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function Fg(e,t,i,l,s,d,y,v,N,I,K,Z){return e=new LE(e,t,i,y,N,I,K,Z,v),t=1,d===!0&&(t|=24),d=En(3,null,null,t),e.current=d,d.stateNode=e,t=Gs(),t.refCount++,e.pooledCache=t,t.refCount++,d.memoizedState={element:l,isDehydrated:i,cache:t},Vs(d),e}function Gg(e){return e?(e=Fa,e):Fa}function Yg(e,t,i,l,s,d){s=Gg(s),l.context===null?l.context=s:l.pendingContext=s,l=Bi(t),l.payload={element:i},d=d===void 0?null:d,d!==null&&(l.callback=d),i=Ii(e,l,t),i!==null&&(fn(i,e,t),Yl(i,e,t))}function jg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function cc(e,t){jg(e,t),(e=e.alternate)&&jg(e,t)}function Kg(e){if(e.tag===13||e.tag===31){var t=ca(e,67108864);t!==null&&fn(t,e,67108864),cc(e,67108864)}}function Vg(e){if(e.tag===13||e.tag===31){var t=Tn();t=ht(t);var i=ca(e,t);i!==null&&fn(i,e,t),cc(e,t)}}var Fo=!0;function zE(e,t,i,l){var s=L.T;L.T=null;var d=$.p;try{$.p=2,fc(e,t,i,l)}finally{$.p=d,L.T=s}}function BE(e,t,i,l){var s=L.T;L.T=null;var d=$.p;try{$.p=8,fc(e,t,i,l)}finally{$.p=d,L.T=s}}function fc(e,t,i,l){if(Fo){var s=dc(l);if(s===null)$u(e,t,l,Go,i),Xg(e,l);else if(UE(s,e,t,i,l))l.stopPropagation();else if(Xg(e,l),t&4&&-1<IE.indexOf(e)){for(;s!==null;){var d=ai(s);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var y=nn(d.pendingLanes);if(y!==0){var v=d;for(v.pendingLanes|=2,v.entangledLanes|=2;y;){var N=1<<31-We(y);v.entanglements[1]|=N,y&=~N}$n(d),($e&6)===0&&(To=yt()+500,lr(0))}}break;case 31:case 13:v=ca(d,2),v!==null&&fn(v,d,2),Ao(),cc(d,2)}if(d=dc(l),d===null&&$u(e,t,l,Go,i),d===s)break;s=d}s!==null&&l.stopPropagation()}else $u(e,t,l,null,i)}}function dc(e){return e=Oe(e),pc(e)}var Go=null;function pc(e){if(Go=null,e=Jt(e),e!==null){var t=f(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=c(t),e!==null)return e;e=null}else if(i===31){if(e=p(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Go=e,null}function Pg(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ka()){case j:return 2;case le:return 8;case xe:case ze:return 32;case Pe:return 268435456;default:return 32}default:return 32}}var gc=!1,Xi=null,Zi=null,Qi=null,dr=new Map,pr=new Map,$i=[],IE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Xg(e,t){switch(e){case"focusin":case"focusout":Xi=null;break;case"dragenter":case"dragleave":Zi=null;break;case"mouseover":case"mouseout":Qi=null;break;case"pointerover":case"pointerout":dr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pr.delete(t.pointerId)}}function gr(e,t,i,l,s,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:i,eventSystemFlags:l,nativeEvent:d,targetContainers:[s]},t!==null&&(t=ai(t),t!==null&&Kg(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function UE(e,t,i,l,s){switch(t){case"focusin":return Xi=gr(Xi,e,t,i,l,s),!0;case"dragenter":return Zi=gr(Zi,e,t,i,l,s),!0;case"mouseover":return Qi=gr(Qi,e,t,i,l,s),!0;case"pointerover":var d=s.pointerId;return dr.set(d,gr(dr.get(d)||null,e,t,i,l,s)),!0;case"gotpointercapture":return d=s.pointerId,pr.set(d,gr(pr.get(d)||null,e,t,i,l,s)),!0}return!1}function Zg(e){var t=Jt(e.target);if(t!==null){var i=f(t);if(i!==null){if(t=i.tag,t===13){if(t=c(i),t!==null){e.blockedOn=t,Ma(e.priority,function(){Vg(i)});return}}else if(t===31){if(t=p(i),t!==null){e.blockedOn=t,Ma(e.priority,function(){Vg(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=dc(e.nativeEvent);if(i===null){i=e.nativeEvent;var l=new i.constructor(i.type,i);he=l,i.target.dispatchEvent(l),he=null}else return t=ai(i),t!==null&&Kg(t),e.blockedOn=i,!1;t.shift()}return!0}function Qg(e,t,i){Yo(e)&&i.delete(t)}function HE(){gc=!1,Xi!==null&&Yo(Xi)&&(Xi=null),Zi!==null&&Yo(Zi)&&(Zi=null),Qi!==null&&Yo(Qi)&&(Qi=null),dr.forEach(Qg),pr.forEach(Qg)}function jo(e,t){e.blockedOn===t&&(e.blockedOn=null,gc||(gc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,HE)))}var Ko=null;function $g(e){Ko!==e&&(Ko=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Ko===e&&(Ko=null);for(var t=0;t<e.length;t+=3){var i=e[t],l=e[t+1],s=e[t+2];if(typeof l!="function"){if(pc(l||i)===null)continue;break}var d=ai(i);d!==null&&(e.splice(t,3),t-=3,du(d,{pending:!0,data:s,method:i.method,action:l},l,s))}}))}function fl(e){function t(N){return jo(N,e)}Xi!==null&&jo(Xi,e),Zi!==null&&jo(Zi,e),Qi!==null&&jo(Qi,e),dr.forEach(t),pr.forEach(t);for(var i=0;i<$i.length;i++){var l=$i[i];l.blockedOn===e&&(l.blockedOn=null)}for(;0<$i.length&&(i=$i[0],i.blockedOn===null);)Zg(i),i.blockedOn===null&&$i.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(l=0;l<i.length;l+=3){var s=i[l],d=i[l+1],y=s[Kt]||null;if(typeof d=="function")y||$g(i);else if(y){var v=null;if(d&&d.hasAttribute("formAction")){if(s=d,y=d[Kt]||null)v=y.formAction;else if(pc(s)!==null)continue}else v=y.action;typeof v=="function"?i[l+1]=v:(i.splice(l,3),l-=3),$g(i)}}}function Jg(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(y){return s=y})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),l||setTimeout(i,20)}function i(){if(!l&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function mc(e){this._internalRoot=e}Vo.prototype.render=mc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var i=t.current,l=Tn();Yg(i,l,e,t,null,null)},Vo.prototype.unmount=mc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Yg(e.current,2,null,e,null,null),Ao(),t[Ni]=null}};function Vo(e){this._internalRoot=e}Vo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Oa();e={blockedOn:null,target:e,priority:t};for(var i=0;i<$i.length&&t!==0&&t<$i[i].priority;i++);$i.splice(i,0,e),i===0&&Zg(e)}};var Wg=a.version;if(Wg!=="19.2.0")throw Error(o(527,Wg,"19.2.0"));$.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=g(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var qE={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Po=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Po.isDisabled&&Po.supportsFiber)try{Ut=Po.inject(qE),_t=Po}catch{}}return hr.createRoot=function(e,t){if(!u(e))throw Error(o(299));var i=!1,l="",s=rp,d=op,y=sp;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=Fg(e,1,!1,null,null,i,l,null,s,d,y,Jg),e[Ni]=t.current,Qu(e),new mc(t)},hr.hydrateRoot=function(e,t,i){if(!u(e))throw Error(o(299));var l=!1,s="",d=rp,y=op,v=sp,N=null;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(s=i.identifierPrefix),i.onUncaughtError!==void 0&&(d=i.onUncaughtError),i.onCaughtError!==void 0&&(y=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError),i.formState!==void 0&&(N=i.formState)),t=Fg(e,1,!0,t,i??null,l,s,N,d,y,v,Jg),t.context=Gg(null),i=t.current,l=Tn(),l=ht(l),s=Bi(l),s.callback=null,Ii(i,s,l),i=l,t.current.lanes=i,st(t,i),$n(t),e[Ni]=t.current,Qu(e),new Vo(t)},hr.version="19.2.0",hr}var um;function QE(){if(um)return yc.exports;um=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),yc.exports=ZE(),yc.exports}var $E=QE();const JE="http://localhost:3030/api/files",WE=()=>{const[n,a]=Ie.useState([]),[r,o]=Ie.useState(!0),[u,f]=Ie.useState(null);return Ie.useEffect(()=>{(async()=>{try{const p=await fetch(JE);if(!p.ok)throw new Error(`API request failed: ${p.status}`);const m=await p.json();a(m.files||[])}catch(p){f(p instanceof Error?p:new Error("Unknown error"))}finally{o(!1)}})()},[]),{files:n,loading:r,error:u}},cm="http://localhost:3030/api/markdown",ph=n=>{const[a,r]=Ie.useState(null),[o,u]=Ie.useState(null),[f,c]=Ie.useState(!0),[p,m]=Ie.useState(null);return Ie.useEffect(()=>{(async()=>{if(n===null){c(!1);return}c(!0),m(null);try{const b=n===void 0?cm:`${cm}/${n}`,h=await fetch(b);if(!h.ok)throw new Error(`API request failed: ${h.status}`);const E=await h.json();r(E.content),u(E.filename)}catch(b){m(b instanceof Error?b:new Error("Unknown error")),r(null),u(null)}finally{c(!1)}})()},[n]),{content:a,filename:o,loading:f,error:p}};function e_(n,a){const[r,o]=Ie.useState(()=>{try{const u=window.localStorage.getItem(n);if(!u)return a;const f=JSON.parse(u);return typeof f!="object"||f===null?(console.warn(`Invalid localStorage data for key: ${n}, resetting`),a):f}catch(u){return console.error("Error reading localStorage:",u),a}});return Ie.useEffect(()=>{try{window.localStorage.setItem(n,JSON.stringify(r))}catch(u){console.error("Error writing to localStorage:",u)}},[n,r]),[r,o]}function t_(n){const a={name:"root",children:new Map,isFile:!1};for(const r of n){const o=r.path.split("/");let u=a;for(let f=0;f<o.length;f++){const c=o[f],p=f===o.length-1;u.children.has(c)||u.children.set(c,{name:c,path:p?r.path:void 0,children:new Map,isFile:p}),u=u.children.get(c)}}return a}function Gc({node:n,selectedFile:a,onFileSelect:r,level:o=0}){const[u,f]=Ie.useState(o===0||o===1);if(n.isFile)return q.jsxs("div",{className:`tree-item file ${a===n.path?"selected":""}`,style:{paddingLeft:`${o*12+8}px`},onClick:()=>n.path&&r(n.path),children:[q.jsx("span",{className:"file-icon",children:"📄"}),q.jsx("span",{className:"file-name",children:n.name})]});const c=Array.from(n.children.entries()).sort((p,m)=>!p[1].isFile&&m[1].isFile?-1:p[1].isFile&&!m[1].isFile?1:p[0].localeCompare(m[0]));return n.name==="root"?q.jsx(q.Fragment,{children:c.map(([,p])=>q.jsx(Gc,{node:p,selectedFile:a,onFileSelect:r,level:0},p.path||p.name))}):q.jsxs("div",{children:[q.jsxs("div",{className:"tree-item directory",style:{paddingLeft:`${o*12+8}px`},onClick:()=>f(!u),children:[q.jsx("svg",{className:"chevron-icon",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",style:{transform:u?"rotate(90deg)":"rotate(0deg)"},children:q.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),q.jsx("span",{className:"folder-icon",children:"📁"}),q.jsx("span",{className:"folder-name",children:n.name})]}),u&&q.jsx("div",{className:"tree-children",children:c.map(([,p])=>q.jsx(Gc,{node:p,selectedFile:a,onFileSelect:r,level:o+1},p.path||p.name))})]})}const n_=({files:n,selectedFile:a,onFileSelect:r,onToggleSidebar:o,autoFocusSearch:u})=>{const[f,c]=Ie.useState(""),p=Ie.useRef(null),m=f?n.filter(b=>b.name.toLowerCase().includes(f.toLowerCase())||b.path.toLowerCase().includes(f.toLowerCase())):n,g=t_(m);return Ie.useEffect(()=>{var b;u&&((b=p.current)==null||b.focus())},[u]),Ie.useEffect(()=>{const b=h=>{var E;h.metaKey&&h.key==="k"&&(h.preventDefault(),(E=p.current)==null||E.focus())};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[]),q.jsxs("div",{className:"file-tree",children:[q.jsxs("div",{className:"file-tree-header",children:[q.jsxs("div",{className:"file-tree-header-content",children:[q.jsx("h3",{children:"Files"}),q.jsxs("span",{className:"file-count",children:[m.length," of ",n.length," files"]})]}),o&&q.jsx("button",{className:"sidebar-collapse-button",onClick:o,"aria-label":"Collapse sidebar",title:"Collapse sidebar",children:q.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:q.jsx("path",{d:"M12 4L6 10L12 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),q.jsx("div",{className:"search-container",children:q.jsxs("div",{className:"search-input-wrapper",children:[q.jsx("span",{className:"search-icon",children:"🔍"}),q.jsx("input",{ref:p,type:"text",className:"search-input",placeholder:"Jump to...",value:f,onChange:b=>c(b.target.value)}),f&&q.jsx("button",{className:"search-clear",onClick:()=>c(""),"aria-label":"Clear search",children:"✕"}),q.jsx("kbd",{className:"search-shortcut",children:"⌘K"})]})}),q.jsx("div",{className:"file-tree-content",children:q.jsx(Gc,{node:g,selectedFile:a,onFileSelect:r})}),q.jsx("div",{className:"file-tree-footer",children:q.jsx("a",{href:"https://github.com/ryo-manba/md-review",target:"_blank",rel:"noopener noreferrer",className:"github-link","aria-label":"View on GitHub",title:"View on GitHub",children:q.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:q.jsx("path",{d:"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"})})})})]})};function i_(n,a){const r={};return(n[n.length-1]===""?[...n,""]:n).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const a_=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l_=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,r_={};function fm(n,a){return(r_.jsx?l_:a_).test(n)}const o_=/[ \t\n\f\r]/g;function s_(n){return typeof n=="object"?n.type==="text"?dm(n.value):!1:dm(n)}function dm(n){return n.replace(o_,"")===""}class wr{constructor(a,r,o){this.normal=r,this.property=a,o&&(this.space=o)}}wr.prototype.normal={};wr.prototype.property={};wr.prototype.space=void 0;function gh(n,a){const r={},o={};for(const u of n)Object.assign(r,u.property),Object.assign(o,u.normal);return new wr(r,o,a)}function Yc(n){return n.toLowerCase()}class pn{constructor(a,r){this.attribute=r,this.property=a}}pn.prototype.attribute="";pn.prototype.booleanish=!1;pn.prototype.boolean=!1;pn.prototype.commaOrSpaceSeparated=!1;pn.prototype.commaSeparated=!1;pn.prototype.defined=!1;pn.prototype.mustUseProperty=!1;pn.prototype.number=!1;pn.prototype.overloadedBoolean=!1;pn.prototype.property="";pn.prototype.spaceSeparated=!1;pn.prototype.space=void 0;let u_=0;const De=Na(),Lt=Na(),jc=Na(),ie=Na(),dt=Na(),bl=Na(),Nn=Na();function Na(){return 2**++u_}const Kc=Object.freeze(Object.defineProperty({__proto__:null,boolean:De,booleanish:Lt,commaOrSpaceSeparated:Nn,commaSeparated:bl,number:ie,overloadedBoolean:jc,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),Sc=Object.keys(Kc);class lf extends pn{constructor(a,r,o,u){let f=-1;if(super(a,r),pm(this,"space",u),typeof o=="number")for(;++f<Sc.length;){const c=Sc[f];pm(this,Sc[f],(o&Kc[c])===Kc[c])}}}lf.prototype.defined=!0;function pm(n,a,r){r&&(n[a]=r)}function El(n){const a={},r={};for(const[o,u]of Object.entries(n.properties)){const f=new lf(o,n.transform(n.attributes||{},o),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(o)&&(f.mustUseProperty=!0),a[o]=f,r[Yc(o)]=o,r[Yc(f.attribute)]=o}return new wr(a,r,n.space)}const mh=El({properties:{ariaActiveDescendant:null,ariaAtomic:Lt,ariaAutoComplete:null,ariaBusy:Lt,ariaChecked:Lt,ariaColCount:ie,ariaColIndex:ie,ariaColSpan:ie,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:Lt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:Lt,ariaFlowTo:dt,ariaGrabbed:Lt,ariaHasPopup:null,ariaHidden:Lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:ie,ariaLive:null,ariaModal:Lt,ariaMultiLine:Lt,ariaMultiSelectable:Lt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:ie,ariaPressed:Lt,ariaReadOnly:Lt,ariaRelevant:null,ariaRequired:Lt,ariaRoleDescription:dt,ariaRowCount:ie,ariaRowIndex:ie,ariaRowSpan:ie,ariaSelected:Lt,ariaSetSize:ie,ariaSort:null,ariaValueMax:ie,ariaValueMin:ie,ariaValueNow:ie,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function hh(n,a){return a in n?n[a]:a}function bh(n,a){return hh(n,a.toLowerCase())}const c_=El({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:bl,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:De,allowPaymentRequest:De,allowUserMedia:De,alt:null,as:null,async:De,autoCapitalize:null,autoComplete:dt,autoFocus:De,autoPlay:De,blocking:dt,capture:null,charSet:null,checked:De,cite:null,className:dt,cols:ie,colSpan:null,content:null,contentEditable:Lt,controls:De,controlsList:dt,coords:ie|bl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:De,defer:De,dir:null,dirName:null,disabled:De,download:jc,draggable:Lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:De,formTarget:null,headers:dt,height:ie,hidden:jc,high:ie,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:De,inputMode:null,integrity:null,is:null,isMap:De,itemId:null,itemProp:dt,itemRef:dt,itemScope:De,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:De,low:ie,manifest:null,max:null,maxLength:ie,media:null,method:null,min:null,minLength:ie,multiple:De,muted:De,name:null,nonce:null,noModule:De,noValidate:De,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:De,optimum:ie,pattern:null,ping:dt,placeholder:null,playsInline:De,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:De,referrerPolicy:null,rel:dt,required:De,reversed:De,rows:ie,rowSpan:ie,sandbox:dt,scope:null,scoped:De,seamless:De,selected:De,shadowRootClonable:De,shadowRootDelegatesFocus:De,shadowRootMode:null,shape:null,size:ie,sizes:null,slot:null,span:ie,spellCheck:Lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ie,step:null,style:null,tabIndex:ie,target:null,title:null,translate:null,type:null,typeMustMatch:De,useMap:null,value:Lt,width:ie,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:ie,borderColor:null,bottomMargin:ie,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:De,declare:De,event:null,face:null,frame:null,frameBorder:null,hSpace:ie,leftMargin:ie,link:null,longDesc:null,lowSrc:null,marginHeight:ie,marginWidth:ie,noResize:De,noHref:De,noShade:De,noWrap:De,object:null,profile:null,prompt:null,rev:null,rightMargin:ie,rules:null,scheme:null,scrolling:Lt,standby:null,summary:null,text:null,topMargin:ie,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ie,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:De,disableRemotePlayback:De,prefix:null,property:null,results:ie,security:null,unselectable:null},space:"html",transform:bh}),f_=El({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:Nn,accentHeight:ie,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ie,amplitude:ie,arabicForm:null,ascent:ie,attributeName:null,attributeType:null,azimuth:ie,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ie,by:null,calcMode:null,capHeight:ie,className:dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ie,diffuseConstant:ie,direction:null,display:null,dur:null,divisor:ie,dominantBaseline:null,download:De,dx:null,dy:null,edgeMode:null,editable:null,elevation:ie,enableBackground:null,end:null,event:null,exponent:ie,externalResourcesRequired:null,fill:null,fillOpacity:ie,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:bl,g2:bl,glyphName:bl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ie,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ie,horizOriginX:ie,horizOriginY:ie,id:null,ideographic:ie,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ie,k:ie,k1:ie,k2:ie,k3:ie,k4:ie,kernelMatrix:Nn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ie,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:ie,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:ie,overlineThickness:ie,paintOrder:null,panose1:null,path:null,pathLength:ie,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ie,pointsAtY:ie,pointsAtZ:ie,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Nn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Nn,rev:Nn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Nn,requiredFeatures:Nn,requiredFonts:Nn,requiredFormats:Nn,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:ie,specularExponent:ie,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ie,strikethroughThickness:ie,string:null,stroke:null,strokeDashArray:Nn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ie,strokeOpacity:ie,strokeWidth:null,style:null,surfaceScale:ie,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Nn,tabIndex:ie,tableValues:null,target:null,targetX:ie,targetY:ie,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Nn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ie,underlineThickness:ie,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ie,values:null,vAlphabetic:ie,vMathematical:ie,vectorEffect:null,vHanging:ie,vIdeographic:ie,version:null,vertAdvY:ie,vertOriginX:ie,vertOriginY:ie,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ie,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hh}),yh=El({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),Eh=El({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:bh}),_h=El({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),d_={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"},p_=/[A-Z]/g,gm=/-[a-z]/g,g_=/^data[-\w.:]+$/i;function m_(n,a){const r=Yc(a);let o=a,u=pn;if(r in n.normal)return n.property[n.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&g_.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(gm,b_);o="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!gm.test(f)){let c=f.replace(p_,h_);c.charAt(0)!=="-"&&(c="-"+c),a="data"+c}}u=lf}return new u(o,a)}function h_(n){return"-"+n.toLowerCase()}function b_(n){return n.charAt(1).toUpperCase()}const y_=gh([mh,c_,yh,Eh,_h],"html"),rf=gh([mh,f_,yh,Eh,_h],"svg");function E_(n){return n.join(" ").trim()}var dl={},xc,mm;function __(){if(mm)return xc;mm=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,p=/^\s+|\s+$/g,m=`
|
|
49
|
+
`).replace(cE,"")}function vg(e,t){return t=_g(t),_g(e)===t}function lt(e,t,i,l,s,d){switch(i){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Ne(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Ne(e,""+l);break;case"className":hn(e,"class",l);break;case"tabIndex":hn(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":hn(e,i,l);break;case"style":tt(e,l,d);break;case"data":if(t!=="object"){hn(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||i!=="href")){e.removeAttribute(i);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(i);break}l=Ci(""+l),e.setAttribute(i,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(i==="formAction"?(t!=="input"&<(e,t,"name",s.name,s,null),lt(e,t,"formEncType",s.formEncType,s,null),lt(e,t,"formMethod",s.formMethod,s,null),lt(e,t,"formTarget",s.formTarget,s,null)):(lt(e,t,"encType",s.encType,s,null),lt(e,t,"method",s.method,s,null),lt(e,t,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(i);break}l=Ci(""+l),e.setAttribute(i,l);break;case"onClick":l!=null&&(e.onclick=se);break;case"onScroll":l!=null&&He("scroll",e);break;case"onScrollEnd":l!=null&&He("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(i=l.__html,i!=null){if(s.children!=null)throw Error(o(60));e.innerHTML=i}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}i=Ci(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(i,""+l):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":l===!0?e.setAttribute(i,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(i,l):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(i,l):e.removeAttribute(i);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(i):e.setAttribute(i,l);break;case"popover":He("beforetoggle",e),He("toggle",e),Vt(e,"popover",l);break;case"xlinkActuate":an(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":an(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":an(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":an(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":an(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":an(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":an(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":an(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":an(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Vt(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=ri.get(i)||i,Vt(e,i,l))}}function Ju(e,t,i,l,s,d){switch(i){case"style":tt(e,l,d);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(i=l.__html,i!=null){if(s.children!=null)throw Error(o(60));e.innerHTML=i}}break;case"children":typeof l=="string"?Ne(e,l):(typeof l=="number"||typeof l=="bigint")&&Ne(e,""+l);break;case"onScroll":l!=null&&He("scroll",e);break;case"onScrollEnd":l!=null&&He("scrollend",e);break;case"onClick":l!=null&&(e.onclick=se);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!la.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(s=i.endsWith("Capture"),t=i.slice(2,s?i.length-7:void 0),d=e[Kt]||null,d=d!=null?d[i]:null,typeof d=="function"&&e.removeEventListener(t,d,s),typeof l=="function")){typeof d!="function"&&d!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,l,s);break e}i in e?e[i]=l:l===!0?e.setAttribute(i,""):Vt(e,i,l)}}}function Yt(e,t,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",e),He("load",e);var l=!1,s=!1,d;for(d in i)if(i.hasOwnProperty(d)){var y=i[d];if(y!=null)switch(d){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:lt(e,t,d,y,i,null)}}s&<(e,t,"srcSet",i.srcSet,i,null),l&<(e,t,"src",i.src,i,null);return;case"input":He("invalid",e);var v=d=y=s=null,N=null,I=null;for(l in i)if(i.hasOwnProperty(l)){var K=i[l];if(K!=null)switch(l){case"name":s=K;break;case"type":y=K;break;case"checked":N=K;break;case"defaultChecked":I=K;break;case"value":d=K;break;case"defaultValue":v=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(o(137,t));break;default:lt(e,t,l,K,i,null)}}ra(e,d,v,N,I,y,s,!1);return;case"select":He("invalid",e),l=y=d=null;for(s in i)if(i.hasOwnProperty(s)&&(v=i[s],v!=null))switch(s){case"value":d=v;break;case"defaultValue":y=v;break;case"multiple":l=v;default:lt(e,t,s,v,i,null)}t=d,i=y,e.multiple=!!l,t!=null?Ht(e,!!l,t,!1):i!=null&&Ht(e,!!l,i,!0);return;case"textarea":He("invalid",e),d=s=l=null;for(y in i)if(i.hasOwnProperty(y)&&(v=i[y],v!=null))switch(y){case"value":l=v;break;case"defaultValue":s=v;break;case"children":d=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(91));break;default:lt(e,t,y,v,i,null)}Ba(e,l,s,d);return;case"option":for(N in i)if(i.hasOwnProperty(N)&&(l=i[N],l!=null))switch(N){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:lt(e,t,N,l,i,null)}return;case"dialog":He("beforetoggle",e),He("toggle",e),He("cancel",e),He("close",e);break;case"iframe":case"object":He("load",e);break;case"video":case"audio":for(l=0;l<rr.length;l++)He(rr[l],e);break;case"image":He("error",e),He("load",e);break;case"details":He("toggle",e);break;case"embed":case"source":case"link":He("error",e),He("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(I in i)if(i.hasOwnProperty(I)&&(l=i[I],l!=null))switch(I){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:lt(e,t,I,l,i,null)}return;default:if(ki(t)){for(K in i)i.hasOwnProperty(K)&&(l=i[K],l!==void 0&&Ju(e,t,K,l,i,void 0));return}}for(v in i)i.hasOwnProperty(v)&&(l=i[v],l!=null&<(e,t,v,l,i,null))}function fE(e,t,i,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,d=null,y=null,v=null,N=null,I=null,K=null;for(F in i){var Z=i[F];if(i.hasOwnProperty(F)&&Z!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":N=Z;default:l.hasOwnProperty(F)||lt(e,t,F,null,l,Z)}}for(var U in l){var F=l[U];if(Z=i[U],l.hasOwnProperty(U)&&(F!=null||Z!=null))switch(U){case"type":d=F;break;case"name":s=F;break;case"checked":I=F;break;case"defaultChecked":K=F;break;case"value":y=F;break;case"defaultValue":v=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(o(137,t));break;default:F!==Z&<(e,t,U,F,l,Z)}}Nl(e,y,v,N,I,K,d,s);return;case"select":F=y=v=U=null;for(d in i)if(N=i[d],i.hasOwnProperty(d)&&N!=null)switch(d){case"value":break;case"multiple":F=N;default:l.hasOwnProperty(d)||lt(e,t,d,null,l,N)}for(s in l)if(d=l[s],N=i[s],l.hasOwnProperty(s)&&(d!=null||N!=null))switch(s){case"value":U=d;break;case"defaultValue":v=d;break;case"multiple":y=d;default:d!==N&<(e,t,s,d,l,N)}t=v,i=y,l=F,U!=null?Ht(e,!!i,U,!1):!!l!=!!i&&(t!=null?Ht(e,!!i,t,!0):Ht(e,!!i,i?[]:"",!1));return;case"textarea":F=U=null;for(v in i)if(s=i[v],i.hasOwnProperty(v)&&s!=null&&!l.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:lt(e,t,v,null,l,s)}for(y in l)if(s=l[y],d=i[y],l.hasOwnProperty(y)&&(s!=null||d!=null))switch(y){case"value":U=s;break;case"defaultValue":F=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(o(91));break;default:s!==d&<(e,t,y,s,l,d)}Br(e,U,F);return;case"option":for(var pe in i)if(U=i[pe],i.hasOwnProperty(pe)&&U!=null&&!l.hasOwnProperty(pe))switch(pe){case"selected":e.selected=!1;break;default:lt(e,t,pe,null,l,U)}for(N in l)if(U=l[N],F=i[N],l.hasOwnProperty(N)&&U!==F&&(U!=null||F!=null))switch(N){case"selected":e.selected=U&&typeof U!="function"&&typeof U!="symbol";break;default:lt(e,t,N,U,l,F)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Te in i)U=i[Te],i.hasOwnProperty(Te)&&U!=null&&!l.hasOwnProperty(Te)&<(e,t,Te,null,l,U);for(I in l)if(U=l[I],F=i[I],l.hasOwnProperty(I)&&U!==F&&(U!=null||F!=null))switch(I){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(o(137,t));break;default:lt(e,t,I,U,l,F)}return;default:if(ki(t)){for(var rt in i)U=i[rt],i.hasOwnProperty(rt)&&U!==void 0&&!l.hasOwnProperty(rt)&&Ju(e,t,rt,void 0,l,U);for(K in l)U=l[K],F=i[K],!l.hasOwnProperty(K)||U===F||U===void 0&&F===void 0||Ju(e,t,K,U,l,F);return}}for(var R in i)U=i[R],i.hasOwnProperty(R)&&U!=null&&!l.hasOwnProperty(R)&<(e,t,R,null,l,U);for(Z in l)U=l[Z],F=i[Z],!l.hasOwnProperty(Z)||U===F||U==null&&F==null||lt(e,t,Z,U,l,F)}function Sg(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),l=0;l<i.length;l++){var s=i[l],d=s.transferSize,y=s.initiatorType,v=s.duration;if(d&&v&&Sg(y)){for(y=0,v=s.responseEnd,l+=1;l<i.length;l++){var N=i[l],I=N.startTime;if(I>v)break;var K=N.transferSize,Z=N.initiatorType;K&&Sg(Z)&&(N=N.responseEnd,y+=K*(N<v?1:(v-I)/(N-I)))}if(--l,t+=8*(d+y)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Wu=null,ec=null;function Lo(e){return e.nodeType===9?e:e.ownerDocument}function xg(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Tg(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function tc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var nc=null;function pE(){var e=window.event;return e&&e.type==="popstate"?e===nc?!1:(nc=e,!0):(nc=null,!1)}var Ng=typeof setTimeout=="function"?setTimeout:void 0,gE=typeof clearTimeout=="function"?clearTimeout:void 0,Ag=typeof Promise=="function"?Promise:void 0,mE=typeof queueMicrotask=="function"?queueMicrotask:typeof Ag<"u"?function(e){return Ag.resolve(null).then(e).catch(hE)}:Ng;function hE(e){setTimeout(function(){throw e})}function Pi(e){return e==="head"}function wg(e,t){var i=t,l=0;do{var s=i.nextSibling;if(e.removeChild(i),s&&s.nodeType===8)if(i=s.data,i==="/$"||i==="/&"){if(l===0){e.removeChild(s),fl(t);return}l--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")l++;else if(i==="html")sr(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,sr(i);for(var d=i.firstChild;d;){var y=d.nextSibling,v=d.nodeName;d[aa]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&d.rel.toLowerCase()==="stylesheet"||i.removeChild(d),d=y}}else i==="body"&&sr(e.ownerDocument.body);i=s}while(i);fl(t)}function kg(e,t){var i=e;e=0;do{var l=i.nextSibling;if(i.nodeType===1?t?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(t?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),l&&l.nodeType===8)if(i=l.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=l}while(i)}function ic(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var i=t;switch(t=t.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":ic(i),xl(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function bE(e,t,i,l){for(;e.nodeType===1;){var s=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[aa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var d=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=zn(e.nextSibling),e===null)break}return null}function yE(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=zn(e.nextSibling),e===null))return null;return e}function Cg(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=zn(e.nextSibling),e===null))return null;return e}function ac(e){return e.data==="$?"||e.data==="$~"}function lc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function EE(e,t){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||i.readyState!=="loading")t();else{var l=function(){t(),i.removeEventListener("DOMContentLoaded",l)};i.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function zn(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var rc=null;function Og(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(t===0)return zn(e.nextSibling);t--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||t++}e=e.nextSibling}return null}function Mg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(t===0)return e;t--}else i!=="/$"&&i!=="/&"||t++}e=e.previousSibling}return null}function Rg(e,t,i){switch(t=Lo(i),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function sr(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);xl(e)}var Bn=new Map,Dg=new Set;function zo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Si=$.d;$.d={f:_E,r:vE,D:SE,C:xE,L:TE,m:NE,X:wE,S:AE,M:kE};function _E(){var e=Si.f(),t=Ao();return e||t}function vE(e){var t=ai(e);t!==null&&t.tag===5&&t.type==="form"?Qd(t):Si.r(e)}var sl=typeof document>"u"?null:document;function Lg(e,t,i){var l=sl;if(l&&typeof t=="string"&&t){var s=ln(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof i=="string"&&(s+='[crossorigin="'+i+'"]'),Dg.has(s)||(Dg.add(s),e={rel:e,crossOrigin:i,href:t},l.querySelector(s)===null&&(t=l.createElement("link"),Yt(t,"link",e),kt(t),l.head.appendChild(t)))}}function SE(e){Si.D(e),Lg("dns-prefetch",e,null)}function xE(e,t){Si.C(e,t),Lg("preconnect",e,t)}function TE(e,t,i){Si.L(e,t,i);var l=sl;if(l&&e&&t){var s='link[rel="preload"][as="'+ln(t)+'"]';t==="image"&&i&&i.imageSrcSet?(s+='[imagesrcset="'+ln(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(s+='[imagesizes="'+ln(i.imageSizes)+'"]')):s+='[href="'+ln(e)+'"]';var d=s;switch(t){case"style":d=ul(e);break;case"script":d=cl(e)}Bn.has(d)||(e=h({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),Bn.set(d,e),l.querySelector(s)!==null||t==="style"&&l.querySelector(ur(d))||t==="script"&&l.querySelector(cr(d))||(t=l.createElement("link"),Yt(t,"link",e),kt(t),l.head.appendChild(t)))}}function NE(e,t){Si.m(e,t);var i=sl;if(i&&e){var l=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+ln(l)+'"][href="'+ln(e)+'"]',d=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=cl(e)}if(!Bn.has(d)&&(e=h({rel:"modulepreload",href:e},t),Bn.set(d,e),i.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(cr(d)))return}l=i.createElement("link"),Yt(l,"link",e),kt(l),i.head.appendChild(l)}}}function AE(e,t,i){Si.S(e,t,i);var l=sl;if(l&&e){var s=wi(l).hoistableStyles,d=ul(e);t=t||"default";var y=s.get(d);if(!y){var v={loading:0,preload:null};if(y=l.querySelector(ur(d)))v.loading=5;else{e=h({rel:"stylesheet",href:e,"data-precedence":t},i),(i=Bn.get(d))&&oc(e,i);var N=y=l.createElement("link");kt(N),Yt(N,"link",e),N._p=new Promise(function(I,K){N.onload=I,N.onerror=K}),N.addEventListener("load",function(){v.loading|=1}),N.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Bo(y,t,l)}y={type:"stylesheet",instance:y,count:1,state:v},s.set(d,y)}}}function wE(e,t){Si.X(e,t);var i=sl;if(i&&e){var l=wi(i).hoistableScripts,s=cl(e),d=l.get(s);d||(d=i.querySelector(cr(s)),d||(e=h({src:e,async:!0},t),(t=Bn.get(s))&&sc(e,t),d=i.createElement("script"),kt(d),Yt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(s,d))}}function kE(e,t){Si.M(e,t);var i=sl;if(i&&e){var l=wi(i).hoistableScripts,s=cl(e),d=l.get(s);d||(d=i.querySelector(cr(s)),d||(e=h({src:e,async:!0,type:"module"},t),(t=Bn.get(s))&&sc(e,t),d=i.createElement("script"),kt(d),Yt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(s,d))}}function zg(e,t,i,l){var s=(s=me.current)?zo(s):null;if(!s)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(t=ul(i.href),i=wi(s).hoistableStyles,l=i.get(t),l||(l={type:"style",instance:null,count:0,state:null},i.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=ul(i.href);var d=wi(s).hoistableStyles,y=d.get(e);if(y||(s=s.ownerDocument||s,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,y),(d=s.querySelector(ur(e)))&&!d._p&&(y.instance=d,y.state.loading=5),Bn.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Bn.set(e,i),d||CE(s,e,i,y.state))),t&&l===null)throw Error(o(528,""));return y}if(t&&l!==null)throw Error(o(529,""));return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=cl(i),i=wi(s).hoistableScripts,l=i.get(t),l||(l={type:"script",instance:null,count:0,state:null},i.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function ul(e){return'href="'+ln(e)+'"'}function ur(e){return'link[rel="stylesheet"]['+e+"]"}function Bg(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function CE(e,t,i,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Yt(t,"link",i),kt(t),e.head.appendChild(t))}function cl(e){return'[src="'+ln(e)+'"]'}function cr(e){return"script[async]"+e}function Ig(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+ln(i.href)+'"]');if(l)return t.instance=l,kt(l),l;var s=h({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),kt(l),Yt(l,"style",s),Bo(l,i.precedence,e),t.instance=l;case"stylesheet":s=ul(i.href);var d=e.querySelector(ur(s));if(d)return t.state.loading|=4,t.instance=d,kt(d),d;l=Bg(i),(s=Bn.get(s))&&oc(l,s),d=(e.ownerDocument||e).createElement("link"),kt(d);var y=d;return y._p=new Promise(function(v,N){y.onload=v,y.onerror=N}),Yt(d,"link",l),t.state.loading|=4,Bo(d,i.precedence,e),t.instance=d;case"script":return d=cl(i.src),(s=e.querySelector(cr(d)))?(t.instance=s,kt(s),s):(l=i,(s=Bn.get(d))&&(l=h({},i),sc(l,s)),e=e.ownerDocument||e,s=e.createElement("script"),kt(s),Yt(s,"link",l),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Bo(l,i.precedence,e));return t.instance}function Bo(e,t,i){for(var l=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,d=s,y=0;y<l.length;y++){var v=l[y];if(v.dataset.precedence===t)d=v;else if(d!==s)break}d?d.parentNode.insertBefore(e,d.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function oc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function sc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Io=null;function Ug(e,t,i){if(Io===null){var l=new Map,s=Io=new Map;s.set(i,l)}else s=Io,l=s.get(i),l||(l=new Map,s.set(i,l));if(l.has(e))return l;for(l.set(e,null),i=i.getElementsByTagName(e),s=0;s<i.length;s++){var d=i[s];if(!(d[aa]||d[Tt]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var y=d.getAttribute(t)||"";y=e+y;var v=l.get(y);v?v.push(d):l.set(y,[d])}}return l}function Hg(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function OE(e,t,i){if(i===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function qg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function ME(e,t,i,l){if(i.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var s=ul(l.href),d=t.querySelector(ur(s));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Uo.bind(e),t.then(e,e)),i.state.loading|=4,i.instance=d,kt(d);return}d=t.ownerDocument||t,l=Bg(l),(s=Bn.get(s))&&oc(l,s),d=d.createElement("link"),kt(d);var y=d;y._p=new Promise(function(v,N){y.onload=v,y.onerror=N}),Yt(d,"link",l),i.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=Uo.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}var uc=0;function RE(e,t){return e.stylesheets&&e.count===0&&qo(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var l=setTimeout(function(){if(e.stylesheets&&qo(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+t);0<e.imgBytes&&uc===0&&(uc=62500*dE());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&qo(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>uc?50:800)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function Uo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ho=null;function qo(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ho=new Map,t.forEach(DE,e),Ho=null,Uo.call(e))}function DE(e,t){if(!(t.state.loading&4)){var i=Ho.get(e);if(i)var l=i.get(null);else{i=new Map,Ho.set(e,i);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<s.length;d++){var y=s[d];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(i.set(y.dataset.precedence,y),l=y)}l&&i.set(null,l)}s=t.instance,y=s.getAttribute("data-precedence"),d=i.get(y)||l,d===l&&i.set(null,s),i.set(y,s),this.count++,l=Uo.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),d?d.parentNode.insertBefore(s,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var fr={$$typeof:H,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function LE(e,t,i,l,s,d,y,v,N){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.hiddenUpdates=pt(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=d,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function Fg(e,t,i,l,s,d,y,v,N,I,K,Z){return e=new LE(e,t,i,y,N,I,K,Z,v),t=1,d===!0&&(t|=24),d=En(3,null,null,t),e.current=d,d.stateNode=e,t=Gs(),t.refCount++,e.pooledCache=t,t.refCount++,d.memoizedState={element:l,isDehydrated:i,cache:t},Vs(d),e}function Gg(e){return e?(e=Fa,e):Fa}function Yg(e,t,i,l,s,d){s=Gg(s),l.context===null?l.context=s:l.pendingContext=s,l=Bi(t),l.payload={element:i},d=d===void 0?null:d,d!==null&&(l.callback=d),i=Ii(e,l,t),i!==null&&(fn(i,e,t),Yl(i,e,t))}function jg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function cc(e,t){jg(e,t),(e=e.alternate)&&jg(e,t)}function Kg(e){if(e.tag===13||e.tag===31){var t=ca(e,67108864);t!==null&&fn(t,e,67108864),cc(e,67108864)}}function Vg(e){if(e.tag===13||e.tag===31){var t=Tn();t=ht(t);var i=ca(e,t);i!==null&&fn(i,e,t),cc(e,t)}}var Fo=!0;function zE(e,t,i,l){var s=L.T;L.T=null;var d=$.p;try{$.p=2,fc(e,t,i,l)}finally{$.p=d,L.T=s}}function BE(e,t,i,l){var s=L.T;L.T=null;var d=$.p;try{$.p=8,fc(e,t,i,l)}finally{$.p=d,L.T=s}}function fc(e,t,i,l){if(Fo){var s=dc(l);if(s===null)$u(e,t,l,Go,i),Xg(e,l);else if(UE(s,e,t,i,l))l.stopPropagation();else if(Xg(e,l),t&4&&-1<IE.indexOf(e)){for(;s!==null;){var d=ai(s);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var y=nn(d.pendingLanes);if(y!==0){var v=d;for(v.pendingLanes|=2,v.entangledLanes|=2;y;){var N=1<<31-We(y);v.entanglements[1]|=N,y&=~N}$n(d),($e&6)===0&&(To=yt()+500,lr(0))}}break;case 31:case 13:v=ca(d,2),v!==null&&fn(v,d,2),Ao(),cc(d,2)}if(d=dc(l),d===null&&$u(e,t,l,Go,i),d===s)break;s=d}s!==null&&l.stopPropagation()}else $u(e,t,l,null,i)}}function dc(e){return e=Oe(e),pc(e)}var Go=null;function pc(e){if(Go=null,e=Jt(e),e!==null){var t=f(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=c(t),e!==null)return e;e=null}else if(i===31){if(e=p(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Go=e,null}function Pg(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ka()){case j:return 2;case le:return 8;case xe:case ze:return 32;case Pe:return 268435456;default:return 32}default:return 32}}var gc=!1,Xi=null,Zi=null,Qi=null,dr=new Map,pr=new Map,$i=[],IE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Xg(e,t){switch(e){case"focusin":case"focusout":Xi=null;break;case"dragenter":case"dragleave":Zi=null;break;case"mouseover":case"mouseout":Qi=null;break;case"pointerover":case"pointerout":dr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pr.delete(t.pointerId)}}function gr(e,t,i,l,s,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:i,eventSystemFlags:l,nativeEvent:d,targetContainers:[s]},t!==null&&(t=ai(t),t!==null&&Kg(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function UE(e,t,i,l,s){switch(t){case"focusin":return Xi=gr(Xi,e,t,i,l,s),!0;case"dragenter":return Zi=gr(Zi,e,t,i,l,s),!0;case"mouseover":return Qi=gr(Qi,e,t,i,l,s),!0;case"pointerover":var d=s.pointerId;return dr.set(d,gr(dr.get(d)||null,e,t,i,l,s)),!0;case"gotpointercapture":return d=s.pointerId,pr.set(d,gr(pr.get(d)||null,e,t,i,l,s)),!0}return!1}function Zg(e){var t=Jt(e.target);if(t!==null){var i=f(t);if(i!==null){if(t=i.tag,t===13){if(t=c(i),t!==null){e.blockedOn=t,Ma(e.priority,function(){Vg(i)});return}}else if(t===31){if(t=p(i),t!==null){e.blockedOn=t,Ma(e.priority,function(){Vg(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=dc(e.nativeEvent);if(i===null){i=e.nativeEvent;var l=new i.constructor(i.type,i);he=l,i.target.dispatchEvent(l),he=null}else return t=ai(i),t!==null&&Kg(t),e.blockedOn=i,!1;t.shift()}return!0}function Qg(e,t,i){Yo(e)&&i.delete(t)}function HE(){gc=!1,Xi!==null&&Yo(Xi)&&(Xi=null),Zi!==null&&Yo(Zi)&&(Zi=null),Qi!==null&&Yo(Qi)&&(Qi=null),dr.forEach(Qg),pr.forEach(Qg)}function jo(e,t){e.blockedOn===t&&(e.blockedOn=null,gc||(gc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,HE)))}var Ko=null;function $g(e){Ko!==e&&(Ko=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Ko===e&&(Ko=null);for(var t=0;t<e.length;t+=3){var i=e[t],l=e[t+1],s=e[t+2];if(typeof l!="function"){if(pc(l||i)===null)continue;break}var d=ai(i);d!==null&&(e.splice(t,3),t-=3,du(d,{pending:!0,data:s,method:i.method,action:l},l,s))}}))}function fl(e){function t(N){return jo(N,e)}Xi!==null&&jo(Xi,e),Zi!==null&&jo(Zi,e),Qi!==null&&jo(Qi,e),dr.forEach(t),pr.forEach(t);for(var i=0;i<$i.length;i++){var l=$i[i];l.blockedOn===e&&(l.blockedOn=null)}for(;0<$i.length&&(i=$i[0],i.blockedOn===null);)Zg(i),i.blockedOn===null&&$i.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(l=0;l<i.length;l+=3){var s=i[l],d=i[l+1],y=s[Kt]||null;if(typeof d=="function")y||$g(i);else if(y){var v=null;if(d&&d.hasAttribute("formAction")){if(s=d,y=d[Kt]||null)v=y.formAction;else if(pc(s)!==null)continue}else v=y.action;typeof v=="function"?i[l+1]=v:(i.splice(l,3),l-=3),$g(i)}}}function Jg(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(y){return s=y})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),l||setTimeout(i,20)}function i(){if(!l&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function mc(e){this._internalRoot=e}Vo.prototype.render=mc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var i=t.current,l=Tn();Yg(i,l,e,t,null,null)},Vo.prototype.unmount=mc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Yg(e.current,2,null,e,null,null),Ao(),t[Ni]=null}};function Vo(e){this._internalRoot=e}Vo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Oa();e={blockedOn:null,target:e,priority:t};for(var i=0;i<$i.length&&t!==0&&t<$i[i].priority;i++);$i.splice(i,0,e),i===0&&Zg(e)}};var Wg=a.version;if(Wg!=="19.2.0")throw Error(o(527,Wg,"19.2.0"));$.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=g(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var qE={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Po=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Po.isDisabled&&Po.supportsFiber)try{Ut=Po.inject(qE),_t=Po}catch{}}return hr.createRoot=function(e,t){if(!u(e))throw Error(o(299));var i=!1,l="",s=rp,d=op,y=sp;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=Fg(e,1,!1,null,null,i,l,null,s,d,y,Jg),e[Ni]=t.current,Qu(e),new mc(t)},hr.hydrateRoot=function(e,t,i){if(!u(e))throw Error(o(299));var l=!1,s="",d=rp,y=op,v=sp,N=null;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(s=i.identifierPrefix),i.onUncaughtError!==void 0&&(d=i.onUncaughtError),i.onCaughtError!==void 0&&(y=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError),i.formState!==void 0&&(N=i.formState)),t=Fg(e,1,!0,t,i??null,l,s,N,d,y,v,Jg),t.context=Gg(null),i=t.current,l=Tn(),l=ht(l),s=Bi(l),s.callback=null,Ii(i,s,l),i=l,t.current.lanes=i,st(t,i),$n(t),e[Ni]=t.current,Qu(e),new Vo(t)},hr.version="19.2.0",hr}var um;function QE(){if(um)return yc.exports;um=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),yc.exports=ZE(),yc.exports}var $E=QE();const JE="/api/files",WE=()=>{const[n,a]=Ie.useState([]),[r,o]=Ie.useState(!0),[u,f]=Ie.useState(null);return Ie.useEffect(()=>{(async()=>{try{const p=await fetch(JE);if(!p.ok)throw new Error(`API request failed: ${p.status}`);const m=await p.json();a(m.files||[])}catch(p){f(p instanceof Error?p:new Error("Unknown error"))}finally{o(!1)}})()},[]),{files:n,loading:r,error:u}},cm="/api/markdown",ph=n=>{const[a,r]=Ie.useState(null),[o,u]=Ie.useState(null),[f,c]=Ie.useState(!0),[p,m]=Ie.useState(null);return Ie.useEffect(()=>{(async()=>{if(n===null){c(!1);return}c(!0),m(null);try{const b=n===void 0?cm:`${cm}/${n}`,h=await fetch(b);if(!h.ok)throw new Error(`API request failed: ${h.status}`);const E=await h.json();r(E.content),u(E.filename)}catch(b){m(b instanceof Error?b:new Error("Unknown error")),r(null),u(null)}finally{c(!1)}})()},[n]),{content:a,filename:o,loading:f,error:p}};function e_(n,a){const[r,o]=Ie.useState(()=>{try{const u=window.localStorage.getItem(n);if(!u)return a;const f=JSON.parse(u);return typeof f!="object"||f===null?(console.warn(`Invalid localStorage data for key: ${n}, resetting`),a):f}catch(u){return console.error("Error reading localStorage:",u),a}});return Ie.useEffect(()=>{try{window.localStorage.setItem(n,JSON.stringify(r))}catch(u){console.error("Error writing to localStorage:",u)}},[n,r]),[r,o]}function t_(n){const a={name:"root",children:new Map,isFile:!1};for(const r of n){const o=r.path.split("/");let u=a;for(let f=0;f<o.length;f++){const c=o[f],p=f===o.length-1;u.children.has(c)||u.children.set(c,{name:c,path:p?r.path:void 0,children:new Map,isFile:p}),u=u.children.get(c)}}return a}function Gc({node:n,selectedFile:a,onFileSelect:r,level:o=0}){const[u,f]=Ie.useState(o===0||o===1);if(n.isFile)return q.jsxs("div",{className:`tree-item file ${a===n.path?"selected":""}`,style:{paddingLeft:`${o*12+8}px`},onClick:()=>n.path&&r(n.path),children:[q.jsx("span",{className:"file-icon",children:"📄"}),q.jsx("span",{className:"file-name",children:n.name})]});const c=Array.from(n.children.entries()).sort((p,m)=>!p[1].isFile&&m[1].isFile?-1:p[1].isFile&&!m[1].isFile?1:p[0].localeCompare(m[0]));return n.name==="root"?q.jsx(q.Fragment,{children:c.map(([,p])=>q.jsx(Gc,{node:p,selectedFile:a,onFileSelect:r,level:0},p.path||p.name))}):q.jsxs("div",{children:[q.jsxs("div",{className:"tree-item directory",style:{paddingLeft:`${o*12+8}px`},onClick:()=>f(!u),children:[q.jsx("svg",{className:"chevron-icon",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",style:{transform:u?"rotate(90deg)":"rotate(0deg)"},children:q.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),q.jsx("span",{className:"folder-icon",children:"📁"}),q.jsx("span",{className:"folder-name",children:n.name})]}),u&&q.jsx("div",{className:"tree-children",children:c.map(([,p])=>q.jsx(Gc,{node:p,selectedFile:a,onFileSelect:r,level:o+1},p.path||p.name))})]})}const n_=({files:n,selectedFile:a,onFileSelect:r,onToggleSidebar:o,autoFocusSearch:u})=>{const[f,c]=Ie.useState(""),p=Ie.useRef(null),m=f?n.filter(b=>b.name.toLowerCase().includes(f.toLowerCase())||b.path.toLowerCase().includes(f.toLowerCase())):n,g=t_(m);return Ie.useEffect(()=>{var b;u&&((b=p.current)==null||b.focus())},[u]),Ie.useEffect(()=>{const b=h=>{var E;h.metaKey&&h.key==="k"&&(h.preventDefault(),(E=p.current)==null||E.focus())};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[]),q.jsxs("div",{className:"file-tree",children:[q.jsxs("div",{className:"file-tree-header",children:[q.jsxs("div",{className:"file-tree-header-content",children:[q.jsx("h3",{children:"Files"}),q.jsxs("span",{className:"file-count",children:[m.length," of ",n.length," files"]})]}),o&&q.jsx("button",{className:"sidebar-collapse-button",onClick:o,"aria-label":"Collapse sidebar",title:"Collapse sidebar",children:q.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:q.jsx("path",{d:"M12 4L6 10L12 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),q.jsx("div",{className:"search-container",children:q.jsxs("div",{className:"search-input-wrapper",children:[q.jsx("span",{className:"search-icon",children:"🔍"}),q.jsx("input",{ref:p,type:"text",className:"search-input",placeholder:"Jump to...",value:f,onChange:b=>c(b.target.value)}),f&&q.jsx("button",{className:"search-clear",onClick:()=>c(""),"aria-label":"Clear search",children:"✕"}),q.jsx("kbd",{className:"search-shortcut",children:"⌘K"})]})}),q.jsx("div",{className:"file-tree-content",children:q.jsx(Gc,{node:g,selectedFile:a,onFileSelect:r})}),q.jsx("div",{className:"file-tree-footer",children:q.jsx("a",{href:"https://github.com/ryo-manba/md-review",target:"_blank",rel:"noopener noreferrer",className:"github-link","aria-label":"View on GitHub",title:"View on GitHub",children:q.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:q.jsx("path",{d:"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"})})})})]})};function i_(n,a){const r={};return(n[n.length-1]===""?[...n,""]:n).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const a_=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l_=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,r_={};function fm(n,a){return(r_.jsx?l_:a_).test(n)}const o_=/[ \t\n\f\r]/g;function s_(n){return typeof n=="object"?n.type==="text"?dm(n.value):!1:dm(n)}function dm(n){return n.replace(o_,"")===""}class wr{constructor(a,r,o){this.normal=r,this.property=a,o&&(this.space=o)}}wr.prototype.normal={};wr.prototype.property={};wr.prototype.space=void 0;function gh(n,a){const r={},o={};for(const u of n)Object.assign(r,u.property),Object.assign(o,u.normal);return new wr(r,o,a)}function Yc(n){return n.toLowerCase()}class pn{constructor(a,r){this.attribute=r,this.property=a}}pn.prototype.attribute="";pn.prototype.booleanish=!1;pn.prototype.boolean=!1;pn.prototype.commaOrSpaceSeparated=!1;pn.prototype.commaSeparated=!1;pn.prototype.defined=!1;pn.prototype.mustUseProperty=!1;pn.prototype.number=!1;pn.prototype.overloadedBoolean=!1;pn.prototype.property="";pn.prototype.spaceSeparated=!1;pn.prototype.space=void 0;let u_=0;const De=Na(),Lt=Na(),jc=Na(),ie=Na(),dt=Na(),bl=Na(),Nn=Na();function Na(){return 2**++u_}const Kc=Object.freeze(Object.defineProperty({__proto__:null,boolean:De,booleanish:Lt,commaOrSpaceSeparated:Nn,commaSeparated:bl,number:ie,overloadedBoolean:jc,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),Sc=Object.keys(Kc);class lf extends pn{constructor(a,r,o,u){let f=-1;if(super(a,r),pm(this,"space",u),typeof o=="number")for(;++f<Sc.length;){const c=Sc[f];pm(this,Sc[f],(o&Kc[c])===Kc[c])}}}lf.prototype.defined=!0;function pm(n,a,r){r&&(n[a]=r)}function El(n){const a={},r={};for(const[o,u]of Object.entries(n.properties)){const f=new lf(o,n.transform(n.attributes||{},o),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(o)&&(f.mustUseProperty=!0),a[o]=f,r[Yc(o)]=o,r[Yc(f.attribute)]=o}return new wr(a,r,n.space)}const mh=El({properties:{ariaActiveDescendant:null,ariaAtomic:Lt,ariaAutoComplete:null,ariaBusy:Lt,ariaChecked:Lt,ariaColCount:ie,ariaColIndex:ie,ariaColSpan:ie,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:Lt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:Lt,ariaFlowTo:dt,ariaGrabbed:Lt,ariaHasPopup:null,ariaHidden:Lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:ie,ariaLive:null,ariaModal:Lt,ariaMultiLine:Lt,ariaMultiSelectable:Lt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:ie,ariaPressed:Lt,ariaReadOnly:Lt,ariaRelevant:null,ariaRequired:Lt,ariaRoleDescription:dt,ariaRowCount:ie,ariaRowIndex:ie,ariaRowSpan:ie,ariaSelected:Lt,ariaSetSize:ie,ariaSort:null,ariaValueMax:ie,ariaValueMin:ie,ariaValueNow:ie,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function hh(n,a){return a in n?n[a]:a}function bh(n,a){return hh(n,a.toLowerCase())}const c_=El({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:bl,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:De,allowPaymentRequest:De,allowUserMedia:De,alt:null,as:null,async:De,autoCapitalize:null,autoComplete:dt,autoFocus:De,autoPlay:De,blocking:dt,capture:null,charSet:null,checked:De,cite:null,className:dt,cols:ie,colSpan:null,content:null,contentEditable:Lt,controls:De,controlsList:dt,coords:ie|bl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:De,defer:De,dir:null,dirName:null,disabled:De,download:jc,draggable:Lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:De,formTarget:null,headers:dt,height:ie,hidden:jc,high:ie,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:De,inputMode:null,integrity:null,is:null,isMap:De,itemId:null,itemProp:dt,itemRef:dt,itemScope:De,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:De,low:ie,manifest:null,max:null,maxLength:ie,media:null,method:null,min:null,minLength:ie,multiple:De,muted:De,name:null,nonce:null,noModule:De,noValidate:De,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:De,optimum:ie,pattern:null,ping:dt,placeholder:null,playsInline:De,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:De,referrerPolicy:null,rel:dt,required:De,reversed:De,rows:ie,rowSpan:ie,sandbox:dt,scope:null,scoped:De,seamless:De,selected:De,shadowRootClonable:De,shadowRootDelegatesFocus:De,shadowRootMode:null,shape:null,size:ie,sizes:null,slot:null,span:ie,spellCheck:Lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ie,step:null,style:null,tabIndex:ie,target:null,title:null,translate:null,type:null,typeMustMatch:De,useMap:null,value:Lt,width:ie,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:ie,borderColor:null,bottomMargin:ie,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:De,declare:De,event:null,face:null,frame:null,frameBorder:null,hSpace:ie,leftMargin:ie,link:null,longDesc:null,lowSrc:null,marginHeight:ie,marginWidth:ie,noResize:De,noHref:De,noShade:De,noWrap:De,object:null,profile:null,prompt:null,rev:null,rightMargin:ie,rules:null,scheme:null,scrolling:Lt,standby:null,summary:null,text:null,topMargin:ie,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ie,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:De,disableRemotePlayback:De,prefix:null,property:null,results:ie,security:null,unselectable:null},space:"html",transform:bh}),f_=El({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:Nn,accentHeight:ie,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ie,amplitude:ie,arabicForm:null,ascent:ie,attributeName:null,attributeType:null,azimuth:ie,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ie,by:null,calcMode:null,capHeight:ie,className:dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ie,diffuseConstant:ie,direction:null,display:null,dur:null,divisor:ie,dominantBaseline:null,download:De,dx:null,dy:null,edgeMode:null,editable:null,elevation:ie,enableBackground:null,end:null,event:null,exponent:ie,externalResourcesRequired:null,fill:null,fillOpacity:ie,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:bl,g2:bl,glyphName:bl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ie,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ie,horizOriginX:ie,horizOriginY:ie,id:null,ideographic:ie,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ie,k:ie,k1:ie,k2:ie,k3:ie,k4:ie,kernelMatrix:Nn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ie,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:ie,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:ie,overlineThickness:ie,paintOrder:null,panose1:null,path:null,pathLength:ie,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ie,pointsAtY:ie,pointsAtZ:ie,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Nn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Nn,rev:Nn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Nn,requiredFeatures:Nn,requiredFonts:Nn,requiredFormats:Nn,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:ie,specularExponent:ie,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ie,strikethroughThickness:ie,string:null,stroke:null,strokeDashArray:Nn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ie,strokeOpacity:ie,strokeWidth:null,style:null,surfaceScale:ie,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Nn,tabIndex:ie,tableValues:null,target:null,targetX:ie,targetY:ie,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Nn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ie,underlineThickness:ie,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ie,values:null,vAlphabetic:ie,vMathematical:ie,vectorEffect:null,vHanging:ie,vIdeographic:ie,version:null,vertAdvY:ie,vertOriginX:ie,vertOriginY:ie,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ie,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hh}),yh=El({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),Eh=El({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:bh}),_h=El({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),d_={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"},p_=/[A-Z]/g,gm=/-[a-z]/g,g_=/^data[-\w.:]+$/i;function m_(n,a){const r=Yc(a);let o=a,u=pn;if(r in n.normal)return n.property[n.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&g_.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(gm,b_);o="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!gm.test(f)){let c=f.replace(p_,h_);c.charAt(0)!=="-"&&(c="-"+c),a="data"+c}}u=lf}return new u(o,a)}function h_(n){return"-"+n.toLowerCase()}function b_(n){return n.charAt(1).toUpperCase()}const y_=gh([mh,c_,yh,Eh,_h],"html"),rf=gh([mh,f_,yh,Eh,_h],"svg");function E_(n){return n.join(" ").trim()}var dl={},xc,mm;function __(){if(mm)return xc;mm=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,p=/^\s+|\s+$/g,m=`
|
|
50
50
|
`,g="/",b="*",h="",E="comment",_="declaration";function x(D,k){if(typeof D!="string")throw new TypeError("First argument must be a string");if(!D)return[];k=k||{};var Y=1,H=1;function W(oe){var J=oe.match(a);J&&(Y+=J.length);var L=oe.lastIndexOf(m);H=~L?oe.length-L:H+oe.length}function X(){var oe={line:Y,column:H};return function(J){return J.position=new M(oe),ue(),J}}function M(oe){this.start=oe,this.end={line:Y,column:H},this.source=k.source}M.prototype.content=D;function Q(oe){var J=new Error(k.source+":"+Y+":"+H+": "+oe);if(J.reason=oe,J.filename=k.source,J.line=Y,J.column=H,J.source=D,!k.silent)throw J}function ee(oe){var J=oe.exec(D);if(J){var L=J[0];return W(L),D=D.slice(L.length),J}}function ue(){ee(r)}function z(oe){var J;for(oe=oe||[];J=ae();)J!==!1&&oe.push(J);return oe}function ae(){var oe=X();if(!(g!=D.charAt(0)||b!=D.charAt(1))){for(var J=2;h!=D.charAt(J)&&(b!=D.charAt(J)||g!=D.charAt(J+1));)++J;if(J+=2,h===D.charAt(J-1))return Q("End of comment missing");var L=D.slice(2,J-2);return H+=2,W(L),D=D.slice(J),H+=2,oe({type:E,comment:L})}}function re(){var oe=X(),J=ee(o);if(J){if(ae(),!ee(u))return Q("property missing ':'");var L=ee(f),$=oe({type:_,property:C(J[0].replace(n,h)),value:L?C(L[0].replace(n,h)):h});return ee(c),$}}function Ae(){var oe=[];z(oe);for(var J;J=re();)J!==!1&&(oe.push(J),z(oe));return oe}return ue(),Ae()}function C(D){return D?D.replace(p,h):h}return xc=x,xc}var hm;function v_(){if(hm)return dl;hm=1;var n=dl&&dl.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=r;const a=n(__());function r(o,u){let f=null;if(!o||typeof o!="string")return f;const c=(0,a.default)(o),p=typeof u=="function";return c.forEach(m=>{if(m.type!=="declaration")return;const{property:g,value:b}=m;p?u(g,b,m):b&&(f=f||{},f[g]=b)}),f}return dl}var br={},bm;function S_(){if(bm)return br;bm=1,Object.defineProperty(br,"__esModule",{value:!0}),br.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,r=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,f=function(g){return!g||r.test(g)||n.test(g)},c=function(g,b){return b.toUpperCase()},p=function(g,b){return"".concat(b,"-")},m=function(g,b){return b===void 0&&(b={}),f(g)?g:(g=g.toLowerCase(),b.reactCompat?g=g.replace(u,p):g=g.replace(o,p),g.replace(a,c))};return br.camelCase=m,br}var yr,ym;function x_(){if(ym)return yr;ym=1;var n=yr&&yr.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},a=n(v_()),r=S_();function o(u,f){var c={};return!u||typeof u!="string"||(0,a.default)(u,function(p,m){p&&m&&(c[(0,r.camelCase)(p,f)]=m)}),c}return o.default=o,yr=o,yr}var T_=x_();const N_=nf(T_),vh=Sh("end"),of=Sh("start");function Sh(n){return a;function a(r){const o=r&&r.position&&r.position[n]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function A_(n){const a=of(n),r=vh(n);if(a&&r)return{start:a,end:r}}function Sr(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Em(n.position):"start"in n||"end"in n?Em(n):"line"in n||"column"in n?Vc(n):""}function Vc(n){return _m(n&&n.line)+":"+_m(n&&n.column)}function Em(n){return Vc(n&&n.start)+"-"+Vc(n&&n.end)}function _m(n){return n&&typeof n=="number"?n:1}class Zt extends Error{constructor(a,r,o){super(),typeof r=="string"&&(o=r,r=void 0);let u="",f={},c=!1;if(r&&("line"in r&&"column"in r?f={place:r}:"start"in r&&"end"in r?f={place:r}:"type"in r?f={ancestors:[r],place:r.position}:f={...r}),typeof a=="string"?u=a:!f.cause&&a&&(c=!0,u=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof o=="string"){const m=o.indexOf(":");m===-1?f.ruleId=o:(f.source=o.slice(0,m),f.ruleId=o.slice(m+1))}if(!f.place&&f.ancestors&&f.ancestors){const m=f.ancestors[f.ancestors.length-1];m&&(f.place=m.position)}const p=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=p?p.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=p?p.line:void 0,this.name=Sr(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=c&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Zt.prototype.file="";Zt.prototype.name="";Zt.prototype.reason="";Zt.prototype.message="";Zt.prototype.stack="";Zt.prototype.column=void 0;Zt.prototype.line=void 0;Zt.prototype.ancestors=void 0;Zt.prototype.cause=void 0;Zt.prototype.fatal=void 0;Zt.prototype.place=void 0;Zt.prototype.ruleId=void 0;Zt.prototype.source=void 0;const sf={}.hasOwnProperty,w_=new Map,k_=/[A-Z]/g,C_=new Set(["table","tbody","thead","tfoot","tr"]),O_=new Set(["td","th"]),xh="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function M_(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=a.filePath||void 0;let o;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=H_(r,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=U_(r,a.jsx,a.jsxs)}const u={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:o,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?rf:y_,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=Th(u,n,void 0);return f&&typeof f!="string"?f:u.create(n,u.Fragment,{children:f||void 0},void 0)}function Th(n,a,r){if(a.type==="element")return R_(n,a,r);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return D_(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return z_(n,a,r);if(a.type==="mdxjsEsm")return L_(n,a);if(a.type==="root")return B_(n,a,r);if(a.type==="text")return I_(n,a)}function R_(n,a,r){const o=n.schema;let u=o;a.tagName.toLowerCase()==="svg"&&o.space==="html"&&(u=rf,n.schema=u),n.ancestors.push(a);const f=Ah(n,a.tagName,!1),c=q_(n,a);let p=cf(n,a);return C_.has(a.tagName)&&(p=p.filter(function(m){return typeof m=="string"?!s_(m):!0})),Nh(n,c,f,a),uf(c,p),n.ancestors.pop(),n.schema=o,n.create(a,f,c,r)}function D_(n,a){if(a.data&&a.data.estree&&n.evaluater){const o=a.data.estree.body[0];return o.type,n.evaluater.evaluateExpression(o.expression)}Nr(n,a.position)}function L_(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Nr(n,a.position)}function z_(n,a,r){const o=n.schema;let u=o;a.name==="svg"&&o.space==="html"&&(u=rf,n.schema=u),n.ancestors.push(a);const f=a.name===null?n.Fragment:Ah(n,a.name,!0),c=F_(n,a),p=cf(n,a);return Nh(n,c,f,a),uf(c,p),n.ancestors.pop(),n.schema=o,n.create(a,f,c,r)}function B_(n,a,r){const o={};return uf(o,cf(n,a)),n.create(a,n.Fragment,o,r)}function I_(n,a){return a.value}function Nh(n,a,r,o){typeof r!="string"&&r!==n.Fragment&&n.passNode&&(a.node=o)}function uf(n,a){if(a.length>0){const r=a.length>1?a:a[0];r&&(n.children=r)}}function U_(n,a,r){return o;function o(u,f,c,p){const g=Array.isArray(c.children)?r:a;return p?g(f,c,p):g(f,c)}}function H_(n,a){return r;function r(o,u,f,c){const p=Array.isArray(f.children),m=of(o);return a(u,f,c,p,{columnNumber:m?m.column-1:void 0,fileName:n,lineNumber:m?m.line:void 0},void 0)}}function q_(n,a){const r={};let o,u;for(u in a.properties)if(u!=="children"&&sf.call(a.properties,u)){const f=G_(n,u,a.properties[u]);if(f){const[c,p]=f;n.tableCellAlignToStyle&&c==="align"&&typeof p=="string"&&O_.has(a.tagName)?o=p:r[c]=p}}if(o){const f=r.style||(r.style={});f[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return r}function F_(n,a){const r={};for(const o of a.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&n.evaluater){const f=o.data.estree.body[0];f.type;const c=f.expression;c.type;const p=c.properties[0];p.type,Object.assign(r,n.evaluater.evaluateExpression(p.argument))}else Nr(n,a.position);else{const u=o.name;let f;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&n.evaluater){const p=o.value.data.estree.body[0];p.type,f=n.evaluater.evaluateExpression(p.expression)}else Nr(n,a.position);else f=o.value===null?!0:o.value;r[u]=f}return r}function cf(n,a){const r=[];let o=-1;const u=n.passKeys?new Map:w_;for(;++o<a.children.length;){const f=a.children[o];let c;if(n.passKeys){const m=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(m){const g=u.get(m)||0;c=m+"-"+g,u.set(m,g+1)}}const p=Th(n,f,c);p!==void 0&&r.push(p)}return r}function G_(n,a,r){const o=m_(n.schema,a);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=o.commaSeparated?i_(r):E_(r)),o.property==="style"){let u=typeof r=="object"?r:Y_(n,String(r));return n.stylePropertyNameCase==="css"&&(u=j_(u)),["style",u]}return[n.elementAttributeNameCase==="react"&&o.space?d_[o.property]||o.property:o.attribute,r]}}function Y_(n,a){try{return N_(a,{reactCompat:!0})}catch(r){if(n.ignoreInvalidStyle)return{};const o=r,u=new Zt("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=n.filePath||void 0,u.url=xh+"#cannot-parse-style-attribute",u}}function Ah(n,a,r){let o;if(!r)o={type:"Literal",value:a};else if(a.includes(".")){const u=a.split(".");let f=-1,c;for(;++f<u.length;){const p=fm(u[f])?{type:"Identifier",name:u[f]}:{type:"Literal",value:u[f]};c=c?{type:"MemberExpression",object:c,property:p,computed:!!(f&&p.type==="Literal"),optional:!1}:p}o=c}else o=fm(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(o.type==="Literal"){const u=o.value;return sf.call(n.components,u)?n.components[u]:u}if(n.evaluater)return n.evaluater.evaluateExpression(o);Nr(n)}function Nr(n,a){const r=new Zt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=n.filePath||void 0,r.url=xh+"#cannot-handle-mdx-estrees-without-createevaluater",r}function j_(n){const a={};let r;for(r in n)sf.call(n,r)&&(a[K_(r)]=n[r]);return a}function K_(n){let a=n.replace(k_,V_);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function V_(n){return"-"+n.toLowerCase()}const Tc={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"]},P_={};function ff(n,a){const r=P_,o=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,u=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return wh(n,o,u)}function wh(n,a,r){if(X_(n)){if("value"in n)return n.type==="html"&&!r?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return vm(n.children,a,r)}return Array.isArray(n)?vm(n,a,r):""}function vm(n,a,r){const o=[];let u=-1;for(;++u<n.length;)o[u]=wh(n[u],a,r);return o.join("")}function X_(n){return!!(n&&typeof n=="object")}const Sm=document.createElement("i");function df(n){const a="&"+n+";";Sm.innerHTML=a;const r=Sm.textContent;return r.charCodeAt(r.length-1)===59&&n!=="semi"||r===a?!1:r}function An(n,a,r,o){const u=n.length;let f=0,c;if(a<0?a=-a>u?0:u+a:a=a>u?u:a,r=r>0?r:0,o.length<1e4)c=Array.from(o),c.unshift(a,r),n.splice(...c);else for(r&&n.splice(a,r);f<o.length;)c=o.slice(f,f+1e4),c.unshift(a,0),n.splice(...c),f+=1e4,a+=1e4}function In(n,a){return n.length>0?(An(n,n.length,0,a),n):a}const xm={}.hasOwnProperty;function kh(n){const a={};let r=-1;for(;++r<n.length;)Z_(a,n[r]);return a}function Z_(n,a){let r;for(r in a){const u=(xm.call(n,r)?n[r]:void 0)||(n[r]={}),f=a[r];let c;if(f)for(c in f){xm.call(u,c)||(u[c]=[]);const p=f[c];Q_(u[c],Array.isArray(p)?p:p?[p]:[])}}}function Q_(n,a){let r=-1;const o=[];for(;++r<a.length;)(a[r].add==="after"?n:o).push(a[r]);An(n,0,0,o)}function Ch(n,a){const r=Number.parseInt(n,a);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Yn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tn=ea(/[A-Za-z]/),Xt=ea(/[\dA-Za-z]/),$_=ea(/[#-'*+\--9=?A-Z^-~]/);function as(n){return n!==null&&(n<32||n===127)}const Pc=ea(/\d/),J_=ea(/[\dA-Fa-f]/),W_=ea(/[!-/:-@[-`{-~]/);function Se(n){return n!==null&&n<-2}function ct(n){return n!==null&&(n<0||n===32)}function qe(n){return n===-2||n===-1||n===32}const cs=ea(new RegExp("\\p{P}|\\p{S}","u")),Ta=ea(/\s/);function ea(n){return a;function a(r){return r!==null&&r>-1&&n.test(String.fromCharCode(r))}}function _l(n){const a=[];let r=-1,o=0,u=0;for(;++r<n.length;){const f=n.charCodeAt(r);let c="";if(f===37&&Xt(n.charCodeAt(r+1))&&Xt(n.charCodeAt(r+2)))u=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(c=String.fromCharCode(f));else if(f>55295&&f<57344){const p=n.charCodeAt(r+1);f<56320&&p>56319&&p<57344?(c=String.fromCharCode(f,p),u=1):c="�"}else c=String.fromCharCode(f);c&&(a.push(n.slice(o,r),encodeURIComponent(c)),o=r+u+1,c=""),u&&(r+=u,u=0)}return a.join("")+n.slice(o)}function Ve(n,a,r,o){const u=o?o-1:Number.POSITIVE_INFINITY;let f=0;return c;function c(m){return qe(m)?(n.enter(r),p(m)):a(m)}function p(m){return qe(m)&&f++<u?(n.consume(m),p):(n.exit(r),a(m))}}const e0={tokenize:t0};function t0(n){const a=n.attempt(this.parser.constructs.contentInitial,o,u);let r;return a;function o(p){if(p===null){n.consume(p);return}return n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),Ve(n,a,"linePrefix")}function u(p){return n.enter("paragraph"),f(p)}function f(p){const m=n.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=m),r=m,c(p)}function c(p){if(p===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(p);return}return Se(p)?(n.consume(p),n.exit("chunkText"),f):(n.consume(p),c)}}const n0={tokenize:i0},Tm={tokenize:a0};function i0(n){const a=this,r=[];let o=0,u,f,c;return p;function p(H){if(o<r.length){const W=r[o];return a.containerState=W[1],n.attempt(W[0].continuation,m,g)(H)}return g(H)}function m(H){if(o++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,u&&Y();const W=a.events.length;let X=W,M;for(;X--;)if(a.events[X][0]==="exit"&&a.events[X][1].type==="chunkFlow"){M=a.events[X][1].end;break}k(o);let Q=W;for(;Q<a.events.length;)a.events[Q][1].end={...M},Q++;return An(a.events,X+1,0,a.events.slice(W)),a.events.length=Q,g(H)}return p(H)}function g(H){if(o===r.length){if(!u)return E(H);if(u.currentConstruct&&u.currentConstruct.concrete)return x(H);a.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(Tm,b,h)(H)}function b(H){return u&&Y(),k(o),E(H)}function h(H){return a.parser.lazy[a.now().line]=o!==r.length,c=a.now().offset,x(H)}function E(H){return a.containerState={},n.attempt(Tm,_,x)(H)}function _(H){return o++,r.push([a.currentConstruct,a.containerState]),E(H)}function x(H){if(H===null){u&&Y(),k(0),n.consume(H);return}return u=u||a.parser.flow(a.now()),n.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:f}),C(H)}function C(H){if(H===null){D(n.exit("chunkFlow"),!0),k(0),n.consume(H);return}return Se(H)?(n.consume(H),D(n.exit("chunkFlow")),o=0,a.interrupt=void 0,p):(n.consume(H),C)}function D(H,W){const X=a.sliceStream(H);if(W&&X.push(null),H.previous=f,f&&(f.next=H),f=H,u.defineSkip(H.start),u.write(X),a.parser.lazy[H.start.line]){let M=u.events.length;for(;M--;)if(u.events[M][1].start.offset<c&&(!u.events[M][1].end||u.events[M][1].end.offset>c))return;const Q=a.events.length;let ee=Q,ue,z;for(;ee--;)if(a.events[ee][0]==="exit"&&a.events[ee][1].type==="chunkFlow"){if(ue){z=a.events[ee][1].end;break}ue=!0}for(k(o),M=Q;M<a.events.length;)a.events[M][1].end={...z},M++;An(a.events,ee+1,0,a.events.slice(Q)),a.events.length=M}}function k(H){let W=r.length;for(;W-- >H;){const X=r[W];a.containerState=X[1],X[0].exit.call(a,n)}r.length=H}function Y(){u.write([null]),f=void 0,u=void 0,a.containerState._closeFlow=void 0}}function a0(n,a,r){return Ve(n,n.attempt(this.parser.constructs.document,a,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yl(n){if(n===null||ct(n)||Ta(n))return 1;if(cs(n))return 2}function fs(n,a,r){const o=[];let u=-1;for(;++u<n.length;){const f=n[u].resolveAll;f&&!o.includes(f)&&(a=f(a,r),o.push(f))}return a}const Xc={name:"attention",resolveAll:l0,tokenize:r0};function l0(n,a){let r=-1,o,u,f,c,p,m,g,b;for(;++r<n.length;)if(n[r][0]==="enter"&&n[r][1].type==="attentionSequence"&&n[r][1]._close){for(o=r;o--;)if(n[o][0]==="exit"&&n[o][1].type==="attentionSequence"&&n[o][1]._open&&a.sliceSerialize(n[o][1]).charCodeAt(0)===a.sliceSerialize(n[r][1]).charCodeAt(0)){if((n[o][1]._close||n[r][1]._open)&&(n[r][1].end.offset-n[r][1].start.offset)%3&&!((n[o][1].end.offset-n[o][1].start.offset+n[r][1].end.offset-n[r][1].start.offset)%3))continue;m=n[o][1].end.offset-n[o][1].start.offset>1&&n[r][1].end.offset-n[r][1].start.offset>1?2:1;const h={...n[o][1].end},E={...n[r][1].start};Nm(h,-m),Nm(E,m),c={type:m>1?"strongSequence":"emphasisSequence",start:h,end:{...n[o][1].end}},p={type:m>1?"strongSequence":"emphasisSequence",start:{...n[r][1].start},end:E},f={type:m>1?"strongText":"emphasisText",start:{...n[o][1].end},end:{...n[r][1].start}},u={type:m>1?"strong":"emphasis",start:{...c.start},end:{...p.end}},n[o][1].end={...c.start},n[r][1].start={...p.end},g=[],n[o][1].end.offset-n[o][1].start.offset&&(g=In(g,[["enter",n[o][1],a],["exit",n[o][1],a]])),g=In(g,[["enter",u,a],["enter",c,a],["exit",c,a],["enter",f,a]]),g=In(g,fs(a.parser.constructs.insideSpan.null,n.slice(o+1,r),a)),g=In(g,[["exit",f,a],["enter",p,a],["exit",p,a],["exit",u,a]]),n[r][1].end.offset-n[r][1].start.offset?(b=2,g=In(g,[["enter",n[r][1],a],["exit",n[r][1],a]])):b=0,An(n,o-1,r-o+3,g),r=o+g.length-b-2;break}}for(r=-1;++r<n.length;)n[r][1].type==="attentionSequence"&&(n[r][1].type="data");return n}function r0(n,a){const r=this.parser.constructs.attentionMarkers.null,o=this.previous,u=yl(o);let f;return c;function c(m){return f=m,n.enter("attentionSequence"),p(m)}function p(m){if(m===f)return n.consume(m),p;const g=n.exit("attentionSequence"),b=yl(m),h=!b||b===2&&u||r.includes(m),E=!u||u===2&&b||r.includes(o);return g._open=!!(f===42?h:h&&(u||!E)),g._close=!!(f===42?E:E&&(b||!h)),a(m)}}function Nm(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const o0={name:"autolink",tokenize:s0};function s0(n,a,r){let o=0;return u;function u(_){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(_),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),f}function f(_){return tn(_)?(n.consume(_),c):_===64?r(_):g(_)}function c(_){return _===43||_===45||_===46||Xt(_)?(o=1,p(_)):g(_)}function p(_){return _===58?(n.consume(_),o=0,m):(_===43||_===45||_===46||Xt(_))&&o++<32?(n.consume(_),p):(o=0,g(_))}function m(_){return _===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(_),n.exit("autolinkMarker"),n.exit("autolink"),a):_===null||_===32||_===60||as(_)?r(_):(n.consume(_),m)}function g(_){return _===64?(n.consume(_),b):$_(_)?(n.consume(_),g):r(_)}function b(_){return Xt(_)?h(_):r(_)}function h(_){return _===46?(n.consume(_),o=0,b):_===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(_),n.exit("autolinkMarker"),n.exit("autolink"),a):E(_)}function E(_){if((_===45||Xt(_))&&o++<63){const x=_===45?E:h;return n.consume(_),x}return r(_)}}const kr={partial:!0,tokenize:u0};function u0(n,a,r){return o;function o(f){return qe(f)?Ve(n,u,"linePrefix")(f):u(f)}function u(f){return f===null||Se(f)?a(f):r(f)}}const Oh={continuation:{tokenize:f0},exit:d0,name:"blockQuote",tokenize:c0};function c0(n,a,r){const o=this;return u;function u(c){if(c===62){const p=o.containerState;return p.open||(n.enter("blockQuote",{_container:!0}),p.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(c),n.exit("blockQuoteMarker"),f}return r(c)}function f(c){return qe(c)?(n.enter("blockQuotePrefixWhitespace"),n.consume(c),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),a):(n.exit("blockQuotePrefix"),a(c))}}function f0(n,a,r){const o=this;return u;function u(c){return qe(c)?Ve(n,f,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):f(c)}function f(c){return n.attempt(Oh,a,r)(c)}}function d0(n){n.exit("blockQuote")}const Mh={name:"characterEscape",tokenize:p0};function p0(n,a,r){return o;function o(f){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(f),n.exit("escapeMarker"),u}function u(f){return W_(f)?(n.enter("characterEscapeValue"),n.consume(f),n.exit("characterEscapeValue"),n.exit("characterEscape"),a):r(f)}}const Rh={name:"characterReference",tokenize:g0};function g0(n,a,r){const o=this;let u=0,f,c;return p;function p(h){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(h),n.exit("characterReferenceMarker"),m}function m(h){return h===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(h),n.exit("characterReferenceMarkerNumeric"),g):(n.enter("characterReferenceValue"),f=31,c=Xt,b(h))}function g(h){return h===88||h===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(h),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),f=6,c=J_,b):(n.enter("characterReferenceValue"),f=7,c=Pc,b(h))}function b(h){if(h===59&&u){const E=n.exit("characterReferenceValue");return c===Xt&&!df(o.sliceSerialize(E))?r(h):(n.enter("characterReferenceMarker"),n.consume(h),n.exit("characterReferenceMarker"),n.exit("characterReference"),a)}return c(h)&&u++<f?(n.consume(h),b):r(h)}}const Am={partial:!0,tokenize:h0},wm={concrete:!0,name:"codeFenced",tokenize:m0};function m0(n,a,r){const o=this,u={partial:!0,tokenize:X};let f=0,c=0,p;return m;function m(M){return g(M)}function g(M){const Q=o.events[o.events.length-1];return f=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,p=M,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),b(M)}function b(M){return M===p?(c++,n.consume(M),b):c<3?r(M):(n.exit("codeFencedFenceSequence"),qe(M)?Ve(n,h,"whitespace")(M):h(M))}function h(M){return M===null||Se(M)?(n.exit("codeFencedFence"),o.interrupt?a(M):n.check(Am,C,W)(M)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),E(M))}function E(M){return M===null||Se(M)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),h(M)):qe(M)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),Ve(n,_,"whitespace")(M)):M===96&&M===p?r(M):(n.consume(M),E)}function _(M){return M===null||Se(M)?h(M):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),x(M))}function x(M){return M===null||Se(M)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),h(M)):M===96&&M===p?r(M):(n.consume(M),x)}function C(M){return n.attempt(u,W,D)(M)}function D(M){return n.enter("lineEnding"),n.consume(M),n.exit("lineEnding"),k}function k(M){return f>0&&qe(M)?Ve(n,Y,"linePrefix",f+1)(M):Y(M)}function Y(M){return M===null||Se(M)?n.check(Am,C,W)(M):(n.enter("codeFlowValue"),H(M))}function H(M){return M===null||Se(M)?(n.exit("codeFlowValue"),Y(M)):(n.consume(M),H)}function W(M){return n.exit("codeFenced"),a(M)}function X(M,Q,ee){let ue=0;return z;function z(J){return M.enter("lineEnding"),M.consume(J),M.exit("lineEnding"),ae}function ae(J){return M.enter("codeFencedFence"),qe(J)?Ve(M,re,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):re(J)}function re(J){return J===p?(M.enter("codeFencedFenceSequence"),Ae(J)):ee(J)}function Ae(J){return J===p?(ue++,M.consume(J),Ae):ue>=c?(M.exit("codeFencedFenceSequence"),qe(J)?Ve(M,oe,"whitespace")(J):oe(J)):ee(J)}function oe(J){return J===null||Se(J)?(M.exit("codeFencedFence"),Q(J)):ee(J)}}}function h0(n,a,r){const o=this;return u;function u(c){return c===null?r(c):(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),f)}function f(c){return o.parser.lazy[o.now().line]?r(c):a(c)}}const Nc={name:"codeIndented",tokenize:y0},b0={partial:!0,tokenize:E0};function y0(n,a,r){const o=this;return u;function u(g){return n.enter("codeIndented"),Ve(n,f,"linePrefix",5)(g)}function f(g){const b=o.events[o.events.length-1];return b&&b[1].type==="linePrefix"&&b[2].sliceSerialize(b[1],!0).length>=4?c(g):r(g)}function c(g){return g===null?m(g):Se(g)?n.attempt(b0,c,m)(g):(n.enter("codeFlowValue"),p(g))}function p(g){return g===null||Se(g)?(n.exit("codeFlowValue"),c(g)):(n.consume(g),p)}function m(g){return n.exit("codeIndented"),a(g)}}function E0(n,a,r){const o=this;return u;function u(c){return o.parser.lazy[o.now().line]?r(c):Se(c)?(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),u):Ve(n,f,"linePrefix",5)(c)}function f(c){const p=o.events[o.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?a(c):Se(c)?u(c):r(c)}}const _0={name:"codeText",previous:S0,resolve:v0,tokenize:x0};function v0(n){let a=n.length-4,r=3,o,u;if((n[r][1].type==="lineEnding"||n[r][1].type==="space")&&(n[a][1].type==="lineEnding"||n[a][1].type==="space")){for(o=r;++o<a;)if(n[o][1].type==="codeTextData"){n[r][1].type="codeTextPadding",n[a][1].type="codeTextPadding",r+=2,a-=2;break}}for(o=r-1,a++;++o<=a;)u===void 0?o!==a&&n[o][1].type!=="lineEnding"&&(u=o):(o===a||n[o][1].type==="lineEnding")&&(n[u][1].type="codeTextData",o!==u+2&&(n[u][1].end=n[o-1][1].end,n.splice(u+2,o-u-2),a-=o-u-2,o=u+2),u=void 0);return n}function S0(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function x0(n,a,r){let o=0,u,f;return c;function c(h){return n.enter("codeText"),n.enter("codeTextSequence"),p(h)}function p(h){return h===96?(n.consume(h),o++,p):(n.exit("codeTextSequence"),m(h))}function m(h){return h===null?r(h):h===32?(n.enter("space"),n.consume(h),n.exit("space"),m):h===96?(f=n.enter("codeTextSequence"),u=0,b(h)):Se(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),m):(n.enter("codeTextData"),g(h))}function g(h){return h===null||h===32||h===96||Se(h)?(n.exit("codeTextData"),m(h)):(n.consume(h),g)}function b(h){return h===96?(n.consume(h),u++,b):u===o?(n.exit("codeTextSequence"),n.exit("codeText"),a(h)):(f.type="codeTextData",g(h))}}class T0{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,r){const o=r??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(a,o):a>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(a,r,o){const u=r||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return o&&Er(this.left,o),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),Er(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),Er(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const r=this.left.splice(a,Number.POSITIVE_INFINITY);Er(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);Er(this.left,r.reverse())}}}function Er(n,a){let r=0;if(a.length<1e4)n.push(...a);else for(;r<a.length;)n.push(...a.slice(r,r+1e4)),r+=1e4}function Dh(n){const a={};let r=-1,o,u,f,c,p,m,g;const b=new T0(n);for(;++r<b.length;){for(;r in a;)r=a[r];if(o=b.get(r),r&&o[1].type==="chunkFlow"&&b.get(r-1)[1].type==="listItemPrefix"&&(m=o[1]._tokenizer.events,f=0,f<m.length&&m[f][1].type==="lineEndingBlank"&&(f+=2),f<m.length&&m[f][1].type==="content"))for(;++f<m.length&&m[f][1].type!=="content";)m[f][1].type==="chunkText"&&(m[f][1]._isInFirstContentOfListItem=!0,f++);if(o[0]==="enter")o[1].contentType&&(Object.assign(a,N0(b,r)),r=a[r],g=!0);else if(o[1]._container){for(f=r,u=void 0;f--;)if(c=b.get(f),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(u&&(b.get(u)[1].type="lineEndingBlank"),c[1].type="lineEnding",u=f);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;u&&(o[1].end={...b.get(u)[1].start},p=b.slice(u,r),p.unshift(o),b.splice(u,r-u+1,p))}}return An(n,0,Number.POSITIVE_INFINITY,b.slice(0)),!g}function N0(n,a){const r=n.get(a)[1],o=n.get(a)[2];let u=a-1;const f=[];let c=r._tokenizer;c||(c=o.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const p=c.events,m=[],g={};let b,h,E=-1,_=r,x=0,C=0;const D=[C];for(;_;){for(;n.get(++u)[1]!==_;);f.push(u),_._tokenizer||(b=o.sliceStream(_),_.next||b.push(null),h&&c.defineSkip(_.start),_._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(b),_._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),h=_,_=_.next}for(_=r;++E<p.length;)p[E][0]==="exit"&&p[E-1][0]==="enter"&&p[E][1].type===p[E-1][1].type&&p[E][1].start.line!==p[E][1].end.line&&(C=E+1,D.push(C),_._tokenizer=void 0,_.previous=void 0,_=_.next);for(c.events=[],_?(_._tokenizer=void 0,_.previous=void 0):D.pop(),E=D.length;E--;){const k=p.slice(D[E],D[E+1]),Y=f.pop();m.push([Y,Y+k.length-1]),n.splice(Y,2,k)}for(m.reverse(),E=-1;++E<m.length;)g[x+m[E][0]]=x+m[E][1],x+=m[E][1]-m[E][0]-1;return g}const A0={resolve:k0,tokenize:C0},w0={partial:!0,tokenize:O0};function k0(n){return Dh(n),n}function C0(n,a){let r;return o;function o(p){return n.enter("content"),r=n.enter("chunkContent",{contentType:"content"}),u(p)}function u(p){return p===null?f(p):Se(p)?n.check(w0,c,f)(p):(n.consume(p),u)}function f(p){return n.exit("chunkContent"),n.exit("content"),a(p)}function c(p){return n.consume(p),n.exit("chunkContent"),r.next=n.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,u}}function O0(n,a,r){const o=this;return u;function u(c){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),Ve(n,f,"linePrefix")}function f(c){if(c===null||Se(c))return r(c);const p=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?a(c):n.interrupt(o.parser.constructs.flow,r,a)(c)}}function Lh(n,a,r,o,u,f,c,p,m){const g=m||Number.POSITIVE_INFINITY;let b=0;return h;function h(k){return k===60?(n.enter(o),n.enter(u),n.enter(f),n.consume(k),n.exit(f),E):k===null||k===32||k===41||as(k)?r(k):(n.enter(o),n.enter(c),n.enter(p),n.enter("chunkString",{contentType:"string"}),C(k))}function E(k){return k===62?(n.enter(f),n.consume(k),n.exit(f),n.exit(u),n.exit(o),a):(n.enter(p),n.enter("chunkString",{contentType:"string"}),_(k))}function _(k){return k===62?(n.exit("chunkString"),n.exit(p),E(k)):k===null||k===60||Se(k)?r(k):(n.consume(k),k===92?x:_)}function x(k){return k===60||k===62||k===92?(n.consume(k),_):_(k)}function C(k){return!b&&(k===null||k===41||ct(k))?(n.exit("chunkString"),n.exit(p),n.exit(c),n.exit(o),a(k)):b<g&&k===40?(n.consume(k),b++,C):k===41?(n.consume(k),b--,C):k===null||k===32||k===40||as(k)?r(k):(n.consume(k),k===92?D:C)}function D(k){return k===40||k===41||k===92?(n.consume(k),C):C(k)}}function zh(n,a,r,o,u,f){const c=this;let p=0,m;return g;function g(_){return n.enter(o),n.enter(u),n.consume(_),n.exit(u),n.enter(f),b}function b(_){return p>999||_===null||_===91||_===93&&!m||_===94&&!p&&"_hiddenFootnoteSupport"in c.parser.constructs?r(_):_===93?(n.exit(f),n.enter(u),n.consume(_),n.exit(u),n.exit(o),a):Se(_)?(n.enter("lineEnding"),n.consume(_),n.exit("lineEnding"),b):(n.enter("chunkString",{contentType:"string"}),h(_))}function h(_){return _===null||_===91||_===93||Se(_)||p++>999?(n.exit("chunkString"),b(_)):(n.consume(_),m||(m=!qe(_)),_===92?E:h)}function E(_){return _===91||_===92||_===93?(n.consume(_),p++,h):h(_)}}function Bh(n,a,r,o,u,f){let c;return p;function p(E){return E===34||E===39||E===40?(n.enter(o),n.enter(u),n.consume(E),n.exit(u),c=E===40?41:E,m):r(E)}function m(E){return E===c?(n.enter(u),n.consume(E),n.exit(u),n.exit(o),a):(n.enter(f),g(E))}function g(E){return E===c?(n.exit(f),m(c)):E===null?r(E):Se(E)?(n.enter("lineEnding"),n.consume(E),n.exit("lineEnding"),Ve(n,g,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),b(E))}function b(E){return E===c||E===null||Se(E)?(n.exit("chunkString"),g(E)):(n.consume(E),E===92?h:b)}function h(E){return E===c||E===92?(n.consume(E),b):b(E)}}function xr(n,a){let r;return o;function o(u){return Se(u)?(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),r=!0,o):qe(u)?Ve(n,o,r?"linePrefix":"lineSuffix")(u):a(u)}}const M0={name:"definition",tokenize:D0},R0={partial:!0,tokenize:L0};function D0(n,a,r){const o=this;let u;return f;function f(_){return n.enter("definition"),c(_)}function c(_){return zh.call(o,n,p,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(_)}function p(_){return u=Yn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),_===58?(n.enter("definitionMarker"),n.consume(_),n.exit("definitionMarker"),m):r(_)}function m(_){return ct(_)?xr(n,g)(_):g(_)}function g(_){return Lh(n,b,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(_)}function b(_){return n.attempt(R0,h,h)(_)}function h(_){return qe(_)?Ve(n,E,"whitespace")(_):E(_)}function E(_){return _===null||Se(_)?(n.exit("definition"),o.parser.defined.push(u),a(_)):r(_)}}function L0(n,a,r){return o;function o(p){return ct(p)?xr(n,u)(p):r(p)}function u(p){return Bh(n,f,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(p)}function f(p){return qe(p)?Ve(n,c,"whitespace")(p):c(p)}function c(p){return p===null||Se(p)?a(p):r(p)}}const z0={name:"hardBreakEscape",tokenize:B0};function B0(n,a,r){return o;function o(f){return n.enter("hardBreakEscape"),n.consume(f),u}function u(f){return Se(f)?(n.exit("hardBreakEscape"),a(f)):r(f)}}const I0={name:"headingAtx",resolve:U0,tokenize:H0};function U0(n,a){let r=n.length-2,o=3,u,f;return n[o][1].type==="whitespace"&&(o+=2),r-2>o&&n[r][1].type==="whitespace"&&(r-=2),n[r][1].type==="atxHeadingSequence"&&(o===r-1||r-4>o&&n[r-2][1].type==="whitespace")&&(r-=o+1===r?2:4),r>o&&(u={type:"atxHeadingText",start:n[o][1].start,end:n[r][1].end},f={type:"chunkText",start:n[o][1].start,end:n[r][1].end,contentType:"text"},An(n,o,r-o+1,[["enter",u,a],["enter",f,a],["exit",f,a],["exit",u,a]])),n}function H0(n,a,r){let o=0;return u;function u(b){return n.enter("atxHeading"),f(b)}function f(b){return n.enter("atxHeadingSequence"),c(b)}function c(b){return b===35&&o++<6?(n.consume(b),c):b===null||ct(b)?(n.exit("atxHeadingSequence"),p(b)):r(b)}function p(b){return b===35?(n.enter("atxHeadingSequence"),m(b)):b===null||Se(b)?(n.exit("atxHeading"),a(b)):qe(b)?Ve(n,p,"whitespace")(b):(n.enter("atxHeadingText"),g(b))}function m(b){return b===35?(n.consume(b),m):(n.exit("atxHeadingSequence"),p(b))}function g(b){return b===null||b===35||ct(b)?(n.exit("atxHeadingText"),p(b)):(n.consume(b),g)}}const q0=["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"],km=["pre","script","style","textarea"],F0={concrete:!0,name:"htmlFlow",resolveTo:j0,tokenize:K0},G0={partial:!0,tokenize:P0},Y0={partial:!0,tokenize:V0};function j0(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type==="htmlFlow"););return a>1&&n[a-2][1].type==="linePrefix"&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function K0(n,a,r){const o=this;let u,f,c,p,m;return g;function g(S){return b(S)}function b(S){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(S),h}function h(S){return S===33?(n.consume(S),E):S===47?(n.consume(S),f=!0,C):S===63?(n.consume(S),u=3,o.interrupt?a:T):tn(S)?(n.consume(S),c=String.fromCharCode(S),D):r(S)}function E(S){return S===45?(n.consume(S),u=2,_):S===91?(n.consume(S),u=5,p=0,x):tn(S)?(n.consume(S),u=4,o.interrupt?a:T):r(S)}function _(S){return S===45?(n.consume(S),o.interrupt?a:T):r(S)}function x(S){const ce="CDATA[";return S===ce.charCodeAt(p++)?(n.consume(S),p===ce.length?o.interrupt?a:re:x):r(S)}function C(S){return tn(S)?(n.consume(S),c=String.fromCharCode(S),D):r(S)}function D(S){if(S===null||S===47||S===62||ct(S)){const ce=S===47,_e=c.toLowerCase();return!ce&&!f&&km.includes(_e)?(u=1,o.interrupt?a(S):re(S)):q0.includes(c.toLowerCase())?(u=6,ce?(n.consume(S),k):o.interrupt?a(S):re(S)):(u=7,o.interrupt&&!o.parser.lazy[o.now().line]?r(S):f?Y(S):H(S))}return S===45||Xt(S)?(n.consume(S),c+=String.fromCharCode(S),D):r(S)}function k(S){return S===62?(n.consume(S),o.interrupt?a:re):r(S)}function Y(S){return qe(S)?(n.consume(S),Y):z(S)}function H(S){return S===47?(n.consume(S),z):S===58||S===95||tn(S)?(n.consume(S),W):qe(S)?(n.consume(S),H):z(S)}function W(S){return S===45||S===46||S===58||S===95||Xt(S)?(n.consume(S),W):X(S)}function X(S){return S===61?(n.consume(S),M):qe(S)?(n.consume(S),X):H(S)}function M(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(n.consume(S),m=S,Q):qe(S)?(n.consume(S),M):ee(S)}function Q(S){return S===m?(n.consume(S),m=null,ue):S===null||Se(S)?r(S):(n.consume(S),Q)}function ee(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||ct(S)?X(S):(n.consume(S),ee)}function ue(S){return S===47||S===62||qe(S)?H(S):r(S)}function z(S){return S===62?(n.consume(S),ae):r(S)}function ae(S){return S===null||Se(S)?re(S):qe(S)?(n.consume(S),ae):r(S)}function re(S){return S===45&&u===2?(n.consume(S),L):S===60&&u===1?(n.consume(S),$):S===62&&u===4?(n.consume(S),A):S===63&&u===3?(n.consume(S),T):S===93&&u===5?(n.consume(S),ye):Se(S)&&(u===6||u===7)?(n.exit("htmlFlowData"),n.check(G0,G,Ae)(S)):S===null||Se(S)?(n.exit("htmlFlowData"),Ae(S)):(n.consume(S),re)}function Ae(S){return n.check(Y0,oe,G)(S)}function oe(S){return n.enter("lineEnding"),n.consume(S),n.exit("lineEnding"),J}function J(S){return S===null||Se(S)?Ae(S):(n.enter("htmlFlowData"),re(S))}function L(S){return S===45?(n.consume(S),T):re(S)}function $(S){return S===47?(n.consume(S),c="",ne):re(S)}function ne(S){if(S===62){const ce=c.toLowerCase();return km.includes(ce)?(n.consume(S),A):re(S)}return tn(S)&&c.length<8?(n.consume(S),c+=String.fromCharCode(S),ne):re(S)}function ye(S){return S===93?(n.consume(S),T):re(S)}function T(S){return S===62?(n.consume(S),A):S===45&&u===2?(n.consume(S),T):re(S)}function A(S){return S===null||Se(S)?(n.exit("htmlFlowData"),G(S)):(n.consume(S),A)}function G(S){return n.exit("htmlFlow"),a(S)}}function V0(n,a,r){const o=this;return u;function u(c){return Se(c)?(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),f):r(c)}function f(c){return o.parser.lazy[o.now().line]?r(c):a(c)}}function P0(n,a,r){return o;function o(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),n.attempt(kr,a,r)}}const X0={name:"htmlText",tokenize:Z0};function Z0(n,a,r){const o=this;let u,f,c;return p;function p(T){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(T),m}function m(T){return T===33?(n.consume(T),g):T===47?(n.consume(T),X):T===63?(n.consume(T),H):tn(T)?(n.consume(T),ee):r(T)}function g(T){return T===45?(n.consume(T),b):T===91?(n.consume(T),f=0,x):tn(T)?(n.consume(T),Y):r(T)}function b(T){return T===45?(n.consume(T),_):r(T)}function h(T){return T===null?r(T):T===45?(n.consume(T),E):Se(T)?(c=h,$(T)):(n.consume(T),h)}function E(T){return T===45?(n.consume(T),_):h(T)}function _(T){return T===62?L(T):T===45?E(T):h(T)}function x(T){const A="CDATA[";return T===A.charCodeAt(f++)?(n.consume(T),f===A.length?C:x):r(T)}function C(T){return T===null?r(T):T===93?(n.consume(T),D):Se(T)?(c=C,$(T)):(n.consume(T),C)}function D(T){return T===93?(n.consume(T),k):C(T)}function k(T){return T===62?L(T):T===93?(n.consume(T),k):C(T)}function Y(T){return T===null||T===62?L(T):Se(T)?(c=Y,$(T)):(n.consume(T),Y)}function H(T){return T===null?r(T):T===63?(n.consume(T),W):Se(T)?(c=H,$(T)):(n.consume(T),H)}function W(T){return T===62?L(T):H(T)}function X(T){return tn(T)?(n.consume(T),M):r(T)}function M(T){return T===45||Xt(T)?(n.consume(T),M):Q(T)}function Q(T){return Se(T)?(c=Q,$(T)):qe(T)?(n.consume(T),Q):L(T)}function ee(T){return T===45||Xt(T)?(n.consume(T),ee):T===47||T===62||ct(T)?ue(T):r(T)}function ue(T){return T===47?(n.consume(T),L):T===58||T===95||tn(T)?(n.consume(T),z):Se(T)?(c=ue,$(T)):qe(T)?(n.consume(T),ue):L(T)}function z(T){return T===45||T===46||T===58||T===95||Xt(T)?(n.consume(T),z):ae(T)}function ae(T){return T===61?(n.consume(T),re):Se(T)?(c=ae,$(T)):qe(T)?(n.consume(T),ae):ue(T)}function re(T){return T===null||T===60||T===61||T===62||T===96?r(T):T===34||T===39?(n.consume(T),u=T,Ae):Se(T)?(c=re,$(T)):qe(T)?(n.consume(T),re):(n.consume(T),oe)}function Ae(T){return T===u?(n.consume(T),u=void 0,J):T===null?r(T):Se(T)?(c=Ae,$(T)):(n.consume(T),Ae)}function oe(T){return T===null||T===34||T===39||T===60||T===61||T===96?r(T):T===47||T===62||ct(T)?ue(T):(n.consume(T),oe)}function J(T){return T===47||T===62||ct(T)?ue(T):r(T)}function L(T){return T===62?(n.consume(T),n.exit("htmlTextData"),n.exit("htmlText"),a):r(T)}function $(T){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(T),n.exit("lineEnding"),ne}function ne(T){return qe(T)?Ve(n,ye,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):ye(T)}function ye(T){return n.enter("htmlTextData"),c(T)}}const pf={name:"labelEnd",resolveAll:W0,resolveTo:ev,tokenize:tv},Q0={tokenize:nv},$0={tokenize:iv},J0={tokenize:av};function W0(n){let a=-1;const r=[];for(;++a<n.length;){const o=n[a][1];if(r.push(n[a]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const u=o.type==="labelImage"?4:2;o.type="data",a+=u}}return n.length!==r.length&&An(n,0,n.length,r),n}function ev(n,a){let r=n.length,o=0,u,f,c,p;for(;r--;)if(u=n[r][1],f){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;n[r][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(c){if(n[r][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(f=r,u.type!=="labelLink")){o=2;break}}else u.type==="labelEnd"&&(c=r);const m={type:n[f][1].type==="labelLink"?"link":"image",start:{...n[f][1].start},end:{...n[n.length-1][1].end}},g={type:"label",start:{...n[f][1].start},end:{...n[c][1].end}},b={type:"labelText",start:{...n[f+o+2][1].end},end:{...n[c-2][1].start}};return p=[["enter",m,a],["enter",g,a]],p=In(p,n.slice(f+1,f+o+3)),p=In(p,[["enter",b,a]]),p=In(p,fs(a.parser.constructs.insideSpan.null,n.slice(f+o+4,c-3),a)),p=In(p,[["exit",b,a],n[c-2],n[c-1],["exit",g,a]]),p=In(p,n.slice(c+1)),p=In(p,[["exit",m,a]]),An(n,f,n.length,p),n}function tv(n,a,r){const o=this;let u=o.events.length,f,c;for(;u--;)if((o.events[u][1].type==="labelImage"||o.events[u][1].type==="labelLink")&&!o.events[u][1]._balanced){f=o.events[u][1];break}return p;function p(E){return f?f._inactive?h(E):(c=o.parser.defined.includes(Yn(o.sliceSerialize({start:f.end,end:o.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(E),n.exit("labelMarker"),n.exit("labelEnd"),m):r(E)}function m(E){return E===40?n.attempt(Q0,b,c?b:h)(E):E===91?n.attempt($0,b,c?g:h)(E):c?b(E):h(E)}function g(E){return n.attempt(J0,b,h)(E)}function b(E){return a(E)}function h(E){return f._balanced=!0,r(E)}}function nv(n,a,r){return o;function o(h){return n.enter("resource"),n.enter("resourceMarker"),n.consume(h),n.exit("resourceMarker"),u}function u(h){return ct(h)?xr(n,f)(h):f(h)}function f(h){return h===41?b(h):Lh(n,c,p,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function c(h){return ct(h)?xr(n,m)(h):b(h)}function p(h){return r(h)}function m(h){return h===34||h===39||h===40?Bh(n,g,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):b(h)}function g(h){return ct(h)?xr(n,b)(h):b(h)}function b(h){return h===41?(n.enter("resourceMarker"),n.consume(h),n.exit("resourceMarker"),n.exit("resource"),a):r(h)}}function iv(n,a,r){const o=this;return u;function u(p){return zh.call(o,n,f,c,"reference","referenceMarker","referenceString")(p)}function f(p){return o.parser.defined.includes(Yn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?a(p):r(p)}function c(p){return r(p)}}function av(n,a,r){return o;function o(f){return n.enter("reference"),n.enter("referenceMarker"),n.consume(f),n.exit("referenceMarker"),u}function u(f){return f===93?(n.enter("referenceMarker"),n.consume(f),n.exit("referenceMarker"),n.exit("reference"),a):r(f)}}const lv={name:"labelStartImage",resolveAll:pf.resolveAll,tokenize:rv};function rv(n,a,r){const o=this;return u;function u(p){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(p),n.exit("labelImageMarker"),f}function f(p){return p===91?(n.enter("labelMarker"),n.consume(p),n.exit("labelMarker"),n.exit("labelImage"),c):r(p)}function c(p){return p===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(p):a(p)}}const ov={name:"labelStartLink",resolveAll:pf.resolveAll,tokenize:sv};function sv(n,a,r){const o=this;return u;function u(c){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(c),n.exit("labelMarker"),n.exit("labelLink"),f}function f(c){return c===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(c):a(c)}}const Ac={name:"lineEnding",tokenize:uv};function uv(n,a){return r;function r(o){return n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),Ve(n,a,"linePrefix")}}const is={name:"thematicBreak",tokenize:cv};function cv(n,a,r){let o=0,u;return f;function f(g){return n.enter("thematicBreak"),c(g)}function c(g){return u=g,p(g)}function p(g){return g===u?(n.enter("thematicBreakSequence"),m(g)):o>=3&&(g===null||Se(g))?(n.exit("thematicBreak"),a(g)):r(g)}function m(g){return g===u?(n.consume(g),o++,m):(n.exit("thematicBreakSequence"),qe(g)?Ve(n,p,"whitespace")(g):p(g))}}const dn={continuation:{tokenize:gv},exit:hv,name:"list",tokenize:pv},fv={partial:!0,tokenize:bv},dv={partial:!0,tokenize:mv};function pv(n,a,r){const o=this,u=o.events[o.events.length-1];let f=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,c=0;return p;function p(_){const x=o.containerState.type||(_===42||_===43||_===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!o.containerState.marker||_===o.containerState.marker:Pc(_)){if(o.containerState.type||(o.containerState.type=x,n.enter(x,{_container:!0})),x==="listUnordered")return n.enter("listItemPrefix"),_===42||_===45?n.check(is,r,g)(_):g(_);if(!o.interrupt||_===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),m(_)}return r(_)}function m(_){return Pc(_)&&++c<10?(n.consume(_),m):(!o.interrupt||c<2)&&(o.containerState.marker?_===o.containerState.marker:_===41||_===46)?(n.exit("listItemValue"),g(_)):r(_)}function g(_){return n.enter("listItemMarker"),n.consume(_),n.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||_,n.check(kr,o.interrupt?r:b,n.attempt(fv,E,h))}function b(_){return o.containerState.initialBlankLine=!0,f++,E(_)}function h(_){return qe(_)?(n.enter("listItemPrefixWhitespace"),n.consume(_),n.exit("listItemPrefixWhitespace"),E):r(_)}function E(_){return o.containerState.size=f+o.sliceSerialize(n.exit("listItemPrefix"),!0).length,a(_)}}function gv(n,a,r){const o=this;return o.containerState._closeFlow=void 0,n.check(kr,u,f);function u(p){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Ve(n,a,"listItemIndent",o.containerState.size+1)(p)}function f(p){return o.containerState.furtherBlankLines||!qe(p)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,c(p)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,n.attempt(dv,a,c)(p))}function c(p){return o.containerState._closeFlow=!0,o.interrupt=void 0,Ve(n,n.attempt(dn,a,r),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(p)}}function mv(n,a,r){const o=this;return Ve(n,u,"listItemIndent",o.containerState.size+1);function u(f){const c=o.events[o.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===o.containerState.size?a(f):r(f)}}function hv(n){n.exit(this.containerState.type)}function bv(n,a,r){const o=this;return Ve(n,u,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(f){const c=o.events[o.events.length-1];return!qe(f)&&c&&c[1].type==="listItemPrefixWhitespace"?a(f):r(f)}}const Cm={name:"setextUnderline",resolveTo:yv,tokenize:Ev};function yv(n,a){let r=n.length,o,u,f;for(;r--;)if(n[r][0]==="enter"){if(n[r][1].type==="content"){o=r;break}n[r][1].type==="paragraph"&&(u=r)}else n[r][1].type==="content"&&n.splice(r,1),!f&&n[r][1].type==="definition"&&(f=r);const c={type:"setextHeading",start:{...n[o][1].start},end:{...n[n.length-1][1].end}};return n[u][1].type="setextHeadingText",f?(n.splice(u,0,["enter",c,a]),n.splice(f+1,0,["exit",n[o][1],a]),n[o][1].end={...n[f][1].end}):n[o][1]=c,n.push(["exit",c,a]),n}function Ev(n,a,r){const o=this;let u;return f;function f(g){let b=o.events.length,h;for(;b--;)if(o.events[b][1].type!=="lineEnding"&&o.events[b][1].type!=="linePrefix"&&o.events[b][1].type!=="content"){h=o.events[b][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||h)?(n.enter("setextHeadingLine"),u=g,c(g)):r(g)}function c(g){return n.enter("setextHeadingLineSequence"),p(g)}function p(g){return g===u?(n.consume(g),p):(n.exit("setextHeadingLineSequence"),qe(g)?Ve(n,m,"lineSuffix")(g):m(g))}function m(g){return g===null||Se(g)?(n.exit("setextHeadingLine"),a(g)):r(g)}}const _v={tokenize:vv};function vv(n){const a=this,r=n.attempt(kr,o,n.attempt(this.parser.constructs.flowInitial,u,Ve(n,n.attempt(this.parser.constructs.flow,u,n.attempt(A0,u)),"linePrefix")));return r;function o(f){if(f===null){n.consume(f);return}return n.enter("lineEndingBlank"),n.consume(f),n.exit("lineEndingBlank"),a.currentConstruct=void 0,r}function u(f){if(f===null){n.consume(f);return}return n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),a.currentConstruct=void 0,r}}const Sv={resolveAll:Uh()},xv=Ih("string"),Tv=Ih("text");function Ih(n){return{resolveAll:Uh(n==="text"?Nv:void 0),tokenize:a};function a(r){const o=this,u=this.parser.constructs[n],f=r.attempt(u,c,p);return c;function c(b){return g(b)?f(b):p(b)}function p(b){if(b===null){r.consume(b);return}return r.enter("data"),r.consume(b),m}function m(b){return g(b)?(r.exit("data"),f(b)):(r.consume(b),m)}function g(b){if(b===null)return!0;const h=u[b];let E=-1;if(h)for(;++E<h.length;){const _=h[E];if(!_.previous||_.previous.call(o,o.previous))return!0}return!1}}}function Uh(n){return a;function a(r,o){let u=-1,f;for(;++u<=r.length;)f===void 0?r[u]&&r[u][1].type==="data"&&(f=u,u++):(!r[u]||r[u][1].type!=="data")&&(u!==f+2&&(r[f][1].end=r[u-1][1].end,r.splice(f+2,u-f-2),u=f+2),f=void 0);return n?n(r,o):r}}function Nv(n,a){let r=0;for(;++r<=n.length;)if((r===n.length||n[r][1].type==="lineEnding")&&n[r-1][1].type==="data"){const o=n[r-1][1],u=a.sliceStream(o);let f=u.length,c=-1,p=0,m;for(;f--;){const g=u[f];if(typeof g=="string"){for(c=g.length;g.charCodeAt(c-1)===32;)p++,c--;if(c)break;c=-1}else if(g===-2)m=!0,p++;else if(g!==-1){f++;break}}if(a._contentTypeTextTrailing&&r===n.length&&(p=0),p){const g={type:r===n.length||m||p<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?c:o.start._bufferIndex+c,_index:o.start._index+f,line:o.end.line,column:o.end.column-p,offset:o.end.offset-p},end:{...o.end}};o.end={...g.start},o.start.offset===o.end.offset?Object.assign(o,g):(n.splice(r,0,["enter",g,a],["exit",g,a]),r+=2)}r++}return n}const Av={42:dn,43:dn,45:dn,48:dn,49:dn,50:dn,51:dn,52:dn,53:dn,54:dn,55:dn,56:dn,57:dn,62:Oh},wv={91:M0},kv={[-2]:Nc,[-1]:Nc,32:Nc},Cv={35:I0,42:is,45:[Cm,is],60:F0,61:Cm,95:is,96:wm,126:wm},Ov={38:Rh,92:Mh},Mv={[-5]:Ac,[-4]:Ac,[-3]:Ac,33:lv,38:Rh,42:Xc,60:[o0,X0],91:ov,92:[z0,Mh],93:pf,95:Xc,96:_0},Rv={null:[Xc,Sv]},Dv={null:[42,95]},Lv={null:[]},zv=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Dv,contentInitial:wv,disable:Lv,document:Av,flow:Cv,flowInitial:kv,insideSpan:Rv,string:Ov,text:Mv},Symbol.toStringTag,{value:"Module"}));function Bv(n,a,r){let o={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const u={},f=[];let c=[],p=[];const m={attempt:Q(X),check:Q(M),consume:Y,enter:H,exit:W,interrupt:Q(M,{interrupt:!0})},g={code:null,containerState:{},defineSkip:C,events:[],now:x,parser:n,previous:null,sliceSerialize:E,sliceStream:_,write:h};let b=a.tokenize.call(g,m);return a.resolveAll&&f.push(a),g;function h(ae){return c=In(c,ae),D(),c[c.length-1]!==null?[]:(ee(a,0),g.events=fs(f,g.events,g),g.events)}function E(ae,re){return Uv(_(ae),re)}function _(ae){return Iv(c,ae)}function x(){const{_bufferIndex:ae,_index:re,line:Ae,column:oe,offset:J}=o;return{_bufferIndex:ae,_index:re,line:Ae,column:oe,offset:J}}function C(ae){u[ae.line]=ae.column,z()}function D(){let ae;for(;o._index<c.length;){const re=c[o._index];if(typeof re=="string")for(ae=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===ae&&o._bufferIndex<re.length;)k(re.charCodeAt(o._bufferIndex));else k(re)}}function k(ae){b=b(ae)}function Y(ae){Se(ae)?(o.line++,o.column=1,o.offset+=ae===-3?2:1,z()):ae!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===c[o._index].length&&(o._bufferIndex=-1,o._index++)),g.previous=ae}function H(ae,re){const Ae=re||{};return Ae.type=ae,Ae.start=x(),g.events.push(["enter",Ae,g]),p.push(Ae),Ae}function W(ae){const re=p.pop();return re.end=x(),g.events.push(["exit",re,g]),re}function X(ae,re){ee(ae,re.from)}function M(ae,re){re.restore()}function Q(ae,re){return Ae;function Ae(oe,J,L){let $,ne,ye,T;return Array.isArray(oe)?G(oe):"tokenize"in oe?G([oe]):A(oe);function A(me){return Le;function Le(Je){const Qe=Je!==null&&me[Je],zt=Je!==null&&me.null,gn=[...Array.isArray(Qe)?Qe:Qe?[Qe]:[],...Array.isArray(zt)?zt:zt?[zt]:[]];return G(gn)(Je)}}function G(me){return $=me,ne=0,me.length===0?L:S(me[ne])}function S(me){return Le;function Le(Je){return T=ue(),ye=me,me.partial||(g.currentConstruct=me),me.name&&g.parser.constructs.disable.null.includes(me.name)?_e():me.tokenize.call(re?Object.assign(Object.create(g),re):g,m,ce,_e)(Je)}}function ce(me){return ae(ye,T),J}function _e(me){return T.restore(),++ne<$.length?S($[ne]):L}}}function ee(ae,re){ae.resolveAll&&!f.includes(ae)&&f.push(ae),ae.resolve&&An(g.events,re,g.events.length-re,ae.resolve(g.events.slice(re),g)),ae.resolveTo&&(g.events=ae.resolveTo(g.events,g))}function ue(){const ae=x(),re=g.previous,Ae=g.currentConstruct,oe=g.events.length,J=Array.from(p);return{from:oe,restore:L};function L(){o=ae,g.previous=re,g.currentConstruct=Ae,g.events.length=oe,p=J,z()}}function z(){o.line in u&&o.column<2&&(o.column=u[o.line],o.offset+=u[o.line]-1)}}function Iv(n,a){const r=a.start._index,o=a.start._bufferIndex,u=a.end._index,f=a.end._bufferIndex;let c;if(r===u)c=[n[r].slice(o,f)];else{if(c=n.slice(r,u),o>-1){const p=c[0];typeof p=="string"?c[0]=p.slice(o):c.shift()}f>0&&c.push(n[u].slice(0,f))}return c}function Uv(n,a){let r=-1;const o=[];let u;for(;++r<n.length;){const f=n[r];let c;if(typeof f=="string")c=f;else switch(f){case-5:{c="\r";break}case-4:{c=`
|
|
51
51
|
`;break}case-3:{c=`\r
|
|
52
52
|
`;break}case-2:{c=a?" ":" ";break}case-1:{if(!a&&u)continue;c=" ";break}default:c=String.fromCharCode(f)}u=f===-2,o.push(c)}return o.join("")}function Hv(n){const o={constructs:kh([zv,...(n||{}).extensions||[]]),content:u(e0),defined:[],document:u(n0),flow:u(_v),lazy:{},string:u(xv),text:u(Tv)};return o;function u(f){return c;function c(p){return Bv(o,f,p)}}}function qv(n){for(;!Dh(n););return n}const Om=/[\0\t\n\r]/g;function Fv(){let n=1,a="",r=!0,o;return u;function u(f,c,p){const m=[];let g,b,h,E,_;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(c||void 0).decode(f)),h=0,a="",r&&(f.charCodeAt(0)===65279&&h++,r=void 0);h<f.length;){if(Om.lastIndex=h,g=Om.exec(f),E=g&&g.index!==void 0?g.index:f.length,_=f.charCodeAt(E),!g){a=f.slice(h);break}if(_===10&&h===E&&o)m.push(-3),o=void 0;else switch(o&&(m.push(-5),o=void 0),h<E&&(m.push(f.slice(h,E)),n+=E-h),_){case 0:{m.push(65533),n++;break}case 9:{for(b=Math.ceil(n/4)*4,m.push(-2);n++<b;)m.push(-1);break}case 10:{m.push(-4),n=1;break}default:o=!0,n=1}h=E+1}return p&&(o&&m.push(-5),a&&m.push(a),m.push(null)),m}}const Gv=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Yv(n){return n.replace(Gv,jv)}function jv(n,a,r){if(a)return a;if(r.charCodeAt(0)===35){const u=r.charCodeAt(1),f=u===120||u===88;return Ch(r.slice(f?2:1),f?16:10)}return df(r)||n}const Hh={}.hasOwnProperty;function Kv(n,a,r){return typeof a!="string"&&(r=a,a=void 0),Vv(r)(qv(Hv(r).document().write(Fv()(n,a,!0))))}function Vv(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Kn),autolinkProtocol:ue,autolinkEmail:ue,atxHeading:f(jn),blockQuote:f(zt),characterEscape:ue,characterReference:ue,codeFenced:f(gn),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:f(gn,c),codeText:f(ti,c),codeTextData:ue,data:ue,codeFlowValue:ue,definition:f(Ti),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:f(mn),hardBreakEscape:f(je),hardBreakTrailing:f(je),htmlFlow:f(Un,c),htmlFlowData:ue,htmlText:f(Un,c),htmlTextData:ue,image:f(wn),label:c,link:f(Kn),listItem:f(ta),listItemValue:E,listOrdered:f(ni,h),listUnordered:f(ni),paragraph:f(vl),reference:S,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:f(jn),strong:f(wa),thematicBreak:f(ka)},exit:{atxHeading:m(),atxHeadingSequence:X,autolink:m(),autolinkEmail:Qe,autolinkProtocol:Je,blockQuote:m(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:_e,characterReferenceMarkerNumeric:_e,characterReferenceValue:me,characterReference:Le,codeFenced:m(D),codeFencedFence:C,codeFencedFenceInfo:_,codeFencedFenceMeta:x,codeFlowValue:z,codeIndented:m(k),codeText:m(J),codeTextData:z,data:z,definition:m(),definitionDestinationString:W,definitionLabelString:Y,definitionTitleString:H,emphasis:m(),hardBreakEscape:m(re),hardBreakTrailing:m(re),htmlFlow:m(Ae),htmlFlowData:z,htmlText:m(oe),htmlTextData:z,image:m($),label:ye,labelText:ne,lineEnding:ae,link:m(L),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:ce,resourceDestinationString:T,resourceTitleString:A,resource:G,setextHeading:m(ee),setextHeadingLineSequence:Q,setextHeadingText:M,strong:m(),thematicBreak:m()}};qh(a,(n||{}).mdastExtensions||[]);const r={};return o;function o(j){let le={type:"root",children:[]};const xe={stack:[le],tokenStack:[],config:a,enter:p,exit:g,buffer:c,resume:b,data:r},ze=[];let Pe=-1;for(;++Pe<j.length;)if(j[Pe][1].type==="listOrdered"||j[Pe][1].type==="listUnordered")if(j[Pe][0]==="enter")ze.push(Pe);else{const Qt=ze.pop();Pe=u(j,Qt,Pe)}for(Pe=-1;++Pe<j.length;){const Qt=a[j[Pe][0]];Hh.call(Qt,j[Pe][1].type)&&Qt[j[Pe][1].type].call(Object.assign({sliceSerialize:j[Pe][2].sliceSerialize},xe),j[Pe][1])}if(xe.tokenStack.length>0){const Qt=xe.tokenStack[xe.tokenStack.length-1];(Qt[1]||Mm).call(xe,void 0,Qt[0])}for(le.position={start:Wi(j.length>0?j[0][1].start:{line:1,column:1,offset:0}),end:Wi(j.length>0?j[j.length-2][1].end:{line:1,column:1,offset:0})},Pe=-1;++Pe<a.transforms.length;)le=a.transforms[Pe](le)||le;return le}function u(j,le,xe){let ze=le-1,Pe=-1,Qt=!1,Hn,Ut,_t,jt;for(;++ze<=xe;){const We=j[ze];switch(We[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{We[0]==="enter"?Pe++:Pe--,jt=void 0;break}case"lineEndingBlank":{We[0]==="enter"&&(Hn&&!jt&&!Pe&&!_t&&(_t=ze),jt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:jt=void 0}if(!Pe&&We[0]==="enter"&&We[1].type==="listItemPrefix"||Pe===-1&&We[0]==="exit"&&(We[1].type==="listUnordered"||We[1].type==="listOrdered")){if(Hn){let Vn=ze;for(Ut=void 0;Vn--;){const $t=j[Vn];if($t[1].type==="lineEnding"||$t[1].type==="lineEndingBlank"){if($t[0]==="exit")continue;Ut&&(j[Ut][1].type="lineEndingBlank",Qt=!0),$t[1].type="lineEnding",Ut=Vn}else if(!($t[1].type==="linePrefix"||$t[1].type==="blockQuotePrefix"||$t[1].type==="blockQuotePrefixWhitespace"||$t[1].type==="blockQuoteMarker"||$t[1].type==="listItemIndent"))break}_t&&(!Ut||_t<Ut)&&(Hn._spread=!0),Hn.end=Object.assign({},Ut?j[Ut][1].start:We[1].end),j.splice(Ut||ze,0,["exit",Hn,We[2]]),ze++,xe++}if(We[1].type==="listItemPrefix"){const Vn={type:"listItem",_spread:!1,start:Object.assign({},We[1].start),end:void 0};Hn=Vn,j.splice(ze,0,["enter",Vn,We[2]]),ze++,xe++,_t=void 0,jt=!0}}}return j[le][1]._spread=Qt,xe}function f(j,le){return xe;function xe(ze){p.call(this,j(ze),ze),le&&le.call(this,ze)}}function c(){this.stack.push({type:"fragment",children:[]})}function p(j,le,xe){this.stack[this.stack.length-1].children.push(j),this.stack.push(j),this.tokenStack.push([le,xe||void 0]),j.position={start:Wi(le.start),end:void 0}}function m(j){return le;function le(xe){j&&j.call(this,xe),g.call(this,xe)}}function g(j,le){const xe=this.stack.pop(),ze=this.tokenStack.pop();if(ze)ze[0].type!==j.type&&(le?le.call(this,j,ze[0]):(ze[1]||Mm).call(this,j,ze[0]));else throw new Error("Cannot close `"+j.type+"` ("+Sr({start:j.start,end:j.end})+"): it’s not open");xe.position.end=Wi(j.end)}function b(){return ff(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function E(j){if(this.data.expectingFirstListItemValue){const le=this.stack[this.stack.length-2];le.start=Number.parseInt(this.sliceSerialize(j),10),this.data.expectingFirstListItemValue=void 0}}function _(){const j=this.resume(),le=this.stack[this.stack.length-1];le.lang=j}function x(){const j=this.resume(),le=this.stack[this.stack.length-1];le.meta=j}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function D(){const j=this.resume(),le=this.stack[this.stack.length-1];le.value=j.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const j=this.resume(),le=this.stack[this.stack.length-1];le.value=j.replace(/(\r?\n|\r)$/g,"")}function Y(j){const le=this.resume(),xe=this.stack[this.stack.length-1];xe.label=le,xe.identifier=Yn(this.sliceSerialize(j)).toLowerCase()}function H(){const j=this.resume(),le=this.stack[this.stack.length-1];le.title=j}function W(){const j=this.resume(),le=this.stack[this.stack.length-1];le.url=j}function X(j){const le=this.stack[this.stack.length-1];if(!le.depth){const xe=this.sliceSerialize(j).length;le.depth=xe}}function M(){this.data.setextHeadingSlurpLineEnding=!0}function Q(j){const le=this.stack[this.stack.length-1];le.depth=this.sliceSerialize(j).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function ue(j){const xe=this.stack[this.stack.length-1].children;let ze=xe[xe.length-1];(!ze||ze.type!=="text")&&(ze=yt(),ze.position={start:Wi(j.start),end:void 0},xe.push(ze)),this.stack.push(ze)}function z(j){const le=this.stack.pop();le.value+=this.sliceSerialize(j),le.position.end=Wi(j.end)}function ae(j){const le=this.stack[this.stack.length-1];if(this.data.atHardBreak){const xe=le.children[le.children.length-1];xe.position.end=Wi(j.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(le.type)&&(ue.call(this,j),z.call(this,j))}function re(){this.data.atHardBreak=!0}function Ae(){const j=this.resume(),le=this.stack[this.stack.length-1];le.value=j}function oe(){const j=this.resume(),le=this.stack[this.stack.length-1];le.value=j}function J(){const j=this.resume(),le=this.stack[this.stack.length-1];le.value=j}function L(){const j=this.stack[this.stack.length-1];if(this.data.inReference){const le=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=le,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function $(){const j=this.stack[this.stack.length-1];if(this.data.inReference){const le=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=le,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function ne(j){const le=this.sliceSerialize(j),xe=this.stack[this.stack.length-2];xe.label=Yv(le),xe.identifier=Yn(le).toLowerCase()}function ye(){const j=this.stack[this.stack.length-1],le=this.resume(),xe=this.stack[this.stack.length-1];if(this.data.inReference=!0,xe.type==="link"){const ze=j.children;xe.children=ze}else xe.alt=le}function T(){const j=this.resume(),le=this.stack[this.stack.length-1];le.url=j}function A(){const j=this.resume(),le=this.stack[this.stack.length-1];le.title=j}function G(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function ce(j){const le=this.resume(),xe=this.stack[this.stack.length-1];xe.label=le,xe.identifier=Yn(this.sliceSerialize(j)).toLowerCase(),this.data.referenceType="full"}function _e(j){this.data.characterReferenceType=j.type}function me(j){const le=this.sliceSerialize(j),xe=this.data.characterReferenceType;let ze;xe?(ze=Ch(le,xe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ze=df(le);const Pe=this.stack[this.stack.length-1];Pe.value+=ze}function Le(j){const le=this.stack.pop();le.position.end=Wi(j.end)}function Je(j){z.call(this,j);const le=this.stack[this.stack.length-1];le.url=this.sliceSerialize(j)}function Qe(j){z.call(this,j);const le=this.stack[this.stack.length-1];le.url="mailto:"+this.sliceSerialize(j)}function zt(){return{type:"blockquote",children:[]}}function gn(){return{type:"code",lang:null,meta:null,value:""}}function ti(){return{type:"inlineCode",value:""}}function Ti(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mn(){return{type:"emphasis",children:[]}}function jn(){return{type:"heading",depth:0,children:[]}}function je(){return{type:"break"}}function Un(){return{type:"html",value:""}}function wn(){return{type:"image",title:null,url:"",alt:null}}function Kn(){return{type:"link",title:null,url:"",children:[]}}function ni(j){return{type:"list",ordered:j.type==="listOrdered",start:null,spread:j._spread,children:[]}}function ta(j){return{type:"listItem",spread:j._spread,checked:null,children:[]}}function vl(){return{type:"paragraph",children:[]}}function wa(){return{type:"strong",children:[]}}function yt(){return{type:"text",value:""}}function ka(){return{type:"thematicBreak"}}}function Wi(n){return{line:n.line,column:n.column,offset:n.offset}}function qh(n,a){let r=-1;for(;++r<a.length;){const o=a[r];Array.isArray(o)?qh(n,o):Pv(n,o)}}function Pv(n,a){let r;for(r in a)if(Hh.call(a,r))switch(r){case"canContainEols":{const o=a[r];o&&n[r].push(...o);break}case"transforms":{const o=a[r];o&&n[r].push(...o);break}case"enter":case"exit":{const o=a[r];o&&Object.assign(n[r],o);break}}}function Mm(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+Sr({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+Sr({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+Sr({start:a.start,end:a.end})+") is still open")}function Xv(n){const a=this;a.parser=r;function r(o){return Kv(o,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function Zv(n,a){const r={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,r),n.applyData(a,r)}function Qv(n,a){const r={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,r),[n.applyData(a,r),{type:"text",value:`
|
|
@@ -84,4 +84,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Nt=te,et=Ee),Be===void
|
|
|
84
84
|
`)&&p<m){const h=(g.replace(/\n+$/,"").match(/\n/g)||[]).length;m=p+h}return{startLine:p,endLine:m}}const bA=({containerRef:n,onSubmitComment:a})=>{const[r,o]=Ie.useState(null),[u,f]=Ie.useState(!1),[c,p]=Ie.useState(!1),[m,g]=Ie.useState(""),[b,h]=Ie.useState(null),E=Ie.useRef(null),_=Ie.useRef(null),x=Ie.useRef(!1),C=Ie.useCallback(X=>{if(_.current&&(_.current.remove(),_.current=null),!X||!n.current)return;const M=X.getClientRects();if(M.length===0)return;const Q=n.current.getBoundingClientRect(),ee=document.createElement("div");ee.className="selection-highlight-container",ee.style.position="absolute",ee.style.top="0",ee.style.left="0",ee.style.pointerEvents="none";for(let ue=0;ue<M.length;ue++){const z=M[ue],ae=document.createElement("div");ae.className="selection-highlight",ae.style.position="absolute",ae.style.left=`${z.left-Q.left+n.current.scrollLeft}px`,ae.style.top=`${z.top-Q.top+n.current.scrollTop}px`,ae.style.width=`${z.width}px`,ae.style.height=`${z.height}px`,ee.appendChild(ae)}n.current.style.position="relative",n.current.appendChild(ee),_.current=ee},[n]),D=Ie.useCallback(()=>{const X=window.getSelection();if(!X||X.isCollapsed||!n.current){c||(f(!1),h(null),C(null));return}const M=X.anchorNode;if(!M||!n.current.contains(M)){c||(f(!1),h(null),C(null));return}const Q=X.getRangeAt(0),ee=Q.getBoundingClientRect(),ue=hA(X);h({range:Q.cloneRange(),text:X.toString(),startLine:(ue==null?void 0:ue.startLine)??1,endLine:(ue==null?void 0:ue.endLine)??1}),o({x:ee.left+ee.width/2,y:ee.top-8}),f(!0)},[n,c,C]),k=X=>{if(X.preventDefault(),X.stopPropagation(),b){C(b.range);const M=b.range.getClientRects();if(M.length>0){let Q=M[0];for(let ee=1;ee<M.length;ee++)M[ee].top<Q.top&&(Q=M[ee]);o({x:Q.left,y:Q.top-8})}}p(!0),x.current=!0,setTimeout(()=>{var M;(M=E.current)==null||M.focus()},0)},Y=()=>{m.trim()&&a&&b&&a(m.trim(),b.text,b.startLine,b.endLine),g(""),p(!1),x.current=!1,f(!1),h(null),C(null)},H=()=>{g(""),p(!1),x.current=!1,f(!1),h(null),C(null)},W=X=>{X.key==="Enter"&&(X.metaKey||X.ctrlKey)?(X.preventDefault(),Y()):X.key==="Escape"&&H()};return Ie.useEffect(()=>{const X=Q=>{setTimeout(()=>{var ee;(ee=Q.target)!=null&&ee.closest(".selection-popover")||x.current||D()},10)},M=Q=>{var ee;(ee=Q.target)!=null&&ee.closest(".selection-popover")||x.current||(f(!1),h(null),C(null))};return document.addEventListener("mouseup",X),document.addEventListener("mousedown",M),()=>{document.removeEventListener("mouseup",X),document.removeEventListener("mousedown",M)}},[D,C]),Ie.useEffect(()=>()=>{_.current&&_.current.remove()},[]),!u||!r?null:q.jsx("div",{className:"selection-popover",style:{position:"fixed",left:r.x,top:r.y,transform:c?"translateY(-100%)":"translate(-50%, -100%)"},children:c?q.jsxs("div",{className:"comment-form",children:[q.jsx("textarea",{ref:E,className:"comment-input",placeholder:"Add a comment...",value:m,onChange:X=>g(X.target.value),onKeyDown:W,rows:3}),q.jsxs("div",{className:"comment-actions",children:[q.jsx("button",{className:"comment-cancel",onClick:H,children:"Cancel"}),q.jsx("button",{className:"comment-submit",onClick:Y,disabled:!m.trim(),children:"Submit"})]})]}):q.jsx("button",{className:"popover-button",onMouseDown:X=>X.preventDefault(),onClick:k,children:"Comment"})})},yA=({comments:n,filename:a,onDeleteComment:r,onDeleteAll:o})=>{const[u,f]=Ie.useState(null),[c,p]=Ie.useState(!1),m=h=>{const E=h.startLine===h.endLine?`L${h.startLine}`:`L${h.startLine}-${h.endLine}`;return`${a}:${E}
|
|
85
85
|
${h.text}`},g=async h=>{try{await navigator.clipboard.writeText(m(h)),f(h.id),setTimeout(()=>f(null),2e3)}catch(E){console.error("Failed to copy:",E)}},b=async()=>{const h=n.map(m).join(`
|
|
86
86
|
------------------------------------
|
|
87
|
-
`);try{await navigator.clipboard.writeText(h),p(!0),setTimeout(()=>p(!1),2e3)}catch(E){console.error("Failed to copy:",E)}};return n.length===0?q.jsxs("div",{className:"comment-list-empty",children:[q.jsx("p",{children:"No comments yet"}),q.jsx("p",{className:"comment-list-hint",children:"Select text to add a comment"})]}):q.jsxs("div",{className:"comment-list",children:[q.jsxs("div",{className:"comment-list-header",children:[q.jsxs("h3",{className:"comment-list-title",children:["Comments (",n.length,")"]}),q.jsxs("div",{className:"comment-list-actions",children:[q.jsxs("button",{className:`comment-list-copy-all ${c?"copied":""}`,onClick:b,title:c?"Copied!":"Copy all comments",children:[c?q.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:q.jsx("polyline",{points:"20 6 9 17 4 12"})}):q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[q.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),q.jsx("path",{d:"M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"})]}),q.jsx("span",{children:"Copy All"})]}),o&&q.jsxs("button",{className:"comment-list-delete-all",onClick:o,title:"Delete all comments",children:[q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[q.jsx("polyline",{points:"3 6 5 6 21 6"}),q.jsx("path",{d:"M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"})]}),q.jsx("span",{children:"Clear"})]})]})]}),q.jsx("div",{className:"comment-list-items",children:n.map(h=>q.jsxs("div",{className:"comment-item",children:[q.jsxs("div",{className:"comment-item-header",children:[q.jsxs("span",{className:"comment-item-lines",children:["Line ",h.startLine===h.endLine?h.startLine:`${h.startLine}-${h.endLine}`]}),q.jsxs("div",{className:"comment-item-actions",children:[q.jsx("button",{className:`comment-item-copy ${u===h.id?"copied":""}`,onClick:()=>g(h),title:u===h.id?"Copied!":"Copy comment",children:u===h.id?q.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:q.jsx("polyline",{points:"20 6 9 17 4 12"})}):q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[q.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),q.jsx("path",{d:"M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"})]})}),r&&q.jsx("button",{className:"comment-item-delete",onClick:()=>r(h.id),title:"Delete comment",children:"×"})]})]}),q.jsxs("div",{className:"comment-item-selection",children:['"',h.selectedText.length>50?h.selectedText.slice(0,50)+"...":h.selectedText,'"']}),q.jsx("div",{className:"comment-item-text",children:h.text})]},h.id))})]})},EA={p:({node:n,children:a,...r})=>{var o,u;return q.jsx("p",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h1:({node:n,children:a,...r})=>{var o,u;return q.jsx("h1",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h2:({node:n,children:a,...r})=>{var o,u;return q.jsx("h2",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h3:({node:n,children:a,...r})=>{var o,u;return q.jsx("h3",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h4:({node:n,children:a,...r})=>{var o,u;return q.jsx("h4",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h5:({node:n,children:a,...r})=>{var o,u;return q.jsx("h5",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h6:({node:n,children:a,...r})=>{var o,u;return q.jsx("h6",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},li:({node:n,children:a,...r})=>{var o,u;return q.jsx("li",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},blockquote:({node:n,children:a,...r})=>{var o,u;return q.jsx("blockquote",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},pre:({node:n,children:a,...r})=>{var o,u;return q.jsx("pre",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},td:({node:n,children:a,...r})=>{var o,u;return q.jsx("td",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},th:({node:n,children:a,...r})=>{var o,u;return q.jsx("th",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})}},Hb=({content:n,filename:a,filePath:r,comments:o,onCommentsChange:u})=>{const f=Ie.useRef(null),c=(g,b,h,E)=>{const _={id:crypto.randomUUID(),text:g,selectedText:b,startLine:h,endLine:E,createdAt:new Date};u([...o,_])},p=g=>{u(o.filter(b=>b.id!==g))},m=()=>{u([])};return q.jsxs("div",{className:"markdown-with-comments",children:[q.jsxs("div",{className:"markdown-container",children:[q.jsx("header",{className:"markdown-header",children:q.jsx("h1",{children:a})}),q.jsx("div",{className:"markdown-content",ref:f,children:q.jsx(p1,{remarkPlugins:[AT],rehypePlugins:[gA],components:EA,children:n})}),q.jsx(bA,{containerRef:f,onSubmitComment:c})]}),q.jsx("aside",{className:"comments-sidebar",children:q.jsx(yA,{comments:[...o].sort((g,b)=>g.startLine-b.startLine),filename:r||a,onDeleteComment:p,onDeleteAll:m})})]})},tf=({error:n})=>q.jsxs("div",{style:{padding:"2rem",maxWidth:"800px",margin:"2rem auto",backgroundColor:"#fee",border:"1px solid #fcc",borderRadius:"8px"},children:[q.jsx("h2",{style:{color:"#c00"},children:"Error"}),q.jsx("p",{children:n.message})]}),_A=()=>{const{files:n,loading:a,error:r}=WE(),[o,u]=Ie.useState(null),[f,c]=Ie.useState(!0),[p,m]=Ie.useState(!1),[g,b]=e_("md-review-comments",{}),{content:h,filename:E,loading:_,error:x}=ph(o),C=()=>{c(!0),m(!0),setTimeout(()=>m(!1),100)};return a?q.jsx("div",{className:"dev-loading",children:q.jsx("p",{children:"Loading files..."})}):r?q.jsx(tf,{error:r}):n.length===0?q.jsxs("div",{className:"dev-empty",children:[q.jsx("h2",{children:"No Markdown Files Found"}),q.jsx("p",{children:"No .md files were found in the current directory."})]}):q.jsxs("div",{className:`dev-container ${f?"":"sidebar-closed"}`,children:[q.jsxs("div",{className:`dev-sidebar ${f?"":"closed"}`,children:[!f&&q.jsxs("div",{className:"sidebar-icon-bar",children:[q.jsx("button",{className:"icon-bar-item",onClick:()=>c(!0),title:"Open sidebar",children:q.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:q.jsx("path",{d:"M5 3h6l2 2h4a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h2z",stroke:"currentColor",strokeWidth:"1.5"})})}),q.jsx("button",{className:"icon-bar-item",onClick:C,title:"Search",children:q.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[q.jsx("circle",{cx:"9",cy:"9",r:"6",stroke:"currentColor",strokeWidth:"1.5"}),q.jsx("path",{d:"M13.5 13.5l3.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})})]}),f&&q.jsx("div",{className:"sidebar-content",children:q.jsx(n_,{files:n,selectedFile:o,onFileSelect:u,onToggleSidebar:()=>c(!1),autoFocusSearch:p})})]}),q.jsx("div",{className:"dev-main",children:o?_?q.jsx("div",{className:"dev-loading",children:q.jsx("p",{children:"Loading markdown..."})}):x?q.jsx(tf,{error:x}):h&&E?q.jsx(Hb,{content:h,filename:E,filePath:o||E,comments:g[o||E]||[],onCommentsChange:D=>{const k=o||E;b(Y=>({...Y,[k]:D}))}}):q.jsx("div",{className:"dev-placeholder",children:q.jsx("p",{children:"No content available"})}):q.jsxs("div",{className:"dev-placeholder",children:[q.jsx("h2",{children:"Welcome to md-review"}),q.jsx("p",{children:"Select a markdown file from the sidebar to preview"}),q.jsxs("p",{className:"file-count",children:[n.length," markdown files found"]})]})})]})},vA=()=>{const{content:n,filename:a,loading:r,error:o}=ph(),[u,f]=Ie.useState([]);return r?q.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:q.jsx("p",{children:"Loading..."})}):o?q.jsx(tf,{error:o}):!n||!a?q.jsx("div",{style:{padding:"2rem"},children:q.jsx("p",{children:"No content available"})}):q.jsx(Hb,{content:n,filename:a,comments:u,onCommentsChange:f})};function SA(){const[n,a]=Ie.useState("loading");return Ie.useEffect(()=>{(async()=>{try{(await fetch("
|
|
87
|
+
`);try{await navigator.clipboard.writeText(h),p(!0),setTimeout(()=>p(!1),2e3)}catch(E){console.error("Failed to copy:",E)}};return n.length===0?q.jsxs("div",{className:"comment-list-empty",children:[q.jsx("p",{children:"No comments yet"}),q.jsx("p",{className:"comment-list-hint",children:"Select text to add a comment"})]}):q.jsxs("div",{className:"comment-list",children:[q.jsxs("div",{className:"comment-list-header",children:[q.jsxs("h3",{className:"comment-list-title",children:["Comments (",n.length,")"]}),q.jsxs("div",{className:"comment-list-actions",children:[q.jsxs("button",{className:`comment-list-copy-all ${c?"copied":""}`,onClick:b,title:c?"Copied!":"Copy all comments",children:[c?q.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:q.jsx("polyline",{points:"20 6 9 17 4 12"})}):q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[q.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),q.jsx("path",{d:"M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"})]}),q.jsx("span",{children:"Copy All"})]}),o&&q.jsxs("button",{className:"comment-list-delete-all",onClick:o,title:"Delete all comments",children:[q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[q.jsx("polyline",{points:"3 6 5 6 21 6"}),q.jsx("path",{d:"M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"})]}),q.jsx("span",{children:"Clear"})]})]})]}),q.jsx("div",{className:"comment-list-items",children:n.map(h=>q.jsxs("div",{className:"comment-item",children:[q.jsxs("div",{className:"comment-item-header",children:[q.jsxs("span",{className:"comment-item-lines",children:["Line ",h.startLine===h.endLine?h.startLine:`${h.startLine}-${h.endLine}`]}),q.jsxs("div",{className:"comment-item-actions",children:[q.jsx("button",{className:`comment-item-copy ${u===h.id?"copied":""}`,onClick:()=>g(h),title:u===h.id?"Copied!":"Copy comment",children:u===h.id?q.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:q.jsx("polyline",{points:"20 6 9 17 4 12"})}):q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[q.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),q.jsx("path",{d:"M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"})]})}),r&&q.jsx("button",{className:"comment-item-delete",onClick:()=>r(h.id),title:"Delete comment",children:"×"})]})]}),q.jsxs("div",{className:"comment-item-selection",children:['"',h.selectedText.length>50?h.selectedText.slice(0,50)+"...":h.selectedText,'"']}),q.jsx("div",{className:"comment-item-text",children:h.text})]},h.id))})]})},EA={p:({node:n,children:a,...r})=>{var o,u;return q.jsx("p",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h1:({node:n,children:a,...r})=>{var o,u;return q.jsx("h1",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h2:({node:n,children:a,...r})=>{var o,u;return q.jsx("h2",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h3:({node:n,children:a,...r})=>{var o,u;return q.jsx("h3",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h4:({node:n,children:a,...r})=>{var o,u;return q.jsx("h4",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h5:({node:n,children:a,...r})=>{var o,u;return q.jsx("h5",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},h6:({node:n,children:a,...r})=>{var o,u;return q.jsx("h6",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},li:({node:n,children:a,...r})=>{var o,u;return q.jsx("li",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},blockquote:({node:n,children:a,...r})=>{var o,u;return q.jsx("blockquote",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},pre:({node:n,children:a,...r})=>{var o,u;return q.jsx("pre",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},td:({node:n,children:a,...r})=>{var o,u;return q.jsx("td",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})},th:({node:n,children:a,...r})=>{var o,u;return q.jsx("th",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...r,children:a})}},Hb=({content:n,filename:a,filePath:r,comments:o,onCommentsChange:u})=>{const f=Ie.useRef(null),c=(g,b,h,E)=>{const _={id:crypto.randomUUID(),text:g,selectedText:b,startLine:h,endLine:E,createdAt:new Date};u([...o,_])},p=g=>{u(o.filter(b=>b.id!==g))},m=()=>{u([])};return q.jsxs("div",{className:"markdown-with-comments",children:[q.jsxs("div",{className:"markdown-container",children:[q.jsx("header",{className:"markdown-header",children:q.jsx("h1",{children:a})}),q.jsx("div",{className:"markdown-content",ref:f,children:q.jsx(p1,{remarkPlugins:[AT],rehypePlugins:[gA],components:EA,children:n})}),q.jsx(bA,{containerRef:f,onSubmitComment:c})]}),q.jsx("aside",{className:"comments-sidebar",children:q.jsx(yA,{comments:[...o].sort((g,b)=>g.startLine-b.startLine),filename:r||a,onDeleteComment:p,onDeleteAll:m})})]})},tf=({error:n})=>q.jsxs("div",{style:{padding:"2rem",maxWidth:"800px",margin:"2rem auto",backgroundColor:"#fee",border:"1px solid #fcc",borderRadius:"8px"},children:[q.jsx("h2",{style:{color:"#c00"},children:"Error"}),q.jsx("p",{children:n.message})]}),_A=()=>{const{files:n,loading:a,error:r}=WE(),[o,u]=Ie.useState(null),[f,c]=Ie.useState(!0),[p,m]=Ie.useState(!1),[g,b]=e_("md-review-comments",{}),{content:h,filename:E,loading:_,error:x}=ph(o),C=()=>{c(!0),m(!0),setTimeout(()=>m(!1),100)};return a?q.jsx("div",{className:"dev-loading",children:q.jsx("p",{children:"Loading files..."})}):r?q.jsx(tf,{error:r}):n.length===0?q.jsxs("div",{className:"dev-empty",children:[q.jsx("h2",{children:"No Markdown Files Found"}),q.jsx("p",{children:"No .md files were found in the current directory."})]}):q.jsxs("div",{className:`dev-container ${f?"":"sidebar-closed"}`,children:[q.jsxs("div",{className:`dev-sidebar ${f?"":"closed"}`,children:[!f&&q.jsxs("div",{className:"sidebar-icon-bar",children:[q.jsx("button",{className:"icon-bar-item",onClick:()=>c(!0),title:"Open sidebar",children:q.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:q.jsx("path",{d:"M5 3h6l2 2h4a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h2z",stroke:"currentColor",strokeWidth:"1.5"})})}),q.jsx("button",{className:"icon-bar-item",onClick:C,title:"Search",children:q.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[q.jsx("circle",{cx:"9",cy:"9",r:"6",stroke:"currentColor",strokeWidth:"1.5"}),q.jsx("path",{d:"M13.5 13.5l3.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})})]}),f&&q.jsx("div",{className:"sidebar-content",children:q.jsx(n_,{files:n,selectedFile:o,onFileSelect:u,onToggleSidebar:()=>c(!1),autoFocusSearch:p})})]}),q.jsx("div",{className:"dev-main",children:o?_?q.jsx("div",{className:"dev-loading",children:q.jsx("p",{children:"Loading markdown..."})}):x?q.jsx(tf,{error:x}):h&&E?q.jsx(Hb,{content:h,filename:E,filePath:o||E,comments:g[o||E]||[],onCommentsChange:D=>{const k=o||E;b(Y=>({...Y,[k]:D}))}}):q.jsx("div",{className:"dev-placeholder",children:q.jsx("p",{children:"No content available"})}):q.jsxs("div",{className:"dev-placeholder",children:[q.jsx("h2",{children:"Welcome to md-review"}),q.jsx("p",{children:"Select a markdown file from the sidebar to preview"}),q.jsxs("p",{className:"file-count",children:[n.length," markdown files found"]})]})})]})},vA=()=>{const{content:n,filename:a,loading:r,error:o}=ph(),[u,f]=Ie.useState([]);return r?q.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:q.jsx("p",{children:"Loading..."})}):o?q.jsx(tf,{error:o}):!n||!a?q.jsx("div",{style:{padding:"2rem"},children:q.jsx("p",{children:"No content available"})}):q.jsx(Hb,{content:n,filename:a,comments:u,onCommentsChange:f})};function SA(){const[n,a]=Ie.useState("loading");return Ie.useEffect(()=>{(async()=>{try{(await fetch("/api/files")).ok?a("dev"):a("cli")}catch{a("cli")}})()},[]),n==="loading"?q.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:q.jsx("p",{children:"Initializing..."})}):n==="dev"?q.jsx(_A,{}):q.jsx(vA,{})}$E.createRoot(document.getElementById("root")).render(q.jsx(Ie.StrictMode,{children:q.jsx(SA,{})}));
|
package/dist/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Markdown Review</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-CZ7h92Sm.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-BSdkfsKj.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// server/index.js
|
|
2
2
|
import { Hono } from 'hono';
|
|
3
|
-
import { cors } from 'hono/cors';
|
|
4
3
|
import { serve } from '@hono/node-server';
|
|
5
4
|
import { readFile, readdir, stat } from 'fs/promises';
|
|
6
5
|
import { basename, join, relative, resolve } from 'path';
|
|
@@ -41,8 +40,6 @@ async function startServer(app, port, maxRetries = 10) {
|
|
|
41
40
|
|
|
42
41
|
const app = new Hono();
|
|
43
42
|
const PORT = validatePort(process.env.API_PORT || 3030);
|
|
44
|
-
const VITE_PORT = process.env.VITE_PORT || 6060;
|
|
45
|
-
const CORS_ORIGIN = process.env.CORS_ORIGIN || `http://localhost:${VITE_PORT}`;
|
|
46
43
|
const MARKDOWN_FILE_PATH = process.env.MARKDOWN_FILE_PATH;
|
|
47
44
|
const BASE_DIR = process.env.BASE_DIR || process.cwd();
|
|
48
45
|
|
|
@@ -83,11 +80,6 @@ async function scanMarkdownFiles(dir, baseDir = dir) {
|
|
|
83
80
|
return files;
|
|
84
81
|
}
|
|
85
82
|
|
|
86
|
-
// CORS configuration
|
|
87
|
-
app.use('/*', cors({
|
|
88
|
-
origin: CORS_ORIGIN
|
|
89
|
-
}));
|
|
90
|
-
|
|
91
83
|
// Health check
|
|
92
84
|
app.get('/api/health', (c) => {
|
|
93
85
|
return c.json({ status: 'ok' });
|