"use strict";(()=>{var If=Object.create;var Tu=Object.defineProperty;var Af=Object.getOwnPropertyDescriptor;var Uf=Object.getOwnPropertyNames;var Ff=Object.getPrototypeOf,jf=Object.prototype.hasOwnProperty;var be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vf=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Uf(t))!jf.call(e,l)&&l!==n&&Tu(e,l,{get:()=>t[l],enumerable:!(r=Af(t,l))||r.enumerable});return e};var L=(e,t,n)=>(n=e!=null?If(Ff(e)):{},Vf(t||!e||!e.__esModule?Tu(n,"default",{value:e,enumerable:!0}):n,e));var ju=be(T=>{"use strict";var zn=Symbol.for("react.element"),Bf=Symbol.for("react.portal"),Hf=Symbol.for("react.fragment"),Wf=Symbol.for("react.strict_mode"),$f=Symbol.for("react.profiler"),Qf=Symbol.for("react.provider"),Kf=Symbol.for("react.context"),Gf=Symbol.for("react.forward_ref"),Xf=Symbol.for("react.suspense"),Yf=Symbol.for("react.memo"),Zf=Symbol.for("react.lazy"),Pu=Symbol.iterator;function Jf(e){return e===null||typeof e!="object"?null:(e=Pu&&e[Pu]||e["@@iterator"],typeof e=="function"?e:null)}var Mu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ru=Object.assign,zu={};function Zt(e,t,n){this.props=e,this.context=t,this.refs=zu,this.updater=n||Mu}Zt.prototype.isReactComponent={};Zt.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Zt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Du(){}Du.prototype=Zt.prototype;function no(e,t,n){this.props=e,this.context=t,this.refs=zu,this.updater=n||Mu}var ro=no.prototype=new Du;ro.constructor=no;Ru(ro,Zt.prototype);ro.isPureReactComponent=!0;var Lu=Array.isArray,Iu=Object.prototype.hasOwnProperty,lo={current:null},Au={key:!0,ref:!0,__self:!0,__source:!0};function Uu(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Iu.call(t,r)&&!Au.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1{"use strict";Vu.exports=ju()});var Zu=be(D=>{"use strict";function ao(e,t){var n=e.length;e.push(t);e:for(;0>>1,l=e[r];if(0>>1;rOr(u,n))sOr(a,u)?(e[r]=a,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else if(sOr(a,n))e[r]=a,e[s]=n,r=s;else break e}}return t}function Or(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Bu=performance,D.unstable_now=function(){return Bu.now()}):(io=Date,Hu=io.now(),D.unstable_now=function(){return io.now()-Hu});var Bu,io,Hu,Ke=[],ft=[],nd=1,Ne=null,ne=3,zr=!1,zt=!1,In=!1,Qu=typeof setTimeout=="function"?setTimeout:null,Ku=typeof clearTimeout=="function"?clearTimeout:null,Wu=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function co(e){for(var t=Ae(ft);t!==null;){if(t.callback===null)Rr(ft);else if(t.startTime<=e)Rr(ft),t.sortIndex=t.expirationTime,ao(Ke,t);else break;t=Ae(ft)}}function fo(e){if(In=!1,co(e),!zt)if(Ae(Ke)!==null)zt=!0,mo(po);else{var t=Ae(ft);t!==null&&vo(fo,t.startTime-e)}}function po(e,t){zt=!1,In&&(In=!1,Ku(An),An=-1),zr=!0;var n=ne;try{for(co(t),Ne=Ae(Ke);Ne!==null&&(!(Ne.expirationTime>t)||e&&!Yu());){var r=Ne.callback;if(typeof r=="function"){Ne.callback=null,ne=Ne.priorityLevel;var l=r(Ne.expirationTime<=t);t=D.unstable_now(),typeof l=="function"?Ne.callback=l:Ne===Ae(Ke)&&Rr(Ke),co(t)}else Rr(Ke);Ne=Ae(Ke)}if(Ne!==null)var o=!0;else{var i=Ae(ft);i!==null&&vo(fo,i.startTime-t),o=!1}return o}finally{Ne=null,ne=n,zr=!1}}var Dr=!1,Mr=null,An=-1,Gu=5,Xu=-1;function Yu(){return!(D.unstable_now()-Xue||125r?(e.sortIndex=n,ao(ft,e),Ae(Ke)===null&&e===Ae(ft)&&(In?(Ku(An),An=-1):In=!0,vo(fo,n-r))):(e.sortIndex=l,ao(Ke,e),zt||zr||(zt=!0,mo(po))),e};D.unstable_shouldYield=Yu;D.unstable_wrapCallback=function(e){var t=ne;return function(){var n=ne;ne=t;try{return e.apply(this,arguments)}finally{ne=n}}}});var qu=be((hm,Ju)=>{"use strict";Ju.exports=Zu()});var nf=be(_e=>{"use strict";var rd=de(),ke=qu();function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fo=Object.prototype.hasOwnProperty,ld=/^[: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]*$/,bu={},es={};function od(e){return Fo.call(es,e)?!0:Fo.call(bu,e)?!1:ld.test(e)?es[e]=!0:(bu[e]=!0,!1)}function id(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ud(e,t,n,r){if(t===null||typeof t>"u"||id(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fe(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];te[t]=new fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new fe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){te[e]=new fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Oi=/[\-:]([a-z])/g;function Mi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Oi,Mi);te[t]=new fe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Oi,Mi);te[t]=new fe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Oi,Mi);te[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new fe(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ri(e,t,n,r){var l=te.hasOwnProperty(t)?te[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` `+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{go=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qn(e):""}function sd(e){switch(e.tag){case 5:return Qn(e.type);case 16:return Qn("Lazy");case 13:return Qn("Suspense");case 19:return Qn("SuspenseList");case 0:case 2:case 15:return e=yo(e.type,!1),e;case 11:return e=yo(e.type.render,!1),e;case 1:return e=yo(e.type,!0),e;default:return""}}function Ho(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case en:return"Fragment";case bt:return"Portal";case jo:return"Profiler";case zi:return"StrictMode";case Vo:return"Suspense";case Bo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ua:return(e.displayName||"Context")+".Consumer";case ia:return(e._context.displayName||"Context")+".Provider";case Di:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ii:return t=e.displayName||null,t!==null?t:Ho(e.type)||"Memo";case pt:t=e._payload,e=e._init;try{return Ho(e(t))}catch{}}return null}function ad(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ho(t);case 8:return t===zi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Tt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function aa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cd(e){var t=aa(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ar(e){e._valueTracker||(e._valueTracker=cd(e))}function ca(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=aa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function cl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wo(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ns(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Tt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function fa(e,t){t=t.checked,t!=null&&Ri(e,"checked",t,!1)}function $o(e,t){fa(e,t);var n=Tt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Qo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Qo(e,t.type,Tt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rs(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Qo(e,t,n){(t!=="number"||cl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Kn=Array.isArray;function dn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Ur.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fd=["Webkit","ms","Moz","O"];Object.keys(Yn).forEach(function(e){fd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yn[t]=Yn[e]})});function va(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Yn.hasOwnProperty(e)&&Yn[e]?(""+t).trim():t+"px"}function ha(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=va(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var dd=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Xo(e,t){if(t){if(dd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(h(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(h(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(h(61))}if(t.style!=null&&typeof t.style!="object")throw Error(h(62))}}function Yo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zo=null;function Ai(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jo=null,pn=null,mn=null;function is(e){if(e=_r(e)){if(typeof Jo!="function")throw Error(h(280));var t=e.stateNode;t&&(t=Fl(t),Jo(e.stateNode,e.type,t))}}function ga(e){pn?mn?mn.push(e):mn=[e]:pn=e}function ya(){if(pn){var e=pn,t=mn;if(mn=pn=null,is(e),t)for(e=0;e>>=0,e===0?32:31-(_d(e)/xd|0)|0}var Fr=64,jr=4194304;function Gn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ml(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Gn(u):(o&=i,o!==0&&(r=Gn(o)))}else i=n&~l,i!==0?r=Gn(i):o!==0&&(r=Gn(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function kr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Be(t),e[t]=n}function Pd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Jn),vs=" ",hs=!1;function Fa(e,t){switch(e){case"keyup":return np.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ja(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var tn=!1;function lp(e,t){switch(e){case"compositionend":return ja(t);case"keypress":return t.which!==32?null:(hs=!0,vs);case"textInput":return e=t.data,e===vs&&hs?null:e;default:return null}}function op(e,t){if(tn)return e==="compositionend"||!$i&&Fa(e,t)?(e=Aa(),tl=Bi=gt=null,tn=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ss(n)}}function Wa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Wa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $a(){for(var e=window,t=cl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=cl(e.document)}return t}function Qi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function mp(e){var t=$a(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Wa(n.ownerDocument.documentElement,n)){if(r!==null&&Qi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=ws(n,o);var i=ws(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,nn=null,ri=null,bn=null,li=!1;function ks(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;li||nn==null||nn!==cl(r)||(r=nn,"selectionStart"in r&&Qi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),bn&&fr(bn,r)||(bn=r,r=gl(ri,"onSelect"),0on||(e.current=ci[on],ci[on]=null,on--)}function I(e,t){on++,ci[on]=e.current,e.current=t}var Pt={},ie=Ot(Pt),ve=Ot(!1),Bt=Pt;function Sn(e,t){var n=e.type.contextTypes;if(!n)return Pt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Sl(){U(ve),U(ie)}function Os(e,t,n){if(ie.current!==Pt)throw Error(h(168));I(ie,t),I(ve,n)}function ba(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(h(108,ad(e)||"Unknown",l));return H({},n,r)}function wl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pt,Bt=ie.current,I(ie,e),I(ve,ve.current),!0}function Ms(e,t,n){var r=e.stateNode;if(!r)throw Error(h(169));n?(e=ba(e,t,Bt),r.__reactInternalMemoizedMergedChildContext=e,U(ve),U(ie),I(ie,e)):U(ve),I(ve,n)}var tt=null,jl=!1,Lo=!1;function ec(e){tt===null?tt=[e]:tt.push(e)}function xp(e){jl=!0,ec(e)}function Mt(){if(!Lo&&tt!==null){Lo=!0;var e=0,t=R;try{var n=tt;for(R=1;e>=i,l-=i,nt=1<<32-Be(t)+l|n<x?(K=C,C=null):K=C.sibling;var P=v(f,C,d[x],g);if(P===null){C===null&&(C=K);break}e&&C&&P.alternate===null&&t(f,C),c=o(P,c,x),N===null?_=P:N.sibling=P,N=P,C=K}if(x===d.length)return n(f,C),j&&Dt(f,x),_;if(C===null){for(;xx?(K=C,C=null):K=C.sibling;var Qe=v(f,C,P.value,g);if(Qe===null){C===null&&(C=K);break}e&&C&&Qe.alternate===null&&t(f,C),c=o(Qe,c,x),N===null?_=Qe:N.sibling=Qe,N=Qe,C=K}if(P.done)return n(f,C),j&&Dt(f,x),_;if(C===null){for(;!P.done;x++,P=d.next())P=m(f,P.value,g),P!==null&&(c=o(P,c,x),N===null?_=P:N.sibling=P,N=P);return j&&Dt(f,x),_}for(C=r(f,C);!P.done;x++,P=d.next())P=y(C,f,x,P.value,g),P!==null&&(e&&P.alternate!==null&&C.delete(P.key===null?x:P.key),c=o(P,c,x),N===null?_=P:N.sibling=P,N=P);return e&&C.forEach(function(Nr){return t(f,Nr)}),j&&Dt(f,x),_}function z(f,c,d,g){if(typeof d=="object"&&d!==null&&d.type===en&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Ir:e:{for(var _=d.key,N=c;N!==null;){if(N.key===_){if(_=d.type,_===en){if(N.tag===7){n(f,N.sibling),c=l(N,d.props.children),c.return=f,f=c;break e}}else if(N.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===pt&&Ds(_)===N.type){n(f,N.sibling),c=l(N,d.props),c.ref=Bn(f,N,d),c.return=f,f=c;break e}n(f,N);break}else t(f,N);N=N.sibling}d.type===en?(c=Vt(d.props.children,f.mode,g,d.key),c.return=f,f=c):(g=al(d.type,d.key,d.props,null,f.mode,g),g.ref=Bn(f,c,d),g.return=f,f=g)}return i(f);case bt:e:{for(N=d.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=l(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=Uo(d,f.mode,g),c.return=f,f=c}return i(f);case pt:return N=d._init,z(f,c,N(d._payload),g)}if(Kn(d))return w(f,c,d,g);if(Un(d))return S(f,c,d,g);Zr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,d),c.return=f,f=c):(n(f,c),c=Ao(d,f.mode,g),c.return=f,f=c),i(f)):n(f,c)}return z}var kn=lc(!0),oc=lc(!1),_l=Ot(null),xl=null,an=null,Yi=null;function Zi(){Yi=an=xl=null}function Ji(e){var t=_l.current;U(_l),e._currentValue=t}function pi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function hn(e,t){xl=e,Yi=an=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(me=!0),e.firstContext=null)}function Me(e){var t=e._currentValue;if(Yi!==e)if(e={context:e,memoizedValue:t,next:null},an===null){if(xl===null)throw Error(h(308));an=e,xl.dependencies={lanes:0,firstContext:e}}else an=an.next=e;return t}var Ut=null;function qi(e){Ut===null?Ut=[e]:Ut.push(e)}function ic(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,qi(t)):(n.next=l.next,l.next=n),t.interleaved=n,ut(e,r)}function ut(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var mt=!1;function bi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function lt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function _t(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(M&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,ut(e,n)}return l=r.interleaved,l===null?(t.next=t,qi(r)):(t.next=l.next,l.next=t),r.interleaved=t,ut(e,n)}function rl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fi(e,n)}}function Is(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Cl(e,t,n,r){var l=e.updateQueue;mt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,a=s.next;s.next=null,i===null?o=a:i.next=a,i=s;var p=e.alternate;p!==null&&(p=p.updateQueue,u=p.lastBaseUpdate,u!==i&&(u===null?p.firstBaseUpdate=a:u.next=a,p.lastBaseUpdate=s))}if(o!==null){var m=l.baseState;i=0,p=a=s=null,u=o;do{var v=u.lane,y=u.eventTime;if((r&v)===v){p!==null&&(p=p.next={eventTime:y,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,S=u;switch(v=t,y=n,S.tag){case 1:if(w=S.payload,typeof w=="function"){m=w.call(y,m,v);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,v=typeof w=="function"?w.call(y,m,v):w,v==null)break e;m=H({},m,v);break e;case 2:mt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[u]:v.push(u))}else y={eventTime:y,lane:v,tag:u.tag,payload:u.payload,callback:u.callback,next:null},p===null?(a=p=y,s=m):p=p.next=y,i|=v;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;v=u,u=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(p===null&&(s=m),l.baseState=s,l.firstBaseUpdate=a,l.lastBaseUpdate=p,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);$t|=i,e.lanes=i,e.memoizedState=m}}function As(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Mo.transition;Mo.transition={};try{e(!1),t()}finally{R=n,Mo.transition=r}}function xc(){return Re().memoizedState}function Pp(e,t,n){var r=Ct(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Cc(e))Nc(t,n);else if(n=ic(e,t,n,r),n!==null){var l=ce();He(n,e,r,l),Tc(n,t,r)}}function Lp(e,t,n){var r=Ct(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Cc(e))Nc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,We(u,i)){var s=t.interleaved;s===null?(l.next=l,qi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=ic(e,t,l,r),n!==null&&(l=ce(),He(n,e,r,l),Tc(n,t,r))}}function Cc(e){var t=e.alternate;return e===B||t!==null&&t===B}function Nc(e,t){er=Tl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Tc(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fi(e,n)}}var Pl={readContext:Me,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},Op={readContext:Me,useCallback:function(e,t){return Xe().memoizedState=[e,t===void 0?null:t],e},useContext:Me,useEffect:Fs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ol(4194308,4,Sc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ol(4194308,4,e,t)},useInsertionEffect:function(e,t){return ol(4,2,e,t)},useMemo:function(e,t){var n=Xe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Xe();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Pp.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Xe();return e={current:e},t.memoizedState=e},useState:Us,useDebugValue:uu,useDeferredValue:function(e){return Xe().memoizedState=e},useTransition:function(){var e=Us(!1),t=e[0];return e=Tp.bind(null,e[1]),Xe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=B,l=Xe();if(j){if(n===void 0)throw Error(h(407));n=n()}else{if(n=t(),q===null)throw Error(h(349));(Wt&30)!==0||fc(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Fs(pc.bind(null,r,o,e),[e]),r.flags|=2048,Sr(9,dc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Xe(),t=q.identifierPrefix;if(j){var n=rt,r=nt;n=(r&~(1<<32-Be(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=gr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ye]=t,e[mr]=r,Uc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Yo(n,r),n){case"dialog":A("cancel",e),A("close",e),l=r;break;case"iframe":case"object":case"embed":A("load",e),l=r;break;case"video":case"audio":for(l=0;lxn&&(t.flags|=128,r=!0,Hn(o,!1),t.lanes=4194304)}else{if(!r)if(e=Nl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Hn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!j)return le(t),null}else 2*Q()-o.renderingStartTime>xn&&n!==1073741824&&(t.flags|=128,r=!0,Hn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Q(),t.sibling=null,n=V.current,I(V,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return pu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(ye&1073741824)!==0&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(h(156,t.tag))}function Fp(e,t){switch(Gi(t),t.tag){case 1:return he(t.type)&&Sl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return En(),U(ve),U(ie),nu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return tu(t),null;case 13:if(U(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(h(340));wn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(V),null;case 4:return En(),null;case 10:return Ji(t.type._context),null;case 22:case 23:return pu(),null;case 24:return null;default:return null}}var qr=!1,oe=!1,jp=typeof WeakSet=="function"?WeakSet:Set,k=null;function cn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$(e,t,r)}else n.current=null}function Ei(e,t,n){try{n()}catch(r){$(e,t,r)}}var Ys=!1;function Vp(e,t){if(oi=vl,e=$a(),Qi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,p=0,m=e,v=null;t:for(;;){for(var y;m!==n||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(y=m.firstChild)!==null;)v=m,m=y;for(;;){if(m===e)break t;if(v===n&&++a===l&&(u=i),v===o&&++p===r&&(s=i),(y=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ii={focusedElem:e,selectionRange:n},vl=!1,k=t;k!==null;)if(t=k,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,k=e;else for(;k!==null;){t=k;try{var w=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,z=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?S:Fe(t.type,S),z);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(h(163))}}catch(g){$(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,k=e;break}k=t.return}return w=Ys,Ys=!1,w}function tr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Ei(t,n,o)}l=l.next}while(l!==r)}}function Hl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function _i(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Vc(e){var t=e.alternate;t!==null&&(e.alternate=null,Vc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ye],delete t[mr],delete t[ai],delete t[Ep],delete t[_p])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Bc(e){return e.tag===5||e.tag===3||e.tag===4}function Zs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function xi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yl));else if(r!==4&&(e=e.child,e!==null))for(xi(e,t,n),e=e.sibling;e!==null;)xi(e,t,n),e=e.sibling}function Ci(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ci(e,t,n),e=e.sibling;e!==null;)Ci(e,t,n),e=e.sibling}var b=null,je=!1;function dt(e,t,n){for(n=n.child;n!==null;)Hc(e,t,n),n=n.sibling}function Hc(e,t,n){if(Ze&&typeof Ze.onCommitFiberUnmount=="function")try{Ze.onCommitFiberUnmount(Dl,n)}catch{}switch(n.tag){case 5:oe||cn(n,t);case 6:var r=b,l=je;b=null,dt(e,t,n),b=r,je=l,b!==null&&(je?(e=b,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):b.removeChild(n.stateNode));break;case 18:b!==null&&(je?(e=b,n=n.stateNode,e.nodeType===8?Po(e.parentNode,n):e.nodeType===1&&Po(e,n),ar(e)):Po(b,n.stateNode));break;case 4:r=b,l=je,b=n.stateNode.containerInfo,je=!0,dt(e,t,n),b=r,je=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&((o&2)!==0||(o&4)!==0)&&Ei(n,t,i),l=l.next}while(l!==r)}dt(e,t,n);break;case 1:if(!oe&&(cn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){$(n,t,u)}dt(e,t,n);break;case 21:dt(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,dt(e,t,n),oe=r):dt(e,t,n);break;default:dt(e,t,n)}}function Js(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new jp),t.forEach(function(r){var l=Yp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ue(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Hp(r/1960))-r,10e?16:e,yt===null)var r=!1;else{if(e=yt,yt=null,Ml=0,(M&6)!==0)throw Error(h(331));var l=M;for(M|=4,k=e.current;k!==null;){var o=k,i=o.child;if((k.flags&16)!==0){var u=o.deletions;if(u!==null){for(var s=0;sQ()-fu?jt(e,0):cu|=n),ge(e,t)}function Zc(e,t){t===0&&((e.mode&1)===0?t=1:(t=jr,jr<<=1,(jr&130023424)===0&&(jr=4194304)));var n=ce();e=ut(e,t),e!==null&&(kr(e,t,n),ge(e,n))}function Xp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zc(e,n)}function Yp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(h(314))}r!==null&&r.delete(t),Zc(e,n)}var Jc;Jc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ve.current)me=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return me=!1,Ap(e,t,n);me=(e.flags&131072)!==0}else me=!1,j&&(t.flags&1048576)!==0&&tc(t,El,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;il(e,t),e=t.pendingProps;var l=Sn(t,ie.current);hn(t,n),l=lu(null,t,r,e,l,n);var o=ou();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(r)?(o=!0,wl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,bi(t),l.updater=Bl,t.stateNode=l,l._reactInternals=t,vi(t,r,e,n),t=yi(null,t,r,!0,o,n)):(t.tag=0,j&&o&&Ki(t),ae(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(il(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Jp(r),e=Fe(r,e),l){case 0:t=gi(null,t,r,e,n);break e;case 1:t=Ks(null,t,r,e,n);break e;case 11:t=$s(null,t,r,e,n);break e;case 14:t=Qs(null,t,r,Fe(r.type,e),n);break e}throw Error(h(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),gi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),Ks(e,t,r,l,n);case 3:e:{if(Dc(t),e===null)throw Error(h(387));r=t.pendingProps,o=t.memoizedState,l=o.element,uc(e,t),Cl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=_n(Error(h(423)),t),t=Gs(e,t,r,n,l);break e}else if(r!==l){l=_n(Error(h(424)),t),t=Gs(e,t,r,n,l);break e}else for(Se=Et(t.stateNode.containerInfo.firstChild),we=t,j=!0,Ve=null,n=oc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wn(),r===l){t=st(e,t,n);break e}ae(e,t,r,n)}t=t.child}return t;case 5:return sc(t),e===null&&di(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,ui(r,l)?i=null:o!==null&&ui(r,o)&&(t.flags|=32),zc(e,t),ae(e,t,i,n),t.child;case 6:return e===null&&di(t),null;case 13:return Ic(e,t,n);case 4:return eu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=kn(t,null,r,n):ae(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),$s(e,t,r,l,n);case 7:return ae(e,t,t.pendingProps,n),t.child;case 8:return ae(e,t,t.pendingProps.children,n),t.child;case 12:return ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,I(_l,r._currentValue),r._currentValue=i,o!==null)if(We(o.value,i)){if(o.children===l.children&&!ve.current){t=st(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=lt(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var p=a.pending;p===null?s.next=s:(s.next=p.next,p.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),pi(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(h(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),pi(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ae(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,hn(t,n),l=Me(l),r=r(l),t.flags|=1,ae(e,t,r,n),t.child;case 14:return r=t.type,l=Fe(r,t.pendingProps),l=Fe(r.type,l),Qs(e,t,r,l,n);case 15:return Mc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),il(e,t),t.tag=1,he(r)?(e=!0,wl(t)):e=!1,hn(t,n),Pc(t,r,l),vi(t,r,l,n),yi(null,t,r,!0,e,n);case 19:return Ac(e,t,n);case 22:return Rc(e,t,n)}throw Error(h(156,t.tag))};function qc(e,t){return Ca(e,t)}function Zp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Le(e,t,n,r){return new Zp(e,t,n,r)}function vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jp(e){if(typeof e=="function")return vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Di)return 11;if(e===Ii)return 14}return 2}function Nt(e,t){var n=e.alternate;return n===null?(n=Le(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function al(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")vu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case en:return Vt(n.children,l,o,t);case zi:i=8,l|=8;break;case jo:return e=Le(12,n,t,l|2),e.elementType=jo,e.lanes=o,e;case Vo:return e=Le(13,n,t,l),e.elementType=Vo,e.lanes=o,e;case Bo:return e=Le(19,n,t,l),e.elementType=Bo,e.lanes=o,e;case sa:return $l(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ia:i=10;break e;case ua:i=9;break e;case Di:i=11;break e;case Ii:i=14;break e;case pt:i=16,r=null;break e}throw Error(h(130,e==null?e:typeof e,""))}return t=Le(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Vt(e,t,n,r){return e=Le(7,e,r,t),e.lanes=n,e}function $l(e,t,n,r){return e=Le(22,e,r,t),e.elementType=sa,e.lanes=n,e.stateNode={isHidden:!1},e}function Ao(e,t,n){return e=Le(6,e,null,t),e.lanes=n,e}function Uo(e,t,n){return t=Le(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wo(0),this.expirationTimes=wo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function hu(e,t,n,r,l,o,i,u,s){return e=new qp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Le(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bi(o),e}function bp(e,t,n){var r=3{"use strict";function rf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rf)}catch(e){console.error(e)}}rf(),lf.exports=nf()});var sf=be(wu=>{"use strict";var uf=of();wu.createRoot=uf.createRoot,wu.hydrateRoot=uf.hydrateRoot;var Sm});var cf=be(Yl=>{"use strict";var lm=de(),om=Symbol.for("react.element"),im=Symbol.for("react.fragment"),um=Object.prototype.hasOwnProperty,sm=lm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,am={key:!0,ref:!0,__self:!0,__source:!0};function af(e,t,n){var r,l={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)um.call(t,r)&&!am.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:om,type:e,key:o,ref:i,props:l,_owner:sm.current}}Yl.Fragment=im;Yl.jsx=af;Yl.jsxs=af});var W=be((Em,ff)=>{"use strict";ff.exports=cf()});var zf=L(sf(),1);var ue=L(de(),1);var Z=L(W(),1);function df({preference:e,onThemeChange:t}){let n=()=>{let o=["system","light","dark"],u=(o.indexOf(e)+1)%o.length;t(o[u])},r=()=>{switch(e){case"light":return(0,Z.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Z.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,Z.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,Z.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,Z.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,Z.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,Z.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,Z.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,Z.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,Z.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]});case"dark":return(0,Z.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,Z.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});case"system":default:return(0,Z.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Z.jsx)("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"}),(0,Z.jsx)("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),(0,Z.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"21"})]})}},l=()=>{switch(e){case"light":return"Theme: Light (click for Dark)";case"dark":return"Theme: Dark (click for System)";case"system":default:return"Theme: System (click for Light)"}};return(0,Z.jsx)("button",{className:"theme-toggle-btn",onClick:n,title:l(),"aria-label":l(),children:r()})}var F=L(W(),1);function pf({isConnected:e,projects:t,currentFilter:n,onFilterChange:r,onSettingsToggle:l,sidebarOpen:o,isProcessing:i,themePreference:u,onThemeChange:s}){return(0,F.jsxs)("div",{className:"header",children:[(0,F.jsxs)("h1",{children:[(0,F.jsx)("img",{src:"claude-mem-logomark.webp",alt:"",className:`logomark ${i?"spinning":""}`}),(0,F.jsx)("span",{className:"logo-text",children:"claude-mem"})]}),(0,F.jsxs)("div",{className:"status",children:[(0,F.jsx)("a",{href:"https://docs.claude-mem.ai",target:"_blank",rel:"noopener noreferrer",title:"Documentation",style:{display:"block",padding:"8px 4px 8px 8px",color:"#a0a0a0",transition:"color 0.2s",lineHeight:0},onMouseEnter:a=>a.currentTarget.style.color="#606060",onMouseLeave:a=>a.currentTarget.style.color="#a0a0a0",children:(0,F.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,F.jsx)("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),(0,F.jsx)("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"})]})}),(0,F.jsx)("a",{href:"https://github.com/thedotmack/claude-mem/",target:"_blank",rel:"noopener noreferrer",title:"GitHub",style:{display:"block",padding:"8px 4px",color:"#a0a0a0",transition:"color 0.2s",lineHeight:0},onMouseEnter:a=>a.currentTarget.style.color="#606060",onMouseLeave:a=>a.currentTarget.style.color="#a0a0a0",children:(0,F.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:(0,F.jsx)("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}),(0,F.jsx)("a",{href:"https://x.com/Claude_Memory",target:"_blank",rel:"noopener noreferrer",title:"X (Twitter)",style:{display:"block",padding:"8px 8px 8px 4px",color:"#a0a0a0",transition:"color 0.2s",lineHeight:0},onMouseEnter:a=>a.currentTarget.style.color="#606060",onMouseLeave:a=>a.currentTarget.style.color="#a0a0a0",children:(0,F.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:(0,F.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),(0,F.jsxs)("select",{value:n,onChange:a=>r(a.target.value),children:[(0,F.jsx)("option",{value:"",children:"All Projects"}),t.map(a=>(0,F.jsx)("option",{value:a,children:a},a))]}),(0,F.jsx)(df,{preference:u,onThemeChange:s}),(0,F.jsx)("button",{className:`settings-btn ${o?"active":""}`,onClick:l,title:"Settings",children:(0,F.jsxs)("svg",{className:"settings-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,F.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,F.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})})]})]})}var ct=L(de(),1);var ku=L(de(),1);function Tn(e){return new Date(e).toLocaleString()}function mf(e){if(!e)return"-";let t=Math.floor(e/3600),n=Math.floor(e%3600/60);return`${t}h ${n}m`}function vf(e){return e?e<1024?e+" B":e<1024*1024?(e/1024).toFixed(1)+" KB":(e/(1024*1024)).toFixed(1)+" MB":"-"}var O=L(W(),1);function hf(e){let t=["/Scripts/","/src/","/plugin/","/docs/"];for(let l of t){let o=e.indexOf(l);if(o!==-1)return e.substring(o+1)}let n=e.indexOf("claude-mem/");if(n!==-1)return e.substring(n+11);let r=e.split("/");return r.length>3?r.slice(-3).join("/"):e}function gf({observation:e}){let[t,n]=(0,ku.useState)(!1),[r,l]=(0,ku.useState)(!1),o=Tn(e.created_at_epoch),i=e.facts?JSON.parse(e.facts):[],u=e.concepts?JSON.parse(e.concepts):[],s=e.files_read?JSON.parse(e.files_read).map(hf):[],a=e.files_modified?JSON.parse(e.files_modified).map(hf):[],p=i.length>0||u.length>0||s.length>0||a.length>0;return(0,O.jsxs)("div",{className:"card",children:[(0,O.jsxs)("div",{className:"card-header",children:[(0,O.jsxs)("div",{className:"card-header-left",children:[(0,O.jsx)("span",{className:`card-type type-${e.type}`,children:e.type}),(0,O.jsx)("span",{className:"card-project",children:e.project})]}),(0,O.jsxs)("div",{className:"view-mode-toggles",children:[p&&(0,O.jsxs)("button",{className:`view-mode-toggle ${t?"active":""}`,onClick:()=>{n(!t),t||l(!1)},children:[(0,O.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,O.jsx)("polyline",{points:"9 11 12 14 22 4"}),(0,O.jsx)("path",{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"})]}),(0,O.jsx)("span",{children:"facts"})]}),e.narrative&&(0,O.jsxs)("button",{className:`view-mode-toggle ${r?"active":""}`,onClick:()=>{l(!r),r||n(!1)},children:[(0,O.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,O.jsx)("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),(0,O.jsx)("polyline",{points:"14 2 14 8 20 8"}),(0,O.jsx)("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),(0,O.jsx)("line",{x1:"16",y1:"17",x2:"8",y2:"17"})]}),(0,O.jsx)("span",{children:"narrative"})]})]})]}),(0,O.jsx)("div",{className:"card-title",children:e.title||"Untitled"}),(0,O.jsxs)("div",{className:"view-mode-content",children:[!t&&!r&&e.subtitle&&(0,O.jsx)("div",{className:"card-subtitle",children:e.subtitle}),t&&i.length>0&&(0,O.jsx)("ul",{className:"facts-list",children:i.map((m,v)=>(0,O.jsx)("li",{children:m},v))}),r&&e.narrative&&(0,O.jsx)("div",{className:"narrative",children:e.narrative})]}),(0,O.jsxs)("div",{className:"card-meta",children:[(0,O.jsxs)("span",{className:"meta-date",children:["#",e.id," \u2022 ",o]}),t&&(u.length>0||s.length>0||a.length>0)&&(0,O.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"8px",alignItems:"center"},children:[u.map((m,v)=>(0,O.jsx)("span",{style:{padding:"2px 8px",background:"var(--color-type-badge-bg)",color:"var(--color-type-badge-text)",borderRadius:"3px",fontWeight:"500",fontSize:"10px"},children:m},v)),s.length>0&&(0,O.jsxs)("span",{className:"meta-files",children:[(0,O.jsx)("span",{className:"file-label",children:"read:"})," ",s.join(", ")]}),a.length>0&&(0,O.jsxs)("span",{className:"meta-files",children:[(0,O.jsx)("span",{className:"file-label",children:"modified:"})," ",a.join(", ")]})]})]})]})}var xe=L(W(),1);function yf({summary:e}){let t=Tn(e.created_at_epoch);return(0,xe.jsxs)("div",{className:"card summary-card",children:[(0,xe.jsx)("div",{className:"card-header",children:(0,xe.jsxs)("div",{className:"card-header-left",children:[(0,xe.jsx)("span",{className:"card-type",children:"SUMMARY"}),(0,xe.jsx)("span",{className:"card-project",children:e.project})]})}),e.request&&(0,xe.jsxs)("div",{className:"card-title",children:["Request: ",e.request]}),e.learned&&(0,xe.jsxs)("div",{className:"card-subtitle",children:["Learned: ",e.learned]}),e.completed&&(0,xe.jsxs)("div",{className:"card-subtitle",children:["Completed: ",e.completed]}),e.next_steps&&(0,xe.jsxs)("div",{className:"card-subtitle",children:["Next: ",e.next_steps]}),(0,xe.jsx)("div",{className:"card-meta",children:(0,xe.jsxs)("span",{className:"meta-date",children:["#",e.id," \u2022 ",t]})})]})}var qe=L(W(),1);function Sf({prompt:e}){let t=Tn(e.created_at_epoch);return(0,qe.jsxs)("div",{className:"card prompt-card",children:[(0,qe.jsx)("div",{className:"card-header",children:(0,qe.jsxs)("div",{className:"card-header-left",children:[(0,qe.jsx)("span",{className:"card-type",children:"Prompt"}),(0,qe.jsx)("span",{className:"card-project",children:e.project})]})}),(0,qe.jsx)("div",{className:"card-content",children:e.prompt_text}),(0,qe.jsx)("div",{className:"card-meta",children:(0,qe.jsxs)("span",{className:"meta-date",children:["#",e.id," \u2022 ",t]})})]})}var Jl=L(de(),1),Zl=L(W(),1);function wf({targetRef:e}){let[t,n]=(0,Jl.useState)(!1);(0,Jl.useEffect)(()=>{let l=()=>{let i=e.current;i&&n(i.scrollTop>300)},o=e.current;if(o)return o.addEventListener("scroll",l),()=>o.removeEventListener("scroll",l)},[]);let r=()=>{let l=e.current;l&&l.scrollTo({top:0,behavior:"smooth"})};return t?(0,Zl.jsx)("button",{onClick:r,className:"scroll-to-top","aria-label":"Scroll to top",children:(0,Zl.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,Zl.jsx)("polyline",{points:"18 15 12 9 6 15"})})}):null}var Cr={PAGINATION_PAGE_SIZE:50,LOAD_MORE_THRESHOLD:.1};var Ce=L(W(),1);function kf({observations:e,summaries:t,prompts:n,onLoadMore:r,isLoading:l,hasMore:o}){let i=(0,ct.useRef)(null),u=(0,ct.useRef)(null),s=(0,ct.useRef)(r);(0,ct.useEffect)(()=>{s.current=r},[r]),(0,ct.useEffect)(()=>{let p=i.current;if(!p)return;let m=new IntersectionObserver(v=>{v[0].isIntersecting&&o&&!l&&s.current?.()},{threshold:Cr.LOAD_MORE_THRESHOLD});return m.observe(p),()=>{p&&m.unobserve(p),m.disconnect()}},[o,l]);let a=(0,ct.useMemo)(()=>[...e.map(m=>({...m,itemType:"observation"})),...t.map(m=>({...m,itemType:"summary"})),...n.map(m=>({...m,itemType:"prompt"}))].sort((m,v)=>v.created_at_epoch-m.created_at_epoch),[e,t,n]);return(0,Ce.jsxs)("div",{className:"feed",ref:u,children:[(0,Ce.jsx)(wf,{targetRef:u}),(0,Ce.jsxs)("div",{className:"feed-content",children:[a.map(p=>{let m=`${p.itemType}-${p.id}`;return p.itemType==="observation"?(0,Ce.jsx)(gf,{observation:p},m):p.itemType==="summary"?(0,Ce.jsx)(yf,{summary:p},m):(0,Ce.jsx)(Sf,{prompt:p},m)}),a.length===0&&!l&&(0,Ce.jsx)("div",{style:{textAlign:"center",padding:"40px",color:"#8b949e"},children:"No items to display"}),l&&(0,Ce.jsxs)("div",{style:{textAlign:"center",padding:"20px",color:"#8b949e"},children:[(0,Ce.jsx)("div",{className:"spinner",style:{display:"inline-block",marginRight:"10px"}}),"Loading more..."]}),o&&!l&&a.length>0&&(0,Ce.jsx)("div",{ref:i,style:{height:"20px",margin:"10px 0"}}),!o&&a.length>0&&(0,Ce.jsx)("div",{style:{textAlign:"center",padding:"20px",color:"#8b949e",fontSize:"14px"},children:"No more items to load"})]})]})}var Pn=L(de(),1);var ze={CLAUDE_MEM_MODEL:"claude-haiku-4-5",CLAUDE_MEM_CONTEXT_OBSERVATIONS:"50",CLAUDE_MEM_WORKER_PORT:"37777"};var E=L(W(),1);function Ef({isOpen:e,settings:t,stats:n,isSaving:r,saveStatus:l,isConnected:o,onSave:i,onClose:u}){let[s,a]=(0,Pn.useState)(t.CLAUDE_MEM_MODEL||ze.CLAUDE_MEM_MODEL),[p,m]=(0,Pn.useState)(t.CLAUDE_MEM_CONTEXT_OBSERVATIONS||ze.CLAUDE_MEM_CONTEXT_OBSERVATIONS),[v,y]=(0,Pn.useState)(t.CLAUDE_MEM_WORKER_PORT||ze.CLAUDE_MEM_WORKER_PORT);return(0,Pn.useEffect)(()=>{a(t.CLAUDE_MEM_MODEL||ze.CLAUDE_MEM_MODEL),m(t.CLAUDE_MEM_CONTEXT_OBSERVATIONS||ze.CLAUDE_MEM_CONTEXT_OBSERVATIONS),y(t.CLAUDE_MEM_WORKER_PORT||ze.CLAUDE_MEM_WORKER_PORT)},[t]),(0,E.jsxs)("div",{className:`sidebar ${e?"open":""}`,children:[(0,E.jsxs)("div",{className:"sidebar-header",children:[(0,E.jsx)("h1",{children:"Settings"}),(0,E.jsxs)("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,E.jsx)("span",{className:`status-dot ${o?"connected":""}`}),(0,E.jsx)("span",{style:{fontSize:"11px",opacity:.5,fontWeight:300},children:o?"Connected":"Disconnected"})]}),(0,E.jsx)("button",{onClick:()=>{i({CLAUDE_MEM_MODEL:s,CLAUDE_MEM_CONTEXT_OBSERVATIONS:p,CLAUDE_MEM_WORKER_PORT:v})},disabled:r,children:r?"Saving...":"Save"}),(0,E.jsx)("button",{onClick:u,title:"Close settings",style:{background:"transparent",border:"1px solid #404040",padding:"8px",width:"36px",height:"36px",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,E.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,E.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,E.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]})]}),(0,E.jsxs)("div",{className:"stats-scroll",children:[(0,E.jsxs)("div",{className:"settings-section",children:[(0,E.jsx)("h3",{children:"Environment Variables"}),(0,E.jsxs)("div",{className:"form-group",children:[(0,E.jsx)("label",{htmlFor:"model",children:"CLAUDE_MEM_MODEL"}),(0,E.jsx)("div",{className:"setting-description",children:"Model used for AI compression of tool observations. Haiku is fast and cheap, Sonnet offers better quality, Opus is most capable but expensive."}),(0,E.jsxs)("select",{id:"model",value:s,onChange:S=>a(S.target.value),children:[(0,E.jsx)("option",{value:"claude-haiku-4-5",children:"claude-haiku-4-5"}),(0,E.jsx)("option",{value:"claude-sonnet-4-5",children:"claude-sonnet-4-5"}),(0,E.jsx)("option",{value:"claude-opus-4",children:"claude-opus-4"})]})]}),(0,E.jsxs)("div",{className:"form-group",children:[(0,E.jsx)("label",{htmlFor:"contextObs",children:"CLAUDE_MEM_CONTEXT_OBSERVATIONS"}),(0,E.jsx)("div",{className:"setting-description",children:"Number of recent observations to inject at session start. Higher values provide more context but increase token usage. Default: 50"}),(0,E.jsx)("input",{type:"number",id:"contextObs",min:"1",max:"200",value:p,onChange:S=>m(S.target.value)})]}),(0,E.jsxs)("div",{className:"form-group",children:[(0,E.jsx)("label",{htmlFor:"workerPort",children:"CLAUDE_MEM_WORKER_PORT"}),(0,E.jsx)("div",{className:"setting-description",children:"Port number for the background worker service. Change only if port 37777 conflicts with another service."}),(0,E.jsx)("input",{type:"number",id:"workerPort",min:"1024",max:"65535",value:v,onChange:S=>y(S.target.value)})]}),l&&(0,E.jsx)("div",{className:"save-status",children:l})]}),(0,E.jsxs)("div",{className:"settings-section",children:[(0,E.jsx)("h3",{children:"Worker Stats"}),(0,E.jsxs)("div",{className:"stats-grid",children:[(0,E.jsxs)("div",{className:"stat",children:[(0,E.jsx)("div",{className:"stat-label",children:"Version"}),(0,E.jsx)("div",{className:"stat-value",children:n.worker?.version||"-"})]}),(0,E.jsxs)("div",{className:"stat",children:[(0,E.jsx)("div",{className:"stat-label",children:"Uptime"}),(0,E.jsx)("div",{className:"stat-value",children:mf(n.worker?.uptime)})]}),(0,E.jsxs)("div",{className:"stat",children:[(0,E.jsx)("div",{className:"stat-label",children:"Active Sessions"}),(0,E.jsx)("div",{className:"stat-value",children:n.worker?.activeSessions||"0"})]}),(0,E.jsxs)("div",{className:"stat",children:[(0,E.jsx)("div",{className:"stat-label",children:"SSE Clients"}),(0,E.jsx)("div",{className:"stat-value",children:n.worker?.sseClients||"0"})]})]})]}),(0,E.jsxs)("div",{className:"settings-section",children:[(0,E.jsx)("h3",{children:"Database Stats"}),(0,E.jsxs)("div",{className:"stats-grid",children:[(0,E.jsxs)("div",{className:"stat",children:[(0,E.jsx)("div",{className:"stat-label",children:"DB Size"}),(0,E.jsx)("div",{className:"stat-value",children:vf(n.database?.size)})]}),(0,E.jsxs)("div",{className:"stat",children:[(0,E.jsx)("div",{className:"stat-label",children:"Observations"}),(0,E.jsx)("div",{className:"stat-value",children:n.database?.observations||"0"})]}),(0,E.jsxs)("div",{className:"stat",children:[(0,E.jsx)("div",{className:"stat-label",children:"Sessions"}),(0,E.jsx)("div",{className:"stat-value",children:n.database?.sessions||"0"})]}),(0,E.jsxs)("div",{className:"stat",children:[(0,E.jsx)("div",{className:"stat-label",children:"Summaries"}),(0,E.jsx)("div",{className:"stat-value",children:n.database?.summaries||"0"})]})]})]})]})]})}var De=L(de(),1);var $e={OBSERVATIONS:"/api/observations",SUMMARIES:"/api/summaries",PROMPTS:"/api/prompts",SETTINGS:"/api/settings",STATS:"/api/stats",PROCESSING_STATUS:"/api/processing-status",STREAM:"/stream"};var Ln={SSE_RECONNECT_DELAY_MS:3e3,STATS_REFRESH_INTERVAL_MS:1e4,SAVE_STATUS_DISPLAY_DURATION_MS:3e3};function _f(){let[e,t]=(0,De.useState)([]),[n,r]=(0,De.useState)([]),[l,o]=(0,De.useState)([]),[i,u]=(0,De.useState)([]),[s,a]=(0,De.useState)(!1),[p,m]=(0,De.useState)(!1),v=(0,De.useRef)(null),y=(0,De.useRef)();return(0,De.useEffect)(()=>{let w=()=>{v.current&&v.current.close();let S=new EventSource($e.STREAM);v.current=S,S.onopen=()=>{console.log("[SSE] Connected"),a(!0),y.current&&clearTimeout(y.current)},S.onerror=z=>{console.error("[SSE] Connection error:",z),a(!1),S.close(),y.current=setTimeout(()=>{y.current=void 0,console.log("[SSE] Attempting to reconnect..."),w()},Ln.SSE_RECONNECT_DELAY_MS)},S.onmessage=z=>{try{let f=JSON.parse(z.data);switch(f.type){case"initial_load":console.log("[SSE] Initial load:",{projects:f.projects?.length||0}),u(f.projects||[]);break;case"new_observation":f.observation&&(console.log("[SSE] New observation:",f.observation.id),t(c=>[f.observation,...c]));break;case"new_summary":if(f.summary){let c=f.summary;console.log("[SSE] New summary:",c.id),r(d=>[c,...d])}break;case"new_prompt":if(f.prompt){let c=f.prompt;console.log("[SSE] New prompt:",c.id),o(d=>[c,...d])}break;case"processing_status":typeof f.isProcessing=="boolean"&&(console.log("[SSE] Processing status:",f.isProcessing),m(f.isProcessing));break}}catch(f){console.error("[SSE] Failed to parse message:",f)}}};return w(),()=>{v.current&&v.current.close(),y.current&&clearTimeout(y.current)}},[]),{observations:e,summaries:n,prompts:l,projects:i,isProcessing:p,isConnected:s}}var On=L(de(),1);function xf(){let[e,t]=(0,On.useState)(ze),[n,r]=(0,On.useState)(!1),[l,o]=(0,On.useState)("");return(0,On.useEffect)(()=>{fetch($e.SETTINGS).then(u=>u.json()).then(u=>{t({CLAUDE_MEM_MODEL:u.CLAUDE_MEM_MODEL||ze.CLAUDE_MEM_MODEL,CLAUDE_MEM_CONTEXT_OBSERVATIONS:u.CLAUDE_MEM_CONTEXT_OBSERVATIONS||ze.CLAUDE_MEM_CONTEXT_OBSERVATIONS,CLAUDE_MEM_WORKER_PORT:u.CLAUDE_MEM_WORKER_PORT||ze.CLAUDE_MEM_WORKER_PORT})}).catch(u=>{console.error("Failed to load settings:",u)})},[]),{settings:e,saveSettings:async u=>{r(!0),o("Saving...");try{let a=await(await fetch($e.SETTINGS,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(u)})).json();a.success?(t(u),o("\u2713 Saved"),setTimeout(()=>o(""),Ln.SAVE_STATUS_DISPLAY_DURATION_MS)):o(`\u2717 Error: ${a.error}`)}catch(s){o(`\u2717 Error: ${s instanceof Error?s.message:"Unknown error"}`)}finally{r(!1)}},isSaving:n,saveStatus:l}}var ql=L(de(),1);function Cf(){let[e,t]=(0,ql.useState)({});return(0,ql.useEffect)(()=>{let n=async()=>{try{let o=await(await fetch($e.STATS)).json();t(o)}catch(l){console.error("Failed to load stats:",l)}};n();let r=setInterval(n,Ln.STATS_REFRESH_INTERVAL_MS);return()=>clearInterval(r)},[]),{stats:e}}var Ie=L(de(),1);function Eu(e,t,n){let[r,l]=(0,Ie.useState)({isLoading:!1,hasMore:!0}),[o,i]=(0,Ie.useState)(0),u=(0,Ie.useRef)(r),s=(0,Ie.useRef)(o);(0,Ie.useEffect)(()=>{u.current=r},[r]),(0,Ie.useEffect)(()=>{s.current=o},[o]),(0,Ie.useEffect)(()=>{i(0),l({isLoading:!1,hasMore:!0})},[n]);let a=(0,Ie.useCallback)(async()=>{if(u.current.isLoading||!u.current.hasMore)return[];l(p=>({...p,isLoading:!0}));try{let p=new URLSearchParams({offset:s.current.toString(),limit:Cr.PAGINATION_PAGE_SIZE.toString()});n&&p.append("project",n);let m=await fetch(`${e}?${p}`);if(!m.ok)throw new Error(`Failed to load ${t}: ${m.statusText}`);let v=await m.json();return l(y=>({...y,isLoading:!1,hasMore:v.hasMore})),i(y=>y+Cr.PAGINATION_PAGE_SIZE),v.items}catch(p){return console.error(`Failed to load ${t}:`,p),l(m=>({...m,isLoading:!1})),[]}},[n,e,t]);return{...r,loadMore:a}}function Nf(e){let t=Eu($e.OBSERVATIONS,"observations",e),n=Eu($e.SUMMARIES,"summaries",e),r=Eu($e.PROMPTS,"prompts",e);return{observations:t,summaries:n,prompts:r}}var Mn=L(de(),1),Lf="claude-mem-theme";function cm(){return typeof window>"u"||window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Tf(){try{let e=localStorage.getItem(Lf);if(e==="system"||e==="light"||e==="dark")return e}catch(e){console.warn("Failed to read theme preference from localStorage:",e)}return"system"}function Pf(e){return e==="system"?cm():e}function Of(){let[e,t]=(0,Mn.useState)(Tf),[n,r]=(0,Mn.useState)(()=>Pf(Tf()));return(0,Mn.useEffect)(()=>{let o=Pf(e);r(o),document.documentElement.setAttribute("data-theme",o)},[e]),(0,Mn.useEffect)(()=>{if(e!=="system")return;let o=window.matchMedia("(prefers-color-scheme: dark)"),i=u=>{let s=u.matches?"dark":"light";r(s),document.documentElement.setAttribute("data-theme",s)};return o.addEventListener("change",i),()=>o.removeEventListener("change",i)},[e]),{preference:e,resolvedTheme:n,setThemePreference:o=>{try{localStorage.setItem(Lf,o),t(o)}catch(i){console.warn("Failed to save theme preference to localStorage:",i),t(o)}}}}function bl(e,t,n){let r=n?e.filter(o=>o.project===n):e,l=new Set;return[...r,...t].filter(o=>l.has(o.id)?!1:(l.add(o.id),!0))}var Xt=L(W(),1);function Mf(){let[e,t]=(0,ue.useState)(""),[n,r]=(0,ue.useState)(!1),[l,o]=(0,ue.useState)([]),[i,u]=(0,ue.useState)([]),[s,a]=(0,ue.useState)([]),{observations:p,summaries:m,prompts:v,projects:y,isProcessing:w,isConnected:S}=_f(),{settings:z,saveSettings:f,isSaving:c,saveStatus:d}=xf(),{stats:g}=Cf(),{preference:_,resolvedTheme:N,setThemePreference:C}=Of(),x=Nf(e);(0,ue.useEffect)(()=>{o([]),u([]),a([])},[e]);let K=(0,ue.useMemo)(()=>bl(p,l,e),[p,l,e]),P=(0,ue.useMemo)(()=>bl(m,i,e),[m,i,e]),Qe=(0,ue.useMemo)(()=>bl(v,s,e),[v,s,e]),Nr=(0,ue.useCallback)(()=>{r(Yt=>!Yt)},[]),xu=(0,ue.useCallback)(async()=>{try{let[Yt,Cu,Nu]=await Promise.all([x.observations.loadMore(),x.summaries.loadMore(),x.prompts.loadMore()]);Yt.length>0&&o(Rn=>[...Rn,...Yt]),Cu.length>0&&u(Rn=>[...Rn,...Cu]),Nu.length>0&&a(Rn=>[...Rn,...Nu])}catch(Yt){console.error("Failed to load more data:",Yt)}},[x.observations,x.summaries,x.prompts]);return(0,ue.useEffect)(()=>{xu()},[e]),(0,Xt.jsxs)("div",{className:"container",children:[(0,Xt.jsxs)("div",{className:"main-col",children:[(0,Xt.jsx)(pf,{isConnected:S,projects:y,currentFilter:e,onFilterChange:t,onSettingsToggle:Nr,sidebarOpen:n,isProcessing:w,themePreference:_,onThemeChange:C}),(0,Xt.jsx)(kf,{observations:K,summaries:P,prompts:Qe,onLoadMore:xu,isLoading:x.observations.isLoading||x.summaries.isLoading||x.prompts.isLoading,hasMore:x.observations.hasMore||x.summaries.hasMore||x.prompts.hasMore})]}),(0,Xt.jsx)(Ef,{isOpen:n,settings:z,stats:g,isSaving:c,saveStatus:d,isConnected:S,onSave:f,onClose:Nr})]})}var Rf=L(de(),1),Rt=L(W(),1),eo=class extends Rf.Component{constructor(t){super(t),this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("[ErrorBoundary] Caught error:",t,n),this.setState({error:t,errorInfo:n})}render(){return this.state.hasError?(0,Rt.jsxs)("div",{style:{padding:"20px",color:"#ff6b6b",backgroundColor:"#1a1a1a",minHeight:"100vh"},children:[(0,Rt.jsx)("h1",{style:{fontSize:"24px",marginBottom:"10px"},children:"Something went wrong"}),(0,Rt.jsx)("p",{style:{marginBottom:"10px",color:"#8b949e"},children:"The application encountered an error. Please refresh the page to try again."}),this.state.error&&(0,Rt.jsxs)("details",{style:{marginTop:"20px",color:"#8b949e"},children:[(0,Rt.jsx)("summary",{style:{cursor:"pointer",marginBottom:"10px"},children:"Error details"}),(0,Rt.jsxs)("pre",{style:{backgroundColor:"#0d1117",padding:"10px",borderRadius:"6px",overflow:"auto"},children:[this.state.error.toString(),this.state.errorInfo&&` `+this.state.errorInfo.componentStack]})]})]}):this.props.children}};var _u=L(W(),1),Df=document.getElementById("root");if(!Df)throw new Error("Root element not found");var fm=(0,zf.createRoot)(Df);fm.render((0,_u.jsx)(eo,{children:(0,_u.jsx)(Mf,{})}));})(); /*! Bundled license information: react/cjs/react.production.min.js: (** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) scheduler/cjs/scheduler.production.min.js: (** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) react-dom/cjs/react-dom.production.min.js: (** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) react/cjs/react-jsx-runtime.production.min.js: (** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) */