uilint-react 0.2.154 → 0.2.155

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.
package/dist/devtools.js CHANGED
@@ -81,7 +81,7 @@ This will cause a hydration error.%s`,w,u,i,m)):console.error(`In HTML, %s canno
81
81
  This will cause a hydration error.%s`,w,u,m),t&&(e=t.return,h===null||e===null||h===e&&e._debugOwner===t._debugOwner||ze(h,function(){console.error(`<%s> cannot contain a nested %s.
82
82
  See this log for the ancestor stack trace.`,u,w)})),!1}function Od(e,t,i){if(i||_d("#text",t,!1))return!0;if(i="#text|"+t,Ee[i])return!1;Ee[i]=!0;var u=(i=ci)?yi(i,t):null;return i=i!==null&&u!==null?Zh(u,i,i.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
83
83
  This will cause a hydration error.%s`,t,i):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
84
- This will cause a hydration error.%s`,t,i),!1}function xs(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}function Qu(e){return e.replace(te,function(t,i){return i.toUpperCase()})}function Xg(e,t,i){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?oe.hasOwnProperty(t)&&oe[t]||(oe[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Qu(t.replace(en,"ms-")))):nt.test(t)?oe.hasOwnProperty(t)&&oe[t]||(oe[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!F.test(i)||xe.hasOwnProperty(i)&&xe[i]||(xe[i]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,i.replace(F,""))),typeof i=="number"&&(isNaN(i)?Je||(Je=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(i)||Lt||(Lt=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),i==null||typeof i=="boolean"||i===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,i):typeof i!="number"||i===0||Ze.has(t)?t==="float"?e.cssFloat=i:(Aa(i,t),e[t]=(""+i).trim()):e[t]=i+"px"}function $g(e,t,i){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,i!=null){if(t){var u={};if(i){for(var h in i)if(i.hasOwnProperty(h)&&!t.hasOwnProperty(h))for(var m=le[h]||[h],w=0;w<m.length;w++)u[m[w]]=h}for(var T in t)if(t.hasOwnProperty(T)&&(!i||i[T]!==t[T]))for(h=le[T]||[T],m=0;m<h.length;m++)u[h[m]]=T;T={};for(var D in t)for(h=le[D]||[D],m=0;m<h.length;m++)T[h[m]]=D;D={};for(var _ in u)if(h=u[_],(m=T[_])&&h!==m&&(w=h+","+m,!D[w])){D[w]=!0,w=console;var Z=t[h];w.error.call(w,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Z==null||typeof Z=="boolean"||Z===""?"Removing":"Updating",h,m)}}for(var P in i)!i.hasOwnProperty(P)||t!=null&&t.hasOwnProperty(P)||(P.indexOf("--")===0?e.setProperty(P,""):P==="float"?e.cssFloat="":e[P]="");for(var Y in t)_=t[Y],t.hasOwnProperty(Y)&&i[Y]!==_&&Xg(e,Y,_)}else for(u in t)t.hasOwnProperty(u)&&Xg(e,u,t[u])}function Qo(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}}function Mb(e){return Vt.get(e)||e}function Db(e,t){if(Oi.call(Rm,t)&&Rm[t])return!0;if(hU.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Jx.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Rm[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Rm[t]=!0}if(fU.test(t)){if(e=t.toLowerCase(),e=Jx.hasOwnProperty(e)?e:null,e==null)return Rm[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Rm[t]=!0)}return!0}function _b(e,t){var i=[],u;for(u in t)Db(e,u)||i.push(u);t=i.map(function(h){return"`"+h+"`"}).join(", "),i.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<i.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Qg(e,t,i,u){if(Oi.call(ji,t)&&ji[t])return!0;var h=t.toLowerCase();if(h==="onfocusin"||h==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ji[t]=!0;if(typeof i=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(h)?e[h]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),ji[t]=!0;if(gR.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),ji[t]=!0}else if(gR.test(t))return pU.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),ji[t]=!0;if(mU.test(t)||gU.test(t))return!0;if(h==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ji[t]=!0;if(h==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ji[t]=!0;if(h==="is"&&i!==null&&i!==void 0&&typeof i!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),ji[t]=!0;if(typeof i=="number"&&isNaN(i))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),ji[t]=!0;if(Do.hasOwnProperty(h)){if(h=Do[h],h!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,h),ji[t]=!0}else if(t!==h)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,h),ji[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof i){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":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":case"capture":case"download":case"inert":return!0;default:return h=t.toLowerCase().slice(0,5),h==="data-"||h==="aria-"?!0:(i?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',i,t,t,i,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',i,t,t,i,t,t,t),ji[t]=!0)}case"function":case"symbol":return ji[t]=!0,!1;case"string":if(i==="false"||i==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":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":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,i),ji[t]=!0}}return!0}function t2(e,t,i){var u=[],h;for(h in t)Qg(e,h,t[h],i)||u.push(h);t=u.map(function(m){return"`"+m+"`"}).join(", "),u.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<u.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function jd(e){return vU.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Yi(){}function lo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Fh(e){var t=_e(e);if(t&&(e=t.stateNode)){var i=e[Ja]||null;e:switch(e=t.stateNode,t.type){case"input":if(wl(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(Bt(t,"name"),i=i.querySelectorAll('input[name="'+Pt(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var u=i[t];if(u!==e&&u.form===e.form){var h=u[Ja]||null;if(!h)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");wl(u,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(t=0;t<i.length;t++)u=i[t],u.form===e.form&&Hg(u)}break e;case"textarea":vs(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&Xo(e,!!i.multiple,t,!1)}}}function Ph(e,t,i){if(m2)return e(t,i);m2=!0;try{var u=e(t);return u}finally{if(m2=!1,(Mm!==null||Dm!==null)&&(Di(),Mm&&(t=Mm,e=Dm,Dm=Mm=null,Fh(t),e)))for(t=0;t<e.length;t++)Fh(e[t])}}function Io(e,t){var i=e.stateNode;if(i===null)return null;var u=i[Ja]||null;if(u===null)return null;i=u[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":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof i+"` type.");return i}function ws(){if(Wx)return Wx;var e,t=v2,i=t.length,u,h="value"in Fc?Fc.value:Fc.textContent,m=h.length;for(e=0;e<i&&t[e]===h[e];e++);var w=i-e;for(u=1;u<=w&&t[i-u]===h[m-u];u++);return Wx=h.slice(e,1<u?1-u:void 0)}function Nd(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 Iu(){return!0}function Ig(){return!1}function ea(e){function t(i,u,h,m,w){this._reactName=i,this._targetInst=h,this.type=u,this.nativeEvent=m,this.target=w,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(i=e[T],this[T]=i?i(m):m[T]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Iu:Ig,this.isPropagationStopped=Ig,this}return xt(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=Iu)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Iu)},persist:function(){},isPersistent:Iu}),t}function Br(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=DU[e])?!!t[e]:!1}function Ld(){return Br}function Zu(e,t){switch(e){case"keyup":return YU.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==xR;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hr(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Zg(e,t){switch(e){case"compositionend":return Hr(t);case"keypress":return t.which!==SR?null:(TR=!0,ER);case"textInput":return e=t.data,e===ER&&TR?null:e;default:return null}}function Kh(e,t){if(_m)return e==="compositionend"||!w2&&Zu(e,t)?(e=ws(),Wx=v2=Fc=null,_m=!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 wR&&t.locale!=="ko"?null:t.data;default:return null}}function Fg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!XU[e.type]:t==="textarea"}function Jh(e){if(!ns)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Ud(e,t,i,u){Mm?Dm?Dm.push(u):Dm=[u]:Mm=u,t=Ao(t,"onChange"),0<t.length&&(i=new e1("onChange","change",null,i,u),e.push({event:i,listeners:t}))}function zb(e){It(e,0)}function ya(e){var t=Ge(e);if(Hg(t))return e}function Tl(e,t){if(e==="change")return t}function Bd(){Iv&&(Iv.detachEvent("onpropertychange",Fu),Zv=Iv=null)}function Fu(e){if(e.propertyName==="value"&&ya(Zv)){var t=[];Ud(t,Zv,e,lo(e)),Ph(zb,t)}}function n2(e,t,i){e==="focusin"?(Bd(),Iv=t,Zv=i,Iv.attachEvent("onpropertychange",Fu)):e==="focusout"&&Bd()}function Pg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ya(Zv)}function Kg(e,t){if(e==="click")return ya(t)}function Hd(e,t){if(e==="input"||e==="change")return ya(t)}function Wh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Pu(e,t){if(Ni(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),u=Object.keys(t);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var h=i[u];if(!Oi.call(t,h)||!Ni(e[h],t[h]))return!1}return!0}function Ob(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jb(e,t){var i=Ob(e);e=0;for(var u;i;){if(i.nodeType===3){if(u=e+i.textContent.length,e<=t&&u>=t)return{node:i,offset:t-e};e=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ob(i)}}function Nb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ep(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ro(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=ro(e.document)}return t}function Jg(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 Lb(e,t,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;E2||zm==null||zm!==ro(u)||(u=zm,"selectionStart"in u&&Jg(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Fv&&Pu(Fv,u)||(Fv=u,u=Ao(S2,"onSelect"),0<u.length&&(t=new e1("onSelect","select",null,t,i),e.push({event:t,listeners:u}),t.target=zm)))}function Ss(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}function Es(e){if(T2[e])return T2[e];if(!Om[e])return e;var t=Om[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in CR)return T2[e]=t[i];return e}function so(e,t){_R.set(e,t),At(t,[e])}function Ub(e){for(var t=n1,i=0;i<e.length;i++){var u=e[i];if(typeof u=="object"&&u!==null)if(qn(u)&&u.length===2&&typeof u[0]=="string"){if(t!==n1&&t!==M2)return k2;t=M2}else return k2;else{if(typeof u=="function"||typeof u=="string"&&50<u.length||t!==n1&&t!==R2)return k2;t=R2}}return t}function Wg(e,t,i,u){for(var h in e)Oi.call(e,h)&&h[0]!=="_"&&Zo(h,e[h],t,i,u)}function Zo(e,t,i,u,h){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Wi){var m=$(t.type)||"…",w=t.key;t=t.props;var T=Object.keys(t),D=T.length;if(w==null&&D===0){t="<"+m+" />";break}if(3>u||D===1&&T[0]==="children"&&w==null){t="<"+m+" … />";break}i.push([h+"  ".repeat(u)+e,"<"+m]),w!==null&&Zo("key",w,i,u+1,h),e=!1;for(var _ in t)_==="children"?t.children!=null&&(!qn(t.children)||0<t.children.length)&&(e=!0):Oi.call(t,_)&&_[0]!=="_"&&Zo(_,t[_],i,u+1,h);i.push(["",e?">…</"+m+">":"/>"]);return}if(m=Object.prototype.toString.call(t),m=m.slice(8,m.length-1),m==="Array"){if(_=Ub(t),_===R2||_===n1){t=JSON.stringify(t);break}else if(_===M2){for(i.push([h+"  ".repeat(u)+e,""]),e=0;e<t.length;e++)m=t[e],Zo(m[0],m[1],i,u+1,h);return}}if(m==="Promise"){if(t.status==="fulfilled"){if(m=i.length,Zo(e,t.value,i,u,h),i.length>m){i=i[m],i[1]="Promise<"+(i[1]||"Object")+">";return}}else if(t.status==="rejected"&&(m=i.length,Zo(e,t.reason,i,u,h),i.length>m)){i=i[m],i[1]="Rejected Promise<"+i[1]+">";return}i.push(["  ".repeat(u)+e,"Promise"]);return}m==="Object"&&(_=Object.getPrototypeOf(t))&&typeof _.constructor=="function"&&(m=_.constructor.name),i.push([h+"  ".repeat(u)+e,m==="Object"?3>u?"":"…":m]),3>u&&Wg(t,i,u+1,h);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===KU?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}i.push([h+"  ".repeat(u)+e,t])}function Bb(e,t,i,u){var h=!0;for(w in e)w in t||(i.push([a1+"  ".repeat(u)+w,"…"]),h=!1);for(var m in t)if(m in e){var w=e[m],T=t[m];if(w!==T){if(u===0&&m==="children")h="  ".repeat(u)+m,i.push([a1+h,"…"],[i1+h,"…"]);else{if(!(3<=u)){if(typeof w=="object"&&typeof T=="object"&&w!==null&&T!==null&&w.$$typeof===T.$$typeof)if(T.$$typeof===Wi){if(w.type===T.type&&w.key===T.key){w=$(T.type)||"…",h="  ".repeat(u)+m,w="<"+w+" … />",i.push([a1+h,w],[i1+h,w]),h=!1;continue}}else{var D=Object.prototype.toString.call(w),_=Object.prototype.toString.call(T);if(D===_&&(_==="[object Object]"||_==="[object Array]")){D=[jR+"  ".repeat(u)+m,_==="[object Array]"?"Array":""],i.push(D),_=i.length,Bb(w,T,i,u+1)?_===i.length&&(D[1]="Referentially unequal but deeply equal objects. Consider memoization."):h=!1;continue}}else if(typeof w=="function"&&typeof T=="function"&&w.name===T.name&&w.length===T.length&&(D=Function.prototype.toString.call(w),_=Function.prototype.toString.call(T),D===_)){w=T.name===""?"() => {}":T.name+"() {}",i.push([jR+"  ".repeat(u)+m,w+" Referentially unequal function closure. Consider memoization."]);continue}}Zo(m,w,i,u,a1),Zo(m,T,i,u,i1)}h=!1}}else i.push([i1+"  ".repeat(u)+m,"…"]),h=!1;return h}function uo(e){Nt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Gi(e,t,i,u){mn&&(Kc.start=t,Kc.end=i,su.color="warning",su.tooltipText=u,su.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,u,Kc)):performance.measure(u,Kc))}function tp(e,t,i){Gi(e,t,i,"Reconnect")}function np(e,t,i,u,h){var m=we(e);if(m!==null&&mn){var w=e.alternate,T=e.actualDuration;if(w===null||w.child!==e.child)for(var D=e.child;D!==null;D=D.sibling)T-=D.actualDuration;u=.5>T?u?"tertiary-light":"primary-light":10>T?u?"tertiary":"primary":100>T?u?"tertiary-dark":"primary-dark":"error";var _=e.memoizedProps;T=e._debugTask,_!==null&&w!==null&&w.memoizedProps!==_?(D=[JU],_=Bb(w.memoizedProps,_,D,0),1<D.length&&(_&&!Pc&&(w.lanes&h)===0&&100<e.actualDuration?(Pc=!0,D[0]=WU,su.color="warning",su.tooltipText=NR):(su.color=u,su.tooltipText=m),su.properties=D,Kc.start=t,Kc.end=i,T!=null?T.run(performance.measure.bind(performance,"​"+m,Kc)):performance.measure("​"+m,Kc))):T!=null?T.run(console.timeStamp.bind(console,m,t,i,wr,void 0,u)):console.timeStamp(m,t,i,wr,void 0,u)}}function e0(e,t,i,u){if(mn){var h=we(e);if(h!==null){for(var m=null,w=[],T=0;T<u.length;T++){var D=u[T];m==null&&D.source!==null&&(m=D.source._debugTask),D=D.value,w.push(["Error",typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D)])}e.key!==null&&Zo("key",e.key,w,0,""),e.memoizedProps!==null&&Wg(e.memoizedProps,w,0,""),m==null&&(m=e._debugTask),e={start:t,end:i,detail:{devtools:{color:"error",track:wr,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:w}}},m?m.run(performance.measure.bind(performance,"​"+h,e)):performance.measure("​"+h,e)}}}function co(e,t,i,u,h){if(h!==null){if(mn){var m=we(e);if(m!==null){u=[];for(var w=0;w<h.length;w++){var T=h[w].value;u.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e.key!==null&&Zo("key",e.key,u,0,""),e.memoizedProps!==null&&Wg(e.memoizedProps,u,0,""),t={start:t,end:i,detail:{devtools:{color:"error",track:wr,tooltipText:"A lifecycle or effect errored",properties:u}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+m,t)):performance.measure("​"+m,t)}}}else m=we(e),m!==null&&mn&&(h=1>u?"secondary-light":100>u?"secondary":500>u?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,m,t,i,wr,void 0,h)):console.timeStamp(m,t,i,wr,void 0,h))}function a2(e,t,i,u){if(mn&&!(t<=e)){var h=(i&738197653)===i?"tertiary-dark":"primary-dark";i=(i&536870912)===i?"Prepared":(i&201326741)===i?"Hydrated":"Render",u?u.run(console.timeStamp.bind(console,i,e,t,Nt,Ot,h)):console.timeStamp(i,e,t,Nt,Ot,h)}}function Hb(e,t,i,u){!mn||t<=e||(i=(i&738197653)===i?"tertiary-dark":"primary-dark",u?u.run(console.timeStamp.bind(console,"Prewarm",e,t,Nt,Ot,i)):console.timeStamp("Prewarm",e,t,Nt,Ot,i))}function Vb(e,t,i,u){!mn||t<=e||(i=(i&738197653)===i?"tertiary-dark":"primary-dark",u?u.run(console.timeStamp.bind(console,"Suspended",e,t,Nt,Ot,i)):console.timeStamp("Suspended",e,t,Nt,Ot,i))}function i2(e,t,i,u,h,m){if(mn&&!(t<=e)){i=[];for(var w=0;w<u.length;w++){var T=u[w].value;i.push(["Recoverable Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:Nt,trackGroup:Ot,tooltipText:h?"Hydration Failed":"Recovered after Error",properties:i}}},m?m.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function t0(e,t,i,u){!mn||t<=e||(u?u.run(console.timeStamp.bind(console,"Errored",e,t,Nt,Ot,"error")):console.timeStamp("Errored",e,t,Nt,Ot,"error"))}function o2(e,t,i,u){!mn||t<=e||(u?u.run(console.timeStamp.bind(console,i,e,t,Nt,Ot,"secondary-light")):console.timeStamp(i,e,t,Nt,Ot,"secondary-light"))}function qb(e,t,i,u,h){if(mn&&!(t<=e)){for(var m=[],w=0;w<i.length;w++){var T=i[w].value;m.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Nt,trackGroup:Ot,tooltipText:u?"Remaining Effects Errored":"Commit Errored",properties:m}}},h?h.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function n0(e,t,i){!mn||t<=e||console.timeStamp("Animating",e,t,Nt,Ot,"secondary-dark")}function ap(){for(var e=jm,t=D2=jm=0;t<e;){var i=Sr[t];Sr[t++]=null;var u=Sr[t];Sr[t++]=null;var h=Sr[t];Sr[t++]=null;var m=Sr[t];if(Sr[t++]=null,u!==null&&h!==null){var w=u.pending;w===null?h.next=h:(h.next=w.next,w.next=h),u.pending=h}m!==0&&a0(i,h,m)}}function Ku(e,t,i,u){Sr[jm++]=e,Sr[jm++]=t,Sr[jm++]=i,Sr[jm++]=u,D2|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Ts(e,t,i,u){return Ku(e,t,i,u),Vd(e)}function ka(e,t){return Ku(e,null,null,t),Vd(e)}function a0(e,t,i){e.lanes|=i;var u=e.alternate;u!==null&&(u.lanes|=i);for(var h=!1,m=e.return;m!==null;)m.childLanes|=i,u=m.alternate,u!==null&&(u.childLanes|=i),m.tag===22&&(e=m.stateNode,e===null||e._visibility&Pv||(h=!0)),e=m,m=m.return;return e.tag===3?(m=e.stateNode,h&&t!==null&&(h=31-xa(i),e=m.hiddenUpdates,u=e[h],u===null?e[h]=[t]:u.push(t),t.lane=i|536870912),m):null}function Vd(e){if(Ey>mB)throw uh=Ey=0,Ty=uE=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");uh>gB&&(uh=0,Ty=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Ji(e);for(var t=e,i=t.return;i!==null;)t.alternate===null&&(t.flags&4098)!==0&&Ji(e),t=i,i=t.return;return t.tag===3?t.stateNode:null}function Al(e){if(Er===null)return e;var t=Er(e);return t===void 0?e:t.current}function ip(e){if(Er===null)return e;var t=Er(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Al(e.render),e.render!==t)?(t={$$typeof:Bc,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function i0(e,t){if(Er===null)return!1;var i=e.elementType;t=t.type;var u=!1,h=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||h===Da)&&(u=!0);break;case 11:(h===Bc||h===Da)&&(u=!0);break;case 14:case 15:(h===qf||h===Da)&&(u=!0);break;default:return!1}return!!(u&&(e=Er(i),e!==void 0&&e===Er(t)))}function As(e){Er!==null&&typeof WeakSet=="function"&&(Nm===null&&(Nm=new WeakSet),Nm.add(e))}function Yb(e,t,i){do{var u=e,h=u.alternate,m=u.child,w=u.sibling,T=u.tag;u=u.type;var D=null;switch(T){case 0:case 15:case 1:D=u;break;case 11:D=u.render}if(Er===null)throw Error("Expected resolveFamily to be set during hot reload.");var _=!1;if(u=!1,D!==null&&(D=Er(D),D!==void 0&&(i.has(D)?u=!0:t.has(D)&&(T===1?u=!0:_=!0))),Nm!==null&&(Nm.has(e)||h!==null&&Nm.has(h))&&(u=!0),u&&(e._debugNeedsRemount=!0),(u||_)&&(h=ka(e,2),h!==null&&lt(h,e,2)),m===null||u||Yb(m,t,i),w===null)break;e=w}while(!0)}function r2(e,t,i,u){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=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,LR||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function o0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fo(e,t){var i=e.alternate;switch(i===null?(i=k(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugOwner=e._debugOwner,i._debugStack=e._debugStack,i._debugTask=e._debugTask,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null,i.actualDuration=-0,i.actualStartTime=-1.1),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,_debugThenableState:t._debugThenableState},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugInfo=e._debugInfo,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case 0:case 15:i.type=Al(e.type);break;case 1:i.type=Al(e.type);break;case 11:i.type=ip(e.type)}return i}function r0(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.selfBaseDuration=0,e.treeBaseDuration=0):(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,_debugThenableState:t._debugThenableState},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration),e}function Cs(e,t,i,u,h,m){var w=0,T=e;if(typeof e=="function")o0(e)&&(w=1),T=Al(T);else if(typeof e=="string")w=W(),w=Ux(e,i,w)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Mo:return t=k(31,i,t,h),t.elementType=Mo,t.lanes=m,t;case Uc:return ks(i.children,h,m,t);case Ka:w=8,h|=di,h|=rl;break;case Vf:return e=i,u=h,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=k(12,e,t,u|wt),t.elementType=Vf,t.lanes=m,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case au:return t=k(13,i,t,h),t.elementType=au,t.lanes=m,t;case ui:return t=k(19,i,t,h),t.elementType=ui,t.lanes=m,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ro:w=10;break e;case gm:w=9;break e;case Bc:w=11,T=ip(T);break e;case qf:w=14;break e;case Da:w=16,T=null;break e}T="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(T+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?i="null":qn(e)?i="array":e!==void 0&&e.$$typeof===Wi?(i="<"+($(e.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?"):i=typeof e,(w=u?ge(u):null)&&(T+=`
84
+ This will cause a hydration error.%s`,t,i),!1}function xs(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}function Qu(e){return e.replace(te,function(t,i){return i.toUpperCase()})}function Xg(e,t,i){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?oe.hasOwnProperty(t)&&oe[t]||(oe[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Qu(t.replace(en,"ms-")))):nt.test(t)?oe.hasOwnProperty(t)&&oe[t]||(oe[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!F.test(i)||xe.hasOwnProperty(i)&&xe[i]||(xe[i]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,i.replace(F,""))),typeof i=="number"&&(isNaN(i)?Je||(Je=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(i)||Lt||(Lt=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),i==null||typeof i=="boolean"||i===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,i):typeof i!="number"||i===0||Ze.has(t)?t==="float"?e.cssFloat=i:(Aa(i,t),e[t]=(""+i).trim()):e[t]=i+"px"}function $g(e,t,i){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,i!=null){if(t){var u={};if(i){for(var h in i)if(i.hasOwnProperty(h)&&!t.hasOwnProperty(h))for(var m=le[h]||[h],w=0;w<m.length;w++)u[m[w]]=h}for(var T in t)if(t.hasOwnProperty(T)&&(!i||i[T]!==t[T]))for(h=le[T]||[T],m=0;m<h.length;m++)u[h[m]]=T;T={};for(var D in t)for(h=le[D]||[D],m=0;m<h.length;m++)T[h[m]]=D;D={};for(var _ in u)if(h=u[_],(m=T[_])&&h!==m&&(w=h+","+m,!D[w])){D[w]=!0,w=console;var Z=t[h];w.error.call(w,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Z==null||typeof Z=="boolean"||Z===""?"Removing":"Updating",h,m)}}for(var P in i)!i.hasOwnProperty(P)||t!=null&&t.hasOwnProperty(P)||(P.indexOf("--")===0?e.setProperty(P,""):P==="float"?e.cssFloat="":e[P]="");for(var Y in t)_=t[Y],t.hasOwnProperty(Y)&&i[Y]!==_&&Xg(e,Y,_)}else for(u in t)t.hasOwnProperty(u)&&Xg(e,u,t[u])}function Qo(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}}function Mb(e){return Vt.get(e)||e}function Db(e,t){if(Oi.call(Rm,t)&&Rm[t])return!0;if(fU.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Jx.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Rm[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Rm[t]=!0}if(dU.test(t)){if(e=t.toLowerCase(),e=Jx.hasOwnProperty(e)?e:null,e==null)return Rm[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Rm[t]=!0)}return!0}function _b(e,t){var i=[],u;for(u in t)Db(e,u)||i.push(u);t=i.map(function(h){return"`"+h+"`"}).join(", "),i.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<i.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Qg(e,t,i,u){if(Oi.call(ji,t)&&ji[t])return!0;var h=t.toLowerCase();if(h==="onfocusin"||h==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ji[t]=!0;if(typeof i=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(h)?e[h]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),ji[t]=!0;if(gR.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),ji[t]=!0}else if(gR.test(t))return hU.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),ji[t]=!0;if(pU.test(t)||mU.test(t))return!0;if(h==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ji[t]=!0;if(h==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ji[t]=!0;if(h==="is"&&i!==null&&i!==void 0&&typeof i!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),ji[t]=!0;if(typeof i=="number"&&isNaN(i))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),ji[t]=!0;if(Do.hasOwnProperty(h)){if(h=Do[h],h!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,h),ji[t]=!0}else if(t!==h)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,h),ji[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof i){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":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":case"capture":case"download":case"inert":return!0;default:return h=t.toLowerCase().slice(0,5),h==="data-"||h==="aria-"?!0:(i?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',i,t,t,i,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',i,t,t,i,t,t,t),ji[t]=!0)}case"function":case"symbol":return ji[t]=!0,!1;case"string":if(i==="false"||i==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":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":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,i),ji[t]=!0}}return!0}function t2(e,t,i){var u=[],h;for(h in t)Qg(e,h,t[h],i)||u.push(h);t=u.map(function(m){return"`"+m+"`"}).join(", "),u.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<u.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function jd(e){return gU.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Yi(){}function lo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Fh(e){var t=_e(e);if(t&&(e=t.stateNode)){var i=e[Ja]||null;e:switch(e=t.stateNode,t.type){case"input":if(wl(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(Bt(t,"name"),i=i.querySelectorAll('input[name="'+Pt(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var u=i[t];if(u!==e&&u.form===e.form){var h=u[Ja]||null;if(!h)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");wl(u,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(t=0;t<i.length;t++)u=i[t],u.form===e.form&&Hg(u)}break e;case"textarea":vs(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&Xo(e,!!i.multiple,t,!1)}}}function Ph(e,t,i){if(m2)return e(t,i);m2=!0;try{var u=e(t);return u}finally{if(m2=!1,(Mm!==null||Dm!==null)&&(Di(),Mm&&(t=Mm,e=Dm,Dm=Mm=null,Fh(t),e)))for(t=0;t<e.length;t++)Fh(e[t])}}function Io(e,t){var i=e.stateNode;if(i===null)return null;var u=i[Ja]||null;if(u===null)return null;i=u[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":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof i+"` type.");return i}function ws(){if(Wx)return Wx;var e,t=v2,i=t.length,u,h="value"in Fc?Fc.value:Fc.textContent,m=h.length;for(e=0;e<i&&t[e]===h[e];e++);var w=i-e;for(u=1;u<=w&&t[i-u]===h[m-u];u++);return Wx=h.slice(e,1<u?1-u:void 0)}function Nd(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 Iu(){return!0}function Ig(){return!1}function ea(e){function t(i,u,h,m,w){this._reactName=i,this._targetInst=h,this.type=u,this.nativeEvent=m,this.target=w,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(i=e[T],this[T]=i?i(m):m[T]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Iu:Ig,this.isPropagationStopped=Ig,this}return xt(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=Iu)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Iu)},persist:function(){},isPersistent:Iu}),t}function Br(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=MU[e])?!!t[e]:!1}function Ld(){return Br}function Zu(e,t){switch(e){case"keyup":return qU.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==xR;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hr(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Zg(e,t){switch(e){case"compositionend":return Hr(t);case"keypress":return t.which!==SR?null:(TR=!0,ER);case"textInput":return e=t.data,e===ER&&TR?null:e;default:return null}}function Kh(e,t){if(_m)return e==="compositionend"||!w2&&Zu(e,t)?(e=ws(),Wx=v2=Fc=null,_m=!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 wR&&t.locale!=="ko"?null:t.data;default:return null}}function Fg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!GU[e.type]:t==="textarea"}function Jh(e){if(!ns)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Ud(e,t,i,u){Mm?Dm?Dm.push(u):Dm=[u]:Mm=u,t=Ao(t,"onChange"),0<t.length&&(i=new e1("onChange","change",null,i,u),e.push({event:i,listeners:t}))}function zb(e){It(e,0)}function ya(e){var t=Ge(e);if(Hg(t))return e}function Tl(e,t){if(e==="change")return t}function Bd(){Iv&&(Iv.detachEvent("onpropertychange",Fu),Zv=Iv=null)}function Fu(e){if(e.propertyName==="value"&&ya(Zv)){var t=[];Ud(t,Zv,e,lo(e)),Ph(zb,t)}}function n2(e,t,i){e==="focusin"?(Bd(),Iv=t,Zv=i,Iv.attachEvent("onpropertychange",Fu)):e==="focusout"&&Bd()}function Pg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ya(Zv)}function Kg(e,t){if(e==="click")return ya(t)}function Hd(e,t){if(e==="input"||e==="change")return ya(t)}function Wh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Pu(e,t){if(Ni(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),u=Object.keys(t);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var h=i[u];if(!Oi.call(t,h)||!Ni(e[h],t[h]))return!1}return!0}function Ob(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jb(e,t){var i=Ob(e);e=0;for(var u;i;){if(i.nodeType===3){if(u=e+i.textContent.length,e<=t&&u>=t)return{node:i,offset:t-e};e=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ob(i)}}function Nb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ep(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ro(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=ro(e.document)}return t}function Jg(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 Lb(e,t,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;E2||zm==null||zm!==ro(u)||(u=zm,"selectionStart"in u&&Jg(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Fv&&Pu(Fv,u)||(Fv=u,u=Ao(S2,"onSelect"),0<u.length&&(t=new e1("onSelect","select",null,t,i),e.push({event:t,listeners:u}),t.target=zm)))}function Ss(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}function Es(e){if(T2[e])return T2[e];if(!Om[e])return e;var t=Om[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in CR)return T2[e]=t[i];return e}function so(e,t){_R.set(e,t),At(t,[e])}function Ub(e){for(var t=n1,i=0;i<e.length;i++){var u=e[i];if(typeof u=="object"&&u!==null)if(qn(u)&&u.length===2&&typeof u[0]=="string"){if(t!==n1&&t!==M2)return k2;t=M2}else return k2;else{if(typeof u=="function"||typeof u=="string"&&50<u.length||t!==n1&&t!==R2)return k2;t=R2}}return t}function Wg(e,t,i,u){for(var h in e)Oi.call(e,h)&&h[0]!=="_"&&Zo(h,e[h],t,i,u)}function Zo(e,t,i,u,h){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Wi){var m=$(t.type)||"…",w=t.key;t=t.props;var T=Object.keys(t),D=T.length;if(w==null&&D===0){t="<"+m+" />";break}if(3>u||D===1&&T[0]==="children"&&w==null){t="<"+m+" … />";break}i.push([h+"  ".repeat(u)+e,"<"+m]),w!==null&&Zo("key",w,i,u+1,h),e=!1;for(var _ in t)_==="children"?t.children!=null&&(!qn(t.children)||0<t.children.length)&&(e=!0):Oi.call(t,_)&&_[0]!=="_"&&Zo(_,t[_],i,u+1,h);i.push(["",e?">…</"+m+">":"/>"]);return}if(m=Object.prototype.toString.call(t),m=m.slice(8,m.length-1),m==="Array"){if(_=Ub(t),_===R2||_===n1){t=JSON.stringify(t);break}else if(_===M2){for(i.push([h+"  ".repeat(u)+e,""]),e=0;e<t.length;e++)m=t[e],Zo(m[0],m[1],i,u+1,h);return}}if(m==="Promise"){if(t.status==="fulfilled"){if(m=i.length,Zo(e,t.value,i,u,h),i.length>m){i=i[m],i[1]="Promise<"+(i[1]||"Object")+">";return}}else if(t.status==="rejected"&&(m=i.length,Zo(e,t.reason,i,u,h),i.length>m)){i=i[m],i[1]="Rejected Promise<"+i[1]+">";return}i.push(["  ".repeat(u)+e,"Promise"]);return}m==="Object"&&(_=Object.getPrototypeOf(t))&&typeof _.constructor=="function"&&(m=_.constructor.name),i.push([h+"  ".repeat(u)+e,m==="Object"?3>u?"":"…":m]),3>u&&Wg(t,i,u+1,h);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===PU?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}i.push([h+"  ".repeat(u)+e,t])}function Bb(e,t,i,u){var h=!0;for(w in e)w in t||(i.push([a1+"  ".repeat(u)+w,"…"]),h=!1);for(var m in t)if(m in e){var w=e[m],T=t[m];if(w!==T){if(u===0&&m==="children")h="  ".repeat(u)+m,i.push([a1+h,"…"],[i1+h,"…"]);else{if(!(3<=u)){if(typeof w=="object"&&typeof T=="object"&&w!==null&&T!==null&&w.$$typeof===T.$$typeof)if(T.$$typeof===Wi){if(w.type===T.type&&w.key===T.key){w=$(T.type)||"…",h="  ".repeat(u)+m,w="<"+w+" … />",i.push([a1+h,w],[i1+h,w]),h=!1;continue}}else{var D=Object.prototype.toString.call(w),_=Object.prototype.toString.call(T);if(D===_&&(_==="[object Object]"||_==="[object Array]")){D=[jR+"  ".repeat(u)+m,_==="[object Array]"?"Array":""],i.push(D),_=i.length,Bb(w,T,i,u+1)?_===i.length&&(D[1]="Referentially unequal but deeply equal objects. Consider memoization."):h=!1;continue}}else if(typeof w=="function"&&typeof T=="function"&&w.name===T.name&&w.length===T.length&&(D=Function.prototype.toString.call(w),_=Function.prototype.toString.call(T),D===_)){w=T.name===""?"() => {}":T.name+"() {}",i.push([jR+"  ".repeat(u)+m,w+" Referentially unequal function closure. Consider memoization."]);continue}}Zo(m,w,i,u,a1),Zo(m,T,i,u,i1)}h=!1}}else i.push([i1+"  ".repeat(u)+m,"…"]),h=!1;return h}function uo(e){Nt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Gi(e,t,i,u){mn&&(Kc.start=t,Kc.end=i,su.color="warning",su.tooltipText=u,su.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,u,Kc)):performance.measure(u,Kc))}function tp(e,t,i){Gi(e,t,i,"Reconnect")}function np(e,t,i,u,h){var m=we(e);if(m!==null&&mn){var w=e.alternate,T=e.actualDuration;if(w===null||w.child!==e.child)for(var D=e.child;D!==null;D=D.sibling)T-=D.actualDuration;u=.5>T?u?"tertiary-light":"primary-light":10>T?u?"tertiary":"primary":100>T?u?"tertiary-dark":"primary-dark":"error";var _=e.memoizedProps;T=e._debugTask,_!==null&&w!==null&&w.memoizedProps!==_?(D=[KU],_=Bb(w.memoizedProps,_,D,0),1<D.length&&(_&&!Pc&&(w.lanes&h)===0&&100<e.actualDuration?(Pc=!0,D[0]=JU,su.color="warning",su.tooltipText=NR):(su.color=u,su.tooltipText=m),su.properties=D,Kc.start=t,Kc.end=i,T!=null?T.run(performance.measure.bind(performance,"​"+m,Kc)):performance.measure("​"+m,Kc))):T!=null?T.run(console.timeStamp.bind(console,m,t,i,wr,void 0,u)):console.timeStamp(m,t,i,wr,void 0,u)}}function e0(e,t,i,u){if(mn){var h=we(e);if(h!==null){for(var m=null,w=[],T=0;T<u.length;T++){var D=u[T];m==null&&D.source!==null&&(m=D.source._debugTask),D=D.value,w.push(["Error",typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D)])}e.key!==null&&Zo("key",e.key,w,0,""),e.memoizedProps!==null&&Wg(e.memoizedProps,w,0,""),m==null&&(m=e._debugTask),e={start:t,end:i,detail:{devtools:{color:"error",track:wr,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:w}}},m?m.run(performance.measure.bind(performance,"​"+h,e)):performance.measure("​"+h,e)}}}function co(e,t,i,u,h){if(h!==null){if(mn){var m=we(e);if(m!==null){u=[];for(var w=0;w<h.length;w++){var T=h[w].value;u.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e.key!==null&&Zo("key",e.key,u,0,""),e.memoizedProps!==null&&Wg(e.memoizedProps,u,0,""),t={start:t,end:i,detail:{devtools:{color:"error",track:wr,tooltipText:"A lifecycle or effect errored",properties:u}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+m,t)):performance.measure("​"+m,t)}}}else m=we(e),m!==null&&mn&&(h=1>u?"secondary-light":100>u?"secondary":500>u?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,m,t,i,wr,void 0,h)):console.timeStamp(m,t,i,wr,void 0,h))}function a2(e,t,i,u){if(mn&&!(t<=e)){var h=(i&738197653)===i?"tertiary-dark":"primary-dark";i=(i&536870912)===i?"Prepared":(i&201326741)===i?"Hydrated":"Render",u?u.run(console.timeStamp.bind(console,i,e,t,Nt,Ot,h)):console.timeStamp(i,e,t,Nt,Ot,h)}}function Hb(e,t,i,u){!mn||t<=e||(i=(i&738197653)===i?"tertiary-dark":"primary-dark",u?u.run(console.timeStamp.bind(console,"Prewarm",e,t,Nt,Ot,i)):console.timeStamp("Prewarm",e,t,Nt,Ot,i))}function Vb(e,t,i,u){!mn||t<=e||(i=(i&738197653)===i?"tertiary-dark":"primary-dark",u?u.run(console.timeStamp.bind(console,"Suspended",e,t,Nt,Ot,i)):console.timeStamp("Suspended",e,t,Nt,Ot,i))}function i2(e,t,i,u,h,m){if(mn&&!(t<=e)){i=[];for(var w=0;w<u.length;w++){var T=u[w].value;i.push(["Recoverable Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:Nt,trackGroup:Ot,tooltipText:h?"Hydration Failed":"Recovered after Error",properties:i}}},m?m.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function t0(e,t,i,u){!mn||t<=e||(u?u.run(console.timeStamp.bind(console,"Errored",e,t,Nt,Ot,"error")):console.timeStamp("Errored",e,t,Nt,Ot,"error"))}function o2(e,t,i,u){!mn||t<=e||(u?u.run(console.timeStamp.bind(console,i,e,t,Nt,Ot,"secondary-light")):console.timeStamp(i,e,t,Nt,Ot,"secondary-light"))}function qb(e,t,i,u,h){if(mn&&!(t<=e)){for(var m=[],w=0;w<i.length;w++){var T=i[w].value;m.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Nt,trackGroup:Ot,tooltipText:u?"Remaining Effects Errored":"Commit Errored",properties:m}}},h?h.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function n0(e,t,i){!mn||t<=e||console.timeStamp("Animating",e,t,Nt,Ot,"secondary-dark")}function ap(){for(var e=jm,t=D2=jm=0;t<e;){var i=Sr[t];Sr[t++]=null;var u=Sr[t];Sr[t++]=null;var h=Sr[t];Sr[t++]=null;var m=Sr[t];if(Sr[t++]=null,u!==null&&h!==null){var w=u.pending;w===null?h.next=h:(h.next=w.next,w.next=h),u.pending=h}m!==0&&a0(i,h,m)}}function Ku(e,t,i,u){Sr[jm++]=e,Sr[jm++]=t,Sr[jm++]=i,Sr[jm++]=u,D2|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Ts(e,t,i,u){return Ku(e,t,i,u),Vd(e)}function ka(e,t){return Ku(e,null,null,t),Vd(e)}function a0(e,t,i){e.lanes|=i;var u=e.alternate;u!==null&&(u.lanes|=i);for(var h=!1,m=e.return;m!==null;)m.childLanes|=i,u=m.alternate,u!==null&&(u.childLanes|=i),m.tag===22&&(e=m.stateNode,e===null||e._visibility&Pv||(h=!0)),e=m,m=m.return;return e.tag===3?(m=e.stateNode,h&&t!==null&&(h=31-xa(i),e=m.hiddenUpdates,u=e[h],u===null?e[h]=[t]:u.push(t),t.lane=i|536870912),m):null}function Vd(e){if(Ey>pB)throw uh=Ey=0,Ty=uE=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");uh>mB&&(uh=0,Ty=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Ji(e);for(var t=e,i=t.return;i!==null;)t.alternate===null&&(t.flags&4098)!==0&&Ji(e),t=i,i=t.return;return t.tag===3?t.stateNode:null}function Al(e){if(Er===null)return e;var t=Er(e);return t===void 0?e:t.current}function ip(e){if(Er===null)return e;var t=Er(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Al(e.render),e.render!==t)?(t={$$typeof:Bc,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function i0(e,t){if(Er===null)return!1;var i=e.elementType;t=t.type;var u=!1,h=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||h===Da)&&(u=!0);break;case 11:(h===Bc||h===Da)&&(u=!0);break;case 14:case 15:(h===qf||h===Da)&&(u=!0);break;default:return!1}return!!(u&&(e=Er(i),e!==void 0&&e===Er(t)))}function As(e){Er!==null&&typeof WeakSet=="function"&&(Nm===null&&(Nm=new WeakSet),Nm.add(e))}function Yb(e,t,i){do{var u=e,h=u.alternate,m=u.child,w=u.sibling,T=u.tag;u=u.type;var D=null;switch(T){case 0:case 15:case 1:D=u;break;case 11:D=u.render}if(Er===null)throw Error("Expected resolveFamily to be set during hot reload.");var _=!1;if(u=!1,D!==null&&(D=Er(D),D!==void 0&&(i.has(D)?u=!0:t.has(D)&&(T===1?u=!0:_=!0))),Nm!==null&&(Nm.has(e)||h!==null&&Nm.has(h))&&(u=!0),u&&(e._debugNeedsRemount=!0),(u||_)&&(h=ka(e,2),h!==null&&lt(h,e,2)),m===null||u||Yb(m,t,i),w===null)break;e=w}while(!0)}function r2(e,t,i,u){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=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,LR||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function o0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fo(e,t){var i=e.alternate;switch(i===null?(i=k(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugOwner=e._debugOwner,i._debugStack=e._debugStack,i._debugTask=e._debugTask,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null,i.actualDuration=-0,i.actualStartTime=-1.1),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,_debugThenableState:t._debugThenableState},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugInfo=e._debugInfo,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case 0:case 15:i.type=Al(e.type);break;case 1:i.type=Al(e.type);break;case 11:i.type=ip(e.type)}return i}function r0(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.selfBaseDuration=0,e.treeBaseDuration=0):(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,_debugThenableState:t._debugThenableState},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration),e}function Cs(e,t,i,u,h,m){var w=0,T=e;if(typeof e=="function")o0(e)&&(w=1),T=Al(T);else if(typeof e=="string")w=W(),w=Ux(e,i,w)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Mo:return t=k(31,i,t,h),t.elementType=Mo,t.lanes=m,t;case Uc:return ks(i.children,h,m,t);case Ka:w=8,h|=di,h|=rl;break;case Vf:return e=i,u=h,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=k(12,e,t,u|wt),t.elementType=Vf,t.lanes=m,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case au:return t=k(13,i,t,h),t.elementType=au,t.lanes=m,t;case ui:return t=k(19,i,t,h),t.elementType=ui,t.lanes=m,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ro:w=10;break e;case gm:w=9;break e;case Bc:w=11,T=ip(T);break e;case qf:w=14;break e;case Da:w=16,T=null;break e}T="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(T+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?i="null":qn(e)?i="array":e!==void 0&&e.$$typeof===Wi?(i="<"+($(e.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?"):i=typeof e,(w=u?ge(u):null)&&(T+=`
85
85
 
86
86
  Check the render method of \``+w+"`."),w=29,i=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(i+"."+T)),T=null}return t=k(w,i,t,h),t.elementType=e,t.type=T,t.lanes=m,t._debugOwner=u,t}function Cl(e,t,i){return t=Cs(e.type,e.key,e.props,e._owner,t,i),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function ks(e,t,i,u){return e=k(7,e,u,t),e.lanes=i,e}function Ju(e,t,i){return e=k(6,e,null,t),e.lanes=i,e}function l0(e){var t=k(18,null,null,rt);return t.stateNode=e,t}function op(e,t,i){return t=k(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ba(e,t){if(typeof e=="object"&&e!==null){var i=_2.get(e);return i!==void 0?i:(t={value:e,source:t,stack:ke(t)},_2.set(e,t),t)}return{value:e,source:t,stack:ke(t)}}function fo(e,t){kl(),Lm[Um++]=Kv,Lm[Um++]=o1,o1=e,Kv=t}function s0(e,t,i){kl(),Tr[Ar++]=cu,Tr[Ar++]=du,Tr[Ar++]=Zf,Zf=e;var u=cu;e=du;var h=32-xa(u)-1;u&=~(1<<h),i+=1;var m=32-xa(t)+h;if(30<m){var w=h-h%5;m=(u&(1<<w)-1).toString(32),u>>=w,h-=w,cu=1<<32-xa(t)+h|i<<h|u,du=m+e}else cu=1<<m|i<<h|u,du=e}function rp(e){kl(),e.return!==null&&(fo(e,1),s0(e,1,0))}function lp(e){for(;e===o1;)o1=Lm[--Um],Lm[Um]=null,Kv=Lm[--Um],Lm[Um]=null;for(;e===Zf;)Zf=Tr[--Ar],Tr[Ar]=null,du=Tr[--Ar],Tr[Ar]=null,cu=Tr[--Ar],Tr[Ar]=null}function Gb(){return kl(),Zf!==null?{id:cu,overflow:du}:null}function Xb(e,t){kl(),Tr[Ar++]=cu,Tr[Ar++]=du,Tr[Ar++]=Zf,cu=t.id,du=t.overflow,Zf=e}function kl(){zt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Rs(e,t){if(e.return===null){if(_o===null)_o={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(_o.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");_o.distanceFromLeaf>t&&(_o.distanceFromLeaf=t)}return _o}var i=Rs(e.return,t+1).children;return 0<i.length&&i[i.length-1].fiber===e?(i=i[i.length-1],i.distanceFromLeaf>t&&(i.distanceFromLeaf=t),i):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},i.push(t),t)}function $b(){zt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ra(e,t){as||(e=Rs(e,0),e.serverProps=null,t!==null&&(t=Ox(t),e.serverTail.push(t)))}function Xi(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,i="",u=_o;throw u!==null&&(_o=null,i=Yg(u)),Yd(Ba(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
87
87
 
@@ -103,14 +103,14 @@ https://react.dev/link/hydration-mismatch`+i),e)),z2}function u0(e){var t=e.stat
103
103
 
104
104
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
105
105
 
106
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Wu(){Bm=r1=null,Hm=!1}function $i(e,t,i){qe(O2,t._currentValue,e),t._currentValue=i,qe(j2,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==BR&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=BR}function ho(e,t){e._currentValue=O2.current;var i=j2.current;Me(j2,t),e._currentRenderer=i,Me(O2,t)}function sp(e,t,i){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===i)break;e=e.return}e!==i&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Vr(e,t,i,u){var h=e.child;for(h!==null&&(h.return=e);h!==null;){var m=h.dependencies;if(m!==null){var w=h.child;m=m.firstContext;e:for(;m!==null;){var T=m;m=h;for(var D=0;D<t.length;D++)if(T.context===t[D]){m.lanes|=i,T=m.alternate,T!==null&&(T.lanes|=i),sp(m.return,i,e),u||(w=null);break e}m=T.next}}else if(h.tag===18){if(w=h.return,w===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");w.lanes|=i,m=w.alternate,m!==null&&(m.lanes|=i),sp(w,i,e),w=null}else w=h.child;if(w!==null)w.return=h;else for(w=h;w!==null;){if(w===e){w=null;break}if(h=w.sibling,h!==null){h.return=w.return,w=h;break}w=w.return}h=w}}function po(e,t,i,u){e=null;for(var h=t,m=!1;h!==null;){if(!m){if((h.flags&524288)!==0)m=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var w=h.alternate;if(w===null)throw Error("Should have a current fiber. This is a bug in React.");if(w=w.memoizedProps,w!==null){var T=h.type;Ni(h.pendingProps.value,w.value)||(e!==null?e.push(T):e=[T])}}else if(h===es.current){if(w=h.alternate,w===null)throw Error("Should have a current fiber. This is a bug in React.");w.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(e!==null?e.push(Dy):e=[Dy])}h=h.return}e!==null&&Vr(t,e,i,u),t.flags|=262144}function ec(e){for(e=e.firstContext;e!==null;){if(!Ni(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Dl(e){r1=e,Bm=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function qt(e){return Hm&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),d0(r1,e)}function Gd(e,t){return r1===null&&Dl(e),d0(e,t)}function d0(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},Bm===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Bm=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Bm=Bm.next=t;return i}function up(){return{controller:new nB,data:new Map,refCount:0}}function Ds(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Xd(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&aB(iB,function(){e.controller.abort()})}function Po(e,t,i){(e&127)!==0?0>is&&(is=ua(),Wv=l1(t),N2=t,i!=null&&(L2=we(i)),(Ut&(Ea|jo))!==ja&&(Ln=!0,td=Jv),e=Dc(),t=mr(),e!==Vm||t!==ey?Vm=-1.1:t!==null&&(td=Jv),Kf=e,ey=t):(e&4194048)!==0&&0>kr&&(kr=ua(),ty=l1(t),HR=t,i!=null&&(VR=we(i)),0>mu)&&(e=Dc(),t=mr(),(e!==ad||t!==Jf)&&(ad=-1.1),nd=e,Jf=t)}function Qb(e){if(0>is){is=ua(),Wv=e._debugTask!=null?e._debugTask:null,(Ut&(Ea|jo))!==ja&&(td=Jv);var t=Dc(),i=mr();t!==Vm||i!==ey?Vm=-1.1:i!==null&&(td=Jv),Kf=t,ey=i}0>kr&&(kr=ua(),ty=e._debugTask!=null?e._debugTask:null,0>mu)&&(e=Dc(),t=mr(),(e!==ad||t!==Jf)&&(ad=-1.1),nd=e,Jf=t)}function Ko(){var e=Ff;return Ff=0,e}function tc(e){var t=Ff;return Ff=e,t}function Ha(e){var t=Ff;return Ff+=e,t}function _s(){it=et=-1.1}function dn(){var e=et;return et=-1.1,e}function ta(e){0<=e&&(et=e)}function Qi(){var e=kn;return kn=-0,e}function bi(e){0<=e&&(kn=e)}function xi(){var e=En;return En=null,e}function Ii(){var e=Ln;return Ln=!1,e}function qr(e){Li=ua(),0>e.actualStartTime&&(e.actualStartTime=Li)}function cp(e){if(0<=Li){var t=ua()-Li;e.actualDuration+=t,e.selfBaseDuration=t,Li=-1}}function $d(e){if(0<=Li){var t=ua()-Li;e.actualDuration+=t,Li=-1}}function Va(){if(0<=Li){var e=ua(),t=e-Li;Li=-1,Ff+=t,kn+=t,it=e}}function Ib(e){En===null&&(En=[]),En.push(e),hu===null&&(hu=[]),hu.push(e)}function Tn(){Li=ua(),0>et&&(et=Li)}function zs(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Yr(e,t){if(ay===null){var i=ay=[];B2=0,Wf=cv(),qm={status:"pending",value:void 0,then:function(u){i.push(u)}}}return B2++,t.then(f0,f0),t}function f0(){if(--B2===0&&(-1<kr||(mu=-1.1),ay!==null)){qm!==null&&(qm.status="fulfilled");var e=ay;ay=null,Wf=0,qm=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function dp(e,t){var i=[],u={status:"pending",value:null,reason:null,then:function(h){i.push(h)}};return e.then(function(){u.status="fulfilled",u.value=t;for(var h=0;h<i.length;h++)(0,i[h])(t)},function(h){for(u.status="rejected",u.reason=h,h=0;h<i.length;h++)(0,i[h])(void 0)}),u}function Gr(){var e=eh.current;return e!==null?e:sn.pooledCache}function nc(e,t){t===null?qe(eh,eh.current,e):qe(eh,t.pool,e)}function h0(){var e=Gr();return e===null?null:{parent:sa._currentValue,pool:e}}function fp(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function p0(e){return e=e.status,e==="fulfilled"||e==="rejected"}function wi(e,t,i){ce.actQueue!==null&&(ce.didUsePromise=!0);var u=e.thenables;if(i=u[i],i===void 0?u.push(t):i!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Yi,Yi),t=i),t._debugInfo===void 0){e=performance.now(),u=t.displayName;var h={name:typeof u=="string"?u:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:h}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){h.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Qd(e),e;default:if(typeof t.status=="string")t.then(Yi,Yi);else{if(e=sn,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(m){if(t.status==="pending"){var w=t;w.status="fulfilled",w.value=m}},function(m){if(t.status==="pending"){var w=t;w.status="rejected",w.reason=m}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Qd(e),e}throw nh=t,cy=!0,Ym}}function Si(e){try{return uB(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(nh=t,cy=!0,Ym):t}}function Os(){if(nh===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=nh;return nh=null,cy=!1,e}function Qd(e){if(e===Ym||e===m1)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function _n(e){var t=St;return e!=null&&(St=t===null?e:t.concat(e)),t}function ai(){var e=St;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var i=e[t].debugTask;if(i!=null)return i}}return null}function qa(e,t,i){for(var u=Object.keys(e.props),h=0;h<u.length;h++){var m=u[h];if(m!=="children"&&m!=="key"){t===null&&(t=Cl(e,i.mode,0),t._debugInfo=St,t.return=i),ze(t,function(w){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",w)},m);break}}}function mo(e){var t=dy;return dy+=1,Gm===null&&(Gm=fp()),wi(Gm,e,t)}function ii(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function go(e,t){throw t.$$typeof===Gx?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
106
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Wu(){Bm=r1=null,Hm=!1}function $i(e,t,i){qe(O2,t._currentValue,e),t._currentValue=i,qe(j2,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==BR&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=BR}function ho(e,t){e._currentValue=O2.current;var i=j2.current;Me(j2,t),e._currentRenderer=i,Me(O2,t)}function sp(e,t,i){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===i)break;e=e.return}e!==i&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Vr(e,t,i,u){var h=e.child;for(h!==null&&(h.return=e);h!==null;){var m=h.dependencies;if(m!==null){var w=h.child;m=m.firstContext;e:for(;m!==null;){var T=m;m=h;for(var D=0;D<t.length;D++)if(T.context===t[D]){m.lanes|=i,T=m.alternate,T!==null&&(T.lanes|=i),sp(m.return,i,e),u||(w=null);break e}m=T.next}}else if(h.tag===18){if(w=h.return,w===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");w.lanes|=i,m=w.alternate,m!==null&&(m.lanes|=i),sp(w,i,e),w=null}else w=h.child;if(w!==null)w.return=h;else for(w=h;w!==null;){if(w===e){w=null;break}if(h=w.sibling,h!==null){h.return=w.return,w=h;break}w=w.return}h=w}}function po(e,t,i,u){e=null;for(var h=t,m=!1;h!==null;){if(!m){if((h.flags&524288)!==0)m=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var w=h.alternate;if(w===null)throw Error("Should have a current fiber. This is a bug in React.");if(w=w.memoizedProps,w!==null){var T=h.type;Ni(h.pendingProps.value,w.value)||(e!==null?e.push(T):e=[T])}}else if(h===es.current){if(w=h.alternate,w===null)throw Error("Should have a current fiber. This is a bug in React.");w.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(e!==null?e.push(Dy):e=[Dy])}h=h.return}e!==null&&Vr(t,e,i,u),t.flags|=262144}function ec(e){for(e=e.firstContext;e!==null;){if(!Ni(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Dl(e){r1=e,Bm=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function qt(e){return Hm&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),d0(r1,e)}function Gd(e,t){return r1===null&&Dl(e),d0(e,t)}function d0(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},Bm===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Bm=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Bm=Bm.next=t;return i}function up(){return{controller:new tB,data:new Map,refCount:0}}function Ds(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Xd(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&nB(aB,function(){e.controller.abort()})}function Po(e,t,i){(e&127)!==0?0>is&&(is=ua(),Wv=l1(t),N2=t,i!=null&&(L2=we(i)),(Ut&(Ea|jo))!==ja&&(Ln=!0,td=Jv),e=Dc(),t=mr(),e!==Vm||t!==ey?Vm=-1.1:t!==null&&(td=Jv),Kf=e,ey=t):(e&4194048)!==0&&0>kr&&(kr=ua(),ty=l1(t),HR=t,i!=null&&(VR=we(i)),0>mu)&&(e=Dc(),t=mr(),(e!==ad||t!==Jf)&&(ad=-1.1),nd=e,Jf=t)}function Qb(e){if(0>is){is=ua(),Wv=e._debugTask!=null?e._debugTask:null,(Ut&(Ea|jo))!==ja&&(td=Jv);var t=Dc(),i=mr();t!==Vm||i!==ey?Vm=-1.1:i!==null&&(td=Jv),Kf=t,ey=i}0>kr&&(kr=ua(),ty=e._debugTask!=null?e._debugTask:null,0>mu)&&(e=Dc(),t=mr(),(e!==ad||t!==Jf)&&(ad=-1.1),nd=e,Jf=t)}function Ko(){var e=Ff;return Ff=0,e}function tc(e){var t=Ff;return Ff=e,t}function Ha(e){var t=Ff;return Ff+=e,t}function _s(){it=et=-1.1}function dn(){var e=et;return et=-1.1,e}function ta(e){0<=e&&(et=e)}function Qi(){var e=kn;return kn=-0,e}function bi(e){0<=e&&(kn=e)}function xi(){var e=En;return En=null,e}function Ii(){var e=Ln;return Ln=!1,e}function qr(e){Li=ua(),0>e.actualStartTime&&(e.actualStartTime=Li)}function cp(e){if(0<=Li){var t=ua()-Li;e.actualDuration+=t,e.selfBaseDuration=t,Li=-1}}function $d(e){if(0<=Li){var t=ua()-Li;e.actualDuration+=t,Li=-1}}function Va(){if(0<=Li){var e=ua(),t=e-Li;Li=-1,Ff+=t,kn+=t,it=e}}function Ib(e){En===null&&(En=[]),En.push(e),hu===null&&(hu=[]),hu.push(e)}function Tn(){Li=ua(),0>et&&(et=Li)}function zs(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Yr(e,t){if(ay===null){var i=ay=[];B2=0,Wf=cv(),qm={status:"pending",value:void 0,then:function(u){i.push(u)}}}return B2++,t.then(f0,f0),t}function f0(){if(--B2===0&&(-1<kr||(mu=-1.1),ay!==null)){qm!==null&&(qm.status="fulfilled");var e=ay;ay=null,Wf=0,qm=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function dp(e,t){var i=[],u={status:"pending",value:null,reason:null,then:function(h){i.push(h)}};return e.then(function(){u.status="fulfilled",u.value=t;for(var h=0;h<i.length;h++)(0,i[h])(t)},function(h){for(u.status="rejected",u.reason=h,h=0;h<i.length;h++)(0,i[h])(void 0)}),u}function Gr(){var e=eh.current;return e!==null?e:sn.pooledCache}function nc(e,t){t===null?qe(eh,eh.current,e):qe(eh,t.pool,e)}function h0(){var e=Gr();return e===null?null:{parent:sa._currentValue,pool:e}}function fp(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function p0(e){return e=e.status,e==="fulfilled"||e==="rejected"}function wi(e,t,i){ce.actQueue!==null&&(ce.didUsePromise=!0);var u=e.thenables;if(i=u[i],i===void 0?u.push(t):i!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Yi,Yi),t=i),t._debugInfo===void 0){e=performance.now(),u=t.displayName;var h={name:typeof u=="string"?u:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:h}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){h.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Qd(e),e;default:if(typeof t.status=="string")t.then(Yi,Yi);else{if(e=sn,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(m){if(t.status==="pending"){var w=t;w.status="fulfilled",w.value=m}},function(m){if(t.status==="pending"){var w=t;w.status="rejected",w.reason=m}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Qd(e),e}throw nh=t,cy=!0,Ym}}function Si(e){try{return sB(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(nh=t,cy=!0,Ym):t}}function Os(){if(nh===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=nh;return nh=null,cy=!1,e}function Qd(e){if(e===Ym||e===m1)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function _n(e){var t=St;return e!=null&&(St=t===null?e:t.concat(e)),t}function ai(){var e=St;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var i=e[t].debugTask;if(i!=null)return i}}return null}function qa(e,t,i){for(var u=Object.keys(e.props),h=0;h<u.length;h++){var m=u[h];if(m!=="children"&&m!=="key"){t===null&&(t=Cl(e,i.mode,0),t._debugInfo=St,t.return=i),ze(t,function(w){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",w)},m);break}}}function mo(e){var t=dy;return dy+=1,Gm===null&&(Gm=fp()),wi(Gm,e,t)}function ii(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function go(e,t){throw t.$$typeof===Gx?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
107
107
  - Multiple copies of the "react" package is used.
108
108
  - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
109
109
  - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Zi(e,t){var i=ai();i!==null?i.run(go.bind(null,e,t)):go(e,t)}function m0(e,t){var i=we(e)||"Component";rM[i]||(rM[i]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
110
110
  root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
111
111
  <%s>{%s}</%s>`,t,t,i,t,i))}function ac(e,t){var i=ai();i!==null?i.run(m0.bind(null,e,t)):m0(e,t)}function hp(e,t){var i=we(e)||"Component";lM[i]||(lM[i]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
112
112
  root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
113
- <%s>%s</%s>`,i,t,i))}function Id(e,t){var i=ai();i!==null?i.run(hp.bind(null,e,t)):hp(e,t)}function na(e){function t(V,G){if(e){var I=V.deletions;I===null?(V.deletions=[G],V.flags|=16):I.push(G)}}function i(V,G){if(!e)return null;for(;G!==null;)t(V,G),G=G.sibling;return null}function u(V){for(var G=new Map;V!==null;)V.key!==null?G.set(V.key,V):G.set(V.index,V),V=V.sibling;return G}function h(V,G){return V=Fo(V,G),V.index=0,V.sibling=null,V}function m(V,G,I){return V.index=I,e?(I=V.alternate,I!==null?(I=I.index,I<G?(V.flags|=67108866,G):I):(V.flags|=67108866,G)):(V.flags|=1048576,G)}function w(V){return e&&V.alternate===null&&(V.flags|=67108866),V}function T(V,G,I,me){return G===null||G.tag!==6?(G=Ju(I,V.mode,me),G.return=V,G._debugOwner=V,G._debugTask=V._debugTask,G._debugInfo=St,G):(G=h(G,I),G.return=V,G._debugInfo=St,G)}function D(V,G,I,me){var je=I.type;return je===Uc?(G=Z(V,G,I.props.children,me,I.key),qa(I,G,V),G):G!==null&&(G.elementType===je||i0(G,I)||typeof je=="object"&&je!==null&&je.$$typeof===Da&&Si(je)===G.type)?(G=h(G,I.props),ii(G,I),G.return=V,G._debugOwner=I._owner,G._debugInfo=St,G):(G=Cl(I,V.mode,me),ii(G,I),G.return=V,G._debugInfo=St,G)}function _(V,G,I,me){return G===null||G.tag!==4||G.stateNode.containerInfo!==I.containerInfo||G.stateNode.implementation!==I.implementation?(G=op(I,V.mode,me),G.return=V,G._debugInfo=St,G):(G=h(G,I.children||[]),G.return=V,G._debugInfo=St,G)}function Z(V,G,I,me,je){return G===null||G.tag!==7?(G=ks(I,V.mode,me,je),G.return=V,G._debugOwner=V,G._debugTask=V._debugTask,G._debugInfo=St,G):(G=h(G,I),G.return=V,G._debugInfo=St,G)}function P(V,G,I){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return G=Ju(""+G,V.mode,I),G.return=V,G._debugOwner=V,G._debugTask=V._debugTask,G._debugInfo=St,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case Wi:return I=Cl(G,V.mode,I),ii(I,G),I.return=V,V=_n(G._debugInfo),I._debugInfo=St,St=V,I;case Jl:return G=op(G,V.mode,I),G.return=V,G._debugInfo=St,G;case Da:var me=_n(G._debugInfo);return G=Si(G),V=P(V,G,I),St=me,V}if(qn(G)||J(G))return I=ks(G,V.mode,I,null),I.return=V,I._debugOwner=V,I._debugTask=V._debugTask,V=_n(G._debugInfo),I._debugInfo=St,St=V,I;if(typeof G.then=="function")return me=_n(G._debugInfo),V=P(V,mo(G),I),St=me,V;if(G.$$typeof===Ro)return P(V,Gd(V,G),I);Zi(V,G)}return typeof G=="function"&&ac(V,G),typeof G=="symbol"&&Id(V,G),null}function Y(V,G,I,me){var je=G!==null?G.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return je!==null?null:T(V,G,""+I,me);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case Wi:return I.key===je?(je=_n(I._debugInfo),V=D(V,G,I,me),St=je,V):null;case Jl:return I.key===je?_(V,G,I,me):null;case Da:return je=_n(I._debugInfo),I=Si(I),V=Y(V,G,I,me),St=je,V}if(qn(I)||J(I))return je!==null?null:(je=_n(I._debugInfo),V=Z(V,G,I,me,null),St=je,V);if(typeof I.then=="function")return je=_n(I._debugInfo),V=Y(V,G,mo(I),me),St=je,V;if(I.$$typeof===Ro)return Y(V,G,Gd(V,I),me);Zi(V,I)}return typeof I=="function"&&ac(V,I),typeof I=="symbol"&&Id(V,I),null}function se(V,G,I,me,je){if(typeof me=="string"&&me!==""||typeof me=="number"||typeof me=="bigint")return V=V.get(I)||null,T(G,V,""+me,je);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case Wi:return I=V.get(me.key===null?I:me.key)||null,V=_n(me._debugInfo),G=D(G,I,me,je),St=V,G;case Jl:return V=V.get(me.key===null?I:me.key)||null,_(G,V,me,je);case Da:var dt=_n(me._debugInfo);return me=Si(me),G=se(V,G,I,me,je),St=dt,G}if(qn(me)||J(me))return I=V.get(I)||null,V=_n(me._debugInfo),G=Z(G,I,me,je,null),St=V,G;if(typeof me.then=="function")return dt=_n(me._debugInfo),G=se(V,G,I,mo(me),je),St=dt,G;if(me.$$typeof===Ro)return se(V,G,I,Gd(G,me),je);Zi(G,me)}return typeof me=="function"&&ac(G,me),typeof me=="symbol"&&Id(G,me),null}function Oe(V,G,I,me){if(typeof I!="object"||I===null)return me;switch(I.$$typeof){case Wi:case Jl:A(V,G,I);var je=I.key;if(typeof je!="string")break;if(me===null){me=new Set,me.add(je);break}if(!me.has(je)){me.add(je);break}ze(G,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",je)});break;case Da:I=Si(I),Oe(V,G,I,me)}return me}function Le(V,G,I,me){for(var je=null,dt=null,We=null,Pe=G,bt=G=0,vn=null;Pe!==null&&bt<I.length;bt++){Pe.index>bt?(vn=Pe,Pe=null):vn=Pe.sibling;var Pn=Y(V,Pe,I[bt],me);if(Pn===null){Pe===null&&(Pe=vn);break}je=Oe(V,Pn,I[bt],je),e&&Pe&&Pn.alternate===null&&t(V,Pe),G=m(Pn,G,bt),We===null?dt=Pn:We.sibling=Pn,We=Pn,Pe=vn}if(bt===I.length)return i(V,Pe),zt&&fo(V,bt),dt;if(Pe===null){for(;bt<I.length;bt++)Pe=P(V,I[bt],me),Pe!==null&&(je=Oe(V,Pe,I[bt],je),G=m(Pe,G,bt),We===null?dt=Pe:We.sibling=Pe,We=Pe);return zt&&fo(V,bt),dt}for(Pe=u(Pe);bt<I.length;bt++)vn=se(Pe,V,bt,I[bt],me),vn!==null&&(je=Oe(V,vn,I[bt],je),e&&vn.alternate!==null&&Pe.delete(vn.key===null?bt:vn.key),G=m(vn,G,bt),We===null?dt=vn:We.sibling=vn,We=vn);return e&&Pe.forEach(function(Eu){return t(V,Eu)}),zt&&fo(V,bt),dt}function cn(V,G,I,me){if(I==null)throw Error("An iterable object provided no iterator.");for(var je=null,dt=null,We=G,Pe=G=0,bt=null,vn=null,Pn=I.next();We!==null&&!Pn.done;Pe++,Pn=I.next()){We.index>Pe?(bt=We,We=null):bt=We.sibling;var Eu=Y(V,We,Pn.value,me);if(Eu===null){We===null&&(We=bt);break}vn=Oe(V,Eu,Pn.value,vn),e&&We&&Eu.alternate===null&&t(V,We),G=m(Eu,G,Pe),dt===null?je=Eu:dt.sibling=Eu,dt=Eu,We=bt}if(Pn.done)return i(V,We),zt&&fo(V,Pe),je;if(We===null){for(;!Pn.done;Pe++,Pn=I.next())We=P(V,Pn.value,me),We!==null&&(vn=Oe(V,We,Pn.value,vn),G=m(We,G,Pe),dt===null?je=We:dt.sibling=We,dt=We);return zt&&fo(V,Pe),je}for(We=u(We);!Pn.done;Pe++,Pn=I.next())bt=se(We,V,Pe,Pn.value,me),bt!==null&&(vn=Oe(V,bt,Pn.value,vn),e&&bt.alternate!==null&&We.delete(bt.key===null?Pe:bt.key),G=m(bt,G,Pe),dt===null?je=bt:dt.sibling=bt,dt=bt);return e&&We.forEach(function(OB){return t(V,OB)}),zt&&fo(V,Pe),je}function jt(V,G,I,me){if(typeof I=="object"&&I!==null&&I.type===Uc&&I.key===null&&(qa(I,null,V),I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case Wi:var je=_n(I._debugInfo);e:{for(var dt=I.key;G!==null;){if(G.key===dt){if(dt=I.type,dt===Uc){if(G.tag===7){i(V,G.sibling),me=h(G,I.props.children),me.return=V,me._debugOwner=I._owner,me._debugInfo=St,qa(I,me,V),V=me;break e}}else if(G.elementType===dt||i0(G,I)||typeof dt=="object"&&dt!==null&&dt.$$typeof===Da&&Si(dt)===G.type){i(V,G.sibling),me=h(G,I.props),ii(me,I),me.return=V,me._debugOwner=I._owner,me._debugInfo=St,V=me;break e}i(V,G);break}else t(V,G);G=G.sibling}I.type===Uc?(me=ks(I.props.children,V.mode,me,I.key),me.return=V,me._debugOwner=V,me._debugTask=V._debugTask,me._debugInfo=St,qa(I,me,V),V=me):(me=Cl(I,V.mode,me),ii(me,I),me.return=V,me._debugInfo=St,V=me)}return V=w(V),St=je,V;case Jl:e:{for(je=I,I=je.key;G!==null;){if(G.key===I)if(G.tag===4&&G.stateNode.containerInfo===je.containerInfo&&G.stateNode.implementation===je.implementation){i(V,G.sibling),me=h(G,je.children||[]),me.return=V,V=me;break e}else{i(V,G);break}else t(V,G);G=G.sibling}me=op(je,V.mode,me),me.return=V,V=me}return w(V);case Da:return je=_n(I._debugInfo),I=Si(I),V=jt(V,G,I,me),St=je,V}if(qn(I))return je=_n(I._debugInfo),V=Le(V,G,I,me),St=je,V;if(J(I)){if(je=_n(I._debugInfo),dt=J(I),typeof dt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var We=dt.call(I);return We===I?(V.tag!==0||Object.prototype.toString.call(V.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(We)!=="[object Generator]")&&(iM||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),iM=!0):I.entries!==dt||Y2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Y2=!0),V=cn(V,G,We,me),St=je,V}if(typeof I.then=="function")return je=_n(I._debugInfo),V=jt(V,G,mo(I),me),St=je,V;if(I.$$typeof===Ro)return jt(V,G,Gd(V,I),me);Zi(V,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(je=""+I,G!==null&&G.tag===6?(i(V,G.sibling),me=h(G,je),me.return=V,V=me):(i(V,G),me=Ju(je,V.mode,me),me.return=V,me._debugOwner=V,me._debugTask=V._debugTask,me._debugInfo=St,V=me),w(V)):(typeof I=="function"&&ac(V,I),typeof I=="symbol"&&Id(V,I),i(V,G))}return function(V,G,I,me){var je=St;St=null;try{dy=0;var dt=jt(V,G,I,me);return Gm=null,dt}catch(vn){if(vn===Ym||vn===m1)throw vn;var We=k(29,vn,null,V.mode);We.lanes=me,We.return=V;var Pe=We._debugInfo=St;if(We._debugOwner=V._debugOwner,We._debugTask=V._debugTask,Pe!=null){for(var bt=Pe.length-1;0<=bt;bt--)if(typeof Pe[bt].stack=="string"){We._debugOwner=Pe[bt],We._debugTask=Pe[bt].debugTask;break}}return We}finally{St=je}}}function an(e,t){var i=qn(e);return e=!i&&typeof J(e)=="function",i||e?(i=i?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",i,t,i),!1):!0}function Dt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jo(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 Xn(e){return{lane:e,tag:uM,payload:null,callback:null,next:null}}function Wo(e,t,i){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,X2===u&&!fM){var h=we(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
113
+ <%s>%s</%s>`,i,t,i))}function Id(e,t){var i=ai();i!==null?i.run(hp.bind(null,e,t)):hp(e,t)}function na(e){function t(V,G){if(e){var I=V.deletions;I===null?(V.deletions=[G],V.flags|=16):I.push(G)}}function i(V,G){if(!e)return null;for(;G!==null;)t(V,G),G=G.sibling;return null}function u(V){for(var G=new Map;V!==null;)V.key!==null?G.set(V.key,V):G.set(V.index,V),V=V.sibling;return G}function h(V,G){return V=Fo(V,G),V.index=0,V.sibling=null,V}function m(V,G,I){return V.index=I,e?(I=V.alternate,I!==null?(I=I.index,I<G?(V.flags|=67108866,G):I):(V.flags|=67108866,G)):(V.flags|=1048576,G)}function w(V){return e&&V.alternate===null&&(V.flags|=67108866),V}function T(V,G,I,me){return G===null||G.tag!==6?(G=Ju(I,V.mode,me),G.return=V,G._debugOwner=V,G._debugTask=V._debugTask,G._debugInfo=St,G):(G=h(G,I),G.return=V,G._debugInfo=St,G)}function D(V,G,I,me){var je=I.type;return je===Uc?(G=Z(V,G,I.props.children,me,I.key),qa(I,G,V),G):G!==null&&(G.elementType===je||i0(G,I)||typeof je=="object"&&je!==null&&je.$$typeof===Da&&Si(je)===G.type)?(G=h(G,I.props),ii(G,I),G.return=V,G._debugOwner=I._owner,G._debugInfo=St,G):(G=Cl(I,V.mode,me),ii(G,I),G.return=V,G._debugInfo=St,G)}function _(V,G,I,me){return G===null||G.tag!==4||G.stateNode.containerInfo!==I.containerInfo||G.stateNode.implementation!==I.implementation?(G=op(I,V.mode,me),G.return=V,G._debugInfo=St,G):(G=h(G,I.children||[]),G.return=V,G._debugInfo=St,G)}function Z(V,G,I,me,je){return G===null||G.tag!==7?(G=ks(I,V.mode,me,je),G.return=V,G._debugOwner=V,G._debugTask=V._debugTask,G._debugInfo=St,G):(G=h(G,I),G.return=V,G._debugInfo=St,G)}function P(V,G,I){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return G=Ju(""+G,V.mode,I),G.return=V,G._debugOwner=V,G._debugTask=V._debugTask,G._debugInfo=St,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case Wi:return I=Cl(G,V.mode,I),ii(I,G),I.return=V,V=_n(G._debugInfo),I._debugInfo=St,St=V,I;case Jl:return G=op(G,V.mode,I),G.return=V,G._debugInfo=St,G;case Da:var me=_n(G._debugInfo);return G=Si(G),V=P(V,G,I),St=me,V}if(qn(G)||J(G))return I=ks(G,V.mode,I,null),I.return=V,I._debugOwner=V,I._debugTask=V._debugTask,V=_n(G._debugInfo),I._debugInfo=St,St=V,I;if(typeof G.then=="function")return me=_n(G._debugInfo),V=P(V,mo(G),I),St=me,V;if(G.$$typeof===Ro)return P(V,Gd(V,G),I);Zi(V,G)}return typeof G=="function"&&ac(V,G),typeof G=="symbol"&&Id(V,G),null}function Y(V,G,I,me){var je=G!==null?G.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return je!==null?null:T(V,G,""+I,me);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case Wi:return I.key===je?(je=_n(I._debugInfo),V=D(V,G,I,me),St=je,V):null;case Jl:return I.key===je?_(V,G,I,me):null;case Da:return je=_n(I._debugInfo),I=Si(I),V=Y(V,G,I,me),St=je,V}if(qn(I)||J(I))return je!==null?null:(je=_n(I._debugInfo),V=Z(V,G,I,me,null),St=je,V);if(typeof I.then=="function")return je=_n(I._debugInfo),V=Y(V,G,mo(I),me),St=je,V;if(I.$$typeof===Ro)return Y(V,G,Gd(V,I),me);Zi(V,I)}return typeof I=="function"&&ac(V,I),typeof I=="symbol"&&Id(V,I),null}function se(V,G,I,me,je){if(typeof me=="string"&&me!==""||typeof me=="number"||typeof me=="bigint")return V=V.get(I)||null,T(G,V,""+me,je);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case Wi:return I=V.get(me.key===null?I:me.key)||null,V=_n(me._debugInfo),G=D(G,I,me,je),St=V,G;case Jl:return V=V.get(me.key===null?I:me.key)||null,_(G,V,me,je);case Da:var dt=_n(me._debugInfo);return me=Si(me),G=se(V,G,I,me,je),St=dt,G}if(qn(me)||J(me))return I=V.get(I)||null,V=_n(me._debugInfo),G=Z(G,I,me,je,null),St=V,G;if(typeof me.then=="function")return dt=_n(me._debugInfo),G=se(V,G,I,mo(me),je),St=dt,G;if(me.$$typeof===Ro)return se(V,G,I,Gd(G,me),je);Zi(G,me)}return typeof me=="function"&&ac(G,me),typeof me=="symbol"&&Id(G,me),null}function Oe(V,G,I,me){if(typeof I!="object"||I===null)return me;switch(I.$$typeof){case Wi:case Jl:A(V,G,I);var je=I.key;if(typeof je!="string")break;if(me===null){me=new Set,me.add(je);break}if(!me.has(je)){me.add(je);break}ze(G,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",je)});break;case Da:I=Si(I),Oe(V,G,I,me)}return me}function Le(V,G,I,me){for(var je=null,dt=null,We=null,Pe=G,bt=G=0,vn=null;Pe!==null&&bt<I.length;bt++){Pe.index>bt?(vn=Pe,Pe=null):vn=Pe.sibling;var Pn=Y(V,Pe,I[bt],me);if(Pn===null){Pe===null&&(Pe=vn);break}je=Oe(V,Pn,I[bt],je),e&&Pe&&Pn.alternate===null&&t(V,Pe),G=m(Pn,G,bt),We===null?dt=Pn:We.sibling=Pn,We=Pn,Pe=vn}if(bt===I.length)return i(V,Pe),zt&&fo(V,bt),dt;if(Pe===null){for(;bt<I.length;bt++)Pe=P(V,I[bt],me),Pe!==null&&(je=Oe(V,Pe,I[bt],je),G=m(Pe,G,bt),We===null?dt=Pe:We.sibling=Pe,We=Pe);return zt&&fo(V,bt),dt}for(Pe=u(Pe);bt<I.length;bt++)vn=se(Pe,V,bt,I[bt],me),vn!==null&&(je=Oe(V,vn,I[bt],je),e&&vn.alternate!==null&&Pe.delete(vn.key===null?bt:vn.key),G=m(vn,G,bt),We===null?dt=vn:We.sibling=vn,We=vn);return e&&Pe.forEach(function(Eu){return t(V,Eu)}),zt&&fo(V,bt),dt}function cn(V,G,I,me){if(I==null)throw Error("An iterable object provided no iterator.");for(var je=null,dt=null,We=G,Pe=G=0,bt=null,vn=null,Pn=I.next();We!==null&&!Pn.done;Pe++,Pn=I.next()){We.index>Pe?(bt=We,We=null):bt=We.sibling;var Eu=Y(V,We,Pn.value,me);if(Eu===null){We===null&&(We=bt);break}vn=Oe(V,Eu,Pn.value,vn),e&&We&&Eu.alternate===null&&t(V,We),G=m(Eu,G,Pe),dt===null?je=Eu:dt.sibling=Eu,dt=Eu,We=bt}if(Pn.done)return i(V,We),zt&&fo(V,Pe),je;if(We===null){for(;!Pn.done;Pe++,Pn=I.next())We=P(V,Pn.value,me),We!==null&&(vn=Oe(V,We,Pn.value,vn),G=m(We,G,Pe),dt===null?je=We:dt.sibling=We,dt=We);return zt&&fo(V,Pe),je}for(We=u(We);!Pn.done;Pe++,Pn=I.next())bt=se(We,V,Pe,Pn.value,me),bt!==null&&(vn=Oe(V,bt,Pn.value,vn),e&&bt.alternate!==null&&We.delete(bt.key===null?Pe:bt.key),G=m(bt,G,Pe),dt===null?je=bt:dt.sibling=bt,dt=bt);return e&&We.forEach(function(zB){return t(V,zB)}),zt&&fo(V,Pe),je}function jt(V,G,I,me){if(typeof I=="object"&&I!==null&&I.type===Uc&&I.key===null&&(qa(I,null,V),I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case Wi:var je=_n(I._debugInfo);e:{for(var dt=I.key;G!==null;){if(G.key===dt){if(dt=I.type,dt===Uc){if(G.tag===7){i(V,G.sibling),me=h(G,I.props.children),me.return=V,me._debugOwner=I._owner,me._debugInfo=St,qa(I,me,V),V=me;break e}}else if(G.elementType===dt||i0(G,I)||typeof dt=="object"&&dt!==null&&dt.$$typeof===Da&&Si(dt)===G.type){i(V,G.sibling),me=h(G,I.props),ii(me,I),me.return=V,me._debugOwner=I._owner,me._debugInfo=St,V=me;break e}i(V,G);break}else t(V,G);G=G.sibling}I.type===Uc?(me=ks(I.props.children,V.mode,me,I.key),me.return=V,me._debugOwner=V,me._debugTask=V._debugTask,me._debugInfo=St,qa(I,me,V),V=me):(me=Cl(I,V.mode,me),ii(me,I),me.return=V,me._debugInfo=St,V=me)}return V=w(V),St=je,V;case Jl:e:{for(je=I,I=je.key;G!==null;){if(G.key===I)if(G.tag===4&&G.stateNode.containerInfo===je.containerInfo&&G.stateNode.implementation===je.implementation){i(V,G.sibling),me=h(G,je.children||[]),me.return=V,V=me;break e}else{i(V,G);break}else t(V,G);G=G.sibling}me=op(je,V.mode,me),me.return=V,V=me}return w(V);case Da:return je=_n(I._debugInfo),I=Si(I),V=jt(V,G,I,me),St=je,V}if(qn(I))return je=_n(I._debugInfo),V=Le(V,G,I,me),St=je,V;if(J(I)){if(je=_n(I._debugInfo),dt=J(I),typeof dt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var We=dt.call(I);return We===I?(V.tag!==0||Object.prototype.toString.call(V.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(We)!=="[object Generator]")&&(iM||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),iM=!0):I.entries!==dt||Y2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Y2=!0),V=cn(V,G,We,me),St=je,V}if(typeof I.then=="function")return je=_n(I._debugInfo),V=jt(V,G,mo(I),me),St=je,V;if(I.$$typeof===Ro)return jt(V,G,Gd(V,I),me);Zi(V,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(je=""+I,G!==null&&G.tag===6?(i(V,G.sibling),me=h(G,je),me.return=V,V=me):(i(V,G),me=Ju(je,V.mode,me),me.return=V,me._debugOwner=V,me._debugTask=V._debugTask,me._debugInfo=St,V=me),w(V)):(typeof I=="function"&&ac(V,I),typeof I=="symbol"&&Id(V,I),i(V,G))}return function(V,G,I,me){var je=St;St=null;try{dy=0;var dt=jt(V,G,I,me);return Gm=null,dt}catch(vn){if(vn===Ym||vn===m1)throw vn;var We=k(29,vn,null,V.mode);We.lanes=me,We.return=V;var Pe=We._debugInfo=St;if(We._debugOwner=V._debugOwner,We._debugTask=V._debugTask,Pe!=null){for(var bt=Pe.length-1;0<=bt;bt--)if(typeof Pe[bt].stack=="string"){We._debugOwner=Pe[bt],We._debugTask=Pe[bt].debugTask;break}}return We}finally{St=je}}}function an(e,t){var i=qn(e);return e=!i&&typeof J(e)=="function",i||e?(i=i?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",i,t,i),!1):!0}function Dt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jo(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 Xn(e){return{lane:e,tag:uM,payload:null,callback:null,next:null}}function Wo(e,t,i){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,X2===u&&!fM){var h=we(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
114
114
 
115
115
  Please update the following component: %s`,h),fM=!0}return(Ut&Ea)!==ja?(h=u.pending,h===null?t.next=t:(t.next=h.next,h.next=t),u.pending=t,t=Vd(e),a0(e,null,i),t):(Ku(e,u,t,i),Vd(e))}function Fi(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194048)!==0)){var u=t.lanes;u&=e.pendingLanes,i|=u,t.lanes=i,Md(e,i)}}function Zd(e,t){var i=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var h=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var w={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};m===null?h=m=w:m=m.next=w,i=i.next}while(i!==null);m===null?h=m=t:m=m.next=t}else h=m=t;i={baseState:u.baseState,firstBaseUpdate:h,lastBaseUpdate:m,shared:u.shared,callbacks:u.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function ic(){if($2){var e=qm;if(e!==null)throw e}}function er(e,t,i,u){$2=!1;var h=e.updateQueue;id=!1,X2=h.shared;var m=h.firstBaseUpdate,w=h.lastBaseUpdate,T=h.shared.pending;if(T!==null){h.shared.pending=null;var D=T,_=D.next;D.next=null,w===null?m=_:w.next=_,w=D;var Z=e.alternate;Z!==null&&(Z=Z.updateQueue,T=Z.lastBaseUpdate,T!==w&&(T===null?Z.firstBaseUpdate=_:T.next=_,Z.lastBaseUpdate=D))}if(m!==null){var P=h.baseState;w=0,Z=_=D=null,T=m;do{var Y=T.lane&-536870913,se=Y!==T.lane;if(se?(Et&Y)===Y:(u&Y)===Y){Y!==0&&Y===Wf&&($2=!0),Z!==null&&(Z=Z.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});e:{Y=e;var Oe=T,Le=t,cn=i;switch(Oe.tag){case cM:if(Oe=Oe.payload,typeof Oe=="function"){Hm=!0;var jt=Oe.call(cn,P,Le);if(Y.mode&di){Ye(!0);try{Oe.call(cn,P,Le)}finally{Ye(!1)}}Hm=!1,P=jt;break e}P=Oe;break e;case G2:Y.flags=Y.flags&-65537|128;case uM:if(jt=Oe.payload,typeof jt=="function"){if(Hm=!0,Oe=jt.call(cn,P,Le),Y.mode&di){Ye(!0);try{jt.call(cn,P,Le)}finally{Ye(!1)}}Hm=!1}else Oe=jt;if(Oe==null)break e;P=xt({},P,Oe);break e;case dM:id=!0}}Y=T.callback,Y!==null&&(e.flags|=64,se&&(e.flags|=8192),se=h.callbacks,se===null?h.callbacks=[Y]:se.push(Y))}else se={lane:Y,tag:T.tag,payload:T.payload,callback:T.callback,next:null},Z===null?(_=Z=se,D=P):Z=Z.next=se,w|=Y;if(T=T.next,T===null){if(T=h.shared.pending,T===null)break;se=T,T=se.next,se.next=null,h.lastBaseUpdate=se,h.shared.pending=null}}while(!0);Z===null&&(D=P),h.baseState=D,h.firstBaseUpdate=_,h.lastBaseUpdate=Z,m===null&&(h.shared.lanes=0),ld|=w,e.lanes=w,e.memoizedState=P}X2=null}function _l(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function g0(e,t){var i=e.shared.hiddenCallbacks;if(i!==null)for(e.shared.hiddenCallbacks=null,e=0;e<i.length;e++)_l(i[e],t)}function oc(e,t){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)_l(i[e],t)}function pp(e,t){var i=rs;qe(v1,i,e),qe(Xm,t,e),rs=i|t.baseLanes}function Xr(e){qe(v1,rs,e),qe(Xm,Xm.current,e)}function vo(e){rs=v1.current,Me(Xm,e),Me(v1,e)}function Ya(e){var t=e.alternate;qe(Fn,Fn.current&$m,e),qe(zo,e,e),Rr===null&&(t===null||Xm.current!==null||t.memoizedState!==null)&&(Rr=e)}function yo(e){qe(Fn,Fn.current,e),qe(zo,e,e),Rr===null&&(Rr=e)}function mp(e){e.tag===22?(qe(Fn,Fn.current,e),qe(zo,e,e),Rr===null&&(Rr=e)):tr(e)}function tr(e){qe(Fn,Fn.current,e),qe(zo,zo.current,e)}function aa(e){Me(zo,e),Rr===e&&(Rr=null),Me(Fn,e)}function js(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||_f(i)||hv(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}function ut(){var e=ue;Dr===null?Dr=[e]:Dr.push(e)}function Te(){var e=ue;if(Dr!==null&&(yu++,Dr[yu]!==e)){var t=we(ct);if(!hM.has(t)&&(hM.add(t),Dr!==null)){for(var i="",u=0;u<=yu;u++){var h=Dr[u],m=u===yu?e:h;for(h=u+1+". "+h;30>h.length;)h+=" ";h+=m+`
116
116
  `,i+=h}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
@@ -125,7 +125,7 @@ Please update the following component: %s`,h),fM=!0}return(Ut&Ea)!==ja?(h=u.pend
125
125
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function v0(e,t){if(py)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ue),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
126
126
 
127
127
  Previous: %s
128
- Incoming: %s`,ue,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Ni(e[i],t[i]))return!1;return!0}function y0(e,t,i,u,h,m){gu=m,ct=t,Dr=e!==null?e._debugHookTypes:null,yu=-1,py=e!==null&&e.type!==t.type,(Object.prototype.toString.call(i)==="[object AsyncFunction]"||Object.prototype.toString.call(i)==="[object AsyncGeneratorFunction]")&&(m=we(ct),Q2.has(m)||(Q2.add(m),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",m===null?"An unknown Component":"<"+m+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,ce.H=e!==null&&e.memoizedState!==null?Z2:Dr!==null?gM:I2,ih=m=(t.mode&di)!==rt;var w=H2(i,u,h);if(ih=!1,Im&&(w=Pd(t,i,u,h)),m){Ye(!0);try{w=Pd(t,i,u,h)}finally{Ye(!1)}}return zn(e,t),w}function zn(e,t){t._debugHookTypes=Dr,t.dependencies===null?vu!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:vu}):t.dependencies._debugThenableState=vu,ce.H=my;var i=ln!==null&&ln.next!==null;if(gu=0,Dr=ue=ca=ln=ct=null,yu=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),b1=!1,hy=0,vu=null,i)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||da||(e=e.dependencies,e!==null&&ec(e)&&(da=!0)),cy?(cy=!1,e=!0):e=!1,e&&(t=we(t)||"Unknown",pM.has(t)||Q2.has(t)||(pM.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Pd(e,t,i,u){ct=e;var h=0;do{if(Im&&(vu=null),hy=0,Im=!1,h>=dB)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(h+=1,py=!1,ca=ln=null,e.updateQueue!=null){var m=e.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}yu=-1,ce.H=vM,m=H2(t,i,u)}while(Im);return m}function Kd(){var e=ce.H,t=e.useState()[0];return t=typeof t.then=="function"?ef(t):t,e=e.useState()[0],(ln!==null?ln.memoizedState:null)!==e&&(ct.flags|=1024),t}function Ns(){var e=x1!==0;return x1=0,e}function Jd(e,t,i){t.updateQueue=e.updateQueue,t.flags=(t.mode&rl)!==rt?t.flags&-402655237:t.flags&-2053,e.lanes&=~i}function zl(e){if(b1){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}b1=!1}gu=0,Dr=ca=ln=ct=null,yu=-1,ue=null,Im=!1,hy=x1=0,vu=null}function Hn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ca===null?ct.memoizedState=ca=e:ca=ca.next=e,ca}function $t(){if(ln===null){var e=ct.alternate;e=e!==null?e.memoizedState:null}else e=ln.next;var t=ca===null?ct.memoizedState:ca.next;if(t!==null)ca=t,ln=e;else{if(e===null)throw ct.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");ln=e,e={memoizedState:ln.memoizedState,baseState:ln.baseState,baseQueue:ln.baseQueue,queue:ln.queue,next:null},ca===null?ct.memoizedState=ca=e:ca=ca.next=e}return ca}function Wd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ef(e){var t=hy;return hy+=1,vu===null&&(vu=fp()),e=wi(vu,e,t),t=ct,(ca===null?t.memoizedState:ca.next)===null&&(t=t.alternate,ce.H=t!==null&&t.memoizedState!==null?Z2:I2),e}function Qr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ef(e);if(e.$$typeof===Ro)return qt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Ei(e){var t=null,i=ct.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var u=ct.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(h){return h.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=Wd(),ct.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0||py)for(i=t.data[t.index]=Array(e),u=0;u<e;u++)i[u]=f2;else i.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",i.length,e);return t.index++,i}function Ti(e,t){return typeof t=="function"?t(e):t}function rc(e,t,i){var u=Hn();if(i!==void 0){var h=i(t);if(ih){Ye(!0);try{i(t)}finally{Ye(!1)}}}else h=t;return u.memoizedState=u.baseState=h,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:h},u.queue=e,e=e.dispatch=l2.bind(null,ct,e),[u.memoizedState,e]}function Ls(e){var t=$t();return Ol(t,ln,e)}function Ol(e,t,i){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=i;var h=e.baseQueue,m=u.pending;if(m!==null){if(h!==null){var w=h.next;h.next=m.next,m.next=w}t.baseQueue!==h&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=h=m,u.pending=null}if(m=e.baseState,h===null)e.memoizedState=m;else{t=h.next;var T=w=null,D=null,_=t,Z=!1;do{var P=_.lane&-536870913;if(P!==_.lane?(Et&P)===P:(gu&P)===P){var Y=_.revertLane;if(Y===0)D!==null&&(D=D.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),P===Wf&&(Z=!0);else if((gu&Y)===Y){_=_.next,Y===Wf&&(Z=!0);continue}else P={lane:0,revertLane:_.revertLane,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},D===null?(T=D=P,w=m):D=D.next=P,ct.lanes|=Y,ld|=Y;P=_.action,ih&&i(m,P),m=_.hasEagerState?_.eagerState:i(m,P)}else Y={lane:P,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},D===null?(T=D=Y,w=m):D=D.next=Y,ct.lanes|=P,ld|=P;_=_.next}while(_!==null&&_!==t);if(D===null?w=m:D.next=T,!Ni(m,e.memoizedState)&&(da=!0,Z&&(i=qm,i!==null)))throw i;e.memoizedState=m,e.baseState=w,e.baseQueue=D,u.lastRenderedState=m}return h===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Us(e){var t=$t(),i=t.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=e;var u=i.dispatch,h=i.pending,m=t.memoizedState;if(h!==null){i.pending=null;var w=h=h.next;do m=e(m,w.action),w=w.next;while(w!==h);Ni(m,t.memoizedState)||(da=!0),t.memoizedState=m,t.baseQueue===null&&(t.baseState=m),i.lastRenderedState=m}return[m,u]}function lc(e,t,i){var u=ct,h=Hn();if(zt){if(i===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var m=i();Qm||m===i()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Qm=!0)}else{if(m=t(),Qm||(i=t(),Ni(m,i)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Qm=!0)),sn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Et&127)!==0||b0(u,t,m)}return h.memoizedState=m,i={value:m,getSnapshot:t},h.queue=i,Vs(jl.bind(null,u,i,e),[e]),u.flags|=2048,nr(Mr|Bi,{destroy:void 0},x0.bind(null,u,i,m,t),null),m}function Bs(e,t,i){var u=ct,h=$t(),m=zt;if(m){if(i===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=i()}else if(i=t(),!Qm){var w=t();Ni(i,w)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Qm=!0)}(w=!Ni((ln||h).memoizedState,i))&&(h.memoizedState=i,da=!0),h=h.queue;var T=jl.bind(null,u,h,e);if($n(2048,Bi,T,[e]),h.getSnapshot!==t||w||ca!==null&&ca.memoizedState.tag&Mr){if(u.flags|=2048,nr(Mr|Bi,{destroy:void 0},x0.bind(null,u,h,i,t),null),sn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m||(gu&127)!==0||b0(u,t,i)}return i}function b0(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=ct.updateQueue,t===null?(t=Wd(),ct.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function x0(e,t,i,u){t.value=i,t.getSnapshot=u,Nl(t)&&w0(e)}function jl(e,t,i){return i(function(){Nl(t)&&(Po(2,"updateSyncExternalStore()",e),w0(e))})}function Nl(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!Ni(e,i)}catch{return!0}}function w0(e){var t=ka(e,2);t!==null&&lt(t,e,2)}function gp(e){var t=Hn();if(typeof e=="function"){var i=e;if(e=i(),ih){Ye(!0);try{i()}finally{Ye(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:e},t}function Ll(e){e=gp(e);var t=e.queue,i=Sp.bind(null,ct,t);return t.dispatch=i,[e.memoizedState,i]}function Hs(e){var t=Hn();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=sf.bind(null,ct,!0,i),i.dispatch=t,[e,t]}function tf(e,t){var i=$t();return sc(i,ln,e,t)}function sc(e,t,i,u){return e.baseState=i,Ol(e,ln,typeof u=="function"?u:Ti)}function nf(e,t){var i=$t();return ln!==null?sc(i,ln,e,t):(i.baseState=e,[e,i.queue.dispatch])}function Zb(e,t,i,u,h){if(ia(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var m={payload:h,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){m.listeners.push(w)}};ce.T!==null?i(!0):m.isTransition=!1,u(m),i=t.pending,i===null?(m.next=t.pending=m,Ul(t,m)):(m.next=i.next,t.pending=i.next=m)}}function Ul(e,t){var i=t.action,u=t.payload,h=e.state;if(t.isTransition){var m=ce.T,w={};w._updatedFibers=new Set,ce.T=w;try{var T=i(h,u),D=ce.S;D!==null&&D(w,T),S0(e,t,T)}catch(_){af(e,t,_)}finally{m!==null&&w.types!==null&&(m.types!==null&&m.types!==w.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),m.types=w.types),ce.T=m,m===null&&w._updatedFibers&&(e=w._updatedFibers.size,w._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{w=i(h,u),S0(e,t,w)}catch(_){af(e,t,_)}}function S0(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?(ce.asyncTransitions++,i.then(qs,qs),i.then(function(u){Ir(e,t,u)},function(u){return af(e,t,u)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Ir(e,t,i)}function Ir(e,t,i){t.status="fulfilled",t.value=i,vp(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,Ul(e,i)))}function af(e,t,i){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=i,vp(t),t=t.next;while(t!==u)}e.action=null}function vp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Zr(e,t){return t}function Ai(e,t){if(zt){var i=sn.formState;if(i!==null){e:{var u=ct;if(zt){if(gn){t:{for(var h=gn,m=Cr;h.nodeType!==8;){if(!m){h=null;break t}if(h=_i(h.nextSibling),h===null){h=null;break t}}m=h.data,h=m===vE||m===n3?h:null}if(h){gn=_i(h.nextSibling),u=h.data===vE;break e}}Xi(u)}u=!1}u&&(t=i[0])}}return i=Hn(),i.memoizedState=i.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:t},i.queue=u,i=Sp.bind(null,ct,u),u.dispatch=i,u=gp(!1),m=sf.bind(null,ct,!1,u.queue),u=Hn(),h={state:t,dispatch:null,action:e,pending:null},u.queue=h,i=Zb.bind(null,ct,h,m,i),h.dispatch=i,u.memoizedState=e,[t,i,!1]}function Bl(e){var t=$t();return yp(t,ln,e)}function yp(e,t,i){if(t=Ol(e,t,Zr)[0],e=Ls(Ti)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=ef(t)}catch(w){throw w===Ym?m1:w}else u=t;t=$t();var h=t.queue,m=h.dispatch;return i!==t.memoizedState&&(ct.flags|=2048,nr(Mr|Bi,{destroy:void 0},E0.bind(null,h,i),null)),[u,m,e]}function E0(e,t){e.action=t}function Hl(e){var t=$t(),i=ln;if(i!==null)return yp(t,i,e);$t(),t=t.memoizedState,i=$t();var u=i.queue.dispatch;return i.memoizedState=e,[t,u,!1]}function nr(e,t,i,u){return e={tag:e,create:i,deps:u,inst:t,next:null},t=ct.updateQueue,t===null&&(t=Wd(),ct.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(u=i.next,i.next=e,e.next=u,t.lastEffect=e),e}function bp(e){var t=Hn();return e={current:e},t.memoizedState=e}function Vl(e,t,i,u){var h=Hn();ct.flags|=e,h.memoizedState=nr(Mr|t,{destroy:void 0},i,u===void 0?null:u)}function $n(e,t,i,u){var h=$t();u=u===void 0?null:u;var m=h.memoizedState.inst;ln!==null&&u!==null&&v0(u,ln.memoizedState.deps)?h.memoizedState=nr(t,m,i,u):(ct.flags|=e,h.memoizedState=nr(Mr|t,m,i,u))}function Vs(e,t){(ct.mode&rl)!==rt?Vl(276826112,Bi,e,t):Vl(8390656,Bi,e,t)}function Fb(e){ct.flags|=4;var t=ct.updateQueue;if(t===null)t=Wd(),ct.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function of(e){var t=Hn(),i={impl:e};return t.memoizedState=i,function(){if((Ut&Ea)!==ja)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return i.impl.apply(void 0,arguments)}}function uc(e){var t=$t().memoizedState;return Fb({ref:t,nextImpl:e}),function(){if((Ut&Ea)!==ja)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Ga(e,t){var i=4194308;return(ct.mode&rl)!==rt&&(i|=134217728),Vl(i,Oo,e,t)}function Ci(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function ar(e,t,i){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),i=i!=null?i.concat([e]):null;var u=4194308;(ct.mode&rl)!==rt&&(u|=134217728),Vl(u,Oo,Ci.bind(null,t,e),i)}function cc(e,t,i){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),i=i!=null?i.concat([e]):null,$n(4,Oo,Ci.bind(null,t,e),i)}function xp(e,t){return Hn().memoizedState=[e,t===void 0?null:t],e}function bo(e,t){var i=$t();t=t===void 0?null:t;var u=i.memoizedState;return t!==null&&v0(t,u[1])?u[0]:(i.memoizedState=[e,t],e)}function Xa(e,t){var i=Hn();t=t===void 0?null:t;var u=e();if(ih){Ye(!0);try{e()}finally{Ye(!1)}}return i.memoizedState=[u,t],u}function fn(e,t){var i=$t();t=t===void 0?null:t;var u=i.memoizedState;if(t!==null&&v0(t,u[1]))return u[0];if(u=e(),ih){Ye(!0);try{e()}finally{Ye(!1)}}return i.memoizedState=[u,t],u}function dc(e,t){var i=Hn();return Qt(i,e,t)}function ir(e,t){var i=$t();return On(i,ln.memoizedState,e,t)}function mt(e,t){var i=$t();return ln===null?Qt(i,e,t):On(i,ln.memoizedState,e,t)}function Qt(e,t,i){return i===void 0||(gu&1073741824)!==0&&(Et&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=bc(),ct.lanes|=e,ld|=e,i)}function On(e,t,i,u){return Ni(i,t)?i:Xm.current!==null?(e=Qt(e,i,u),Ni(e,t)||(da=!0),e):(gu&42)===0||(gu&1073741824)!==0&&(Et&261930)===0?(da=!0,e.memoizedState=i):(e=bc(),ct.lanes|=e,ld|=e,t)}function qs(){ce.asyncTransitions--}function Ys(e,t,i,u,h){var m=Gt.p;Gt.p=m!==0&&m<wa?m:wa;var w=ce.T,T={};T._updatedFibers=new Set,ce.T=T,sf(e,!1,t,i);try{var D=h(),_=ce.S;if(_!==null&&_(T,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){ce.asyncTransitions++,D.then(qs,qs);var Z=dp(D,u);Gs(e,t,Z,Ma(e))}else Gs(e,t,u,Ma(e))}catch(P){Gs(e,t,{then:function(){},status:"rejected",reason:P},Ma(e))}finally{Gt.p=m,w!==null&&T.types!==null&&(w.types!==null&&w.types!==T.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),w.types=T.types),ce.T=w,w===null&&T._updatedFibers&&(e=T._updatedFibers.size,T._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Fr(e,t,i,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var h=rf(e).queue;Qb(e),Ys(e,h,t,mh,i===null?S:function(){return fc(e),i(u)})}function rf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:mh,baseState:mh,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:mh},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function fc(e){ce.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=rf(e);t.next===null&&(t=e.alternate.memoizedState),Gs(e,t.next.queue,{},Ma(e))}function ql(){var e=gp(!1);return e=Ys.bind(null,ct,e.queue,!0,!1),Hn().memoizedState=e,[!1,e]}function Pb(){var e=Ls(Ti)[0],t=$t().memoizedState;return[typeof e=="boolean"?e:ef(e),t]}function xn(){var e=Us(Ti)[0],t=$t().memoizedState;return[typeof e=="boolean"?e:ef(e),t]}function Pr(){return qt(Dy)}function lf(){var e=Hn(),t=sn.identifierPrefix;if(zt){var i=du,u=cu;i=(u&~(1<<32-xa(u)-1)).toString(32)+i,t="_"+t+"R_"+i,i=x1++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=cB++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t}function wp(){return Hn().memoizedState=Kb.bind(null,ct)}function Kb(e,t){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var u=Ma(i),h=Xn(u),m=Wo(i,h,u);m!==null&&(Po(u,"refresh()",e),lt(m,i,u),Fi(m,i,u)),e=up(),t!=null&&m!==null&&console.error("The seed argument is not enabled outside experimental channels."),h.payload={cache:e};return}i=i.return}}function l2(e,t,i){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=Ma(e);var h={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};ia(e)?Cn(t,h):(h=Ts(e,t,h,u),h!==null&&(Po(u,"dispatch()",e),lt(h,e,u),uf(h,t,u)))}function Sp(e,t,i){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=Ma(e),Gs(e,t,i,u)&&Po(u,"setState()",e)}function Gs(e,t,i,u){var h={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(ia(e))Cn(t,h);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=t.lastRenderedReducer,m!==null)){var w=ce.H;ce.H=sl;try{var T=t.lastRenderedState,D=m(T,i);if(h.hasEagerState=!0,h.eagerState=D,Ni(D,T))return Ku(e,t,h,0),sn===null&&ap(),!1}catch{}finally{ce.H=w}}if(i=Ts(e,t,h,u),i!==null)return lt(i,e,u),uf(i,t,u),!0}return!1}function sf(e,t,i,u){if(ce.T===null&&Wf===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),u={lane:2,revertLane:cv(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},ia(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Ts(e,i,u,2),t!==null&&(Po(2,"setOptimistic()",e),lt(t,e,2))}function ia(e){var t=e.alternate;return e===ct||t!==null&&t===ct}function Cn(e,t){Im=b1=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function uf(e,t,i){if((i&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,i|=u,t.lanes=i,Md(e,i)}}function Xs(e){if(e!==null&&typeof e!="function"){var t=String(e);RM.has(t)||(RM.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function hc(e,t,i,u){var h=e.memoizedState,m=i(u,h);if(e.mode&di){Ye(!0);try{m=i(u,h)}finally{Ye(!1)}}m===void 0&&(t=$(t)||"Component",TM.has(t)||(TM.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),h=m==null?h:xt({},h,m),e.memoizedState=h,e.lanes===0&&(e.updateQueue.baseState=h)}function Ep(e,t,i,u,h,m,w){var T=e.stateNode;if(typeof T.shouldComponentUpdate=="function"){if(i=T.shouldComponentUpdate(u,m,w),e.mode&di){Ye(!0);try{i=T.shouldComponentUpdate(u,m,w)}finally{Ye(!1)}}return i===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",$(t)||"Component"),i}return t.prototype&&t.prototype.isPureReactComponent?!Pu(i,u)||!Pu(h,m):!0}function or(e,t,i,u){var h=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,u),t.state!==h&&(e=we(e)||"Component",bM.has(e)||(bM.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),F2.enqueueReplaceState(t,t.state,null))}function rr(e,t){var i=t;if("ref"in t){i={};for(var u in t)u!=="ref"&&(i[u]=t[u])}if(e=e.defaultProps){i===t&&(i=xt({},i));for(var h in e)i[h]===void 0&&(i[h]=e[h])}return i}function Tp(e){C2(e),console.warn(`%s
128
+ Incoming: %s`,ue,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Ni(e[i],t[i]))return!1;return!0}function y0(e,t,i,u,h,m){gu=m,ct=t,Dr=e!==null?e._debugHookTypes:null,yu=-1,py=e!==null&&e.type!==t.type,(Object.prototype.toString.call(i)==="[object AsyncFunction]"||Object.prototype.toString.call(i)==="[object AsyncGeneratorFunction]")&&(m=we(ct),Q2.has(m)||(Q2.add(m),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",m===null?"An unknown Component":"<"+m+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,ce.H=e!==null&&e.memoizedState!==null?Z2:Dr!==null?gM:I2,ih=m=(t.mode&di)!==rt;var w=H2(i,u,h);if(ih=!1,Im&&(w=Pd(t,i,u,h)),m){Ye(!0);try{w=Pd(t,i,u,h)}finally{Ye(!1)}}return zn(e,t),w}function zn(e,t){t._debugHookTypes=Dr,t.dependencies===null?vu!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:vu}):t.dependencies._debugThenableState=vu,ce.H=my;var i=ln!==null&&ln.next!==null;if(gu=0,Dr=ue=ca=ln=ct=null,yu=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),b1=!1,hy=0,vu=null,i)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||da||(e=e.dependencies,e!==null&&ec(e)&&(da=!0)),cy?(cy=!1,e=!0):e=!1,e&&(t=we(t)||"Unknown",pM.has(t)||Q2.has(t)||(pM.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Pd(e,t,i,u){ct=e;var h=0;do{if(Im&&(vu=null),hy=0,Im=!1,h>=cB)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(h+=1,py=!1,ca=ln=null,e.updateQueue!=null){var m=e.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}yu=-1,ce.H=vM,m=H2(t,i,u)}while(Im);return m}function Kd(){var e=ce.H,t=e.useState()[0];return t=typeof t.then=="function"?ef(t):t,e=e.useState()[0],(ln!==null?ln.memoizedState:null)!==e&&(ct.flags|=1024),t}function Ns(){var e=x1!==0;return x1=0,e}function Jd(e,t,i){t.updateQueue=e.updateQueue,t.flags=(t.mode&rl)!==rt?t.flags&-402655237:t.flags&-2053,e.lanes&=~i}function zl(e){if(b1){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}b1=!1}gu=0,Dr=ca=ln=ct=null,yu=-1,ue=null,Im=!1,hy=x1=0,vu=null}function Hn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ca===null?ct.memoizedState=ca=e:ca=ca.next=e,ca}function $t(){if(ln===null){var e=ct.alternate;e=e!==null?e.memoizedState:null}else e=ln.next;var t=ca===null?ct.memoizedState:ca.next;if(t!==null)ca=t,ln=e;else{if(e===null)throw ct.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");ln=e,e={memoizedState:ln.memoizedState,baseState:ln.baseState,baseQueue:ln.baseQueue,queue:ln.queue,next:null},ca===null?ct.memoizedState=ca=e:ca=ca.next=e}return ca}function Wd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ef(e){var t=hy;return hy+=1,vu===null&&(vu=fp()),e=wi(vu,e,t),t=ct,(ca===null?t.memoizedState:ca.next)===null&&(t=t.alternate,ce.H=t!==null&&t.memoizedState!==null?Z2:I2),e}function Qr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ef(e);if(e.$$typeof===Ro)return qt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Ei(e){var t=null,i=ct.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var u=ct.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(h){return h.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=Wd(),ct.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0||py)for(i=t.data[t.index]=Array(e),u=0;u<e;u++)i[u]=f2;else i.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",i.length,e);return t.index++,i}function Ti(e,t){return typeof t=="function"?t(e):t}function rc(e,t,i){var u=Hn();if(i!==void 0){var h=i(t);if(ih){Ye(!0);try{i(t)}finally{Ye(!1)}}}else h=t;return u.memoizedState=u.baseState=h,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:h},u.queue=e,e=e.dispatch=l2.bind(null,ct,e),[u.memoizedState,e]}function Ls(e){var t=$t();return Ol(t,ln,e)}function Ol(e,t,i){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=i;var h=e.baseQueue,m=u.pending;if(m!==null){if(h!==null){var w=h.next;h.next=m.next,m.next=w}t.baseQueue!==h&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=h=m,u.pending=null}if(m=e.baseState,h===null)e.memoizedState=m;else{t=h.next;var T=w=null,D=null,_=t,Z=!1;do{var P=_.lane&-536870913;if(P!==_.lane?(Et&P)===P:(gu&P)===P){var Y=_.revertLane;if(Y===0)D!==null&&(D=D.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),P===Wf&&(Z=!0);else if((gu&Y)===Y){_=_.next,Y===Wf&&(Z=!0);continue}else P={lane:0,revertLane:_.revertLane,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},D===null?(T=D=P,w=m):D=D.next=P,ct.lanes|=Y,ld|=Y;P=_.action,ih&&i(m,P),m=_.hasEagerState?_.eagerState:i(m,P)}else Y={lane:P,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},D===null?(T=D=Y,w=m):D=D.next=Y,ct.lanes|=P,ld|=P;_=_.next}while(_!==null&&_!==t);if(D===null?w=m:D.next=T,!Ni(m,e.memoizedState)&&(da=!0,Z&&(i=qm,i!==null)))throw i;e.memoizedState=m,e.baseState=w,e.baseQueue=D,u.lastRenderedState=m}return h===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Us(e){var t=$t(),i=t.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=e;var u=i.dispatch,h=i.pending,m=t.memoizedState;if(h!==null){i.pending=null;var w=h=h.next;do m=e(m,w.action),w=w.next;while(w!==h);Ni(m,t.memoizedState)||(da=!0),t.memoizedState=m,t.baseQueue===null&&(t.baseState=m),i.lastRenderedState=m}return[m,u]}function lc(e,t,i){var u=ct,h=Hn();if(zt){if(i===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var m=i();Qm||m===i()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Qm=!0)}else{if(m=t(),Qm||(i=t(),Ni(m,i)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Qm=!0)),sn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Et&127)!==0||b0(u,t,m)}return h.memoizedState=m,i={value:m,getSnapshot:t},h.queue=i,Vs(jl.bind(null,u,i,e),[e]),u.flags|=2048,nr(Mr|Bi,{destroy:void 0},x0.bind(null,u,i,m,t),null),m}function Bs(e,t,i){var u=ct,h=$t(),m=zt;if(m){if(i===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=i()}else if(i=t(),!Qm){var w=t();Ni(i,w)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Qm=!0)}(w=!Ni((ln||h).memoizedState,i))&&(h.memoizedState=i,da=!0),h=h.queue;var T=jl.bind(null,u,h,e);if($n(2048,Bi,T,[e]),h.getSnapshot!==t||w||ca!==null&&ca.memoizedState.tag&Mr){if(u.flags|=2048,nr(Mr|Bi,{destroy:void 0},x0.bind(null,u,h,i,t),null),sn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m||(gu&127)!==0||b0(u,t,i)}return i}function b0(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=ct.updateQueue,t===null?(t=Wd(),ct.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function x0(e,t,i,u){t.value=i,t.getSnapshot=u,Nl(t)&&w0(e)}function jl(e,t,i){return i(function(){Nl(t)&&(Po(2,"updateSyncExternalStore()",e),w0(e))})}function Nl(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!Ni(e,i)}catch{return!0}}function w0(e){var t=ka(e,2);t!==null&&lt(t,e,2)}function gp(e){var t=Hn();if(typeof e=="function"){var i=e;if(e=i(),ih){Ye(!0);try{i()}finally{Ye(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:e},t}function Ll(e){e=gp(e);var t=e.queue,i=Sp.bind(null,ct,t);return t.dispatch=i,[e.memoizedState,i]}function Hs(e){var t=Hn();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=sf.bind(null,ct,!0,i),i.dispatch=t,[e,t]}function tf(e,t){var i=$t();return sc(i,ln,e,t)}function sc(e,t,i,u){return e.baseState=i,Ol(e,ln,typeof u=="function"?u:Ti)}function nf(e,t){var i=$t();return ln!==null?sc(i,ln,e,t):(i.baseState=e,[e,i.queue.dispatch])}function Zb(e,t,i,u,h){if(ia(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var m={payload:h,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){m.listeners.push(w)}};ce.T!==null?i(!0):m.isTransition=!1,u(m),i=t.pending,i===null?(m.next=t.pending=m,Ul(t,m)):(m.next=i.next,t.pending=i.next=m)}}function Ul(e,t){var i=t.action,u=t.payload,h=e.state;if(t.isTransition){var m=ce.T,w={};w._updatedFibers=new Set,ce.T=w;try{var T=i(h,u),D=ce.S;D!==null&&D(w,T),S0(e,t,T)}catch(_){af(e,t,_)}finally{m!==null&&w.types!==null&&(m.types!==null&&m.types!==w.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),m.types=w.types),ce.T=m,m===null&&w._updatedFibers&&(e=w._updatedFibers.size,w._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{w=i(h,u),S0(e,t,w)}catch(_){af(e,t,_)}}function S0(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?(ce.asyncTransitions++,i.then(qs,qs),i.then(function(u){Ir(e,t,u)},function(u){return af(e,t,u)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Ir(e,t,i)}function Ir(e,t,i){t.status="fulfilled",t.value=i,vp(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,Ul(e,i)))}function af(e,t,i){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=i,vp(t),t=t.next;while(t!==u)}e.action=null}function vp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Zr(e,t){return t}function Ai(e,t){if(zt){var i=sn.formState;if(i!==null){e:{var u=ct;if(zt){if(gn){t:{for(var h=gn,m=Cr;h.nodeType!==8;){if(!m){h=null;break t}if(h=_i(h.nextSibling),h===null){h=null;break t}}m=h.data,h=m===vE||m===n3?h:null}if(h){gn=_i(h.nextSibling),u=h.data===vE;break e}}Xi(u)}u=!1}u&&(t=i[0])}}return i=Hn(),i.memoizedState=i.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:t},i.queue=u,i=Sp.bind(null,ct,u),u.dispatch=i,u=gp(!1),m=sf.bind(null,ct,!1,u.queue),u=Hn(),h={state:t,dispatch:null,action:e,pending:null},u.queue=h,i=Zb.bind(null,ct,h,m,i),h.dispatch=i,u.memoizedState=e,[t,i,!1]}function Bl(e){var t=$t();return yp(t,ln,e)}function yp(e,t,i){if(t=Ol(e,t,Zr)[0],e=Ls(Ti)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=ef(t)}catch(w){throw w===Ym?m1:w}else u=t;t=$t();var h=t.queue,m=h.dispatch;return i!==t.memoizedState&&(ct.flags|=2048,nr(Mr|Bi,{destroy:void 0},E0.bind(null,h,i),null)),[u,m,e]}function E0(e,t){e.action=t}function Hl(e){var t=$t(),i=ln;if(i!==null)return yp(t,i,e);$t(),t=t.memoizedState,i=$t();var u=i.queue.dispatch;return i.memoizedState=e,[t,u,!1]}function nr(e,t,i,u){return e={tag:e,create:i,deps:u,inst:t,next:null},t=ct.updateQueue,t===null&&(t=Wd(),ct.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(u=i.next,i.next=e,e.next=u,t.lastEffect=e),e}function bp(e){var t=Hn();return e={current:e},t.memoizedState=e}function Vl(e,t,i,u){var h=Hn();ct.flags|=e,h.memoizedState=nr(Mr|t,{destroy:void 0},i,u===void 0?null:u)}function $n(e,t,i,u){var h=$t();u=u===void 0?null:u;var m=h.memoizedState.inst;ln!==null&&u!==null&&v0(u,ln.memoizedState.deps)?h.memoizedState=nr(t,m,i,u):(ct.flags|=e,h.memoizedState=nr(Mr|t,m,i,u))}function Vs(e,t){(ct.mode&rl)!==rt?Vl(276826112,Bi,e,t):Vl(8390656,Bi,e,t)}function Fb(e){ct.flags|=4;var t=ct.updateQueue;if(t===null)t=Wd(),ct.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function of(e){var t=Hn(),i={impl:e};return t.memoizedState=i,function(){if((Ut&Ea)!==ja)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return i.impl.apply(void 0,arguments)}}function uc(e){var t=$t().memoizedState;return Fb({ref:t,nextImpl:e}),function(){if((Ut&Ea)!==ja)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Ga(e,t){var i=4194308;return(ct.mode&rl)!==rt&&(i|=134217728),Vl(i,Oo,e,t)}function Ci(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function ar(e,t,i){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),i=i!=null?i.concat([e]):null;var u=4194308;(ct.mode&rl)!==rt&&(u|=134217728),Vl(u,Oo,Ci.bind(null,t,e),i)}function cc(e,t,i){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),i=i!=null?i.concat([e]):null,$n(4,Oo,Ci.bind(null,t,e),i)}function xp(e,t){return Hn().memoizedState=[e,t===void 0?null:t],e}function bo(e,t){var i=$t();t=t===void 0?null:t;var u=i.memoizedState;return t!==null&&v0(t,u[1])?u[0]:(i.memoizedState=[e,t],e)}function Xa(e,t){var i=Hn();t=t===void 0?null:t;var u=e();if(ih){Ye(!0);try{e()}finally{Ye(!1)}}return i.memoizedState=[u,t],u}function fn(e,t){var i=$t();t=t===void 0?null:t;var u=i.memoizedState;if(t!==null&&v0(t,u[1]))return u[0];if(u=e(),ih){Ye(!0);try{e()}finally{Ye(!1)}}return i.memoizedState=[u,t],u}function dc(e,t){var i=Hn();return Qt(i,e,t)}function ir(e,t){var i=$t();return On(i,ln.memoizedState,e,t)}function mt(e,t){var i=$t();return ln===null?Qt(i,e,t):On(i,ln.memoizedState,e,t)}function Qt(e,t,i){return i===void 0||(gu&1073741824)!==0&&(Et&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=bc(),ct.lanes|=e,ld|=e,i)}function On(e,t,i,u){return Ni(i,t)?i:Xm.current!==null?(e=Qt(e,i,u),Ni(e,t)||(da=!0),e):(gu&42)===0||(gu&1073741824)!==0&&(Et&261930)===0?(da=!0,e.memoizedState=i):(e=bc(),ct.lanes|=e,ld|=e,t)}function qs(){ce.asyncTransitions--}function Ys(e,t,i,u,h){var m=Gt.p;Gt.p=m!==0&&m<wa?m:wa;var w=ce.T,T={};T._updatedFibers=new Set,ce.T=T,sf(e,!1,t,i);try{var D=h(),_=ce.S;if(_!==null&&_(T,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){ce.asyncTransitions++,D.then(qs,qs);var Z=dp(D,u);Gs(e,t,Z,Ma(e))}else Gs(e,t,u,Ma(e))}catch(P){Gs(e,t,{then:function(){},status:"rejected",reason:P},Ma(e))}finally{Gt.p=m,w!==null&&T.types!==null&&(w.types!==null&&w.types!==T.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),w.types=T.types),ce.T=w,w===null&&T._updatedFibers&&(e=T._updatedFibers.size,T._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Fr(e,t,i,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var h=rf(e).queue;Qb(e),Ys(e,h,t,mh,i===null?S:function(){return fc(e),i(u)})}function rf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:mh,baseState:mh,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:mh},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function fc(e){ce.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=rf(e);t.next===null&&(t=e.alternate.memoizedState),Gs(e,t.next.queue,{},Ma(e))}function ql(){var e=gp(!1);return e=Ys.bind(null,ct,e.queue,!0,!1),Hn().memoizedState=e,[!1,e]}function Pb(){var e=Ls(Ti)[0],t=$t().memoizedState;return[typeof e=="boolean"?e:ef(e),t]}function xn(){var e=Us(Ti)[0],t=$t().memoizedState;return[typeof e=="boolean"?e:ef(e),t]}function Pr(){return qt(Dy)}function lf(){var e=Hn(),t=sn.identifierPrefix;if(zt){var i=du,u=cu;i=(u&~(1<<32-xa(u)-1)).toString(32)+i,t="_"+t+"R_"+i,i=x1++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=uB++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t}function wp(){return Hn().memoizedState=Kb.bind(null,ct)}function Kb(e,t){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var u=Ma(i),h=Xn(u),m=Wo(i,h,u);m!==null&&(Po(u,"refresh()",e),lt(m,i,u),Fi(m,i,u)),e=up(),t!=null&&m!==null&&console.error("The seed argument is not enabled outside experimental channels."),h.payload={cache:e};return}i=i.return}}function l2(e,t,i){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=Ma(e);var h={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};ia(e)?Cn(t,h):(h=Ts(e,t,h,u),h!==null&&(Po(u,"dispatch()",e),lt(h,e,u),uf(h,t,u)))}function Sp(e,t,i){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=Ma(e),Gs(e,t,i,u)&&Po(u,"setState()",e)}function Gs(e,t,i,u){var h={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(ia(e))Cn(t,h);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=t.lastRenderedReducer,m!==null)){var w=ce.H;ce.H=sl;try{var T=t.lastRenderedState,D=m(T,i);if(h.hasEagerState=!0,h.eagerState=D,Ni(D,T))return Ku(e,t,h,0),sn===null&&ap(),!1}catch{}finally{ce.H=w}}if(i=Ts(e,t,h,u),i!==null)return lt(i,e,u),uf(i,t,u),!0}return!1}function sf(e,t,i,u){if(ce.T===null&&Wf===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),u={lane:2,revertLane:cv(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},ia(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Ts(e,i,u,2),t!==null&&(Po(2,"setOptimistic()",e),lt(t,e,2))}function ia(e){var t=e.alternate;return e===ct||t!==null&&t===ct}function Cn(e,t){Im=b1=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function uf(e,t,i){if((i&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,i|=u,t.lanes=i,Md(e,i)}}function Xs(e){if(e!==null&&typeof e!="function"){var t=String(e);RM.has(t)||(RM.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function hc(e,t,i,u){var h=e.memoizedState,m=i(u,h);if(e.mode&di){Ye(!0);try{m=i(u,h)}finally{Ye(!1)}}m===void 0&&(t=$(t)||"Component",TM.has(t)||(TM.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),h=m==null?h:xt({},h,m),e.memoizedState=h,e.lanes===0&&(e.updateQueue.baseState=h)}function Ep(e,t,i,u,h,m,w){var T=e.stateNode;if(typeof T.shouldComponentUpdate=="function"){if(i=T.shouldComponentUpdate(u,m,w),e.mode&di){Ye(!0);try{i=T.shouldComponentUpdate(u,m,w)}finally{Ye(!1)}}return i===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",$(t)||"Component"),i}return t.prototype&&t.prototype.isPureReactComponent?!Pu(i,u)||!Pu(h,m):!0}function or(e,t,i,u){var h=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,u),t.state!==h&&(e=we(e)||"Component",bM.has(e)||(bM.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),F2.enqueueReplaceState(t,t.state,null))}function rr(e,t){var i=t;if("ref"in t){i={};for(var u in t)u!=="ref"&&(i[u]=t[u])}if(e=e.defaultProps){i===t&&(i=xt({},i));for(var h in e)i[h]===void 0&&(i[h]=e[h])}return i}function Tp(e){C2(e),console.warn(`%s
129
129
 
130
130
  %s
131
131
  `,Zm?"An error occurred in the <"+Zm+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
@@ -134,12 +134,12 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
134
134
  %s
135
135
 
136
136
  %s
137
- `,e,t,i].slice(0),typeof e[0]=="string"?e.splice(0,1,c3+" "+e[0],d3,$1+u+$1,f3):e.splice(0,0,c3,d3,$1+u+$1,f3),e.unshift(console),u=_B.apply(console.error,e),u()}else console.error(`%o
137
+ `,e,t,i].slice(0),typeof e[0]=="string"?e.splice(0,1,c3+" "+e[0],d3,$1+u+$1,f3):e.splice(0,0,c3,d3,$1+u+$1,f3),e.unshift(console),u=DB.apply(console.error,e),u()}else console.error(`%o
138
138
 
139
139
  %s
140
140
 
141
141
  %s
142
- `,e,t,i)}function T0(e){C2(e)}function cf(e,t){try{Zm=t.source?we(t.source):null,P2=null;var i=t.value;if(ce.actQueue!==null)ce.thrownErrors.push(i);else{var u=e.onUncaughtError;u(i,{componentStack:t.stack})}}catch(h){setTimeout(function(){throw h})}}function A0(e,t,i){try{Zm=i.source?we(i.source):null,P2=we(t);var u=e.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function Cp(e,t,i){return i=Xn(i),i.tag=G2,i.payload={element:null},i.callback=function(){ze(t.source,cf,e,t)},i}function kp(e){return e=Xn(e),e.tag=G2,e}function Rp(e,t,i,u){var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var m=u.value;e.payload=function(){return h(m)},e.callback=function(){As(i),ze(u.source,A0,t,i,u)}}var w=i.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(e.callback=function(){As(i),ze(u.source,A0,t,i,u),typeof h!="function"&&(ud===null?ud=new Set([this]):ud.add(this)),rB(this,u),typeof h=="function"||(i.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",we(i)||"Unknown")})}function C0(e,t,i,u,h){if(i.flags|=32768,br&&Tc(e,h),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=i.alternate,t!==null&&po(t,i,h,!0),zt&&(as=!0),i=zo.current,i!==null){switch(i.tag){case 31:case 13:return Rr===null?wc():i.alternate===null&&Rn===xu&&(Rn=E1),i.flags&=-257,i.flags|=65536,i.lanes=h,u===g1?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([u]):t.add(u),Zp(e,u,h)),!1;case 22:return i.flags|=65536,u===g1?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([u]):i.add(u)),Zp(e,u,h)),!1}throw Error("Unexpected Suspense handler tag ("+i.tag+"). This is a bug in React.")}return Zp(e,u,h),wc(),!1}if(zt)return as=!0,t=zo.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=h,u!==z2&&Yd(Ba(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:u}),i))):(u!==z2&&Yd(Ba(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:u}),i)),e=e.current.alternate,e.flags|=65536,h&=-h,e.lanes|=h,u=Ba(u,i),h=Cp(e.stateNode,u,h),Zd(e,h),Rn!==od&&(Rn=oh)),!1;var m=Ba(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:u}),i);if(wy===null?wy=[m]:wy.push(m),Rn!==od&&(Rn=oh),t===null)return!0;u=Ba(u,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=h&-h,i.lanes|=e,e=Cp(i.stateNode,u,e),Zd(i,e),!1;case 1:if(t=i.type,m=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(ud===null||!ud.has(m))))return i.flags|=65536,h&=-h,i.lanes|=h,h=kp(h),Rp(h,e,i,u),Zd(i,h),!1}i=i.return}while(i!==null);return!1}function oa(e,t,i,u){t.child=e===null?sM(t,null,i,u):ah(t,e.child,i,u)}function Jb(e,t,i,u,h){i=i.render;var m=t.ref;if("ref"in u){var w={};for(var T in u)T!=="ref"&&(w[T]=u[T])}else w=u;return Dl(t),u=y0(e,t,i,w,m,h),T=Ns(),e!==null&&!da?(Jd(e,t,h),xo(e,t,h)):(zt&&T&&rp(t),t.flags|=1,oa(e,t,u,h),t.child)}function k0(e,t,i,u,h){if(e===null){var m=i.type;return typeof m=="function"&&!o0(m)&&m.defaultProps===void 0&&i.compare===null?(i=Al(m),t.tag=15,t.type=i,pc(t,m),R0(e,t,i,u,h)):(e=Cs(i.type,null,u,t,t.mode,h),e.ref=t.ref,e.return=t,t.child=e)}if(m=e.child,!Op(e,h)){var w=m.memoizedProps;if(i=i.compare,i=i!==null?i:Pu,i(w,u)&&e.ref===t.ref)return xo(e,t,h)}return t.flags|=1,e=Fo(m,u),e.ref=t.ref,e.return=t,t.child=e}function R0(e,t,i,u,h){if(e!==null){var m=e.memoizedProps;if(Pu(m,u)&&e.ref===t.ref&&t.type===e.type)if(da=!1,t.pendingProps=u=m,Op(e,h))(e.flags&131072)!==0&&(da=!0);else return t.lanes=e.lanes,xo(e,t,h)}return z0(e,t,i,u,h)}function M0(e,t,i,u){var h=u.children,m=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Pv,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((t.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,e!==null){for(u=t.child=e.child,h=0;u!==null;)h=h|u.lanes|u.childLanes,u=u.sibling;u=h&~m}else u=0,t.child=null;return D0(e,t,m,i,u)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&nc(t,m!==null?m.cachePool:null),m!==null?pp(t,m):Xr(t),mp(t);else return u=t.lanes=536870912,D0(e,t,m!==null?m.baseLanes|i:i,i,u)}else m!==null?(nc(t,m.cachePool),pp(t,m),tr(t),t.memoizedState=null):(e!==null&&nc(t,null),Xr(t),tr(t));return oa(e,t,h,i),t.child}function $s(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Pv,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function D0(e,t,i,u,h){var m=Gr();return m=m===null?null:{parent:sa._currentValue,pool:m},t.memoizedState={baseLanes:i,cachePool:m},e!==null&&nc(t,null),Xr(t),mp(t),e!==null&&po(e,t,u,!0),t.childLanes=h,null}function df(e,t){var i=t.hidden;return i!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
142
+ `,e,t,i)}function T0(e){C2(e)}function cf(e,t){try{Zm=t.source?we(t.source):null,P2=null;var i=t.value;if(ce.actQueue!==null)ce.thrownErrors.push(i);else{var u=e.onUncaughtError;u(i,{componentStack:t.stack})}}catch(h){setTimeout(function(){throw h})}}function A0(e,t,i){try{Zm=i.source?we(i.source):null,P2=we(t);var u=e.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function Cp(e,t,i){return i=Xn(i),i.tag=G2,i.payload={element:null},i.callback=function(){ze(t.source,cf,e,t)},i}function kp(e){return e=Xn(e),e.tag=G2,e}function Rp(e,t,i,u){var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var m=u.value;e.payload=function(){return h(m)},e.callback=function(){As(i),ze(u.source,A0,t,i,u)}}var w=i.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(e.callback=function(){As(i),ze(u.source,A0,t,i,u),typeof h!="function"&&(ud===null?ud=new Set([this]):ud.add(this)),oB(this,u),typeof h=="function"||(i.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",we(i)||"Unknown")})}function C0(e,t,i,u,h){if(i.flags|=32768,br&&Tc(e,h),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=i.alternate,t!==null&&po(t,i,h,!0),zt&&(as=!0),i=zo.current,i!==null){switch(i.tag){case 31:case 13:return Rr===null?wc():i.alternate===null&&Rn===xu&&(Rn=E1),i.flags&=-257,i.flags|=65536,i.lanes=h,u===g1?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([u]):t.add(u),Zp(e,u,h)),!1;case 22:return i.flags|=65536,u===g1?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([u]):i.add(u)),Zp(e,u,h)),!1}throw Error("Unexpected Suspense handler tag ("+i.tag+"). This is a bug in React.")}return Zp(e,u,h),wc(),!1}if(zt)return as=!0,t=zo.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=h,u!==z2&&Yd(Ba(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:u}),i))):(u!==z2&&Yd(Ba(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:u}),i)),e=e.current.alternate,e.flags|=65536,h&=-h,e.lanes|=h,u=Ba(u,i),h=Cp(e.stateNode,u,h),Zd(e,h),Rn!==od&&(Rn=oh)),!1;var m=Ba(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:u}),i);if(wy===null?wy=[m]:wy.push(m),Rn!==od&&(Rn=oh),t===null)return!0;u=Ba(u,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=h&-h,i.lanes|=e,e=Cp(i.stateNode,u,e),Zd(i,e),!1;case 1:if(t=i.type,m=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(ud===null||!ud.has(m))))return i.flags|=65536,h&=-h,i.lanes|=h,h=kp(h),Rp(h,e,i,u),Zd(i,h),!1}i=i.return}while(i!==null);return!1}function oa(e,t,i,u){t.child=e===null?sM(t,null,i,u):ah(t,e.child,i,u)}function Jb(e,t,i,u,h){i=i.render;var m=t.ref;if("ref"in u){var w={};for(var T in u)T!=="ref"&&(w[T]=u[T])}else w=u;return Dl(t),u=y0(e,t,i,w,m,h),T=Ns(),e!==null&&!da?(Jd(e,t,h),xo(e,t,h)):(zt&&T&&rp(t),t.flags|=1,oa(e,t,u,h),t.child)}function k0(e,t,i,u,h){if(e===null){var m=i.type;return typeof m=="function"&&!o0(m)&&m.defaultProps===void 0&&i.compare===null?(i=Al(m),t.tag=15,t.type=i,pc(t,m),R0(e,t,i,u,h)):(e=Cs(i.type,null,u,t,t.mode,h),e.ref=t.ref,e.return=t,t.child=e)}if(m=e.child,!Op(e,h)){var w=m.memoizedProps;if(i=i.compare,i=i!==null?i:Pu,i(w,u)&&e.ref===t.ref)return xo(e,t,h)}return t.flags|=1,e=Fo(m,u),e.ref=t.ref,e.return=t,t.child=e}function R0(e,t,i,u,h){if(e!==null){var m=e.memoizedProps;if(Pu(m,u)&&e.ref===t.ref&&t.type===e.type)if(da=!1,t.pendingProps=u=m,Op(e,h))(e.flags&131072)!==0&&(da=!0);else return t.lanes=e.lanes,xo(e,t,h)}return z0(e,t,i,u,h)}function M0(e,t,i,u){var h=u.children,m=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Pv,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((t.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,e!==null){for(u=t.child=e.child,h=0;u!==null;)h=h|u.lanes|u.childLanes,u=u.sibling;u=h&~m}else u=0,t.child=null;return D0(e,t,m,i,u)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&nc(t,m!==null?m.cachePool:null),m!==null?pp(t,m):Xr(t),mp(t);else return u=t.lanes=536870912,D0(e,t,m!==null?m.baseLanes|i:i,i,u)}else m!==null?(nc(t,m.cachePool),pp(t,m),tr(t),t.memoizedState=null):(e!==null&&nc(t,null),Xr(t),tr(t));return oa(e,t,h,i),t.child}function $s(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Pv,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function D0(e,t,i,u,h){var m=Gr();return m=m===null?null:{parent:sa._currentValue,pool:m},t.memoizedState={baseLanes:i,cachePool:m},e!==null&&nc(t,null),Xr(t),mp(t),e!==null&&po(e,t,u,!0),t.childLanes=h,null}function df(e,t){var i=t.hidden;return i!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
143
143
  - <Activity %s>
144
144
  + <Activity %s>`,i===!0?"hidden":i===!1?"hidden={false}":"hidden={...}",i?'mode="hidden"':'mode="visible"'),t=hf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function _0(e,t,i){return ah(t,e.child,null,i),e=df(t,t.pendingProps),e.flags|=2,aa(t),t.memoizedState=null,e}function Wb(e,t,i){var u=t.pendingProps,h=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(zt){if(u.mode==="hidden")return e=df(t,u),t.lanes=536870912,$s(null,e);if(yo(t),(e=gn)?(i=Zt(e,Cr),i=i!==null&&i.data===dh?i:null,i!==null&&(u={dehydrated:i,treeContext:Gb(),retryLane:536870912,hydrationErrors:null},t.memoizedState=u,u=l0(i),u.return=t,t.child=u,Wa=t,gn=null)):i=null,i===null)throw Ra(t,e),Xi(t);return t.lanes=536870912,null}return df(t,u)}var m=e.memoizedState;if(m!==null){var w=m.dehydrated;if(yo(t),h)if(t.flags&256)t.flags&=-257,t=_0(e,t,i);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if($b(),(i&536870912)!==0&&xc(t),da||po(e,t,i,!1),h=(i&e.childLanes)!==0,da||h){if(u=sn,u!==null&&(w=ms(u,i),w!==0&&w!==m.retryLane))throw m.retryLane=w,ka(e,w),lt(u,e,w),K2;wc(),t=_0(e,t,i)}else e=m.treeContext,gn=_i(w.nextSibling),Wa=t,zt=!0,Wc=null,as=!1,_o=null,Cr=!1,e!==null&&Xb(t,e),t=df(t,u),t.flags|=4096;return t}return m=e.child,u={mode:u.mode,children:u.children},(i&536870912)!==0&&(i&e.lanes)!==0&&xc(t),e=Fo(m,u),e.ref=t.ref,t.child=e,e.return=t,e}function ff(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("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==i)&&(t.flags|=4194816)}}function z0(e,t,i,u,h){if(i.prototype&&typeof i.prototype.render=="function"){var m=$(i)||"Unknown";MM[m]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",m,m),MM[m]=!0)}return t.mode&di&&ll.recordLegacyContextWarning(t,null),e===null&&(pc(t,t.type),i.contextTypes&&(m=$(i)||"Unknown",_M[m]||(_M[m]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",m)))),Dl(t),i=y0(e,t,i,u,void 0,h),u=Ns(),e!==null&&!da?(Jd(e,t,h),xo(e,t,h)):(zt&&u&&rp(t),t.flags|=1,oa(e,t,i,h),t.child)}function O0(e,t,i,u,h,m){return Dl(t),yu=-1,py=e!==null&&e.type!==t.type,t.updateQueue=null,i=Pd(t,u,i,h),zn(e,t),u=Ns(),e!==null&&!da?(Jd(e,t,m),xo(e,t,m)):(zt&&u&&rp(t),t.flags|=1,oa(e,t,i,m),t.child)}function Qs(e,t,i,u,h){switch(g(t)){case!1:var m=t.stateNode,w=new t.type(t.memoizedProps,m.context).state;m.updater.enqueueSetState(m,w,null);break;case!0:t.flags|=128,t.flags|=65536,m=Error("Simulated error coming from DevTools");var T=h&-h;if(t.lanes|=T,w=sn,w===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");T=kp(T),Rp(T,w,t,Ba(m,t)),Zd(t,T)}if(Dl(t),t.stateNode===null){if(w=Jc,m=i.contextType,"contextType"in i&&m!==null&&(m===void 0||m.$$typeof!==Ro)&&!kM.has(i)&&(kM.add(i),T=m===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof m!="object"?" However, it is set to a "+typeof m+".":m.$$typeof===gm?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(m).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",$(i)||"Component",T)),typeof m=="object"&&m!==null&&(w=qt(m)),m=new i(u,w),t.mode&di){Ye(!0);try{m=new i(u,w)}finally{Ye(!1)}}if(w=t.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=F2,t.stateNode=m,m._reactInternals=t,m._reactInternalInstance=yM,typeof i.getDerivedStateFromProps=="function"&&w===null&&(w=$(i)||"Component",xM.has(w)||(xM.add(w),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",w,m.state===null?"null":"undefined",w))),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"){var D=T=w=null;if(typeof m.componentWillMount=="function"&&m.componentWillMount.__suppressDeprecationWarning!==!0?w="componentWillMount":typeof m.UNSAFE_componentWillMount=="function"&&(w="UNSAFE_componentWillMount"),typeof m.componentWillReceiveProps=="function"&&m.componentWillReceiveProps.__suppressDeprecationWarning!==!0?T="componentWillReceiveProps":typeof m.UNSAFE_componentWillReceiveProps=="function"&&(T="UNSAFE_componentWillReceiveProps"),typeof m.componentWillUpdate=="function"&&m.componentWillUpdate.__suppressDeprecationWarning!==!0?D="componentWillUpdate":typeof m.UNSAFE_componentWillUpdate=="function"&&(D="UNSAFE_componentWillUpdate"),w!==null||T!==null||D!==null){m=$(i)||"Component";var _=typeof i.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";SM.has(m)||(SM.add(m),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
145
145
 
@@ -150,7 +150,7 @@ https://react.dev/link/unsafe-component-lifecycles`,m,_,w!==null?`
150
150
  `+w:"",T!==null?`
151
151
  `+T:"",D!==null?`
152
152
  `+D:""))}}m=t.stateNode,w=$(i)||"Component",m.render||(i.prototype&&typeof i.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",w):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",w)),!m.getInitialState||m.getInitialState.isReactClassApproved||m.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",w),m.getDefaultProps&&!m.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",w),m.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",w),i.childContextTypes&&!CM.has(i)&&(CM.add(i),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",w)),i.contextTypes&&!AM.has(i)&&(AM.add(i),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",w)),typeof m.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",w),i.prototype&&i.prototype.isPureReactComponent&&typeof m.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",$(i)||"A pure component"),typeof m.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",w),typeof m.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",w),typeof m.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",w),typeof m.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",w),T=m.props!==u,m.props!==void 0&&T&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",w),m.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",w,w),typeof m.getSnapshotBeforeUpdate!="function"||typeof m.componentDidUpdate=="function"||wM.has(i)||(wM.add(i),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",$(i))),typeof m.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof m.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof i.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",w),(T=m.state)&&(typeof T!="object"||qn(T))&&console.error("%s.state: must be set to an object or null",w),typeof m.getChildContext=="function"&&typeof i.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",w),m=t.stateNode,m.props=u,m.state=t.memoizedState,m.refs={},Dt(t),w=i.contextType,m.context=typeof w=="object"&&w!==null?qt(w):Jc,m.state===u&&(w=$(i)||"Component",EM.has(w)||(EM.add(w),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",w))),t.mode&di&&ll.recordLegacyContextWarning(t,m),ll.recordUnsafeLifecycleWarnings(t,m),m.state=t.memoizedState,w=i.getDerivedStateFromProps,typeof w=="function"&&(hc(t,i,w,u),m.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(w=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),w!==m.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",we(t)||"Component"),F2.enqueueReplaceState(m,m.state,null)),er(t,u,m,h),ic(),m.state=t.memoizedState),typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&rl)!==rt&&(t.flags|=134217728),m=!0}else if(e===null){m=t.stateNode;var Z=t.memoizedProps;T=rr(i,Z),m.props=T;var P=m.context;D=i.contextType,w=Jc,typeof D=="object"&&D!==null&&(w=qt(D)),_=i.getDerivedStateFromProps,D=typeof _=="function"||typeof m.getSnapshotBeforeUpdate=="function",Z=t.pendingProps!==Z,D||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(Z||P!==w)&&or(t,m,u,w),id=!1;var Y=t.memoizedState;m.state=Y,er(t,u,m,h),ic(),P=t.memoizedState,Z||Y!==P||id?(typeof _=="function"&&(hc(t,i,_,u),P=t.memoizedState),(T=id||Ep(t,i,T,u,Y,P,w))?(D||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&rl)!==rt&&(t.flags|=134217728)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&rl)!==rt&&(t.flags|=134217728),t.memoizedProps=u,t.memoizedState=P),m.props=u,m.state=P,m.context=w,m=T):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&rl)!==rt&&(t.flags|=134217728),m=!1)}else{m=t.stateNode,Jo(e,t),w=t.memoizedProps,D=rr(i,w),m.props=D,_=t.pendingProps,Y=m.context,P=i.contextType,T=Jc,typeof P=="object"&&P!==null&&(T=qt(P)),Z=i.getDerivedStateFromProps,(P=typeof Z=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(w!==_||Y!==T)&&or(t,m,u,T),id=!1,Y=t.memoizedState,m.state=Y,er(t,u,m,h),ic();var se=t.memoizedState;w!==_||Y!==se||id||e!==null&&e.dependencies!==null&&ec(e.dependencies)?(typeof Z=="function"&&(hc(t,i,Z,u),se=t.memoizedState),(D=id||Ep(t,i,D,u,Y,se,T)||e!==null&&e.dependencies!==null&&ec(e.dependencies))?(P||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(u,se,T),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(u,se,T)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||w===e.memoizedProps&&Y===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&Y===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=se),m.props=u,m.state=se,m.context=T,m=D):(typeof m.componentDidUpdate!="function"||w===e.memoizedProps&&Y===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&Y===e.memoizedState||(t.flags|=1024),m=!1)}if(T=m,ff(e,t),w=(t.flags&128)!==0,T||w){if(T=t.stateNode,Ta(t),w&&typeof i.getDerivedStateFromError!="function")i=null,Li=-1;else if(i=ZR(T),t.mode&di){Ye(!0);try{ZR(T)}finally{Ye(!1)}}t.flags|=1,e!==null&&w?(t.child=ah(t,e.child,null,h),t.child=ah(t,null,i,h)):oa(e,t,i,h),t.memoizedState=T.state,e=t.child}else e=xo(e,t,h);return h=t.stateNode,m&&h.props!==u&&(Fm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",we(t)||"a component"),Fm=!0),e}function j0(e,t,i,u){return Rl(),t.flags|=256,oa(e,t,i,u),t.child}function pc(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
153
- %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=$(t)||"Unknown",zM[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),zM[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=$(t)||"Unknown",DM[t]||(console.error("%s: Function components do not support contextType.",t),DM[t]=!0))}function mc(e){return{baseLanes:e,cachePool:h0()}}function Mp(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=ao),e}function Dp(e,t,i){var u,h=t.pendingProps;p(t)&&(t.flags|=128);var m=!1,w=(t.flags&128)!==0;if((u=w)||(u=e!==null&&e.memoizedState===null?!1:(Fn.current&fy)!==0),u&&(m=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(zt){if(m?Ya(t):tr(t),(e=gn)?(i=Zt(e,Cr),i=i!==null&&i.data!==dh?i:null,i!==null&&(u={dehydrated:i,treeContext:Gb(),retryLane:536870912,hydrationErrors:null},t.memoizedState=u,u=l0(i),u.return=t,t.child=u,Wa=t,gn=null)):i=null,i===null)throw Ra(t,e),Xi(t);return hv(i)?t.lanes=32:t.lanes=536870912,null}var T=h.children;if(h=h.fallback,m){tr(t);var D=t.mode;return T=hf({mode:"hidden",children:T},D),h=ks(h,D,i,null),T.return=t,h.return=t,T.sibling=h,t.child=T,h=t.child,h.memoizedState=mc(i),h.childLanes=Mp(e,u,i),t.memoizedState=J2,$s(null,h)}return Ya(t),N0(t,T)}var _=e.memoizedState;if(_!==null){var Z=_.dehydrated;if(Z!==null){if(w)t.flags&256?(Ya(t),t.flags&=-257,t=_p(e,t,i)):t.memoizedState!==null?(tr(t),t.child=e.child,t.flags|=128,t=null):(tr(t),T=h.fallback,D=t.mode,h=hf({mode:"visible",children:h.children},D),T=ks(T,D,i,null),T.flags|=2,h.return=t,T.return=t,h.sibling=T,t.child=h,ah(t,e.child,null,i),h=t.child,h.memoizedState=mc(i),h.childLanes=Mp(e,u,i),t.memoizedState=J2,t=$s(null,h));else if(Ya(t),$b(),(i&536870912)!==0&&xc(t),hv(Z)){if(u=Z.nextSibling&&Z.nextSibling.dataset,u){T=u.dgst;var P=u.msg;D=u.stck;var Y=u.cstck}m=P,u=T,h=D,Z=Y,T=m,D=Z,T=Error(T||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),T.stack=h||"",T.digest=u,u=D===void 0?null:D,h={value:T,source:null,stack:u},typeof u=="string"&&_2.set(T,h),Yd(h),t=_p(e,t,i)}else if(da||po(e,t,i,!1),u=(i&e.childLanes)!==0,da||u){if(u=sn,u!==null&&(h=ms(u,i),h!==0&&h!==_.retryLane))throw _.retryLane=h,ka(e,h),lt(u,e,h),K2;_f(Z)||wc(),t=_p(e,t,i)}else _f(Z)?(t.flags|=192,t.child=e.child,t=null):(e=_.treeContext,gn=_i(Z.nextSibling),Wa=t,zt=!0,Wc=null,as=!1,_o=null,Cr=!1,e!==null&&Xb(t,e),t=N0(t,h.children),t.flags|=4096);return t}}return m?(tr(t),T=h.fallback,D=t.mode,Y=e.child,Z=Y.sibling,h=Fo(Y,{mode:"hidden",children:h.children}),h.subtreeFlags=Y.subtreeFlags&65011712,Z!==null?T=Fo(Z,T):(T=ks(T,D,i,null),T.flags|=2),T.return=t,h.return=t,h.sibling=T,t.child=h,$s(null,h),h=t.child,T=e.child.memoizedState,T===null?T=mc(i):(D=T.cachePool,D!==null?(Y=sa._currentValue,D=D.parent!==Y?{parent:Y,pool:Y}:D):D=h0(),T={baseLanes:T.baseLanes|i,cachePool:D}),h.memoizedState=T,h.childLanes=Mp(e,u,i),t.memoizedState=J2,$s(e.child,h)):(_!==null&&(i&62914560)===i&&(i&e.lanes)!==0&&xc(t),Ya(t),i=e.child,e=i.sibling,i=Fo(i,{mode:"visible",children:h.children}),i.return=t,i.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=i,t.memoizedState=null,i)}function N0(e,t){return t=hf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function hf(e,t){return e=k(22,e,null,t),e.lanes=0,e}function _p(e,t,i){return ah(t,e.child,null,i),e=N0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function L0(e,t,i){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),sp(e.return,t,i)}function zp(e,t,i,u,h,m){var w=e.memoizedState;w===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:h,treeForkCount:m}:(w.isBackwards=t,w.rendering=null,w.renderingStartTime=0,w.last=u,w.tail=i,w.tailMode=h,w.treeForkCount=m)}function U0(e,t,i){var u=t.pendingProps,h=u.revealOrder,m=u.tail,w=u.children,T=Fn.current;if((u=(T&fy)!==0)?(T=T&$m|fy,t.flags|=128):T&=$m,qe(Fn,T,t),T=h??"null",h!=="forwards"&&h!=="unstable_legacy-backwards"&&h!=="together"&&h!=="independent"&&!OM[T])if(OM[T]=!0,h==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(h==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof h=="string")switch(h.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',h,h.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',h,h.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',h)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',h);T=m??"null",S1[T]||(m==null?(h==="forwards"||h==="backwards"||h==="unstable_legacy-backwards")&&(S1[T]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):m!=="visible"&&m!=="collapsed"&&m!=="hidden"?(S1[T]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',m)):h!=="forwards"&&h!=="backwards"&&h!=="unstable_legacy-backwards"&&(S1[T]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',m)));e:if((h==="forwards"||h==="backwards"||h==="unstable_legacy-backwards")&&w!==void 0&&w!==null&&w!==!1)if(qn(w)){for(T=0;T<w.length;T++)if(!an(w[T],T))break e}else if(T=J(w),typeof T=="function"){if(T=T.call(w))for(var D=T.next(),_=0;!D.done;D=T.next()){if(!an(D.value,_))break e;_++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',h);if(oa(e,t,w,i),zt?(kl(),w=Kv):w=0,!u&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&L0(e,i,t);else if(e.tag===19)L0(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(h){case"forwards":for(i=t.child,h=null;i!==null;)e=i.alternate,e!==null&&js(e)===null&&(h=i),i=i.sibling;i=h,i===null?(h=t.child,t.child=null):(h=i.sibling,i.sibling=null),zp(t,!1,h,i,m,w);break;case"backwards":case"unstable_legacy-backwards":for(i=null,h=t.child,t.child=null;h!==null;){if(e=h.alternate,e!==null&&js(e)===null){t.child=h;break}e=h.sibling,h.sibling=i,i=h,h=e}zp(t,!0,i,null,m,w);break;case"together":zp(t,!1,null,null,void 0,w);break;default:t.memoizedState=null}return t.child}function xo(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Li=-1,ld|=t.lanes,(i&t.childLanes)===0)if(e!==null){if(po(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,i=Fo(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=Fo(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Op(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ec(e)))}function ex(e,t,i){switch(t.tag){case 3:Ue(t,t.stateNode.containerInfo),$i(t,sa,e.memoizedState.cache),Rl();break;case 27:case 5:ne(t);break;case 4:Ue(t,t.stateNode.containerInfo);break;case 10:$i(t,t.type,t.memoizedProps.value);break;case 12:(i&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,yo(t),null;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Ya(t),t.flags|=128,null):(i&t.child.childLanes)!==0?Dp(e,t,i):(Ya(t),e=xo(e,t,i),e!==null?e.sibling:null);Ya(t);break;case 19:var h=(e.flags&128)!==0;if(u=(i&t.childLanes)!==0,u||(po(e,t,i,!1),u=(i&t.childLanes)!==0),h){if(u)return U0(e,t,i);t.flags|=128}if(h=t.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),qe(Fn,Fn.current,t),u)break;return null;case 22:return t.lanes=0,M0(e,t,i,t.pendingProps);case 24:$i(t,sa,e.memoizedState.cache)}return xo(e,t,i)}function pf(e,t,i){if(t._debugNeedsRemount&&e!==null){i=Cs(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),i._debugStack=t._debugStack,i._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,i._debugInfo=t._debugInfo,t===u.child)u.child=i;else{var h=u.child;if(h===null)throw Error("Expected parent to have a child.");for(;h.sibling!==t;)if(h=h.sibling,h===null)throw Error("Expected to find the previous sibling.");h.sibling=i}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),i.flags|=2,i}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)da=!0;else{if(!Op(e,i)&&(t.flags&128)===0)return da=!1,ex(e,t,i);da=(e.flags&131072)!==0}else da=!1,(u=zt)&&(kl(),u=(t.flags&1048576)!==0),u&&(u=t.index,kl(),s0(t,Kv,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=Si(t.elementType),t.type=e,typeof e=="function")o0(e)?(u=rr(e,u),t.tag=1,t.type=e=Al(e),t=Qs(null,t,e,u,i)):(t.tag=0,pc(t,e),t.type=e=Al(e),t=z0(null,t,e,u,i));else{if(e!=null){if(h=e.$$typeof,h===Bc){t.tag=11,t.type=e=ip(e),t=Jb(null,t,e,u,i);break e}else if(h===qf){t.tag=14,t=k0(null,t,e,u,i);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Da&&(t=" Did you wrap a component in React.lazy() more than once?"),i=$(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+i+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return z0(e,t,t.type,t.pendingProps,i);case 1:return u=t.type,h=rr(u,t.pendingProps),Qs(e,t,u,h,i);case 3:e:{if(Ue(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var m=t.memoizedState;h=m.element,Jo(e,t),er(t,u,null,i);var w=t.memoizedState;if(u=w.cache,$i(t,sa,u),u!==m.cache&&Vr(t,[sa],i,!0),ic(),u=w.element,m.isDehydrated)if(m={element:u,isDehydrated:!1,cache:w.cache},t.updateQueue.baseState=m,t.memoizedState=m,t.flags&256){t=j0(e,t,u,i);break e}else if(u!==h){h=Ba(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Yd(h),t=j0(e,t,u,i);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,gn=_i(e.firstChild),Wa=t,zt=!0,Wc=null,as=!1,_o=null,Cr=!0,i=sM(t,null,u,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Rl(),u===h){t=xo(e,t,i);break e}oa(e,t,u,i)}t=t.child}return t;case 26:return ff(e,t),e===null?(i=vv(t.type,null,t.pendingProps,null))?t.memoizedState=i:zt||(i=t.type,e=t.pendingProps,u=Se(zi.current),u=Mf(u).createElement(i),u[pn]=t,u[Ja]=e,hn(u,i,e),Ie(u),t.stateNode=u):t.memoizedState=vv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ne(t),e===null&&zt&&(u=Se(zi.current),h=W(),u=t.stateNode=nl(t.type,t.pendingProps,u,h,!1),as||(h=si(u,t.type,t.pendingProps,h),h!==null&&(Rs(t,0).serverProps=h)),Wa=t,Cr=!0,h=gn,Pl(t.type)?(wE=h,gn=_i(u.firstChild)):gn=h),oa(e,t,t.pendingProps.children,i),ff(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&zt&&(m=W(),u=zd(t.type,m.ancestorInfo),h=gn,(w=!h)||(w=Dx(h,t.type,t.pendingProps,Cr),w!==null?(t.stateNode=w,as||(m=si(w,t.type,t.pendingProps,m),m!==null&&(Rs(t,0).serverProps=m)),Wa=t,gn=_i(w.firstChild),Cr=!1,m=!0):m=!1,w=!m),w&&(u&&Ra(t,h),Xi(t))),ne(t),h=t.type,m=t.pendingProps,w=e!==null?e.memoizedProps:null,u=m.children,Mc(h,m)?u=null:w!==null&&Mc(h,w)&&(t.flags|=32),t.memoizedState!==null&&(h=y0(e,t,Kd,null,null,i),Dy._currentValue=h),ff(e,t),oa(e,t,u,i),t.child;case 6:return e===null&&zt&&(i=t.pendingProps,e=W(),u=e.ancestorInfo.current,i=u!=null?Od(i,u.tag,e.ancestorInfo.implicitRootScope):!0,e=gn,(u=!e)||(u=_x(e,t.pendingProps,Cr),u!==null?(t.stateNode=u,Wa=t,gn=null,u=!0):u=!1,u=!u),u&&(i&&Ra(t,e),Xi(t))),null;case 13:return Dp(e,t,i);case 4:return Ue(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=ah(t,null,u,i):oa(e,t,u,i),t.child;case 11:return Jb(e,t,t.type,t.pendingProps,i);case 7:return oa(e,t,t.pendingProps,i),t.child;case 8:return oa(e,t,t.pendingProps.children,i),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,oa(e,t,t.pendingProps.children,i),t.child;case 10:return u=t.type,h=t.pendingProps,m=h.value,"value"in h||jM||(jM=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),$i(t,u,m),oa(e,t,h.children,i),t.child;case 9:return h=t.type._context,u=t.pendingProps.children,typeof u!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Dl(t),h=qt(h),u=H2(u,h,void 0),t.flags|=1,oa(e,t,u,i),t.child;case 14:return k0(e,t,t.type,t.pendingProps,i);case 15:return R0(e,t,t.type,t.pendingProps,i);case 19:return U0(e,t,i);case 31:return Wb(e,t,i);case 22:return M0(e,t,i,t.pendingProps);case 24:return Dl(t),u=qt(sa),e===null?(h=Gr(),h===null&&(h=sn,m=up(),h.pooledCache=m,Ds(m),m!==null&&(h.pooledCacheLanes|=i),h=m),t.memoizedState={parent:u,cache:h},Dt(t),$i(t,sa,h)):((e.lanes&i)!==0&&(Jo(e,t),er(t,null,null,i),ic()),h=e.memoizedState,m=t.memoizedState,h.parent!==u?(h={parent:u,cache:u},t.memoizedState=h,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=h),$i(t,sa,u)):(u=m.cache,$i(t,sa,u),u!==h.cache&&Vr(t,[sa],i,!0))),oa(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function lr(e){e.flags|=4}function jp(e,t,i,u,h){if((t=(e.mode&tB)!==rt)&&(t=!1),t){if(e.flags|=16777216,(h&335544128)===h)if(e.stateNode.complete)e.flags|=8192;else if(tv())e.flags|=8192;else throw nh=g1,q2}else e.flags&=-16777217}function tx(e,t){if(t.type!=="stylesheet"||(t.state.loading&_r)!==ph)e.flags&=-16777217;else if(e.flags|=16777216,!Rt(t))if(tv())e.flags|=8192;else throw nh=g1,q2}function gc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Bu():536870912,e.lanes|=t,sh|=t)}function vc(e,t){if(!zt)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 u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Kt(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,u=0;if(t)if((e.mode&wt)!==rt){for(var h=e.selfBaseDuration,m=e.child;m!==null;)i|=m.lanes|m.childLanes,u|=m.subtreeFlags&65011712,u|=m.flags&65011712,h+=m.treeBaseDuration,m=m.sibling;e.treeBaseDuration=h}else for(h=e.child;h!==null;)i|=h.lanes|h.childLanes,u|=h.subtreeFlags&65011712,u|=h.flags&65011712,h.return=e,h=h.sibling;else if((e.mode&wt)!==rt){h=e.actualDuration,m=e.selfBaseDuration;for(var w=e.child;w!==null;)i|=w.lanes|w.childLanes,u|=w.subtreeFlags,u|=w.flags,h+=w.actualDuration,m+=w.treeBaseDuration,w=w.sibling;e.actualDuration=h,e.treeBaseDuration=m}else for(h=e.child;h!==null;)i|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,h.return=e,h=h.sibling;return e.subtreeFlags|=u,e.childLanes=i,t}function B0(e,t,i){var u=t.pendingProps;switch(lp(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kt(t),null;case 1:return Kt(t),null;case 3:return i=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),ho(sa,t),N(t),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ms(t)?(Ml(),lr(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,qd())),Kt(t),null;case 26:var h=t.type,m=t.memoizedState;return e===null?(lr(t),m!==null?(Kt(t),tx(t,m)):(Kt(t),jp(t,h,null,u,i))):m?m!==e.memoizedState?(lr(t),Kt(t),tx(t,m)):(Kt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==u&&lr(t),Kt(t),jp(t,h,e,u,i)),null;case 27:if(De(t),i=Se(zi.current),h=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&lr(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Kt(t),null}e=W(),Ms(t)?u0(t):(e=nl(h,u,i,e,!0),t.stateNode=e,lr(t))}return Kt(t),null;case 5:if(De(t),h=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&lr(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Kt(t),null}var w=W();if(Ms(t))u0(t);else{switch(m=Se(zi.current),zd(h,w.ancestorInfo),w=w.context,m=Mf(m),w){case ag:m=m.createElementNS(yt,h);break;case Y1:m=m.createElementNS(pt,h);break;default:switch(h){case"svg":m=m.createElementNS(yt,h);break;case"math":m=m.createElementNS(pt,h);break;case"script":m=m.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof u.is=="string"?m.createElement("select",{is:u.is}):m.createElement("select"),u.multiple?m.multiple=!0:u.size&&(m.size=u.size);break;default:m=typeof u.is=="string"?m.createElement(h,{is:u.is}):m.createElement(h),h.indexOf("-")===-1&&(h!==h.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",h),Object.prototype.toString.call(m)!=="[object HTMLUnknownElement]"||Oi.call(i3,h)||(i3[h]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",h)))}}m[pn]=t,m[Ja]=u;e:for(w=t.child;w!==null;){if(w.tag===5||w.tag===6)m.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===t)break e;for(;w.sibling===null;){if(w.return===null||w.return===t)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}t.stateNode=m;e:switch(hn(m,h,u),h){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&lr(t)}}return Kt(t),jp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&lr(t);else{if(typeof u!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Se(zi.current),i=W(),Ms(t)){if(e=t.stateNode,i=t.memoizedProps,h=!as,u=null,m=Wa,m!==null)switch(m.tag){case 3:h&&(h=jx(e,i,u),h!==null&&(Rs(t,0).serverProps=h));break;case 27:case 5:u=m.memoizedProps,h&&(h=jx(e,i,u),h!==null&&(Rs(t,0).serverProps=h))}e[pn]=t,e=!!(e.nodeValue===i||u!==null&&u.suppressHydrationWarning===!0||dv(e.nodeValue,i)),e||Xi(t,!0)}else h=i.ancestorInfo.current,h!=null&&Od(u,h.tag,i.ancestorInfo.implicitRootScope),e=Mf(e).createTextNode(u),e[pn]=t,t.stateNode=e}return Kt(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(u=Ms(t),i!==null){if(e===null){if(!u)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[pn]=t,Kt(t),(t.mode&wt)!==rt&&i!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Ml(),Rl(),(t.flags&128)===0&&(i=t.memoizedState=null),t.flags|=4,Kt(t),(t.mode&wt)!==rt&&i!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else i=qd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(aa(t),t):(aa(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Kt(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(h=u,m=Ms(t),h!==null&&h.dehydrated!==null){if(e===null){if(!m)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(m=t.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");m[pn]=t,Kt(t),(t.mode&wt)!==rt&&h!==null&&(h=t.child,h!==null&&(t.treeBaseDuration-=h.treeBaseDuration))}else Ml(),Rl(),(t.flags&128)===0&&(h=t.memoizedState=null),t.flags|=4,Kt(t),(t.mode&wt)!==rt&&h!==null&&(h=t.child,h!==null&&(t.treeBaseDuration-=h.treeBaseDuration));h=!1}else h=qd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=h),h=!0;if(!h)return t.flags&256?(aa(t),t):(aa(t),null)}return aa(t),(t.flags&128)!==0?(t.lanes=i,(t.mode&wt)!==rt&&zs(t),t):(i=u!==null,e=e!==null&&e.memoizedState!==null,i&&(u=t.child,h=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(h=u.alternate.memoizedState.cachePool.pool),m=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(m=u.memoizedState.cachePool.pool),m!==h&&(u.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),gc(t,t.updateQueue),Kt(t),(t.mode&wt)!==rt&&i&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return N(t),e===null&&Zl(t.stateNode.containerInfo),Kt(t),null;case 10:return ho(t.type,t),Kt(t),null;case 19:if(Me(Fn,t),u=t.memoizedState,u===null)return Kt(t),null;if(h=(t.flags&128)!==0,m=u.rendering,m===null)if(h)vc(u,!1);else{if(Rn!==xu||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=js(e),m!==null){for(t.flags|=128,vc(u,!1),e=m.updateQueue,t.updateQueue=e,gc(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)r0(i,e),i=i.sibling;return qe(Fn,Fn.current&$m|fy,t),zt&&fo(t,u.treeForkCount),t.child}e=e.sibling}u.tail!==null&&la()>M1&&(t.flags|=128,h=!0,vc(u,!1),t.lanes=4194304)}else{if(!h)if(e=js(m),e!==null){if(t.flags|=128,h=!0,e=e.updateQueue,t.updateQueue=e,gc(t,e),vc(u,!0),u.tail===null&&u.tailMode==="hidden"&&!m.alternate&&!zt)return Kt(t),null}else 2*la()-u.renderingStartTime>M1&&i!==536870912&&(t.flags|=128,h=!0,vc(u,!1),t.lanes=4194304);u.isBackwards?(m.sibling=t.child,t.child=m):(e=u.last,e!==null?e.sibling=m:t.child=m,u.last=m)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=la(),e.sibling=null,i=Fn.current,i=h?i&$m|fy:i&$m,qe(Fn,i,t),zt&&fo(t,u.treeForkCount),e):(Kt(t),null);case 22:case 23:return aa(t),vo(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(i&536870912)!==0&&(t.flags&128)===0&&(Kt(t),t.subtreeFlags&6&&(t.flags|=8192)):Kt(t),i=t.updateQueue,i!==null&&gc(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==i&&(t.flags|=2048),e!==null&&Me(eh,t),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),ho(sa,t),Kt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function nx(e,t){switch(lp(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==rt&&zs(t),t):null;case 3:return ho(sa,t),N(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return De(t),null;case 31:if(t.memoizedState!==null){if(aa(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Rl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==rt&&zs(t),t):null;case 13:if(aa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Rl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==rt&&zs(t),t):null;case 19:return Me(Fn,t),null;case 4:return N(t),null;case 10:return ho(t.type,t),null;case 22:case 23:return aa(t),vo(t),e!==null&&Me(eh,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==rt&&zs(t),t):null;case 24:return ho(sa,t),null;case 25:return null;default:return null}}function H0(e,t){switch(lp(t),t.tag){case 3:ho(sa,t),N(t);break;case 26:case 27:case 5:De(t);break;case 4:N(t);break;case 31:t.memoizedState!==null&&aa(t);break;case 13:aa(t);break;case 19:Me(Fn,t);break;case 10:ho(t.type,t);break;case 22:case 23:aa(t),vo(t),e!==null&&Me(eh,t);break;case 24:ho(sa,t)}}function sr(e){return(e.mode&wt)!==rt}function ax(e,t){sr(e)?(Tn(),Kr(t,e),Va()):Kr(t,e)}function Np(e,t,i){sr(e)?(Tn(),Yl(i,e,t),Va()):Yl(i,e,t)}function Kr(e,t){try{var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var h=u.next;i=h;do{if((i.tag&e)===e&&(u=void 0,(e&Ui)!==y1&&(eg=!0),u=ze(t,lB,i),(e&Ui)!==y1&&(eg=!1),u!==void 0&&typeof u!="function")){var m=void 0;m=(i.tag&Oo)!==0?"useLayoutEffect":(i.tag&Ui)!==0?"useInsertionEffect":"useEffect";var w=void 0;w=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
153
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=$(t)||"Unknown",zM[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),zM[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=$(t)||"Unknown",DM[t]||(console.error("%s: Function components do not support contextType.",t),DM[t]=!0))}function mc(e){return{baseLanes:e,cachePool:h0()}}function Mp(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=ao),e}function Dp(e,t,i){var u,h=t.pendingProps;p(t)&&(t.flags|=128);var m=!1,w=(t.flags&128)!==0;if((u=w)||(u=e!==null&&e.memoizedState===null?!1:(Fn.current&fy)!==0),u&&(m=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(zt){if(m?Ya(t):tr(t),(e=gn)?(i=Zt(e,Cr),i=i!==null&&i.data!==dh?i:null,i!==null&&(u={dehydrated:i,treeContext:Gb(),retryLane:536870912,hydrationErrors:null},t.memoizedState=u,u=l0(i),u.return=t,t.child=u,Wa=t,gn=null)):i=null,i===null)throw Ra(t,e),Xi(t);return hv(i)?t.lanes=32:t.lanes=536870912,null}var T=h.children;if(h=h.fallback,m){tr(t);var D=t.mode;return T=hf({mode:"hidden",children:T},D),h=ks(h,D,i,null),T.return=t,h.return=t,T.sibling=h,t.child=T,h=t.child,h.memoizedState=mc(i),h.childLanes=Mp(e,u,i),t.memoizedState=J2,$s(null,h)}return Ya(t),N0(t,T)}var _=e.memoizedState;if(_!==null){var Z=_.dehydrated;if(Z!==null){if(w)t.flags&256?(Ya(t),t.flags&=-257,t=_p(e,t,i)):t.memoizedState!==null?(tr(t),t.child=e.child,t.flags|=128,t=null):(tr(t),T=h.fallback,D=t.mode,h=hf({mode:"visible",children:h.children},D),T=ks(T,D,i,null),T.flags|=2,h.return=t,T.return=t,h.sibling=T,t.child=h,ah(t,e.child,null,i),h=t.child,h.memoizedState=mc(i),h.childLanes=Mp(e,u,i),t.memoizedState=J2,t=$s(null,h));else if(Ya(t),$b(),(i&536870912)!==0&&xc(t),hv(Z)){if(u=Z.nextSibling&&Z.nextSibling.dataset,u){T=u.dgst;var P=u.msg;D=u.stck;var Y=u.cstck}m=P,u=T,h=D,Z=Y,T=m,D=Z,T=Error(T||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),T.stack=h||"",T.digest=u,u=D===void 0?null:D,h={value:T,source:null,stack:u},typeof u=="string"&&_2.set(T,h),Yd(h),t=_p(e,t,i)}else if(da||po(e,t,i,!1),u=(i&e.childLanes)!==0,da||u){if(u=sn,u!==null&&(h=ms(u,i),h!==0&&h!==_.retryLane))throw _.retryLane=h,ka(e,h),lt(u,e,h),K2;_f(Z)||wc(),t=_p(e,t,i)}else _f(Z)?(t.flags|=192,t.child=e.child,t=null):(e=_.treeContext,gn=_i(Z.nextSibling),Wa=t,zt=!0,Wc=null,as=!1,_o=null,Cr=!1,e!==null&&Xb(t,e),t=N0(t,h.children),t.flags|=4096);return t}}return m?(tr(t),T=h.fallback,D=t.mode,Y=e.child,Z=Y.sibling,h=Fo(Y,{mode:"hidden",children:h.children}),h.subtreeFlags=Y.subtreeFlags&65011712,Z!==null?T=Fo(Z,T):(T=ks(T,D,i,null),T.flags|=2),T.return=t,h.return=t,h.sibling=T,t.child=h,$s(null,h),h=t.child,T=e.child.memoizedState,T===null?T=mc(i):(D=T.cachePool,D!==null?(Y=sa._currentValue,D=D.parent!==Y?{parent:Y,pool:Y}:D):D=h0(),T={baseLanes:T.baseLanes|i,cachePool:D}),h.memoizedState=T,h.childLanes=Mp(e,u,i),t.memoizedState=J2,$s(e.child,h)):(_!==null&&(i&62914560)===i&&(i&e.lanes)!==0&&xc(t),Ya(t),i=e.child,e=i.sibling,i=Fo(i,{mode:"visible",children:h.children}),i.return=t,i.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=i,t.memoizedState=null,i)}function N0(e,t){return t=hf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function hf(e,t){return e=k(22,e,null,t),e.lanes=0,e}function _p(e,t,i){return ah(t,e.child,null,i),e=N0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function L0(e,t,i){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),sp(e.return,t,i)}function zp(e,t,i,u,h,m){var w=e.memoizedState;w===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:h,treeForkCount:m}:(w.isBackwards=t,w.rendering=null,w.renderingStartTime=0,w.last=u,w.tail=i,w.tailMode=h,w.treeForkCount=m)}function U0(e,t,i){var u=t.pendingProps,h=u.revealOrder,m=u.tail,w=u.children,T=Fn.current;if((u=(T&fy)!==0)?(T=T&$m|fy,t.flags|=128):T&=$m,qe(Fn,T,t),T=h??"null",h!=="forwards"&&h!=="unstable_legacy-backwards"&&h!=="together"&&h!=="independent"&&!OM[T])if(OM[T]=!0,h==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(h==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof h=="string")switch(h.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',h,h.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',h,h.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',h)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',h);T=m??"null",S1[T]||(m==null?(h==="forwards"||h==="backwards"||h==="unstable_legacy-backwards")&&(S1[T]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):m!=="visible"&&m!=="collapsed"&&m!=="hidden"?(S1[T]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',m)):h!=="forwards"&&h!=="backwards"&&h!=="unstable_legacy-backwards"&&(S1[T]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',m)));e:if((h==="forwards"||h==="backwards"||h==="unstable_legacy-backwards")&&w!==void 0&&w!==null&&w!==!1)if(qn(w)){for(T=0;T<w.length;T++)if(!an(w[T],T))break e}else if(T=J(w),typeof T=="function"){if(T=T.call(w))for(var D=T.next(),_=0;!D.done;D=T.next()){if(!an(D.value,_))break e;_++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',h);if(oa(e,t,w,i),zt?(kl(),w=Kv):w=0,!u&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&L0(e,i,t);else if(e.tag===19)L0(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(h){case"forwards":for(i=t.child,h=null;i!==null;)e=i.alternate,e!==null&&js(e)===null&&(h=i),i=i.sibling;i=h,i===null?(h=t.child,t.child=null):(h=i.sibling,i.sibling=null),zp(t,!1,h,i,m,w);break;case"backwards":case"unstable_legacy-backwards":for(i=null,h=t.child,t.child=null;h!==null;){if(e=h.alternate,e!==null&&js(e)===null){t.child=h;break}e=h.sibling,h.sibling=i,i=h,h=e}zp(t,!0,i,null,m,w);break;case"together":zp(t,!1,null,null,void 0,w);break;default:t.memoizedState=null}return t.child}function xo(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Li=-1,ld|=t.lanes,(i&t.childLanes)===0)if(e!==null){if(po(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,i=Fo(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=Fo(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Op(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ec(e)))}function ex(e,t,i){switch(t.tag){case 3:Ue(t,t.stateNode.containerInfo),$i(t,sa,e.memoizedState.cache),Rl();break;case 27:case 5:ne(t);break;case 4:Ue(t,t.stateNode.containerInfo);break;case 10:$i(t,t.type,t.memoizedProps.value);break;case 12:(i&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,yo(t),null;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Ya(t),t.flags|=128,null):(i&t.child.childLanes)!==0?Dp(e,t,i):(Ya(t),e=xo(e,t,i),e!==null?e.sibling:null);Ya(t);break;case 19:var h=(e.flags&128)!==0;if(u=(i&t.childLanes)!==0,u||(po(e,t,i,!1),u=(i&t.childLanes)!==0),h){if(u)return U0(e,t,i);t.flags|=128}if(h=t.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),qe(Fn,Fn.current,t),u)break;return null;case 22:return t.lanes=0,M0(e,t,i,t.pendingProps);case 24:$i(t,sa,e.memoizedState.cache)}return xo(e,t,i)}function pf(e,t,i){if(t._debugNeedsRemount&&e!==null){i=Cs(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),i._debugStack=t._debugStack,i._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,i._debugInfo=t._debugInfo,t===u.child)u.child=i;else{var h=u.child;if(h===null)throw Error("Expected parent to have a child.");for(;h.sibling!==t;)if(h=h.sibling,h===null)throw Error("Expected to find the previous sibling.");h.sibling=i}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),i.flags|=2,i}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)da=!0;else{if(!Op(e,i)&&(t.flags&128)===0)return da=!1,ex(e,t,i);da=(e.flags&131072)!==0}else da=!1,(u=zt)&&(kl(),u=(t.flags&1048576)!==0),u&&(u=t.index,kl(),s0(t,Kv,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=Si(t.elementType),t.type=e,typeof e=="function")o0(e)?(u=rr(e,u),t.tag=1,t.type=e=Al(e),t=Qs(null,t,e,u,i)):(t.tag=0,pc(t,e),t.type=e=Al(e),t=z0(null,t,e,u,i));else{if(e!=null){if(h=e.$$typeof,h===Bc){t.tag=11,t.type=e=ip(e),t=Jb(null,t,e,u,i);break e}else if(h===qf){t.tag=14,t=k0(null,t,e,u,i);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Da&&(t=" Did you wrap a component in React.lazy() more than once?"),i=$(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+i+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return z0(e,t,t.type,t.pendingProps,i);case 1:return u=t.type,h=rr(u,t.pendingProps),Qs(e,t,u,h,i);case 3:e:{if(Ue(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var m=t.memoizedState;h=m.element,Jo(e,t),er(t,u,null,i);var w=t.memoizedState;if(u=w.cache,$i(t,sa,u),u!==m.cache&&Vr(t,[sa],i,!0),ic(),u=w.element,m.isDehydrated)if(m={element:u,isDehydrated:!1,cache:w.cache},t.updateQueue.baseState=m,t.memoizedState=m,t.flags&256){t=j0(e,t,u,i);break e}else if(u!==h){h=Ba(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Yd(h),t=j0(e,t,u,i);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,gn=_i(e.firstChild),Wa=t,zt=!0,Wc=null,as=!1,_o=null,Cr=!0,i=sM(t,null,u,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Rl(),u===h){t=xo(e,t,i);break e}oa(e,t,u,i)}t=t.child}return t;case 26:return ff(e,t),e===null?(i=vv(t.type,null,t.pendingProps,null))?t.memoizedState=i:zt||(i=t.type,e=t.pendingProps,u=Se(zi.current),u=Mf(u).createElement(i),u[pn]=t,u[Ja]=e,hn(u,i,e),Ie(u),t.stateNode=u):t.memoizedState=vv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ne(t),e===null&&zt&&(u=Se(zi.current),h=W(),u=t.stateNode=nl(t.type,t.pendingProps,u,h,!1),as||(h=si(u,t.type,t.pendingProps,h),h!==null&&(Rs(t,0).serverProps=h)),Wa=t,Cr=!0,h=gn,Pl(t.type)?(wE=h,gn=_i(u.firstChild)):gn=h),oa(e,t,t.pendingProps.children,i),ff(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&zt&&(m=W(),u=zd(t.type,m.ancestorInfo),h=gn,(w=!h)||(w=Dx(h,t.type,t.pendingProps,Cr),w!==null?(t.stateNode=w,as||(m=si(w,t.type,t.pendingProps,m),m!==null&&(Rs(t,0).serverProps=m)),Wa=t,gn=_i(w.firstChild),Cr=!1,m=!0):m=!1,w=!m),w&&(u&&Ra(t,h),Xi(t))),ne(t),h=t.type,m=t.pendingProps,w=e!==null?e.memoizedProps:null,u=m.children,Mc(h,m)?u=null:w!==null&&Mc(h,w)&&(t.flags|=32),t.memoizedState!==null&&(h=y0(e,t,Kd,null,null,i),Dy._currentValue=h),ff(e,t),oa(e,t,u,i),t.child;case 6:return e===null&&zt&&(i=t.pendingProps,e=W(),u=e.ancestorInfo.current,i=u!=null?Od(i,u.tag,e.ancestorInfo.implicitRootScope):!0,e=gn,(u=!e)||(u=_x(e,t.pendingProps,Cr),u!==null?(t.stateNode=u,Wa=t,gn=null,u=!0):u=!1,u=!u),u&&(i&&Ra(t,e),Xi(t))),null;case 13:return Dp(e,t,i);case 4:return Ue(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=ah(t,null,u,i):oa(e,t,u,i),t.child;case 11:return Jb(e,t,t.type,t.pendingProps,i);case 7:return oa(e,t,t.pendingProps,i),t.child;case 8:return oa(e,t,t.pendingProps.children,i),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,oa(e,t,t.pendingProps.children,i),t.child;case 10:return u=t.type,h=t.pendingProps,m=h.value,"value"in h||jM||(jM=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),$i(t,u,m),oa(e,t,h.children,i),t.child;case 9:return h=t.type._context,u=t.pendingProps.children,typeof u!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Dl(t),h=qt(h),u=H2(u,h,void 0),t.flags|=1,oa(e,t,u,i),t.child;case 14:return k0(e,t,t.type,t.pendingProps,i);case 15:return R0(e,t,t.type,t.pendingProps,i);case 19:return U0(e,t,i);case 31:return Wb(e,t,i);case 22:return M0(e,t,i,t.pendingProps);case 24:return Dl(t),u=qt(sa),e===null?(h=Gr(),h===null&&(h=sn,m=up(),h.pooledCache=m,Ds(m),m!==null&&(h.pooledCacheLanes|=i),h=m),t.memoizedState={parent:u,cache:h},Dt(t),$i(t,sa,h)):((e.lanes&i)!==0&&(Jo(e,t),er(t,null,null,i),ic()),h=e.memoizedState,m=t.memoizedState,h.parent!==u?(h={parent:u,cache:u},t.memoizedState=h,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=h),$i(t,sa,u)):(u=m.cache,$i(t,sa,u),u!==h.cache&&Vr(t,[sa],i,!0))),oa(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function lr(e){e.flags|=4}function jp(e,t,i,u,h){if((t=(e.mode&eB)!==rt)&&(t=!1),t){if(e.flags|=16777216,(h&335544128)===h)if(e.stateNode.complete)e.flags|=8192;else if(tv())e.flags|=8192;else throw nh=g1,q2}else e.flags&=-16777217}function tx(e,t){if(t.type!=="stylesheet"||(t.state.loading&_r)!==ph)e.flags&=-16777217;else if(e.flags|=16777216,!Rt(t))if(tv())e.flags|=8192;else throw nh=g1,q2}function gc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Bu():536870912,e.lanes|=t,sh|=t)}function vc(e,t){if(!zt)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 u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Kt(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,u=0;if(t)if((e.mode&wt)!==rt){for(var h=e.selfBaseDuration,m=e.child;m!==null;)i|=m.lanes|m.childLanes,u|=m.subtreeFlags&65011712,u|=m.flags&65011712,h+=m.treeBaseDuration,m=m.sibling;e.treeBaseDuration=h}else for(h=e.child;h!==null;)i|=h.lanes|h.childLanes,u|=h.subtreeFlags&65011712,u|=h.flags&65011712,h.return=e,h=h.sibling;else if((e.mode&wt)!==rt){h=e.actualDuration,m=e.selfBaseDuration;for(var w=e.child;w!==null;)i|=w.lanes|w.childLanes,u|=w.subtreeFlags,u|=w.flags,h+=w.actualDuration,m+=w.treeBaseDuration,w=w.sibling;e.actualDuration=h,e.treeBaseDuration=m}else for(h=e.child;h!==null;)i|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,h.return=e,h=h.sibling;return e.subtreeFlags|=u,e.childLanes=i,t}function B0(e,t,i){var u=t.pendingProps;switch(lp(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kt(t),null;case 1:return Kt(t),null;case 3:return i=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),ho(sa,t),N(t),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ms(t)?(Ml(),lr(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,qd())),Kt(t),null;case 26:var h=t.type,m=t.memoizedState;return e===null?(lr(t),m!==null?(Kt(t),tx(t,m)):(Kt(t),jp(t,h,null,u,i))):m?m!==e.memoizedState?(lr(t),Kt(t),tx(t,m)):(Kt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==u&&lr(t),Kt(t),jp(t,h,e,u,i)),null;case 27:if(De(t),i=Se(zi.current),h=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&lr(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Kt(t),null}e=W(),Ms(t)?u0(t):(e=nl(h,u,i,e,!0),t.stateNode=e,lr(t))}return Kt(t),null;case 5:if(De(t),h=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&lr(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Kt(t),null}var w=W();if(Ms(t))u0(t);else{switch(m=Se(zi.current),zd(h,w.ancestorInfo),w=w.context,m=Mf(m),w){case ag:m=m.createElementNS(yt,h);break;case Y1:m=m.createElementNS(pt,h);break;default:switch(h){case"svg":m=m.createElementNS(yt,h);break;case"math":m=m.createElementNS(pt,h);break;case"script":m=m.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof u.is=="string"?m.createElement("select",{is:u.is}):m.createElement("select"),u.multiple?m.multiple=!0:u.size&&(m.size=u.size);break;default:m=typeof u.is=="string"?m.createElement(h,{is:u.is}):m.createElement(h),h.indexOf("-")===-1&&(h!==h.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",h),Object.prototype.toString.call(m)!=="[object HTMLUnknownElement]"||Oi.call(i3,h)||(i3[h]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",h)))}}m[pn]=t,m[Ja]=u;e:for(w=t.child;w!==null;){if(w.tag===5||w.tag===6)m.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===t)break e;for(;w.sibling===null;){if(w.return===null||w.return===t)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}t.stateNode=m;e:switch(hn(m,h,u),h){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&lr(t)}}return Kt(t),jp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&lr(t);else{if(typeof u!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Se(zi.current),i=W(),Ms(t)){if(e=t.stateNode,i=t.memoizedProps,h=!as,u=null,m=Wa,m!==null)switch(m.tag){case 3:h&&(h=jx(e,i,u),h!==null&&(Rs(t,0).serverProps=h));break;case 27:case 5:u=m.memoizedProps,h&&(h=jx(e,i,u),h!==null&&(Rs(t,0).serverProps=h))}e[pn]=t,e=!!(e.nodeValue===i||u!==null&&u.suppressHydrationWarning===!0||dv(e.nodeValue,i)),e||Xi(t,!0)}else h=i.ancestorInfo.current,h!=null&&Od(u,h.tag,i.ancestorInfo.implicitRootScope),e=Mf(e).createTextNode(u),e[pn]=t,t.stateNode=e}return Kt(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(u=Ms(t),i!==null){if(e===null){if(!u)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[pn]=t,Kt(t),(t.mode&wt)!==rt&&i!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Ml(),Rl(),(t.flags&128)===0&&(i=t.memoizedState=null),t.flags|=4,Kt(t),(t.mode&wt)!==rt&&i!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else i=qd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(aa(t),t):(aa(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Kt(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(h=u,m=Ms(t),h!==null&&h.dehydrated!==null){if(e===null){if(!m)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(m=t.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");m[pn]=t,Kt(t),(t.mode&wt)!==rt&&h!==null&&(h=t.child,h!==null&&(t.treeBaseDuration-=h.treeBaseDuration))}else Ml(),Rl(),(t.flags&128)===0&&(h=t.memoizedState=null),t.flags|=4,Kt(t),(t.mode&wt)!==rt&&h!==null&&(h=t.child,h!==null&&(t.treeBaseDuration-=h.treeBaseDuration));h=!1}else h=qd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=h),h=!0;if(!h)return t.flags&256?(aa(t),t):(aa(t),null)}return aa(t),(t.flags&128)!==0?(t.lanes=i,(t.mode&wt)!==rt&&zs(t),t):(i=u!==null,e=e!==null&&e.memoizedState!==null,i&&(u=t.child,h=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(h=u.alternate.memoizedState.cachePool.pool),m=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(m=u.memoizedState.cachePool.pool),m!==h&&(u.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),gc(t,t.updateQueue),Kt(t),(t.mode&wt)!==rt&&i&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return N(t),e===null&&Zl(t.stateNode.containerInfo),Kt(t),null;case 10:return ho(t.type,t),Kt(t),null;case 19:if(Me(Fn,t),u=t.memoizedState,u===null)return Kt(t),null;if(h=(t.flags&128)!==0,m=u.rendering,m===null)if(h)vc(u,!1);else{if(Rn!==xu||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=js(e),m!==null){for(t.flags|=128,vc(u,!1),e=m.updateQueue,t.updateQueue=e,gc(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)r0(i,e),i=i.sibling;return qe(Fn,Fn.current&$m|fy,t),zt&&fo(t,u.treeForkCount),t.child}e=e.sibling}u.tail!==null&&la()>M1&&(t.flags|=128,h=!0,vc(u,!1),t.lanes=4194304)}else{if(!h)if(e=js(m),e!==null){if(t.flags|=128,h=!0,e=e.updateQueue,t.updateQueue=e,gc(t,e),vc(u,!0),u.tail===null&&u.tailMode==="hidden"&&!m.alternate&&!zt)return Kt(t),null}else 2*la()-u.renderingStartTime>M1&&i!==536870912&&(t.flags|=128,h=!0,vc(u,!1),t.lanes=4194304);u.isBackwards?(m.sibling=t.child,t.child=m):(e=u.last,e!==null?e.sibling=m:t.child=m,u.last=m)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=la(),e.sibling=null,i=Fn.current,i=h?i&$m|fy:i&$m,qe(Fn,i,t),zt&&fo(t,u.treeForkCount),e):(Kt(t),null);case 22:case 23:return aa(t),vo(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(i&536870912)!==0&&(t.flags&128)===0&&(Kt(t),t.subtreeFlags&6&&(t.flags|=8192)):Kt(t),i=t.updateQueue,i!==null&&gc(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==i&&(t.flags|=2048),e!==null&&Me(eh,t),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),ho(sa,t),Kt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function nx(e,t){switch(lp(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==rt&&zs(t),t):null;case 3:return ho(sa,t),N(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return De(t),null;case 31:if(t.memoizedState!==null){if(aa(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Rl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==rt&&zs(t),t):null;case 13:if(aa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Rl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==rt&&zs(t),t):null;case 19:return Me(Fn,t),null;case 4:return N(t),null;case 10:return ho(t.type,t),null;case 22:case 23:return aa(t),vo(t),e!==null&&Me(eh,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&wt)!==rt&&zs(t),t):null;case 24:return ho(sa,t),null;case 25:return null;default:return null}}function H0(e,t){switch(lp(t),t.tag){case 3:ho(sa,t),N(t);break;case 26:case 27:case 5:De(t);break;case 4:N(t);break;case 31:t.memoizedState!==null&&aa(t);break;case 13:aa(t);break;case 19:Me(Fn,t);break;case 10:ho(t.type,t);break;case 22:case 23:aa(t),vo(t),e!==null&&Me(eh,t);break;case 24:ho(sa,t)}}function sr(e){return(e.mode&wt)!==rt}function ax(e,t){sr(e)?(Tn(),Kr(t,e),Va()):Kr(t,e)}function Np(e,t,i){sr(e)?(Tn(),Yl(i,e,t),Va()):Yl(i,e,t)}function Kr(e,t){try{var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var h=u.next;i=h;do{if((i.tag&e)===e&&(u=void 0,(e&Ui)!==y1&&(eg=!0),u=ze(t,rB,i),(e&Ui)!==y1&&(eg=!1),u!==void 0&&typeof u!="function")){var m=void 0;m=(i.tag&Oo)!==0?"useLayoutEffect":(i.tag&Ui)!==0?"useInsertionEffect":"useEffect";var w=void 0;w=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
154
154
 
155
155
  It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
156
156
 
@@ -163,11 +163,11 @@ It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, w
163
163
  fetchData();
164
164
  }, [someId]); // Or [] if effect doesn't need props or state
165
165
 
166
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,ze(t,function(T,D){console.error("%s must not return anything besides a function, which is used for clean-up.%s",T,D)},m,w)}i=i.next}while(i!==h)}}catch(T){vt(t,t.return,T)}}function Yl(e,t,i){try{var u=t.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var m=h.next;u=m;do{if((u.tag&e)===e){var w=u.inst,T=w.destroy;T!==void 0&&(w.destroy=void 0,(e&Ui)!==y1&&(eg=!0),h=t,ze(h,sB,h,i,T),(e&Ui)!==y1&&(eg=!1))}u=u.next}while(u!==m)}}catch(D){vt(t,t.return,D)}}function mf(e,t){sr(e)?(Tn(),Kr(t,e),Va()):Kr(t,e)}function Lp(e,t,i){sr(e)?(Tn(),Yl(i,e,t),Va()):Yl(i,e,t)}function V0(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Fm||(i.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",we(e)||"instance"),i.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",we(e)||"instance"));try{ze(e,oc,t,i)}catch(u){vt(e,e.return,u)}}}function gf(e,t,i){return e.getSnapshotBeforeUpdate(t,i)}function ix(e,t){var i=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Fm||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",we(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",we(e)||"instance"));try{var h=rr(e.type,i),m=ze(e,gf,t,h,u);i=NM,m!==void 0||i.has(e.type)||(i.add(e.type),ze(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",we(e))})),t.__reactInternalSnapshotBeforeUpdate=m}catch(w){vt(e,e.return,w)}}function Up(e,t,i){i.props=rr(e.type,e.memoizedProps),i.state=e.memoizedState,sr(e)?(Tn(),ze(e,eM,e,t,i),Va()):ze(e,eM,e,t,i)}function ox(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}if(typeof t=="function")if(sr(e))try{Tn(),e.refCleanup=t(i)}finally{Va()}else e.refCleanup=t(i);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",we(e)),t.current=i}}function Is(e,t){try{ze(e,ox,e)}catch(i){vt(e,t,i)}}function Pi(e,t){var i=e.ref,u=e.refCleanup;if(i!==null)if(typeof u=="function")try{if(sr(e))try{Tn(),ze(e,u)}finally{Va(e)}else ze(e,u)}catch(h){vt(e,t,h)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{if(sr(e))try{Tn(),ze(e,i,null)}finally{Va(e)}else ze(e,i,null)}catch(h){vt(e,t,h)}else i.current=null}function q0(e,t,i,u){var h=e.memoizedProps,m=h.id,w=h.onCommit;h=h.onRender,t=t===null?"mount":"update",f1&&(t="nested-update"),typeof h=="function"&&h(m,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,i),typeof w=="function"&&w(m,t,u,i)}function rx(e,t,i,u){var h=e.memoizedProps;e=h.id,h=h.onPostCommit,t=t===null?"mount":"update",f1&&(t="nested-update"),typeof h=="function"&&h(e,t,u,i)}function Gl(e){var t=e.type,i=e.memoizedProps,u=e.stateNode;try{ze(e,bx,u,t,i,e)}catch(h){vt(e,e.return,h)}}function Bp(e,t,i){try{ze(e,im,e.stateNode,e.type,i,t,e)}catch(u){vt(e,e.return,u)}}function Y0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Pl(e.type)||e.tag===4}function Hp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Y0(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&&Pl(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 yc(e,t,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(wx(i),(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t)):(wx(i),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=Yi));else if(u!==4&&(u===27&&Pl(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(yc(e,t,i),e=e.sibling;e!==null;)yc(e,t,i),e=e.sibling}function vf(e,t,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(u!==4&&(u===27&&Pl(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(vf(e,t,i),e=e.sibling;e!==null;)vf(e,t,i),e=e.sibling}function G0(e){for(var t,i=e.return;i!==null;){if(Y0(i)){t=i;break}i=i.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,i=Hp(e),vf(e,i,t);break;case 5:i=t.stateNode,t.flags&32&&(om(i),t.flags&=-33),t=Hp(e),vf(e,t,i);break;case 3:case 4:t=t.stateNode.containerInfo,i=Hp(e),yc(e,i,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function X0(e){var t=e.stateNode,i=e.memoizedProps;try{ze(e,gr,e.type,i,t,e)}catch(u){vt(e,e.return,u)}}function $0(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function s2(e,t){if(e=e.containerInfo,yE=Q1,e=ep(e),Jg(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var h=u.anchorOffset,m=u.focusNode;u=u.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var w=0,T=-1,D=-1,_=0,Z=0,P=e,Y=null;t:for(;;){for(var se;P!==i||h!==0&&P.nodeType!==3||(T=w+h),P!==m||u!==0&&P.nodeType!==3||(D=w+u),P.nodeType===3&&(w+=P.nodeValue.length),(se=P.firstChild)!==null;)Y=P,P=se;for(;;){if(P===e)break t;if(Y===i&&++_===h&&(T=w),Y===m&&++Z===u&&(D=w),(se=P.nextSibling)!==null)break;P=Y,Y=P.parentNode}P=se}i=T===-1||D===-1?null:{start:T,end:D}}else i=null}i=i||{start:0,end:0}}else i=null;for(bE={focusedElem:e,selectionRange:i},Q1=!1,Oa=t;Oa!==null;)if(t=Oa,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Oa=e;else for(;Oa!==null;){switch(e=t=Oa,i=e.alternate,h=e.flags,e.tag){case 0:if((h&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)h=e[i],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:(h&1024)!==0&&i!==null&&ix(e,i);break;case 3:if((h&1024)!==0){if(e=e.stateNode.containerInfo,i=e.nodeType,i===9)_c(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":_c(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((h&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Oa=e;break}Oa=t.return}}function Vp(e,t,i){var u=dn(),h=Qi(),m=xi(),w=Ii(),T=i.flags;switch(i.tag){case 0:case 11:case 15:ki(e,i),T&4&&ax(i,Oo|Mr);break;case 1:if(ki(e,i),T&4)if(e=i.stateNode,t===null)i.type.defaultProps||"ref"in i.memoizedProps||Fm||(e.props!==i.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",we(i)||"instance"),e.state!==i.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",we(i)||"instance")),sr(i)?(Tn(),ze(i,V2,i,e),Va()):ze(i,V2,i,e);else{var D=rr(i.type,t.memoizedProps);t=t.memoizedState,i.type.defaultProps||"ref"in i.memoizedProps||Fm||(e.props!==i.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",we(i)||"instance"),e.state!==i.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",we(i)||"instance")),sr(i)?(Tn(),ze(i,KR,i,e,D,t,e.__reactInternalSnapshotBeforeUpdate),Va()):ze(i,KR,i,e,D,t,e.__reactInternalSnapshotBeforeUpdate)}T&64&&V0(i),T&512&&Is(i,i.return);break;case 3:if(t=Ko(),ki(e,i),T&64&&(T=i.updateQueue,T!==null)){if(D=null,i.child!==null)switch(i.child.tag){case 27:case 5:D=i.child.stateNode;break;case 1:D=i.child.stateNode}try{ze(i,oc,T,D)}catch(Z){vt(i,i.return,Z)}}e.effectDuration+=tc(t);break;case 27:t===null&&T&4&&X0(i);case 26:case 5:if(ki(e,i),t===null){if(T&4)Gl(i);else if(T&64){e=i.type,t=i.memoizedProps,D=i.stateNode;try{ze(i,xx,D,e,t,i)}catch(Z){vt(i,i.return,Z)}}}T&512&&Is(i,i.return);break;case 12:if(T&4){T=Ko(),ki(e,i),e=i.stateNode,e.effectDuration+=Ha(T);try{ze(i,q0,i,t,ed,e.effectDuration)}catch(Z){vt(i,i.return,Z)}}else ki(e,i);break;case 31:ki(e,i),T&4&&I0(e,i);break;case 13:ki(e,i),T&4&&Z0(e,i),T&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(T=Wr.bind(null,i),zx(e,T))));break;case 22:if(T=i.memoizedState!==null||bu,!T){t=t!==null&&t.memoizedState!==null||fa,D=bu;var _=fa;bu=T,(fa=t)&&!_?(wo(e,i,(i.subtreeFlags&8772)!==0),(i.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&tp(i,et,it)):ki(e,i),bu=D,fa=_}break;case 30:break;default:ki(e,i)}(i.mode&wt)!==rt&&0<=et&&0<=it&&((Ln||.05<kn)&&co(i,et,it,kn,En),i.alternate===null&&i.return!==null&&i.return.alternate!==null&&.05<it-et&&($0(i.return.alternate,i.return)||Gi(i,et,it,"Mount"))),ta(u),bi(h),En=m,Ln=w}function jn(e){var t=e.alternate;t!==null&&(e.alternate=null,jn(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ee(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function un(e,t,i){for(i=i.child;i!==null;)Q0(e,t,i),i=i.sibling}function Q0(e,t,i){if(In&&typeof In.onCommitFiberUnmount=="function")try{In.onCommitFiberUnmount(ru,i)}catch(_){yr||(yr=!0,console.error("React instrumentation encountered an error: %o",_))}var u=dn(),h=Qi(),m=xi(),w=Ii();switch(i.tag){case 26:fa||Pi(i,t),un(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(e=i.stateNode,e.parentNode.removeChild(e));break;case 27:fa||Pi(i,t);var T=ha,D=to;Pl(i.type)&&(ha=i.stateNode,to=!1),un(e,t,i),ze(i,al,i.stateNode),ha=T,to=D;break;case 5:fa||Pi(i,t);case 6:if(T=ha,D=to,ha=null,un(e,t,i),ha=T,to=D,ha!==null)if(to)try{ze(i,Ex,ha,i.stateNode)}catch(_){vt(i,t,_)}else try{ze(i,Sx,ha,i.stateNode)}catch(_){vt(i,t,_)}break;case 18:ha!==null&&(to?(e=ha,Js(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),nu(e)):Js(ha,i.stateNode));break;case 4:T=ha,D=to,ha=i.stateNode.containerInfo,to=!0,un(e,t,i),ha=T,to=D;break;case 0:case 11:case 14:case 15:Yl(Ui,i,t),fa||Np(i,t,Oo),un(e,t,i);break;case 1:fa||(Pi(i,t),T=i.stateNode,typeof T.componentWillUnmount=="function"&&Up(i,t,T)),un(e,t,i);break;case 21:un(e,t,i);break;case 22:fa=(T=fa)||i.memoizedState!==null,un(e,t,i),fa=T;break;default:un(e,t,i)}(i.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(i,et,it,kn,En),ta(u),bi(h),En=m,Ln=w}function I0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ze(t,rm,e)}catch(i){vt(t,t.return,i)}}}function Z0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ze(t,mv,e)}catch(i){vt(t,t.return,i)}}function lx(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new LM),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new LM),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Xl(e,t){var i=lx(e);t.forEach(function(u){if(!i.has(u)){if(i.add(u),br)if(Pm!==null&&Km!==null)Tc(Km,Pm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var h=Ps.bind(null,e,u);u.then(h,h)}})}function $a(e,t){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var h=e,m=t,w=i[u],T=dn(),D=m;e:for(;D!==null;){switch(D.tag){case 27:if(Pl(D.type)){ha=D.stateNode,to=!1;break e}break;case 5:ha=D.stateNode,to=!1;break e;case 3:case 4:ha=D.stateNode.containerInfo,to=!0;break e}D=D.return}if(ha===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Q0(h,m,w),ha=null,to=!1,(w.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(w,et,it,"Unmount"),ta(T),h=w,m=h.alternate,m!==null&&(m.return=null),h.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)yf(t,e),t=t.sibling}function yf(e,t){var i=dn(),u=Qi(),h=xi(),m=Ii(),w=e.alternate,T=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:$a(t,e),Qa(e),T&4&&(Yl(Ui|Mr,e,e.return),Kr(Ui|Mr,e),Np(e,e.return,Oo|Mr));break;case 1:if($a(t,e),Qa(e),T&512&&(fa||w===null||Pi(w,w.return)),T&64&&bu&&(T=e.updateQueue,T!==null&&(w=T.callbacks,w!==null))){var D=T.shared.hiddenCallbacks;T.shared.hiddenCallbacks=D===null?w:D.concat(w)}break;case 26:if(D=ul,$a(t,e),Qa(e),T&512&&(fa||w===null||Pi(w,w.return)),T&4){var _=w!==null?w.memoizedState:null;if(T=e.memoizedState,w===null)if(T===null)if(e.stateNode===null){e:{T=e.type,w=e.memoizedProps,D=D.ownerDocument||D;t:switch(T){case"title":_=D.getElementsByTagName("title")[0],(!_||_[Qc]||_[pn]||_.namespaceURI===yt||_.hasAttribute("itemprop"))&&(_=D.createElement(T),D.head.insertBefore(_,D.querySelector("head > title"))),hn(_,T,w),_[pn]=e,Ie(_),T=_;break e;case"link":var Z=jc("link","href",D).get(T+(w.href||""));if(Z){for(var P=0;P<Z.length;P++)if(_=Z[P],_.getAttribute("href")===(w.href==null||w.href===""?null:w.href)&&_.getAttribute("rel")===(w.rel==null?null:w.rel)&&_.getAttribute("title")===(w.title==null?null:w.title)&&_.getAttribute("crossorigin")===(w.crossOrigin==null?null:w.crossOrigin)){Z.splice(P,1);break t}}_=D.createElement(T),hn(_,T,w),D.head.appendChild(_);break;case"meta":if(Z=jc("meta","content",D).get(T+(w.content||""))){for(P=0;P<Z.length;P++)if(_=Z[P],Bt(w.content,"content"),_.getAttribute("content")===(w.content==null?null:""+w.content)&&_.getAttribute("name")===(w.name==null?null:w.name)&&_.getAttribute("property")===(w.property==null?null:w.property)&&_.getAttribute("http-equiv")===(w.httpEquiv==null?null:w.httpEquiv)&&_.getAttribute("charset")===(w.charSet==null?null:w.charSet)){Z.splice(P,1);break t}}_=D.createElement(T),hn(_,T,w),D.head.appendChild(_);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+T+'". This is a bug in React.')}_[pn]=e,Ie(_),T=_}e.stateNode=T}else Lx(D,e.type,e.stateNode);else e.stateNode=um(D,T,e.memoizedProps);else _!==T?(_===null?w.stateNode!==null&&(w=w.stateNode,w.parentNode.removeChild(w)):_.count--,T===null?Lx(D,e.type,e.stateNode):um(D,T,e.memoizedProps)):T===null&&e.stateNode!==null&&Bp(e,e.memoizedProps,w.memoizedProps)}break;case 27:$a(t,e),Qa(e),T&512&&(fa||w===null||Pi(w,w.return)),w!==null&&T&4&&Bp(e,e.memoizedProps,w.memoizedProps);break;case 5:if($a(t,e),Qa(e),T&512&&(fa||w===null||Pi(w,w.return)),e.flags&32){D=e.stateNode;try{ze(e,om,D)}catch(Le){vt(e,e.return,Le)}}T&4&&e.stateNode!=null&&(D=e.memoizedProps,Bp(e,D,w!==null?w.memoizedProps:D)),T&1024&&(W2=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if($a(t,e),Qa(e),T&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");T=e.memoizedProps,w=w!==null?w.memoizedProps:T,D=e.stateNode;try{ze(e,u2,D,w,T)}catch(Le){vt(e,e.return,Le)}}break;case 3:if(D=Ko(),G1=null,_=ul,ul=lm(t.containerInfo),$a(t,e),ul=_,Qa(e),T&4&&w!==null&&w.memoizedState.isDehydrated)try{ze(e,pv,t.containerInfo)}catch(Le){vt(e,e.return,Le)}W2&&(W2=!1,sx(e)),t.effectDuration+=tc(D);break;case 4:T=ul,ul=lm(e.stateNode.containerInfo),$a(t,e),Qa(e),ul=T;break;case 12:T=Ko(),$a(t,e),Qa(e),e.stateNode.effectDuration+=Ha(T);break;case 31:$a(t,e),Qa(e),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,Xl(e,T)));break;case 13:$a(t,e),Qa(e),e.child.flags&8192&&e.memoizedState!==null!=(w!==null&&w.memoizedState!==null)&&(R1=la()),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,Xl(e,T)));break;case 22:D=e.memoizedState!==null;var Y=w!==null&&w.memoizedState!==null,se=bu,Oe=fa;if(bu=se||D,fa=Oe||Y,$a(t,e),fa=Oe,bu=se,Y&&!D&&!se&&!Oe&&(e.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&tp(e,et,it),Qa(e),T&8192)e:for(t=e.stateNode,t._visibility=D?t._visibility&~Pv:t._visibility|Pv,!D||w===null||Y||bu||fa||($l(e),(e.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(e,et,it,"Disconnect")),w=null,t=e;;){if(t.tag===5||t.tag===26){if(w===null){Y=w=t;try{_=Y.stateNode,D?ze(Y,Ax,_):ze(Y,Rx,Y.stateNode,Y.memoizedProps)}catch(Le){vt(Y,Y.return,Le)}}}else if(t.tag===6){if(w===null){Y=t;try{Z=Y.stateNode,D?ze(Y,Cx,Z):ze(Y,Mx,Z,Y.memoizedProps)}catch(Le){vt(Y,Y.return,Le)}}}else if(t.tag===18){if(w===null){Y=t;try{P=Y.stateNode,D?ze(Y,Tx,P):ze(Y,kx,Y.stateNode)}catch(Le){vt(Y,Y.return,Le)}}}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;w===t&&(w=null),t=t.return}w===t&&(w=null),t.sibling.return=t.return,t=t.sibling}T&4&&(T=e.updateQueue,T!==null&&(w=T.retryQueue,w!==null&&(T.retryQueue=null,Xl(e,w))));break;case 19:$a(t,e),Qa(e),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,Xl(e,T)));break;case 30:break;case 21:break;default:$a(t,e),Qa(e)}(e.mode&wt)!==rt&&0<=et&&0<=it&&((Ln||.05<kn)&&co(e,et,it,kn,En),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<it-et&&($0(e.return.alternate,e.return)||Gi(e,et,it,"Mount"))),ta(i),bi(u),En=h,Ln=m}function Qa(e){var t=e.flags;if(t&2){try{ze(e,G0,e)}catch(i){vt(e,e.return,i)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function sx(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;sx(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ki(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Vp(e,t.alternate,t),t=t.sibling}function qp(e){var t=dn(),i=Qi(),u=xi(),h=Ii();switch(e.tag){case 0:case 11:case 14:case 15:Np(e,e.return,Oo),$l(e);break;case 1:Pi(e,e.return);var m=e.stateNode;typeof m.componentWillUnmount=="function"&&Up(e,e.return,m),$l(e);break;case 27:ze(e,al,e.stateNode);case 26:case 5:Pi(e,e.return),$l(e);break;case 22:e.memoizedState===null&&$l(e);break;case 30:$l(e);break;default:$l(e)}(e.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(e,et,it,kn,En),ta(t),bi(i),En=u,Ln=h}function $l(e){for(e=e.child;e!==null;)qp(e),e=e.sibling}function F0(e,t,i,u){var h=dn(),m=Qi(),w=xi(),T=Ii(),D=i.flags;switch(i.tag){case 0:case 11:case 15:wo(e,i,u),ax(i,Oo);break;case 1:if(wo(e,i,u),t=i.stateNode,typeof t.componentDidMount=="function"&&ze(i,V2,i,t),t=i.updateQueue,t!==null){e=i.stateNode;try{ze(i,g0,t,e)}catch(_){vt(i,i.return,_)}}u&&D&64&&V0(i),Is(i,i.return);break;case 27:X0(i);case 26:case 5:wo(e,i,u),u&&t===null&&D&4&&Gl(i),Is(i,i.return);break;case 12:if(u&&D&4){D=Ko(),wo(e,i,u),u=i.stateNode,u.effectDuration+=Ha(D);try{ze(i,q0,i,t,ed,u.effectDuration)}catch(_){vt(i,i.return,_)}}else wo(e,i,u);break;case 31:wo(e,i,u),u&&D&4&&I0(e,i);break;case 13:wo(e,i,u),u&&D&4&&Z0(e,i);break;case 22:i.memoizedState===null&&wo(e,i,u),Is(i,i.return);break;case 30:break;default:wo(e,i,u)}(i.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(i,et,it,kn,En),ta(h),bi(m),En=w,Ln=T}function wo(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)F0(e,t.alternate,t,i),t=t.sibling}function bf(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&&Ds(e),i!=null&&Xd(i))}function xf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Ds(t),e!=null&&Xd(e))}function Ri(e,t,i,u,h){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var m=t.sibling;P0(e,t,i,u,m!==null?m.actualStartTime:h),t=m}}function P0(e,t,i,u,h){var m=dn(),w=Qi(),T=xi(),D=Ii(),_=Pc,Z=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&wt)!==rt&&0<t.actualStartTime&&(t.flags&1)!==0&&np(t,t.actualStartTime,h,Sa,i),Ri(e,t,i,u,h),Z&2048&&mf(t,Bi|Mr);break;case 1:(t.mode&wt)!==rt&&0<t.actualStartTime&&((t.flags&128)!==0?e0(t,t.actualStartTime,h,[]):(t.flags&1)!==0&&np(t,t.actualStartTime,h,Sa,i)),Ri(e,t,i,u,h);break;case 3:var P=Ko(),Y=Sa;Sa=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Ri(e,t,i,u,h),Sa=Y,Z&2048&&(i=null,t.alternate!==null&&(i=t.alternate.memoizedState.cache),u=t.memoizedState.cache,u!==i&&(Ds(u),i!=null&&Xd(i))),e.passiveEffectDuration+=tc(P);break;case 12:if(Z&2048){Z=Ko(),Ri(e,t,i,u,h),e=t.stateNode,e.passiveEffectDuration+=Ha(Z);try{ze(t,rx,t,t.alternate,ed,e.passiveEffectDuration)}catch(se){vt(t,t.return,se)}}else Ri(e,t,i,u,h);break;case 31:Z=Sa,P=t.alternate!==null?t.alternate.memoizedState:null,Y=t.memoizedState,P!==null&&Y===null?(Y=t.deletions,Y!==null&&0<Y.length&&Y[0].tag===18?(Sa=!1,P=P.hydrationErrors,P!==null&&e0(t,t.actualStartTime,h,P)):Sa=!0):Sa=!1,Ri(e,t,i,u,h),Sa=Z;break;case 13:Z=Sa,P=t.alternate!==null?t.alternate.memoizedState:null,Y=t.memoizedState,P===null||P.dehydrated===null||Y!==null&&Y.dehydrated!==null?Sa=!1:(Y=t.deletions,Y!==null&&0<Y.length&&Y[0].tag===18?(Sa=!1,P=P.hydrationErrors,P!==null&&e0(t,t.actualStartTime,h,P)):Sa=!0),Ri(e,t,i,u,h),Sa=Z;break;case 23:break;case 22:Y=t.stateNode,P=t.alternate,t.memoizedState!==null?Y._visibility&uu?Ri(e,t,i,u,h):Zs(e,t,i,u,h):Y._visibility&uu?Ri(e,t,i,u,h):(Y._visibility|=uu,Ql(e,t,i,u,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),h),(t.mode&wt)===rt||Sa||(e=t.actualStartTime,0<=e&&.05<h-e&&tp(t,e,h),0<=et&&0<=it&&.05<it-et&&tp(t,et,it))),Z&2048&&bf(P,t);break;case 24:Ri(e,t,i,u,h),Z&2048&&xf(t.alternate,t);break;default:Ri(e,t,i,u,h)}(t.mode&wt)!==rt&&((e=!Sa&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(i=t.actualStartTime,0<=i&&.05<h-i&&Gi(t,i,h,"Mount")),0<=et&&0<=it&&((Ln||.05<kn)&&co(t,et,it,kn,En),e&&.05<it-et&&Gi(t,et,it,"Mount"))),ta(m),bi(w),En=T,Ln=D,Pc=_}function Ql(e,t,i,u,h,m){for(h=h&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var w=t.sibling;wf(e,t,i,u,h,w!==null?w.actualStartTime:m),t=w}}function wf(e,t,i,u,h,m){var w=dn(),T=Qi(),D=xi(),_=Ii(),Z=Pc;h&&(t.mode&wt)!==rt&&0<t.actualStartTime&&(t.flags&1)!==0&&np(t,t.actualStartTime,m,Sa,i);var P=t.flags;switch(t.tag){case 0:case 11:case 15:Ql(e,t,i,u,h,m),mf(t,Bi);break;case 23:break;case 22:var Y=t.stateNode;t.memoizedState!==null?Y._visibility&uu?Ql(e,t,i,u,h,m):Zs(e,t,i,u,m):(Y._visibility|=uu,Ql(e,t,i,u,h,m)),h&&P&2048&&bf(t.alternate,t);break;case 24:Ql(e,t,i,u,h,m),h&&P&2048&&xf(t.alternate,t);break;default:Ql(e,t,i,u,h,m)}(t.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(t,et,it,kn,En),ta(w),bi(T),En=D,Ln=_,Pc=Z}function Zs(e,t,i,u,h){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var m=t.child;m!==null;){t=m.sibling;var w=e,T=i,D=u,_=t!==null?t.actualStartTime:h,Z=Pc;(m.mode&wt)!==rt&&0<m.actualStartTime&&(m.flags&1)!==0&&np(m,m.actualStartTime,_,Sa,T);var P=m.flags;switch(m.tag){case 22:Zs(w,m,T,D,_),P&2048&&bf(m.alternate,m);break;case 24:Zs(w,m,T,D,_),P&2048&&xf(m.alternate,m);break;default:Zs(w,m,T,D,_)}Pc=Z,m=t}}function Fs(e,t,i){if(e.subtreeFlags&gy)for(e=e.child;e!==null;)Yp(e,t,i),e=e.sibling}function Yp(e,t,i){switch(e.tag){case 26:Fs(e,t,i),e.flags&gy&&e.memoizedState!==null&&xv(i,ul,e.memoizedState,e.memoizedProps);break;case 5:Fs(e,t,i);break;case 3:case 4:var u=ul;ul=lm(e.stateNode.containerInfo),Fs(e,t,i),ul=u;break;case 22:e.memoizedState===null&&(u=e.alternate,u!==null&&u.memoizedState!==null?(u=gy,gy=16777216,Fs(e,t,i),gy=u):Fs(e,t,i));break;default:Fs(e,t,i)}}function K0(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 Mi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var u=t[i],h=dn();Oa=u,ur(u,e),(u.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(u,et,it,"Unmount"),ta(h)}K0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Gp(e),e=e.sibling}function Gp(e){var t=dn(),i=Qi(),u=xi(),h=Ii();switch(e.tag){case 0:case 11:case 15:Mi(e),e.flags&2048&&Lp(e,e.return,Bi|Mr);break;case 3:var m=Ko();Mi(e),e.stateNode.passiveEffectDuration+=tc(m);break;case 12:m=Ko(),Mi(e),e.stateNode.passiveEffectDuration+=Ha(m);break;case 22:m=e.stateNode,e.memoizedState!==null&&m._visibility&uu&&(e.return===null||e.return.tag!==13)?(m._visibility&=~uu,Xp(e),(e.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(e,et,it,"Disconnect")):Mi(e);break;default:Mi(e)}(e.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(e,et,it,kn,En),ta(t),bi(i),Ln=h,En=u}function Xp(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var u=t[i],h=dn();Oa=u,ur(u,e),(u.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(u,et,it,"Unmount"),ta(h)}K0(e)}for(e=e.child;e!==null;)J0(e),e=e.sibling}function J0(e){var t=dn(),i=Qi(),u=xi(),h=Ii();switch(e.tag){case 0:case 11:case 15:Lp(e,e.return,Bi),Xp(e);break;case 22:var m=e.stateNode;m._visibility&uu&&(m._visibility&=~uu,Xp(e));break;default:Xp(e)}(e.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(e,et,it,kn,En),ta(t),bi(i),Ln=h,En=u}function ur(e,t){for(;Oa!==null;){var i=Oa,u=i,h=t,m=dn(),w=Qi(),T=xi(),D=Ii();switch(u.tag){case 0:case 11:case 15:Lp(u,h,Bi);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(h=u.memoizedState.cachePool.pool,h!=null&&Ds(h));break;case 24:Xd(u.memoizedState.cache)}if((u.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(u,et,it,kn,En),ta(m),bi(w),Ln=D,En=T,u=i.child,u!==null)u.return=i,Oa=u;else e:for(i=e;Oa!==null;){if(u=Oa,m=u.sibling,w=u.return,jn(u),u===i){Oa=null;break e}if(m!==null){m.return=w,Oa=m;break e}Oa=w}}}function W0(){hB.forEach(function(e){return e()})}function ev(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||ce.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Ma(e){if((Ut&Ea)!==ja&&Et!==0)return Et&-Et;var t=ce.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),cv()):bl()}function bc(){if(ao===0)if((Et&536870912)===0||zt){var e=Xf;Xf<<=1,(Xf&3932160)===0&&(Xf=262144),ao=e}else ao=536870912;return e=zo.current,e!==null&&(e.flags|=32),ao}function lt(e,t,i){if(eg&&console.error("useInsertionEffect must not schedule updates."),cE&&(z1=!0),(e===sn&&(tn===rh||tn===lh)||e.cancelPendingCommit!==null)&&(cr(e,0),Ki(e,Et,ao,!1)),oo(e,i),(Ut&Ea)!==ja&&e===sn){if(vr)switch(t.tag){case 0:case 11:case 15:e=kt&&we(kt)||"Unknown",KM.has(e)||(KM.add(e),t=we(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:PM||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),PM=!0)}}else br&&Gn(e,t,i),Af(t),e===sn&&((Ut&Ea)===ja&&(sd|=i),Rn===od&&Ki(e,Et,ao,!1)),ri(e)}function ux(e,t,i){if((Ut&(Ea|jo))!==ja)throw Error("Should not already be working.");if(Et!==0&&kt!==null){var u=kt,h=la();switch(GR){case by:case rh:var m=ny;mn&&((u=u._debugTask)?u.run(console.timeStamp.bind(console,"Suspended",m,h,wr,void 0,"primary-light")):console.timeStamp("Suspended",m,h,wr,void 0,"primary-light"));break;case lh:m=ny,mn&&((u=u._debugTask)?u.run(console.timeStamp.bind(console,"Action",m,h,wr,void 0,"primary-light")):console.timeStamp("Action",m,h,wr,void 0,"primary-light"));break;default:mn&&(u=h-ny,3>u||console.timeStamp("Blocked",ny,h,wr,void 0,5>u?"primary-light":10>u?"primary":100>u?"primary-dark":"error"))}}m=(i=!i&&(t&127)===0&&(t&e.expiredLanes)===0||Bn(e,t))?Jr(e,t):Sc(e,t,!0);var w=i;do{if(m===xu){Jm&&!i&&Ki(e,t,0,!1),t=tn,ny=ua(),GR=t;break}else{if(u=la(),h=e.current.alternate,w&&!dx(h)){uo(t),h=za,m=u,!mn||m<=h||(Yn?Yn.run(console.timeStamp.bind(console,"Teared Render",h,m,Nt,Ot,"error")):console.timeStamp("Teared Render",h,m,Nt,Ot,"error")),Il(t,u),m=Sc(e,t,!1),w=!1;continue}if(m===oh){if(w=t,e.errorRecoveryDisabledLanes&w)var T=0;else T=e.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){uo(t),t0(za,u,t,Yn),Il(t,u),t=T;e:{u=e,m=w,w=wy;var D=u.current.memoizedState.isDehydrated;if(D&&(cr(u,T).flags|=256),T=Sc(u,T,!1),T!==oh){if(nE&&!D){u.errorRecoveryDisabledLanes|=m,sd|=m,m=od;break e}u=Hi,Hi=w,u!==null&&(Hi===null?Hi=u:Hi.push.apply(Hi,u))}m=T}if(w=!1,m!==oh)continue;u=la()}}if(m===yy){uo(t),t0(za,u,t,Yn),Il(t,u),cr(e,0),Ki(e,t,0,!0);break}e:{switch(i=e,m){case xu:case yy:throw Error("Root did not complete. This is a bug in React.");case od:if((t&4194048)!==t)break;case T1:uo(t),Hb(za,u,t,Yn),Il(t,u),h=t,(h&127)!==0?u1=u:(h&4194048)!==0&&(c1=u),Ki(i,t,ao,!rd);break e;case oh:Hi=null;break;case E1:case UM:break;default:throw Error("Unknown root exit status.")}if(ce.actQueue!==null)on(i,h,t,Hi,Sy,k1,ao,sd,sh,m,null,null,za,u);else{if((t&62914560)===t&&(w=R1+VM-la(),10<w)){if(Ki(i,t,ao,!rd),ps(i,0,!0)!==0)break e;cl=t,i.timeoutHandle=o3(cx.bind(null,i,h,Hi,Sy,k1,t,ao,sd,sh,rd,m,"Throttled",za,u),w);break e}cx(i,h,Hi,Sy,k1,t,ao,sd,sh,rd,m,null,za,u)}}}break}while(!0);ri(e)}function cx(e,t,i,u,h,m,w,T,D,_,Z,P,Y,se){e.timeoutHandle=hh;var Oe=t.subtreeFlags,Le=null;if((Oe&8192||(Oe&16785408)===16785408)&&(Le={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yi},Yp(t,m,Le),Oe=(m&62914560)===m?R1-la():(m&4194048)===m?HM-la():0,Oe=cm(Le,Oe),Oe!==null)){cl=m,e.cancelPendingCommit=Oe(on.bind(null,e,t,m,i,u,h,w,T,D,Z,Le,Le.waitingForViewTransition?"Waiting for the previous Animation":0<Le.count?0<Le.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Le.imgCount===1?"Suspended on an Image":0<Le.imgCount?"Suspended on Images":null,Y,se)),Ki(e,m,w,!_);return}on(e,t,m,i,u,h,w,T,D,Z,Le,P,Y,se)}function dx(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 u=0;u<i.length;u++){var h=i[u],m=h.getSnapshot;h=h.value;try{if(!Ni(m(),h))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,u){t&=~aE,t&=~sd,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var h=t;0<h;){var m=31-xa(h),w=1<<m;u[m]=-1,h&=~w}i!==0&&Vu(e,i,t)}function Di(){return(Ut&(Ea|jo))===ja?(fr(0),!1):!0}function $p(){if(kt!==null){if(tn===no)var e=kt.return;else e=kt,Wu(),zl(e),Gm=null,dy=0,e=kt;for(;e!==null;)H0(e.alternate,e),e=e.return;kt=null}}function Il(e,t){(e&127)!==0&&(Pf=t),(e&4194048)!==0&&(pu=t),(e&62914560)!==0&&(qR=t),(e&2080374784)!==0&&(YR=t)}function cr(e,t){mn&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Ot,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Ot,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Ot,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Ot,"primary-light"));var i=za;if(za=ua(),Et!==0&&0<i){if(uo(Et),Rn===E1||Rn===od)Hb(i,za,t,Yn);else{var u=za,h=Yn;if(mn&&!(u<=i)){var m=(t&738197653)===t?"tertiary-dark":"primary-dark",w=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";h?h.run(console.timeStamp.bind(console,w,i,u,Nt,Ot,m)):console.timeStamp(w,i,u,Nt,Ot,m)}}Il(Et,za)}if(i=Yn,Yn=null,(t&127)!==0){Yn=Wv,h=0<=is&&is<Pf?Pf:is,u=0<=Kf&&Kf<Pf?Pf:Kf,m=0<=u?u:0<=h?h:za,0<=u1?(uo(2),Vb(u1,m,t,i)):d1&127,i=h;var T=u,D=ey,_=0<Vm,Z=td===Jv,P=td===s1;if(h=za,u=Wv,m=N2,w=L2,mn){if(Nt="Blocking",0<i?i>h&&(i=h):i=h,0<T?T>i&&(T=i):T=i,D!==null&&i>T){var Y=_?"secondary-light":"warning";u?u.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+D,T,i,Nt,Ot,Y)):console.timeStamp(_?"Consecutive":"Event: "+D,T,i,Nt,Ot,Y)}h>i&&(T=Z?"error":(t&738197653)===t?"tertiary-light":"primary-light",Z=P?"Promise Resolved":Z?"Cascading Update":5<h-i?"Update Blocked":"Update",P=[],w!=null&&P.push(["Component name",w]),m!=null&&P.push(["Method name",m]),i={start:i,end:h,detail:{devtools:{properties:P,track:Nt,trackGroup:Ot,color:T}}},u?u.run(performance.measure.bind(performance,Z,i)):performance.measure(Z,i))}is=-1.1,td=0,L2=N2=null,u1=-1.1,Vm=Kf,Kf=-1.1,Pf=ua()}if((t&4194048)!==0&&(Yn=ty,h=0<=mu&&mu<pu?pu:mu,i=0<=kr&&kr<pu?pu:kr,u=0<=nd&&nd<pu?pu:nd,m=0<=u?u:0<=i?i:za,0<=c1?(uo(256),Vb(c1,m,t,Yn)):d1&4194048,P=u,T=Jf,D=0<ad,_=U2===s1,m=za,u=ty,w=HR,Z=VR,mn&&(Nt="Transition",0<i?i>m&&(i=m):i=m,0<h?h>i&&(h=i):h=i,0<P?P>h&&(P=h):P=h,h>P&&T!==null&&(Y=D?"secondary-light":"warning",u?u.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+T,P,h,Nt,Ot,Y)):console.timeStamp(D?"Consecutive":"Event: "+T,P,h,Nt,Ot,Y)),i>h&&(u?u.run(console.timeStamp.bind(console,"Action",h,i,Nt,Ot,"primary-dark")):console.timeStamp("Action",h,i,Nt,Ot,"primary-dark")),m>i&&(h=_?"Promise Resolved":5<m-i?"Update Blocked":"Update",P=[],Z!=null&&P.push(["Component name",Z]),w!=null&&P.push(["Method name",w]),i={start:i,end:m,detail:{devtools:{properties:P,track:Nt,trackGroup:Ot,color:"primary-light"}}},u?u.run(performance.measure.bind(performance,h,i)):performance.measure(h,i))),kr=mu=-1.1,U2=0,c1=-1.1,ad=nd,nd=-1.1,pu=ua()),(t&62914560)!==0&&(d1&62914560)!==0&&(uo(4194304),n0(qR,za)),(t&2080374784)!==0&&(d1&2080374784)!==0&&(uo(268435456),n0(YR,za)),i=e.timeoutHandle,i!==hh&&(e.timeoutHandle=hh,CB(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),cl=0,$p(),sn=e,kt=i=Fo(e.current,null),Et=t,tn=no,No=null,rd=!1,Jm=Bn(e,t),nE=!1,Rn=xu,sh=ao=aE=sd=ld=0,Hi=wy=null,k1=!1,(t&8)!==0&&(t|=t&32),u=e.entangledLanes,u!==0)for(e=e.entanglements,u&=t;0<u;)h=31-xa(u),m=1<<h,t|=e[h],u&=~m;return rs=t,ap(),e=OR(),1e3<e-zR&&(ce.recentlyCreatedOwnerStacks=0,zR=e),ll.discardPendingWarnings(),i}function So(e,t){ct=null,ce.H=my,ce.getCurrentStack=null,vr=!1,ci=null,t===Ym||t===m1?(t=Os(),tn=by):t===q2?(t=Os(),tn=BM):tn=t===K2?tE:t!==null&&typeof t=="object"&&typeof t.then=="function"?xy:A1,No=t;var i=kt;i===null?(Rn=yy,cf(e,Ba(t,e.current))):i.mode&wt&&cp(i)}function tv(){var e=zo.current;return e===null?!0:(Et&4194048)===Et?Rr===null:(Et&62914560)===Et||(Et&536870912)!==0?e===Rr:!1}function Qp(){var e=ce.H;return ce.H=my,e===null?my:e}function nv(){var e=ce.A;return ce.A=fB,e}function xc(e){Yn===null&&(Yn=e._debugTask==null?null:e._debugTask)}function wc(){Rn=od,rd||(Et&4194048)!==Et&&zo.current!==null||(Jm=!0),(ld&134217727)===0&&(sd&134217727)===0||sn===null||Ki(sn,Et,ao,!1)}function Sc(e,t,i){var u=Ut;Ut|=Ea;var h=Qp(),m=nv();if(sn!==e||Et!==t){if(br){var w=e.memoizedUpdaters;0<w.size&&(Tc(e,Et),w.clear()),mi(e,t)}Sy=null,cr(e,t)}t=!1,w=Rn;e:do try{if(tn!==no&&kt!==null){var T=kt,D=No;switch(tn){case tE:$p(),w=T1;break e;case by:case rh:case lh:case xy:zo.current===null&&(t=!0);var _=tn;if(tn=no,No=null,Ec(e,T,D,_),i&&Jm){w=xu;break e}break;default:_=tn,tn=no,No=null,Ec(e,T,D,_)}}av(),w=Rn;break}catch(Z){So(e,Z)}while(!0);return t&&e.shellSuspendCounter++,Wu(),Ut=u,ce.H=h,ce.A=m,kt===null&&(sn=null,Et=0,ap()),w}function av(){for(;kt!==null;)Ip(kt)}function Jr(e,t){var i=Ut;Ut|=Ea;var u=Qp(),h=nv();if(sn!==e||Et!==t){if(br){var m=e.memoizedUpdaters;0<m.size&&(Tc(e,Et),m.clear()),mi(e,t)}Sy=null,M1=la()+qM,cr(e,t)}else Jm=Bn(e,t);e:do try{if(tn!==no&&kt!==null)t:switch(t=kt,m=No,tn){case A1:tn=no,No=null,Ec(e,t,m,A1);break;case rh:case lh:if(p0(m)){tn=no,No=null,iv(t);break}t=function(){tn!==rh&&tn!==lh||sn!==e||(tn=C1),ri(e)},m.then(t,t);break e;case by:tn=C1;break e;case BM:tn=eE;break e;case C1:p0(m)?(tn=no,No=null,iv(t)):(tn=no,No=null,Ec(e,t,m,C1));break;case eE:var w=null;switch(kt.tag){case 26:w=kt.memoizedState;case 5:case 27:var T=kt;if(w?Rt(w):T.stateNode.complete){tn=no,No=null;var D=T.sibling;if(D!==null)kt=D;else{var _=T.return;_!==null?(kt=_,Sf(_)):kt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}tn=no,No=null,Ec(e,t,m,eE);break;case xy:tn=no,No=null,Ec(e,t,m,xy);break;case tE:$p(),Rn=T1;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ce.actQueue!==null?av():Vn();break}catch(Z){So(e,Z)}while(!0);return Wu(),ce.H=u,ce.A=h,Ut=i,kt!==null?xu:(sn=null,Et=0,ap(),Rn)}function Vn(){for(;kt!==null&&!wm();)Ip(kt)}function Ip(e){var t=e.alternate;(e.mode&wt)!==rt?(qr(e),t=ze(e,pf,t,e,rs),cp(e)):t=ze(e,pf,t,e,rs),e.memoizedProps=e.pendingProps,t===null?Sf(e):kt=t}function iv(e){var t=ze(e,ra,e);e.memoizedProps=e.pendingProps,t===null?Sf(e):kt=t}function ra(e){var t=e.alternate,i=(e.mode&wt)!==rt;switch(i&&qr(e),e.tag){case 15:case 0:t=O0(t,e,e.pendingProps,e.type,void 0,Et);break;case 11:t=O0(t,e,e.pendingProps,e.type.render,e.ref,Et);break;case 5:zl(e);default:H0(t,e),e=kt=r0(e,rs),t=pf(t,e,rs)}return i&&cp(e),t}function Ec(e,t,i,u){Wu(),zl(t),Gm=null,dy=0;var h=t.return;try{if(C0(e,h,t,i,Et)){Rn=yy,cf(e,Ba(i,e.current)),kt=null;return}}catch(m){if(h!==null)throw kt=h,m;Rn=yy,cf(e,Ba(i,e.current)),kt=null;return}t.flags&32768?(zt||u===A1?e=!0:Jm||(Et&536870912)!==0?e=!1:(rd=e=!0,(u===rh||u===lh||u===by||u===xy)&&(u=zo.current,u!==null&&u.tag===13&&(u.flags|=16384))),ov(t,e)):Sf(t)}function Sf(e){var t=e;do{if((t.flags&32768)!==0){ov(t,rd);return}var i=t.alternate;if(e=t.return,qr(t),i=ze(t,B0,i,t,rs),(t.mode&wt)!==rt&&$d(t),i!==null){kt=i;return}if(t=t.sibling,t!==null){kt=t;return}kt=t=e}while(t!==null);Rn===xu&&(Rn=UM)}function ov(e,t){do{var i=nx(e.alternate,e);if(i!==null){i.flags&=32767,kt=i;return}if((e.mode&wt)!==rt){$d(e),i=e.actualDuration;for(var u=e.child;u!==null;)i+=u.actualDuration,u=u.sibling;e.actualDuration=i}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){kt=e;return}kt=e=i}while(e!==null);Rn=T1,kt=null}function on(e,t,i,u,h,m,w,T,D,_,Z,P,Y,se){e.cancelPendingCommit=null;do Ef();while(pa!==cd);if(ll.flushLegacyContextWarning(),ll.flushPendingUnsafeLifecycleWarnings(),(Ut&(Ea|jo))!==ja)throw Error("Should not already be working.");if(uo(i),_===oh?t0(Y,se,i,Yn):u!==null?i2(Y,se,i,u,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Yn):a2(Y,se,i,Yn),t!==null){if(i===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(m=t.lanes|t.childLanes,m|=D2,Hh(e,i,m,w,T,D),e===sn&&(kt=sn=null,Et=0),Wm=t,dd=e,cl=i,rE=m,sE=h,IM=u,lE=se,ZM=P,dl=D1,FM=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ac(ou,function(){return Ry=window.event,dl===D1&&(dl=oE),Tf(),null})):(e.callbackNode=null,e.callbackPriority=0),hu=null,ed=ua(),P!==null&&o2(se,ed,P,Yn),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=ce.T,ce.T=null,h=Gt.p,Gt.p=Zn,w=Ut,Ut|=jo;try{s2(e,t,i)}finally{Ut=w,Gt.p=h,ce.T=u}}pa=GM,Ia(),dr(),rv()}}function Ia(){if(pa===GM){pa=cd;var e=dd,t=Wm,i=cl,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=ce.T,ce.T=null;var h=Gt.p;Gt.p=Zn;var m=Ut;Ut|=jo;try{Pm=i,Km=e,_s(),yf(t,e),Km=Pm=null,i=bE;var w=ep(e.containerInfo),T=i.focusedElem,D=i.selectionRange;if(w!==T&&T&&T.ownerDocument&&Nb(T.ownerDocument.documentElement,T)){if(D!==null&&Jg(T)){var _=D.start,Z=D.end;if(Z===void 0&&(Z=_),"selectionStart"in T)T.selectionStart=_,T.selectionEnd=Math.min(Z,T.value.length);else{var P=T.ownerDocument||document,Y=P&&P.defaultView||window;if(Y.getSelection){var se=Y.getSelection(),Oe=T.textContent.length,Le=Math.min(D.start,Oe),cn=D.end===void 0?Le:Math.min(D.end,Oe);!se.extend&&Le>cn&&(w=cn,cn=Le,Le=w);var jt=jb(T,Le),V=jb(T,cn);if(jt&&V&&(se.rangeCount!==1||se.anchorNode!==jt.node||se.anchorOffset!==jt.offset||se.focusNode!==V.node||se.focusOffset!==V.offset)){var G=P.createRange();G.setStart(jt.node,jt.offset),se.removeAllRanges(),Le>cn?(se.addRange(G),se.extend(V.node,V.offset)):(G.setEnd(V.node,V.offset),se.addRange(G))}}}}for(P=[],se=T;se=se.parentNode;)se.nodeType===1&&P.push({element:se,left:se.scrollLeft,top:se.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<P.length;T++){var I=P[T];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}Q1=!!yE,bE=yE=null}finally{Ut=m,Gt.p=h,ce.T=u}}e.current=t,pa=XM}}function dr(){if(pa===XM){pa=cd;var e=FM;if(e!==null){ed=ua();var t=fu,i=ed;!mn||i<=t||console.timeStamp(e,t,i,Nt,Ot,"secondary-light")}e=dd,t=Wm,i=cl;var u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=ce.T,ce.T=null;var h=Gt.p;Gt.p=Zn;var m=Ut;Ut|=jo;try{Pm=i,Km=e,_s(),Vp(e,t.alternate,t),Km=Pm=null}finally{Ut=m,Gt.p=h,ce.T=u}}e=lE,t=ZM,fu=ua(),e=t===null?e:ed,t=fu,i=dl===iE,u=Yn,hu!==null?qb(e,t,hu,!1,u):!mn||t<=e||(u?u.run(console.timeStamp.bind(console,i?"Commit Interrupted View Transition":"Commit",e,t,Nt,Ot,i?"error":"secondary-dark")):console.timeStamp(i?"Commit Interrupted View Transition":"Commit",e,t,Nt,Ot,i?"error":"secondary-dark")),pa=$M}}function rv(){if(pa===QM||pa===$M){if(pa===QM){var e=fu;fu=ua();var t=fu,i=dl===iE;!mn||t<=e||console.timeStamp(i?"Interrupted View Transition":"Starting Animation",e,t,Nt,Ot,i?" error":"secondary-light"),dl!==iE&&(dl=YM)}pa=cd,Sm(),e=dd;var u=Wm;t=cl,i=IM;var h=u.actualDuration!==0||(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0;h?pa=_1:(pa=cd,Wm=dd=null,lv(e,e.pendingLanes),uh=0,Ty=null);var m=e.pendingLanes;if(m===0&&(ud=null),h||Pp(e),m=Wn(t),u=u.stateNode,In&&typeof In.onCommitFiberRoot=="function")try{var w=(u.current.flags&128)===128;switch(m){case Zn:var T=Uv;break;case wa:T=Em;break;case _a:T=ou;break;case ts:T=Tm;break;default:T=ou}In.onCommitFiberRoot(ru,u,T,w)}catch(P){yr||(yr=!0,console.error("React instrumentation encountered an error: %o",P))}if(br&&e.memoizedUpdaters.clear(),W0(),i!==null){w=ce.T,T=Gt.p,Gt.p=Zn,ce.T=null;try{var D=e.onRecoverableError;for(u=0;u<i.length;u++){var _=i[u],Z=fx(_.stack);ze(_.source,D,_.value,Z)}}finally{ce.T=w,Gt.p=T}}(cl&3)!==0&&Ef(),ri(e),m=e.pendingLanes,(t&261930)!==0&&(m&42)!==0?(h1=!0,e===uE?Ey++:(Ey=0,uE=e)):Ey=0,h||Il(t,fu),fr(0)}}function fx(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function lv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Xd(t)))}function Ef(){return Ia(),dr(),rv(),Tf()}function Tf(){if(pa!==_1)return!1;var e=dd,t=rE;rE=0;var i=Wn(cl),u=_a>i?_a:i;i=ce.T;var h=Gt.p;try{Gt.p=u,ce.T=null;var m=sE;sE=null,u=dd;var w=cl;if(pa=cd,Wm=dd=null,cl=0,(Ut&(Ea|jo))!==ja)throw Error("Cannot flush passive effects while already rendering.");uo(w),cE=!0,z1=!1;var T=0;if(hu=null,T=la(),dl===YM)n0(fu,T,oB);else{var D=fu,_=T,Z=dl===oE;!mn||_<=D||(Yn?Yn.run(console.timeStamp.bind(console,Z?"Waiting for Paint":"Waiting",D,_,Nt,Ot,"secondary-light")):console.timeStamp(Z?"Waiting for Paint":"Waiting",D,_,Nt,Ot,"secondary-light"))}D=Ut,Ut|=jo;var P=u.current;_s(),Gp(P);var Y=u.current;P=lE,_s(),P0(u,Y,w,m,P),Pp(u),Ut=D;var se=la();if(Y=T,P=Yn,hu!==null?qb(Y,se,hu,!0,P):!mn||se<=Y||(P?P.run(console.timeStamp.bind(console,"Remaining Effects",Y,se,Nt,Ot,"secondary-dark")):console.timeStamp("Remaining Effects",Y,se,Nt,Ot,"secondary-dark")),Il(w,se),fr(0,!1),z1?u===Ty?uh++:(uh=0,Ty=u):uh=0,z1=cE=!1,In&&typeof In.onPostCommitFiberRoot=="function")try{In.onPostCommitFiberRoot(ru,u)}catch(Le){yr||(yr=!0,console.error("React instrumentation encountered an error: %o",Le))}var Oe=u.current.stateNode;return Oe.effectDuration=0,Oe.passiveEffectDuration=0,!0}finally{Gt.p=h,ce.T=i,lv(e,t)}}function Za(e,t,i){t=Ba(i,t),Ib(t),t=Cp(e.stateNode,t,2),e=Wo(e,t,2),e!==null&&(oo(e,2),ri(e))}function vt(e,t,i){if(eg=!1,e.tag===3)Za(e,e,i);else{for(;t!==null;){if(t.tag===3){Za(t,e,i);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ud===null||!ud.has(u))){e=Ba(i,e),Ib(e),i=kp(2),u=Wo(t,i,2),u!==null&&(Rp(i,u,t,e),oo(u,2),ri(u));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
166
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,ze(t,function(T,D){console.error("%s must not return anything besides a function, which is used for clean-up.%s",T,D)},m,w)}i=i.next}while(i!==h)}}catch(T){vt(t,t.return,T)}}function Yl(e,t,i){try{var u=t.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var m=h.next;u=m;do{if((u.tag&e)===e){var w=u.inst,T=w.destroy;T!==void 0&&(w.destroy=void 0,(e&Ui)!==y1&&(eg=!0),h=t,ze(h,lB,h,i,T),(e&Ui)!==y1&&(eg=!1))}u=u.next}while(u!==m)}}catch(D){vt(t,t.return,D)}}function mf(e,t){sr(e)?(Tn(),Kr(t,e),Va()):Kr(t,e)}function Lp(e,t,i){sr(e)?(Tn(),Yl(i,e,t),Va()):Yl(i,e,t)}function V0(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Fm||(i.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",we(e)||"instance"),i.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",we(e)||"instance"));try{ze(e,oc,t,i)}catch(u){vt(e,e.return,u)}}}function gf(e,t,i){return e.getSnapshotBeforeUpdate(t,i)}function ix(e,t){var i=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Fm||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",we(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",we(e)||"instance"));try{var h=rr(e.type,i),m=ze(e,gf,t,h,u);i=NM,m!==void 0||i.has(e.type)||(i.add(e.type),ze(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",we(e))})),t.__reactInternalSnapshotBeforeUpdate=m}catch(w){vt(e,e.return,w)}}function Up(e,t,i){i.props=rr(e.type,e.memoizedProps),i.state=e.memoizedState,sr(e)?(Tn(),ze(e,eM,e,t,i),Va()):ze(e,eM,e,t,i)}function ox(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}if(typeof t=="function")if(sr(e))try{Tn(),e.refCleanup=t(i)}finally{Va()}else e.refCleanup=t(i);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",we(e)),t.current=i}}function Is(e,t){try{ze(e,ox,e)}catch(i){vt(e,t,i)}}function Pi(e,t){var i=e.ref,u=e.refCleanup;if(i!==null)if(typeof u=="function")try{if(sr(e))try{Tn(),ze(e,u)}finally{Va(e)}else ze(e,u)}catch(h){vt(e,t,h)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{if(sr(e))try{Tn(),ze(e,i,null)}finally{Va(e)}else ze(e,i,null)}catch(h){vt(e,t,h)}else i.current=null}function q0(e,t,i,u){var h=e.memoizedProps,m=h.id,w=h.onCommit;h=h.onRender,t=t===null?"mount":"update",f1&&(t="nested-update"),typeof h=="function"&&h(m,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,i),typeof w=="function"&&w(m,t,u,i)}function rx(e,t,i,u){var h=e.memoizedProps;e=h.id,h=h.onPostCommit,t=t===null?"mount":"update",f1&&(t="nested-update"),typeof h=="function"&&h(e,t,u,i)}function Gl(e){var t=e.type,i=e.memoizedProps,u=e.stateNode;try{ze(e,bx,u,t,i,e)}catch(h){vt(e,e.return,h)}}function Bp(e,t,i){try{ze(e,im,e.stateNode,e.type,i,t,e)}catch(u){vt(e,e.return,u)}}function Y0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Pl(e.type)||e.tag===4}function Hp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Y0(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&&Pl(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 yc(e,t,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(wx(i),(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t)):(wx(i),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=Yi));else if(u!==4&&(u===27&&Pl(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(yc(e,t,i),e=e.sibling;e!==null;)yc(e,t,i),e=e.sibling}function vf(e,t,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(u!==4&&(u===27&&Pl(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(vf(e,t,i),e=e.sibling;e!==null;)vf(e,t,i),e=e.sibling}function G0(e){for(var t,i=e.return;i!==null;){if(Y0(i)){t=i;break}i=i.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,i=Hp(e),vf(e,i,t);break;case 5:i=t.stateNode,t.flags&32&&(om(i),t.flags&=-33),t=Hp(e),vf(e,t,i);break;case 3:case 4:t=t.stateNode.containerInfo,i=Hp(e),yc(e,i,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function X0(e){var t=e.stateNode,i=e.memoizedProps;try{ze(e,gr,e.type,i,t,e)}catch(u){vt(e,e.return,u)}}function $0(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function s2(e,t){if(e=e.containerInfo,yE=Q1,e=ep(e),Jg(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var h=u.anchorOffset,m=u.focusNode;u=u.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var w=0,T=-1,D=-1,_=0,Z=0,P=e,Y=null;t:for(;;){for(var se;P!==i||h!==0&&P.nodeType!==3||(T=w+h),P!==m||u!==0&&P.nodeType!==3||(D=w+u),P.nodeType===3&&(w+=P.nodeValue.length),(se=P.firstChild)!==null;)Y=P,P=se;for(;;){if(P===e)break t;if(Y===i&&++_===h&&(T=w),Y===m&&++Z===u&&(D=w),(se=P.nextSibling)!==null)break;P=Y,Y=P.parentNode}P=se}i=T===-1||D===-1?null:{start:T,end:D}}else i=null}i=i||{start:0,end:0}}else i=null;for(bE={focusedElem:e,selectionRange:i},Q1=!1,Oa=t;Oa!==null;)if(t=Oa,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Oa=e;else for(;Oa!==null;){switch(e=t=Oa,i=e.alternate,h=e.flags,e.tag){case 0:if((h&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)h=e[i],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:(h&1024)!==0&&i!==null&&ix(e,i);break;case 3:if((h&1024)!==0){if(e=e.stateNode.containerInfo,i=e.nodeType,i===9)_c(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":_c(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((h&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Oa=e;break}Oa=t.return}}function Vp(e,t,i){var u=dn(),h=Qi(),m=xi(),w=Ii(),T=i.flags;switch(i.tag){case 0:case 11:case 15:ki(e,i),T&4&&ax(i,Oo|Mr);break;case 1:if(ki(e,i),T&4)if(e=i.stateNode,t===null)i.type.defaultProps||"ref"in i.memoizedProps||Fm||(e.props!==i.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",we(i)||"instance"),e.state!==i.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",we(i)||"instance")),sr(i)?(Tn(),ze(i,V2,i,e),Va()):ze(i,V2,i,e);else{var D=rr(i.type,t.memoizedProps);t=t.memoizedState,i.type.defaultProps||"ref"in i.memoizedProps||Fm||(e.props!==i.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",we(i)||"instance"),e.state!==i.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",we(i)||"instance")),sr(i)?(Tn(),ze(i,KR,i,e,D,t,e.__reactInternalSnapshotBeforeUpdate),Va()):ze(i,KR,i,e,D,t,e.__reactInternalSnapshotBeforeUpdate)}T&64&&V0(i),T&512&&Is(i,i.return);break;case 3:if(t=Ko(),ki(e,i),T&64&&(T=i.updateQueue,T!==null)){if(D=null,i.child!==null)switch(i.child.tag){case 27:case 5:D=i.child.stateNode;break;case 1:D=i.child.stateNode}try{ze(i,oc,T,D)}catch(Z){vt(i,i.return,Z)}}e.effectDuration+=tc(t);break;case 27:t===null&&T&4&&X0(i);case 26:case 5:if(ki(e,i),t===null){if(T&4)Gl(i);else if(T&64){e=i.type,t=i.memoizedProps,D=i.stateNode;try{ze(i,xx,D,e,t,i)}catch(Z){vt(i,i.return,Z)}}}T&512&&Is(i,i.return);break;case 12:if(T&4){T=Ko(),ki(e,i),e=i.stateNode,e.effectDuration+=Ha(T);try{ze(i,q0,i,t,ed,e.effectDuration)}catch(Z){vt(i,i.return,Z)}}else ki(e,i);break;case 31:ki(e,i),T&4&&I0(e,i);break;case 13:ki(e,i),T&4&&Z0(e,i),T&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(T=Wr.bind(null,i),zx(e,T))));break;case 22:if(T=i.memoizedState!==null||bu,!T){t=t!==null&&t.memoizedState!==null||fa,D=bu;var _=fa;bu=T,(fa=t)&&!_?(wo(e,i,(i.subtreeFlags&8772)!==0),(i.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&tp(i,et,it)):ki(e,i),bu=D,fa=_}break;case 30:break;default:ki(e,i)}(i.mode&wt)!==rt&&0<=et&&0<=it&&((Ln||.05<kn)&&co(i,et,it,kn,En),i.alternate===null&&i.return!==null&&i.return.alternate!==null&&.05<it-et&&($0(i.return.alternate,i.return)||Gi(i,et,it,"Mount"))),ta(u),bi(h),En=m,Ln=w}function jn(e){var t=e.alternate;t!==null&&(e.alternate=null,jn(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ee(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function un(e,t,i){for(i=i.child;i!==null;)Q0(e,t,i),i=i.sibling}function Q0(e,t,i){if(In&&typeof In.onCommitFiberUnmount=="function")try{In.onCommitFiberUnmount(ru,i)}catch(_){yr||(yr=!0,console.error("React instrumentation encountered an error: %o",_))}var u=dn(),h=Qi(),m=xi(),w=Ii();switch(i.tag){case 26:fa||Pi(i,t),un(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(e=i.stateNode,e.parentNode.removeChild(e));break;case 27:fa||Pi(i,t);var T=ha,D=to;Pl(i.type)&&(ha=i.stateNode,to=!1),un(e,t,i),ze(i,al,i.stateNode),ha=T,to=D;break;case 5:fa||Pi(i,t);case 6:if(T=ha,D=to,ha=null,un(e,t,i),ha=T,to=D,ha!==null)if(to)try{ze(i,Ex,ha,i.stateNode)}catch(_){vt(i,t,_)}else try{ze(i,Sx,ha,i.stateNode)}catch(_){vt(i,t,_)}break;case 18:ha!==null&&(to?(e=ha,Js(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),nu(e)):Js(ha,i.stateNode));break;case 4:T=ha,D=to,ha=i.stateNode.containerInfo,to=!0,un(e,t,i),ha=T,to=D;break;case 0:case 11:case 14:case 15:Yl(Ui,i,t),fa||Np(i,t,Oo),un(e,t,i);break;case 1:fa||(Pi(i,t),T=i.stateNode,typeof T.componentWillUnmount=="function"&&Up(i,t,T)),un(e,t,i);break;case 21:un(e,t,i);break;case 22:fa=(T=fa)||i.memoizedState!==null,un(e,t,i),fa=T;break;default:un(e,t,i)}(i.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(i,et,it,kn,En),ta(u),bi(h),En=m,Ln=w}function I0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ze(t,rm,e)}catch(i){vt(t,t.return,i)}}}function Z0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ze(t,mv,e)}catch(i){vt(t,t.return,i)}}function lx(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new LM),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new LM),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Xl(e,t){var i=lx(e);t.forEach(function(u){if(!i.has(u)){if(i.add(u),br)if(Pm!==null&&Km!==null)Tc(Km,Pm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var h=Ps.bind(null,e,u);u.then(h,h)}})}function $a(e,t){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var h=e,m=t,w=i[u],T=dn(),D=m;e:for(;D!==null;){switch(D.tag){case 27:if(Pl(D.type)){ha=D.stateNode,to=!1;break e}break;case 5:ha=D.stateNode,to=!1;break e;case 3:case 4:ha=D.stateNode.containerInfo,to=!0;break e}D=D.return}if(ha===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Q0(h,m,w),ha=null,to=!1,(w.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(w,et,it,"Unmount"),ta(T),h=w,m=h.alternate,m!==null&&(m.return=null),h.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)yf(t,e),t=t.sibling}function yf(e,t){var i=dn(),u=Qi(),h=xi(),m=Ii(),w=e.alternate,T=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:$a(t,e),Qa(e),T&4&&(Yl(Ui|Mr,e,e.return),Kr(Ui|Mr,e),Np(e,e.return,Oo|Mr));break;case 1:if($a(t,e),Qa(e),T&512&&(fa||w===null||Pi(w,w.return)),T&64&&bu&&(T=e.updateQueue,T!==null&&(w=T.callbacks,w!==null))){var D=T.shared.hiddenCallbacks;T.shared.hiddenCallbacks=D===null?w:D.concat(w)}break;case 26:if(D=ul,$a(t,e),Qa(e),T&512&&(fa||w===null||Pi(w,w.return)),T&4){var _=w!==null?w.memoizedState:null;if(T=e.memoizedState,w===null)if(T===null)if(e.stateNode===null){e:{T=e.type,w=e.memoizedProps,D=D.ownerDocument||D;t:switch(T){case"title":_=D.getElementsByTagName("title")[0],(!_||_[Qc]||_[pn]||_.namespaceURI===yt||_.hasAttribute("itemprop"))&&(_=D.createElement(T),D.head.insertBefore(_,D.querySelector("head > title"))),hn(_,T,w),_[pn]=e,Ie(_),T=_;break e;case"link":var Z=jc("link","href",D).get(T+(w.href||""));if(Z){for(var P=0;P<Z.length;P++)if(_=Z[P],_.getAttribute("href")===(w.href==null||w.href===""?null:w.href)&&_.getAttribute("rel")===(w.rel==null?null:w.rel)&&_.getAttribute("title")===(w.title==null?null:w.title)&&_.getAttribute("crossorigin")===(w.crossOrigin==null?null:w.crossOrigin)){Z.splice(P,1);break t}}_=D.createElement(T),hn(_,T,w),D.head.appendChild(_);break;case"meta":if(Z=jc("meta","content",D).get(T+(w.content||""))){for(P=0;P<Z.length;P++)if(_=Z[P],Bt(w.content,"content"),_.getAttribute("content")===(w.content==null?null:""+w.content)&&_.getAttribute("name")===(w.name==null?null:w.name)&&_.getAttribute("property")===(w.property==null?null:w.property)&&_.getAttribute("http-equiv")===(w.httpEquiv==null?null:w.httpEquiv)&&_.getAttribute("charset")===(w.charSet==null?null:w.charSet)){Z.splice(P,1);break t}}_=D.createElement(T),hn(_,T,w),D.head.appendChild(_);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+T+'". This is a bug in React.')}_[pn]=e,Ie(_),T=_}e.stateNode=T}else Lx(D,e.type,e.stateNode);else e.stateNode=um(D,T,e.memoizedProps);else _!==T?(_===null?w.stateNode!==null&&(w=w.stateNode,w.parentNode.removeChild(w)):_.count--,T===null?Lx(D,e.type,e.stateNode):um(D,T,e.memoizedProps)):T===null&&e.stateNode!==null&&Bp(e,e.memoizedProps,w.memoizedProps)}break;case 27:$a(t,e),Qa(e),T&512&&(fa||w===null||Pi(w,w.return)),w!==null&&T&4&&Bp(e,e.memoizedProps,w.memoizedProps);break;case 5:if($a(t,e),Qa(e),T&512&&(fa||w===null||Pi(w,w.return)),e.flags&32){D=e.stateNode;try{ze(e,om,D)}catch(Le){vt(e,e.return,Le)}}T&4&&e.stateNode!=null&&(D=e.memoizedProps,Bp(e,D,w!==null?w.memoizedProps:D)),T&1024&&(W2=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if($a(t,e),Qa(e),T&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");T=e.memoizedProps,w=w!==null?w.memoizedProps:T,D=e.stateNode;try{ze(e,u2,D,w,T)}catch(Le){vt(e,e.return,Le)}}break;case 3:if(D=Ko(),G1=null,_=ul,ul=lm(t.containerInfo),$a(t,e),ul=_,Qa(e),T&4&&w!==null&&w.memoizedState.isDehydrated)try{ze(e,pv,t.containerInfo)}catch(Le){vt(e,e.return,Le)}W2&&(W2=!1,sx(e)),t.effectDuration+=tc(D);break;case 4:T=ul,ul=lm(e.stateNode.containerInfo),$a(t,e),Qa(e),ul=T;break;case 12:T=Ko(),$a(t,e),Qa(e),e.stateNode.effectDuration+=Ha(T);break;case 31:$a(t,e),Qa(e),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,Xl(e,T)));break;case 13:$a(t,e),Qa(e),e.child.flags&8192&&e.memoizedState!==null!=(w!==null&&w.memoizedState!==null)&&(R1=la()),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,Xl(e,T)));break;case 22:D=e.memoizedState!==null;var Y=w!==null&&w.memoizedState!==null,se=bu,Oe=fa;if(bu=se||D,fa=Oe||Y,$a(t,e),fa=Oe,bu=se,Y&&!D&&!se&&!Oe&&(e.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&tp(e,et,it),Qa(e),T&8192)e:for(t=e.stateNode,t._visibility=D?t._visibility&~Pv:t._visibility|Pv,!D||w===null||Y||bu||fa||($l(e),(e.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(e,et,it,"Disconnect")),w=null,t=e;;){if(t.tag===5||t.tag===26){if(w===null){Y=w=t;try{_=Y.stateNode,D?ze(Y,Ax,_):ze(Y,Rx,Y.stateNode,Y.memoizedProps)}catch(Le){vt(Y,Y.return,Le)}}}else if(t.tag===6){if(w===null){Y=t;try{Z=Y.stateNode,D?ze(Y,Cx,Z):ze(Y,Mx,Z,Y.memoizedProps)}catch(Le){vt(Y,Y.return,Le)}}}else if(t.tag===18){if(w===null){Y=t;try{P=Y.stateNode,D?ze(Y,Tx,P):ze(Y,kx,Y.stateNode)}catch(Le){vt(Y,Y.return,Le)}}}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;w===t&&(w=null),t=t.return}w===t&&(w=null),t.sibling.return=t.return,t=t.sibling}T&4&&(T=e.updateQueue,T!==null&&(w=T.retryQueue,w!==null&&(T.retryQueue=null,Xl(e,w))));break;case 19:$a(t,e),Qa(e),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,Xl(e,T)));break;case 30:break;case 21:break;default:$a(t,e),Qa(e)}(e.mode&wt)!==rt&&0<=et&&0<=it&&((Ln||.05<kn)&&co(e,et,it,kn,En),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<it-et&&($0(e.return.alternate,e.return)||Gi(e,et,it,"Mount"))),ta(i),bi(u),En=h,Ln=m}function Qa(e){var t=e.flags;if(t&2){try{ze(e,G0,e)}catch(i){vt(e,e.return,i)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function sx(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;sx(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ki(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Vp(e,t.alternate,t),t=t.sibling}function qp(e){var t=dn(),i=Qi(),u=xi(),h=Ii();switch(e.tag){case 0:case 11:case 14:case 15:Np(e,e.return,Oo),$l(e);break;case 1:Pi(e,e.return);var m=e.stateNode;typeof m.componentWillUnmount=="function"&&Up(e,e.return,m),$l(e);break;case 27:ze(e,al,e.stateNode);case 26:case 5:Pi(e,e.return),$l(e);break;case 22:e.memoizedState===null&&$l(e);break;case 30:$l(e);break;default:$l(e)}(e.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(e,et,it,kn,En),ta(t),bi(i),En=u,Ln=h}function $l(e){for(e=e.child;e!==null;)qp(e),e=e.sibling}function F0(e,t,i,u){var h=dn(),m=Qi(),w=xi(),T=Ii(),D=i.flags;switch(i.tag){case 0:case 11:case 15:wo(e,i,u),ax(i,Oo);break;case 1:if(wo(e,i,u),t=i.stateNode,typeof t.componentDidMount=="function"&&ze(i,V2,i,t),t=i.updateQueue,t!==null){e=i.stateNode;try{ze(i,g0,t,e)}catch(_){vt(i,i.return,_)}}u&&D&64&&V0(i),Is(i,i.return);break;case 27:X0(i);case 26:case 5:wo(e,i,u),u&&t===null&&D&4&&Gl(i),Is(i,i.return);break;case 12:if(u&&D&4){D=Ko(),wo(e,i,u),u=i.stateNode,u.effectDuration+=Ha(D);try{ze(i,q0,i,t,ed,u.effectDuration)}catch(_){vt(i,i.return,_)}}else wo(e,i,u);break;case 31:wo(e,i,u),u&&D&4&&I0(e,i);break;case 13:wo(e,i,u),u&&D&4&&Z0(e,i);break;case 22:i.memoizedState===null&&wo(e,i,u),Is(i,i.return);break;case 30:break;default:wo(e,i,u)}(i.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(i,et,it,kn,En),ta(h),bi(m),En=w,Ln=T}function wo(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)F0(e,t.alternate,t,i),t=t.sibling}function bf(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&&Ds(e),i!=null&&Xd(i))}function xf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Ds(t),e!=null&&Xd(e))}function Ri(e,t,i,u,h){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var m=t.sibling;P0(e,t,i,u,m!==null?m.actualStartTime:h),t=m}}function P0(e,t,i,u,h){var m=dn(),w=Qi(),T=xi(),D=Ii(),_=Pc,Z=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&wt)!==rt&&0<t.actualStartTime&&(t.flags&1)!==0&&np(t,t.actualStartTime,h,Sa,i),Ri(e,t,i,u,h),Z&2048&&mf(t,Bi|Mr);break;case 1:(t.mode&wt)!==rt&&0<t.actualStartTime&&((t.flags&128)!==0?e0(t,t.actualStartTime,h,[]):(t.flags&1)!==0&&np(t,t.actualStartTime,h,Sa,i)),Ri(e,t,i,u,h);break;case 3:var P=Ko(),Y=Sa;Sa=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Ri(e,t,i,u,h),Sa=Y,Z&2048&&(i=null,t.alternate!==null&&(i=t.alternate.memoizedState.cache),u=t.memoizedState.cache,u!==i&&(Ds(u),i!=null&&Xd(i))),e.passiveEffectDuration+=tc(P);break;case 12:if(Z&2048){Z=Ko(),Ri(e,t,i,u,h),e=t.stateNode,e.passiveEffectDuration+=Ha(Z);try{ze(t,rx,t,t.alternate,ed,e.passiveEffectDuration)}catch(se){vt(t,t.return,se)}}else Ri(e,t,i,u,h);break;case 31:Z=Sa,P=t.alternate!==null?t.alternate.memoizedState:null,Y=t.memoizedState,P!==null&&Y===null?(Y=t.deletions,Y!==null&&0<Y.length&&Y[0].tag===18?(Sa=!1,P=P.hydrationErrors,P!==null&&e0(t,t.actualStartTime,h,P)):Sa=!0):Sa=!1,Ri(e,t,i,u,h),Sa=Z;break;case 13:Z=Sa,P=t.alternate!==null?t.alternate.memoizedState:null,Y=t.memoizedState,P===null||P.dehydrated===null||Y!==null&&Y.dehydrated!==null?Sa=!1:(Y=t.deletions,Y!==null&&0<Y.length&&Y[0].tag===18?(Sa=!1,P=P.hydrationErrors,P!==null&&e0(t,t.actualStartTime,h,P)):Sa=!0),Ri(e,t,i,u,h),Sa=Z;break;case 23:break;case 22:Y=t.stateNode,P=t.alternate,t.memoizedState!==null?Y._visibility&uu?Ri(e,t,i,u,h):Zs(e,t,i,u,h):Y._visibility&uu?Ri(e,t,i,u,h):(Y._visibility|=uu,Ql(e,t,i,u,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),h),(t.mode&wt)===rt||Sa||(e=t.actualStartTime,0<=e&&.05<h-e&&tp(t,e,h),0<=et&&0<=it&&.05<it-et&&tp(t,et,it))),Z&2048&&bf(P,t);break;case 24:Ri(e,t,i,u,h),Z&2048&&xf(t.alternate,t);break;default:Ri(e,t,i,u,h)}(t.mode&wt)!==rt&&((e=!Sa&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(i=t.actualStartTime,0<=i&&.05<h-i&&Gi(t,i,h,"Mount")),0<=et&&0<=it&&((Ln||.05<kn)&&co(t,et,it,kn,En),e&&.05<it-et&&Gi(t,et,it,"Mount"))),ta(m),bi(w),En=T,Ln=D,Pc=_}function Ql(e,t,i,u,h,m){for(h=h&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var w=t.sibling;wf(e,t,i,u,h,w!==null?w.actualStartTime:m),t=w}}function wf(e,t,i,u,h,m){var w=dn(),T=Qi(),D=xi(),_=Ii(),Z=Pc;h&&(t.mode&wt)!==rt&&0<t.actualStartTime&&(t.flags&1)!==0&&np(t,t.actualStartTime,m,Sa,i);var P=t.flags;switch(t.tag){case 0:case 11:case 15:Ql(e,t,i,u,h,m),mf(t,Bi);break;case 23:break;case 22:var Y=t.stateNode;t.memoizedState!==null?Y._visibility&uu?Ql(e,t,i,u,h,m):Zs(e,t,i,u,m):(Y._visibility|=uu,Ql(e,t,i,u,h,m)),h&&P&2048&&bf(t.alternate,t);break;case 24:Ql(e,t,i,u,h,m),h&&P&2048&&xf(t.alternate,t);break;default:Ql(e,t,i,u,h,m)}(t.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(t,et,it,kn,En),ta(w),bi(T),En=D,Ln=_,Pc=Z}function Zs(e,t,i,u,h){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var m=t.child;m!==null;){t=m.sibling;var w=e,T=i,D=u,_=t!==null?t.actualStartTime:h,Z=Pc;(m.mode&wt)!==rt&&0<m.actualStartTime&&(m.flags&1)!==0&&np(m,m.actualStartTime,_,Sa,T);var P=m.flags;switch(m.tag){case 22:Zs(w,m,T,D,_),P&2048&&bf(m.alternate,m);break;case 24:Zs(w,m,T,D,_),P&2048&&xf(m.alternate,m);break;default:Zs(w,m,T,D,_)}Pc=Z,m=t}}function Fs(e,t,i){if(e.subtreeFlags&gy)for(e=e.child;e!==null;)Yp(e,t,i),e=e.sibling}function Yp(e,t,i){switch(e.tag){case 26:Fs(e,t,i),e.flags&gy&&e.memoizedState!==null&&xv(i,ul,e.memoizedState,e.memoizedProps);break;case 5:Fs(e,t,i);break;case 3:case 4:var u=ul;ul=lm(e.stateNode.containerInfo),Fs(e,t,i),ul=u;break;case 22:e.memoizedState===null&&(u=e.alternate,u!==null&&u.memoizedState!==null?(u=gy,gy=16777216,Fs(e,t,i),gy=u):Fs(e,t,i));break;default:Fs(e,t,i)}}function K0(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 Mi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var u=t[i],h=dn();Oa=u,ur(u,e),(u.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(u,et,it,"Unmount"),ta(h)}K0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Gp(e),e=e.sibling}function Gp(e){var t=dn(),i=Qi(),u=xi(),h=Ii();switch(e.tag){case 0:case 11:case 15:Mi(e),e.flags&2048&&Lp(e,e.return,Bi|Mr);break;case 3:var m=Ko();Mi(e),e.stateNode.passiveEffectDuration+=tc(m);break;case 12:m=Ko(),Mi(e),e.stateNode.passiveEffectDuration+=Ha(m);break;case 22:m=e.stateNode,e.memoizedState!==null&&m._visibility&uu&&(e.return===null||e.return.tag!==13)?(m._visibility&=~uu,Xp(e),(e.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(e,et,it,"Disconnect")):Mi(e);break;default:Mi(e)}(e.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(e,et,it,kn,En),ta(t),bi(i),Ln=h,En=u}function Xp(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var u=t[i],h=dn();Oa=u,ur(u,e),(u.mode&wt)!==rt&&0<=et&&0<=it&&.05<it-et&&Gi(u,et,it,"Unmount"),ta(h)}K0(e)}for(e=e.child;e!==null;)J0(e),e=e.sibling}function J0(e){var t=dn(),i=Qi(),u=xi(),h=Ii();switch(e.tag){case 0:case 11:case 15:Lp(e,e.return,Bi),Xp(e);break;case 22:var m=e.stateNode;m._visibility&uu&&(m._visibility&=~uu,Xp(e));break;default:Xp(e)}(e.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(e,et,it,kn,En),ta(t),bi(i),Ln=h,En=u}function ur(e,t){for(;Oa!==null;){var i=Oa,u=i,h=t,m=dn(),w=Qi(),T=xi(),D=Ii();switch(u.tag){case 0:case 11:case 15:Lp(u,h,Bi);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(h=u.memoizedState.cachePool.pool,h!=null&&Ds(h));break;case 24:Xd(u.memoizedState.cache)}if((u.mode&wt)!==rt&&0<=et&&0<=it&&(Ln||.05<kn)&&co(u,et,it,kn,En),ta(m),bi(w),Ln=D,En=T,u=i.child,u!==null)u.return=i,Oa=u;else e:for(i=e;Oa!==null;){if(u=Oa,m=u.sibling,w=u.return,jn(u),u===i){Oa=null;break e}if(m!==null){m.return=w,Oa=m;break e}Oa=w}}}function W0(){fB.forEach(function(e){return e()})}function ev(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||ce.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Ma(e){if((Ut&Ea)!==ja&&Et!==0)return Et&-Et;var t=ce.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),cv()):bl()}function bc(){if(ao===0)if((Et&536870912)===0||zt){var e=Xf;Xf<<=1,(Xf&3932160)===0&&(Xf=262144),ao=e}else ao=536870912;return e=zo.current,e!==null&&(e.flags|=32),ao}function lt(e,t,i){if(eg&&console.error("useInsertionEffect must not schedule updates."),cE&&(z1=!0),(e===sn&&(tn===rh||tn===lh)||e.cancelPendingCommit!==null)&&(cr(e,0),Ki(e,Et,ao,!1)),oo(e,i),(Ut&Ea)!==ja&&e===sn){if(vr)switch(t.tag){case 0:case 11:case 15:e=kt&&we(kt)||"Unknown",KM.has(e)||(KM.add(e),t=we(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:PM||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),PM=!0)}}else br&&Gn(e,t,i),Af(t),e===sn&&((Ut&Ea)===ja&&(sd|=i),Rn===od&&Ki(e,Et,ao,!1)),ri(e)}function ux(e,t,i){if((Ut&(Ea|jo))!==ja)throw Error("Should not already be working.");if(Et!==0&&kt!==null){var u=kt,h=la();switch(GR){case by:case rh:var m=ny;mn&&((u=u._debugTask)?u.run(console.timeStamp.bind(console,"Suspended",m,h,wr,void 0,"primary-light")):console.timeStamp("Suspended",m,h,wr,void 0,"primary-light"));break;case lh:m=ny,mn&&((u=u._debugTask)?u.run(console.timeStamp.bind(console,"Action",m,h,wr,void 0,"primary-light")):console.timeStamp("Action",m,h,wr,void 0,"primary-light"));break;default:mn&&(u=h-ny,3>u||console.timeStamp("Blocked",ny,h,wr,void 0,5>u?"primary-light":10>u?"primary":100>u?"primary-dark":"error"))}}m=(i=!i&&(t&127)===0&&(t&e.expiredLanes)===0||Bn(e,t))?Jr(e,t):Sc(e,t,!0);var w=i;do{if(m===xu){Jm&&!i&&Ki(e,t,0,!1),t=tn,ny=ua(),GR=t;break}else{if(u=la(),h=e.current.alternate,w&&!dx(h)){uo(t),h=za,m=u,!mn||m<=h||(Yn?Yn.run(console.timeStamp.bind(console,"Teared Render",h,m,Nt,Ot,"error")):console.timeStamp("Teared Render",h,m,Nt,Ot,"error")),Il(t,u),m=Sc(e,t,!1),w=!1;continue}if(m===oh){if(w=t,e.errorRecoveryDisabledLanes&w)var T=0;else T=e.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){uo(t),t0(za,u,t,Yn),Il(t,u),t=T;e:{u=e,m=w,w=wy;var D=u.current.memoizedState.isDehydrated;if(D&&(cr(u,T).flags|=256),T=Sc(u,T,!1),T!==oh){if(nE&&!D){u.errorRecoveryDisabledLanes|=m,sd|=m,m=od;break e}u=Hi,Hi=w,u!==null&&(Hi===null?Hi=u:Hi.push.apply(Hi,u))}m=T}if(w=!1,m!==oh)continue;u=la()}}if(m===yy){uo(t),t0(za,u,t,Yn),Il(t,u),cr(e,0),Ki(e,t,0,!0);break}e:{switch(i=e,m){case xu:case yy:throw Error("Root did not complete. This is a bug in React.");case od:if((t&4194048)!==t)break;case T1:uo(t),Hb(za,u,t,Yn),Il(t,u),h=t,(h&127)!==0?u1=u:(h&4194048)!==0&&(c1=u),Ki(i,t,ao,!rd);break e;case oh:Hi=null;break;case E1:case UM:break;default:throw Error("Unknown root exit status.")}if(ce.actQueue!==null)on(i,h,t,Hi,Sy,k1,ao,sd,sh,m,null,null,za,u);else{if((t&62914560)===t&&(w=R1+VM-la(),10<w)){if(Ki(i,t,ao,!rd),ps(i,0,!0)!==0)break e;cl=t,i.timeoutHandle=o3(cx.bind(null,i,h,Hi,Sy,k1,t,ao,sd,sh,rd,m,"Throttled",za,u),w);break e}cx(i,h,Hi,Sy,k1,t,ao,sd,sh,rd,m,null,za,u)}}}break}while(!0);ri(e)}function cx(e,t,i,u,h,m,w,T,D,_,Z,P,Y,se){e.timeoutHandle=hh;var Oe=t.subtreeFlags,Le=null;if((Oe&8192||(Oe&16785408)===16785408)&&(Le={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yi},Yp(t,m,Le),Oe=(m&62914560)===m?R1-la():(m&4194048)===m?HM-la():0,Oe=cm(Le,Oe),Oe!==null)){cl=m,e.cancelPendingCommit=Oe(on.bind(null,e,t,m,i,u,h,w,T,D,Z,Le,Le.waitingForViewTransition?"Waiting for the previous Animation":0<Le.count?0<Le.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Le.imgCount===1?"Suspended on an Image":0<Le.imgCount?"Suspended on Images":null,Y,se)),Ki(e,m,w,!_);return}on(e,t,m,i,u,h,w,T,D,Z,Le,P,Y,se)}function dx(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 u=0;u<i.length;u++){var h=i[u],m=h.getSnapshot;h=h.value;try{if(!Ni(m(),h))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,u){t&=~aE,t&=~sd,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var h=t;0<h;){var m=31-xa(h),w=1<<m;u[m]=-1,h&=~w}i!==0&&Vu(e,i,t)}function Di(){return(Ut&(Ea|jo))===ja?(fr(0),!1):!0}function $p(){if(kt!==null){if(tn===no)var e=kt.return;else e=kt,Wu(),zl(e),Gm=null,dy=0,e=kt;for(;e!==null;)H0(e.alternate,e),e=e.return;kt=null}}function Il(e,t){(e&127)!==0&&(Pf=t),(e&4194048)!==0&&(pu=t),(e&62914560)!==0&&(qR=t),(e&2080374784)!==0&&(YR=t)}function cr(e,t){mn&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Ot,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Ot,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Ot,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Ot,"primary-light"));var i=za;if(za=ua(),Et!==0&&0<i){if(uo(Et),Rn===E1||Rn===od)Hb(i,za,t,Yn);else{var u=za,h=Yn;if(mn&&!(u<=i)){var m=(t&738197653)===t?"tertiary-dark":"primary-dark",w=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";h?h.run(console.timeStamp.bind(console,w,i,u,Nt,Ot,m)):console.timeStamp(w,i,u,Nt,Ot,m)}}Il(Et,za)}if(i=Yn,Yn=null,(t&127)!==0){Yn=Wv,h=0<=is&&is<Pf?Pf:is,u=0<=Kf&&Kf<Pf?Pf:Kf,m=0<=u?u:0<=h?h:za,0<=u1?(uo(2),Vb(u1,m,t,i)):d1&127,i=h;var T=u,D=ey,_=0<Vm,Z=td===Jv,P=td===s1;if(h=za,u=Wv,m=N2,w=L2,mn){if(Nt="Blocking",0<i?i>h&&(i=h):i=h,0<T?T>i&&(T=i):T=i,D!==null&&i>T){var Y=_?"secondary-light":"warning";u?u.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+D,T,i,Nt,Ot,Y)):console.timeStamp(_?"Consecutive":"Event: "+D,T,i,Nt,Ot,Y)}h>i&&(T=Z?"error":(t&738197653)===t?"tertiary-light":"primary-light",Z=P?"Promise Resolved":Z?"Cascading Update":5<h-i?"Update Blocked":"Update",P=[],w!=null&&P.push(["Component name",w]),m!=null&&P.push(["Method name",m]),i={start:i,end:h,detail:{devtools:{properties:P,track:Nt,trackGroup:Ot,color:T}}},u?u.run(performance.measure.bind(performance,Z,i)):performance.measure(Z,i))}is=-1.1,td=0,L2=N2=null,u1=-1.1,Vm=Kf,Kf=-1.1,Pf=ua()}if((t&4194048)!==0&&(Yn=ty,h=0<=mu&&mu<pu?pu:mu,i=0<=kr&&kr<pu?pu:kr,u=0<=nd&&nd<pu?pu:nd,m=0<=u?u:0<=i?i:za,0<=c1?(uo(256),Vb(c1,m,t,Yn)):d1&4194048,P=u,T=Jf,D=0<ad,_=U2===s1,m=za,u=ty,w=HR,Z=VR,mn&&(Nt="Transition",0<i?i>m&&(i=m):i=m,0<h?h>i&&(h=i):h=i,0<P?P>h&&(P=h):P=h,h>P&&T!==null&&(Y=D?"secondary-light":"warning",u?u.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+T,P,h,Nt,Ot,Y)):console.timeStamp(D?"Consecutive":"Event: "+T,P,h,Nt,Ot,Y)),i>h&&(u?u.run(console.timeStamp.bind(console,"Action",h,i,Nt,Ot,"primary-dark")):console.timeStamp("Action",h,i,Nt,Ot,"primary-dark")),m>i&&(h=_?"Promise Resolved":5<m-i?"Update Blocked":"Update",P=[],Z!=null&&P.push(["Component name",Z]),w!=null&&P.push(["Method name",w]),i={start:i,end:m,detail:{devtools:{properties:P,track:Nt,trackGroup:Ot,color:"primary-light"}}},u?u.run(performance.measure.bind(performance,h,i)):performance.measure(h,i))),kr=mu=-1.1,U2=0,c1=-1.1,ad=nd,nd=-1.1,pu=ua()),(t&62914560)!==0&&(d1&62914560)!==0&&(uo(4194304),n0(qR,za)),(t&2080374784)!==0&&(d1&2080374784)!==0&&(uo(268435456),n0(YR,za)),i=e.timeoutHandle,i!==hh&&(e.timeoutHandle=hh,AB(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),cl=0,$p(),sn=e,kt=i=Fo(e.current,null),Et=t,tn=no,No=null,rd=!1,Jm=Bn(e,t),nE=!1,Rn=xu,sh=ao=aE=sd=ld=0,Hi=wy=null,k1=!1,(t&8)!==0&&(t|=t&32),u=e.entangledLanes,u!==0)for(e=e.entanglements,u&=t;0<u;)h=31-xa(u),m=1<<h,t|=e[h],u&=~m;return rs=t,ap(),e=OR(),1e3<e-zR&&(ce.recentlyCreatedOwnerStacks=0,zR=e),ll.discardPendingWarnings(),i}function So(e,t){ct=null,ce.H=my,ce.getCurrentStack=null,vr=!1,ci=null,t===Ym||t===m1?(t=Os(),tn=by):t===q2?(t=Os(),tn=BM):tn=t===K2?tE:t!==null&&typeof t=="object"&&typeof t.then=="function"?xy:A1,No=t;var i=kt;i===null?(Rn=yy,cf(e,Ba(t,e.current))):i.mode&wt&&cp(i)}function tv(){var e=zo.current;return e===null?!0:(Et&4194048)===Et?Rr===null:(Et&62914560)===Et||(Et&536870912)!==0?e===Rr:!1}function Qp(){var e=ce.H;return ce.H=my,e===null?my:e}function nv(){var e=ce.A;return ce.A=dB,e}function xc(e){Yn===null&&(Yn=e._debugTask==null?null:e._debugTask)}function wc(){Rn=od,rd||(Et&4194048)!==Et&&zo.current!==null||(Jm=!0),(ld&134217727)===0&&(sd&134217727)===0||sn===null||Ki(sn,Et,ao,!1)}function Sc(e,t,i){var u=Ut;Ut|=Ea;var h=Qp(),m=nv();if(sn!==e||Et!==t){if(br){var w=e.memoizedUpdaters;0<w.size&&(Tc(e,Et),w.clear()),mi(e,t)}Sy=null,cr(e,t)}t=!1,w=Rn;e:do try{if(tn!==no&&kt!==null){var T=kt,D=No;switch(tn){case tE:$p(),w=T1;break e;case by:case rh:case lh:case xy:zo.current===null&&(t=!0);var _=tn;if(tn=no,No=null,Ec(e,T,D,_),i&&Jm){w=xu;break e}break;default:_=tn,tn=no,No=null,Ec(e,T,D,_)}}av(),w=Rn;break}catch(Z){So(e,Z)}while(!0);return t&&e.shellSuspendCounter++,Wu(),Ut=u,ce.H=h,ce.A=m,kt===null&&(sn=null,Et=0,ap()),w}function av(){for(;kt!==null;)Ip(kt)}function Jr(e,t){var i=Ut;Ut|=Ea;var u=Qp(),h=nv();if(sn!==e||Et!==t){if(br){var m=e.memoizedUpdaters;0<m.size&&(Tc(e,Et),m.clear()),mi(e,t)}Sy=null,M1=la()+qM,cr(e,t)}else Jm=Bn(e,t);e:do try{if(tn!==no&&kt!==null)t:switch(t=kt,m=No,tn){case A1:tn=no,No=null,Ec(e,t,m,A1);break;case rh:case lh:if(p0(m)){tn=no,No=null,iv(t);break}t=function(){tn!==rh&&tn!==lh||sn!==e||(tn=C1),ri(e)},m.then(t,t);break e;case by:tn=C1;break e;case BM:tn=eE;break e;case C1:p0(m)?(tn=no,No=null,iv(t)):(tn=no,No=null,Ec(e,t,m,C1));break;case eE:var w=null;switch(kt.tag){case 26:w=kt.memoizedState;case 5:case 27:var T=kt;if(w?Rt(w):T.stateNode.complete){tn=no,No=null;var D=T.sibling;if(D!==null)kt=D;else{var _=T.return;_!==null?(kt=_,Sf(_)):kt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}tn=no,No=null,Ec(e,t,m,eE);break;case xy:tn=no,No=null,Ec(e,t,m,xy);break;case tE:$p(),Rn=T1;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ce.actQueue!==null?av():Vn();break}catch(Z){So(e,Z)}while(!0);return Wu(),ce.H=u,ce.A=h,Ut=i,kt!==null?xu:(sn=null,Et=0,ap(),Rn)}function Vn(){for(;kt!==null&&!wm();)Ip(kt)}function Ip(e){var t=e.alternate;(e.mode&wt)!==rt?(qr(e),t=ze(e,pf,t,e,rs),cp(e)):t=ze(e,pf,t,e,rs),e.memoizedProps=e.pendingProps,t===null?Sf(e):kt=t}function iv(e){var t=ze(e,ra,e);e.memoizedProps=e.pendingProps,t===null?Sf(e):kt=t}function ra(e){var t=e.alternate,i=(e.mode&wt)!==rt;switch(i&&qr(e),e.tag){case 15:case 0:t=O0(t,e,e.pendingProps,e.type,void 0,Et);break;case 11:t=O0(t,e,e.pendingProps,e.type.render,e.ref,Et);break;case 5:zl(e);default:H0(t,e),e=kt=r0(e,rs),t=pf(t,e,rs)}return i&&cp(e),t}function Ec(e,t,i,u){Wu(),zl(t),Gm=null,dy=0;var h=t.return;try{if(C0(e,h,t,i,Et)){Rn=yy,cf(e,Ba(i,e.current)),kt=null;return}}catch(m){if(h!==null)throw kt=h,m;Rn=yy,cf(e,Ba(i,e.current)),kt=null;return}t.flags&32768?(zt||u===A1?e=!0:Jm||(Et&536870912)!==0?e=!1:(rd=e=!0,(u===rh||u===lh||u===by||u===xy)&&(u=zo.current,u!==null&&u.tag===13&&(u.flags|=16384))),ov(t,e)):Sf(t)}function Sf(e){var t=e;do{if((t.flags&32768)!==0){ov(t,rd);return}var i=t.alternate;if(e=t.return,qr(t),i=ze(t,B0,i,t,rs),(t.mode&wt)!==rt&&$d(t),i!==null){kt=i;return}if(t=t.sibling,t!==null){kt=t;return}kt=t=e}while(t!==null);Rn===xu&&(Rn=UM)}function ov(e,t){do{var i=nx(e.alternate,e);if(i!==null){i.flags&=32767,kt=i;return}if((e.mode&wt)!==rt){$d(e),i=e.actualDuration;for(var u=e.child;u!==null;)i+=u.actualDuration,u=u.sibling;e.actualDuration=i}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){kt=e;return}kt=e=i}while(e!==null);Rn=T1,kt=null}function on(e,t,i,u,h,m,w,T,D,_,Z,P,Y,se){e.cancelPendingCommit=null;do Ef();while(pa!==cd);if(ll.flushLegacyContextWarning(),ll.flushPendingUnsafeLifecycleWarnings(),(Ut&(Ea|jo))!==ja)throw Error("Should not already be working.");if(uo(i),_===oh?t0(Y,se,i,Yn):u!==null?i2(Y,se,i,u,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Yn):a2(Y,se,i,Yn),t!==null){if(i===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(m=t.lanes|t.childLanes,m|=D2,Hh(e,i,m,w,T,D),e===sn&&(kt=sn=null,Et=0),Wm=t,dd=e,cl=i,rE=m,sE=h,IM=u,lE=se,ZM=P,dl=D1,FM=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ac(ou,function(){return Ry=window.event,dl===D1&&(dl=oE),Tf(),null})):(e.callbackNode=null,e.callbackPriority=0),hu=null,ed=ua(),P!==null&&o2(se,ed,P,Yn),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=ce.T,ce.T=null,h=Gt.p,Gt.p=Zn,w=Ut,Ut|=jo;try{s2(e,t,i)}finally{Ut=w,Gt.p=h,ce.T=u}}pa=GM,Ia(),dr(),rv()}}function Ia(){if(pa===GM){pa=cd;var e=dd,t=Wm,i=cl,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=ce.T,ce.T=null;var h=Gt.p;Gt.p=Zn;var m=Ut;Ut|=jo;try{Pm=i,Km=e,_s(),yf(t,e),Km=Pm=null,i=bE;var w=ep(e.containerInfo),T=i.focusedElem,D=i.selectionRange;if(w!==T&&T&&T.ownerDocument&&Nb(T.ownerDocument.documentElement,T)){if(D!==null&&Jg(T)){var _=D.start,Z=D.end;if(Z===void 0&&(Z=_),"selectionStart"in T)T.selectionStart=_,T.selectionEnd=Math.min(Z,T.value.length);else{var P=T.ownerDocument||document,Y=P&&P.defaultView||window;if(Y.getSelection){var se=Y.getSelection(),Oe=T.textContent.length,Le=Math.min(D.start,Oe),cn=D.end===void 0?Le:Math.min(D.end,Oe);!se.extend&&Le>cn&&(w=cn,cn=Le,Le=w);var jt=jb(T,Le),V=jb(T,cn);if(jt&&V&&(se.rangeCount!==1||se.anchorNode!==jt.node||se.anchorOffset!==jt.offset||se.focusNode!==V.node||se.focusOffset!==V.offset)){var G=P.createRange();G.setStart(jt.node,jt.offset),se.removeAllRanges(),Le>cn?(se.addRange(G),se.extend(V.node,V.offset)):(G.setEnd(V.node,V.offset),se.addRange(G))}}}}for(P=[],se=T;se=se.parentNode;)se.nodeType===1&&P.push({element:se,left:se.scrollLeft,top:se.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<P.length;T++){var I=P[T];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}Q1=!!yE,bE=yE=null}finally{Ut=m,Gt.p=h,ce.T=u}}e.current=t,pa=XM}}function dr(){if(pa===XM){pa=cd;var e=FM;if(e!==null){ed=ua();var t=fu,i=ed;!mn||i<=t||console.timeStamp(e,t,i,Nt,Ot,"secondary-light")}e=dd,t=Wm,i=cl;var u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=ce.T,ce.T=null;var h=Gt.p;Gt.p=Zn;var m=Ut;Ut|=jo;try{Pm=i,Km=e,_s(),Vp(e,t.alternate,t),Km=Pm=null}finally{Ut=m,Gt.p=h,ce.T=u}}e=lE,t=ZM,fu=ua(),e=t===null?e:ed,t=fu,i=dl===iE,u=Yn,hu!==null?qb(e,t,hu,!1,u):!mn||t<=e||(u?u.run(console.timeStamp.bind(console,i?"Commit Interrupted View Transition":"Commit",e,t,Nt,Ot,i?"error":"secondary-dark")):console.timeStamp(i?"Commit Interrupted View Transition":"Commit",e,t,Nt,Ot,i?"error":"secondary-dark")),pa=$M}}function rv(){if(pa===QM||pa===$M){if(pa===QM){var e=fu;fu=ua();var t=fu,i=dl===iE;!mn||t<=e||console.timeStamp(i?"Interrupted View Transition":"Starting Animation",e,t,Nt,Ot,i?" error":"secondary-light"),dl!==iE&&(dl=YM)}pa=cd,Sm(),e=dd;var u=Wm;t=cl,i=IM;var h=u.actualDuration!==0||(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0;h?pa=_1:(pa=cd,Wm=dd=null,lv(e,e.pendingLanes),uh=0,Ty=null);var m=e.pendingLanes;if(m===0&&(ud=null),h||Pp(e),m=Wn(t),u=u.stateNode,In&&typeof In.onCommitFiberRoot=="function")try{var w=(u.current.flags&128)===128;switch(m){case Zn:var T=Uv;break;case wa:T=Em;break;case _a:T=ou;break;case ts:T=Tm;break;default:T=ou}In.onCommitFiberRoot(ru,u,T,w)}catch(P){yr||(yr=!0,console.error("React instrumentation encountered an error: %o",P))}if(br&&e.memoizedUpdaters.clear(),W0(),i!==null){w=ce.T,T=Gt.p,Gt.p=Zn,ce.T=null;try{var D=e.onRecoverableError;for(u=0;u<i.length;u++){var _=i[u],Z=fx(_.stack);ze(_.source,D,_.value,Z)}}finally{ce.T=w,Gt.p=T}}(cl&3)!==0&&Ef(),ri(e),m=e.pendingLanes,(t&261930)!==0&&(m&42)!==0?(h1=!0,e===uE?Ey++:(Ey=0,uE=e)):Ey=0,h||Il(t,fu),fr(0)}}function fx(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function lv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Xd(t)))}function Ef(){return Ia(),dr(),rv(),Tf()}function Tf(){if(pa!==_1)return!1;var e=dd,t=rE;rE=0;var i=Wn(cl),u=_a>i?_a:i;i=ce.T;var h=Gt.p;try{Gt.p=u,ce.T=null;var m=sE;sE=null,u=dd;var w=cl;if(pa=cd,Wm=dd=null,cl=0,(Ut&(Ea|jo))!==ja)throw Error("Cannot flush passive effects while already rendering.");uo(w),cE=!0,z1=!1;var T=0;if(hu=null,T=la(),dl===YM)n0(fu,T,iB);else{var D=fu,_=T,Z=dl===oE;!mn||_<=D||(Yn?Yn.run(console.timeStamp.bind(console,Z?"Waiting for Paint":"Waiting",D,_,Nt,Ot,"secondary-light")):console.timeStamp(Z?"Waiting for Paint":"Waiting",D,_,Nt,Ot,"secondary-light"))}D=Ut,Ut|=jo;var P=u.current;_s(),Gp(P);var Y=u.current;P=lE,_s(),P0(u,Y,w,m,P),Pp(u),Ut=D;var se=la();if(Y=T,P=Yn,hu!==null?qb(Y,se,hu,!0,P):!mn||se<=Y||(P?P.run(console.timeStamp.bind(console,"Remaining Effects",Y,se,Nt,Ot,"secondary-dark")):console.timeStamp("Remaining Effects",Y,se,Nt,Ot,"secondary-dark")),Il(w,se),fr(0,!1),z1?u===Ty?uh++:(uh=0,Ty=u):uh=0,z1=cE=!1,In&&typeof In.onPostCommitFiberRoot=="function")try{In.onPostCommitFiberRoot(ru,u)}catch(Le){yr||(yr=!0,console.error("React instrumentation encountered an error: %o",Le))}var Oe=u.current.stateNode;return Oe.effectDuration=0,Oe.passiveEffectDuration=0,!0}finally{Gt.p=h,ce.T=i,lv(e,t)}}function Za(e,t,i){t=Ba(i,t),Ib(t),t=Cp(e.stateNode,t,2),e=Wo(e,t,2),e!==null&&(oo(e,2),ri(e))}function vt(e,t,i){if(eg=!1,e.tag===3)Za(e,e,i);else{for(;t!==null;){if(t.tag===3){Za(t,e,i);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ud===null||!ud.has(u))){e=Ba(i,e),Ib(e),i=kp(2),u=Wo(t,i,2),u!==null&&(Rp(i,u,t,e),oo(u,2),ri(u));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
167
167
 
168
168
  Error message:
169
169
 
170
- %s`,i)}}function Zp(e,t,i){var u=e.pingCache;if(u===null){u=e.pingCache=new pB;var h=new Set;u.set(t,h)}else h=u.get(t),h===void 0&&(h=new Set,u.set(t,h));h.has(i)||(nE=!0,h.add(i),u=oi.bind(null,e,t,i),br&&Tc(e,i),t.then(u,u))}function oi(e,t,i){var u=e.pingCache;u!==null&&u.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,(i&127)!==0?0>is&&(Pf=is=ua(),Wv=l1("Promise Resolved"),td=s1):(i&4194048)!==0&&0>kr&&(pu=kr=ua(),ty=l1("Promise Resolved"),U2=s1),ev()&&ce.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
170
+ %s`,i)}}function Zp(e,t,i){var u=e.pingCache;if(u===null){u=e.pingCache=new hB;var h=new Set;u.set(t,h)}else h=u.get(t),h===void 0&&(h=new Set,u.set(t,h));h.has(i)||(nE=!0,h.add(i),u=oi.bind(null,e,t,i),br&&Tc(e,i),t.then(u,u))}function oi(e,t,i){var u=e.pingCache;u!==null&&u.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,(i&127)!==0?0>is&&(Pf=is=ua(),Wv=l1("Promise Resolved"),td=s1):(i&4194048)!==0&&0>kr&&(pu=kr=ua(),ty=l1("Promise Resolved"),U2=s1),ev()&&ce.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
171
171
 
172
172
  When testing, code that resolves suspended data should be wrapped into act(...):
173
173
 
@@ -176,7 +176,7 @@ act(() => {
176
176
  });
177
177
  /* assert on the output */
178
178
 
179
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),sn===e&&(Et&i)===i&&(Rn===od||Rn===E1&&(Et&62914560)===Et&&la()-R1<VM?(Ut&Ea)===ja&&cr(e,0):aE|=i,sh===Et&&(sh=0)),ri(e)}function sv(e,t){t===0&&(t=Bu()),e=ka(e,t),e!==null&&(oo(e,t),ri(e))}function Wr(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),sv(e,i)}function Ps(e,t){var i=0;switch(e.tag){case 31:case 13:var u=e.stateNode,h=e.memoizedState;h!==null&&(i=h.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),sv(e,i)}function Eo(e,t,i){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var u=e,h=t,m=h.type===Ka;m=i||m,h.tag!==22?h.flags&67108864?m&&ze(h,Fp,u,h):Eo(u,h,m):h.memoizedState===null&&(m&&h.flags&8192?ze(h,Fp,u,h):h.subtreeFlags&67108864&&ze(h,Eo,u,h,m)),t=t.sibling}}function Fp(e,t){Ye(!0);try{qp(t),J0(t),F0(e,t.alternate,t,!1),wf(e,t,0,null,!1,0)}finally{Ye(!1)}}function Pp(e){var t=!0;e.current.mode&(di|rl)||(t=!1),Eo(e,e.current,t)}function Ji(e){if((Ut&Ea)===ja){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=we(e)||"ReactComponent",O1!==null){if(O1.has(t))return;O1.add(t)}else O1=new Set([t]);ze(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Tc(e,t){br&&e.memoizedUpdaters.forEach(function(i){Gn(e,i,t)})}function Ac(e,t){var i=ce.actQueue;return i!==null?(i.push(t),vB):Lv(e,t)}function Af(e){ev()&&ce.actQueue===null&&ze(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
179
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),sn===e&&(Et&i)===i&&(Rn===od||Rn===E1&&(Et&62914560)===Et&&la()-R1<VM?(Ut&Ea)===ja&&cr(e,0):aE|=i,sh===Et&&(sh=0)),ri(e)}function sv(e,t){t===0&&(t=Bu()),e=ka(e,t),e!==null&&(oo(e,t),ri(e))}function Wr(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),sv(e,i)}function Ps(e,t){var i=0;switch(e.tag){case 31:case 13:var u=e.stateNode,h=e.memoizedState;h!==null&&(i=h.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),sv(e,i)}function Eo(e,t,i){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var u=e,h=t,m=h.type===Ka;m=i||m,h.tag!==22?h.flags&67108864?m&&ze(h,Fp,u,h):Eo(u,h,m):h.memoizedState===null&&(m&&h.flags&8192?ze(h,Fp,u,h):h.subtreeFlags&67108864&&ze(h,Eo,u,h,m)),t=t.sibling}}function Fp(e,t){Ye(!0);try{qp(t),J0(t),F0(e,t.alternate,t,!1),wf(e,t,0,null,!1,0)}finally{Ye(!1)}}function Pp(e){var t=!0;e.current.mode&(di|rl)||(t=!1),Eo(e,e.current,t)}function Ji(e){if((Ut&Ea)===ja){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=we(e)||"ReactComponent",O1!==null){if(O1.has(t))return;O1.add(t)}else O1=new Set([t]);ze(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Tc(e,t){br&&e.memoizedUpdaters.forEach(function(i){Gn(e,i,t)})}function Ac(e,t){var i=ce.actQueue;return i!==null?(i.push(t),gB):Lv(e,t)}function Af(e){ev()&&ce.actQueue===null&&ze(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
180
180
 
181
181
  When testing, code that causes React state updates should be wrapped into act(...):
182
182
 
@@ -185,16 +185,16 @@ act(() => {
185
185
  });
186
186
  /* assert on the output */
187
187
 
188
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,we(e))})}function ri(e){e!==tg&&e.next===null&&(tg===null?j1=tg=e:tg=tg.next=e),N1=!0,ce.actQueue!==null?fE||(fE=!0,px()):dE||(dE=!0,px())}function fr(e,t){if(!hE&&N1){hE=!0;do for(var i=!1,u=j1;u!==null;){if(e!==0){var h=u.pendingLanes;if(h===0)var m=0;else{var w=u.suspendedLanes,T=u.pingedLanes;m=(1<<31-xa(42|e)+1)-1,m&=h&~(w&~T),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,Cf(u,m))}else m=Et,m=ps(u,u===sn?m:0,u.cancelPendingCommit!==null||u.timeoutHandle!==hh),(m&3)===0||Bn(u,m)||(i=!0,Cf(u,m));u=u.next}while(i);hE=!1}}function hx(){Ry=window.event,Kp()}function Kp(){N1=fE=dE=!1;var e=0;fd!==0&&fv()&&(e=fd);for(var t=la(),i=null,u=j1;u!==null;){var h=u.next,m=Cc(u,t);m===0?(u.next=null,i===null?j1=h:i.next=h,h===null&&(tg=i)):(i=u,(e!==0||(m&3)!==0)&&(N1=!0)),u=h}pa!==cd&&pa!==_1||fr(e),fd!==0&&(fd=0)}function Cc(e,t){for(var i=e.suspendedLanes,u=e.pingedLanes,h=e.expirationTimes,m=e.pendingLanes&-62914561;0<m;){var w=31-xa(m),T=1<<w,D=h[w];D===-1?((T&i)===0||(T&u)!==0)&&(h[w]=Bh(T,t)):D<=t&&(e.expiredLanes|=T),m&=~T}if(t=sn,i=Et,i=ps(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==hh),u=e.callbackNode,i===0||e===t&&(tn===rh||tn===lh)||e.cancelPendingCommit!==null)return u!==null&&Jp(u),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||Bn(e,i)){if(t=i&-i,t!==e.callbackPriority||ce.actQueue!==null&&u!==pE)Jp(u);else return t;switch(Wn(i)){case Zn:case wa:i=Em;break;case _a:i=ou;break;case ts:i=Tm;break;default:i=ou}return u=uv.bind(null,e),ce.actQueue!==null?(ce.actQueue.push(u),i=pE):i=Lv(i,u),e.callbackPriority=t,e.callbackNode=i,t}return u!==null&&Jp(u),e.callbackPriority=2,e.callbackNode=null,2}function uv(e,t){if(h1=f1=!1,Ry=window.event,pa!==cd&&pa!==_1)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(dl===D1&&(dl=oE),Ef()&&e.callbackNode!==i)return null;var u=Et;return u=ps(e,e===sn?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==hh),u===0?null:(ux(e,u,t),Cc(e,la()),e.callbackNode!=null&&e.callbackNode===i?uv.bind(null,e):null)}function Cf(e,t){if(Ef())return null;f1=h1,h1=!1,ux(e,t,!0)}function Jp(e){e!==pE&&e!==null&&xm(e)}function px(){ce.actQueue!==null&&ce.actQueue.push(function(){return Kp(),null}),kB(function(){(Ut&(Ea|jo))!==ja?Lv(Uv,hx):Kp()})}function cv(){if(fd===0){var e=Wf;e===0&&(e=Xc,Xc<<=1,(Xc&261888)===0&&(Xc=256)),fd=e}return fd}function Ht(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Bt(e,"action"),jd(""+e))}function Jt(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 _t(e,t,i,u,h){if(t==="submit"&&i&&i.stateNode===h){var m=Ht((h[Ja]||null).action),w=u.submitter;w&&(t=(t=w[Ja]||null)?Ht(t.formAction):w.getAttribute("formAction"),t!==null&&(m=t,w=null));var T=new e1("action","action",null,u,h);e.push({event:T,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(fd!==0){var D=w?Jt(h,w):new FormData(h),_={pending:!0,data:D,method:h.method,action:m};Object.freeze(_),Fr(i,_,null,D)}}else typeof m=="function"&&(T.preventDefault(),D=w?Jt(h,w):new FormData(h),_={pending:!0,data:D,method:h.method,action:m},Object.freeze(_),Fr(i,_,m,D))},currentTarget:h}]})}}function Ct(e,t,i){e.currentTarget=i;try{t(e)}catch(u){C2(u)}e.currentTarget=null}function It(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var u=e[i];e:{var h=void 0,m=u.event;if(u=u.listeners,t)for(var w=u.length-1;0<=w;w--){var T=u[w],D=T.instance,_=T.currentTarget;if(T=T.listener,D!==h&&m.isPropagationStopped())break e;D!==null?ze(D,Ct,m,T,_):Ct(m,T,_),h=D}else for(w=0;w<u.length;w++){if(T=u[w],D=T.instance,_=T.currentTarget,T=T.listener,D!==h&&m.isPropagationStopped())break e;D!==null?ze(D,Ct,m,T,_):Ct(m,T,_),h=D}}}}function ot(e,t){mE.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=t[lu];i===void 0&&(i=t[lu]=new Set);var u=e+"__bubble";i.has(u)||(Wp(t,e,2,!1),i.add(u))}function hr(e,t,i){mE.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=4),Wp(i,e,u,t)}function Zl(e){if(!e[L1]){e[L1]=!0,Fx.forEach(function(i){i!=="selectionchange"&&(mE.has(i)||hr(i,!1,e),hr(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[L1]||(t[L1]=!0,hr("selectionchange",!1,t))}}function Wp(e,t,i,u){switch(hm(t)){case Zn:var h=Av;break;case wa:h=ba;break;default:h=Cv}i=h.bind(null,t,i,e),h=void 0,!g2||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(h=!0),u?h!==void 0?e.addEventListener(t,i,{capture:!0,passive:h}):e.addEventListener(t,i,!0):h!==void 0?e.addEventListener(t,i,{passive:h}):e.addEventListener(t,i,!1)}function To(e,t,i,u,h){var m=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var w=u.tag;if(w===3||w===4){var T=u.stateNode.containerInfo;if(T===h)break;if(w===4)for(w=u.return;w!==null;){var D=w.tag;if((D===3||D===4)&&w.stateNode.containerInfo===h)return;w=w.return}for(;T!==null;){if(w=Re(T),w===null)return;if(D=w.tag,D===5||D===6||D===26||D===27){u=m=w;continue e}T=T.parentNode}}u=u.return}Ph(function(){var _=m,Z=lo(i),P=[];e:{var Y=_R.get(e);if(Y!==void 0){var se=e1,Oe=e;switch(e){case"keypress":if(Nd(i)===0)break e;case"keydown":case"keyup":se=zU;break;case"focusin":Oe="focus",se=x2;break;case"focusout":Oe="blur",se=x2;break;case"beforeblur":case"afterblur":se=x2;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":se=vR;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":se=xU;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":se=NU;break;case kR:case RR:case MR:se=EU;break;case DR:se=UU;break;case"scroll":case"scrollend":se=yU;break;case"wheel":se=HU;break;case"copy":case"cut":case"paste":se=AU;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":se=bR;break;case"toggle":case"beforetoggle":se=qU}var Le=(t&4)!==0,cn=!Le&&(e==="scroll"||e==="scrollend"),jt=Le?Y!==null?Y+"Capture":null:Y;Le=[];for(var V=_,G;V!==null;){var I=V;if(G=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||G===null||jt===null||(I=Io(V,jt),I!=null&&Le.push(rn(V,I,G))),cn)break;V=V.return}0<Le.length&&(Y=new se(Y,Oe,null,i,Z),P.push({event:Y,listeners:Le}))}}if((t&7)===0){e:{if(Y=e==="mouseover"||e==="pointerover",se=e==="mouseout"||e==="pointerout",Y&&i!==Yv&&(Oe=i.relatedTarget||i.fromElement)&&(Re(Oe)||Oe[ol]))break e;if((se||Y)&&(Y=Z.window===Z?Z:(Y=Z.ownerDocument)?Y.defaultView||Y.parentWindow:window,se?(Oe=i.relatedTarget||i.toElement,se=_,Oe=Oe?Re(Oe):null,Oe!==null&&(cn=Q(Oe),Le=Oe.tag,Oe!==cn||Le!==5&&Le!==27&&Le!==6)&&(Oe=null)):(se=null,Oe=_),se!==Oe)){if(Le=vR,I="onMouseLeave",jt="onMouseEnter",V="mouse",(e==="pointerout"||e==="pointerover")&&(Le=bR,I="onPointerLeave",jt="onPointerEnter",V="pointer"),cn=se==null?Y:Ge(se),G=Oe==null?Y:Ge(Oe),Y=new Le(I,V+"leave",se,i,Z),Y.target=cn,Y.relatedTarget=G,I=null,Re(Z)===_&&(Le=new Le(jt,V+"enter",Oe,i,Z),Le.target=G,Le.relatedTarget=cn,I=Le),cn=I,se&&Oe)t:{for(Le=Ks,jt=se,V=Oe,G=0,I=jt;I;I=Le(I))G++;I=0;for(var me=V;me;me=Le(me))I++;for(;0<G-I;)jt=Le(jt),G--;for(;0<I-G;)V=Le(V),I--;for(;G--;){if(jt===V||V!==null&&jt===V.alternate){Le=jt;break t}jt=Le(jt),V=Le(V)}Le=null}else Le=null;se!==null&&em(P,Y,se,Le,!1),Oe!==null&&cn!==null&&em(P,cn,Oe,Le,!0)}}e:{if(Y=_?Ge(_):window,se=Y.nodeName&&Y.nodeName.toLowerCase(),se==="select"||se==="input"&&Y.type==="file")var je=Tl;else if(Fg(Y))if(AR)je=Hd;else{je=Pg;var dt=n2}else se=Y.nodeName,!se||se.toLowerCase()!=="input"||Y.type!=="checkbox"&&Y.type!=="radio"?_&&Qo(_.elementType)&&(je=Tl):je=Kg;if(je&&(je=je(e,_))){Ud(P,je,i,Z);break e}dt&&dt(e,Y,_),e==="focusout"&&_&&Y.type==="number"&&_.memoizedProps.value!=null&&Vg(Y,"number",Y.value)}switch(dt=_?Ge(_):window,e){case"focusin":(Fg(dt)||dt.contentEditable==="true")&&(zm=dt,S2=_,Fv=null);break;case"focusout":Fv=S2=zm=null;break;case"mousedown":E2=!0;break;case"contextmenu":case"mouseup":case"dragend":E2=!1,Lb(P,i,Z);break;case"selectionchange":if($U)break;case"keydown":case"keyup":Lb(P,i,Z)}var We;if(w2)e:{switch(e){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else _m?Zu(e,i)&&(Pe="onCompositionEnd"):e==="keydown"&&i.keyCode===xR&&(Pe="onCompositionStart");Pe&&(wR&&i.locale!=="ko"&&(_m||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&_m&&(We=ws()):(Fc=Z,v2="value"in Fc?Fc.value:Fc.textContent,_m=!0)),dt=Ao(_,Pe),0<dt.length&&(Pe=new yR(Pe,e,null,i,Z),P.push({event:Pe,listeners:dt}),We?Pe.data=We:(We=Hr(i),We!==null&&(Pe.data=We)))),(We=GU?Zg(e,i):Kh(e,i))&&(Pe=Ao(_,"onBeforeInput"),0<Pe.length&&(dt=new kU("onBeforeInput","beforeinput",null,i,Z),P.push({event:dt,listeners:Pe}),dt.data=We)),_t(P,e,_,i,Z)}It(P,t)})}function rn(e,t,i){return{instance:e,listener:t,currentTarget:i}}function Ao(e,t){for(var i=t+"Capture",u=[];e!==null;){var h=e,m=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||m===null||(h=Io(e,i),h!=null&&u.unshift(rn(e,h,m)),h=Io(e,t),h!=null&&u.push(rn(e,h,m))),e.tag===3)return u;e=e.return}return[]}function Ks(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function em(e,t,i,u,h){for(var m=t._reactName,w=[];i!==null&&i!==u;){var T=i,D=T.alternate,_=T.stateNode;if(T=T.tag,D!==null&&D===u)break;T!==5&&T!==26&&T!==27||_===null||(D=_,h?(_=Io(i,m),_!=null&&w.unshift(rn(i,_,D))):h||(_=Io(i,m),_!=null&&w.push(rn(i,_,D)))),i=i.return}w.length!==0&&e.push({event:t,listeners:w})}function Fa(e,t){_b(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||mR||(mR=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var i={registrationNameDependencies:xr,possibleRegistrationNames:Ic};Qo(e)||typeof t.is=="string"||t2(e,t,i),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function wn(e,t,i,u){t!==i&&(i=Co(i),Co(t)!==i&&(u[e]=t))}function kf(e,t,i){t.forEach(function(u){i[el(u)]=u==="style"?Fl(e):e.getAttribute(u)})}function Sn(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function tm(e,t){return e=e.namespaceURI===pt||e.namespaceURI===yt?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Co(e){return pi(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Vo(e)),qo(e)),(typeof e=="string"?e:""+e).replace(yB,`
189
- `).replace(bB,"")}function dv(e,t){return t=Co(t),Co(e)===t}function Yt(e,t,i,u,h,m){switch(i){case"children":typeof u=="string"?(Od(u,t,!1),t==="body"||t==="textarea"&&u===""||xs(e,u)):(typeof u=="number"||typeof u=="bigint")&&(Od(""+u,t,!1),t!=="body"&&xs(e,""+u));break;case"className":Dd(e,"class",u);break;case"tabIndex":Dd(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Dd(e,i,u);break;case"style":$g(e,u,m);break;case"data":if(t!=="object"){Dd(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||i!=="href")){console.error(i==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',i,i),e.removeAttribute(i);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}Bt(u,i),u=jd(""+u),e.setAttribute(i,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?i==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(h.encType==null&&h.method==null||H1||(H1=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),h.target==null||B1||(B1=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?i==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||h.type==="submit"||h.type==="image"||U1?t!=="button"||h.type==null||h.type==="submit"||U1?typeof u=="function"&&(h.name==null||e3||(e3=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),h.formEncType==null&&h.formMethod==null||H1||(H1=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),h.formTarget==null||B1||(B1=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(U1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(U1=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(i==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="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 m=="function"&&(i==="formAction"?(t!=="input"&&Yt(e,t,"name",h.name,h,null),Yt(e,t,"formEncType",h.formEncType,h,null),Yt(e,t,"formMethod",h.formMethod,h,null),Yt(e,t,"formTarget",h.formTarget,h,null)):(Yt(e,t,"encType",h.encType,h,null),Yt(e,t,"method",h.method,h,null),Yt(e,t,"target",h.target,h,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}Bt(u,i),u=jd(""+u),e.setAttribute(i,u);break;case"onClick":u!=null&&(typeof u!="function"&&Sn(i,u),e.onclick=Yi);break;case"onScroll":u!=null&&(typeof u!="function"&&Sn(i,u),ot("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Sn(i,u),ot("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(i=u.__html,i!=null){if(h.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=i}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}Bt(u,i),i=jd(""+u),e.setAttributeNS(ch,"xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(Bt(u,i),e.setAttribute(i,""+u)):e.removeAttribute(i);break;case"inert":u!==""||V1[i]||(V1[i]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",i));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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":u===!0?e.setAttribute(i,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(Bt(u,i),e.setAttribute(i,u)):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(Bt(u,i),e.setAttribute(i,u)):e.removeAttribute(i);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(i):(Bt(u,i),e.setAttribute(i,u));break;case"popover":ot("beforetoggle",e),ot("toggle",e),qu(e,"popover",u);break;case"xlinkActuate":Go(e,ch,"xlink:actuate",u);break;case"xlinkArcrole":Go(e,ch,"xlink:arcrole",u);break;case"xlinkRole":Go(e,ch,"xlink:role",u);break;case"xlinkShow":Go(e,ch,"xlink:show",u);break;case"xlinkTitle":Go(e,ch,"xlink:title",u);break;case"xlinkType":Go(e,ch,"xlink:type",u);break;case"xmlBase":Go(e,gE,"xml:base",u);break;case"xmlLang":Go(e,gE,"xml:lang",u);break;case"xmlSpace":Go(e,gE,"xml:space",u);break;case"is":m!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),qu(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":t3||u==null||typeof u!="object"||(t3=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N"?(i=Mb(i),qu(e,i,u)):xr.hasOwnProperty(i)&&u!=null&&typeof u!="function"&&Sn(i,u)}}function kc(e,t,i,u,h,m){switch(i){case"style":$g(e,u,m);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(i=u.__html,i!=null){if(h.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=i}}break;case"children":typeof u=="string"?xs(e,u):(typeof u=="number"||typeof u=="bigint")&&xs(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&Sn(i,u),ot("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Sn(i,u),ot("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&Sn(i,u),e.onclick=Yi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(xr.hasOwnProperty(i))u!=null&&typeof u!="function"&&Sn(i,u);else e:{if(i[0]==="o"&&i[1]==="n"&&(h=i.endsWith("Capture"),t=i.slice(2,h?i.length-7:void 0),m=e[Ja]||null,m=m!=null?m[i]:null,typeof m=="function"&&e.removeEventListener(t,m,h),typeof u=="function")){typeof m!="function"&&m!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,u,h);break e}i in e?e[i]=u:u===!0?e.setAttribute(i,""):qu(e,i,u)}}}function hn(e,t,i){switch(Fa(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ot("error",e),ot("load",e);var u=!1,h=!1,m;for(m in i)if(i.hasOwnProperty(m)){var w=i[m];if(w!=null)switch(m){case"src":u=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Yt(e,t,m,w,i,null)}}h&&Yt(e,t,"srcSet",i.srcSet,i,null),u&&Yt(e,t,"src",i.src,i,null);return;case"input":Ca("input",i),ot("invalid",e);var T=m=w=h=null,D=null,_=null;for(u in i)if(i.hasOwnProperty(u)){var Z=i[u];if(Z!=null)switch(u){case"name":h=Z;break;case"type":w=Z;break;case"checked":D=Z;break;case"defaultChecked":_=Z;break;case"value":m=Z;break;case"defaultValue":T=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Yt(e,t,u,Z,i,null)}}Ua(e,i),Yh(e,m,T,D,_,w,h,!1);return;case"select":Ca("select",i),ot("invalid",e),u=w=m=null;for(h in i)if(i.hasOwnProperty(h)&&(T=i[h],T!=null))switch(h){case"value":m=T;break;case"defaultValue":w=T;break;case"multiple":u=T;default:Yt(e,t,h,T,i,null)}Gh(e,i),t=m,i=w,e.multiple=!!u,t!=null?Xo(e,!!u,t,!1):i!=null&&Xo(e,!!u,i,!0);return;case"textarea":Ca("textarea",i),ot("invalid",e),m=h=u=null;for(w in i)if(i.hasOwnProperty(w)&&(T=i[w],T!=null))switch(w){case"value":u=T;break;case"defaultValue":h=T;break;case"children":m=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Yt(e,t,w,T,i,null)}gs(e,i),Yu(e,u,h,m);return;case"option":Rb(e,i);for(D in i)i.hasOwnProperty(D)&&(u=i[D],u!=null)&&(D==="selected"?e.selected=u&&typeof u!="function"&&typeof u!="symbol":Yt(e,t,D,u,i,null));return;case"dialog":ot("beforetoggle",e),ot("toggle",e),ot("cancel",e),ot("close",e);break;case"iframe":case"object":ot("load",e);break;case"video":case"audio":for(u=0;u<Ay.length;u++)ot(Ay[u],e);break;case"image":ot("error",e),ot("load",e);break;case"details":ot("toggle",e);break;case"embed":case"source":case"link":ot("error",e),ot("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(_ in i)if(i.hasOwnProperty(_)&&(u=i[_],u!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Yt(e,t,_,u,i,null)}return;default:if(Qo(t)){for(Z in i)i.hasOwnProperty(Z)&&(u=i[Z],u!==void 0&&kc(e,t,Z,u,i,void 0));return}}for(T in i)i.hasOwnProperty(T)&&(u=i[T],u!=null&&Yt(e,t,T,u,i,null))}function Qn(e,t,i,u){switch(Fa(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,m=null,w=null,T=null,D=null,_=null,Z=null;for(se in i){var P=i[se];if(i.hasOwnProperty(se)&&P!=null)switch(se){case"checked":break;case"value":break;case"defaultValue":D=P;default:u.hasOwnProperty(se)||Yt(e,t,se,null,u,P)}}for(var Y in u){var se=u[Y];if(P=i[Y],u.hasOwnProperty(Y)&&(se!=null||P!=null))switch(Y){case"type":m=se;break;case"name":h=se;break;case"checked":_=se;break;case"defaultChecked":Z=se;break;case"value":w=se;break;case"defaultValue":T=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:se!==P&&Yt(e,t,Y,se,u,P)}}t=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||WM||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),WM=!0),!t||u||JM||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),JM=!0),wl(e,w,T,D,_,Z,m,h);return;case"select":se=w=T=Y=null;for(m in i)if(D=i[m],i.hasOwnProperty(m)&&D!=null)switch(m){case"value":break;case"multiple":se=D;default:u.hasOwnProperty(m)||Yt(e,t,m,null,u,D)}for(h in u)if(m=u[h],D=i[h],u.hasOwnProperty(h)&&(m!=null||D!=null))switch(h){case"value":Y=m;break;case"defaultValue":T=m;break;case"multiple":w=m;default:m!==D&&Yt(e,t,h,m,u,D)}u=T,t=w,i=se,Y!=null?Xo(e,!!t,Y,!1):!!i!=!!t&&(u!=null?Xo(e,!!t,u,!0):Xo(e,!!t,t?[]:"",!1));return;case"textarea":se=Y=null;for(T in i)if(h=i[T],i.hasOwnProperty(T)&&h!=null&&!u.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:Yt(e,t,T,null,u,h)}for(w in u)if(h=u[w],m=i[w],u.hasOwnProperty(w)&&(h!=null||m!=null))switch(w){case"value":Y=h;break;case"defaultValue":se=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:h!==m&&Yt(e,t,w,h,u,m)}vs(e,Y,se);return;case"option":for(var Oe in i)Y=i[Oe],i.hasOwnProperty(Oe)&&Y!=null&&!u.hasOwnProperty(Oe)&&(Oe==="selected"?e.selected=!1:Yt(e,t,Oe,null,u,Y));for(D in u)Y=u[D],se=i[D],u.hasOwnProperty(D)&&Y!==se&&(Y!=null||se!=null)&&(D==="selected"?e.selected=Y&&typeof Y!="function"&&typeof Y!="symbol":Yt(e,t,D,Y,u,se));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 Le in i)Y=i[Le],i.hasOwnProperty(Le)&&Y!=null&&!u.hasOwnProperty(Le)&&Yt(e,t,Le,null,u,Y);for(_ in u)if(Y=u[_],se=i[_],u.hasOwnProperty(_)&&Y!==se&&(Y!=null||se!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Yt(e,t,_,Y,u,se)}return;default:if(Qo(t)){for(var cn in i)Y=i[cn],i.hasOwnProperty(cn)&&Y!==void 0&&!u.hasOwnProperty(cn)&&kc(e,t,cn,void 0,u,Y);for(Z in u)Y=u[Z],se=i[Z],!u.hasOwnProperty(Z)||Y===se||Y===void 0&&se===void 0||kc(e,t,Z,Y,u,se);return}}for(var jt in i)Y=i[jt],i.hasOwnProperty(jt)&&Y!=null&&!u.hasOwnProperty(jt)&&Yt(e,t,jt,null,u,Y);for(P in u)Y=u[P],se=i[P],!u.hasOwnProperty(P)||Y===se||Y==null&&se==null||Yt(e,t,P,Y,u,se)}function el(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Fl(e){var t={};e=e.style;for(var i=0;i<e.length;i++){var u=e[i];t[u]=e.getPropertyValue(u)}return t}function pr(e,t,i){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var u,h=u="",m;for(m in t)if(t.hasOwnProperty(m)){var w=t[m];w!=null&&typeof w!="boolean"&&w!==""&&(m.indexOf("--")===0?(Aa(w,m),u+=h+m+":"+(""+w).trim()):typeof w!="number"||w===0||Ze.has(m)?(Aa(w,m),u+=h+m.replace(de,"-$1").toLowerCase().replace(He,"-ms-")+":"+(""+w).trim()):u+=h+m.replace(de,"-$1").toLowerCase().replace(He,"-ms-")+":"+w+"px",h=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=Co(u),Co(t)!==u&&(i.style=Fl(e)))}}function li(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(Bt(u,t),e===""+u)return}wn(t,e,u,m)}function nm(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}wn(t,e,u,m)}function am(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(Bt(u,i),e===""+u)return}wn(t,e,u,m)}function Rc(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(Bt(u,t),e===""+u))return}wn(t,e,u,m)}function Rf(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(Bt(u,t),i=jd(""+u),e===i)return}wn(t,e,u,m)}function si(e,t,i,u){for(var h={},m=new Set,w=e.attributes,T=0;T<w.length;T++)switch(w[T].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:m.add(w[T].name)}if(Qo(t)){for(var D in i)if(i.hasOwnProperty(D)){var _=i[D];if(_!=null){if(xr.hasOwnProperty(D))typeof _!="function"&&Sn(D,_);else if(i.suppressHydrationWarning!==!0)switch(D){case"children":typeof _!="string"&&typeof _!="number"||wn("children",e.textContent,_,h);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":w=e.innerHTML,_=_?_.__html:void 0,_!=null&&(_=tm(e,_),wn(D,w,_,h));continue;case"style":m.delete(D),pr(e,_,h);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":m.delete(D.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",D);continue;case"className":m.delete("class"),w=xl(e,"class",_),wn("className",w,_,h);continue;default:u.context===wu&&t!=="svg"&&t!=="math"?m.delete(D.toLowerCase()):m.delete(D),w=xl(e,D,_),wn(D,w,_,h)}}}}else for(_ in i)if(i.hasOwnProperty(_)&&(D=i[_],D!=null)){if(xr.hasOwnProperty(_))typeof D!="function"&&Sn(_,D);else if(i.suppressHydrationWarning!==!0)switch(_){case"children":typeof D!="string"&&typeof D!="number"||wn("children",e.textContent,D,h);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":w=e.innerHTML,D=D?D.__html:void 0,D!=null&&(D=tm(e,D),w!==D&&(h[_]={__html:w}));continue;case"className":li(e,_,"class",D,m,h);continue;case"tabIndex":li(e,_,"tabindex",D,m,h);continue;case"style":m.delete(_),pr(e,D,h);continue;case"multiple":m.delete(_),wn(_,e.multiple,D,h);continue;case"muted":m.delete(_),wn(_,e.muted,D,h);continue;case"autoFocus":m.delete("autofocus"),wn(_,e.autofocus,D,h);continue;case"data":if(t!=="object"){m.delete(_),w=e.getAttribute("data"),wn(_,w,D,h);continue}case"src":case"href":if(!(D!==""||t==="a"&&_==="href"||t==="object"&&_==="data")){console.error(_==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',_,_);continue}Rf(e,_,_,D,m,h);continue;case"action":case"formAction":if(w=e.getAttribute(_),typeof D=="function"){m.delete(_.toLowerCase()),_==="formAction"?(m.delete("name"),m.delete("formenctype"),m.delete("formmethod"),m.delete("formtarget")):(m.delete("enctype"),m.delete("method"),m.delete("target"));continue}else if(w===xB){m.delete(_.toLowerCase()),wn(_,"function",D,h);continue}Rf(e,_,_.toLowerCase(),D,m,h);continue;case"xlinkHref":Rf(e,_,"xlink:href",D,m,h);continue;case"contentEditable":am(e,_,"contenteditable",D,m,h);continue;case"spellCheck":am(e,_,"spellcheck",D,m,h);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":am(e,_,_,D,m,h);continue;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":nm(e,_,_.toLowerCase(),D,m,h);continue;case"capture":case"download":e:{T=e;var Z=w=_,P=h;if(m.delete(Z),T=T.getAttribute(Z),T===null)switch(typeof D){case"undefined":case"function":case"symbol":break e;default:if(D===!1)break e}else if(D!=null)switch(typeof D){case"function":case"symbol":break;case"boolean":if(D===!0&&T==="")break e;break;default:if(Bt(D,w),T===""+D)break e}wn(w,T,D,P)}continue;case"cols":case"rows":case"size":case"span":e:{if(T=e,Z=w=_,P=h,m.delete(Z),T=T.getAttribute(Z),T===null)switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(D)||1>D)break e}else if(D!=null)switch(typeof D){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(D)||1>D)&&(Bt(D,w),T===""+D))break e}wn(w,T,D,P)}continue;case"rowSpan":Rc(e,_,"rowspan",D,m,h);continue;case"start":Rc(e,_,_,D,m,h);continue;case"xHeight":li(e,_,"x-height",D,m,h);continue;case"xlinkActuate":li(e,_,"xlink:actuate",D,m,h);continue;case"xlinkArcrole":li(e,_,"xlink:arcrole",D,m,h);continue;case"xlinkRole":li(e,_,"xlink:role",D,m,h);continue;case"xlinkShow":li(e,_,"xlink:show",D,m,h);continue;case"xlinkTitle":li(e,_,"xlink:title",D,m,h);continue;case"xlinkType":li(e,_,"xlink:type",D,m,h);continue;case"xmlBase":li(e,_,"xml:base",D,m,h);continue;case"xmlLang":li(e,_,"xml:lang",D,m,h);continue;case"xmlSpace":li(e,_,"xml:space",D,m,h);continue;case"inert":D!==""||V1[_]||(V1[_]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",_)),nm(e,_,_,D,m,h);continue;default:if(!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N"){T=Mb(_),w=!1,u.context===wu&&t!=="svg"&&t!=="math"?m.delete(T.toLowerCase()):(Z=_.toLowerCase(),Z=Do.hasOwnProperty(Z)&&Do[Z]||null,Z!==null&&Z!==_&&(w=!0,m.delete(Z)),m.delete(T));e:if(Z=e,P=T,T=D,qi(P))if(Z.hasAttribute(P))Z=Z.getAttribute(P),Bt(T,P),T=Z===""+T?T:Z;else{switch(typeof T){case"function":case"symbol":break e;case"boolean":if(Z=P.toLowerCase().slice(0,5),Z!=="data-"&&Z!=="aria-")break e}T=T===void 0?void 0:null}else T=void 0;w||wn(_,T,D,h)}}}return 0<m.size&&i.suppressHydrationWarning!==!0&&kf(e,m,h),Object.keys(h).length===0?null:h}function mx(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Pa(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function gx(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),u=0;u<i.length;u++){var h=i[u],m=h.transferSize,w=h.initiatorType,T=h.duration;if(m&&T&&Pa(w)){for(w=0,T=h.responseEnd,u+=1;u<i.length;u++){var D=i[u],_=D.startTime;if(_>T)break;var Z=D.transferSize,P=D.initiatorType;Z&&Pa(P)&&(D=D.responseEnd,w+=Z*(D<T?1:(T-_)/(D-_)))}if(--u,t+=8*(m+w)/(h.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}function Mf(e){return e.nodeType===9?e:e.ownerDocument}function vx(e){switch(e){case yt:return ag;case pt:return Y1;default:return wu}}function tl(e,t){if(e===wu)switch(t){case"svg":return ag;case"math":return Y1;default:return wu}return e===ag&&t==="foreignObject"?wu:e}function Mc(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}function fv(){var e=window.event;return e&&e.type==="popstate"?e===xE?!1:(xE=e,!0):(xE=null,!1)}function mr(){var e=window.event;return e&&e!==Ry?e.type:null}function Dc(){var e=window.event;return e&&e!==Ry?e.timeStamp:-1.1}function yx(e){setTimeout(function(){throw e})}function bx(e,t,i){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();break;case"img":i.src?e.src=i.src:i.srcSet&&(e.srcset=i.srcSet)}}function xx(){}function im(e,t,i,u){Qn(e,t,i,u),e[Ja]=u}function om(e){xs(e,"")}function u2(e,t,i){e.nodeValue=i}function wx(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Ja]||null;if(t!==null){var i=_e(e);i!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,ze(i,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,ze(i,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Pl(e){return e==="head"}function Sx(e,t){e.removeChild(t)}function Ex(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Js(e,t){var i=t,u=0;do{var h=i.nextSibling;if(e.removeChild(i),h&&h.nodeType===8)if(i=h.data,i===ky||i===q1){if(u===0){e.removeChild(h),nu(t);return}u--}else if(i===Cy||i===hd||i===fh||i===ng||i===dh)u++;else if(i===SB)al(e.ownerDocument.documentElement);else if(i===TB){i=e.ownerDocument.head,al(i);for(var m=i.firstChild;m;){var w=m.nextSibling,T=m.nodeName;m[Qc]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=w}}else i===EB&&al(e.ownerDocument.body);i=h}while(i);nu(t)}function Df(e,t){var i=e;e=0;do{var u=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||""),u&&u.nodeType===8)if(i=u.data,i===ky){if(e===0)break;e--}else i!==Cy&&i!==hd&&i!==fh&&i!==ng||e++;i=u}while(i)}function Tx(e){Df(e,!0)}function Ax(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Cx(e){e.nodeValue=""}function kx(e){Df(e,!1)}function Rx(e,t){t=t[AB],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Mx(e,t){e.nodeValue=t}function _c(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":_c(i),ee(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function Dx(e,t,i,u){for(;e.nodeType===1;){var h=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Qc])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(m=e.getAttribute("rel"),m==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(m!==h.rel||e.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||e.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||e.getAttribute("title")!==(h.title==null?null:h.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(m=e.getAttribute("src"),(m!==(h.src==null?null:h.src)||e.getAttribute("type")!==(h.type==null?null:h.type)||e.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&m&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Bt(h.name,"name");var m=h.name==null?null:""+h.name;if(h.type==="hidden"&&e.getAttribute("name")===m)return e}else return e;if(e=_i(e.nextSibling),e===null)break}return null}function _x(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=_i(e.nextSibling),e===null))return null;return e}function Zt(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=_i(e.nextSibling),e===null))return null;return e}function _f(e){return e.data===hd||e.data===fh}function hv(e){return e.data===ng||e.data===hd&&e.ownerDocument.readyState!==a3}function zx(e,t){var i=e.ownerDocument;if(e.data===fh)e._reactRetry=t;else if(e.data!==hd||i.readyState!==a3)t();else{var u=function(){t(),i.removeEventListener("DOMContentLoaded",u)};i.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function _i(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===Cy||t===ng||t===hd||t===fh||t===dh||t===vE||t===n3)break;if(t===ky||t===q1)return null}}return e}function Ox(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),i={},u=e.attributes,h=0;h<u.length;h++){var m=u[h];i[el(m.name)]=m.name.toLowerCase()==="style"?Fl(e):m.value}return{type:t,props:i}}return e.nodeType===8?e.data===dh?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function jx(e,t,i){return i===null||i[wB]!==!0?(e.nodeValue===t?e=null:(t=Co(t),e=Co(e.nodeValue)===t?null:e.nodeValue),e):null}function zc(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i===ky||i===q1){if(t===0)return _i(e.nextSibling);t--}else i!==Cy&&i!==ng&&i!==hd&&i!==fh&&i!==dh||t++}e=e.nextSibling}return null}function Ws(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i===Cy||i===ng||i===hd||i===fh||i===dh){if(t===0)return e;t--}else i!==ky&&i!==q1||t++}e=e.previousSibling}return null}function pv(e){nu(e)}function rm(e){nu(e)}function mv(e){nu(e)}function nl(e,t,i,u,h){switch(h&&zd(e,u.ancestorInfo),t=Mf(i),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function gr(e,t,i,u){if(!i[ol]&&_e(i)){var h=i.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",h,h,h)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(h=i.attributes;h.length;)i.removeAttributeNode(h[0]);hn(i,e,t),i[pn]=u,i[Ja]=t}function al(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ee(e)}function lm(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function gv(e,t,i){var u=ig;if(u&&typeof t=="string"&&t){var h=Pt(t);h='link[rel="'+e+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),u3.has(h)||(u3.add(h),e={rel:e,crossOrigin:i,href:t},u.querySelector(h)===null&&(t=u.createElement("link"),hn(t,"link",e),Ie(t),u.head.appendChild(t)))}}function vv(e,t,i,u){var h=(h=zi.current)?lm(h):null;if(!h)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(i=eu(i.href),t=at(h).hoistableStyles,u=t.get(i),u||(u={type:"style",instance:null,count:0,state:null},t.set(i,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=eu(i.href);var m=at(h).hoistableStyles,w=m.get(e);if(!w&&(h=h.ownerDocument||h,w={type:"stylesheet",instance:null,count:0,state:{loading:ph,preload:null}},m.set(e,w),(m=h.querySelector(Of(e)))&&!m._p&&(w.instance=m,w.state.loading=My|_r),!zr.has(e))){var T={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy};zr.set(e,T),m||Nx(h,e,T,w.state)}if(t&&u===null)throw i=`
188
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,we(e))})}function ri(e){e!==tg&&e.next===null&&(tg===null?j1=tg=e:tg=tg.next=e),N1=!0,ce.actQueue!==null?fE||(fE=!0,px()):dE||(dE=!0,px())}function fr(e,t){if(!hE&&N1){hE=!0;do for(var i=!1,u=j1;u!==null;){if(e!==0){var h=u.pendingLanes;if(h===0)var m=0;else{var w=u.suspendedLanes,T=u.pingedLanes;m=(1<<31-xa(42|e)+1)-1,m&=h&~(w&~T),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,Cf(u,m))}else m=Et,m=ps(u,u===sn?m:0,u.cancelPendingCommit!==null||u.timeoutHandle!==hh),(m&3)===0||Bn(u,m)||(i=!0,Cf(u,m));u=u.next}while(i);hE=!1}}function hx(){Ry=window.event,Kp()}function Kp(){N1=fE=dE=!1;var e=0;fd!==0&&fv()&&(e=fd);for(var t=la(),i=null,u=j1;u!==null;){var h=u.next,m=Cc(u,t);m===0?(u.next=null,i===null?j1=h:i.next=h,h===null&&(tg=i)):(i=u,(e!==0||(m&3)!==0)&&(N1=!0)),u=h}pa!==cd&&pa!==_1||fr(e),fd!==0&&(fd=0)}function Cc(e,t){for(var i=e.suspendedLanes,u=e.pingedLanes,h=e.expirationTimes,m=e.pendingLanes&-62914561;0<m;){var w=31-xa(m),T=1<<w,D=h[w];D===-1?((T&i)===0||(T&u)!==0)&&(h[w]=Bh(T,t)):D<=t&&(e.expiredLanes|=T),m&=~T}if(t=sn,i=Et,i=ps(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==hh),u=e.callbackNode,i===0||e===t&&(tn===rh||tn===lh)||e.cancelPendingCommit!==null)return u!==null&&Jp(u),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||Bn(e,i)){if(t=i&-i,t!==e.callbackPriority||ce.actQueue!==null&&u!==pE)Jp(u);else return t;switch(Wn(i)){case Zn:case wa:i=Em;break;case _a:i=ou;break;case ts:i=Tm;break;default:i=ou}return u=uv.bind(null,e),ce.actQueue!==null?(ce.actQueue.push(u),i=pE):i=Lv(i,u),e.callbackPriority=t,e.callbackNode=i,t}return u!==null&&Jp(u),e.callbackPriority=2,e.callbackNode=null,2}function uv(e,t){if(h1=f1=!1,Ry=window.event,pa!==cd&&pa!==_1)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(dl===D1&&(dl=oE),Ef()&&e.callbackNode!==i)return null;var u=Et;return u=ps(e,e===sn?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==hh),u===0?null:(ux(e,u,t),Cc(e,la()),e.callbackNode!=null&&e.callbackNode===i?uv.bind(null,e):null)}function Cf(e,t){if(Ef())return null;f1=h1,h1=!1,ux(e,t,!0)}function Jp(e){e!==pE&&e!==null&&xm(e)}function px(){ce.actQueue!==null&&ce.actQueue.push(function(){return Kp(),null}),CB(function(){(Ut&(Ea|jo))!==ja?Lv(Uv,hx):Kp()})}function cv(){if(fd===0){var e=Wf;e===0&&(e=Xc,Xc<<=1,(Xc&261888)===0&&(Xc=256)),fd=e}return fd}function Ht(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Bt(e,"action"),jd(""+e))}function Jt(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 _t(e,t,i,u,h){if(t==="submit"&&i&&i.stateNode===h){var m=Ht((h[Ja]||null).action),w=u.submitter;w&&(t=(t=w[Ja]||null)?Ht(t.formAction):w.getAttribute("formAction"),t!==null&&(m=t,w=null));var T=new e1("action","action",null,u,h);e.push({event:T,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(fd!==0){var D=w?Jt(h,w):new FormData(h),_={pending:!0,data:D,method:h.method,action:m};Object.freeze(_),Fr(i,_,null,D)}}else typeof m=="function"&&(T.preventDefault(),D=w?Jt(h,w):new FormData(h),_={pending:!0,data:D,method:h.method,action:m},Object.freeze(_),Fr(i,_,m,D))},currentTarget:h}]})}}function Ct(e,t,i){e.currentTarget=i;try{t(e)}catch(u){C2(u)}e.currentTarget=null}function It(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var u=e[i];e:{var h=void 0,m=u.event;if(u=u.listeners,t)for(var w=u.length-1;0<=w;w--){var T=u[w],D=T.instance,_=T.currentTarget;if(T=T.listener,D!==h&&m.isPropagationStopped())break e;D!==null?ze(D,Ct,m,T,_):Ct(m,T,_),h=D}else for(w=0;w<u.length;w++){if(T=u[w],D=T.instance,_=T.currentTarget,T=T.listener,D!==h&&m.isPropagationStopped())break e;D!==null?ze(D,Ct,m,T,_):Ct(m,T,_),h=D}}}}function ot(e,t){mE.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=t[lu];i===void 0&&(i=t[lu]=new Set);var u=e+"__bubble";i.has(u)||(Wp(t,e,2,!1),i.add(u))}function hr(e,t,i){mE.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=4),Wp(i,e,u,t)}function Zl(e){if(!e[L1]){e[L1]=!0,Fx.forEach(function(i){i!=="selectionchange"&&(mE.has(i)||hr(i,!1,e),hr(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[L1]||(t[L1]=!0,hr("selectionchange",!1,t))}}function Wp(e,t,i,u){switch(hm(t)){case Zn:var h=Av;break;case wa:h=ba;break;default:h=Cv}i=h.bind(null,t,i,e),h=void 0,!g2||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(h=!0),u?h!==void 0?e.addEventListener(t,i,{capture:!0,passive:h}):e.addEventListener(t,i,!0):h!==void 0?e.addEventListener(t,i,{passive:h}):e.addEventListener(t,i,!1)}function To(e,t,i,u,h){var m=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var w=u.tag;if(w===3||w===4){var T=u.stateNode.containerInfo;if(T===h)break;if(w===4)for(w=u.return;w!==null;){var D=w.tag;if((D===3||D===4)&&w.stateNode.containerInfo===h)return;w=w.return}for(;T!==null;){if(w=Re(T),w===null)return;if(D=w.tag,D===5||D===6||D===26||D===27){u=m=w;continue e}T=T.parentNode}}u=u.return}Ph(function(){var _=m,Z=lo(i),P=[];e:{var Y=_R.get(e);if(Y!==void 0){var se=e1,Oe=e;switch(e){case"keypress":if(Nd(i)===0)break e;case"keydown":case"keyup":se=_U;break;case"focusin":Oe="focus",se=x2;break;case"focusout":Oe="blur",se=x2;break;case"beforeblur":case"afterblur":se=x2;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":se=vR;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":se=bU;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":se=jU;break;case kR:case RR:case MR:se=SU;break;case DR:se=LU;break;case"scroll":case"scrollend":se=vU;break;case"wheel":se=BU;break;case"copy":case"cut":case"paste":se=TU;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":se=bR;break;case"toggle":case"beforetoggle":se=VU}var Le=(t&4)!==0,cn=!Le&&(e==="scroll"||e==="scrollend"),jt=Le?Y!==null?Y+"Capture":null:Y;Le=[];for(var V=_,G;V!==null;){var I=V;if(G=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||G===null||jt===null||(I=Io(V,jt),I!=null&&Le.push(rn(V,I,G))),cn)break;V=V.return}0<Le.length&&(Y=new se(Y,Oe,null,i,Z),P.push({event:Y,listeners:Le}))}}if((t&7)===0){e:{if(Y=e==="mouseover"||e==="pointerover",se=e==="mouseout"||e==="pointerout",Y&&i!==Yv&&(Oe=i.relatedTarget||i.fromElement)&&(Re(Oe)||Oe[ol]))break e;if((se||Y)&&(Y=Z.window===Z?Z:(Y=Z.ownerDocument)?Y.defaultView||Y.parentWindow:window,se?(Oe=i.relatedTarget||i.toElement,se=_,Oe=Oe?Re(Oe):null,Oe!==null&&(cn=Q(Oe),Le=Oe.tag,Oe!==cn||Le!==5&&Le!==27&&Le!==6)&&(Oe=null)):(se=null,Oe=_),se!==Oe)){if(Le=vR,I="onMouseLeave",jt="onMouseEnter",V="mouse",(e==="pointerout"||e==="pointerover")&&(Le=bR,I="onPointerLeave",jt="onPointerEnter",V="pointer"),cn=se==null?Y:Ge(se),G=Oe==null?Y:Ge(Oe),Y=new Le(I,V+"leave",se,i,Z),Y.target=cn,Y.relatedTarget=G,I=null,Re(Z)===_&&(Le=new Le(jt,V+"enter",Oe,i,Z),Le.target=G,Le.relatedTarget=cn,I=Le),cn=I,se&&Oe)t:{for(Le=Ks,jt=se,V=Oe,G=0,I=jt;I;I=Le(I))G++;I=0;for(var me=V;me;me=Le(me))I++;for(;0<G-I;)jt=Le(jt),G--;for(;0<I-G;)V=Le(V),I--;for(;G--;){if(jt===V||V!==null&&jt===V.alternate){Le=jt;break t}jt=Le(jt),V=Le(V)}Le=null}else Le=null;se!==null&&em(P,Y,se,Le,!1),Oe!==null&&cn!==null&&em(P,cn,Oe,Le,!0)}}e:{if(Y=_?Ge(_):window,se=Y.nodeName&&Y.nodeName.toLowerCase(),se==="select"||se==="input"&&Y.type==="file")var je=Tl;else if(Fg(Y))if(AR)je=Hd;else{je=Pg;var dt=n2}else se=Y.nodeName,!se||se.toLowerCase()!=="input"||Y.type!=="checkbox"&&Y.type!=="radio"?_&&Qo(_.elementType)&&(je=Tl):je=Kg;if(je&&(je=je(e,_))){Ud(P,je,i,Z);break e}dt&&dt(e,Y,_),e==="focusout"&&_&&Y.type==="number"&&_.memoizedProps.value!=null&&Vg(Y,"number",Y.value)}switch(dt=_?Ge(_):window,e){case"focusin":(Fg(dt)||dt.contentEditable==="true")&&(zm=dt,S2=_,Fv=null);break;case"focusout":Fv=S2=zm=null;break;case"mousedown":E2=!0;break;case"contextmenu":case"mouseup":case"dragend":E2=!1,Lb(P,i,Z);break;case"selectionchange":if(XU)break;case"keydown":case"keyup":Lb(P,i,Z)}var We;if(w2)e:{switch(e){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else _m?Zu(e,i)&&(Pe="onCompositionEnd"):e==="keydown"&&i.keyCode===xR&&(Pe="onCompositionStart");Pe&&(wR&&i.locale!=="ko"&&(_m||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&_m&&(We=ws()):(Fc=Z,v2="value"in Fc?Fc.value:Fc.textContent,_m=!0)),dt=Ao(_,Pe),0<dt.length&&(Pe=new yR(Pe,e,null,i,Z),P.push({event:Pe,listeners:dt}),We?Pe.data=We:(We=Hr(i),We!==null&&(Pe.data=We)))),(We=YU?Zg(e,i):Kh(e,i))&&(Pe=Ao(_,"onBeforeInput"),0<Pe.length&&(dt=new CU("onBeforeInput","beforeinput",null,i,Z),P.push({event:dt,listeners:Pe}),dt.data=We)),_t(P,e,_,i,Z)}It(P,t)})}function rn(e,t,i){return{instance:e,listener:t,currentTarget:i}}function Ao(e,t){for(var i=t+"Capture",u=[];e!==null;){var h=e,m=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||m===null||(h=Io(e,i),h!=null&&u.unshift(rn(e,h,m)),h=Io(e,t),h!=null&&u.push(rn(e,h,m))),e.tag===3)return u;e=e.return}return[]}function Ks(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function em(e,t,i,u,h){for(var m=t._reactName,w=[];i!==null&&i!==u;){var T=i,D=T.alternate,_=T.stateNode;if(T=T.tag,D!==null&&D===u)break;T!==5&&T!==26&&T!==27||_===null||(D=_,h?(_=Io(i,m),_!=null&&w.unshift(rn(i,_,D))):h||(_=Io(i,m),_!=null&&w.push(rn(i,_,D)))),i=i.return}w.length!==0&&e.push({event:t,listeners:w})}function Fa(e,t){_b(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||mR||(mR=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var i={registrationNameDependencies:xr,possibleRegistrationNames:Ic};Qo(e)||typeof t.is=="string"||t2(e,t,i),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function wn(e,t,i,u){t!==i&&(i=Co(i),Co(t)!==i&&(u[e]=t))}function kf(e,t,i){t.forEach(function(u){i[el(u)]=u==="style"?Fl(e):e.getAttribute(u)})}function Sn(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function tm(e,t){return e=e.namespaceURI===pt||e.namespaceURI===yt?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Co(e){return pi(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Vo(e)),qo(e)),(typeof e=="string"?e:""+e).replace(vB,`
189
+ `).replace(yB,"")}function dv(e,t){return t=Co(t),Co(e)===t}function Yt(e,t,i,u,h,m){switch(i){case"children":typeof u=="string"?(Od(u,t,!1),t==="body"||t==="textarea"&&u===""||xs(e,u)):(typeof u=="number"||typeof u=="bigint")&&(Od(""+u,t,!1),t!=="body"&&xs(e,""+u));break;case"className":Dd(e,"class",u);break;case"tabIndex":Dd(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Dd(e,i,u);break;case"style":$g(e,u,m);break;case"data":if(t!=="object"){Dd(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||i!=="href")){console.error(i==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',i,i),e.removeAttribute(i);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}Bt(u,i),u=jd(""+u),e.setAttribute(i,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?i==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(h.encType==null&&h.method==null||H1||(H1=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),h.target==null||B1||(B1=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?i==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||h.type==="submit"||h.type==="image"||U1?t!=="button"||h.type==null||h.type==="submit"||U1?typeof u=="function"&&(h.name==null||e3||(e3=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),h.formEncType==null&&h.formMethod==null||H1||(H1=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),h.formTarget==null||B1||(B1=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(U1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(U1=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(i==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="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 m=="function"&&(i==="formAction"?(t!=="input"&&Yt(e,t,"name",h.name,h,null),Yt(e,t,"formEncType",h.formEncType,h,null),Yt(e,t,"formMethod",h.formMethod,h,null),Yt(e,t,"formTarget",h.formTarget,h,null)):(Yt(e,t,"encType",h.encType,h,null),Yt(e,t,"method",h.method,h,null),Yt(e,t,"target",h.target,h,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}Bt(u,i),u=jd(""+u),e.setAttribute(i,u);break;case"onClick":u!=null&&(typeof u!="function"&&Sn(i,u),e.onclick=Yi);break;case"onScroll":u!=null&&(typeof u!="function"&&Sn(i,u),ot("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Sn(i,u),ot("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(i=u.__html,i!=null){if(h.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=i}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}Bt(u,i),i=jd(""+u),e.setAttributeNS(ch,"xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(Bt(u,i),e.setAttribute(i,""+u)):e.removeAttribute(i);break;case"inert":u!==""||V1[i]||(V1[i]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",i));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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":u===!0?e.setAttribute(i,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(Bt(u,i),e.setAttribute(i,u)):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(Bt(u,i),e.setAttribute(i,u)):e.removeAttribute(i);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(i):(Bt(u,i),e.setAttribute(i,u));break;case"popover":ot("beforetoggle",e),ot("toggle",e),qu(e,"popover",u);break;case"xlinkActuate":Go(e,ch,"xlink:actuate",u);break;case"xlinkArcrole":Go(e,ch,"xlink:arcrole",u);break;case"xlinkRole":Go(e,ch,"xlink:role",u);break;case"xlinkShow":Go(e,ch,"xlink:show",u);break;case"xlinkTitle":Go(e,ch,"xlink:title",u);break;case"xlinkType":Go(e,ch,"xlink:type",u);break;case"xmlBase":Go(e,gE,"xml:base",u);break;case"xmlLang":Go(e,gE,"xml:lang",u);break;case"xmlSpace":Go(e,gE,"xml:space",u);break;case"is":m!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),qu(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":t3||u==null||typeof u!="object"||(t3=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N"?(i=Mb(i),qu(e,i,u)):xr.hasOwnProperty(i)&&u!=null&&typeof u!="function"&&Sn(i,u)}}function kc(e,t,i,u,h,m){switch(i){case"style":$g(e,u,m);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(i=u.__html,i!=null){if(h.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=i}}break;case"children":typeof u=="string"?xs(e,u):(typeof u=="number"||typeof u=="bigint")&&xs(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&Sn(i,u),ot("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Sn(i,u),ot("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&Sn(i,u),e.onclick=Yi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(xr.hasOwnProperty(i))u!=null&&typeof u!="function"&&Sn(i,u);else e:{if(i[0]==="o"&&i[1]==="n"&&(h=i.endsWith("Capture"),t=i.slice(2,h?i.length-7:void 0),m=e[Ja]||null,m=m!=null?m[i]:null,typeof m=="function"&&e.removeEventListener(t,m,h),typeof u=="function")){typeof m!="function"&&m!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,u,h);break e}i in e?e[i]=u:u===!0?e.setAttribute(i,""):qu(e,i,u)}}}function hn(e,t,i){switch(Fa(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ot("error",e),ot("load",e);var u=!1,h=!1,m;for(m in i)if(i.hasOwnProperty(m)){var w=i[m];if(w!=null)switch(m){case"src":u=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Yt(e,t,m,w,i,null)}}h&&Yt(e,t,"srcSet",i.srcSet,i,null),u&&Yt(e,t,"src",i.src,i,null);return;case"input":Ca("input",i),ot("invalid",e);var T=m=w=h=null,D=null,_=null;for(u in i)if(i.hasOwnProperty(u)){var Z=i[u];if(Z!=null)switch(u){case"name":h=Z;break;case"type":w=Z;break;case"checked":D=Z;break;case"defaultChecked":_=Z;break;case"value":m=Z;break;case"defaultValue":T=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Yt(e,t,u,Z,i,null)}}Ua(e,i),Yh(e,m,T,D,_,w,h,!1);return;case"select":Ca("select",i),ot("invalid",e),u=w=m=null;for(h in i)if(i.hasOwnProperty(h)&&(T=i[h],T!=null))switch(h){case"value":m=T;break;case"defaultValue":w=T;break;case"multiple":u=T;default:Yt(e,t,h,T,i,null)}Gh(e,i),t=m,i=w,e.multiple=!!u,t!=null?Xo(e,!!u,t,!1):i!=null&&Xo(e,!!u,i,!0);return;case"textarea":Ca("textarea",i),ot("invalid",e),m=h=u=null;for(w in i)if(i.hasOwnProperty(w)&&(T=i[w],T!=null))switch(w){case"value":u=T;break;case"defaultValue":h=T;break;case"children":m=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Yt(e,t,w,T,i,null)}gs(e,i),Yu(e,u,h,m);return;case"option":Rb(e,i);for(D in i)i.hasOwnProperty(D)&&(u=i[D],u!=null)&&(D==="selected"?e.selected=u&&typeof u!="function"&&typeof u!="symbol":Yt(e,t,D,u,i,null));return;case"dialog":ot("beforetoggle",e),ot("toggle",e),ot("cancel",e),ot("close",e);break;case"iframe":case"object":ot("load",e);break;case"video":case"audio":for(u=0;u<Ay.length;u++)ot(Ay[u],e);break;case"image":ot("error",e),ot("load",e);break;case"details":ot("toggle",e);break;case"embed":case"source":case"link":ot("error",e),ot("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(_ in i)if(i.hasOwnProperty(_)&&(u=i[_],u!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Yt(e,t,_,u,i,null)}return;default:if(Qo(t)){for(Z in i)i.hasOwnProperty(Z)&&(u=i[Z],u!==void 0&&kc(e,t,Z,u,i,void 0));return}}for(T in i)i.hasOwnProperty(T)&&(u=i[T],u!=null&&Yt(e,t,T,u,i,null))}function Qn(e,t,i,u){switch(Fa(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,m=null,w=null,T=null,D=null,_=null,Z=null;for(se in i){var P=i[se];if(i.hasOwnProperty(se)&&P!=null)switch(se){case"checked":break;case"value":break;case"defaultValue":D=P;default:u.hasOwnProperty(se)||Yt(e,t,se,null,u,P)}}for(var Y in u){var se=u[Y];if(P=i[Y],u.hasOwnProperty(Y)&&(se!=null||P!=null))switch(Y){case"type":m=se;break;case"name":h=se;break;case"checked":_=se;break;case"defaultChecked":Z=se;break;case"value":w=se;break;case"defaultValue":T=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:se!==P&&Yt(e,t,Y,se,u,P)}}t=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||WM||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),WM=!0),!t||u||JM||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),JM=!0),wl(e,w,T,D,_,Z,m,h);return;case"select":se=w=T=Y=null;for(m in i)if(D=i[m],i.hasOwnProperty(m)&&D!=null)switch(m){case"value":break;case"multiple":se=D;default:u.hasOwnProperty(m)||Yt(e,t,m,null,u,D)}for(h in u)if(m=u[h],D=i[h],u.hasOwnProperty(h)&&(m!=null||D!=null))switch(h){case"value":Y=m;break;case"defaultValue":T=m;break;case"multiple":w=m;default:m!==D&&Yt(e,t,h,m,u,D)}u=T,t=w,i=se,Y!=null?Xo(e,!!t,Y,!1):!!i!=!!t&&(u!=null?Xo(e,!!t,u,!0):Xo(e,!!t,t?[]:"",!1));return;case"textarea":se=Y=null;for(T in i)if(h=i[T],i.hasOwnProperty(T)&&h!=null&&!u.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:Yt(e,t,T,null,u,h)}for(w in u)if(h=u[w],m=i[w],u.hasOwnProperty(w)&&(h!=null||m!=null))switch(w){case"value":Y=h;break;case"defaultValue":se=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:h!==m&&Yt(e,t,w,h,u,m)}vs(e,Y,se);return;case"option":for(var Oe in i)Y=i[Oe],i.hasOwnProperty(Oe)&&Y!=null&&!u.hasOwnProperty(Oe)&&(Oe==="selected"?e.selected=!1:Yt(e,t,Oe,null,u,Y));for(D in u)Y=u[D],se=i[D],u.hasOwnProperty(D)&&Y!==se&&(Y!=null||se!=null)&&(D==="selected"?e.selected=Y&&typeof Y!="function"&&typeof Y!="symbol":Yt(e,t,D,Y,u,se));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 Le in i)Y=i[Le],i.hasOwnProperty(Le)&&Y!=null&&!u.hasOwnProperty(Le)&&Yt(e,t,Le,null,u,Y);for(_ in u)if(Y=u[_],se=i[_],u.hasOwnProperty(_)&&Y!==se&&(Y!=null||se!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Yt(e,t,_,Y,u,se)}return;default:if(Qo(t)){for(var cn in i)Y=i[cn],i.hasOwnProperty(cn)&&Y!==void 0&&!u.hasOwnProperty(cn)&&kc(e,t,cn,void 0,u,Y);for(Z in u)Y=u[Z],se=i[Z],!u.hasOwnProperty(Z)||Y===se||Y===void 0&&se===void 0||kc(e,t,Z,Y,u,se);return}}for(var jt in i)Y=i[jt],i.hasOwnProperty(jt)&&Y!=null&&!u.hasOwnProperty(jt)&&Yt(e,t,jt,null,u,Y);for(P in u)Y=u[P],se=i[P],!u.hasOwnProperty(P)||Y===se||Y==null&&se==null||Yt(e,t,P,Y,u,se)}function el(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Fl(e){var t={};e=e.style;for(var i=0;i<e.length;i++){var u=e[i];t[u]=e.getPropertyValue(u)}return t}function pr(e,t,i){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var u,h=u="",m;for(m in t)if(t.hasOwnProperty(m)){var w=t[m];w!=null&&typeof w!="boolean"&&w!==""&&(m.indexOf("--")===0?(Aa(w,m),u+=h+m+":"+(""+w).trim()):typeof w!="number"||w===0||Ze.has(m)?(Aa(w,m),u+=h+m.replace(de,"-$1").toLowerCase().replace(He,"-ms-")+":"+(""+w).trim()):u+=h+m.replace(de,"-$1").toLowerCase().replace(He,"-ms-")+":"+w+"px",h=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=Co(u),Co(t)!==u&&(i.style=Fl(e)))}}function li(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(Bt(u,t),e===""+u)return}wn(t,e,u,m)}function nm(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}wn(t,e,u,m)}function am(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(Bt(u,i),e===""+u)return}wn(t,e,u,m)}function Rc(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(Bt(u,t),e===""+u))return}wn(t,e,u,m)}function Rf(e,t,i,u,h,m){if(h.delete(i),e=e.getAttribute(i),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(Bt(u,t),i=jd(""+u),e===i)return}wn(t,e,u,m)}function si(e,t,i,u){for(var h={},m=new Set,w=e.attributes,T=0;T<w.length;T++)switch(w[T].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:m.add(w[T].name)}if(Qo(t)){for(var D in i)if(i.hasOwnProperty(D)){var _=i[D];if(_!=null){if(xr.hasOwnProperty(D))typeof _!="function"&&Sn(D,_);else if(i.suppressHydrationWarning!==!0)switch(D){case"children":typeof _!="string"&&typeof _!="number"||wn("children",e.textContent,_,h);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":w=e.innerHTML,_=_?_.__html:void 0,_!=null&&(_=tm(e,_),wn(D,w,_,h));continue;case"style":m.delete(D),pr(e,_,h);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":m.delete(D.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",D);continue;case"className":m.delete("class"),w=xl(e,"class",_),wn("className",w,_,h);continue;default:u.context===wu&&t!=="svg"&&t!=="math"?m.delete(D.toLowerCase()):m.delete(D),w=xl(e,D,_),wn(D,w,_,h)}}}}else for(_ in i)if(i.hasOwnProperty(_)&&(D=i[_],D!=null)){if(xr.hasOwnProperty(_))typeof D!="function"&&Sn(_,D);else if(i.suppressHydrationWarning!==!0)switch(_){case"children":typeof D!="string"&&typeof D!="number"||wn("children",e.textContent,D,h);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":w=e.innerHTML,D=D?D.__html:void 0,D!=null&&(D=tm(e,D),w!==D&&(h[_]={__html:w}));continue;case"className":li(e,_,"class",D,m,h);continue;case"tabIndex":li(e,_,"tabindex",D,m,h);continue;case"style":m.delete(_),pr(e,D,h);continue;case"multiple":m.delete(_),wn(_,e.multiple,D,h);continue;case"muted":m.delete(_),wn(_,e.muted,D,h);continue;case"autoFocus":m.delete("autofocus"),wn(_,e.autofocus,D,h);continue;case"data":if(t!=="object"){m.delete(_),w=e.getAttribute("data"),wn(_,w,D,h);continue}case"src":case"href":if(!(D!==""||t==="a"&&_==="href"||t==="object"&&_==="data")){console.error(_==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',_,_);continue}Rf(e,_,_,D,m,h);continue;case"action":case"formAction":if(w=e.getAttribute(_),typeof D=="function"){m.delete(_.toLowerCase()),_==="formAction"?(m.delete("name"),m.delete("formenctype"),m.delete("formmethod"),m.delete("formtarget")):(m.delete("enctype"),m.delete("method"),m.delete("target"));continue}else if(w===bB){m.delete(_.toLowerCase()),wn(_,"function",D,h);continue}Rf(e,_,_.toLowerCase(),D,m,h);continue;case"xlinkHref":Rf(e,_,"xlink:href",D,m,h);continue;case"contentEditable":am(e,_,"contenteditable",D,m,h);continue;case"spellCheck":am(e,_,"spellcheck",D,m,h);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":am(e,_,_,D,m,h);continue;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":nm(e,_,_.toLowerCase(),D,m,h);continue;case"capture":case"download":e:{T=e;var Z=w=_,P=h;if(m.delete(Z),T=T.getAttribute(Z),T===null)switch(typeof D){case"undefined":case"function":case"symbol":break e;default:if(D===!1)break e}else if(D!=null)switch(typeof D){case"function":case"symbol":break;case"boolean":if(D===!0&&T==="")break e;break;default:if(Bt(D,w),T===""+D)break e}wn(w,T,D,P)}continue;case"cols":case"rows":case"size":case"span":e:{if(T=e,Z=w=_,P=h,m.delete(Z),T=T.getAttribute(Z),T===null)switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(D)||1>D)break e}else if(D!=null)switch(typeof D){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(D)||1>D)&&(Bt(D,w),T===""+D))break e}wn(w,T,D,P)}continue;case"rowSpan":Rc(e,_,"rowspan",D,m,h);continue;case"start":Rc(e,_,_,D,m,h);continue;case"xHeight":li(e,_,"x-height",D,m,h);continue;case"xlinkActuate":li(e,_,"xlink:actuate",D,m,h);continue;case"xlinkArcrole":li(e,_,"xlink:arcrole",D,m,h);continue;case"xlinkRole":li(e,_,"xlink:role",D,m,h);continue;case"xlinkShow":li(e,_,"xlink:show",D,m,h);continue;case"xlinkTitle":li(e,_,"xlink:title",D,m,h);continue;case"xlinkType":li(e,_,"xlink:type",D,m,h);continue;case"xmlBase":li(e,_,"xml:base",D,m,h);continue;case"xmlLang":li(e,_,"xml:lang",D,m,h);continue;case"xmlSpace":li(e,_,"xml:space",D,m,h);continue;case"inert":D!==""||V1[_]||(V1[_]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",_)),nm(e,_,_,D,m,h);continue;default:if(!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N"){T=Mb(_),w=!1,u.context===wu&&t!=="svg"&&t!=="math"?m.delete(T.toLowerCase()):(Z=_.toLowerCase(),Z=Do.hasOwnProperty(Z)&&Do[Z]||null,Z!==null&&Z!==_&&(w=!0,m.delete(Z)),m.delete(T));e:if(Z=e,P=T,T=D,qi(P))if(Z.hasAttribute(P))Z=Z.getAttribute(P),Bt(T,P),T=Z===""+T?T:Z;else{switch(typeof T){case"function":case"symbol":break e;case"boolean":if(Z=P.toLowerCase().slice(0,5),Z!=="data-"&&Z!=="aria-")break e}T=T===void 0?void 0:null}else T=void 0;w||wn(_,T,D,h)}}}return 0<m.size&&i.suppressHydrationWarning!==!0&&kf(e,m,h),Object.keys(h).length===0?null:h}function mx(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Pa(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function gx(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),u=0;u<i.length;u++){var h=i[u],m=h.transferSize,w=h.initiatorType,T=h.duration;if(m&&T&&Pa(w)){for(w=0,T=h.responseEnd,u+=1;u<i.length;u++){var D=i[u],_=D.startTime;if(_>T)break;var Z=D.transferSize,P=D.initiatorType;Z&&Pa(P)&&(D=D.responseEnd,w+=Z*(D<T?1:(T-_)/(D-_)))}if(--u,t+=8*(m+w)/(h.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}function Mf(e){return e.nodeType===9?e:e.ownerDocument}function vx(e){switch(e){case yt:return ag;case pt:return Y1;default:return wu}}function tl(e,t){if(e===wu)switch(t){case"svg":return ag;case"math":return Y1;default:return wu}return e===ag&&t==="foreignObject"?wu:e}function Mc(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}function fv(){var e=window.event;return e&&e.type==="popstate"?e===xE?!1:(xE=e,!0):(xE=null,!1)}function mr(){var e=window.event;return e&&e!==Ry?e.type:null}function Dc(){var e=window.event;return e&&e!==Ry?e.timeStamp:-1.1}function yx(e){setTimeout(function(){throw e})}function bx(e,t,i){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();break;case"img":i.src?e.src=i.src:i.srcSet&&(e.srcset=i.srcSet)}}function xx(){}function im(e,t,i,u){Qn(e,t,i,u),e[Ja]=u}function om(e){xs(e,"")}function u2(e,t,i){e.nodeValue=i}function wx(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Ja]||null;if(t!==null){var i=_e(e);i!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,ze(i,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,ze(i,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Pl(e){return e==="head"}function Sx(e,t){e.removeChild(t)}function Ex(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Js(e,t){var i=t,u=0;do{var h=i.nextSibling;if(e.removeChild(i),h&&h.nodeType===8)if(i=h.data,i===ky||i===q1){if(u===0){e.removeChild(h),nu(t);return}u--}else if(i===Cy||i===hd||i===fh||i===ng||i===dh)u++;else if(i===wB)al(e.ownerDocument.documentElement);else if(i===EB){i=e.ownerDocument.head,al(i);for(var m=i.firstChild;m;){var w=m.nextSibling,T=m.nodeName;m[Qc]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=w}}else i===SB&&al(e.ownerDocument.body);i=h}while(i);nu(t)}function Df(e,t){var i=e;e=0;do{var u=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||""),u&&u.nodeType===8)if(i=u.data,i===ky){if(e===0)break;e--}else i!==Cy&&i!==hd&&i!==fh&&i!==ng||e++;i=u}while(i)}function Tx(e){Df(e,!0)}function Ax(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Cx(e){e.nodeValue=""}function kx(e){Df(e,!1)}function Rx(e,t){t=t[TB],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Mx(e,t){e.nodeValue=t}function _c(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":_c(i),ee(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function Dx(e,t,i,u){for(;e.nodeType===1;){var h=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Qc])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(m=e.getAttribute("rel"),m==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(m!==h.rel||e.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||e.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||e.getAttribute("title")!==(h.title==null?null:h.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(m=e.getAttribute("src"),(m!==(h.src==null?null:h.src)||e.getAttribute("type")!==(h.type==null?null:h.type)||e.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&m&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Bt(h.name,"name");var m=h.name==null?null:""+h.name;if(h.type==="hidden"&&e.getAttribute("name")===m)return e}else return e;if(e=_i(e.nextSibling),e===null)break}return null}function _x(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=_i(e.nextSibling),e===null))return null;return e}function Zt(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=_i(e.nextSibling),e===null))return null;return e}function _f(e){return e.data===hd||e.data===fh}function hv(e){return e.data===ng||e.data===hd&&e.ownerDocument.readyState!==a3}function zx(e,t){var i=e.ownerDocument;if(e.data===fh)e._reactRetry=t;else if(e.data!==hd||i.readyState!==a3)t();else{var u=function(){t(),i.removeEventListener("DOMContentLoaded",u)};i.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function _i(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===Cy||t===ng||t===hd||t===fh||t===dh||t===vE||t===n3)break;if(t===ky||t===q1)return null}}return e}function Ox(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),i={},u=e.attributes,h=0;h<u.length;h++){var m=u[h];i[el(m.name)]=m.name.toLowerCase()==="style"?Fl(e):m.value}return{type:t,props:i}}return e.nodeType===8?e.data===dh?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function jx(e,t,i){return i===null||i[xB]!==!0?(e.nodeValue===t?e=null:(t=Co(t),e=Co(e.nodeValue)===t?null:e.nodeValue),e):null}function zc(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i===ky||i===q1){if(t===0)return _i(e.nextSibling);t--}else i!==Cy&&i!==ng&&i!==hd&&i!==fh&&i!==dh||t++}e=e.nextSibling}return null}function Ws(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i===Cy||i===ng||i===hd||i===fh||i===dh){if(t===0)return e;t--}else i!==ky&&i!==q1||t++}e=e.previousSibling}return null}function pv(e){nu(e)}function rm(e){nu(e)}function mv(e){nu(e)}function nl(e,t,i,u,h){switch(h&&zd(e,u.ancestorInfo),t=Mf(i),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function gr(e,t,i,u){if(!i[ol]&&_e(i)){var h=i.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",h,h,h)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(h=i.attributes;h.length;)i.removeAttributeNode(h[0]);hn(i,e,t),i[pn]=u,i[Ja]=t}function al(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ee(e)}function lm(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function gv(e,t,i){var u=ig;if(u&&typeof t=="string"&&t){var h=Pt(t);h='link[rel="'+e+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),u3.has(h)||(u3.add(h),e={rel:e,crossOrigin:i,href:t},u.querySelector(h)===null&&(t=u.createElement("link"),hn(t,"link",e),Ie(t),u.head.appendChild(t)))}}function vv(e,t,i,u){var h=(h=zi.current)?lm(h):null;if(!h)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(i=eu(i.href),t=at(h).hoistableStyles,u=t.get(i),u||(u={type:"style",instance:null,count:0,state:null},t.set(i,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=eu(i.href);var m=at(h).hoistableStyles,w=m.get(e);if(!w&&(h=h.ownerDocument||h,w={type:"stylesheet",instance:null,count:0,state:{loading:ph,preload:null}},m.set(e,w),(m=h.querySelector(Of(e)))&&!m._p&&(w.instance=m,w.state.loading=My|_r),!zr.has(e))){var T={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy};zr.set(e,T),m||Nx(h,e,T,w.state)}if(t&&u===null)throw i=`
190
190
 
191
191
  - `+zf(t)+`
192
192
  + `+zf(i),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+i);return w}if(t&&u!==null)throw i=`
193
193
 
194
194
  - `+zf(t)+`
195
- + `+zf(i),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+i);return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(i=tu(i),t=at(h).hoistableScripts,u=t.get(i),u||(u={type:"script",instance:null,count:0,state:null},t.set(i,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function zf(e){var t=0,i="<link";return typeof e.rel=="string"?(t++,i+=' rel="'+e.rel+'"'):Oi.call(e,"rel")&&(t++,i+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,i+=' href="'+e.href+'"'):Oi.call(e,"href")&&(t++,i+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,i+=' precedence="'+e.precedence+'"'):Oi.call(e,"precedence")&&(t++,i+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(i+=" ..."),i+" />"}function eu(e){return'href="'+Pt(e)+'"'}function Of(e){return'link[rel="stylesheet"]['+e+"]"}function sm(e){return xt({},e,{"data-precedence":e.precedence,precedence:null})}function Nx(e,t,i,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=My:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=My}),t.addEventListener("error",function(){return u.loading|=l3}),hn(t,"link",i),Ie(t),e.head.appendChild(t))}function tu(e){return'[src="'+Pt(e)+'"]'}function jf(e){return"script[async]"+e}function um(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+Pt(i.href)+'"]');if(u)return t.instance=u,Ie(u),u;var h=xt({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),Ie(u),hn(u,"style",h),Oc(u,i.precedence,e),t.instance=u;case"stylesheet":h=eu(i.href);var m=e.querySelector(Of(h));if(m)return t.state.loading|=_r,t.instance=m,Ie(m),m;u=sm(i),(h=zr.get(h))&&yv(u,h),m=(e.ownerDocument||e).createElement("link"),Ie(m);var w=m;return w._p=new Promise(function(T,D){w.onload=T,w.onerror=D}),hn(m,"link",u),t.state.loading|=_r,Oc(m,i.precedence,e),t.instance=m;case"script":return m=tu(i.src),(h=e.querySelector(jf(m)))?(t.instance=h,Ie(h),h):(u=i,(h=zr.get(m))&&(u=xt({},i),bv(u,h)),e=e.ownerDocument||e,h=e.createElement("script"),Ie(h),hn(h,"link",u),e.head.appendChild(h),t.instance=h);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&_r)===ph&&(u=t.instance,t.state.loading|=_r,Oc(u,i.precedence,e));return t.instance}function Oc(e,t,i){for(var u=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=u.length?u[u.length-1]:null,m=h,w=0;w<u.length;w++){var T=u[w];if(T.dataset.precedence===t)m=T;else if(m!==h)break}m?m.parentNode.insertBefore(e,m.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function yv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function bv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function jc(e,t,i){if(G1===null){var u=new Map,h=G1=new Map;h.set(i,u)}else h=G1,u=h.get(i),u||(u=new Map,h.set(i,u));if(u.has(e))return u;for(u.set(e,null),i=i.getElementsByTagName(e),h=0;h<i.length;h++){var m=i[h];if(!(m[Qc]||m[pn]||e==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!==yt){var w=m.getAttribute(t)||"";w=e+w;var T=u.get(w);T?T.push(m):u.set(w,[m])}}return u}function Lx(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function Ux(e,t,i){var u=!i.ancestorInfo.containerTagInScope;if(i.context===ag||t.itemProp!=null)return!u||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){u&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var h=t.onError,m=t.disabled;i=[],t.onLoad&&i.push("`onLoad`"),h&&i.push("`onError`"),m!=null&&i.push("`disabled`"),h=mx(i,"and"),h+=i.length===1?" prop":" props",m=i.length===1?"an "+h:"the "+h,i.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,m,h)}u&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&u&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){u&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Rt(e){return!(e.type==="stylesheet"&&(e.state.loading&s3)===ph)}function xv(e,t,i,u){if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&_r)===ph){if(i.instance===null){var h=eu(u.href),m=t.querySelector(Of(h));if(m){t=m._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Nc.bind(e),t.then(e,e)),i.state.loading|=_r,i.instance=m,Ie(m);return}m=t.ownerDocument||t,u=sm(u),(h=zr.get(h))&&yv(u,h),m=m.createElement("link"),Ie(m);var w=m;w._p=new Promise(function(T,D){w.onload=T,w.onerror=D}),hn(m,"link",u),i.instance=m}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&s3)===ph&&(e.count++,i=Nc.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}function cm(e,t){return e.stylesheets&&e.count===0&&Nf(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var u=setTimeout(function(){if(e.stylesheets&&Nf(e,e.stylesheets),e.unsuspend){var m=e.unsuspend;e.unsuspend=null,m()}},RB+t);0<e.imgBytes&&SE===0&&(SE=125*gx()*DB);var h=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Nf(e,e.stylesheets),e.unsuspend)){var m=e.unsuspend;e.unsuspend=null,m()}},(e.imgBytes>SE?50:MB)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(u),clearTimeout(h)}}:null}function Nc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Nf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Nf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,X1=new Map,t.forEach(wv,e),X1=null,Nc.call(e))}function wv(e,t){if(!(t.state.loading&_r)){var i=X1.get(e);if(i)var u=i.get(EE);else{i=new Map,X1.set(e,i);for(var h=e.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<h.length;m++){var w=h[m];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(i.set(w.dataset.precedence,w),u=w)}u&&i.set(EE,u)}h=t.instance,w=h.getAttribute("data-precedence"),m=i.get(w)||u,m===u&&i.set(EE,h),i.set(w,h),this.count++,u=Nc.bind(this),h.addEventListener("load",u),h.addEventListener("error",u),m?m.parentNode.insertBefore(h,m.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(h,e.firstChild)),t.state.loading|=_r}}function Lf(e,t,i,u,h,m,w,T,D){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=hh,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Hu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hu(0),this.hiddenUpdates=Hu(null),this.identifierPrefix=u,this.onUncaughtError=h,this.onCaughtError=m,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=i?"hydrateRoot()":"createRoot()"}function Uf(e,t,i,u,h,m,w,T,D,_,Z,P){return e=new Lf(e,t,i,w,D,_,Z,P,T),t=eB,m===!0&&(t|=di|rl),t|=wt,m=k(3,null,null,t),e.current=m,m.stateNode=e,t=up(),Ds(t),e.pooledCache=t,Ds(t),m.memoizedState={element:u,isDehydrated:i,cache:t},Dt(m),e}function Bx(e){return e?(e=Jc,e):Jc}function dm(e,t,i,u,h,m){if(In&&typeof In.onScheduleFiberRoot=="function")try{In.onScheduleFiberRoot(ru,u,i)}catch(w){yr||(yr=!0,console.error("React instrumentation encountered an error: %o",w))}h=Bx(h),u.context===null?u.context=h:u.pendingContext=h,vr&&ci!==null&&!h3&&(h3=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
195
+ + `+zf(i),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+i);return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(i=tu(i),t=at(h).hoistableScripts,u=t.get(i),u||(u={type:"script",instance:null,count:0,state:null},t.set(i,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function zf(e){var t=0,i="<link";return typeof e.rel=="string"?(t++,i+=' rel="'+e.rel+'"'):Oi.call(e,"rel")&&(t++,i+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,i+=' href="'+e.href+'"'):Oi.call(e,"href")&&(t++,i+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,i+=' precedence="'+e.precedence+'"'):Oi.call(e,"precedence")&&(t++,i+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(i+=" ..."),i+" />"}function eu(e){return'href="'+Pt(e)+'"'}function Of(e){return'link[rel="stylesheet"]['+e+"]"}function sm(e){return xt({},e,{"data-precedence":e.precedence,precedence:null})}function Nx(e,t,i,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=My:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=My}),t.addEventListener("error",function(){return u.loading|=l3}),hn(t,"link",i),Ie(t),e.head.appendChild(t))}function tu(e){return'[src="'+Pt(e)+'"]'}function jf(e){return"script[async]"+e}function um(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+Pt(i.href)+'"]');if(u)return t.instance=u,Ie(u),u;var h=xt({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),Ie(u),hn(u,"style",h),Oc(u,i.precedence,e),t.instance=u;case"stylesheet":h=eu(i.href);var m=e.querySelector(Of(h));if(m)return t.state.loading|=_r,t.instance=m,Ie(m),m;u=sm(i),(h=zr.get(h))&&yv(u,h),m=(e.ownerDocument||e).createElement("link"),Ie(m);var w=m;return w._p=new Promise(function(T,D){w.onload=T,w.onerror=D}),hn(m,"link",u),t.state.loading|=_r,Oc(m,i.precedence,e),t.instance=m;case"script":return m=tu(i.src),(h=e.querySelector(jf(m)))?(t.instance=h,Ie(h),h):(u=i,(h=zr.get(m))&&(u=xt({},i),bv(u,h)),e=e.ownerDocument||e,h=e.createElement("script"),Ie(h),hn(h,"link",u),e.head.appendChild(h),t.instance=h);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&_r)===ph&&(u=t.instance,t.state.loading|=_r,Oc(u,i.precedence,e));return t.instance}function Oc(e,t,i){for(var u=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=u.length?u[u.length-1]:null,m=h,w=0;w<u.length;w++){var T=u[w];if(T.dataset.precedence===t)m=T;else if(m!==h)break}m?m.parentNode.insertBefore(e,m.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function yv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function bv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function jc(e,t,i){if(G1===null){var u=new Map,h=G1=new Map;h.set(i,u)}else h=G1,u=h.get(i),u||(u=new Map,h.set(i,u));if(u.has(e))return u;for(u.set(e,null),i=i.getElementsByTagName(e),h=0;h<i.length;h++){var m=i[h];if(!(m[Qc]||m[pn]||e==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!==yt){var w=m.getAttribute(t)||"";w=e+w;var T=u.get(w);T?T.push(m):u.set(w,[m])}}return u}function Lx(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function Ux(e,t,i){var u=!i.ancestorInfo.containerTagInScope;if(i.context===ag||t.itemProp!=null)return!u||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){u&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var h=t.onError,m=t.disabled;i=[],t.onLoad&&i.push("`onLoad`"),h&&i.push("`onError`"),m!=null&&i.push("`disabled`"),h=mx(i,"and"),h+=i.length===1?" prop":" props",m=i.length===1?"an "+h:"the "+h,i.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,m,h)}u&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&u&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){u&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Rt(e){return!(e.type==="stylesheet"&&(e.state.loading&s3)===ph)}function xv(e,t,i,u){if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&_r)===ph){if(i.instance===null){var h=eu(u.href),m=t.querySelector(Of(h));if(m){t=m._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Nc.bind(e),t.then(e,e)),i.state.loading|=_r,i.instance=m,Ie(m);return}m=t.ownerDocument||t,u=sm(u),(h=zr.get(h))&&yv(u,h),m=m.createElement("link"),Ie(m);var w=m;w._p=new Promise(function(T,D){w.onload=T,w.onerror=D}),hn(m,"link",u),i.instance=m}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&s3)===ph&&(e.count++,i=Nc.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}function cm(e,t){return e.stylesheets&&e.count===0&&Nf(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var u=setTimeout(function(){if(e.stylesheets&&Nf(e,e.stylesheets),e.unsuspend){var m=e.unsuspend;e.unsuspend=null,m()}},kB+t);0<e.imgBytes&&SE===0&&(SE=125*gx()*MB);var h=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Nf(e,e.stylesheets),e.unsuspend)){var m=e.unsuspend;e.unsuspend=null,m()}},(e.imgBytes>SE?50:RB)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(u),clearTimeout(h)}}:null}function Nc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Nf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Nf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,X1=new Map,t.forEach(wv,e),X1=null,Nc.call(e))}function wv(e,t){if(!(t.state.loading&_r)){var i=X1.get(e);if(i)var u=i.get(EE);else{i=new Map,X1.set(e,i);for(var h=e.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<h.length;m++){var w=h[m];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(i.set(w.dataset.precedence,w),u=w)}u&&i.set(EE,u)}h=t.instance,w=h.getAttribute("data-precedence"),m=i.get(w)||u,m===u&&i.set(EE,h),i.set(w,h),this.count++,u=Nc.bind(this),h.addEventListener("load",u),h.addEventListener("error",u),m?m.parentNode.insertBefore(h,m.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(h,e.firstChild)),t.state.loading|=_r}}function Lf(e,t,i,u,h,m,w,T,D){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=hh,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Hu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hu(0),this.hiddenUpdates=Hu(null),this.identifierPrefix=u,this.onUncaughtError=h,this.onCaughtError=m,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=i?"hydrateRoot()":"createRoot()"}function Uf(e,t,i,u,h,m,w,T,D,_,Z,P){return e=new Lf(e,t,i,w,D,_,Z,P,T),t=WU,m===!0&&(t|=di|rl),t|=wt,m=k(3,null,null,t),e.current=m,m.stateNode=e,t=up(),Ds(t),e.pooledCache=t,Ds(t),m.memoizedState={element:u,isDehydrated:i,cache:t},Dt(m),e}function Bx(e){return e?(e=Jc,e):Jc}function dm(e,t,i,u,h,m){if(In&&typeof In.onScheduleFiberRoot=="function")try{In.onScheduleFiberRoot(ru,u,i)}catch(w){yr||(yr=!0,console.error("React instrumentation encountered an error: %o",w))}h=Bx(h),u.context===null?u.context=h:u.pendingContext=h,vr&&ci!==null&&!h3&&(h3=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
196
196
 
197
- Check the render method of %s.`,we(ci)||"Unknown")),u=Xn(t),u.payload={element:i},m=m===void 0?null:m,m!==null&&(typeof m!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",m),u.callback=m),i=Wo(e,u,t),i!==null&&(Po(t,"root.render()",null),lt(i,e,t),Fi(i,e,t))}function Hx(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function Sv(e,t){Hx(e,t),(e=e.alternate)&&Hx(e,t)}function Ev(e){if(e.tag===13||e.tag===31){var t=ka(e,67108864);t!==null&&lt(t,e,67108864),Sv(e,67108864)}}function Tv(e){if(e.tag===13||e.tag===31){var t=Ma(e);t=Vi(t);var i=ka(e,t);i!==null&&lt(i,e,t),Sv(e,t)}}function Wt(){return ci}function Av(e,t,i,u){var h=ce.T;ce.T=null;var m=Gt.p;try{Gt.p=Zn,Cv(e,t,i,u)}finally{Gt.p=m,ce.T=h}}function ba(e,t,i,u){var h=ce.T;ce.T=null;var m=Gt.p;try{Gt.p=wa,Cv(e,t,i,u)}finally{Gt.p=m,ce.T=h}}function Cv(e,t,i,u){if(Q1){var h=fm(u);if(h===null)To(e,t,u,I1,i),pm(e,u);else if(Vx(h,e,t,i,u))u.stopPropagation();else if(pm(e,u),t&4&&-1<zB.indexOf(e)){for(;h!==null;){var m=_e(h);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var w=Yo(m.pendingLanes);if(w!==0){var T=m;for(T.pendingLanes|=2,T.entangledLanes|=2;w;){var D=1<<31-xa(w);T.entanglements[1]|=D,w&=~D}ri(m),(Ut&(Ea|jo))===ja&&(M1=la()+qM,fr(0))}}break;case 31:case 13:T=ka(m,2),T!==null&&lt(T,m,2),Di(),Sv(m,2)}if(m=fm(u),m===null&&To(e,t,u,I1,i),m===h)break;h=m}h!==null&&u.stopPropagation()}else To(e,t,u,null,i)}}function fm(e){return e=lo(e),kv(e)}function kv(e){if(I1=null,e=Re(e),e!==null){var t=Q(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=K(t),e!==null)return e;e=null}else if(i===31){if(e=q(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 I1=e,null}function hm(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 Zn;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 wa;case"message":switch(Gf()){case Uv:return Zn;case Em:return wa;case ou:case Qx:return _a;case Tm:return ts;default:return _a}default:return _a}}function pm(e,t){switch(e){case"focusin":case"focusout":pd=null;break;case"dragenter":case"dragleave":md=null;break;case"mouseover":case"mouseout":gd=null;break;case"pointerover":case"pointerout":_y.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zy.delete(t.pointerId)}}function Kl(e,t,i,u,h,m){return e===null||e.nativeEvent!==m?(e={blockedOn:t,domEventName:i,eventSystemFlags:u,nativeEvent:m,targetContainers:[h]},t!==null&&(t=_e(t),t!==null&&Ev(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,h!==null&&t.indexOf(h)===-1&&t.push(h),e)}function Vx(e,t,i,u,h){switch(t){case"focusin":return pd=Kl(pd,e,t,i,u,h),!0;case"dragenter":return md=Kl(md,e,t,i,u,h),!0;case"mouseover":return gd=Kl(gd,e,t,i,u,h),!0;case"pointerover":var m=h.pointerId;return _y.set(m,Kl(_y.get(m)||null,e,t,i,u,h)),!0;case"gotpointercapture":return m=h.pointerId,zy.set(m,Kl(zy.get(m)||null,e,t,i,u,h)),!0}return!1}function Rv(e){var t=Re(e.target);if(t!==null){var i=Q(t);if(i!==null){if(t=i.tag,t===13){if(t=K(i),t!==null){e.blockedOn=t,z(e.priority,function(){Tv(i)});return}}else if(t===31){if(t=q(i),t!==null){e.blockedOn=t,z(e.priority,function(){Tv(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 Lc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=fm(e.nativeEvent);if(i===null){i=e.nativeEvent;var u=new i.constructor(i.type,i),h=u;Yv!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Yv=h,i.target.dispatchEvent(u),Yv===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Yv=null}else return t=_e(i),t!==null&&Ev(t),e.blockedOn=i,!1;t.shift()}return!0}function mm(e,t,i){Lc(e)&&i.delete(t)}function c2(){TE=!1,pd!==null&&Lc(pd)&&(pd=null),md!==null&&Lc(md)&&(md=null),gd!==null&&Lc(gd)&&(gd=null),_y.forEach(mm),zy.forEach(mm)}function Bf(e,t){e.blockedOn===t&&(e.blockedOn=null,TE||(TE=!0,Nn.unstable_scheduleCallback(Nn.unstable_NormalPriority,c2)))}function qx(e){Z1!==e&&(Z1=e,Nn.unstable_scheduleCallback(Nn.unstable_NormalPriority,function(){Z1===e&&(Z1=null);for(var t=0;t<e.length;t+=3){var i=e[t],u=e[t+1],h=e[t+2];if(typeof u!="function"){if(kv(u||i)===null)continue;break}var m=_e(i);m!==null&&(e.splice(t,3),t-=3,i={pending:!0,data:h,method:i.method,action:u},Object.freeze(i),Fr(m,i,u,h))}}))}function nu(e){function t(D){return Bf(D,e)}pd!==null&&Bf(pd,e),md!==null&&Bf(md,e),gd!==null&&Bf(gd,e),_y.forEach(t),zy.forEach(t);for(var i=0;i<vd.length;i++){var u=vd[i];u.blockedOn===e&&(u.blockedOn=null)}for(;0<vd.length&&(i=vd[0],i.blockedOn===null);)Rv(i),i.blockedOn===null&&vd.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(u=0;u<i.length;u+=3){var h=i[u],m=i[u+1],w=h[Ja]||null;if(typeof m=="function")w||qx(i);else if(w){var T=null;if(m&&m.hasAttribute("formAction")){if(h=m,w=m[Ja]||null)T=w.formAction;else if(kv(h)!==null)continue}else T=w.action;typeof T=="function"?i[u+1]=T:(i.splice(u,3),u-=3),qx(i)}}}function Yx(){function e(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(w){return h=w})},focusReset:"manual",scroll:"manual"})}function t(){h!==null&&(h(),h=null),u||setTimeout(i,20)}function i(){if(!u&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,h=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){u=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),h!==null&&(h(),h=null)}}}function Mv(e){this._internalRoot=e}function ko(e){this._internalRoot=e}function Dv(e){e[ol]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Nn=NE(),Hf=gh(),d2=K1(),xt=Object.assign,Gx=Symbol.for("react.element"),Wi=Symbol.for("react.transitional.element"),Jl=Symbol.for("react.portal"),Uc=Symbol.for("react.fragment"),Ka=Symbol.for("react.strict_mode"),Vf=Symbol.for("react.profiler"),gm=Symbol.for("react.consumer"),Ro=Symbol.for("react.context"),Bc=Symbol.for("react.forward_ref"),au=Symbol.for("react.suspense"),ui=Symbol.for("react.suspense_list"),qf=Symbol.for("react.memo"),Da=Symbol.for("react.lazy"),Mo=Symbol.for("react.activity"),f2=Symbol.for("react.memo_cache_sentinel"),Xx=Symbol.iterator,Hc=Symbol.for("react.client.reference"),qn=Array.isArray,ce=Hf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Gt=d2.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,h2=Object.freeze({pending:!1,data:null,method:null,action:null}),_v=[],zv=[],il=-1,Wl=Ke(null),Vc=Ke(null),zi=Ke(null),es=Ke(null),qc=0,$x,iu,Yc,Ov,Yf,vm,ym;Be.__reactDisabledLog=!0;var Gc,jv,bm=!1,Nv=new(typeof WeakMap=="function"?WeakMap:Map),ci=null,vr=!1,Oi=Object.prototype.hasOwnProperty,Lv=Nn.unstable_scheduleCallback,xm=Nn.unstable_cancelCallback,wm=Nn.unstable_shouldYield,Sm=Nn.unstable_requestPaint,la=Nn.unstable_now,Gf=Nn.unstable_getCurrentPriorityLevel,Uv=Nn.unstable_ImmediatePriority,Em=Nn.unstable_UserBlockingPriority,ou=Nn.unstable_NormalPriority,Qx=Nn.unstable_LowPriority,Tm=Nn.unstable_IdlePriority,Bv=Nn.log,Ix=Nn.unstable_setDisableYieldValue,ru=null,In=null,yr=!1,br=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",xa=Math.clz32?Math.clz32:yl,Hv=Math.log,Am=Math.LN2,Xc=256,Xf=262144,$c=4194304,Zn=2,wa=8,_a=32,ts=268435456,eo=Math.random().toString(36).slice(2),pn="__reactFiber$"+eo,Ja="__reactProps$"+eo,ol="__reactContainer$"+eo,lu="__reactEvents$"+eo,p2="__reactListeners$"+eo,Zx="__reactHandles$"+eo,$f="__reactResources$"+eo,Qc="__reactMarker$"+eo,Fx=new Set,xr={},Ic={},Px={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Zc=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]*$"),Vv={},Cm={},km=/[\n"\\]/g,qv=!1,Kx=!1,Qf=!1,n=!1,o=!1,s=!1,f=["value","defaultValue"],y=!1,x=/["'&<>\n\t]|^\s|\s$/,R="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),O="applet caption html table td th marquee object template foreignObject desc title".split(" "),X=O.concat(["button"]),re="dd dt li option optgroup p rp rt".split(" "),pe={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Ee={},le={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},de=/([A-Z])/g,He=/^ms-/,nt=/^(?:webkit|moz|o)[A-Z]/,en=/^-ms-/,te=/-(.)/g,F=/;\s*$/,oe={},xe={},Je=!1,Lt=!1,Ze=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(" ")),pt="http://www.w3.org/1998/Math/MathML",yt="http://www.w3.org/2000/svg",Vt=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"]]),Do={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Jx={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Rm={},fU=RegExp("^(aria)-[: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]*$"),hU=RegExp("^(aria)[A-Z][: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]*$"),mR=!1,ji={},gR=/^on./,pU=/^on[^A-Z]/,mU=RegExp("^(aria)-[: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]*$"),gU=RegExp("^(aria)[A-Z][: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]*$"),vU=/^[\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,Yv=null,Mm=null,Dm=null,m2=!1,ns=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g2=!1;if(ns)try{var Gv={};Object.defineProperty(Gv,"passive",{get:function(){g2=!0}}),window.addEventListener("test",Gv,Gv),window.removeEventListener("test",Gv,Gv)}catch{g2=!1}var Fc=null,v2=null,Wx=null,If={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},e1=ea(If),Xv=xt({},If,{view:0,detail:0}),yU=ea(Xv),y2,b2,$v,t1=xt({},Xv,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ld,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!==$v&&($v&&e.type==="mousemove"?(y2=e.screenX-$v.screenX,b2=e.screenY-$v.screenY):b2=y2=0,$v=e),y2)},movementY:function(e){return"movementY"in e?e.movementY:b2}}),vR=ea(t1),bU=xt({},t1,{dataTransfer:0}),xU=ea(bU),wU=xt({},Xv,{relatedTarget:0}),x2=ea(wU),SU=xt({},If,{animationName:0,elapsedTime:0,pseudoElement:0}),EU=ea(SU),TU=xt({},If,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),AU=ea(TU),CU=xt({},If,{data:0}),yR=ea(CU),kU=yR,RU={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},MU={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"},DU={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},_U=xt({},Xv,{key:function(e){if(e.key){var t=RU[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Nd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?MU[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ld,charCode:function(e){return e.type==="keypress"?Nd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Nd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),zU=ea(_U),OU=xt({},t1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bR=ea(OU),jU=xt({},Xv,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ld}),NU=ea(jU),LU=xt({},If,{propertyName:0,elapsedTime:0,pseudoElement:0}),UU=ea(LU),BU=xt({},t1,{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}),HU=ea(BU),VU=xt({},If,{newState:0,oldState:0}),qU=ea(VU),YU=[9,13,27,32],xR=229,w2=ns&&"CompositionEvent"in window,Qv=null;ns&&"documentMode"in document&&(Qv=document.documentMode);var GU=ns&&"TextEvent"in window&&!Qv,wR=ns&&(!w2||Qv&&8<Qv&&11>=Qv),SR=32,ER=String.fromCharCode(SR),TR=!1,_m=!1,XU={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},Iv=null,Zv=null,AR=!1;ns&&(AR=Jh("input")&&(!document.documentMode||9<document.documentMode));var Ni=typeof Object.is=="function"?Object.is:Wh,$U=ns&&"documentMode"in document&&11>=document.documentMode,zm=null,S2=null,Fv=null,E2=!1,Om={animationend:Ss("Animation","AnimationEnd"),animationiteration:Ss("Animation","AnimationIteration"),animationstart:Ss("Animation","AnimationStart"),transitionrun:Ss("Transition","TransitionRun"),transitionstart:Ss("Transition","TransitionStart"),transitioncancel:Ss("Transition","TransitionCancel"),transitionend:Ss("Transition","TransitionEnd")},T2={},CR={};ns&&(CR=document.createElement("div").style,"AnimationEvent"in window||(delete Om.animationend.animation,delete Om.animationiteration.animation,delete Om.animationstart.animation),"TransitionEvent"in window||delete Om.transitionend.transition);var kR=Es("animationend"),RR=Es("animationiteration"),MR=Es("animationstart"),QU=Es("transitionrun"),IU=Es("transitionstart"),ZU=Es("transitioncancel"),DR=Es("transitionend"),_R=new Map,A2="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(" ");A2.push("scrollEnd");var zR=0;if(typeof performance=="object"&&typeof performance.now=="function")var FU=performance,OR=function(){return FU.now()};else{var PU=Date;OR=function(){return PU.now()}}var C2=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)},KU="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",n1=0,k2=1,R2=2,M2=3,a1="– ",i1="+ ",jR="  ",mn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",wr="Components ⚛",Ot="Scheduler ⚛",Nt="Blocking",Pc=!1,su={color:"primary",properties:null,tooltipText:"",track:wr},Kc={start:-0,end:-0,detail:{devtools:su}},JU=["Changed Props",""],NR="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",WU=["Changed Props",NR],Pv=1,uu=2,Sr=[],jm=0,D2=0,Jc={};Object.freeze(Jc);var Er=null,Nm=null,rt=0,eB=1,wt=2,di=8,rl=16,tB=32,LR=!1;try{var UR=Object.preventExtensions({})}catch{LR=!0}var _2=new WeakMap,Lm=[],Um=0,o1=null,Kv=0,Tr=[],Ar=0,Zf=null,cu=1,du="",Wa=null,gn=null,zt=!1,as=!1,_o=null,Wc=null,Cr=!1,z2=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),O2=Ke(null),j2=Ke(null),BR={},r1=null,Bm=null,Hm=!1,nB=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},aB=Nn.unstable_scheduleCallback,iB=Nn.unstable_NormalPriority,sa={$$typeof:Ro,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},ua=Nn.unstable_now,l1=console.createTask?console.createTask:function(){return null},Jv=1,s1=2,za=-0,ed=-0,fu=-0,hu=null,Li=-1.1,Ff=-0,kn=-0,et=-1.1,it=-1.1,En=null,Ln=!1,Pf=-0,is=-1.1,Wv=null,td=0,N2=null,L2=null,Kf=-1.1,ey=null,Vm=-1.1,u1=-1.1,pu=-0,mu=-1.1,kr=-1.1,U2=0,ty=null,HR=null,VR=null,nd=-1.1,Jf=null,ad=-1.1,c1=-1.1,qR=-0,YR=-0,d1=0,oB=null,GR=0,ny=-1.1,f1=!1,h1=!1,ay=null,B2=0,Wf=0,qm=null,XR=ce.S;ce.S=function(e,t){if(HM=la(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>mu&&0>kr){mu=ua();var i=Dc(),u=mr();(i!==ad||u!==Jf)&&(ad=-1.1),nd=i,Jf=u}Yr(e,t)}XR!==null&&XR(e,t)};var eh=Ke(null),ll={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},iy=[],oy=[],ry=[],ly=[],sy=[],uy=[],th=new Set;ll.recordUnsafeLifecycleWarnings=function(e,t){th.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&iy.push(e),e.mode&di&&typeof t.UNSAFE_componentWillMount=="function"&&oy.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ry.push(e),e.mode&di&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ly.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sy.push(e),e.mode&di&&typeof t.UNSAFE_componentWillUpdate=="function"&&uy.push(e))},ll.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<iy.length&&(iy.forEach(function(T){e.add(we(T)||"Component"),th.add(T.type)}),iy=[]);var t=new Set;0<oy.length&&(oy.forEach(function(T){t.add(we(T)||"Component"),th.add(T.type)}),oy=[]);var i=new Set;0<ry.length&&(ry.forEach(function(T){i.add(we(T)||"Component"),th.add(T.type)}),ry=[]);var u=new Set;0<ly.length&&(ly.forEach(function(T){u.add(we(T)||"Component"),th.add(T.type)}),ly=[]);var h=new Set;0<sy.length&&(sy.forEach(function(T){h.add(we(T)||"Component"),th.add(T.type)}),sy=[]);var m=new Set;if(0<uy.length&&(uy.forEach(function(T){m.add(we(T)||"Component"),th.add(T.type)}),uy=[]),0<t.size){var w=C(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
197
+ Check the render method of %s.`,we(ci)||"Unknown")),u=Xn(t),u.payload={element:i},m=m===void 0?null:m,m!==null&&(typeof m!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",m),u.callback=m),i=Wo(e,u,t),i!==null&&(Po(t,"root.render()",null),lt(i,e,t),Fi(i,e,t))}function Hx(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function Sv(e,t){Hx(e,t),(e=e.alternate)&&Hx(e,t)}function Ev(e){if(e.tag===13||e.tag===31){var t=ka(e,67108864);t!==null&&lt(t,e,67108864),Sv(e,67108864)}}function Tv(e){if(e.tag===13||e.tag===31){var t=Ma(e);t=Vi(t);var i=ka(e,t);i!==null&&lt(i,e,t),Sv(e,t)}}function Wt(){return ci}function Av(e,t,i,u){var h=ce.T;ce.T=null;var m=Gt.p;try{Gt.p=Zn,Cv(e,t,i,u)}finally{Gt.p=m,ce.T=h}}function ba(e,t,i,u){var h=ce.T;ce.T=null;var m=Gt.p;try{Gt.p=wa,Cv(e,t,i,u)}finally{Gt.p=m,ce.T=h}}function Cv(e,t,i,u){if(Q1){var h=fm(u);if(h===null)To(e,t,u,I1,i),pm(e,u);else if(Vx(h,e,t,i,u))u.stopPropagation();else if(pm(e,u),t&4&&-1<_B.indexOf(e)){for(;h!==null;){var m=_e(h);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var w=Yo(m.pendingLanes);if(w!==0){var T=m;for(T.pendingLanes|=2,T.entangledLanes|=2;w;){var D=1<<31-xa(w);T.entanglements[1]|=D,w&=~D}ri(m),(Ut&(Ea|jo))===ja&&(M1=la()+qM,fr(0))}}break;case 31:case 13:T=ka(m,2),T!==null&&lt(T,m,2),Di(),Sv(m,2)}if(m=fm(u),m===null&&To(e,t,u,I1,i),m===h)break;h=m}h!==null&&u.stopPropagation()}else To(e,t,u,null,i)}}function fm(e){return e=lo(e),kv(e)}function kv(e){if(I1=null,e=Re(e),e!==null){var t=Q(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=K(t),e!==null)return e;e=null}else if(i===31){if(e=q(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 I1=e,null}function hm(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 Zn;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 wa;case"message":switch(Gf()){case Uv:return Zn;case Em:return wa;case ou:case Qx:return _a;case Tm:return ts;default:return _a}default:return _a}}function pm(e,t){switch(e){case"focusin":case"focusout":pd=null;break;case"dragenter":case"dragleave":md=null;break;case"mouseover":case"mouseout":gd=null;break;case"pointerover":case"pointerout":_y.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zy.delete(t.pointerId)}}function Kl(e,t,i,u,h,m){return e===null||e.nativeEvent!==m?(e={blockedOn:t,domEventName:i,eventSystemFlags:u,nativeEvent:m,targetContainers:[h]},t!==null&&(t=_e(t),t!==null&&Ev(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,h!==null&&t.indexOf(h)===-1&&t.push(h),e)}function Vx(e,t,i,u,h){switch(t){case"focusin":return pd=Kl(pd,e,t,i,u,h),!0;case"dragenter":return md=Kl(md,e,t,i,u,h),!0;case"mouseover":return gd=Kl(gd,e,t,i,u,h),!0;case"pointerover":var m=h.pointerId;return _y.set(m,Kl(_y.get(m)||null,e,t,i,u,h)),!0;case"gotpointercapture":return m=h.pointerId,zy.set(m,Kl(zy.get(m)||null,e,t,i,u,h)),!0}return!1}function Rv(e){var t=Re(e.target);if(t!==null){var i=Q(t);if(i!==null){if(t=i.tag,t===13){if(t=K(i),t!==null){e.blockedOn=t,z(e.priority,function(){Tv(i)});return}}else if(t===31){if(t=q(i),t!==null){e.blockedOn=t,z(e.priority,function(){Tv(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 Lc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=fm(e.nativeEvent);if(i===null){i=e.nativeEvent;var u=new i.constructor(i.type,i),h=u;Yv!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Yv=h,i.target.dispatchEvent(u),Yv===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Yv=null}else return t=_e(i),t!==null&&Ev(t),e.blockedOn=i,!1;t.shift()}return!0}function mm(e,t,i){Lc(e)&&i.delete(t)}function c2(){TE=!1,pd!==null&&Lc(pd)&&(pd=null),md!==null&&Lc(md)&&(md=null),gd!==null&&Lc(gd)&&(gd=null),_y.forEach(mm),zy.forEach(mm)}function Bf(e,t){e.blockedOn===t&&(e.blockedOn=null,TE||(TE=!0,Nn.unstable_scheduleCallback(Nn.unstable_NormalPriority,c2)))}function qx(e){Z1!==e&&(Z1=e,Nn.unstable_scheduleCallback(Nn.unstable_NormalPriority,function(){Z1===e&&(Z1=null);for(var t=0;t<e.length;t+=3){var i=e[t],u=e[t+1],h=e[t+2];if(typeof u!="function"){if(kv(u||i)===null)continue;break}var m=_e(i);m!==null&&(e.splice(t,3),t-=3,i={pending:!0,data:h,method:i.method,action:u},Object.freeze(i),Fr(m,i,u,h))}}))}function nu(e){function t(D){return Bf(D,e)}pd!==null&&Bf(pd,e),md!==null&&Bf(md,e),gd!==null&&Bf(gd,e),_y.forEach(t),zy.forEach(t);for(var i=0;i<vd.length;i++){var u=vd[i];u.blockedOn===e&&(u.blockedOn=null)}for(;0<vd.length&&(i=vd[0],i.blockedOn===null);)Rv(i),i.blockedOn===null&&vd.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(u=0;u<i.length;u+=3){var h=i[u],m=i[u+1],w=h[Ja]||null;if(typeof m=="function")w||qx(i);else if(w){var T=null;if(m&&m.hasAttribute("formAction")){if(h=m,w=m[Ja]||null)T=w.formAction;else if(kv(h)!==null)continue}else T=w.action;typeof T=="function"?i[u+1]=T:(i.splice(u,3),u-=3),qx(i)}}}function Yx(){function e(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(w){return h=w})},focusReset:"manual",scroll:"manual"})}function t(){h!==null&&(h(),h=null),u||setTimeout(i,20)}function i(){if(!u&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,h=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){u=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),h!==null&&(h(),h=null)}}}function Mv(e){this._internalRoot=e}function ko(e){this._internalRoot=e}function Dv(e){e[ol]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Nn=NE(),Hf=gh(),d2=K1(),xt=Object.assign,Gx=Symbol.for("react.element"),Wi=Symbol.for("react.transitional.element"),Jl=Symbol.for("react.portal"),Uc=Symbol.for("react.fragment"),Ka=Symbol.for("react.strict_mode"),Vf=Symbol.for("react.profiler"),gm=Symbol.for("react.consumer"),Ro=Symbol.for("react.context"),Bc=Symbol.for("react.forward_ref"),au=Symbol.for("react.suspense"),ui=Symbol.for("react.suspense_list"),qf=Symbol.for("react.memo"),Da=Symbol.for("react.lazy"),Mo=Symbol.for("react.activity"),f2=Symbol.for("react.memo_cache_sentinel"),Xx=Symbol.iterator,Hc=Symbol.for("react.client.reference"),qn=Array.isArray,ce=Hf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Gt=d2.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,h2=Object.freeze({pending:!1,data:null,method:null,action:null}),_v=[],zv=[],il=-1,Wl=Ke(null),Vc=Ke(null),zi=Ke(null),es=Ke(null),qc=0,$x,iu,Yc,Ov,Yf,vm,ym;Be.__reactDisabledLog=!0;var Gc,jv,bm=!1,Nv=new(typeof WeakMap=="function"?WeakMap:Map),ci=null,vr=!1,Oi=Object.prototype.hasOwnProperty,Lv=Nn.unstable_scheduleCallback,xm=Nn.unstable_cancelCallback,wm=Nn.unstable_shouldYield,Sm=Nn.unstable_requestPaint,la=Nn.unstable_now,Gf=Nn.unstable_getCurrentPriorityLevel,Uv=Nn.unstable_ImmediatePriority,Em=Nn.unstable_UserBlockingPriority,ou=Nn.unstable_NormalPriority,Qx=Nn.unstable_LowPriority,Tm=Nn.unstable_IdlePriority,Bv=Nn.log,Ix=Nn.unstable_setDisableYieldValue,ru=null,In=null,yr=!1,br=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",xa=Math.clz32?Math.clz32:yl,Hv=Math.log,Am=Math.LN2,Xc=256,Xf=262144,$c=4194304,Zn=2,wa=8,_a=32,ts=268435456,eo=Math.random().toString(36).slice(2),pn="__reactFiber$"+eo,Ja="__reactProps$"+eo,ol="__reactContainer$"+eo,lu="__reactEvents$"+eo,p2="__reactListeners$"+eo,Zx="__reactHandles$"+eo,$f="__reactResources$"+eo,Qc="__reactMarker$"+eo,Fx=new Set,xr={},Ic={},Px={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Zc=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]*$"),Vv={},Cm={},km=/[\n"\\]/g,qv=!1,Kx=!1,Qf=!1,n=!1,o=!1,s=!1,f=["value","defaultValue"],y=!1,x=/["'&<>\n\t]|^\s|\s$/,R="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),O="applet caption html table td th marquee object template foreignObject desc title".split(" "),X=O.concat(["button"]),re="dd dt li option optgroup p rp rt".split(" "),pe={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Ee={},le={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},de=/([A-Z])/g,He=/^ms-/,nt=/^(?:webkit|moz|o)[A-Z]/,en=/^-ms-/,te=/-(.)/g,F=/;\s*$/,oe={},xe={},Je=!1,Lt=!1,Ze=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(" ")),pt="http://www.w3.org/1998/Math/MathML",yt="http://www.w3.org/2000/svg",Vt=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"]]),Do={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Jx={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Rm={},dU=RegExp("^(aria)-[: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]*$"),fU=RegExp("^(aria)[A-Z][: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]*$"),mR=!1,ji={},gR=/^on./,hU=/^on[^A-Z]/,pU=RegExp("^(aria)-[: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]*$"),mU=RegExp("^(aria)[A-Z][: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]*$"),gU=/^[\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,Yv=null,Mm=null,Dm=null,m2=!1,ns=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g2=!1;if(ns)try{var Gv={};Object.defineProperty(Gv,"passive",{get:function(){g2=!0}}),window.addEventListener("test",Gv,Gv),window.removeEventListener("test",Gv,Gv)}catch{g2=!1}var Fc=null,v2=null,Wx=null,If={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},e1=ea(If),Xv=xt({},If,{view:0,detail:0}),vU=ea(Xv),y2,b2,$v,t1=xt({},Xv,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ld,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!==$v&&($v&&e.type==="mousemove"?(y2=e.screenX-$v.screenX,b2=e.screenY-$v.screenY):b2=y2=0,$v=e),y2)},movementY:function(e){return"movementY"in e?e.movementY:b2}}),vR=ea(t1),yU=xt({},t1,{dataTransfer:0}),bU=ea(yU),xU=xt({},Xv,{relatedTarget:0}),x2=ea(xU),wU=xt({},If,{animationName:0,elapsedTime:0,pseudoElement:0}),SU=ea(wU),EU=xt({},If,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),TU=ea(EU),AU=xt({},If,{data:0}),yR=ea(AU),CU=yR,kU={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},RU={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"},MU={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},DU=xt({},Xv,{key:function(e){if(e.key){var t=kU[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Nd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?RU[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ld,charCode:function(e){return e.type==="keypress"?Nd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Nd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_U=ea(DU),zU=xt({},t1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bR=ea(zU),OU=xt({},Xv,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ld}),jU=ea(OU),NU=xt({},If,{propertyName:0,elapsedTime:0,pseudoElement:0}),LU=ea(NU),UU=xt({},t1,{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}),BU=ea(UU),HU=xt({},If,{newState:0,oldState:0}),VU=ea(HU),qU=[9,13,27,32],xR=229,w2=ns&&"CompositionEvent"in window,Qv=null;ns&&"documentMode"in document&&(Qv=document.documentMode);var YU=ns&&"TextEvent"in window&&!Qv,wR=ns&&(!w2||Qv&&8<Qv&&11>=Qv),SR=32,ER=String.fromCharCode(SR),TR=!1,_m=!1,GU={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},Iv=null,Zv=null,AR=!1;ns&&(AR=Jh("input")&&(!document.documentMode||9<document.documentMode));var Ni=typeof Object.is=="function"?Object.is:Wh,XU=ns&&"documentMode"in document&&11>=document.documentMode,zm=null,S2=null,Fv=null,E2=!1,Om={animationend:Ss("Animation","AnimationEnd"),animationiteration:Ss("Animation","AnimationIteration"),animationstart:Ss("Animation","AnimationStart"),transitionrun:Ss("Transition","TransitionRun"),transitionstart:Ss("Transition","TransitionStart"),transitioncancel:Ss("Transition","TransitionCancel"),transitionend:Ss("Transition","TransitionEnd")},T2={},CR={};ns&&(CR=document.createElement("div").style,"AnimationEvent"in window||(delete Om.animationend.animation,delete Om.animationiteration.animation,delete Om.animationstart.animation),"TransitionEvent"in window||delete Om.transitionend.transition);var kR=Es("animationend"),RR=Es("animationiteration"),MR=Es("animationstart"),$U=Es("transitionrun"),QU=Es("transitionstart"),IU=Es("transitioncancel"),DR=Es("transitionend"),_R=new Map,A2="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(" ");A2.push("scrollEnd");var zR=0;if(typeof performance=="object"&&typeof performance.now=="function")var ZU=performance,OR=function(){return ZU.now()};else{var FU=Date;OR=function(){return FU.now()}}var C2=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)},PU="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",n1=0,k2=1,R2=2,M2=3,a1="– ",i1="+ ",jR="  ",mn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",wr="Components ⚛",Ot="Scheduler ⚛",Nt="Blocking",Pc=!1,su={color:"primary",properties:null,tooltipText:"",track:wr},Kc={start:-0,end:-0,detail:{devtools:su}},KU=["Changed Props",""],NR="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",JU=["Changed Props",NR],Pv=1,uu=2,Sr=[],jm=0,D2=0,Jc={};Object.freeze(Jc);var Er=null,Nm=null,rt=0,WU=1,wt=2,di=8,rl=16,eB=32,LR=!1;try{var UR=Object.preventExtensions({})}catch{LR=!0}var _2=new WeakMap,Lm=[],Um=0,o1=null,Kv=0,Tr=[],Ar=0,Zf=null,cu=1,du="",Wa=null,gn=null,zt=!1,as=!1,_o=null,Wc=null,Cr=!1,z2=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),O2=Ke(null),j2=Ke(null),BR={},r1=null,Bm=null,Hm=!1,tB=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},nB=Nn.unstable_scheduleCallback,aB=Nn.unstable_NormalPriority,sa={$$typeof:Ro,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},ua=Nn.unstable_now,l1=console.createTask?console.createTask:function(){return null},Jv=1,s1=2,za=-0,ed=-0,fu=-0,hu=null,Li=-1.1,Ff=-0,kn=-0,et=-1.1,it=-1.1,En=null,Ln=!1,Pf=-0,is=-1.1,Wv=null,td=0,N2=null,L2=null,Kf=-1.1,ey=null,Vm=-1.1,u1=-1.1,pu=-0,mu=-1.1,kr=-1.1,U2=0,ty=null,HR=null,VR=null,nd=-1.1,Jf=null,ad=-1.1,c1=-1.1,qR=-0,YR=-0,d1=0,iB=null,GR=0,ny=-1.1,f1=!1,h1=!1,ay=null,B2=0,Wf=0,qm=null,XR=ce.S;ce.S=function(e,t){if(HM=la(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>mu&&0>kr){mu=ua();var i=Dc(),u=mr();(i!==ad||u!==Jf)&&(ad=-1.1),nd=i,Jf=u}Yr(e,t)}XR!==null&&XR(e,t)};var eh=Ke(null),ll={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},iy=[],oy=[],ry=[],ly=[],sy=[],uy=[],th=new Set;ll.recordUnsafeLifecycleWarnings=function(e,t){th.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&iy.push(e),e.mode&di&&typeof t.UNSAFE_componentWillMount=="function"&&oy.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ry.push(e),e.mode&di&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ly.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sy.push(e),e.mode&di&&typeof t.UNSAFE_componentWillUpdate=="function"&&uy.push(e))},ll.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<iy.length&&(iy.forEach(function(T){e.add(we(T)||"Component"),th.add(T.type)}),iy=[]);var t=new Set;0<oy.length&&(oy.forEach(function(T){t.add(we(T)||"Component"),th.add(T.type)}),oy=[]);var i=new Set;0<ry.length&&(ry.forEach(function(T){i.add(we(T)||"Component"),th.add(T.type)}),ry=[]);var u=new Set;0<ly.length&&(ly.forEach(function(T){u.add(we(T)||"Component"),th.add(T.type)}),ly=[]);var h=new Set;0<sy.length&&(sy.forEach(function(T){h.add(we(T)||"Component"),th.add(T.type)}),sy=[]);var m=new Set;if(0<uy.length&&(uy.forEach(function(T){m.add(we(T)||"Component"),th.add(T.type)}),uy=[]),0<t.size){var w=C(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
198
198
 
199
199
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
200
200
 
@@ -229,11 +229,11 @@ The old API will be supported in all 16.x releases, but applications using it sh
229
229
 
230
230
  Please update the following components: %s
231
231
 
232
- Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},ll.discardPendingWarnings=function(){iy=[],oy=[],ry=[],ly=[],sy=[],uy=[],p1=new Map};var QR={react_stack_bottom_frame:function(e,t,i){var u=vr;vr=!0;try{return e(t,i)}finally{vr=u}}},H2=QR.react_stack_bottom_frame.bind(QR),IR={react_stack_bottom_frame:function(e){var t=vr;vr=!0;try{return e.render()}finally{vr=t}}},ZR=IR.react_stack_bottom_frame.bind(IR),FR={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(i){vt(e,e.return,i)}}},V2=FR.react_stack_bottom_frame.bind(FR),PR={react_stack_bottom_frame:function(e,t,i,u,h){try{t.componentDidUpdate(i,u,h)}catch(m){vt(e,e.return,m)}}},KR=PR.react_stack_bottom_frame.bind(PR),JR={react_stack_bottom_frame:function(e,t){var i=t.stack;e.componentDidCatch(t.value,{componentStack:i!==null?i:""})}},rB=JR.react_stack_bottom_frame.bind(JR),WR={react_stack_bottom_frame:function(e,t,i){try{i.componentWillUnmount()}catch(u){vt(e,t,u)}}},eM=WR.react_stack_bottom_frame.bind(WR),tM={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},lB=tM.react_stack_bottom_frame.bind(tM),nM={react_stack_bottom_frame:function(e,t,i){try{i()}catch(u){vt(e,t,u)}}},sB=nM.react_stack_bottom_frame.bind(nM),aM={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},uB=aM.react_stack_bottom_frame.bind(aM),Ym=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),q2=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),m1=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),g1={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},nh=null,cy=!1,Gm=null,dy=0,St=null,Y2,iM=Y2=!1,oM={},rM={},lM={};A=function(e,t,i){if(i!==null&&typeof i=="object"&&i._store&&(!i._store.validated&&i.key==null||i._store.validated===2)){if(typeof i._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");i._store.validated=1;var u=we(e),h=u||"null";if(!oM[h]){oM[h]=!0,i=i._owner,e=e._debugOwner;var m="";e&&typeof e.tag=="number"&&(h=we(e))&&(m=`
232
+ Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},ll.discardPendingWarnings=function(){iy=[],oy=[],ry=[],ly=[],sy=[],uy=[],p1=new Map};var QR={react_stack_bottom_frame:function(e,t,i){var u=vr;vr=!0;try{return e(t,i)}finally{vr=u}}},H2=QR.react_stack_bottom_frame.bind(QR),IR={react_stack_bottom_frame:function(e){var t=vr;vr=!0;try{return e.render()}finally{vr=t}}},ZR=IR.react_stack_bottom_frame.bind(IR),FR={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(i){vt(e,e.return,i)}}},V2=FR.react_stack_bottom_frame.bind(FR),PR={react_stack_bottom_frame:function(e,t,i,u,h){try{t.componentDidUpdate(i,u,h)}catch(m){vt(e,e.return,m)}}},KR=PR.react_stack_bottom_frame.bind(PR),JR={react_stack_bottom_frame:function(e,t){var i=t.stack;e.componentDidCatch(t.value,{componentStack:i!==null?i:""})}},oB=JR.react_stack_bottom_frame.bind(JR),WR={react_stack_bottom_frame:function(e,t,i){try{i.componentWillUnmount()}catch(u){vt(e,t,u)}}},eM=WR.react_stack_bottom_frame.bind(WR),tM={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},rB=tM.react_stack_bottom_frame.bind(tM),nM={react_stack_bottom_frame:function(e,t,i){try{i()}catch(u){vt(e,t,u)}}},lB=nM.react_stack_bottom_frame.bind(nM),aM={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},sB=aM.react_stack_bottom_frame.bind(aM),Ym=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),q2=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),m1=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),g1={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},nh=null,cy=!1,Gm=null,dy=0,St=null,Y2,iM=Y2=!1,oM={},rM={},lM={};A=function(e,t,i){if(i!==null&&typeof i=="object"&&i._store&&(!i._store.validated&&i.key==null||i._store.validated===2)){if(typeof i._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");i._store.validated=1;var u=we(e),h=u||"null";if(!oM[h]){oM[h]=!0,i=i._owner,e=e._debugOwner;var m="";e&&typeof e.tag=="number"&&(h=we(e))&&(m=`
233
233
 
234
234
  Check the render method of \``+h+"`."),m||u&&(m=`
235
235
 
236
- Check the top-level render call using <`+u+">.");var w="";i!=null&&e!==i&&(u=null,typeof i.tag=="number"?u=we(i):typeof i.name=="string"&&(u=i.name),u&&(w=" It was passed a child from "+u+".")),ze(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',m,w)})}}};var ah=na(!0),sM=na(!1),uM=0,cM=1,dM=2,G2=3,id=!1,fM=!1,X2=null,$2=!1,Xm=Ke(null),v1=Ke(0),zo=Ke(null),Rr=null,$m=1,fy=2,Fn=Ke(0),y1=0,Mr=1,Ui=2,Oo=4,Bi=8,Qm,hM=new Set,pM=new Set,Q2=new Set,mM=new Set,gu=0,ct=null,ln=null,ca=null,b1=!1,Im=!1,ih=!1,x1=0,hy=0,vu=null,cB=0,dB=25,ue=null,Dr=null,yu=-1,py=!1,my={readContext:qt,use:Qr,useCallback:An,useContext:An,useEffect:An,useImperativeHandle:An,useLayoutEffect:An,useInsertionEffect:An,useMemo:An,useReducer:An,useRef:An,useState:An,useDebugValue:An,useDeferredValue:An,useTransition:An,useSyncExternalStore:An,useId:An,useHostTransitionStatus:An,useFormState:An,useActionState:An,useOptimistic:An,useMemoCache:An,useCacheRefresh:An};my.useEffectEvent=An;var I2=null,gM=null,Z2=null,vM=null,os=null,sl=null,w1=null;I2={readContext:function(e){return qt(e)},use:Qr,useCallback:function(e,t){return ue="useCallback",ut(),$r(t),xp(e,t)},useContext:function(e){return ue="useContext",ut(),qt(e)},useEffect:function(e,t){return ue="useEffect",ut(),$r(t),Vs(e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",ut(),$r(i),ar(e,t,i)},useInsertionEffect:function(e,t){ue="useInsertionEffect",ut(),$r(t),Vl(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",ut(),$r(t),Ga(e,t)},useMemo:function(e,t){ue="useMemo",ut(),$r(t);var i=ce.H;ce.H=os;try{return Xa(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",ut();var u=ce.H;ce.H=os;try{return rc(e,t,i)}finally{ce.H=u}},useRef:function(e){return ue="useRef",ut(),bp(e)},useState:function(e){ue="useState",ut();var t=ce.H;ce.H=os;try{return Ll(e)}finally{ce.H=t}},useDebugValue:function(){ue="useDebugValue",ut()},useDeferredValue:function(e,t){return ue="useDeferredValue",ut(),dc(e,t)},useTransition:function(){return ue="useTransition",ut(),ql()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",ut(),lc(e,t,i)},useId:function(){return ue="useId",ut(),lf()},useFormState:function(e,t){return ue="useFormState",ut(),Fd(),Ai(e,t)},useActionState:function(e,t){return ue="useActionState",ut(),Ai(e,t)},useOptimistic:function(e){return ue="useOptimistic",ut(),Hs(e)},useHostTransitionStatus:Pr,useMemoCache:Ei,useCacheRefresh:function(){return ue="useCacheRefresh",ut(),wp()},useEffectEvent:function(e){return ue="useEffectEvent",ut(),of(e)}},gM={readContext:function(e){return qt(e)},use:Qr,useCallback:function(e,t){return ue="useCallback",Te(),xp(e,t)},useContext:function(e){return ue="useContext",Te(),qt(e)},useEffect:function(e,t){return ue="useEffect",Te(),Vs(e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",Te(),ar(e,t,i)},useInsertionEffect:function(e,t){ue="useInsertionEffect",Te(),Vl(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Te(),Ga(e,t)},useMemo:function(e,t){ue="useMemo",Te();var i=ce.H;ce.H=os;try{return Xa(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",Te();var u=ce.H;ce.H=os;try{return rc(e,t,i)}finally{ce.H=u}},useRef:function(e){return ue="useRef",Te(),bp(e)},useState:function(e){ue="useState",Te();var t=ce.H;ce.H=os;try{return Ll(e)}finally{ce.H=t}},useDebugValue:function(){ue="useDebugValue",Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",Te(),dc(e,t)},useTransition:function(){return ue="useTransition",Te(),ql()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",Te(),lc(e,t,i)},useId:function(){return ue="useId",Te(),lf()},useActionState:function(e,t){return ue="useActionState",Te(),Ai(e,t)},useFormState:function(e,t){return ue="useFormState",Te(),Fd(),Ai(e,t)},useOptimistic:function(e){return ue="useOptimistic",Te(),Hs(e)},useHostTransitionStatus:Pr,useMemoCache:Ei,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),wp()},useEffectEvent:function(e){return ue="useEffectEvent",Te(),of(e)}},Z2={readContext:function(e){return qt(e)},use:Qr,useCallback:function(e,t){return ue="useCallback",Te(),bo(e,t)},useContext:function(e){return ue="useContext",Te(),qt(e)},useEffect:function(e,t){ue="useEffect",Te(),$n(2048,Bi,e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",Te(),cc(e,t,i)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",Te(),$n(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Te(),$n(4,Oo,e,t)},useMemo:function(e,t){ue="useMemo",Te();var i=ce.H;ce.H=sl;try{return fn(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",Te();var u=ce.H;ce.H=sl;try{return Ls(e,t,i)}finally{ce.H=u}},useRef:function(){return ue="useRef",Te(),$t().memoizedState},useState:function(){ue="useState",Te();var e=ce.H;ce.H=sl;try{return Ls(Ti)}finally{ce.H=e}},useDebugValue:function(){ue="useDebugValue",Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",Te(),ir(e,t)},useTransition:function(){return ue="useTransition",Te(),Pb()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",Te(),Bs(e,t,i)},useId:function(){return ue="useId",Te(),$t().memoizedState},useFormState:function(e){return ue="useFormState",Te(),Fd(),Bl(e)},useActionState:function(e){return ue="useActionState",Te(),Bl(e)},useOptimistic:function(e,t){return ue="useOptimistic",Te(),tf(e,t)},useHostTransitionStatus:Pr,useMemoCache:Ei,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),$t().memoizedState},useEffectEvent:function(e){return ue="useEffectEvent",Te(),uc(e)}},vM={readContext:function(e){return qt(e)},use:Qr,useCallback:function(e,t){return ue="useCallback",Te(),bo(e,t)},useContext:function(e){return ue="useContext",Te(),qt(e)},useEffect:function(e,t){ue="useEffect",Te(),$n(2048,Bi,e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",Te(),cc(e,t,i)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",Te(),$n(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Te(),$n(4,Oo,e,t)},useMemo:function(e,t){ue="useMemo",Te();var i=ce.H;ce.H=w1;try{return fn(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",Te();var u=ce.H;ce.H=w1;try{return Us(e,t,i)}finally{ce.H=u}},useRef:function(){return ue="useRef",Te(),$t().memoizedState},useState:function(){ue="useState",Te();var e=ce.H;ce.H=w1;try{return Us(Ti)}finally{ce.H=e}},useDebugValue:function(){ue="useDebugValue",Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",Te(),mt(e,t)},useTransition:function(){return ue="useTransition",Te(),xn()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",Te(),Bs(e,t,i)},useId:function(){return ue="useId",Te(),$t().memoizedState},useFormState:function(e){return ue="useFormState",Te(),Fd(),Hl(e)},useActionState:function(e){return ue="useActionState",Te(),Hl(e)},useOptimistic:function(e,t){return ue="useOptimistic",Te(),nf(e,t)},useHostTransitionStatus:Pr,useMemoCache:Ei,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),$t().memoizedState},useEffectEvent:function(e){return ue="useEffectEvent",Te(),uc(e)}},os={readContext:function(e){return b(),qt(e)},use:function(e){return v(),Qr(e)},useCallback:function(e,t){return ue="useCallback",v(),ut(),xp(e,t)},useContext:function(e){return ue="useContext",v(),ut(),qt(e)},useEffect:function(e,t){return ue="useEffect",v(),ut(),Vs(e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",v(),ut(),ar(e,t,i)},useInsertionEffect:function(e,t){ue="useInsertionEffect",v(),ut(),Vl(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",v(),ut(),Ga(e,t)},useMemo:function(e,t){ue="useMemo",v(),ut();var i=ce.H;ce.H=os;try{return Xa(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",v(),ut();var u=ce.H;ce.H=os;try{return rc(e,t,i)}finally{ce.H=u}},useRef:function(e){return ue="useRef",v(),ut(),bp(e)},useState:function(e){ue="useState",v(),ut();var t=ce.H;ce.H=os;try{return Ll(e)}finally{ce.H=t}},useDebugValue:function(){ue="useDebugValue",v(),ut()},useDeferredValue:function(e,t){return ue="useDeferredValue",v(),ut(),dc(e,t)},useTransition:function(){return ue="useTransition",v(),ut(),ql()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",v(),ut(),lc(e,t,i)},useId:function(){return ue="useId",v(),ut(),lf()},useFormState:function(e,t){return ue="useFormState",v(),ut(),Ai(e,t)},useActionState:function(e,t){return ue="useActionState",v(),ut(),Ai(e,t)},useOptimistic:function(e){return ue="useOptimistic",v(),ut(),Hs(e)},useMemoCache:function(e){return v(),Ei(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return ue="useCacheRefresh",ut(),wp()},useEffectEvent:function(e){return ue="useEffectEvent",v(),ut(),of(e)}},sl={readContext:function(e){return b(),qt(e)},use:function(e){return v(),Qr(e)},useCallback:function(e,t){return ue="useCallback",v(),Te(),bo(e,t)},useContext:function(e){return ue="useContext",v(),Te(),qt(e)},useEffect:function(e,t){ue="useEffect",v(),Te(),$n(2048,Bi,e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",v(),Te(),cc(e,t,i)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",v(),Te(),$n(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",v(),Te(),$n(4,Oo,e,t)},useMemo:function(e,t){ue="useMemo",v(),Te();var i=ce.H;ce.H=sl;try{return fn(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",v(),Te();var u=ce.H;ce.H=sl;try{return Ls(e,t,i)}finally{ce.H=u}},useRef:function(){return ue="useRef",v(),Te(),$t().memoizedState},useState:function(){ue="useState",v(),Te();var e=ce.H;ce.H=sl;try{return Ls(Ti)}finally{ce.H=e}},useDebugValue:function(){ue="useDebugValue",v(),Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",v(),Te(),ir(e,t)},useTransition:function(){return ue="useTransition",v(),Te(),Pb()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",v(),Te(),Bs(e,t,i)},useId:function(){return ue="useId",v(),Te(),$t().memoizedState},useFormState:function(e){return ue="useFormState",v(),Te(),Bl(e)},useActionState:function(e){return ue="useActionState",v(),Te(),Bl(e)},useOptimistic:function(e,t){return ue="useOptimistic",v(),Te(),tf(e,t)},useMemoCache:function(e){return v(),Ei(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),$t().memoizedState},useEffectEvent:function(e){return ue="useEffectEvent",v(),Te(),uc(e)}},w1={readContext:function(e){return b(),qt(e)},use:function(e){return v(),Qr(e)},useCallback:function(e,t){return ue="useCallback",v(),Te(),bo(e,t)},useContext:function(e){return ue="useContext",v(),Te(),qt(e)},useEffect:function(e,t){ue="useEffect",v(),Te(),$n(2048,Bi,e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",v(),Te(),cc(e,t,i)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",v(),Te(),$n(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",v(),Te(),$n(4,Oo,e,t)},useMemo:function(e,t){ue="useMemo",v(),Te();var i=ce.H;ce.H=sl;try{return fn(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",v(),Te();var u=ce.H;ce.H=sl;try{return Us(e,t,i)}finally{ce.H=u}},useRef:function(){return ue="useRef",v(),Te(),$t().memoizedState},useState:function(){ue="useState",v(),Te();var e=ce.H;ce.H=sl;try{return Us(Ti)}finally{ce.H=e}},useDebugValue:function(){ue="useDebugValue",v(),Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",v(),Te(),mt(e,t)},useTransition:function(){return ue="useTransition",v(),Te(),xn()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",v(),Te(),Bs(e,t,i)},useId:function(){return ue="useId",v(),Te(),$t().memoizedState},useFormState:function(e){return ue="useFormState",v(),Te(),Hl(e)},useActionState:function(e){return ue="useActionState",v(),Te(),Hl(e)},useOptimistic:function(e,t){return ue="useOptimistic",v(),Te(),nf(e,t)},useMemoCache:function(e){return v(),Ei(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),$t().memoizedState},useEffectEvent:function(e){return ue="useEffectEvent",v(),Te(),uc(e)}};var yM={},bM=new Set,xM=new Set,wM=new Set,SM=new Set,EM=new Set,TM=new Set,AM=new Set,CM=new Set,kM=new Set,RM=new Set;Object.freeze(yM);var F2={enqueueSetState:function(e,t,i){e=e._reactInternals;var u=Ma(e),h=Xn(u);h.payload=t,i!=null&&(Xs(i),h.callback=i),t=Wo(e,h,u),t!==null&&(Po(u,"this.setState()",e),lt(t,e,u),Fi(t,e,u))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var u=Ma(e),h=Xn(u);h.tag=cM,h.payload=t,i!=null&&(Xs(i),h.callback=i),t=Wo(e,h,u),t!==null&&(Po(u,"this.replaceState()",e),lt(t,e,u),Fi(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=Ma(e),u=Xn(i);u.tag=dM,t!=null&&(Xs(t),u.callback=t),t=Wo(e,u,i),t!==null&&(Po(i,"this.forceUpdate()",e),lt(t,e,i),Fi(t,e,i))}},Zm=null,P2=null,K2=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),da=!1,MM={},DM={},_M={},zM={},Fm=!1,OM={},S1={},J2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},jM=!1,NM=null;NM=new Set;var bu=!1,fa=!1,W2=!1,LM=typeof WeakSet=="function"?WeakSet:Set,Oa=null,Pm=null,Km=null,ha=null,to=!1,ul=null,Sa=!1,gy=8192,fB={getCacheForType:function(e){var t=qt(sa),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return qt(sa).controller.signal},getOwner:function(){return ci}};if(typeof Symbol=="function"&&Symbol.for){var vy=Symbol.for;vy("selector.component"),vy("selector.has_pseudo_class"),vy("selector.role"),vy("selector.test_id"),vy("selector.text")}var hB=[],pB=typeof WeakMap=="function"?WeakMap:Map,ja=0,Ea=2,jo=4,xu=0,yy=1,oh=2,E1=3,od=4,T1=6,UM=5,Ut=ja,sn=null,kt=null,Et=0,no=0,A1=1,rh=2,by=3,BM=4,eE=5,xy=6,C1=7,tE=8,lh=9,tn=no,No=null,rd=!1,Jm=!1,nE=!1,rs=0,Rn=xu,ld=0,sd=0,aE=0,ao=0,sh=0,wy=null,Hi=null,k1=!1,R1=0,HM=0,VM=300,M1=1/0,qM=500,Sy=null,Yn=null,ud=null,D1=0,iE=1,oE=2,YM=3,cd=0,GM=1,XM=2,$M=3,QM=4,_1=5,pa=0,dd=null,Wm=null,cl=0,rE=0,lE=-0,sE=null,IM=null,ZM=null,dl=D1,FM=null,mB=50,Ey=0,uE=null,cE=!1,z1=!1,gB=50,uh=0,Ty=null,eg=!1,O1=null,PM=!1,KM=new Set,vB={},j1=null,tg=null,dE=!1,fE=!1,N1=!1,hE=!1,fd=0,pE={};(function(){for(var e=0;e<A2.length;e++){var t=A2[e],i=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),so(i,"on"+t)}so(kR,"onAnimationEnd"),so(RR,"onAnimationIteration"),so(MR,"onAnimationStart"),so("dblclick","onDoubleClick"),so("focusin","onFocus"),so("focusout","onBlur"),so(QU,"onTransitionRun"),so(IU,"onTransitionStart"),so(ZU,"onTransitionCancel"),so(DR,"onTransitionEnd")})(),ht("onMouseEnter",["mouseout","mouseover"]),ht("onMouseLeave",["mouseout","mouseover"]),ht("onPointerEnter",["pointerout","pointerover"]),ht("onPointerLeave",["pointerout","pointerover"]),At("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),At("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),At("onBeforeInput",["compositionend","keypress","textInput","paste"]),At("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),At("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),At("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ay="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(" "),mE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ay)),L1="_reactListening"+Math.random().toString(36).slice(2),JM=!1,WM=!1,U1=!1,e3=!1,B1=!1,H1=!1,t3=!1,V1={},yB=/\r\n?/g,bB=/\u0000|\uFFFD/g,ch="http://www.w3.org/1999/xlink",gE="http://www.w3.org/XML/1998/namespace",xB="javascript:throw new Error('React form unexpectedly submitted.')",wB="suppressHydrationWarning",dh="&",q1="/&",Cy="$",ky="/$",hd="$?",fh="$~",ng="$!",SB="html",EB="body",TB="head",vE="F!",n3="F",a3="loading",AB="style",wu=0,ag=1,Y1=2,yE=null,bE=null,i3={dialog:!0,webview:!0},xE=null,Ry=void 0,o3=typeof setTimeout=="function"?setTimeout:void 0,CB=typeof clearTimeout=="function"?clearTimeout:void 0,hh=-1,r3=typeof Promise=="function"?Promise:void 0,kB=typeof queueMicrotask=="function"?queueMicrotask:typeof r3<"u"?function(e){return r3.resolve(null).then(e).catch(yx)}:o3,wE=null,ph=0,My=1,l3=2,s3=3,_r=4,zr=new Map,u3=new Set,Su=Gt.d;Gt.d={f:function(){var e=Su.f(),t=Di();return e||t},r:function(e){var t=_e(e);t!==null&&t.tag===5&&t.type==="form"?fc(t):Su.r(e)},D:function(e){Su.D(e),gv("dns-prefetch",e,null)},C:function(e,t){Su.C(e,t),gv("preconnect",e,t)},L:function(e,t,i){Su.L(e,t,i);var u=ig;if(u&&e&&t){var h='link[rel="preload"][as="'+Pt(t)+'"]';t==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+Pt(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+Pt(i.imageSizes)+'"]')):h+='[href="'+Pt(e)+'"]';var m=h;switch(t){case"style":m=eu(e);break;case"script":m=tu(e)}zr.has(m)||(e=xt({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),zr.set(m,e),u.querySelector(h)!==null||t==="style"&&u.querySelector(Of(m))||t==="script"&&u.querySelector(jf(m))||(t=u.createElement("link"),hn(t,"link",e),Ie(t),u.head.appendChild(t)))}},m:function(e,t){Su.m(e,t);var i=ig;if(i&&e){var u=t&&typeof t.as=="string"?t.as:"script",h='link[rel="modulepreload"][as="'+Pt(u)+'"][href="'+Pt(e)+'"]',m=h;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=tu(e)}if(!zr.has(m)&&(e=xt({rel:"modulepreload",href:e},t),zr.set(m,e),i.querySelector(h)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(jf(m)))return}u=i.createElement("link"),hn(u,"link",e),Ie(u),i.head.appendChild(u)}}},X:function(e,t){Su.X(e,t);var i=ig;if(i&&e){var u=at(i).hoistableScripts,h=tu(e),m=u.get(h);m||(m=i.querySelector(jf(h)),m||(e=xt({src:e,async:!0},t),(t=zr.get(h))&&bv(e,t),m=i.createElement("script"),Ie(m),hn(m,"link",e),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(h,m))}},S:function(e,t,i){Su.S(e,t,i);var u=ig;if(u&&e){var h=at(u).hoistableStyles,m=eu(e);t=t||"default";var w=h.get(m);if(!w){var T={loading:ph,preload:null};if(w=u.querySelector(Of(m)))T.loading=My|_r;else{e=xt({rel:"stylesheet",href:e,"data-precedence":t},i),(i=zr.get(m))&&yv(e,i);var D=w=u.createElement("link");Ie(D),hn(D,"link",e),D._p=new Promise(function(_,Z){D.onload=_,D.onerror=Z}),D.addEventListener("load",function(){T.loading|=My}),D.addEventListener("error",function(){T.loading|=l3}),T.loading|=_r,Oc(w,t,u)}w={type:"stylesheet",instance:w,count:1,state:T},h.set(m,w)}}},M:function(e,t){Su.M(e,t);var i=ig;if(i&&e){var u=at(i).hoistableScripts,h=tu(e),m=u.get(h);m||(m=i.querySelector(jf(h)),m||(e=xt({src:e,async:!0,type:"module"},t),(t=zr.get(h))&&bv(e,t),m=i.createElement("script"),Ie(m),hn(m,"link",e),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(h,m))}}};var ig=typeof document>"u"?null:document,G1=null,RB=6e4,MB=800,DB=500,SE=0,EE=null,X1=null,mh=h2,Dy={$$typeof:Ro,Provider:null,Consumer:null,_currentValue:mh,_currentValue2:mh,_threadCount:0},c3="%c%s%c",d3="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",f3="",$1=" ",_B=Function.prototype.bind,h3=!1,p3=null,m3=null,g3=null,v3=null,y3=null,b3=null,x3=null,w3=null,S3=null,E3=null;p3=function(e,t,i,u){t=a(e,t),t!==null&&(i=r(t.memoizedState,i,0,u),t.memoizedState=i,t.baseState=i,e.memoizedProps=xt({},e.memoizedProps),i=ka(e,2),i!==null&&lt(i,e,2))},m3=function(e,t,i){t=a(e,t),t!==null&&(i=d(t.memoizedState,i,0),t.memoizedState=i,t.baseState=i,e.memoizedProps=xt({},e.memoizedProps),i=ka(e,2),i!==null&&lt(i,e,2))},g3=function(e,t,i,u){t=a(e,t),t!==null&&(i=l(t.memoizedState,i,u),t.memoizedState=i,t.baseState=i,e.memoizedProps=xt({},e.memoizedProps),i=ka(e,2),i!==null&&lt(i,e,2))},v3=function(e,t,i){e.pendingProps=r(e.memoizedProps,t,0,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&lt(t,e,2)},y3=function(e,t){e.pendingProps=d(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&lt(t,e,2)},b3=function(e,t,i){e.pendingProps=l(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&lt(t,e,2)},x3=function(e){var t=ka(e,2);t!==null&&lt(t,e,2)},w3=function(e){var t=Bu(),i=ka(e,t);i!==null&&lt(i,e,t)},S3=function(e){g=e},E3=function(e){p=e};var Q1=!0,I1=null,TE=!1,pd=null,md=null,gd=null,_y=new Map,zy=new Map,vd=[],zB="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(" "),Z1=null;if(ko.prototype.render=Mv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var i=arguments;typeof i[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):H(i[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof i[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),i=e;var u=t.current,h=Ma(u);dm(u,h,i,t,null,null)},ko.prototype.unmount=Mv.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Ut&(Ea|jo))!==ja&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),dm(e.current,2,null,e,null,null),Di(),t[ol]=null}},ko.prototype.unstable_scheduleHydration=function(e){if(e){var t=bl();e={blockedOn:null,target:e,priority:t};for(var i=0;i<vd.length&&t!==0&&t<vd[i].priority;i++);vd.splice(i,0,e),i===0&&Rv(e)}},(function(){var e=Hf.version;if(e!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
236
+ Check the top-level render call using <`+u+">.");var w="";i!=null&&e!==i&&(u=null,typeof i.tag=="number"?u=we(i):typeof i.name=="string"&&(u=i.name),u&&(w=" It was passed a child from "+u+".")),ze(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',m,w)})}}};var ah=na(!0),sM=na(!1),uM=0,cM=1,dM=2,G2=3,id=!1,fM=!1,X2=null,$2=!1,Xm=Ke(null),v1=Ke(0),zo=Ke(null),Rr=null,$m=1,fy=2,Fn=Ke(0),y1=0,Mr=1,Ui=2,Oo=4,Bi=8,Qm,hM=new Set,pM=new Set,Q2=new Set,mM=new Set,gu=0,ct=null,ln=null,ca=null,b1=!1,Im=!1,ih=!1,x1=0,hy=0,vu=null,uB=0,cB=25,ue=null,Dr=null,yu=-1,py=!1,my={readContext:qt,use:Qr,useCallback:An,useContext:An,useEffect:An,useImperativeHandle:An,useLayoutEffect:An,useInsertionEffect:An,useMemo:An,useReducer:An,useRef:An,useState:An,useDebugValue:An,useDeferredValue:An,useTransition:An,useSyncExternalStore:An,useId:An,useHostTransitionStatus:An,useFormState:An,useActionState:An,useOptimistic:An,useMemoCache:An,useCacheRefresh:An};my.useEffectEvent=An;var I2=null,gM=null,Z2=null,vM=null,os=null,sl=null,w1=null;I2={readContext:function(e){return qt(e)},use:Qr,useCallback:function(e,t){return ue="useCallback",ut(),$r(t),xp(e,t)},useContext:function(e){return ue="useContext",ut(),qt(e)},useEffect:function(e,t){return ue="useEffect",ut(),$r(t),Vs(e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",ut(),$r(i),ar(e,t,i)},useInsertionEffect:function(e,t){ue="useInsertionEffect",ut(),$r(t),Vl(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",ut(),$r(t),Ga(e,t)},useMemo:function(e,t){ue="useMemo",ut(),$r(t);var i=ce.H;ce.H=os;try{return Xa(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",ut();var u=ce.H;ce.H=os;try{return rc(e,t,i)}finally{ce.H=u}},useRef:function(e){return ue="useRef",ut(),bp(e)},useState:function(e){ue="useState",ut();var t=ce.H;ce.H=os;try{return Ll(e)}finally{ce.H=t}},useDebugValue:function(){ue="useDebugValue",ut()},useDeferredValue:function(e,t){return ue="useDeferredValue",ut(),dc(e,t)},useTransition:function(){return ue="useTransition",ut(),ql()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",ut(),lc(e,t,i)},useId:function(){return ue="useId",ut(),lf()},useFormState:function(e,t){return ue="useFormState",ut(),Fd(),Ai(e,t)},useActionState:function(e,t){return ue="useActionState",ut(),Ai(e,t)},useOptimistic:function(e){return ue="useOptimistic",ut(),Hs(e)},useHostTransitionStatus:Pr,useMemoCache:Ei,useCacheRefresh:function(){return ue="useCacheRefresh",ut(),wp()},useEffectEvent:function(e){return ue="useEffectEvent",ut(),of(e)}},gM={readContext:function(e){return qt(e)},use:Qr,useCallback:function(e,t){return ue="useCallback",Te(),xp(e,t)},useContext:function(e){return ue="useContext",Te(),qt(e)},useEffect:function(e,t){return ue="useEffect",Te(),Vs(e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",Te(),ar(e,t,i)},useInsertionEffect:function(e,t){ue="useInsertionEffect",Te(),Vl(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Te(),Ga(e,t)},useMemo:function(e,t){ue="useMemo",Te();var i=ce.H;ce.H=os;try{return Xa(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",Te();var u=ce.H;ce.H=os;try{return rc(e,t,i)}finally{ce.H=u}},useRef:function(e){return ue="useRef",Te(),bp(e)},useState:function(e){ue="useState",Te();var t=ce.H;ce.H=os;try{return Ll(e)}finally{ce.H=t}},useDebugValue:function(){ue="useDebugValue",Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",Te(),dc(e,t)},useTransition:function(){return ue="useTransition",Te(),ql()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",Te(),lc(e,t,i)},useId:function(){return ue="useId",Te(),lf()},useActionState:function(e,t){return ue="useActionState",Te(),Ai(e,t)},useFormState:function(e,t){return ue="useFormState",Te(),Fd(),Ai(e,t)},useOptimistic:function(e){return ue="useOptimistic",Te(),Hs(e)},useHostTransitionStatus:Pr,useMemoCache:Ei,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),wp()},useEffectEvent:function(e){return ue="useEffectEvent",Te(),of(e)}},Z2={readContext:function(e){return qt(e)},use:Qr,useCallback:function(e,t){return ue="useCallback",Te(),bo(e,t)},useContext:function(e){return ue="useContext",Te(),qt(e)},useEffect:function(e,t){ue="useEffect",Te(),$n(2048,Bi,e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",Te(),cc(e,t,i)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",Te(),$n(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Te(),$n(4,Oo,e,t)},useMemo:function(e,t){ue="useMemo",Te();var i=ce.H;ce.H=sl;try{return fn(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",Te();var u=ce.H;ce.H=sl;try{return Ls(e,t,i)}finally{ce.H=u}},useRef:function(){return ue="useRef",Te(),$t().memoizedState},useState:function(){ue="useState",Te();var e=ce.H;ce.H=sl;try{return Ls(Ti)}finally{ce.H=e}},useDebugValue:function(){ue="useDebugValue",Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",Te(),ir(e,t)},useTransition:function(){return ue="useTransition",Te(),Pb()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",Te(),Bs(e,t,i)},useId:function(){return ue="useId",Te(),$t().memoizedState},useFormState:function(e){return ue="useFormState",Te(),Fd(),Bl(e)},useActionState:function(e){return ue="useActionState",Te(),Bl(e)},useOptimistic:function(e,t){return ue="useOptimistic",Te(),tf(e,t)},useHostTransitionStatus:Pr,useMemoCache:Ei,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),$t().memoizedState},useEffectEvent:function(e){return ue="useEffectEvent",Te(),uc(e)}},vM={readContext:function(e){return qt(e)},use:Qr,useCallback:function(e,t){return ue="useCallback",Te(),bo(e,t)},useContext:function(e){return ue="useContext",Te(),qt(e)},useEffect:function(e,t){ue="useEffect",Te(),$n(2048,Bi,e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",Te(),cc(e,t,i)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",Te(),$n(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Te(),$n(4,Oo,e,t)},useMemo:function(e,t){ue="useMemo",Te();var i=ce.H;ce.H=w1;try{return fn(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",Te();var u=ce.H;ce.H=w1;try{return Us(e,t,i)}finally{ce.H=u}},useRef:function(){return ue="useRef",Te(),$t().memoizedState},useState:function(){ue="useState",Te();var e=ce.H;ce.H=w1;try{return Us(Ti)}finally{ce.H=e}},useDebugValue:function(){ue="useDebugValue",Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",Te(),mt(e,t)},useTransition:function(){return ue="useTransition",Te(),xn()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",Te(),Bs(e,t,i)},useId:function(){return ue="useId",Te(),$t().memoizedState},useFormState:function(e){return ue="useFormState",Te(),Fd(),Hl(e)},useActionState:function(e){return ue="useActionState",Te(),Hl(e)},useOptimistic:function(e,t){return ue="useOptimistic",Te(),nf(e,t)},useHostTransitionStatus:Pr,useMemoCache:Ei,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),$t().memoizedState},useEffectEvent:function(e){return ue="useEffectEvent",Te(),uc(e)}},os={readContext:function(e){return b(),qt(e)},use:function(e){return v(),Qr(e)},useCallback:function(e,t){return ue="useCallback",v(),ut(),xp(e,t)},useContext:function(e){return ue="useContext",v(),ut(),qt(e)},useEffect:function(e,t){return ue="useEffect",v(),ut(),Vs(e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",v(),ut(),ar(e,t,i)},useInsertionEffect:function(e,t){ue="useInsertionEffect",v(),ut(),Vl(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",v(),ut(),Ga(e,t)},useMemo:function(e,t){ue="useMemo",v(),ut();var i=ce.H;ce.H=os;try{return Xa(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",v(),ut();var u=ce.H;ce.H=os;try{return rc(e,t,i)}finally{ce.H=u}},useRef:function(e){return ue="useRef",v(),ut(),bp(e)},useState:function(e){ue="useState",v(),ut();var t=ce.H;ce.H=os;try{return Ll(e)}finally{ce.H=t}},useDebugValue:function(){ue="useDebugValue",v(),ut()},useDeferredValue:function(e,t){return ue="useDeferredValue",v(),ut(),dc(e,t)},useTransition:function(){return ue="useTransition",v(),ut(),ql()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",v(),ut(),lc(e,t,i)},useId:function(){return ue="useId",v(),ut(),lf()},useFormState:function(e,t){return ue="useFormState",v(),ut(),Ai(e,t)},useActionState:function(e,t){return ue="useActionState",v(),ut(),Ai(e,t)},useOptimistic:function(e){return ue="useOptimistic",v(),ut(),Hs(e)},useMemoCache:function(e){return v(),Ei(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return ue="useCacheRefresh",ut(),wp()},useEffectEvent:function(e){return ue="useEffectEvent",v(),ut(),of(e)}},sl={readContext:function(e){return b(),qt(e)},use:function(e){return v(),Qr(e)},useCallback:function(e,t){return ue="useCallback",v(),Te(),bo(e,t)},useContext:function(e){return ue="useContext",v(),Te(),qt(e)},useEffect:function(e,t){ue="useEffect",v(),Te(),$n(2048,Bi,e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",v(),Te(),cc(e,t,i)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",v(),Te(),$n(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",v(),Te(),$n(4,Oo,e,t)},useMemo:function(e,t){ue="useMemo",v(),Te();var i=ce.H;ce.H=sl;try{return fn(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",v(),Te();var u=ce.H;ce.H=sl;try{return Ls(e,t,i)}finally{ce.H=u}},useRef:function(){return ue="useRef",v(),Te(),$t().memoizedState},useState:function(){ue="useState",v(),Te();var e=ce.H;ce.H=sl;try{return Ls(Ti)}finally{ce.H=e}},useDebugValue:function(){ue="useDebugValue",v(),Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",v(),Te(),ir(e,t)},useTransition:function(){return ue="useTransition",v(),Te(),Pb()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",v(),Te(),Bs(e,t,i)},useId:function(){return ue="useId",v(),Te(),$t().memoizedState},useFormState:function(e){return ue="useFormState",v(),Te(),Bl(e)},useActionState:function(e){return ue="useActionState",v(),Te(),Bl(e)},useOptimistic:function(e,t){return ue="useOptimistic",v(),Te(),tf(e,t)},useMemoCache:function(e){return v(),Ei(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),$t().memoizedState},useEffectEvent:function(e){return ue="useEffectEvent",v(),Te(),uc(e)}},w1={readContext:function(e){return b(),qt(e)},use:function(e){return v(),Qr(e)},useCallback:function(e,t){return ue="useCallback",v(),Te(),bo(e,t)},useContext:function(e){return ue="useContext",v(),Te(),qt(e)},useEffect:function(e,t){ue="useEffect",v(),Te(),$n(2048,Bi,e,t)},useImperativeHandle:function(e,t,i){return ue="useImperativeHandle",v(),Te(),cc(e,t,i)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",v(),Te(),$n(4,Ui,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",v(),Te(),$n(4,Oo,e,t)},useMemo:function(e,t){ue="useMemo",v(),Te();var i=ce.H;ce.H=sl;try{return fn(e,t)}finally{ce.H=i}},useReducer:function(e,t,i){ue="useReducer",v(),Te();var u=ce.H;ce.H=sl;try{return Us(e,t,i)}finally{ce.H=u}},useRef:function(){return ue="useRef",v(),Te(),$t().memoizedState},useState:function(){ue="useState",v(),Te();var e=ce.H;ce.H=sl;try{return Us(Ti)}finally{ce.H=e}},useDebugValue:function(){ue="useDebugValue",v(),Te()},useDeferredValue:function(e,t){return ue="useDeferredValue",v(),Te(),mt(e,t)},useTransition:function(){return ue="useTransition",v(),Te(),xn()},useSyncExternalStore:function(e,t,i){return ue="useSyncExternalStore",v(),Te(),Bs(e,t,i)},useId:function(){return ue="useId",v(),Te(),$t().memoizedState},useFormState:function(e){return ue="useFormState",v(),Te(),Hl(e)},useActionState:function(e){return ue="useActionState",v(),Te(),Hl(e)},useOptimistic:function(e,t){return ue="useOptimistic",v(),Te(),nf(e,t)},useMemoCache:function(e){return v(),Ei(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return ue="useCacheRefresh",Te(),$t().memoizedState},useEffectEvent:function(e){return ue="useEffectEvent",v(),Te(),uc(e)}};var yM={},bM=new Set,xM=new Set,wM=new Set,SM=new Set,EM=new Set,TM=new Set,AM=new Set,CM=new Set,kM=new Set,RM=new Set;Object.freeze(yM);var F2={enqueueSetState:function(e,t,i){e=e._reactInternals;var u=Ma(e),h=Xn(u);h.payload=t,i!=null&&(Xs(i),h.callback=i),t=Wo(e,h,u),t!==null&&(Po(u,"this.setState()",e),lt(t,e,u),Fi(t,e,u))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var u=Ma(e),h=Xn(u);h.tag=cM,h.payload=t,i!=null&&(Xs(i),h.callback=i),t=Wo(e,h,u),t!==null&&(Po(u,"this.replaceState()",e),lt(t,e,u),Fi(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=Ma(e),u=Xn(i);u.tag=dM,t!=null&&(Xs(t),u.callback=t),t=Wo(e,u,i),t!==null&&(Po(i,"this.forceUpdate()",e),lt(t,e,i),Fi(t,e,i))}},Zm=null,P2=null,K2=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),da=!1,MM={},DM={},_M={},zM={},Fm=!1,OM={},S1={},J2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},jM=!1,NM=null;NM=new Set;var bu=!1,fa=!1,W2=!1,LM=typeof WeakSet=="function"?WeakSet:Set,Oa=null,Pm=null,Km=null,ha=null,to=!1,ul=null,Sa=!1,gy=8192,dB={getCacheForType:function(e){var t=qt(sa),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return qt(sa).controller.signal},getOwner:function(){return ci}};if(typeof Symbol=="function"&&Symbol.for){var vy=Symbol.for;vy("selector.component"),vy("selector.has_pseudo_class"),vy("selector.role"),vy("selector.test_id"),vy("selector.text")}var fB=[],hB=typeof WeakMap=="function"?WeakMap:Map,ja=0,Ea=2,jo=4,xu=0,yy=1,oh=2,E1=3,od=4,T1=6,UM=5,Ut=ja,sn=null,kt=null,Et=0,no=0,A1=1,rh=2,by=3,BM=4,eE=5,xy=6,C1=7,tE=8,lh=9,tn=no,No=null,rd=!1,Jm=!1,nE=!1,rs=0,Rn=xu,ld=0,sd=0,aE=0,ao=0,sh=0,wy=null,Hi=null,k1=!1,R1=0,HM=0,VM=300,M1=1/0,qM=500,Sy=null,Yn=null,ud=null,D1=0,iE=1,oE=2,YM=3,cd=0,GM=1,XM=2,$M=3,QM=4,_1=5,pa=0,dd=null,Wm=null,cl=0,rE=0,lE=-0,sE=null,IM=null,ZM=null,dl=D1,FM=null,pB=50,Ey=0,uE=null,cE=!1,z1=!1,mB=50,uh=0,Ty=null,eg=!1,O1=null,PM=!1,KM=new Set,gB={},j1=null,tg=null,dE=!1,fE=!1,N1=!1,hE=!1,fd=0,pE={};(function(){for(var e=0;e<A2.length;e++){var t=A2[e],i=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),so(i,"on"+t)}so(kR,"onAnimationEnd"),so(RR,"onAnimationIteration"),so(MR,"onAnimationStart"),so("dblclick","onDoubleClick"),so("focusin","onFocus"),so("focusout","onBlur"),so($U,"onTransitionRun"),so(QU,"onTransitionStart"),so(IU,"onTransitionCancel"),so(DR,"onTransitionEnd")})(),ht("onMouseEnter",["mouseout","mouseover"]),ht("onMouseLeave",["mouseout","mouseover"]),ht("onPointerEnter",["pointerout","pointerover"]),ht("onPointerLeave",["pointerout","pointerover"]),At("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),At("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),At("onBeforeInput",["compositionend","keypress","textInput","paste"]),At("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),At("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),At("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ay="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(" "),mE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ay)),L1="_reactListening"+Math.random().toString(36).slice(2),JM=!1,WM=!1,U1=!1,e3=!1,B1=!1,H1=!1,t3=!1,V1={},vB=/\r\n?/g,yB=/\u0000|\uFFFD/g,ch="http://www.w3.org/1999/xlink",gE="http://www.w3.org/XML/1998/namespace",bB="javascript:throw new Error('React form unexpectedly submitted.')",xB="suppressHydrationWarning",dh="&",q1="/&",Cy="$",ky="/$",hd="$?",fh="$~",ng="$!",wB="html",SB="body",EB="head",vE="F!",n3="F",a3="loading",TB="style",wu=0,ag=1,Y1=2,yE=null,bE=null,i3={dialog:!0,webview:!0},xE=null,Ry=void 0,o3=typeof setTimeout=="function"?setTimeout:void 0,AB=typeof clearTimeout=="function"?clearTimeout:void 0,hh=-1,r3=typeof Promise=="function"?Promise:void 0,CB=typeof queueMicrotask=="function"?queueMicrotask:typeof r3<"u"?function(e){return r3.resolve(null).then(e).catch(yx)}:o3,wE=null,ph=0,My=1,l3=2,s3=3,_r=4,zr=new Map,u3=new Set,Su=Gt.d;Gt.d={f:function(){var e=Su.f(),t=Di();return e||t},r:function(e){var t=_e(e);t!==null&&t.tag===5&&t.type==="form"?fc(t):Su.r(e)},D:function(e){Su.D(e),gv("dns-prefetch",e,null)},C:function(e,t){Su.C(e,t),gv("preconnect",e,t)},L:function(e,t,i){Su.L(e,t,i);var u=ig;if(u&&e&&t){var h='link[rel="preload"][as="'+Pt(t)+'"]';t==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+Pt(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+Pt(i.imageSizes)+'"]')):h+='[href="'+Pt(e)+'"]';var m=h;switch(t){case"style":m=eu(e);break;case"script":m=tu(e)}zr.has(m)||(e=xt({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),zr.set(m,e),u.querySelector(h)!==null||t==="style"&&u.querySelector(Of(m))||t==="script"&&u.querySelector(jf(m))||(t=u.createElement("link"),hn(t,"link",e),Ie(t),u.head.appendChild(t)))}},m:function(e,t){Su.m(e,t);var i=ig;if(i&&e){var u=t&&typeof t.as=="string"?t.as:"script",h='link[rel="modulepreload"][as="'+Pt(u)+'"][href="'+Pt(e)+'"]',m=h;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=tu(e)}if(!zr.has(m)&&(e=xt({rel:"modulepreload",href:e},t),zr.set(m,e),i.querySelector(h)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(jf(m)))return}u=i.createElement("link"),hn(u,"link",e),Ie(u),i.head.appendChild(u)}}},X:function(e,t){Su.X(e,t);var i=ig;if(i&&e){var u=at(i).hoistableScripts,h=tu(e),m=u.get(h);m||(m=i.querySelector(jf(h)),m||(e=xt({src:e,async:!0},t),(t=zr.get(h))&&bv(e,t),m=i.createElement("script"),Ie(m),hn(m,"link",e),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(h,m))}},S:function(e,t,i){Su.S(e,t,i);var u=ig;if(u&&e){var h=at(u).hoistableStyles,m=eu(e);t=t||"default";var w=h.get(m);if(!w){var T={loading:ph,preload:null};if(w=u.querySelector(Of(m)))T.loading=My|_r;else{e=xt({rel:"stylesheet",href:e,"data-precedence":t},i),(i=zr.get(m))&&yv(e,i);var D=w=u.createElement("link");Ie(D),hn(D,"link",e),D._p=new Promise(function(_,Z){D.onload=_,D.onerror=Z}),D.addEventListener("load",function(){T.loading|=My}),D.addEventListener("error",function(){T.loading|=l3}),T.loading|=_r,Oc(w,t,u)}w={type:"stylesheet",instance:w,count:1,state:T},h.set(m,w)}}},M:function(e,t){Su.M(e,t);var i=ig;if(i&&e){var u=at(i).hoistableScripts,h=tu(e),m=u.get(h);m||(m=i.querySelector(jf(h)),m||(e=xt({src:e,async:!0,type:"module"},t),(t=zr.get(h))&&bv(e,t),m=i.createElement("script"),Ie(m),hn(m,"link",e),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(h,m))}}};var ig=typeof document>"u"?null:document,G1=null,kB=6e4,RB=800,MB=500,SE=0,EE=null,X1=null,mh=h2,Dy={$$typeof:Ro,Provider:null,Consumer:null,_currentValue:mh,_currentValue2:mh,_threadCount:0},c3="%c%s%c",d3="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",f3="",$1=" ",DB=Function.prototype.bind,h3=!1,p3=null,m3=null,g3=null,v3=null,y3=null,b3=null,x3=null,w3=null,S3=null,E3=null;p3=function(e,t,i,u){t=a(e,t),t!==null&&(i=r(t.memoizedState,i,0,u),t.memoizedState=i,t.baseState=i,e.memoizedProps=xt({},e.memoizedProps),i=ka(e,2),i!==null&&lt(i,e,2))},m3=function(e,t,i){t=a(e,t),t!==null&&(i=d(t.memoizedState,i,0),t.memoizedState=i,t.baseState=i,e.memoizedProps=xt({},e.memoizedProps),i=ka(e,2),i!==null&&lt(i,e,2))},g3=function(e,t,i,u){t=a(e,t),t!==null&&(i=l(t.memoizedState,i,u),t.memoizedState=i,t.baseState=i,e.memoizedProps=xt({},e.memoizedProps),i=ka(e,2),i!==null&&lt(i,e,2))},v3=function(e,t,i){e.pendingProps=r(e.memoizedProps,t,0,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&lt(t,e,2)},y3=function(e,t){e.pendingProps=d(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&lt(t,e,2)},b3=function(e,t,i){e.pendingProps=l(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&lt(t,e,2)},x3=function(e){var t=ka(e,2);t!==null&&lt(t,e,2)},w3=function(e){var t=Bu(),i=ka(e,t);i!==null&&lt(i,e,t)},S3=function(e){g=e},E3=function(e){p=e};var Q1=!0,I1=null,TE=!1,pd=null,md=null,gd=null,_y=new Map,zy=new Map,vd=[],_B="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(" "),Z1=null;if(ko.prototype.render=Mv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var i=arguments;typeof i[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):H(i[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof i[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),i=e;var u=t.current,h=Ma(u);dm(u,h,i,t,null,null)},ko.prototype.unmount=Mv.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Ut&(Ea|jo))!==ja&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),dm(e.current,2,null,e,null,null),Di(),t[ol]=null}},ko.prototype.unstable_scheduleHydration=function(e){if(e){var t=bl();e={blockedOn:null,target:e,priority:t};for(var i=0;i<vd.length&&t!==0&&t<vd[i].priority;i++);vd.splice(i,0,e),i===0&&Rv(e)}},(function(){var e=Hf.version;if(e!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
237
237
  - react: `+(e+`
238
238
  - react-dom: 19.2.3
239
239
  Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Gt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=he(t),e=e!==null?Ae(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:ce,reconcilerVersion:"19.2.3"};return e.overrideHookState=p3,e.overrideHookStateDeletePath=m3,e.overrideHookStateRenamePath=g3,e.overrideProps=v3,e.overridePropsDeletePath=y3,e.overridePropsRenamePath=b3,e.scheduleUpdate=x3,e.scheduleRetry=w3,e.setErrorHandler=S3,e.setSuspenseHandler=E3,e.scheduleRefresh=L,e.scheduleRoot=M,e.setRefreshHandler=B,e.getCurrentFiber=Wt,Rd(e)})()&&ns&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var T3=window.location.protocol;/^(https?|file):$/.test(T3)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(T3==="file:"?`
@@ -248,12 +248,12 @@ You might need to use a local HTTP server (instead of file://): https://react.de
248
248
  ${B}px !important;
249
249
  top: ${k}px !important;
250
250
  }
251
- `),()=>{Q.contains(H)&&Q.removeChild(H)}},[r]),E.jsx(cO,{isPresent:r,childRef:p,sizeRef:g,children:U.cloneElement(a,{ref:S})})}const fO=({children:a,initial:r,isPresent:l,onExitComplete:c,custom:d,presenceAffectsLayout:p,mode:g,anchorX:v,root:b})=>{const S=aw(hO),A=U.useId();let C=!0,k=U.useMemo(()=>(C=!1,{id:A,initial:r,isPresent:l,custom:d,onExitComplete:M=>{S.set(M,!0);for(const L of S.values())if(!L)return;c&&c()},register:M=>(S.set(M,!1),()=>S.delete(M))}),[l,S,c]);return p&&C&&(k={...k}),U.useMemo(()=>{S.forEach((M,L)=>S.set(L,!1))},[l]),U.useEffect(()=>{!l&&!S.size&&c&&c()},[l]),g==="popLayout"&&(a=E.jsx(dO,{isPresent:l,anchorX:v,root:b,children:a})),E.jsx($y.Provider,{value:k,children:a})};function hO(){return new Map}function NA(a=!0){const r=U.useContext($y);if(r===null)return[!0,null];const{isPresent:l,onExitComplete:c,register:d}=r,p=U.useId();U.useEffect(()=>{if(a)return d(p)},[a]);const g=U.useCallback(()=>a&&c&&c(p),[p,c,a]);return!l&&c?[!1,g]:[!0]}const rb=a=>a.key||"";function LA(a){const r=[];return U.Children.forEach(a,l=>{U.isValidElement(l)&&r.push(l)}),r}const ga=({children:a,custom:r,initial:l=!0,onExitComplete:c,presenceAffectsLayout:d=!0,mode:p="sync",propagate:g=!1,anchorX:v="left",root:b})=>{const[S,A]=NA(g),C=U.useMemo(()=>LA(a),[a]),k=g&&!S?[]:C.map(rb),M=U.useRef(!0),L=U.useRef(C),B=aw(()=>new Map),H=U.useRef(new Set),[Q,K]=U.useState(C),[q,ae]=U.useState(C);uT(()=>{M.current=!1,L.current=C;for(let J=0;J<q.length;J++){const $=rb(q[J]);k.includes($)?(B.delete($),H.current.delete($)):B.get($)!==!0&&B.set($,!1)}},[q,k.length,k.join("-")]);const he=[];if(C!==Q){let J=[...C];for(let $=0;$<q.length;$++){const ge=q[$],we=rb(ge);k.includes(we)||(J.splice($,0,ge),he.push(ge))}return p==="wait"&&he.length&&(J=he),ae(LA(J)),K(C),null}process.env.NODE_ENV!=="production"&&p==="wait"&&q.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:Ae}=U.useContext(nw);return E.jsx(E.Fragment,{children:q.map(J=>{const $=rb(J),ge=g&&!S?!1:C===q||k.includes($),we=()=>{if(H.current.has($))return;if(H.current.add($),B.has($))B.set($,!0);else return;let Ke=!0;B.forEach(Me=>{Me||(Ke=!1)}),Ke&&(Ae?.(),ae(L.current),g&&A?.(),c&&c())};return E.jsx(fO,{isPresent:ge,initial:!M.current||l?void 0:!1,custom:r,presenceAffectsLayout:d,mode:p,root:b,onExitComplete:ge?void 0:we,anchorX:v,children:J},$)})})},UA=U.createContext({strict:!1}),BA={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let HA=!1;function pO(){if(HA)return;const a={};for(const r in BA)a[r]={isEnabled:l=>BA[r].some(c=>!!l[c])};O5(a),HA=!0}function VA(){return pO(),ez()}function mO(a){const r=VA();for(const l in a)r[l]={...r[l],...a[l]};O5(r)}const gO=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function lb(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||gO.has(a)}let qA=a=>!lb(a);function vO(a){typeof a=="function"&&(qA=r=>r.startsWith("on")?!lb(r):a(r))}try{vO(require("@emotion/is-prop-valid").default)}catch{}function yO(a,r,l){const c={};for(const d in a)d==="values"&&typeof a.values=="object"||(qA(d)||l===!0&&lb(d)||!r&&!lb(d)||a.draggable&&d.startsWith("onDrag"))&&(c[d]=a[d]);return c}const sb=U.createContext({});function bO(a,r){if(eb(a)){const{initial:l,animate:c}=a;return{initial:l===!1||Sg(l)?l:void 0,animate:Sg(c)?c:void 0}}return a.inherit!==!1?r:{}}function xO(a){const{initial:r,animate:l}=bO(a,U.useContext(sb));return U.useMemo(()=>({initial:r,animate:l}),[YA(r),YA(l)])}function YA(a){return Array.isArray(a)?a.join(" "):a}const cS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function GA(a,r,l){for(const c in r)!ni(r[c])&&!Q5(c,l)&&(a[c]=r[c])}function wO({transformTemplate:a},r){return U.useMemo(()=>{const l=cS();return aS(l,r,a),Object.assign({},l.vars,l.style)},[r])}function SO(a,r){const l=a.style||{},c={};return GA(c,l,a),Object.assign(c,wO(a,r)),c}function EO(a,r){const l={},c=SO(a,r);return a.drag&&a.dragListener!==!1&&(l.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(l.tabIndex=0),l.style=c,l}const XA=()=>({...cS(),attrs:{}});function TO(a,r,l,c){const d=U.useMemo(()=>{const p=XA();return I5(p,r,F5(c),a.transformTemplate,a.style),{...p.attrs,style:{...p.style}}},[r]);if(a.style){const p={};GA(p,a.style,a),d.style={...p,...d.style}}return d}const AO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function dS(a){return typeof a!="string"||a.includes("-")?!1:!!(AO.indexOf(a)>-1||/[A-Z]/u.test(a))}function CO(a,r,l,{latestValues:c},d,p=!1,g){const b=(g??dS(a)?TO:EO)(r,c,d,a),S=yO(r,typeof a=="string",p),A=a!==U.Fragment?{...S,...b,ref:l}:{},{children:C}=r,k=U.useMemo(()=>ni(C)?C.get():C,[C]);return U.createElement(a,{...A,children:k})}function kO({scrapeMotionValuesFromProps:a,createRenderState:r},l,c,d){return{latestValues:RO(l,c,d,a),renderState:r()}}function RO(a,r,l,c){const d={},p=c(a,{});for(const k in p)d[k]=ib(p[k]);let{initial:g,animate:v}=a;const b=eb(a),S=_5(a);r&&S&&!b&&a.inherit!==!1&&(g===void 0&&(g=r.initial),v===void 0&&(v=r.animate));let A=l?l.initial===!1:!1;A=A||g===!1;const C=A?v:g;if(C&&typeof C!="boolean"&&!Wy(C)){const k=Array.isArray(C)?C:[C];for(let M=0;M<k.length;M++){const L=qw(a,k[M]);if(L){const{transitionEnd:B,transition:H,...Q}=L;for(const K in Q){let q=Q[K];if(Array.isArray(q)){const ae=A?q.length-1:0;q=q[ae]}q!==null&&(d[K]=q)}for(const K in B)d[K]=B[K]}}}return d}const $A=a=>(r,l)=>{const c=U.useContext(sb),d=U.useContext($y),p=()=>kO(a,r,c,d);return l?p():aw(p)},MO=$A({scrapeMotionValuesFromProps:oS,createRenderState:cS}),DO=$A({scrapeMotionValuesFromProps:P5,createRenderState:XA}),_O=Symbol.for("motionComponentSymbol");function zO(a,r,l){const c=U.useRef(l);U.useInsertionEffect(()=>{c.current=l});const d=U.useRef(null);return U.useCallback(p=>{p&&a.onMount?.(p),r&&(p?r.mount(p):r.unmount());const g=c.current;if(typeof g=="function")if(p){const v=g(p);typeof v=="function"&&(d.current=v)}else d.current?(d.current(),d.current=null):g(p);else g&&(g.current=p)},[r])}const QA=U.createContext({});function Cg(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function OO(a,r,l,c,d,p){const{visualElement:g}=U.useContext(sb),v=U.useContext(UA),b=U.useContext($y),S=U.useContext(uS).reducedMotion,A=U.useRef(null);c=c||v.renderer,!A.current&&c&&(A.current=c(a,{visualState:r,parent:g,props:l,presenceContext:b,blockInitialAnimation:b?b.initial===!1:!1,reducedMotionConfig:S,isSVG:p}));const C=A.current,k=U.useContext(QA);C&&!C.projection&&d&&(C.type==="html"||C.type==="svg")&&jO(A.current,l,d,k);const M=U.useRef(!1);U.useInsertionEffect(()=>{C&&M.current&&C.update(l,b)});const L=l[u5],B=U.useRef(!!L&&!window.MotionHandoffIsComplete?.(L)&&window.MotionHasOptimisedAnimation?.(L));return uT(()=>{C&&(M.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),C.scheduleRenderMicrotask(),B.current&&C.animationState&&C.animationState.animateChanges())}),U.useEffect(()=>{C&&(!B.current&&C.animationState&&C.animationState.animateChanges(),B.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(L)}),B.current=!1),C.enteringChildren=void 0)}),C}function jO(a,r,l,c){const{layoutId:d,layout:p,drag:g,dragConstraints:v,layoutScroll:b,layoutRoot:S,layoutCrossfade:A}=r;a.projection=new l(a.latestValues,r["data-framer-portal-id"]?void 0:IA(a.parent)),a.projection.setOptions({layoutId:d,layout:p,alwaysMeasureLayout:!!g||v&&Cg(v),visualElement:a,animationType:typeof p=="string"?p:"both",initialPromotionConfig:c,crossfade:A,layoutScroll:b,layoutRoot:S})}function IA(a){if(a)return a.options.allowProjection!==!1?a.projection:IA(a.parent)}function fS(a,{forwardMotionProps:r=!1,type:l}={},c,d){c&&mO(c);const p=l?l==="svg":dS(a),g=p?DO:MO;function v(S,A){let C;const k={...U.useContext(uS),...S,layoutId:NO(S)},{isStatic:M}=k,L=xO(S),B=g(S,M);if(!M&&sT){LO(k,c);const H=UO(k);C=H.MeasureLayout,L.visualElement=OO(a,B,k,d,H.ProjectionNode,p)}return E.jsxs(sb.Provider,{value:L,children:[C&&L.visualElement?E.jsx(C,{visualElement:L.visualElement,...k}):null,CO(a,S,zO(B,L.visualElement,A),B,M,r,p)]})}v.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const b=U.forwardRef(v);return b[_O]=a,b}function NO({layoutId:a}){const r=U.useContext(nw).id;return r&&a!==void 0?r+"-"+a:a}function LO(a,r){const l=U.useContext(UA).strict;if(process.env.NODE_ENV!=="production"&&r&&l){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";a.ignoreStrict?xh(!1,c,"lazy-strict-mode"):ls(!1,c,"lazy-strict-mode")}}function UO(a){const r=VA(),{drag:l,layout:c}=r;if(!l&&!c)return{};const d={...l,...c};return{MeasureLayout:l?.isEnabled(a)||c?.isEnabled(a)?d.MeasureLayout:void 0,ProjectionNode:d.ProjectionNode}}function BO(a,r){if(typeof Proxy>"u")return fS;const l=new Map,c=(p,g)=>fS(p,g,a,r),d=(p,g)=>(process.env.NODE_ENV!=="production"&&uw(!1,"motion() is deprecated. Use motion.create() instead."),c(p,g));return new Proxy(d,{get:(p,g)=>g==="create"?c:(l.has(g)||l.set(g,fS(g,void 0,a,r)),l.get(g))})}const HO=(a,r)=>r.isSVG??dS(a)?new vz(r):new dz(r,{allowProjection:a!==U.Fragment});class VO extends Du{constructor(r){super(r),r.animationState||(r.animationState=Sz(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Wy(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:l}=this.node.prevProps||{};r!==l&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let qO=0;class YO extends Du{constructor(){super(...arguments),this.id=qO++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:l}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===c)return;const d=this.node.animationState.setActive("exit",!r);l&&!r&&d.then(()=>{l(this.id)})}mount(){const{register:r,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const GO={animation:{Feature:VO},exit:{Feature:YO}};function kg(a){return{point:{x:a.pageX,y:a.pageY}}}const XO=a=>r=>Fw(r)&&a(r,kg(r));function Rg(a,r,l,c){return Ag(a,r,XO(l),c)}const ZA=({current:a})=>a?a.ownerDocument.defaultView:null,FA=(a,r)=>Math.abs(a-r);function $O(a,r){const l=FA(a.x,r.x),c=FA(a.y,r.y);return Math.sqrt(l**2+c**2)}const PA=new Set(["auto","scroll"]);class KA{constructor(r,l,{transformPagePoint:c,contextWindow:d=window,dragSnapToOrigin:p=!1,distanceThreshold:g=3,element:v}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=M=>{this.handleScroll(M.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=pS(this.lastMoveEventInfo,this.history),L=this.startEvent!==null,B=$O(M.offset,{x:0,y:0})>=this.distanceThreshold;if(!L&&!B)return;const{point:H}=M,{timestamp:Q}=Na;this.history.push({...H,timestamp:Q});const{onStart:K,onMove:q}=this.handlers;L||(K&&K(this.lastMoveEvent,M),this.startEvent=this.lastMoveEvent),q&&q(this.lastMoveEvent,M)},this.handlePointerMove=(M,L)=>{this.lastMoveEvent=M,this.lastMoveEventInfo=hS(L,this.transformPagePoint),bn.update(this.updatePoint,!0)},this.handlePointerUp=(M,L)=>{this.end();const{onEnd:B,onSessionEnd:H,resumeAnimation:Q}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Q&&Q(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const K=pS(M.type==="pointercancel"?this.lastMoveEventInfo:hS(L,this.transformPagePoint),this.history);this.startEvent&&B&&B(M,K),H&&H(M,K)},!Fw(r))return;this.dragSnapToOrigin=p,this.handlers=l,this.transformPagePoint=c,this.distanceThreshold=g,this.contextWindow=d||window;const b=kg(r),S=hS(b,this.transformPagePoint),{point:A}=S,{timestamp:C}=Na;this.history=[{...A,timestamp:C}];const{onSessionStart:k}=l;k&&k(r,pS(S,this.history)),this.removeListeners=pg(Rg(this.contextWindow,"pointermove",this.handlePointerMove),Rg(this.contextWindow,"pointerup",this.handlePointerUp),Rg(this.contextWindow,"pointercancel",this.handlePointerUp)),v&&this.startScrollTracking(v)}startScrollTracking(r){let l=r.parentElement;for(;l;){const c=getComputedStyle(l);(PA.has(c.overflowX)||PA.has(c.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(r){const l=this.scrollPositions.get(r);if(!l)return;const c=r===window,d=c?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},p={x:d.x-l.x,y:d.y-l.y};p.x===0&&p.y===0||(c?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=p.x,this.lastMoveEventInfo.point.y+=p.y):this.history.length>0&&(this.history[0].x-=p.x,this.history[0].y-=p.y),this.scrollPositions.set(r,d),bn.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Cu(this.updatePoint)}}function hS(a,r){return r?{point:r(a.point)}:a}function JA(a,r){return{x:a.x-r.x,y:a.y-r.y}}function pS({point:a},r){return{point:a,delta:JA(a,WA(r)),offset:JA(a,QO(r)),velocity:IO(r,.1)}}function QO(a){return a[0]}function WA(a){return a[a.length-1]}function IO(a,r){if(a.length<2)return{x:0,y:0};let l=a.length-1,c=null;const d=WA(a);for(;l>=0&&(c=a[l],!(d.timestamp-c.timestamp>hl(r)));)l--;if(!c)return{x:0,y:0};const p=Uo(d.timestamp-c.timestamp);if(p===0)return{x:0,y:0};const g={x:(d.x-c.x)/p,y:(d.y-c.y)/p};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function ZO(a,{min:r,max:l},c){return r!==void 0&&a<r?a=c?Mn(r,a,c.min):Math.max(a,r):l!==void 0&&a>l&&(a=c?Mn(l,a,c.max):Math.min(a,l)),a}function eC(a,r,l){return{min:r!==void 0?a.min+r:void 0,max:l!==void 0?a.max+l-(a.max-a.min):void 0}}function FO(a,{top:r,left:l,bottom:c,right:d}){return{x:eC(a.x,l,d),y:eC(a.y,r,c)}}function tC(a,r){let l=r.min-a.min,c=r.max-a.max;return r.max-r.min<a.max-a.min&&([l,c]=[c,l]),{min:l,max:c}}function PO(a,r){return{x:tC(a.x,r.x),y:tC(a.y,r.y)}}function KO(a,r){let l=.5;const c=hi(a),d=hi(r);return d>c?l=mg(r.min,r.max-c,a.min):c>d&&(l=mg(a.min,a.max-d,r.min)),fl(0,1,l)}function JO(a,r){const l={};return r.min!==void 0&&(l.min=r.min-a.min),r.max!==void 0&&(l.max=r.max-a.min),l}const mS=.35;function WO(a=mS){return a===!1?a=0:a===!0&&(a=mS),{x:nC(a,"left","right"),y:nC(a,"top","bottom")}}function nC(a,r,l){return{min:aC(a,r),max:aC(a,l)}}function aC(a,r){return typeof a=="number"?a:a[r]||0}const e6=new WeakMap;class t6{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ma(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:l=!1,distanceThreshold:c}={}){const{presenceContext:d}=this.visualElement;if(d&&d.isPresent===!1)return;const p=C=>{l?(this.stopAnimation(),this.snapToCursor(kg(C).point)):this.pauseAnimation()},g=(C,k)=>{this.stopAnimation();const{drag:M,dragPropagation:L,onDragStart:B}=this.getProps();if(M&&!L&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Y_(M),!this.openDragLock))return;this.latestPointerEvent=C,this.latestPanInfo=k,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Bo(Q=>{let K=this.getAxisMotionValue(Q).get()||0;if(pl.test(K)){const{projection:q}=this.visualElement;if(q&&q.layout){const ae=q.layout.layoutBox[Q];ae&&(K=hi(ae)*(parseFloat(K)/100))}}this.originPoint[Q]=K}),B&&bn.postRender(()=>B(C,k)),Gw(this.visualElement,"transform");const{animationState:H}=this.visualElement;H&&H.setActive("whileDrag",!0)},v=(C,k)=>{this.latestPointerEvent=C,this.latestPanInfo=k;const{dragPropagation:M,dragDirectionLock:L,onDirectionLock:B,onDrag:H}=this.getProps();if(!M&&!this.openDragLock)return;const{offset:Q}=k;if(L&&this.currentDirection===null){this.currentDirection=n6(Q),this.currentDirection!==null&&B&&B(this.currentDirection);return}this.updateAxis("x",k.point,Q),this.updateAxis("y",k.point,Q),this.visualElement.render(),H&&H(C,k)},b=(C,k)=>{this.latestPointerEvent=C,this.latestPanInfo=k,this.stop(C,k),this.latestPointerEvent=null,this.latestPanInfo=null},S=()=>Bo(C=>this.getAnimationState(C)==="paused"&&this.getAxisMotionValue(C).animation?.play()),{dragSnapToOrigin:A}=this.getProps();this.panSession=new KA(r,{onSessionStart:p,onStart:g,onMove:v,onSessionEnd:b,resumeAnimation:S},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:A,distanceThreshold:c,contextWindow:ZA(this.visualElement),element:this.visualElement.current})}stop(r,l){const c=r||this.latestPointerEvent,d=l||this.latestPanInfo,p=this.isDragging;if(this.cancel(),!p||!d||!c)return;const{velocity:g}=d;this.startAnimation(g);const{onDragEnd:v}=this.getProps();v&&bn.postRender(()=>v(c,d))}cancel(){this.isDragging=!1;const{projection:r,animationState:l}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}updateAxis(r,l,c){const{drag:d}=this.getProps();if(!c||!ub(r,d,this.currentDirection))return;const p=this.getAxisMotionValue(r);let g=this.originPoint[r]+c[r];this.constraints&&this.constraints[r]&&(g=ZO(g,this.constraints[r],this.elastic[r])),p.set(g)}resolveConstraints(){const{dragConstraints:r,dragElastic:l}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,d=this.constraints;r&&Cg(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&c?this.constraints=FO(c.layoutBox,r):this.constraints=!1,this.elastic=WO(l),d!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&Bo(p=>{this.constraints!==!1&&this.getAxisMotionValue(p)&&(this.constraints[p]=JO(c.layoutBox[p],this.constraints[p]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:l}=this.getProps();if(!r||!Cg(r))return!1;const c=r.current;ls(c!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:d}=this.visualElement;if(!d||!d.layout)return!1;const p=oz(c,d.root,this.visualElement.getTransformPagePoint());let g=PO(d.layout.layoutBox,p);if(l){const v=l(nz(g));this.hasMutatedConstraints=!!v,v&&(g=N5(v))}return g}startAnimation(r){const{drag:l,dragMomentum:c,dragElastic:d,dragTransition:p,dragSnapToOrigin:g,onDragTransitionEnd:v}=this.getProps(),b=this.constraints||{},S=Bo(A=>{if(!ub(A,l,this.currentDirection))return;let C=b&&b[A]||{};g&&(C={min:0,max:0});const k=d?200:1e6,M=d?40:1e7,L={type:"inertia",velocity:c?r[A]:0,bounceStiffness:k,bounceDamping:M,timeConstant:750,restDelta:1,restSpeed:10,...p,...C};return this.startAxisValueAnimation(A,L)});return Promise.all(S).then(v)}startAxisValueAnimation(r,l){const c=this.getAxisMotionValue(r);return Gw(this.visualElement,r),c.start(Vw(r,c,0,l,this.visualElement,!1))}stopAnimation(){Bo(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){Bo(r=>this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const l=`_drag${r.toUpperCase()}`,c=this.visualElement.getProps(),d=c[l];return d||this.visualElement.getValue(r,(c.initial?c.initial[r]:void 0)||0)}snapToCursor(r){Bo(l=>{const{drag:c}=this.getProps();if(!ub(l,c,this.currentDirection))return;const{projection:d}=this.visualElement,p=this.getAxisMotionValue(l);if(d&&d.layout){const{min:g,max:v}=d.layout.layoutBox[l],b=p.get()||0;p.set(r[l]-Mn(g,v,.5)+b)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:l}=this.getProps(),{projection:c}=this.visualElement;if(!Cg(l)||!c||!this.constraints)return;this.stopAnimation();const d={x:0,y:0};Bo(g=>{const v=this.getAxisMotionValue(g);if(v&&this.constraints!==!1){const b=v.get();d[g]=KO({min:b,max:b},this.constraints[g])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Bo(g=>{if(!ub(g,r,null))return;const v=this.getAxisMotionValue(g),{min:b,max:S}=this.constraints[g];v.set(Mn(b,S,d[g]))})}addListeners(){if(!this.visualElement.current)return;e6.set(this.visualElement,this);const r=this.visualElement.current,l=Rg(r,"pointerdown",b=>{const{drag:S,dragListener:A=!0}=this.getProps();S&&A&&!T5(b.target)&&this.start(b)}),c=()=>{const{dragConstraints:b}=this.getProps();Cg(b)&&b.current&&(this.constraints=this.resolveRefConstraints())},{projection:d}=this.visualElement,p=d.addEventListener("measure",c);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),bn.read(c);const g=Ag(window,"resize",()=>this.scalePositionWithinConstraints()),v=d.addEventListener("didUpdate",(({delta:b,hasLayoutChanged:S})=>{this.isDragging&&S&&(Bo(A=>{const C=this.getAxisMotionValue(A);C&&(this.originPoint[A]+=b[A].translate,C.set(C.get()+b[A].translate))}),this.visualElement.render())}));return()=>{g(),l(),p(),v&&v()}}getProps(){const r=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:c=!1,dragPropagation:d=!1,dragConstraints:p=!1,dragElastic:g=mS,dragMomentum:v=!0}=r;return{...r,drag:l,dragDirectionLock:c,dragPropagation:d,dragConstraints:p,dragElastic:g,dragMomentum:v}}}function ub(a,r,l){return(r===!0||r===a)&&(l===null||l===a)}function n6(a,r=10){let l=null;return Math.abs(a.y)>r?l="y":Math.abs(a.x)>r&&(l="x"),l}class a6 extends Du{constructor(r){super(r),this.removeGroupControls=Lo,this.removeListeners=Lo,this.controls=new t6(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lo}update(){const{dragControls:r}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};r!==l&&(this.removeGroupControls(),r&&(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const iC=a=>(r,l)=>{a&&bn.postRender(()=>a(r,l))};class i6 extends Du{constructor(){super(...arguments),this.removePointerDownListener=Lo}onPointerDown(r){this.session=new KA(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ZA(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:l,onPan:c,onPanEnd:d}=this.node.getProps();return{onSessionStart:iC(r),onStart:iC(l),onMove:c,onEnd:(p,g)=>{delete this.session,d&&bn.postRender(()=>d(p,g))}}}mount(){this.removePointerDownListener=Rg(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let gS=!1;class o6 extends U.Component{componentDidMount(){const{visualElement:r,layoutGroup:l,switchLayoutGroup:c,layoutId:d}=this.props,{projection:p}=r;p&&(l.group&&l.group.add(p),c&&c.register&&d&&c.register(p),gS&&p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,onExitComplete:()=>this.safeToRemove()})),ob.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:l,visualElement:c,drag:d,isPresent:p}=this.props,{projection:g}=c;return g&&(g.isPresent=p,gS=!0,d||r.layoutDependency!==l||l===void 0||r.isPresent!==p?g.willUpdate():this.safeToRemove(),r.isPresent!==p&&(p?g.promote():g.relegate()||bn.postRender(()=>{const v=g.getStack();(!v||!v.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),Zw.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:l,switchLayoutGroup:c}=this.props,{projection:d}=r;gS=!0,d&&(d.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(d),c&&c.deregister&&c.deregister(d))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function oC(a){const[r,l]=NA(),c=U.useContext(nw);return E.jsx(o6,{...a,layoutGroup:c,switchLayoutGroup:U.useContext(QA),isPresent:r,safeToRemove:l})}const r6={pan:{Feature:i6},drag:{Feature:a6,ProjectionNode:OA,MeasureLayout:oC}};function rC(a,r,l){const{props:c}=a;a.animationState&&c.whileHover&&a.animationState.setActive("whileHover",l==="Start");const d="onHover"+l,p=c[d];p&&bn.postRender(()=>p(r,kg(r)))}class l6 extends Du{mount(){const{current:r}=this.node;r&&(this.unmount=G_(r,(l,c)=>(rC(this.node,c,"Start"),d=>rC(this.node,d,"End"))))}unmount(){}}class s6 extends Du{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=pg(Ag(this.node.current,"focus",()=>this.onFocus()),Ag(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function lC(a,r,l){const{props:c}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&c.whileTap&&a.animationState.setActive("whileTap",l==="Start");const d="onTap"+(l==="End"?"":l),p=c[d];p&&bn.postRender(()=>p(r,kg(r)))}class u6 extends Du{mount(){const{current:r}=this.node;r&&(this.unmount=Q_(r,(l,c)=>(lC(this.node,c,"Start"),(d,{success:p})=>lC(this.node,d,p?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const vS=new WeakMap,yS=new WeakMap,c6=a=>{const r=vS.get(a.target);r&&r(a)},d6=a=>{a.forEach(c6)};function f6({root:a,...r}){const l=a||document;yS.has(l)||yS.set(l,{});const c=yS.get(l),d=JSON.stringify(r);return c[d]||(c[d]=new IntersectionObserver(d6,{root:a,...r})),c[d]}function h6(a,r,l){const c=f6(r);return vS.set(a,l),c.observe(a),()=>{vS.delete(a),c.unobserve(a)}}const p6={some:0,all:1};class m6 extends Du{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:l,margin:c,amount:d="some",once:p}=r,g={root:l?l.current:void 0,rootMargin:c,threshold:typeof d=="number"?d:p6[d]},v=b=>{const{isIntersecting:S}=b;if(this.isInView===S||(this.isInView=S,p&&!S&&this.hasEnteredView))return;S&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",S);const{onViewportEnter:A,onViewportLeave:C}=this.node.getProps(),k=S?A:C;k&&k(b)};return h6(this.node.current,g,v)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:l}=this.node;["amount","margin","root"].some(g6(r,l))&&this.startObserver()}unmount(){}}function g6({viewport:a={}},{viewport:r={}}={}){return l=>a[l]!==r[l]}const v6={...GO,...{inView:{Feature:m6},tap:{Feature:u6},focus:{Feature:s6},hover:{Feature:l6}},...r6,...{layout:{ProjectionNode:OA,MeasureLayout:oC}}},Ne=BO(v6,HO);const y6=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),b6=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,c)=>c?c.toUpperCase():l.toLowerCase()),sC=a=>{const r=b6(a);return r.charAt(0).toUpperCase()+r.slice(1)},uC=(...a)=>a.filter((r,l,c)=>!!r&&r.trim()!==""&&c.indexOf(r)===l).join(" ").trim(),x6=a=>{for(const r in a)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};var w6={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const S6=U.forwardRef(({color:a="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:d="",children:p,iconNode:g,...v},b)=>U.createElement("svg",{ref:b,...w6,width:r,height:r,stroke:a,strokeWidth:c?Number(l)*24/Number(r):l,className:uC("lucide",d),...!p&&!x6(v)&&{"aria-hidden":"true"},...v},[...g.map(([S,A])=>U.createElement(S,A)),...Array.isArray(p)?p:[p]]));const tt=(a,r)=>{const l=U.forwardRef(({className:c,...d},p)=>U.createElement(S6,{ref:p,iconNode:r,className:uC(`lucide-${y6(sC(a))}`,`lucide-${a}`,c),...d}));return l.displayName=sC(a),l};const E6=tt("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const T6=tt("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);const A6=tt("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);const C6=tt("bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);const k6=tt("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);const R6=tt("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);const cC=tt("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const Mg=tt("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const M6=tt("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const _h=tt("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const D6=tt("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);const Dg=tt("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const _6=tt("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const z6=tt("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const cb=tt("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);const O6=tt("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);const j6=tt("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const N6=tt("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);const L6=tt("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);const U6=tt("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]]);const dC=tt("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);const B6=tt("crop",[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]]);const _g=tt("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const fC=tt("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);const hC=tt("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const db=tt("file-code",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]);const H6=tt("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);const V6=tt("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);const pC=tt("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);const q6=tt("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);const us=tt("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);const Y6=tt("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const G6=tt("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const X6=tt("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const $6=tt("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const Q6=tt("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);const I6=tt("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);const Z6=tt("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);const F6=tt("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);const P6=tt("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);const K6=tt("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const mC=tt("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);const J6=tt("rows-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}]]);const W6=tt("scan-line",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]]);const bS=tt("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const xS=tt("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const ej=tt("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);const gC=tt("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);const tj=tt("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);const nj=tt("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);const aj=tt("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);const ij=tt("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const _u=tt("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const fb=tt("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function vC(a){var r,l,c="";if(typeof a=="string"||typeof a=="number")c+=a;else if(typeof a=="object")if(Array.isArray(a)){var d=a.length;for(r=0;r<d;r++)a[r]&&(l=vC(a[r]))&&(c&&(c+=" "),c+=l)}else for(l in a)a[l]&&(c&&(c+=" "),c+=l);return c}function yC(){for(var a,r,l=0,c="",d=arguments.length;l<d;l++)(a=arguments[l])&&(r=vC(a))&&(c&&(c+=" "),c+=r);return c}const oj=(a,r)=>{const l=new Array(a.length+r.length);for(let c=0;c<a.length;c++)l[c]=a[c];for(let c=0;c<r.length;c++)l[a.length+c]=r[c];return l},rj=(a,r)=>({classGroupId:a,validator:r}),bC=(a=new Map,r=null,l)=>({nextPart:a,validators:r,classGroupId:l}),hb="-",xC=[],lj="arbitrary..",sj=a=>{const r=cj(a),{conflictingClassGroups:l,conflictingClassGroupModifiers:c}=a;return{getClassGroupId:g=>{if(g.startsWith("[")&&g.endsWith("]"))return uj(g);const v=g.split(hb),b=v[0]===""&&v.length>1?1:0;return wC(v,b,r)},getConflictingClassGroupIds:(g,v)=>{if(v){const b=c[g],S=l[g];return b?S?oj(S,b):b:S||xC}return l[g]||xC}}},wC=(a,r,l)=>{if(a.length-r===0)return l.classGroupId;const d=a[r],p=l.nextPart.get(d);if(p){const S=wC(a,r+1,p);if(S)return S}const g=l.validators;if(g===null)return;const v=r===0?a.join(hb):a.slice(r).join(hb),b=g.length;for(let S=0;S<b;S++){const A=g[S];if(A.validator(v))return A.classGroupId}},uj=a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=a.slice(1,-1),l=r.indexOf(":"),c=r.slice(0,l);return c?lj+c:void 0})(),cj=a=>{const{theme:r,classGroups:l}=a;return dj(l,r)},dj=(a,r)=>{const l=bC();for(const c in a){const d=a[c];wS(d,l,c,r)}return l},wS=(a,r,l,c)=>{const d=a.length;for(let p=0;p<d;p++){const g=a[p];fj(g,r,l,c)}},fj=(a,r,l,c)=>{if(typeof a=="string"){hj(a,r,l);return}if(typeof a=="function"){pj(a,r,l,c);return}mj(a,r,l,c)},hj=(a,r,l)=>{const c=a===""?r:SC(r,a);c.classGroupId=l},pj=(a,r,l,c)=>{if(gj(a)){wS(a(c),r,l,c);return}r.validators===null&&(r.validators=[]),r.validators.push(rj(l,a))},mj=(a,r,l,c)=>{const d=Object.entries(a),p=d.length;for(let g=0;g<p;g++){const[v,b]=d[g];wS(b,SC(r,v),l,c)}},SC=(a,r)=>{let l=a;const c=r.split(hb),d=c.length;for(let p=0;p<d;p++){const g=c[p];let v=l.nextPart.get(g);v||(v=bC(),l.nextPart.set(g,v)),l=v}return l},gj=a=>"isThemeGetter"in a&&a.isThemeGetter===!0,vj=a=>{if(a<1)return{get:()=>{},set:()=>{}};let r=0,l=Object.create(null),c=Object.create(null);const d=(p,g)=>{l[p]=g,r++,r>a&&(r=0,c=l,l=Object.create(null))};return{get(p){let g=l[p];if(g!==void 0)return g;if((g=c[p])!==void 0)return d(p,g),g},set(p,g){p in l?l[p]=g:d(p,g)}}},SS="!",EC=":",yj=[],TC=(a,r,l,c,d)=>({modifiers:a,hasImportantModifier:r,baseClassName:l,maybePostfixModifierPosition:c,isExternal:d}),bj=a=>{const{prefix:r,experimentalParseClassName:l}=a;let c=d=>{const p=[];let g=0,v=0,b=0,S;const A=d.length;for(let B=0;B<A;B++){const H=d[B];if(g===0&&v===0){if(H===EC){p.push(d.slice(b,B)),b=B+1;continue}if(H==="/"){S=B;continue}}H==="["?g++:H==="]"?g--:H==="("?v++:H===")"&&v--}const C=p.length===0?d:d.slice(b);let k=C,M=!1;C.endsWith(SS)?(k=C.slice(0,-1),M=!0):C.startsWith(SS)&&(k=C.slice(1),M=!0);const L=S&&S>b?S-b:void 0;return TC(p,M,k,L)};if(r){const d=r+EC,p=c;c=g=>g.startsWith(d)?p(g.slice(d.length)):TC(yj,!1,g,void 0,!0)}if(l){const d=c;c=p=>l({className:p,parseClassName:d})}return c},xj=a=>{const r=new Map;return a.orderSensitiveModifiers.forEach((l,c)=>{r.set(l,1e6+c)}),l=>{const c=[];let d=[];for(let p=0;p<l.length;p++){const g=l[p],v=g[0]==="[",b=r.has(g);v||b?(d.length>0&&(d.sort(),c.push(...d),d=[]),c.push(g)):d.push(g)}return d.length>0&&(d.sort(),c.push(...d)),c}},wj=a=>({cache:vj(a.cacheSize),parseClassName:bj(a),sortModifiers:xj(a),...sj(a)}),Sj=/\s+/,Ej=(a,r)=>{const{parseClassName:l,getClassGroupId:c,getConflictingClassGroupIds:d,sortModifiers:p}=r,g=[],v=a.trim().split(Sj);let b="";for(let S=v.length-1;S>=0;S-=1){const A=v[S],{isExternal:C,modifiers:k,hasImportantModifier:M,baseClassName:L,maybePostfixModifierPosition:B}=l(A);if(C){b=A+(b.length>0?" "+b:b);continue}let H=!!B,Q=c(H?L.substring(0,B):L);if(!Q){if(!H){b=A+(b.length>0?" "+b:b);continue}if(Q=c(L),!Q){b=A+(b.length>0?" "+b:b);continue}H=!1}const K=k.length===0?"":k.length===1?k[0]:p(k).join(":"),q=M?K+SS:K,ae=q+Q;if(g.indexOf(ae)>-1)continue;g.push(ae);const he=d(Q,H);for(let Ae=0;Ae<he.length;++Ae){const J=he[Ae];g.push(q+J)}b=A+(b.length>0?" "+b:b)}return b},Tj=(...a)=>{let r=0,l,c,d="";for(;r<a.length;)(l=a[r++])&&(c=AC(l))&&(d&&(d+=" "),d+=c);return d},AC=a=>{if(typeof a=="string")return a;let r,l="";for(let c=0;c<a.length;c++)a[c]&&(r=AC(a[c]))&&(l&&(l+=" "),l+=r);return l},Aj=(a,...r)=>{let l,c,d,p;const g=b=>{const S=r.reduce((A,C)=>C(A),a());return l=wj(S),c=l.cache.get,d=l.cache.set,p=v,v(b)},v=b=>{const S=c(b);if(S)return S;const A=Ej(b,l);return d(b,A),A};return p=g,(...b)=>p(Tj(...b))},Cj=[],va=a=>{const r=l=>l[a]||Cj;return r.isThemeGetter=!0,r},CC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,kC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kj=/^\d+\/\d+$/,Rj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Dj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,_j=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,zh=a=>kj.test(a),Mt=a=>!!a&&!Number.isNaN(Number(a)),zu=a=>!!a&&Number.isInteger(Number(a)),ES=a=>a.endsWith("%")&&Mt(a.slice(0,-1)),cs=a=>Rj.test(a),Oj=()=>!0,jj=a=>Mj.test(a)&&!Dj.test(a),RC=()=>!1,Nj=a=>_j.test(a),Lj=a=>zj.test(a),Uj=a=>!$e(a)&&!Qe(a),Bj=a=>Oh(a,OC,RC),$e=a=>CC.test(a),Td=a=>Oh(a,jC,jj),TS=a=>Oh(a,Gj,Mt),MC=a=>Oh(a,_C,RC),Hj=a=>Oh(a,zC,Lj),pb=a=>Oh(a,NC,Nj),Qe=a=>kC.test(a),zg=a=>jh(a,jC),Vj=a=>jh(a,Xj),DC=a=>jh(a,_C),qj=a=>jh(a,OC),Yj=a=>jh(a,zC),mb=a=>jh(a,NC,!0),Oh=(a,r,l)=>{const c=CC.exec(a);return c?c[1]?r(c[1]):l(c[2]):!1},jh=(a,r,l=!1)=>{const c=kC.exec(a);return c?c[1]?r(c[1]):l:!1},_C=a=>a==="position"||a==="percentage",zC=a=>a==="image"||a==="url",OC=a=>a==="length"||a==="size"||a==="bg-size",jC=a=>a==="length",Gj=a=>a==="number",Xj=a=>a==="family-name",NC=a=>a==="shadow",$j=Aj(()=>{const a=va("color"),r=va("font"),l=va("text"),c=va("font-weight"),d=va("tracking"),p=va("leading"),g=va("breakpoint"),v=va("container"),b=va("spacing"),S=va("radius"),A=va("shadow"),C=va("inset-shadow"),k=va("text-shadow"),M=va("drop-shadow"),L=va("blur"),B=va("perspective"),H=va("aspect"),Q=va("ease"),K=va("animate"),q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ae=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],he=()=>[...ae(),Qe,$e],Ae=()=>["auto","hidden","clip","visible","scroll"],J=()=>["auto","contain","none"],$=()=>[Qe,$e,b],ge=()=>[zh,"full","auto",...$()],we=()=>[zu,"none","subgrid",Qe,$e],Ke=()=>["auto",{span:["full",zu,Qe,$e]},zu,Qe,$e],Me=()=>[zu,"auto",Qe,$e],qe=()=>["auto","min","max","fr",Qe,$e],Se=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ue=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...$()],W=()=>[zh,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...$()],ne=()=>[a,Qe,$e],De=()=>[...ae(),DC,MC,{position:[Qe,$e]}],Be=()=>["no-repeat",{repeat:["","x","y","space","round"]}],j=()=>["auto","cover","contain",qj,Bj,{size:[Qe,$e]}],ie=()=>[ES,zg,Td],ve=()=>["","none","full",S,Qe,$e],ye=()=>["",Mt,zg,Td],Xe=()=>["solid","dashed","dotted","double"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>[Mt,ES,DC,MC],Tt=()=>["","none",L,Qe,$e],ft=()=>["none",Mt,Qe,$e],Un=()=>["none",Mt,Qe,$e],ze=()=>[Mt,Qe,$e],Ta=()=>[zh,"full",...$()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[cs],breakpoint:[cs],color:[Oj],container:[cs],"drop-shadow":[cs],ease:["in","out","in-out"],font:[Uj],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[cs],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[cs],shadow:[cs],spacing:["px",Mt],text:[cs],"text-shadow":[cs],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",zh,$e,Qe,H]}],container:["container"],columns:[{columns:[Mt,$e,Qe,v]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:he()}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-y":[{"overflow-y":Ae()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ge()}],"inset-x":[{"inset-x":ge()}],"inset-y":[{"inset-y":ge()}],start:[{start:ge()}],end:[{end:ge()}],top:[{top:ge()}],right:[{right:ge()}],bottom:[{bottom:ge()}],left:[{left:ge()}],visibility:["visible","invisible","collapse"],z:[{z:[zu,"auto",Qe,$e]}],basis:[{basis:[zh,"full","auto",v,...$()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Mt,zh,"auto","initial","none",$e]}],grow:[{grow:["",Mt,Qe,$e]}],shrink:[{shrink:["",Mt,Qe,$e]}],order:[{order:[zu,"first","last","none",Qe,$e]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:Ke()}],"col-start":[{"col-start":Me()}],"col-end":[{"col-end":Me()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:Ke()}],"row-start":[{"row-start":Me()}],"row-end":[{"row-end":Me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":qe()}],"auto-rows":[{"auto-rows":qe()}],gap:[{gap:$()}],"gap-x":[{"gap-x":$()}],"gap-y":[{"gap-y":$()}],"justify-content":[{justify:[...Se(),"normal"]}],"justify-items":[{"justify-items":[...Ue(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ue()]}],"align-content":[{content:["normal",...Se()]}],"align-items":[{items:[...Ue(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ue(),{baseline:["","last"]}]}],"place-content":[{"place-content":Se()}],"place-items":[{"place-items":[...Ue(),"baseline"]}],"place-self":[{"place-self":["auto",...Ue()]}],p:[{p:$()}],px:[{px:$()}],py:[{py:$()}],ps:[{ps:$()}],pe:[{pe:$()}],pt:[{pt:$()}],pr:[{pr:$()}],pb:[{pb:$()}],pl:[{pl:$()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":$()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":$()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],w:[{w:[v,"screen",...W()]}],"min-w":[{"min-w":[v,"screen","none",...W()]}],"max-w":[{"max-w":[v,"screen","none","prose",{screen:[g]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",l,zg,Td]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,Qe,TS]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ES,$e]}],"font-family":[{font:[Vj,$e,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d,Qe,$e]}],"line-clamp":[{"line-clamp":[Mt,"none",Qe,TS]}],leading:[{leading:[p,...$()]}],"list-image":[{"list-image":["none",Qe,$e]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Qe,$e]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ne()}],"text-color":[{text:ne()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Mt,"from-font","auto",Qe,Td]}],"text-decoration-color":[{decoration:ne()}],"underline-offset":[{"underline-offset":[Mt,"auto",Qe,$e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Qe,$e]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Qe,$e]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:De()}],"bg-repeat":[{bg:Be()}],"bg-size":[{bg:j()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zu,Qe,$e],radial:["",Qe,$e],conic:[zu,Qe,$e]},Yj,Hj]}],"bg-color":[{bg:ne()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:ne()}],"gradient-via":[{via:ne()}],"gradient-to":[{to:ne()}],rounded:[{rounded:ve()}],"rounded-s":[{"rounded-s":ve()}],"rounded-e":[{"rounded-e":ve()}],"rounded-t":[{"rounded-t":ve()}],"rounded-r":[{"rounded-r":ve()}],"rounded-b":[{"rounded-b":ve()}],"rounded-l":[{"rounded-l":ve()}],"rounded-ss":[{"rounded-ss":ve()}],"rounded-se":[{"rounded-se":ve()}],"rounded-ee":[{"rounded-ee":ve()}],"rounded-es":[{"rounded-es":ve()}],"rounded-tl":[{"rounded-tl":ve()}],"rounded-tr":[{"rounded-tr":ve()}],"rounded-br":[{"rounded-br":ve()}],"rounded-bl":[{"rounded-bl":ve()}],"border-w":[{border:ye()}],"border-w-x":[{"border-x":ye()}],"border-w-y":[{"border-y":ye()}],"border-w-s":[{"border-s":ye()}],"border-w-e":[{"border-e":ye()}],"border-w-t":[{"border-t":ye()}],"border-w-r":[{"border-r":ye()}],"border-w-b":[{"border-b":ye()}],"border-w-l":[{"border-l":ye()}],"divide-x":[{"divide-x":ye()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ye()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Xe(),"hidden","none"]}],"divide-style":[{divide:[...Xe(),"hidden","none"]}],"border-color":[{border:ne()}],"border-color-x":[{"border-x":ne()}],"border-color-y":[{"border-y":ne()}],"border-color-s":[{"border-s":ne()}],"border-color-e":[{"border-e":ne()}],"border-color-t":[{"border-t":ne()}],"border-color-r":[{"border-r":ne()}],"border-color-b":[{"border-b":ne()}],"border-color-l":[{"border-l":ne()}],"divide-color":[{divide:ne()}],"outline-style":[{outline:[...Xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Mt,Qe,$e]}],"outline-w":[{outline:["",Mt,zg,Td]}],"outline-color":[{outline:ne()}],shadow:[{shadow:["","none",A,mb,pb]}],"shadow-color":[{shadow:ne()}],"inset-shadow":[{"inset-shadow":["none",C,mb,pb]}],"inset-shadow-color":[{"inset-shadow":ne()}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ne()}],"ring-offset-w":[{"ring-offset":[Mt,Td]}],"ring-offset-color":[{"ring-offset":ne()}],"inset-ring-w":[{"inset-ring":ye()}],"inset-ring-color":[{"inset-ring":ne()}],"text-shadow":[{"text-shadow":["none",k,mb,pb]}],"text-shadow-color":[{"text-shadow":ne()}],opacity:[{opacity:[Mt,Qe,$e]}],"mix-blend":[{"mix-blend":[...fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":fe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Mt]}],"mask-image-linear-from-pos":[{"mask-linear-from":ke()}],"mask-image-linear-to-pos":[{"mask-linear-to":ke()}],"mask-image-linear-from-color":[{"mask-linear-from":ne()}],"mask-image-linear-to-color":[{"mask-linear-to":ne()}],"mask-image-t-from-pos":[{"mask-t-from":ke()}],"mask-image-t-to-pos":[{"mask-t-to":ke()}],"mask-image-t-from-color":[{"mask-t-from":ne()}],"mask-image-t-to-color":[{"mask-t-to":ne()}],"mask-image-r-from-pos":[{"mask-r-from":ke()}],"mask-image-r-to-pos":[{"mask-r-to":ke()}],"mask-image-r-from-color":[{"mask-r-from":ne()}],"mask-image-r-to-color":[{"mask-r-to":ne()}],"mask-image-b-from-pos":[{"mask-b-from":ke()}],"mask-image-b-to-pos":[{"mask-b-to":ke()}],"mask-image-b-from-color":[{"mask-b-from":ne()}],"mask-image-b-to-color":[{"mask-b-to":ne()}],"mask-image-l-from-pos":[{"mask-l-from":ke()}],"mask-image-l-to-pos":[{"mask-l-to":ke()}],"mask-image-l-from-color":[{"mask-l-from":ne()}],"mask-image-l-to-color":[{"mask-l-to":ne()}],"mask-image-x-from-pos":[{"mask-x-from":ke()}],"mask-image-x-to-pos":[{"mask-x-to":ke()}],"mask-image-x-from-color":[{"mask-x-from":ne()}],"mask-image-x-to-color":[{"mask-x-to":ne()}],"mask-image-y-from-pos":[{"mask-y-from":ke()}],"mask-image-y-to-pos":[{"mask-y-to":ke()}],"mask-image-y-from-color":[{"mask-y-from":ne()}],"mask-image-y-to-color":[{"mask-y-to":ne()}],"mask-image-radial":[{"mask-radial":[Qe,$e]}],"mask-image-radial-from-pos":[{"mask-radial-from":ke()}],"mask-image-radial-to-pos":[{"mask-radial-to":ke()}],"mask-image-radial-from-color":[{"mask-radial-from":ne()}],"mask-image-radial-to-color":[{"mask-radial-to":ne()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ae()}],"mask-image-conic-pos":[{"mask-conic":[Mt]}],"mask-image-conic-from-pos":[{"mask-conic-from":ke()}],"mask-image-conic-to-pos":[{"mask-conic-to":ke()}],"mask-image-conic-from-color":[{"mask-conic-from":ne()}],"mask-image-conic-to-color":[{"mask-conic-to":ne()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:De()}],"mask-repeat":[{mask:Be()}],"mask-size":[{mask:j()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Qe,$e]}],filter:[{filter:["","none",Qe,$e]}],blur:[{blur:Tt()}],brightness:[{brightness:[Mt,Qe,$e]}],contrast:[{contrast:[Mt,Qe,$e]}],"drop-shadow":[{"drop-shadow":["","none",M,mb,pb]}],"drop-shadow-color":[{"drop-shadow":ne()}],grayscale:[{grayscale:["",Mt,Qe,$e]}],"hue-rotate":[{"hue-rotate":[Mt,Qe,$e]}],invert:[{invert:["",Mt,Qe,$e]}],saturate:[{saturate:[Mt,Qe,$e]}],sepia:[{sepia:["",Mt,Qe,$e]}],"backdrop-filter":[{"backdrop-filter":["","none",Qe,$e]}],"backdrop-blur":[{"backdrop-blur":Tt()}],"backdrop-brightness":[{"backdrop-brightness":[Mt,Qe,$e]}],"backdrop-contrast":[{"backdrop-contrast":[Mt,Qe,$e]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Mt,Qe,$e]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Mt,Qe,$e]}],"backdrop-invert":[{"backdrop-invert":["",Mt,Qe,$e]}],"backdrop-opacity":[{"backdrop-opacity":[Mt,Qe,$e]}],"backdrop-saturate":[{"backdrop-saturate":[Mt,Qe,$e]}],"backdrop-sepia":[{"backdrop-sepia":["",Mt,Qe,$e]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":$()}],"border-spacing-x":[{"border-spacing-x":$()}],"border-spacing-y":[{"border-spacing-y":$()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Qe,$e]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Mt,"initial",Qe,$e]}],ease:[{ease:["linear","initial",Q,Qe,$e]}],delay:[{delay:[Mt,Qe,$e]}],animate:[{animate:["none",K,Qe,$e]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[B,Qe,$e]}],"perspective-origin":[{"perspective-origin":he()}],rotate:[{rotate:ft()}],"rotate-x":[{"rotate-x":ft()}],"rotate-y":[{"rotate-y":ft()}],"rotate-z":[{"rotate-z":ft()}],scale:[{scale:Un()}],"scale-x":[{"scale-x":Un()}],"scale-y":[{"scale-y":Un()}],"scale-z":[{"scale-z":Un()}],"scale-3d":["scale-3d"],skew:[{skew:ze()}],"skew-x":[{"skew-x":ze()}],"skew-y":[{"skew-y":ze()}],transform:[{transform:[Qe,$e,"","none","gpu","cpu"]}],"transform-origin":[{origin:he()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ta()}],"translate-x":[{"translate-x":Ta()}],"translate-y":[{"translate-y":Ta()}],"translate-z":[{"translate-z":Ta()}],"translate-none":["translate-none"],accent:[{accent:ne()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ne()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Qe,$e]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Qe,$e]}],fill:[{fill:["none",...ne()]}],"stroke-w":[{stroke:[Mt,zg,Td,TS]}],stroke:[{stroke:["none",...ne()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function be(...a){return $j(yC(a))}function Qj(){const a=Ce(ew),r=Ce(d=>d.plugins?.eslint?.disabledRules),l=a,c=r;return U.useMemo(()=>Kn.getAllSearchItems(),[l,c])}function ds(a){return Array.isArray?Array.isArray(a):BC(a)==="[object Array]"}function Ij(a){if(typeof a=="string")return a;let r=a+"";return r=="0"&&1/a==-1/0?"-0":r}function Zj(a){return a==null?"":Ij(a)}function ml(a){return typeof a=="string"}function LC(a){return typeof a=="number"}function Fj(a){return a===!0||a===!1||Pj(a)&&BC(a)=="[object Boolean]"}function UC(a){return typeof a=="object"}function Pj(a){return UC(a)&&a!==null}function io(a){return a!=null}function AS(a){return!a.trim().length}function BC(a){return a==null?a===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(a)}const Kj="Incorrect 'index' type",Jj=a=>`Invalid value for key ${a}`,Wj=a=>`Pattern length exceeds max of ${a}.`,e8=a=>`Missing ${a} property in key`,t8=a=>`Property 'weight' in key '${a}' must be a positive integer`,HC=Object.prototype.hasOwnProperty;class n8{constructor(r){this._keys=[],this._keyMap={};let l=0;r.forEach(c=>{let d=VC(c);this._keys.push(d),this._keyMap[d.id]=d,l+=d.weight}),this._keys.forEach(c=>{c.weight/=l})}get(r){return this._keyMap[r]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function VC(a){let r=null,l=null,c=null,d=1,p=null;if(ml(a)||ds(a))c=a,r=qC(a),l=CS(a);else{if(!HC.call(a,"name"))throw new Error(e8("name"));const g=a.name;if(c=g,HC.call(a,"weight")&&(d=a.weight,d<=0))throw new Error(t8(g));r=qC(g),l=CS(g),p=a.getFn}return{path:r,id:l,weight:d,src:c,getFn:p}}function qC(a){return ds(a)?a:a.split(".")}function CS(a){return ds(a)?a.join("."):a}function a8(a,r){let l=[],c=!1;const d=(p,g,v)=>{if(io(p))if(!g[v])l.push(p);else{let b=g[v];const S=p[b];if(!io(S))return;if(v===g.length-1&&(ml(S)||LC(S)||Fj(S)))l.push(Zj(S));else if(ds(S)){c=!0;for(let A=0,C=S.length;A<C;A+=1)d(S[A],g,v+1)}else g.length&&d(S,g,v+1)}};return d(a,ml(r)?r.split("."):r,0),c?l:l[0]}var st={...{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(a,r)=>a.score===r.score?a.idx<r.idx?-1:1:a.score<r.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:a8,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const i8=/[^ ]+/g;function o8(a=1,r=3){const l=new Map,c=Math.pow(10,r);return{get(d){const p=d.match(i8).length;if(l.has(p))return l.get(p);const g=1/Math.pow(p,.5*a),v=parseFloat(Math.round(g*c)/c);return l.set(p,v),v},clear(){l.clear()}}}class kS{constructor({getFn:r=st.getFn,fieldNormWeight:l=st.fieldNormWeight}={}){this.norm=o8(l,3),this.getFn=r,this.isCreated=!1,this.setIndexRecords()}setSources(r=[]){this.docs=r}setIndexRecords(r=[]){this.records=r}setKeys(r=[]){this.keys=r,this._keysMap={},r.forEach((l,c)=>{this._keysMap[l.id]=c})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ml(this.docs[0])?this.docs.forEach((r,l)=>{this._addString(r,l)}):this.docs.forEach((r,l)=>{this._addObject(r,l)}),this.norm.clear())}add(r){const l=this.size();ml(r)?this._addString(r,l):this._addObject(r,l)}removeAt(r){this.records.splice(r,1);for(let l=r,c=this.size();l<c;l+=1)this.records[l].i-=1}getValueForItemAtKeyId(r,l){return r[this._keysMap[l]]}size(){return this.records.length}_addString(r,l){if(!io(r)||AS(r))return;let c={v:r,i:l,n:this.norm.get(r)};this.records.push(c)}_addObject(r,l){let c={i:l,$:{}};this.keys.forEach((d,p)=>{let g=d.getFn?d.getFn(r):this.getFn(r,d.path);if(io(g)){if(ds(g)){let v=[];const b=[{nestedArrIndex:-1,value:g}];for(;b.length;){const{nestedArrIndex:S,value:A}=b.pop();if(io(A))if(ml(A)&&!AS(A)){let C={v:A,i:S,n:this.norm.get(A)};v.push(C)}else ds(A)&&A.forEach((C,k)=>{b.push({nestedArrIndex:k,value:C})})}c.$[p]=v}else if(ml(g)&&!AS(g)){let v={v:g,n:this.norm.get(g)};c.$[p]=v}}}),this.records.push(c)}toJSON(){return{keys:this.keys,records:this.records}}}function YC(a,r,{getFn:l=st.getFn,fieldNormWeight:c=st.fieldNormWeight}={}){const d=new kS({getFn:l,fieldNormWeight:c});return d.setKeys(a.map(VC)),d.setSources(r),d.create(),d}function r8(a,{getFn:r=st.getFn,fieldNormWeight:l=st.fieldNormWeight}={}){const{keys:c,records:d}=a,p=new kS({getFn:r,fieldNormWeight:l});return p.setKeys(c),p.setIndexRecords(d),p}function gb(a,{errors:r=0,currentLocation:l=0,expectedLocation:c=0,distance:d=st.distance,ignoreLocation:p=st.ignoreLocation}={}){const g=r/a.length;if(p)return g;const v=Math.abs(c-l);return d?g+v/d:v?1:g}function l8(a=[],r=st.minMatchCharLength){let l=[],c=-1,d=-1,p=0;for(let g=a.length;p<g;p+=1){let v=a[p];v&&c===-1?c=p:!v&&c!==-1&&(d=p-1,d-c+1>=r&&l.push([c,d]),c=-1)}return a[p-1]&&p-c>=r&&l.push([c,p-1]),l}const Ad=32;function s8(a,r,l,{location:c=st.location,distance:d=st.distance,threshold:p=st.threshold,findAllMatches:g=st.findAllMatches,minMatchCharLength:v=st.minMatchCharLength,includeMatches:b=st.includeMatches,ignoreLocation:S=st.ignoreLocation}={}){if(r.length>Ad)throw new Error(Wj(Ad));const A=r.length,C=a.length,k=Math.max(0,Math.min(c,C));let M=p,L=k;const B=v>1||b,H=B?Array(C):[];let Q;for(;(Q=a.indexOf(r,L))>-1;){let J=gb(r,{currentLocation:Q,expectedLocation:k,distance:d,ignoreLocation:S});if(M=Math.min(J,M),L=Q+A,B){let $=0;for(;$<A;)H[Q+$]=1,$+=1}}L=-1;let K=[],q=1,ae=A+C;const he=1<<A-1;for(let J=0;J<A;J+=1){let $=0,ge=ae;for(;$<ge;)gb(r,{errors:J,currentLocation:k+ge,expectedLocation:k,distance:d,ignoreLocation:S})<=M?$=ge:ae=ge,ge=Math.floor((ae-$)/2+$);ae=ge;let we=Math.max(1,k-ge+1),Ke=g?C:Math.min(k+ge,C)+A,Me=Array(Ke+2);Me[Ke+1]=(1<<J)-1;for(let Se=Ke;Se>=we;Se-=1){let Ue=Se-1,N=l[a.charAt(Ue)];if(B&&(H[Ue]=+!!N),Me[Se]=(Me[Se+1]<<1|1)&N,J&&(Me[Se]|=(K[Se+1]|K[Se])<<1|1|K[Se+1]),Me[Se]&he&&(q=gb(r,{errors:J,currentLocation:Ue,expectedLocation:k,distance:d,ignoreLocation:S}),q<=M)){if(M=q,L=Ue,L<=k)break;we=Math.max(1,2*k-L)}}if(gb(r,{errors:J+1,currentLocation:k,expectedLocation:k,distance:d,ignoreLocation:S})>M)break;K=Me}const Ae={isMatch:L>=0,score:Math.max(.001,q)};if(B){const J=l8(H,v);J.length?b&&(Ae.indices=J):Ae.isMatch=!1}return Ae}function u8(a){let r={};for(let l=0,c=a.length;l<c;l+=1){const d=a.charAt(l);r[d]=(r[d]||0)|1<<c-l-1}return r}const vb=String.prototype.normalize?(a=>a.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(a=>a);class GC{constructor(r,{location:l=st.location,threshold:c=st.threshold,distance:d=st.distance,includeMatches:p=st.includeMatches,findAllMatches:g=st.findAllMatches,minMatchCharLength:v=st.minMatchCharLength,isCaseSensitive:b=st.isCaseSensitive,ignoreDiacritics:S=st.ignoreDiacritics,ignoreLocation:A=st.ignoreLocation}={}){if(this.options={location:l,threshold:c,distance:d,includeMatches:p,findAllMatches:g,minMatchCharLength:v,isCaseSensitive:b,ignoreDiacritics:S,ignoreLocation:A},r=b?r:r.toLowerCase(),r=S?vb(r):r,this.pattern=r,this.chunks=[],!this.pattern.length)return;const C=(M,L)=>{this.chunks.push({pattern:M,alphabet:u8(M),startIndex:L})},k=this.pattern.length;if(k>Ad){let M=0;const L=k%Ad,B=k-L;for(;M<B;)C(this.pattern.substr(M,Ad),M),M+=Ad;if(L){const H=k-Ad;C(this.pattern.substr(H),H)}}else C(this.pattern,0)}searchIn(r){const{isCaseSensitive:l,ignoreDiacritics:c,includeMatches:d}=this.options;if(r=l?r:r.toLowerCase(),r=c?vb(r):r,this.pattern===r){let B={isMatch:!0,score:0};return d&&(B.indices=[[0,r.length-1]]),B}const{location:p,distance:g,threshold:v,findAllMatches:b,minMatchCharLength:S,ignoreLocation:A}=this.options;let C=[],k=0,M=!1;this.chunks.forEach(({pattern:B,alphabet:H,startIndex:Q})=>{const{isMatch:K,score:q,indices:ae}=s8(r,B,H,{location:p+Q,distance:g,threshold:v,findAllMatches:b,minMatchCharLength:S,includeMatches:d,ignoreLocation:A});K&&(M=!0),k+=q,K&&ae&&(C=[...C,...ae])});let L={isMatch:M,score:M?k/this.chunks.length:1};return M&&d&&(L.indices=C),L}}class Ou{constructor(r){this.pattern=r}static isMultiMatch(r){return XC(r,this.multiRegex)}static isSingleMatch(r){return XC(r,this.singleRegex)}search(){}}function XC(a,r){const l=a.match(r);return l?l[1]:null}class c8 extends Ou{constructor(r){super(r)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(r){const l=r===this.pattern;return{isMatch:l,score:l?0:1,indices:[0,this.pattern.length-1]}}}class d8 extends Ou{constructor(r){super(r)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(r){const c=r.indexOf(this.pattern)===-1;return{isMatch:c,score:c?0:1,indices:[0,r.length-1]}}}class f8 extends Ou{constructor(r){super(r)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(r){const l=r.startsWith(this.pattern);return{isMatch:l,score:l?0:1,indices:[0,this.pattern.length-1]}}}class h8 extends Ou{constructor(r){super(r)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(r){const l=!r.startsWith(this.pattern);return{isMatch:l,score:l?0:1,indices:[0,r.length-1]}}}class p8 extends Ou{constructor(r){super(r)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(r){const l=r.endsWith(this.pattern);return{isMatch:l,score:l?0:1,indices:[r.length-this.pattern.length,r.length-1]}}}class m8 extends Ou{constructor(r){super(r)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(r){const l=!r.endsWith(this.pattern);return{isMatch:l,score:l?0:1,indices:[0,r.length-1]}}}class $C extends Ou{constructor(r,{location:l=st.location,threshold:c=st.threshold,distance:d=st.distance,includeMatches:p=st.includeMatches,findAllMatches:g=st.findAllMatches,minMatchCharLength:v=st.minMatchCharLength,isCaseSensitive:b=st.isCaseSensitive,ignoreDiacritics:S=st.ignoreDiacritics,ignoreLocation:A=st.ignoreLocation}={}){super(r),this._bitapSearch=new GC(r,{location:l,threshold:c,distance:d,includeMatches:p,findAllMatches:g,minMatchCharLength:v,isCaseSensitive:b,ignoreDiacritics:S,ignoreLocation:A})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(r){return this._bitapSearch.searchIn(r)}}class QC extends Ou{constructor(r){super(r)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(r){let l=0,c;const d=[],p=this.pattern.length;for(;(c=r.indexOf(this.pattern,l))>-1;)l=c+p,d.push([c,l-1]);const g=!!d.length;return{isMatch:g,score:g?0:1,indices:d}}}const RS=[c8,QC,f8,h8,m8,p8,d8,$C],IC=RS.length,g8=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,v8="|";function y8(a,r={}){return a.split(v8).map(l=>{let c=l.trim().split(g8).filter(p=>p&&!!p.trim()),d=[];for(let p=0,g=c.length;p<g;p+=1){const v=c[p];let b=!1,S=-1;for(;!b&&++S<IC;){const A=RS[S];let C=A.isMultiMatch(v);C&&(d.push(new A(C,r)),b=!0)}if(!b)for(S=-1;++S<IC;){const A=RS[S];let C=A.isSingleMatch(v);if(C){d.push(new A(C,r));break}}}return d})}const b8=new Set([$C.type,QC.type]);class x8{constructor(r,{isCaseSensitive:l=st.isCaseSensitive,ignoreDiacritics:c=st.ignoreDiacritics,includeMatches:d=st.includeMatches,minMatchCharLength:p=st.minMatchCharLength,ignoreLocation:g=st.ignoreLocation,findAllMatches:v=st.findAllMatches,location:b=st.location,threshold:S=st.threshold,distance:A=st.distance}={}){this.query=null,this.options={isCaseSensitive:l,ignoreDiacritics:c,includeMatches:d,minMatchCharLength:p,findAllMatches:v,ignoreLocation:g,location:b,threshold:S,distance:A},r=l?r:r.toLowerCase(),r=c?vb(r):r,this.pattern=r,this.query=y8(this.pattern,this.options)}static condition(r,l){return l.useExtendedSearch}searchIn(r){const l=this.query;if(!l)return{isMatch:!1,score:1};const{includeMatches:c,isCaseSensitive:d,ignoreDiacritics:p}=this.options;r=d?r:r.toLowerCase(),r=p?vb(r):r;let g=0,v=[],b=0;for(let S=0,A=l.length;S<A;S+=1){const C=l[S];v.length=0,g=0;for(let k=0,M=C.length;k<M;k+=1){const L=C[k],{isMatch:B,indices:H,score:Q}=L.search(r);if(B){if(g+=1,b+=Q,c){const K=L.constructor.type;b8.has(K)?v=[...v,...H]:v.push(H)}}else{b=0,g=0,v.length=0;break}}if(g){let k={isMatch:!0,score:b/g};return c&&(k.indices=v),k}}return{isMatch:!1,score:1}}}const MS=[];function w8(...a){MS.push(...a)}function DS(a,r){for(let l=0,c=MS.length;l<c;l+=1){let d=MS[l];if(d.condition(a,r))return new d(a,r)}return new GC(a,r)}const yb={AND:"$and",OR:"$or"},_S={PATH:"$path",PATTERN:"$val"},zS=a=>!!(a[yb.AND]||a[yb.OR]),S8=a=>!!a[_S.PATH],E8=a=>!ds(a)&&UC(a)&&!zS(a),ZC=a=>({[yb.AND]:Object.keys(a).map(r=>({[r]:a[r]}))});function FC(a,r,{auto:l=!0}={}){const c=d=>{let p=Object.keys(d);const g=S8(d);if(!g&&p.length>1&&!zS(d))return c(ZC(d));if(E8(d)){const b=g?d[_S.PATH]:p[0],S=g?d[_S.PATTERN]:d[b];if(!ml(S))throw new Error(Jj(b));const A={keyId:CS(b),pattern:S};return l&&(A.searcher=DS(S,r)),A}let v={children:[],operator:p[0]};return p.forEach(b=>{const S=d[b];ds(S)&&S.forEach(A=>{v.children.push(c(A))})}),v};return zS(a)||(a=ZC(a)),c(a)}function T8(a,{ignoreFieldNorm:r=st.ignoreFieldNorm}){a.forEach(l=>{let c=1;l.matches.forEach(({key:d,norm:p,score:g})=>{const v=d?d.weight:null;c*=Math.pow(g===0&&v?Number.EPSILON:g,(v||1)*(r?1:p))}),l.score=c})}function A8(a,r){const l=a.matches;r.matches=[],io(l)&&l.forEach(c=>{if(!io(c.indices)||!c.indices.length)return;const{indices:d,value:p}=c;let g={indices:d,value:p};c.key&&(g.key=c.key.src),c.idx>-1&&(g.refIndex=c.idx),r.matches.push(g)})}function C8(a,r){r.score=a.score}function k8(a,r,{includeMatches:l=st.includeMatches,includeScore:c=st.includeScore}={}){const d=[];return l&&d.push(A8),c&&d.push(C8),a.map(p=>{const{idx:g}=p,v={item:r[g],refIndex:g};return d.length&&d.forEach(b=>{b(p,v)}),v})}class Nh{constructor(r,l={},c){this.options={...st,...l},this.options.useExtendedSearch,this._keyStore=new n8(this.options.keys),this.setCollection(r,c)}setCollection(r,l){if(this._docs=r,l&&!(l instanceof kS))throw new Error(Kj);this._myIndex=l||YC(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(r){io(r)&&(this._docs.push(r),this._myIndex.add(r))}remove(r=()=>!1){const l=[];for(let c=0,d=this._docs.length;c<d;c+=1){const p=this._docs[c];r(p,c)&&(this.removeAt(c),c-=1,d-=1,l.push(p))}return l}removeAt(r){this._docs.splice(r,1),this._myIndex.removeAt(r)}getIndex(){return this._myIndex}search(r,{limit:l=-1}={}){const{includeMatches:c,includeScore:d,shouldSort:p,sortFn:g,ignoreFieldNorm:v}=this.options;let b=ml(r)?ml(this._docs[0])?this._searchStringList(r):this._searchObjectList(r):this._searchLogical(r);return T8(b,{ignoreFieldNorm:v}),p&&b.sort(g),LC(l)&&l>-1&&(b=b.slice(0,l)),k8(b,this._docs,{includeMatches:c,includeScore:d})}_searchStringList(r){const l=DS(r,this.options),{records:c}=this._myIndex,d=[];return c.forEach(({v:p,i:g,n:v})=>{if(!io(p))return;const{isMatch:b,score:S,indices:A}=l.searchIn(p);b&&d.push({item:p,idx:g,matches:[{score:S,value:p,norm:v,indices:A}]})}),d}_searchLogical(r){const l=FC(r,this.options),c=(v,b,S)=>{if(!v.children){const{keyId:C,searcher:k}=v,M=this._findMatches({key:this._keyStore.get(C),value:this._myIndex.getValueForItemAtKeyId(b,C),searcher:k});return M&&M.length?[{idx:S,item:b,matches:M}]:[]}const A=[];for(let C=0,k=v.children.length;C<k;C+=1){const M=v.children[C],L=c(M,b,S);if(L.length)A.push(...L);else if(v.operator===yb.AND)return[]}return A},d=this._myIndex.records,p={},g=[];return d.forEach(({$:v,i:b})=>{if(io(v)){let S=c(l,v,b);S.length&&(p[b]||(p[b]={idx:b,item:v,matches:[]},g.push(p[b])),S.forEach(({matches:A})=>{p[b].matches.push(...A)}))}}),g}_searchObjectList(r){const l=DS(r,this.options),{keys:c,records:d}=this._myIndex,p=[];return d.forEach(({$:g,i:v})=>{if(!io(g))return;let b=[];c.forEach((S,A)=>{b.push(...this._findMatches({key:S,value:g[A],searcher:l}))}),b.length&&p.push({idx:v,item:g,matches:b})}),p}_findMatches({key:r,value:l,searcher:c}){if(!io(l))return[];let d=[];if(ds(l))l.forEach(({v:p,i:g,n:v})=>{if(!io(p))return;const{isMatch:b,score:S,indices:A}=c.searchIn(p);b&&d.push({score:S,key:r,value:p,idx:g,norm:v,indices:A})});else{const{v:p,n:g}=l,{isMatch:v,score:b,indices:S}=c.searchIn(p);v&&d.push({score:b,key:r,value:p,norm:g,indices:S})}return d}}Nh.version="7.1.0",Nh.createIndex=YC,Nh.parseIndex=r8,Nh.config=st,Nh.parseQuery=FC,w8(x8);const R8={keys:[{name:"searchFields.label",weight:2},{name:"searchFields.keywords",weight:1.5},{name:"searchFields.subtitle",weight:1},{name:"searchFields.extra",weight:.5}],threshold:.4,includeScore:!0,ignoreLocation:!0,minMatchCharLength:2},M8=["rules","files","commands"];function D8(a,r){const l=U.useMemo(()=>new Nh(a,R8),[a]);return U.useMemo(()=>{const c=r.trim();let d;c?d=l.search(c).map(v=>v.item):d=a;const p=new Map;for(const v of M8)p.set(v,[]);for(const v of d){const b=v.section;p.has(b)||p.set(b,[]),p.get(b).push(v)}for(const[v,b]of p)b.length===0&&p.delete(v);const g=[];for(const[,v]of p)g.push(...v);return{results:d,grouped:p,flatItems:g}},[l,a,r])}function _8({flatItems:a,selectedIndex:r,onSelect:l,onConfirm:c,onEscape:d,onTabToggle:p}){return U.useEffect(()=>{a.length>0&&r>=a.length&&l(0,a[0]?.id??null)},[a,r,l]),{handleKeyDown:U.useCallback(v=>{const b=a.length;if(!(b===0&&v.key!=="Escape"))switch(v.key){case"ArrowDown":{v.preventDefault();const S=Math.min(r+1,b-1);l(S,a[S]?.id??null);break}case"ArrowUp":{v.preventDefault();const S=Math.max(r-1,0);l(S,a[S]?.id??null);break}case"Enter":{v.preventDefault();const S=a[r];S&&c(S);break}case"Escape":{v.preventDefault(),d?.();break}case"Tab":{v.preventDefault(),p?.();break}case"Home":{v.preventDefault(),b>0&&l(0,a[0]?.id??null);break}case"End":{if(v.preventDefault(),b>0){const S=b-1;l(S,a[S]?.id??null)}break}}},[a,r,l,c,d,p])}}const PC=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,KC=yC,gl=(a,r)=>l=>{var c;if(r?.variants==null)return KC(a,l?.class,l?.className);const{variants:d,defaultVariants:p}=r,g=Object.keys(d).map(S=>{const A=l?.[S],C=p?.[S];if(A===null)return null;const k=PC(A)||PC(C);return d[S][k]}),v=l&&Object.entries(l).reduce((S,A)=>{let[C,k]=A;return k===void 0||(S[C]=k),S},{}),b=r==null||(c=r.compoundVariants)===null||c===void 0?void 0:c.reduce((S,A)=>{let{class:C,className:k,...M}=A;return Object.entries(M).every(L=>{let[B,H]=L;return Array.isArray(H)?H.includes({...p,...v}[B]):{...p,...v}[B]===H})?[...S,C,k]:S},[]);return KC(a,g,b,l?.class,l?.className)};function z8({size:a=24,className:r}){return E.jsxs("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[E.jsx("rect",{x:"3",y:"3",width:"12",height:"12",rx:"2",opacity:"0.4"}),E.jsx("rect",{x:"9",y:"9",width:"12",height:"12",rx:"2"}),E.jsx("circle",{cx:"18",cy:"6",r:"2.5",fill:"currentColor",stroke:"none"})]})}const JC=gl(["inline-flex items-center justify-center","font-medium","font-[-apple-system,BlinkMacSystemFont,'SF_Pro_Text','Segoe_UI',sans-serif]","rounded","select-none","whitespace-nowrap"].join(" "),{variants:{variant:{default:["bg-[var(--uilint-kbd-background,linear-gradient(180deg,#ffffff_0%,#f3f4f6_100%))]","text-[var(--uilint-kbd-text,#6b7280)]","border border-[var(--uilint-kbd-border,rgba(0,0,0,0.1))]","shadow-[var(--uilint-kbd-shadow,0_1px_0_rgba(0,0,0,0.08))]"].join(" "),subtle:["bg-[var(--uilint-kbd-background-subtle,rgba(0,0,0,0.04))]","text-[var(--uilint-kbd-text-subtle,#9ca3af)]","border border-[var(--uilint-kbd-border-subtle,transparent)]"].join(" ")},size:{sm:"min-w-4 h-4 px-1 text-[9px]",default:"min-w-[18px] h-[18px] px-1 text-[10px]",lg:"min-w-6 h-6 px-1.5 text-xs"}},defaultVariants:{variant:"default",size:"default"}}),O8={hidden:{opacity:0,scale:.95},visible:{opacity:1,scale:1}},WC=U.forwardRef(({className:a,variant:r,size:l,children:c,animate:d=!0,animationDuration:p=.1,style:g,...v},b)=>{const S={background:r==="subtle"?"var(--uilint-kbd-background-subtle, rgba(0, 0, 0, 0.04))":"var(--uilint-kbd-background, linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%))",color:r==="subtle"?"var(--uilint-kbd-text-subtle, #9ca3af)":"var(--uilint-kbd-text, #6b7280)",borderColor:r==="subtle"?"var(--uilint-kbd-border-subtle, transparent)":"var(--uilint-kbd-border, rgba(0, 0, 0, 0.1))",boxShadow:r==="subtle"?"none":"var(--uilint-kbd-shadow, 0 1px 0 rgba(0, 0, 0, 0.08))",...g};return d?E.jsx(Ne.kbd,{ref:b,className:be(JC({variant:r,size:l}),a),style:S,initial:"hidden",animate:"visible",variants:O8,transition:{duration:p,ease:"easeOut"},...v,children:c}):E.jsx(Ne.kbd,{ref:b,className:be(JC({variant:r,size:l}),a),style:S,...v,children:c})});WC.displayName="Kbd";const ek=gl("inline-flex items-center justify-center font-semibold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",{variants:{variant:{default:"bg-surface-elevated text-text-secondary border border-border",error:"bg-error-bg text-error border-0",warning:"bg-warning-bg text-warning border-0",success:"bg-success-bg text-success border-0",info:"bg-info-bg text-info border-0",outline:"bg-transparent text-text-secondary border border-border"},size:{sm:"px-1.5 py-0.5 text-[10px] leading-tight min-h-4",default:"px-2 py-0.5 text-xs leading-tight min-h-5",lg:"px-3 py-1 text-sm leading-tight min-h-6"}},defaultVariants:{variant:"default",size:"default"}}),tk=[.32,.72,0,1],nk={initial:{opacity:0,scale:.85},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.85}};function vl({className:a,variant:r,size:l,children:c,disableAnimation:d=!1,style:p,...g}){const v={borderRadius:"var(--uilint-badge-radius, 6px)",...p};return d?E.jsx("span",{className:be(ek({variant:r,size:l}),a),style:v,children:c}):E.jsx(Ne.span,{className:be(ek({variant:r,size:l}),a),style:v,variants:nk,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15,ease:tk},...g,children:c})}function j8({children:a,isSelected:r=!1,className:l,disableAnimation:c=!1}){const d={fontSize:9,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.03em",background:r?"var(--uilint-info-bg)":"var(--uilint-surface-elevated)",color:r?"var(--uilint-info)":"var(--uilint-text-muted)",padding:"3px 8px",borderRadius:"var(--uilint-badge-radius, 6px)",transition:"all 0.1s ease"};return c?E.jsx("span",{className:l,style:d,children:a}):E.jsx(Ne.span,{className:l,style:d,variants:nk,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:tk},children:a})}function N8({count:a,isError:r=!1,zeroIsSuccess:l=!0,size:c="default",className:d,disableAnimation:p=!1}){let g="warning";return r?g="error":a===0&&l&&(g="success"),E.jsx(vl,{variant:g,size:c,className:be("font-mono tabular-nums",d),disableAnimation:p,children:a})}function ak(a,r){if(typeof a=="function")return a(r);a!=null&&(a.current=r)}function L8(...a){return r=>{let l=!1;const c=a.map(d=>{const p=ak(d,r);return!l&&typeof p=="function"&&(l=!0),p});if(l)return()=>{for(let d=0;d<c.length;d++){const p=c[d];typeof p=="function"?p():ak(a[d],null)}}}}var U8=Symbol.for("react.lazy"),bb=H3[" use ".trim().toString()];function B8(a){return typeof a=="object"&&a!==null&&"then"in a}function ik(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===U8&&"_payload"in a&&B8(a._payload)}function H8(a){const r=V8(a),l=U.forwardRef((c,d)=>{let{children:p,...g}=c;ik(p)&&typeof bb=="function"&&(p=bb(p._payload));const v=U.Children.toArray(p),b=v.find(Y8);if(b){const S=b.props.children,A=v.map(C=>C===b?U.Children.count(S)>1?U.Children.only(null):U.isValidElement(S)?S.props.children:null:C);return E.jsx(r,{...g,ref:d,children:U.isValidElement(S)?U.cloneElement(S,void 0,A):null})}return E.jsx(r,{...g,ref:d,children:p})});return l.displayName=`${a}.Slot`,l}var ok=H8("Slot");function V8(a){const r=U.forwardRef((l,c)=>{let{children:d,...p}=l;if(ik(d)&&typeof bb=="function"&&(d=bb(d._payload)),U.isValidElement(d)){const g=X8(d),v=G8(p,d.props);return d.type!==U.Fragment&&(v.ref=c?L8(c,g):g),U.cloneElement(d,v)}return U.Children.count(d)>1?U.Children.only(null):null});return r.displayName=`${a}.SlotClone`,r}var q8=Symbol("radix.slottable");function Y8(a){return U.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===q8}function G8(a,r){const l={...r};for(const c in r){const d=a[c],p=r[c];/^on[A-Z]/.test(c)?d&&p?l[c]=(...v)=>{const b=p(...v);return d(...v),b}:d&&(l[c]=d):c==="style"?l[c]={...d,...p}:c==="className"&&(l[c]=[d,p].filter(Boolean).join(" "))}return{...a,...l}}function X8(a){let r=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning;return l?a.ref:(r=Object.getOwnPropertyDescriptor(a,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning,l?a.props.ref:a.props.ref||a.ref)}const $8=gl(["inline-flex items-center justify-center gap-2 whitespace-nowrap","text-sm font-medium","transition-colors duration-150","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"],{variants:{variant:{default:["bg-[var(--uilint-button-default-bg)]","text-[var(--uilint-button-default-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","focus-visible:ring-[var(--uilint-button-default-bg)]"],destructive:["bg-[var(--uilint-button-destructive-bg)]","text-[var(--uilint-button-destructive-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-[var(--uilint-button-destructive-bg)]/90","focus-visible:ring-[var(--uilint-button-destructive-bg)]"],outline:["bg-[var(--uilint-button-outline-bg)]","text-[var(--uilint-button-outline-text)]","border border-current/20","hover:bg-[var(--uilint-button-outline-text)]/10","focus-visible:ring-[var(--uilint-button-outline-text)]"],secondary:["bg-[var(--uilint-button-secondary-bg)]","text-[var(--uilint-button-secondary-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-[var(--uilint-button-secondary-bg)]/80","focus-visible:ring-[var(--uilint-button-secondary-bg)]"],ghost:["bg-[var(--uilint-button-ghost-bg)]","text-[var(--uilint-button-ghost-text)]","hover:bg-[var(--uilint-button-ghost-text)]/10","focus-visible:ring-[var(--uilint-button-ghost-text)]"],glass:["bg-[var(--uilint-button-glass-bg)]","text-[var(--uilint-button-glass-text)]","backdrop-blur-md","border border-white/20","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-white/30","focus-visible:ring-white/50"]},size:{default:"h-10 px-4 py-2 rounded-[var(--uilint-button-radius)]",sm:"h-8 px-3 text-xs rounded-[var(--uilint-button-radius)]",lg:"h-12 px-8 text-base rounded-[var(--uilint-button-radius)]",icon:"h-10 w-10 rounded-[var(--uilint-button-radius)]"}},defaultVariants:{variant:"default",size:"default"}}),Q8={initial:{scale:1},hover:{scale:1.02},tap:{scale:.98}},I8={duration:.15,ease:[.32,.72,0,1]},rk=U.forwardRef(({className:a,variant:r,size:l,asChild:c=!1,...d},p)=>{const g=be($8({variant:r,size:l,className:a}));return c?E.jsx(ok,{ref:p,className:g,...d}):E.jsx(Ne.button,{ref:p,className:g,variants:Q8,initial:"initial",whileHover:d.disabled?void 0:"hover",whileTap:d.disabled?void 0:"tap",transition:I8,disabled:d.disabled,type:d.type,onClick:d.onClick,"aria-label":d["aria-label"],"aria-disabled":d["aria-disabled"],title:d.title,name:d.name,value:d.value,form:d.form,tabIndex:d.tabIndex,style:d.style,children:d.children})});rk.displayName="Button";const Z8=gl(["inline-flex items-center justify-center","border-none outline-none","cursor-pointer","transition-colors","disabled:pointer-events-none disabled:opacity-40","[&_svg]:pointer-events-none [&_svg]:shrink-0"],{variants:{variant:{default:["bg-[var(--uilint-hover)]","text-[var(--uilint-text-secondary)]","hover:bg-[var(--uilint-active)]","hover:text-[var(--uilint-text-primary)]"],ghost:["bg-transparent","text-[var(--uilint-text-muted)]","hover:bg-[var(--uilint-hover)]","hover:text-[var(--uilint-text-secondary)]"],glass:["bg-[var(--uilint-glass)]","text-[var(--uilint-text-secondary)]","border border-[var(--uilint-glass-border)]","backdrop-blur-md","hover:bg-[var(--uilint-glass-medium)]","hover:text-[var(--uilint-text-primary)]"]},size:{sm:["w-[var(--uilint-icon-button-size-sm)]","h-[var(--uilint-icon-button-size-sm)]","rounded-[calc(var(--uilint-icon-button-radius)-2px)]","[&_svg]:w-4 [&_svg]:h-4"],default:["w-[var(--uilint-icon-button-size)]","h-[var(--uilint-icon-button-size)]","rounded-[var(--uilint-icon-button-radius)]","[&_svg]:w-[18px] [&_svg]:h-[18px]"],lg:["w-[var(--uilint-icon-button-size-lg)]","h-[var(--uilint-icon-button-size-lg)]","rounded-[calc(var(--uilint-icon-button-radius)+2px)]","[&_svg]:w-5 [&_svg]:h-5"]}},defaultVariants:{variant:"default",size:"default"}}),F8={initial:{scale:1,boxShadow:"0 0 0 0 rgba(0, 0, 0, 0)"},hover:{scale:1.05,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.08)",transition:{type:"tween",duration:.15,ease:[.25,.1,.25,1]}},tap:{scale:.95,transition:{type:"tween",duration:.1,ease:[.25,.1,.25,1]}}},P8={initial:{scale:1,boxShadow:"0 0 0 0 rgba(255, 255, 255, 0)"},hover:{scale:1.05,boxShadow:"0 4px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1)",transition:{type:"tween",duration:.15,ease:[.25,.1,.25,1]}},tap:{scale:.95,transition:{type:"tween",duration:.1,ease:[.25,.1,.25,1]}}},Og=U.forwardRef(({className:a,variant:r,size:l,asChild:c=!1,disableMotion:d=!1,disabled:p,...g},v)=>{const b=be(Z8({variant:r,size:l,className:a}));if(c)return E.jsx(ok,{ref:v,className:b,...g});if(d||p)return E.jsx("button",{ref:v,className:b,disabled:p,...g});const S=r==="glass"?P8:F8;return E.jsx(Ne.button,{ref:v,className:b,disabled:p,variants:S,initial:"initial",whileHover:"hover",whileTap:"tap",...g})});Og.displayName="IconButton";const K8=gl(["flex w-full transition-colors","file:border-0 file:bg-transparent file:text-sm file:font-medium","disabled:cursor-not-allowed disabled:opacity-50","placeholder:text-[var(--uilint-input-placeholder)]","outline-none"],{variants:{variant:{default:["bg-[var(--uilint-input-bg)]","border border-[var(--uilint-input-border)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-input-border-focus)]"],glass:["bg-[var(--uilint-glass-medium)]","backdrop-blur-[var(--uilint-glass-blur-medium)]","border border-[var(--uilint-glass-border)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-input-border-focus)]"],error:["bg-[var(--uilint-input-bg)]","border border-[var(--uilint-error)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-error)]"]},size:{sm:"h-8 px-2.5 text-xs rounded-[calc(var(--uilint-input-radius)-2px)]",default:"h-10 px-3 text-sm rounded-[var(--uilint-input-radius)]",lg:"h-12 px-4 text-base rounded-[calc(var(--uilint-input-radius)+2px)]"}},defaultVariants:{variant:"default",size:"default"}}),J8=U.forwardRef(({className:a,containerClassName:r,variant:l,size:c,type:d="text",icon:p,onFocus:g,onBlur:v,...b},S)=>{const[A,C]=U.useState(!1),k=U.useCallback(H=>{C(!0),g?.(H)},[g]),M=U.useCallback(H=>{C(!1),v?.(H)},[v]),L=l==="error"?"var(--uilint-error)":"var(--uilint-input-ring)",B=E.jsx("input",{type:d,className:be(K8({variant:l,size:c}),p&&"pl-9",a),ref:S,onFocus:k,onBlur:M,...b});return p?E.jsxs("div",{className:be("relative",r),children:[E.jsx(Ne.div,{animate:{color:A?"var(--uilint-accent)":"var(--uilint-text-muted)"},transition:{duration:.15},className:be("pointer-events-none absolute left-3 flex items-center justify-center",c==="sm"&&"top-2",c==="default"&&"top-2.5",c==="lg"&&"top-3"),children:p}),B,E.jsx(ga,{children:A&&E.jsx(Ne.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:"easeOut"},className:be("pointer-events-none absolute inset-0",c==="sm"&&"rounded-[calc(var(--uilint-input-radius)-2px)]",c==="default"&&"rounded-[var(--uilint-input-radius)]",c==="lg"&&"rounded-[calc(var(--uilint-input-radius)+2px)]"),style:{boxShadow:`0 0 0 3px ${L}`}})})]}):E.jsxs("div",{className:be("relative",r),children:[B,E.jsx(ga,{children:A&&E.jsx(Ne.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:"easeOut"},className:"pointer-events-none absolute inset-0 rounded-[var(--uilint-input-radius)]",style:{boxShadow:`0 0 0 3px ${L}`}})})]})});J8.displayName="Input";const lk=gl(["relative","flex","flex-col","overflow-hidden","transition-all"].join(" "),{variants:{variant:{default:["[background:var(--uilint-card-bg)]","[border:1px_solid_var(--uilint-card-border)]","[border-radius:var(--uilint-card-radius)]","[box-shadow:var(--uilint-card-shadow)]"].join(" "),elevated:["[background:var(--uilint-card-elevated-bg)]","[border:1px_solid_var(--uilint-card-border)]","[border-radius:var(--uilint-card-radius)]","[box-shadow:var(--uilint-card-elevated-shadow)]"].join(" "),glass:["[background:var(--uilint-card-glass-bg)]","[border:1px_solid_var(--uilint-card-glass-border)]","[border-radius:var(--uilint-card-radius)]","[backdrop-filter:blur(var(--uilint-glass-blur-medium))]","[box-shadow:var(--uilint-card-shadow)]","before:absolute","before:inset-x-0","before:top-0","before:h-px","before:[background:var(--uilint-glass-highlight)]"].join(" ")}},defaultVariants:{variant:"default"}}),OS={initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:4}},W8={rest:{y:0,boxShadow:"var(--uilint-card-shadow)"},hover:{y:-2,boxShadow:"var(--uilint-card-shadow-hover)"}},eN={duration:.15,ease:[.32,.72,0,1]},jS=U.forwardRef(({className:a,variant:r,interactive:l=!1,animated:c=!1,children:d,...p},g)=>l||c?E.jsx(Ne.div,{ref:g,className:be(lk({variant:r}),l&&"cursor-pointer",a),variants:l?W8:void 0,initial:c?OS.initial:"rest",animate:c?OS.animate:"rest",exit:c?OS.exit:void 0,whileHover:l?"hover":void 0,transition:eN,...p,children:d}):E.jsx("div",{ref:g,className:be(lk({variant:r}),a),...p,children:d}));jS.displayName="Card";const sk=U.forwardRef(({className:a,...r},l)=>E.jsx("div",{ref:l,className:be("flex flex-col gap-1.5 p-4",a),...r}));sk.displayName="CardHeader";const uk=U.forwardRef(({className:a,...r},l)=>E.jsx("h3",{ref:l,className:be("text-base font-semibold leading-tight tracking-tight","[color:var(--uilint-text-primary)]",a),...r}));uk.displayName="CardTitle";const ck=U.forwardRef(({className:a,...r},l)=>E.jsx("p",{ref:l,className:be("text-sm leading-relaxed","[color:var(--uilint-text-secondary)]",a),...r}));ck.displayName="CardDescription";const tN=U.forwardRef(({className:a,...r},l)=>E.jsx("div",{ref:l,className:be("p-4 pt-0",a),...r}));tN.displayName="CardContent";const nN=U.forwardRef(({className:a,...r},l)=>E.jsx("div",{ref:l,className:be("flex items-center gap-2 p-4 pt-0","[border-top:1px_solid_var(--uilint-card-border)]","mt-auto",a),...r}));nN.displayName="CardFooter";const aN=gl(["relative","overflow-hidden","rounded-[var(--uilint-radius,12px)]"].join(" "),{variants:{blur:{light:"",medium:"",heavy:""},shadow:{none:"",sm:"",md:"",lg:""},bordered:{true:"",false:""}},defaultVariants:{blur:"medium",shadow:"md",bordered:!0}}),dk={hidden:{opacity:0,scale:.96,y:-10},visible:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.98,y:-5}},iN={duration:.2,ease:[.25,.1,.25,1]};function ju(a,r,l,c){const d={light:"var(--uilint-glass-blur-light, 12px)",medium:"var(--uilint-glass-blur-medium, 24px)",heavy:"var(--uilint-glass-blur-heavy, 40px)"},p={light:"var(--uilint-glass-light, rgba(255, 255, 255, 0.4))",medium:"var(--uilint-glass-medium, rgba(255, 255, 255, 0.55))",heavy:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.7))"},g={none:"none",sm:"var(--uilint-card-shadow, 0 2px 8px rgba(0, 0, 0, 0.03))",md:"var(--uilint-shadow, 0 8px 32px rgba(0, 0, 0, 0.06))",lg:"var(--uilint-shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.08))"},v=a??"medium",b=r??"md",S=d[v],A=g[b],C=p[v],k=[];return k.push("inset 0 1px 0 0 var(--uilint-glass-highlight, rgba(255, 255, 255, 0.25))"),A!=="none"&&k.push(A),{background:C,backdropFilter:`blur(${S}) saturate(150%)`,WebkitBackdropFilter:`blur(${S}) saturate(150%)`,boxShadow:k.join(", "),border:l!==!1?"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.15))":"none",...c}}const fk=U.forwardRef(({className:a,blur:r,shadow:l,bordered:c,children:d,animate:p=!0,transition:g=iN,show:v=!0,usePresence:b=!1,style:S,...A},C)=>{const k=ju(r,l,c,S),M=aN({blur:r,shadow:l,bordered:c});return b?E.jsx(ga,{children:v&&E.jsx(Ne.div,{ref:C,className:be(M,a),style:k,initial:"hidden",animate:"visible",exit:"exit",variants:dk,transition:g,...A,children:d})}):p?E.jsx(Ne.div,{ref:C,className:be(M,a),style:k,initial:"hidden",animate:"visible",variants:dk,transition:g,...A,children:d}):E.jsx(Ne.div,{ref:C,className:be(M,a),style:k,...A,children:d})});fk.displayName="GlassPanel";function hk({open:a,onClose:r,trigger:l,children:c,placement:d="bottom",align:p="start",className:g,width:v="auto"}){const b=U.useRef(null),S=U.useRef(null),[A,C]=U.useState({top:0,left:0}),[k,M]=U.useState(void 0),L=U.useCallback(()=>{if(!b.current||!a)return;const H=b.current.getBoundingClientRect(),K=S.current?.getBoundingClientRect();let q=0,ae=0;M(v==="trigger"?H.width:typeof v=="number"?v:void 0);const he=K?.width||k||200,Ae=K?.height||200,J=8;switch(d){case"top":q=H.top-Ae-J;break;case"bottom":q=H.bottom+J;break;case"left":ae=H.left-he-J,q=H.top;break;case"right":ae=H.right+J,q=H.top;break}if(d==="top"||d==="bottom")switch(p){case"start":ae=H.left;break;case"center":ae=H.left+(H.width-he)/2;break;case"end":ae=H.right-he;break}if(d==="left"||d==="right")switch(p){case"start":q=H.top;break;case"center":q=H.top+(H.height-Ae)/2;break;case"end":q=H.bottom-Ae;break}const $=16,ge=window.innerWidth,we=window.innerHeight;ae<$?ae=$:ae+he>ge-$&&(ae=ge-he-$),q<$?q=$:q+Ae>we-$&&(q=we-Ae-$),C({top:q,left:ae})},[a,d,p,v,k]);U.useEffect(()=>{if(!a)return;L();const H=requestAnimationFrame(L);return window.addEventListener("resize",L),window.addEventListener("scroll",L,!0),()=>{cancelAnimationFrame(H),window.removeEventListener("resize",L),window.removeEventListener("scroll",L,!0)}},[a,L]),U.useEffect(()=>{if(!a)return;const H=K=>{const q=K.target;S.current&&!S.current.contains(q)&&b.current&&!b.current.contains(q)&&r()},Q=setTimeout(()=>{document.addEventListener("mousedown",H)},0);return()=>{clearTimeout(Q),document.removeEventListener("mousedown",H)}},[a,r]),U.useEffect(()=>{if(!a)return;const H=Q=>{Q.key==="Escape"&&r()};return document.addEventListener("keydown",H),()=>document.removeEventListener("keydown",H)},[a,r]);const B=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;return E.jsxs(E.Fragment,{children:[E.jsx("div",{ref:b,className:"inline-flex",children:l}),B&&yd.createPortal(E.jsx(ga,{children:a&&E.jsx(Ne.div,{ref:S,initial:{opacity:0,scale:.95,y:-4},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-4},transition:{duration:.15,ease:[.32,.72,0,1]},className:be("fixed z-[99998]","rounded-xl","border border-foreground/[0.08]","bg-surface/95 backdrop-blur-xl","shadow-xl shadow-black/10","overflow-hidden",g),style:{top:A.top,left:A.left,width:k,pointerEvents:"auto"},children:c})}),B)]})}const oN=gl("flex items-center gap-4 border-b transition-all duration-150",{variants:{size:{default:"px-5 py-4",large:"px-6 py-5"},state:{default:"bg-transparent border-foreground/[0.06]",focused:"bg-foreground/[0.02] border-foreground/[0.08]"}},defaultVariants:{size:"large",state:"default"}}),rN=gl("flex-1 bg-transparent border-none outline-none font-normal tracking-tight",{variants:{size:{default:"text-base h-8",large:"text-lg h-10"}},defaultVariants:{size:"large"}}),lN={default:{scale:1,opacity:.35},focused:{scale:1,opacity:.5}},sN={initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}},uN={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},NS=[.32,.72,0,1];function cN({value:a,onChange:r,onKeyDown:l,placeholder:c="Search commands, issues, rules...",autoFocus:d=!0,size:p,className:g}){const v=U.useRef(null),[b,S]=U.useState(!1),A=Ce(k=>k.mobile.isMobile);U.useEffect(()=>{if(!d)return;const k=setTimeout(()=>{v.current?.focus()},50);return()=>clearTimeout(k)},[d]);const C=b?"focused":"default";return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1},className:be(oN({size:p,state:C}),g),style:{boxShadow:"none"},children:[E.jsx(Ne.div,{variants:lN,animate:C,transition:{duration:.15,ease:NS},className:"flex items-center justify-center shrink-0",style:{color:"var(--uilint-text-muted)"},children:E.jsx(bS,{size:p==="large"?22:18})}),E.jsx("div",{className:"flex-1 flex items-center min-w-0",children:E.jsx("input",{ref:v,type:"text",value:a,onChange:k=>r(k.target.value),onKeyDown:l,onFocus:()=>S(!0),onBlur:()=>S(!1),placeholder:c,className:be(rN({size:p}),"min-w-[120px] w-full"),style:{color:"var(--uilint-text-primary)",caretColor:"var(--uilint-accent)"}})}),E.jsx(ga,{mode:"wait",children:a?E.jsx(Ne.div,{variants:sN,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:NS},children:E.jsx(Og,{variant:"ghost",size:"sm",onClick:()=>r(""),disableMotion:!0,style:{color:"var(--uilint-text-muted)",opacity:.6},children:E.jsx(fb,{size:14})})},"clear"):A?null:E.jsxs(Ne.div,{variants:uN,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:NS},className:"flex items-center gap-2 shrink-0",children:[E.jsx(WC,{animate:!1,children:"esc"}),E.jsx("span",{className:"text-[11px]",style:{color:"var(--uilint-text-disabled)"},children:"to close"})]},"hint")})]})}const pk=[.32,.72,0,1],dN={rules:"Rules",files:"Files",commands:"Commands"},fN={rules:E.jsx(ej,{size:11,className:"text-muted-foreground/40"}),files:E.jsx(db,{size:11,className:"text-muted-foreground/40"})};function hN({counts:a}){return E.jsxs("div",{className:"flex items-center gap-1.5 flex-shrink-0",children:[a.error>0&&E.jsxs("span",{className:"flex items-center gap-0.5 text-[10px] text-error font-medium tabular-nums",children:[E.jsx(Dg,{size:10}),a.error]}),a.warning>0&&E.jsxs("span",{className:"flex items-center gap-0.5 text-[10px] text-warning font-medium tabular-nums",children:[E.jsx(_u,{size:10}),a.warning]}),a.info>0&&E.jsxs("span",{className:"flex items-center gap-0.5 text-[10px] text-info font-medium tabular-nums",children:[E.jsx(us,{size:10}),a.info]})]})}function pN({item:a,isSelected:r,onSelect:l,onConfirm:c,animIndex:d}){const p=U.useRef(null);return U.useEffect(()=>{r&&p.current&&p.current.scrollIntoView({block:"nearest",behavior:"smooth"})},[r]),E.jsxs(Ne.button,{ref:p,initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.1,ease:pk,delay:Math.min(d*.02,.15)},onClick:c,onMouseDown:g=>g.preventDefault(),onMouseEnter:l,tabIndex:-1,className:be("w-full text-left relative","flex items-center gap-2.5 px-3 py-2","transition-colors duration-75","hover:bg-foreground/[0.04]","outline-none"),children:[r&&E.jsx(Ne.div,{layoutId:"result-list-highlight",className:"absolute inset-0 bg-foreground/[0.06]",transition:{duration:.15,ease:pk}}),E.jsxs("div",{className:"relative flex items-center gap-2.5 w-full min-w-0",children:[E.jsxs("div",{className:"flex-1 min-w-0",children:[E.jsx("div",{className:"text-[13px] text-foreground/85 truncate leading-tight",children:a.label}),a.subtitle&&E.jsx("div",{className:"text-[10px] text-muted-foreground/50 truncate leading-tight mt-0.5",children:a.subtitle})]}),a.severityCounts&&E.jsx(hN,{counts:a.severityCounts})]})]})}function mN({section:a,count:r}){return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.08},className:"flex items-center gap-1.5 px-3 pt-3 pb-1.5",children:[fN[a],E.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground/40",children:dN[a]||a}),E.jsx("span",{className:"text-[10px] text-muted-foreground/30 tabular-nums",children:r})]})}function mk({grouped:a,flatItems:r,selectedItemId:l,onItemSelect:c,onItemConfirm:d}){const p=nn.useMemo(()=>{const b=new Map;return r.forEach((S,A)=>b.set(S.id,A)),b},[r]),g=U.useCallback(b=>{const S=p.get(b.id)??0;c(b,S)},[p,c]);if(r.length===0)return E.jsx(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.15},className:"flex flex-col items-center justify-center py-12 px-4",children:E.jsx("div",{className:"text-xs text-muted-foreground/50",children:"No results found"})});let v=0;return E.jsx("div",{className:"py-1",children:E.jsx(ga,{mode:"popLayout",children:Array.from(a.entries()).map(([b,S])=>E.jsxs("div",{children:[E.jsx(mN,{section:b,count:S.length}),S.map(A=>{const C=v++;return E.jsx(pN,{item:A,isSelected:A.id===l,onSelect:()=>g(A),onConfirm:()=>d(A),animIndex:C},A.id)})]},b))})})}function gN(){return E.jsxs("div",{className:"flex flex-col items-center justify-center h-full py-16 px-8",children:[E.jsx("div",{className:"mb-3 opacity-20",children:E.jsx(hC,{size:24,strokeWidth:1.5})}),E.jsx("div",{className:"text-xs text-muted-foreground/40 text-center",children:"Select an item to preview"})]})}function gk({selectedItem:a,isFocused:r}){const l=U.useMemo(()=>a?Kn.getPreviewPanel(a):null,[a]);return E.jsx("div",{className:be("flex flex-col h-full transition-colors duration-100",r&&"border-l-2 border-accent/30"),children:a&&l?E.jsx("div",{className:"flex-1 min-h-0 overflow-y-auto overflow-x-hidden",children:l.element}):E.jsx(gN,{})})}const jg=[.32,.72,0,1];function vN({text:a}){const[r,l]=U.useState(!1),c=U.useCallback(async()=>{try{await navigator.clipboard.writeText(a),l(!0),setTimeout(()=>l(!1),2e3)}catch{const d=document.createElement("textarea");d.value=a,document.body.appendChild(d),d.select(),document.execCommand("copy"),document.body.removeChild(d),l(!0),setTimeout(()=>l(!1),2e3)}},[a]);return E.jsx(Ne.button,{onClick:c,whileHover:{scale:1.05},whileTap:{scale:.95},className:be("px-2 py-1.5 border-none rounded-md cursor-pointer flex items-center justify-center transition-colors duration-200",r?"bg-success text-white":"bg-[rgba(128,128,128,0.15)] text-text-secondary"),title:r?"Copied!":"Copy to clipboard",children:r?E.jsx(cC,{size:14}):E.jsx(dC,{size:14})})}function yN({command:a}){return E.jsxs(Ne.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{delay:.2,duration:.2,ease:jg},className:"flex items-center gap-2 px-3.5 py-3 bg-surface-elevated rounded-[10px] border border-border mt-5",children:[E.jsx(aj,{size:15,className:"text-text-muted shrink-0"}),E.jsx("code",{className:"flex-1 text-sm font-mono text-text-primary tracking-tight font-medium",children:a}),E.jsx(vN,{text:a})]})}function bN({onClick:a}){return E.jsxs(Ne.button,{onClick:a,whileHover:{scale:1.02},whileTap:{scale:.98},initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{delay:.3,duration:.2,ease:jg},className:"mt-4 px-5 py-2.5 text-[13px] font-medium text-text-secondary bg-transparent border border-border rounded-[10px] cursor-pointer flex items-center gap-2",children:[E.jsx(mC,{size:14}),"Try again"]})}function xN({variant:a}){const r=Ce(d=>d.retryConnection),l=Ce(d=>d.connectionStatus),c=nn.useMemo(()=>{switch(a){case"disconnected":return{title:"Get started with UILint",subtitle:"Run this command in your project directory:",command:"npx uilint serve",showRetry:l.mode==="websocket"};case"manifest-error":return{title:"Build lint manifest",subtitle:"Generate a lint report for your project:",command:"npx uilint build",showRetry:!1}}},[a,l.mode]);return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2,ease:jg},className:"flex flex-col items-center justify-center px-8 py-12 text-center min-h-[260px]",children:[E.jsx(Ne.h3,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.05,duration:.2,ease:jg},className:"m-0 text-base font-semibold text-text-primary tracking-tight",children:c.title}),E.jsx(Ne.p,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{delay:.1,duration:.2,ease:jg},className:"mt-2.5 mb-0 mx-0 text-sm text-text-muted leading-normal max-w-[320px]",children:c.subtitle}),E.jsx(yN,{command:c.command}),c.showRetry&&E.jsx(bN,{onClick:r})]})}const wN={duration:.12,ease:[.32,.72,0,1]},vk={duration:.2,ease:[.32,.72,0,1]};function SN(){const a=Ce(N=>N.commandPalette.open),r=Ce(N=>N.commandPalette.query),l=Ce(N=>N.commandPalette.selectedItemId),c=Ce(N=>N.commandPalette.selectedIndex),d=Ce(N=>N.commandPalette.previewFocused),p=Ce(N=>N.commandPalette.mobileView),g=Ce(N=>N.closeCommandPalette),v=Ce(N=>N.setCommandPaletteQuery),b=Ce(N=>N.setCommandPaletteSelectedItem),S=Ce(N=>N.toggleCommandPalettePreviewFocus),A=Ce(N=>N.pushToPreview),C=Ce(N=>N.popToList),k=Ce(N=>N.openInspectorPanel),M=Ce(N=>N.expandRule),L=Ce(N=>N.expandFileInRule),B=Ce(N=>N.mobile.isMobile),H=Ce(N=>N.setHeatmapPreview),Q=Ce(N=>N.clearHeatmapPreview),K=Ce(N=>N.wsConnected),q=Ce(N=>N.connectionStatus),ae=Ce(N=>N.plugins?.eslint?.scanStatus),he=U.useMemo(()=>q.mode==="websocket"&&!K||q.mode==="static"&&ae==="error",[q.mode,K,ae]),Ae=U.useMemo(()=>q.mode==="static"&&ae==="error"?"manifest-error":"disconnected",[q.mode,ae]),J=Qj(),{grouped:$,flatItems:ge}=D8(J,r),we=U.useMemo(()=>l?ge.find(N=>N.id===l)??ge[0]??null:ge[0]??null,[l,ge]);U.useEffect(()=>{if(!a||B){Q();return}if(we){const N=we.metadata?.ruleId??null;if(N){const W=we.metadata?.filePath??null;H(N,W)}else Q()}else Q()},[a,B,we,H,Q]);const Ke=U.useCallback((N,W)=>{b(N.id,W),B&&A()},[b,B,A]),Me=U.useCallback(async N=>{Q();const W=bh();if(!W){yn("[CommandPalette] Plugin services not available");return}if(N.execute){try{await N.execute(W)}catch(De){yn(`[CommandPalette] Error executing item "${N.id}":`,De)}g();return}const ne=N.metadata?.tileType;if(ne==="rule"){const De=N.metadata?.ruleId;De&&M(De)}else if(ne==="file"){const De=N.metadata?.filePath;if(De){const Be=N.metadata?.ruleId;Be&&(M(Be),L(De))}}k(),g()},[g,k,M,L,Q]),{handleKeyDown:qe}=_8({flatItems:ge,selectedIndex:c,onSelect:(N,W)=>b(W,N),onConfirm:Me,onEscape:g,onTabToggle:S}),Se=U.useCallback(N=>{N.key==="Escape"&&(N.preventDefault(),g())},[g]),Ue=document.getElementById("uilint-portal")||document.body;return yd.createPortal(E.jsx(ga,{children:a&&E.jsx(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.12},className:be("fixed inset-0 flex justify-center z-[99998] pointer-events-auto",B?"items-stretch bg-surface pt-0":"items-start bg-transparent pt-[100px]"),onClick:N=>{N.target===N.currentTarget&&g()},onKeyDown:Se,children:E.jsx(Ne.div,{initial:B?{opacity:0}:{opacity:0,scale:.96,y:-20},animate:B?{opacity:1}:{opacity:1,scale:1,y:0},exit:B?{opacity:0}:{opacity:0,scale:.98,y:-10},transition:B?{duration:.15}:wN,className:B?"flex flex-col w-full h-full":void 0,children:E.jsxs(fk,{blur:B?"light":"heavy",shadow:B?void 0:"lg",animate:!1,className:be("overflow-hidden",B?"w-full h-full flex flex-col rounded-none pt-[env(safe-area-inset-top,0px)] pb-[env(safe-area-inset-bottom,0px)]":"w-[860px] h-auto flex flex-col rounded-[20px]"),children:[B&&E.jsxs("div",{className:"flex items-center justify-between px-4 pt-3 pb-2 border-b border-border",children:[p==="preview"?E.jsxs("button",{onClick:C,className:"flex items-center gap-1.5 text-sm font-medium text-accent bg-transparent border-none cursor-pointer rounded-lg px-2 py-1",children:[E.jsx(E6,{size:16}),"Back"]}):E.jsx("span",{className:"text-[15px] font-semibold text-text-primary",children:"Search"}),E.jsx("button",{onClick:g,className:"px-4 py-2 text-sm font-medium text-accent bg-transparent border-none cursor-pointer rounded-lg",children:"Done"})]}),E.jsx(cN,{value:r,onChange:v,onKeyDown:qe,size:B?"default":"large"}),he?E.jsx("div",{className:"py-8 px-6",children:E.jsx(xN,{variant:Ae})}):B?E.jsx("div",{className:"flex-1 min-h-0 overflow-hidden relative",children:E.jsx(ga,{mode:"sync",initial:!1,children:p==="list"?E.jsx(Ne.div,{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"},transition:vk,className:"absolute inset-0 overflow-y-auto overflow-x-hidden [-webkit-overflow-scrolling:touch]",children:E.jsx(mk,{grouped:$,flatItems:ge,selectedItemId:l,selectedIndex:c,onItemSelect:Ke,onItemConfirm:Me})},"mobile-list"):E.jsx(Ne.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:vk,className:"absolute inset-0 overflow-y-auto overflow-x-hidden [-webkit-overflow-scrolling:touch]",children:E.jsx(gk,{selectedItem:we,isFocused:!0})},"mobile-preview")})}):E.jsxs("div",{className:"flex flex-1 min-h-0 max-h-[520px]",children:[E.jsx("div",{className:be("w-[340px] flex-shrink-0","overflow-y-auto overflow-x-hidden","[-webkit-overflow-scrolling:touch]","border-r border-foreground/[0.06]"),children:E.jsx(mk,{grouped:$,flatItems:ge,selectedItemId:we?.id??null,selectedIndex:c,onItemSelect:Ke,onItemConfirm:Me})}),E.jsx("div",{className:be("flex-1 min-w-0","overflow-y-auto overflow-x-hidden","[-webkit-overflow-scrolling:touch]"),children:E.jsx(gk,{selectedItem:we,isFocused:d})})]})]})})})}),Ue)}const EN=gl(["h-full cursor-pointer overflow-hidden relative box-border","flex flex-col justify-between","rounded-2xl","transition-all duration-150"],{variants:{selected:{true:"bg-foreground/[0.04] border border-foreground/12",false:"border border-foreground/[0.04] hover:bg-foreground/[0.03] hover:border-foreground/[0.08]"},size:{xs:"p-3",sm:"p-4",md:"p-5",lg:"p-6",xl:"p-7"}},defaultVariants:{selected:!1,size:"md"}}),TN=[.32,.72,0,1];function AN({isHovered:a}){return E.jsx(Ne.div,{initial:{opacity:0},animate:{opacity:a?1:0},transition:{duration:.15},className:"absolute inset-0 rounded-2xl pointer-events-none bg-linear-to-br from-foreground/2 to-transparent"})}function CN({tileType:a}){if(!a)return null;const r=a==="rule"?"var(--color-tile-rule)":"var(--color-tile-file)";return E.jsx("div",{className:"absolute top-0 right-0 w-20 h-20 pointer-events-none rounded-tr-2xl",style:{background:`radial-gradient(circle at top right, ${r} 0%, transparent 70%)`,opacity:.25}})}function kN({tags:a,maxTags:r}){const l=a.slice(0,r);return E.jsx(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.2,delay:.1},className:"flex flex-wrap gap-1 mt-1.5 overflow-hidden max-h-[2.25rem]",children:l.map(c=>E.jsx("span",{className:be("rounded-full px-2 py-0.5 text-[10px] leading-tight","border border-foreground/[0.06]",c.accent?"text-purple-500/70 bg-purple-500/[0.06] border-purple-500/10 dark:text-purple-400/70 dark:bg-purple-400/[0.06] dark:border-purple-400/10":"text-muted-foreground/60 bg-foreground/[0.03]"),children:c.label},c.label))})}function RN(a,r){const l=a===1?"issue":"issues";return r!==void 0&&r>0?{count:a,suffix:`${l} in ${r} ${r===1?"file":"files"}`}:{count:a,suffix:l}}function MN(a){switch(a){case"xl":return"text-2xl";case"lg":return"text-xl";case"md":return"text-lg";case"sm":return"text-base";case"xs":return"text-sm";default:return"text-lg"}}function DN(a){switch(a){case"xl":return"text-base";case"lg":return"text-sm";case"md":return"text-sm";case"sm":return"text-xs";case"xs":return"text-[11px]";default:return"text-sm"}}const _N=32;function yk({id:a,label:r,subtitle:l,tileType:c,count:d,fileCount:p,configTags:g,bucket:v,isSelected:b,onClick:S,onOpenInInspector:A}){const[C,k]=nn.useState(!1),M=nn.useRef(null),L=nn.useRef(null),B=nn.useRef(null),[H,Q]=nn.useState(!1),K=!!g?.length;U.useLayoutEffect(()=>{if(!K){Q(!1);return}const Ke=M.current,Me=L.current,qe=B.current;if(!Ke||!Me||!qe){Q(!1);return}const Se=Ke.clientHeight,Ue=Me.offsetHeight,N=qe.offsetHeight,W=Se-Ue-N;Q(W>=_N)},[K,v,r,l,d,p]);const q=Ke=>{Ke.stopPropagation(),A?.()},ae=U.useMemo(()=>v==="xl"?16:v==="lg"||v==="md"?14:v==="sm"?12:10,[v]),{count:he,suffix:Ae}=RN(d,p),J=MN(v),$=DN(v),ge=v==="xs"?"text-[10px]":"text-xs",we=v==="xl"?3:v==="lg"?2:1;return E.jsxs(Ne.div,{"data-tile-id":a,onClick:S,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.15,ease:TN},className:be(EN({selected:b,size:v})),children:[E.jsxs("div",{ref:M,className:"flex flex-col justify-between h-full",children:[E.jsxs("div",{ref:L,className:"flex items-start justify-between gap-1.5",children:[E.jsxs("div",{className:"flex-1 min-w-0 flex flex-col",children:[l&&E.jsx("div",{className:be("text-muted-foreground/50 truncate mb-0.5",ge,c==="file"&&"font-mono"),children:l}),E.jsx("span",{className:be("font-light leading-tight tracking-tight text-foreground line-clamp-2",J),title:r,children:r})]}),A&&E.jsx(Ne.button,{onClick:q,initial:{opacity:0},animate:{opacity:C?1:0},whileHover:{scale:1.1},whileTap:{scale:.95},transition:{duration:.1},className:"shrink-0 p-1 -mt-0.5 -mr-0.5 rounded-lg text-muted-foreground/50 hover:text-foreground/70 hover:bg-foreground/6 transition-colors",title:"Open in inspector","aria-label":"Open in inspector",children:E.jsx(_g,{size:ae})})]}),H&&g&&g.length>0&&E.jsx(kN,{tags:g,maxTags:we}),E.jsxs("div",{ref:B,className:be("flex items-baseline gap-1 mt-auto pt-2",$),children:[E.jsx("span",{className:be("font-light text-foreground",J),children:he}),E.jsx("span",{className:"font-normal text-muted-foreground/60",children:Ae})]})]}),E.jsx(AN,{isHovered:C}),E.jsx(CN,{tileType:c})]})}const bk={top:0,right:0,bottom:0,left:0},zN={availableWidth:416,gap:12,minTileWidth:100,maxTileWidth:320,minTileHeight:110,maxTileHeight:280,minArea:8e3,maxArea:6e4,padding:bk};function xk(a,r,l){return Math.max(r,Math.min(l,a))}function ON(a,r,l){const c=Math.max(0,a.count),d=Math.max(1,r),p=d>1?Math.log1p(c)/Math.log1p(d):1,g=l.minArea+p*(l.maxArea-l.minArea),v=a.label?.length??0,b=a.subtitle?.length??0,S=Math.max(v,b);let A;S<=10?A=1:S<=20?A=1.5:A=2+Math.min(1,(S-20)/20);let C=Math.sqrt(g*A),k=Math.sqrt(g/A);return C=xk(C,l.minTileWidth,l.maxTileWidth),k=xk(k,l.minTileHeight,l.maxTileHeight),{width:Math.round(C),height:Math.round(k)}}function jN(a,r,l,c,d){let p=0,g=1/0,v=0;for(let b=0;b<a.length;b++){const S=a[b];if(S.x+r+d>c+d)continue;let C=S.y,k=S.x;for(let M=b;M<a.length&&k<S.x+r;M++)C=Math.max(C,a[M].y),k+=a[M].width;C<g&&(g=C,p=S.x,v=b)}return g===1/0?{x:0,y:0,skylineIndex:0}:{x:p,y:g,skylineIndex:v}}function NN(a,r,l,c,d,p){const g=l+d+p,v=r+c+p,b=[];for(let A=0;A<a.length;A++){const C=a[A],k=C.x+C.width;if(k<=r){b.push(C);continue}if(C.x>=v){b.push(C);continue}C.x<r&&b.push({x:C.x,y:C.y,width:r-C.x}),k>v&&b.push({x:v,y:C.y,width:k-v})}b.push({x:r,y:g,width:c+p}),b.sort((A,C)=>A.x-C.x);const S=[];for(const A of b){if(S.length===0){S.push(A);continue}const C=S[S.length-1],k=C.x+C.width;Math.abs(k-A.x)<1&&C.y===A.y?C.width=A.x+A.width-C.x:k>=A.x&&C.y===A.y?C.width=Math.max(k,A.x+A.width)-C.x:S.push(A)}return S}function LN(a,r,l){if(a.length===0)return[];const c=[...a].sort((g,v)=>v.height-g.height);let d=[{x:0,y:0,width:r}];const p=[];for(const g of c){const v=jN(d,g.width,g.height,r,l);p.push({id:g.id,x:v.x,y:v.y,width:g.width,height:g.height}),d=NN(d,v.x,v.y,g.width,g.height,l)}return p}function UN(a,r){const l=a*r;return l<=12e3?"xs":l<=18e3?"sm":l<=28e3?"md":l<=42e3?"lg":"xl"}function Ng(a,r={}){const l={...bk,...r.padding};if(a.length===0)return{tiles:new Map,rowCount:0,columnCount:0,pattern:"grid",totalHeight:l.top+l.bottom};const c={...zN,...r},{availableWidth:d,gap:p}=c,{top:g,left:v,bottom:b}=l,S=a.reduce((K,q)=>K+q.count,0),A=a.map((K,q)=>{const ae=ON(K,S,c);return{id:K.id,width:ae.width,height:ae.height,originalIndex:q}}),C=LN(A,d,p),k=new Map;let M=0;for(const K of C){const q=UN(K.height,K.width);k.set(K.id,{id:K.id,row:0,column:0,width:`${K.width}px`,widthFraction:K.width/d,bucket:q,isRowStart:K.x===0,x:K.x+v,y:K.y+g,height:K.height}),M=Math.max(M,K.y+K.height)}const L=M+g+b;let B="grid";a.length===1?B="single":a.length===2?B="pair":a.length===3?B="trio":a.length===4&&(B="quad");const H=A.reduce((K,q)=>K+q.width,0)/A.length,Q=Math.round(d/(H+p));return{tiles:k,rowCount:Math.ceil(a.length/Math.max(1,Q)),columnCount:Math.max(1,Q),pattern:B,totalHeight:L}}const Lh={availableWidth:532,gap:14,padding:{top:20,right:24,bottom:20,left:24}},BN=52,wk=12,HN=10;function VN(a){const{items:r,expandedId:l,children:c}=a,d=qN(a.config);if(r.length===0)return{positions:new Map,expandedPosition:null,totalHeight:d.padding.top+d.padding.bottom,childrenHeight:0};const p=Ng(r,{availableWidth:d.availableWidth,gap:d.gap,padding:d.padding});if(!l){const Q=new Map;for(const K of r){const q=p.tiles.get(K.id);q&&Q.set(K.id,{id:K.id,x:q.x,y:q.y,width:parseFloat(q.width),height:q.height})}return{positions:Q,expandedPosition:null,totalHeight:p.totalHeight,childrenHeight:0}}const g=p.tiles.get(l);if(!g){const Q=new Map;for(const K of r){const q=p.tiles.get(K.id);q&&Q.set(K.id,{id:K.id,x:q.x,y:q.y,width:parseFloat(q.width),height:q.height})}return{positions:Q,expandedPosition:null,totalHeight:p.totalHeight,childrenHeight:0}}const v=YN(c,d),b=a.extraExpandedHeight??0,S=BN+v.totalHeight+wk*2+b,A=g.y,C=[],k=[];for(const Q of r){if(Q.id===l)continue;const K=p.tiles.get(Q.id);if(!K)continue;K.y+K.height<=A?C.push(Q):k.push(Q)}const M=new Map;for(const Q of C){const K=p.tiles.get(Q.id);M.set(Q.id,{id:Q.id,x:K.x,y:K.y,width:parseFloat(K.width),height:K.height})}const L={id:l,x:d.padding.left,y:A,width:d.availableWidth,height:S};M.set(l,L);const B=A+S+d.gap;if(k.length>0){const Q=Ng(k,{availableWidth:d.availableWidth,gap:d.gap,padding:{top:0,right:0,bottom:d.padding.bottom,left:0}});for(const q of k){const ae=Q.tiles.get(q.id);ae&&M.set(q.id,{id:q.id,x:ae.x+d.padding.left,y:ae.y+B,width:parseFloat(ae.width),height:ae.height})}const K=B+Q.totalHeight;return{positions:M,expandedPosition:L,totalHeight:K,childrenHeight:v.totalHeight}}const H=A+S+d.padding.bottom;return{positions:M,expandedPosition:L,totalHeight:H,childrenHeight:v.totalHeight}}function qN(a){return{availableWidth:a?.availableWidth??Lh.availableWidth,gap:a?.gap??Lh.gap,padding:{top:a?.padding?.top??Lh.padding.top,right:a?.padding?.right??Lh.padding.right,bottom:a?.padding?.bottom??Lh.padding.bottom,left:a?.padding?.left??Lh.padding.left}}}function YN(a,r){if(a.length===0)return{totalHeight:0};const l=r.availableWidth-wk*2;return{totalHeight:Ng(a,{availableWidth:l,gap:HN,padding:{top:0,right:0,bottom:0,left:0}}).totalHeight}}const Cd=[.32,.72,0,1],Nu={micro:.15,standard:.2,expand:.3,staggerChild:.04,childrenDelay:.15},GN={hidden:{},visible:{transition:{staggerChildren:Nu.staggerChild,delayChildren:Nu.childrenDelay}},exit:{transition:{staggerChildren:.02,staggerDirection:-1}}},XN={hidden:{opacity:0,x:-12},visible:{opacity:1,x:0},exit:{opacity:0,x:-12}},$N={duration:Nu.standard,ease:Cd},QN={rest:{x:0},hover:{x:-3},tap:{x:-6,scale:.95}},IN={duration:Nu.micro,ease:Cd},ZN={top:20,right:24,bottom:20,left:24},FN=532,PN=14;function KN(){return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.2},className:be("flex flex-col items-center justify-center","py-16 px-8 text-center"),children:[E.jsx("div",{className:"mb-4 opacity-30",children:E.jsx(gC,{size:28,strokeWidth:1.5})}),E.jsx("div",{className:"text-sm font-normal text-foreground/60 mb-1",children:"No items to display"}),E.jsx("div",{className:"text-xs text-muted-foreground/70",children:"Try adjusting your filters or search query"})]})}function Sk(a){if(!a?.isRule)return[];const r=[],l=a.category;l&&l!=="static"?r.push({label:l,accent:!0}):l==="static"&&r.push({label:"static"});const c=a.currentSeverity,d=a.defaultSeverity;c&&d&&c!==d&&r.push({label:c});const p=a.currentOptions,g=a.optionSchema;if(p&&g?.fields)for(const v of g.fields){const b=p[v.key];if(b!==void 0&&b!==v.defaultValue){const S=typeof b=="boolean"?`${v.label}: ${b?"on":"off"}`:`${v.label}: ${String(b)}`;if(r.push({label:S}),r.length>=4)break}}return r}function Ek({items:a,onTileClick:r,onOpenInInspector:l,selectedIndex:c,availableWidth:d=FN,padding:p=ZN}){if(a.length===0)return E.jsx(KN,{});const{layout:g,sortedItems:v,itemIndexMap:b}=nn.useMemo(()=>{const S=Ng(a,{availableWidth:d,gap:PN,padding:p}),A=[...a].sort((k,M)=>{const L=S.tiles.get(k.id),B=S.tiles.get(M.id),H=(L?.y??0)-(B?.y??0);return Math.abs(H)>10?H:(L?.x??0)-(B?.x??0)}),C=new Map;return A.forEach((k,M)=>C.set(k.id,M)),{layout:S,sortedItems:A,itemIndexMap:C}},[a,d,p]);return E.jsx("div",{className:"relative",style:{height:g.totalHeight,minHeight:200},children:E.jsx(ga,{mode:"popLayout",children:v.map((S,A)=>{const C=g.tiles.get(S.id);if(!C)return null;const k=b.get(S.id)??A;return E.jsx(Ne.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2,ease:Cd,delay:Math.min(A*.03,.2)},className:"absolute",style:{left:C.x,top:C.y,width:C.width,height:C.height},children:E.jsx(yk,{id:S.id,label:S.label,subtitle:S.subtitle,tileType:S.tileType??S.metadata?.tileType,count:S.count,fileCount:S.fileCount,configTags:Sk(S.metadata),bucket:C.bucket,isSelected:k===c,onClick:()=>r(S),onOpenInInspector:l?()=>l(S):void 0})},S.id)})})})}const JN="block text-xs text-muted-foreground/70 uppercase tracking-wider mb-1.5",xb=be("w-full px-3 py-2 text-sm rounded-md","bg-foreground/[0.02] border border-foreground/[0.06]","text-foreground placeholder:text-muted-foreground/40","focus:outline-none focus:border-foreground/[0.12]","transition-colors duration-100","disabled:opacity-50 disabled:cursor-not-allowed"),WN="text-xs text-muted-foreground/50 mt-1.5";function Tk({schema:a,value:r,onChange:l,disabled:c}){const d=U.useCallback(p=>{l(a.key,p.target.value)},[a.key,l]);return E.jsx("input",{type:"text",value:r??"",onChange:d,placeholder:a.placeholder,disabled:c,className:xb})}function e7({schema:a,value:r,onChange:l,disabled:c}){const[d,p]=U.useState(r!=null?String(r):""),[g,v]=U.useState(!0);U.useEffect(()=>{const A=r!=null?String(r):"";p(A)},[r]);const b=U.useCallback(A=>{const C=A.target.value;if(p(C),C===""||C==="-"){v(!0);return}const k=parseFloat(C);isNaN(k)?v(!1):(v(!0),l(a.key,k))},[a.key,l]),S=U.useCallback(()=>{if(d===""||d==="-"){const A=a.defaultValue;p(String(A)),l(a.key,A)}},[d,a.key,a.defaultValue,l]);return E.jsx("input",{type:"text",inputMode:"numeric",value:d,onChange:b,onBlur:S,placeholder:a.placeholder??String(a.defaultValue),disabled:c,className:be(xb,!g&&"border-error/50 focus:border-error")})}function t7({schema:a,value:r,onChange:l,disabled:c}){const d=!!r,p=U.useCallback(g=>{c||l(a.key,g)},[a.key,l,c]);return E.jsxs("div",{className:"flex items-center gap-1 p-1 bg-foreground/[0.02] rounded-lg border border-foreground/[0.04]",children:[E.jsxs("button",{type:"button",onClick:()=>p(!1),disabled:c,className:be("flex items-center gap-2 px-3 py-1.5 rounded-md","text-sm transition-colors duration-100",d?"text-foreground/60 hover:bg-foreground/[0.04] hover:text-foreground/80":"bg-foreground/[0.08] text-foreground",c&&"cursor-not-allowed opacity-50"),children:[E.jsx("div",{className:be("w-2 h-2 rounded-full",d?"bg-muted-foreground/20":"bg-muted-foreground/50")}),E.jsx("span",{children:"Off"})]}),E.jsxs("button",{type:"button",onClick:()=>p(!0),disabled:c,className:be("flex items-center gap-2 px-3 py-1.5 rounded-md","text-sm transition-colors duration-100",d?"bg-foreground/[0.08] text-foreground":"text-foreground/60 hover:bg-foreground/[0.04] hover:text-foreground/80",c&&"cursor-not-allowed opacity-50"),children:[E.jsx("div",{className:be("w-2 h-2 rounded-full",d?"bg-success/70":"bg-success/20")}),E.jsx("span",{children:"On"})]})]})}function n7({schema:a,value:r,onChange:l,disabled:c}){const[d,p]=U.useState(!1),g=U.useRef(null);U.useEffect(()=>{function A(C){g.current&&!g.current.contains(C.target)&&p(!1)}return document.addEventListener("mousedown",A),()=>document.removeEventListener("mousedown",A)},[]);const v=a.options??[],b=v.find(A=>A.value===r),S=U.useCallback(A=>{l(a.key,A),p(!1)},[a.key,l]);return E.jsxs("div",{ref:g,className:"relative",children:[E.jsxs("button",{type:"button",onClick:()=>!c&&p(!d),disabled:c,className:be(xb,"flex items-center justify-between text-left",c&&"cursor-not-allowed"),children:[E.jsx("span",{className:b?"":"text-muted-foreground/40",children:b?.label??a.placeholder??"Select..."}),E.jsx("svg",{className:be("w-4 h-4 text-muted-foreground/50 transition-transform duration-150",d&&"rotate-180"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),E.jsx(ga,{children:d&&E.jsx(Ne.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.15},className:be("absolute z-50 w-full mt-1 py-1 rounded-md","bg-background/95 backdrop-blur-sm","border border-foreground/[0.08]","shadow-lg"),children:v.map(A=>E.jsx("button",{type:"button",onClick:()=>S(A.value),className:be("w-full px-3 py-2 text-sm text-left","transition-colors duration-75",A.value===r?"bg-foreground/[0.06] text-foreground":"text-foreground/80 hover:bg-foreground/[0.04]"),children:A.label},A.value))})})]})}function a7({schema:a,value:r,onChange:l,disabled:c}){const d=Array.isArray(r)?r:[],p=a.options??[],g=U.useCallback(v=>{if(c)return;const b=d.includes(v)?d.filter(S=>S!==v):[...d,v];l(a.key,b)},[a.key,d,l,c]);return E.jsx("div",{className:"flex flex-wrap gap-1.5",children:p.map(v=>{const b=d.includes(v.value);return E.jsx("button",{type:"button",onClick:()=>g(v.value),disabled:c,className:be("px-2.5 py-1 text-xs rounded-md","transition-colors duration-100","border",b?"bg-foreground/[0.08] border-foreground/[0.12] text-foreground":"bg-foreground/[0.02] border-foreground/[0.04] text-foreground/60 hover:text-foreground/80 hover:bg-foreground/[0.04]",c&&"cursor-not-allowed opacity-50"),children:v.label},v.value)})})}function i7({schema:a,value:r,onChange:l,disabled:c}){const p=(Array.isArray(r)?r:[]).join(", "),g=U.useCallback(v=>{const S=v.target.value.split(",").map(A=>A.trim()).filter(A=>A.length>0);l(a.key,S)},[a.key,l]);return E.jsx("input",{type:"text",value:p,onChange:g,placeholder:a.placeholder??"value1, value2, value3",disabled:c,className:xb})}function o7({schema:a,value:r,onChange:l,disabled:c=!1,className:d}){const p=()=>{switch(a.type){case"text":return E.jsx(Tk,{schema:a,value:r,onChange:l,disabled:c});case"number":return E.jsx(e7,{schema:a,value:r,onChange:l,disabled:c});case"boolean":return E.jsx(t7,{schema:a,value:r,onChange:l,disabled:c});case"select":return E.jsx(n7,{schema:a,value:r,onChange:l,disabled:c});case"multiselect":return E.jsx(a7,{schema:a,value:r,onChange:l,disabled:c});case"array":return E.jsx(i7,{schema:a,value:r,onChange:l,disabled:c});default:return E.jsx(Tk,{schema:a,value:r,onChange:l,disabled:c})}};return E.jsxs("div",{className:be("mb-4",d),children:[E.jsx("label",{className:JN,children:a.label}),p(),a.description&&E.jsx("p",{className:WN,children:a.description})]})}function r7({optionSchema:a,currentOptions:r,defaultOptions:l,onOptionChange:c,onReset:d,isUpdating:p=!1,className:g}){const v=a?.fields??[],b=U.useCallback(A=>{const C=r[A.key];return C!==void 0?C:A.defaultValue},[r]),S=U.useCallback(()=>{for(const A of v){const C=r[A.key],k=l[A.key]??A.defaultValue;if(Array.isArray(C)&&Array.isArray(k)){if(C.length!==k.length||C.some((M,L)=>M!==k[L]))return!0}else if(C!==k)return!0}return!1},[v,r,l]);return v.length===0?E.jsx("div",{className:be("text-xs text-muted-foreground/50 italic",g),children:"No additional options for this rule"}):E.jsxs(Ne.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},transition:{duration:.15},className:be("relative",g),children:[p&&E.jsx("div",{className:"absolute inset-0 bg-background/50 backdrop-blur-[1px] z-10 flex items-center justify-center rounded-md",children:E.jsx("span",{className:"text-xs text-muted-foreground animate-pulse",children:"Updating..."})}),E.jsxs("div",{className:"flex items-center justify-between mb-3",children:[E.jsx("label",{className:"text-xs text-muted-foreground/70 uppercase tracking-wider",children:"Options"}),d&&S()&&E.jsx("button",{type:"button",onClick:d,disabled:p,className:be("text-xs text-muted-foreground/60 hover:text-foreground/80","transition-colors duration-100",p&&"cursor-not-allowed opacity-50"),children:"Reset to defaults"})]}),E.jsx("div",{className:be(p&&"opacity-50 pointer-events-none"),children:v.map(A=>E.jsx(o7,{schema:A,value:b(A),onChange:c,disabled:p},A.key))})]})}function LS({severity:a,isSelected:r,onClick:l,label:c}){const d={off:"bg-muted-foreground/30",warn:"bg-warning/70",error:"bg-error/70"}[a];return E.jsxs("button",{type:"button",onClick:l,className:be("flex items-center gap-2 px-3 py-2 rounded-md","text-sm transition-colors duration-100",r?"bg-foreground/[0.08] text-foreground":"text-foreground/60 hover:bg-foreground/[0.04] hover:text-foreground/80"),children:[E.jsx("div",{className:be("w-2 h-2 rounded-full",d)}),E.jsx("span",{children:c})]})}function Ak({ruleId:a,currentSeverity:r,onSeverityChange:l,optionSchema:c,currentOptions:d,defaultOptions:p,onOptionChange:g,onResetOptions:v,isUpdating:b=!1,className:S}){return E.jsxs("div",{className:be("px-3 py-3",S),children:[E.jsxs("div",{className:"mb-4",children:[E.jsx("label",{className:"block text-xs text-muted-foreground/70 uppercase tracking-wider mb-2",children:"Severity"}),E.jsxs("div",{className:"flex items-center gap-1 p-1 bg-foreground/[0.02] rounded-lg border border-foreground/[0.04]",children:[E.jsx(LS,{severity:"off",isSelected:r==="off",onClick:()=>l("off"),label:"Off"}),E.jsx(LS,{severity:"warn",isSelected:r==="warn",onClick:()=>l("warn"),label:"Warn"}),E.jsx(LS,{severity:"error",isSelected:r==="error",onClick:()=>l("error"),label:"Error"})]})]}),c&&c.fields&&c.fields.length>0?E.jsx(r7,{ruleId:a,optionSchema:c,currentOptions:d??{},defaultOptions:p??{},onOptionChange:g??(()=>{}),onReset:v,isUpdating:b}):E.jsx("div",{className:"text-xs text-muted-foreground/50 italic",children:"No additional options for this rule"})]})}function l7({ruleFilter:a,description:r,category:l,docsUrl:c,onClear:d,showCloseButton:p=!0,highestSeverity:g,issueCount:v,className:b,currentSeverity:S="warn",onSeverityChange:A,optionSchema:C,currentOptions:k,defaultOptions:M,onOptionChange:L,onResetOptions:B,isUpdating:H,ignoredCount:Q=0,showIgnored:K=!1,onToggleShowIgnored:q}){const[ae,he]=U.useState(!1),[Ae,J]=U.useState(!1),$=a.id.includes("/")?a.id.split("/")[0]:null,ge=U.useCallback(Me=>{A?.(Me)},[A]),we=U.useCallback((Me,qe)=>{L?.(Me,qe)},[L]),Ke=A!==void 0;return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.1},className:be("bg-foreground/[0.01]","border-b border-foreground/[0.04]",b),children:[E.jsx("div",{className:"px-3 py-2",children:E.jsxs("div",{className:"flex items-center gap-2",children:[g&&E.jsxs("div",{className:be("flex items-center gap-1.5 px-2 py-1 rounded-md",g==="error"&&"bg-error/10 text-error",g==="warning"&&"bg-warning/10 text-warning",g==="info"&&"bg-info/10 text-info"),children:[g==="error"&&E.jsx(cb,{size:12}),g==="warning"&&E.jsx(_u,{size:12}),g==="info"&&E.jsx(us,{size:12}),v!==void 0&&E.jsx("span",{className:"text-[11px] font-medium tabular-nums",children:v})]}),Q>0&&q&&E.jsxs("button",{type:"button",onClick:q,className:be("text-[11px] tabular-nums px-1.5 py-0.5 rounded","transition-colors duration-100",K?"text-muted-foreground bg-foreground/[0.06]":"text-muted-foreground/50 hover:text-muted-foreground"),children:[Q," ignored"]}),(l||$)&&E.jsx("span",{className:"text-[10px] text-muted-foreground/50 uppercase tracking-wider flex-shrink-0",children:$||l}),E.jsx("div",{className:"flex-1"}),E.jsxs("div",{className:"flex items-center gap-1",children:[r&&E.jsx("button",{type:"button",onClick:()=>he(!ae),className:be("px-2 py-1 rounded","text-[11px] text-muted-foreground/60 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100",ae&&"bg-foreground/[0.04] text-foreground/80"),title:ae?"Hide description":"Show description",children:"Info"}),Ke&&E.jsx(hk,{open:Ae,onClose:()=>J(!1),placement:"bottom",align:"end",width:320,trigger:E.jsxs("button",{type:"button",onClick:()=>J(!Ae),className:be("inline-flex items-center gap-1.5","px-2 py-1 rounded","text-[11px] text-muted-foreground/60 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100",Ae&&"bg-foreground/[0.04] text-foreground/80"),children:[E.jsx(xS,{size:12}),"Configure"]}),children:E.jsx("div",{className:"p-1",children:E.jsx(Ak,{ruleId:a.id,currentSeverity:S,onSeverityChange:ge,optionSchema:C,currentOptions:k,defaultOptions:M,onOptionChange:we,onResetOptions:B,isUpdating:H})})}),c&&E.jsxs("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:be("inline-flex items-center gap-1","px-2 py-1 rounded","text-[11px] text-muted-foreground/50 hover:text-foreground/70","hover:bg-foreground/[0.04]","transition-colors duration-100"),children:[E.jsx(_g,{size:10}),"Docs"]}),p&&E.jsx(Og,{variant:"ghost",size:"sm",onClick:d,title:"Clear filter",className:"opacity-40 hover:opacity-100 ml-1",children:E.jsx(fb,{size:12})})]})]})}),E.jsx(ga,{children:ae&&r&&E.jsx(Ne.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.15},className:"overflow-hidden",children:E.jsx("p",{className:"px-3 pb-2 text-xs text-foreground/60 leading-relaxed",children:r})})})]})}const Ck=9234,kk=`ws://localhost:${Ck}`,Lu=10,s7=1e3,u7=1e4,Rk=Ck,c7=10,d7=500;class f7{constructor(r={}){this.options=r,this.createWebSocket=r.createWebSocket??(l=>new WebSocket(l)),this._setTimeout=r.setTimeout??globalThis.setTimeout,this._clearTimeout=r.clearTimeout??globalThis.clearTimeout}ws=null;handlers=new Map;connectionHandlers=new Set;reconnectHandlers=new Set;_reconnectAttempts=0;reconnectTimeout=null;intentionalDisconnect=!1;createWebSocket;_setTimeout;_clearTimeout;isConnected=!1;url=kk;get reconnectAttempts(){return this._reconnectAttempts}connect(r){if(typeof WebSocket>"u"&&!this.options.createWebSocket){Ft("[WebSocket] WebSocket is not available in this environment");return}if(!(this.ws&&this.isConnected&&(!r||r===this.url))){this.ws&&(this.intentionalDisconnect=!0,this.ws.close()),this.url=r??kk,this.intentionalDisconnect=!1;try{this.ws=this.createWebSocket(this.url),this.setupEventHandlers()}catch(l){yn("[WebSocket] Failed to create WebSocket:",l),this.scheduleReconnect()}}}disconnect(){this.intentionalDisconnect=!0,this.reconnectTimeout&&(this._clearTimeout(this.reconnectTimeout),this.reconnectTimeout=null),this.ws&&(this.ws.close(),this.ws=null),this.isConnected=!1,this._reconnectAttempts=0}send(r){if(!this.ws||!this.isConnected){Ft("[WebSocket] Cannot send message: not connected");return}try{this.ws.send(JSON.stringify(r))}catch(l){yn("[WebSocket] Failed to send message:",l)}}on(r,l){this.handlers.has(r)||this.handlers.set(r,new Set);const c=this.handlers.get(r);return c.add(l),()=>{c.delete(l),c.size===0&&this.handlers.delete(r)}}onConnectionChange(r){return this.connectionHandlers.add(r),r(this.isConnected),()=>{this.connectionHandlers.delete(r)}}onReconnectAttempt(r){this.reconnectHandlers.add(r);const l=this._reconnectAttempts>=Lu;return r(this._reconnectAttempts,Lu,l),()=>{this.reconnectHandlers.delete(r)}}notifyReconnectAttempt(){const r=this._reconnectAttempts>=Lu;this.reconnectHandlers.forEach(l=>{try{l(this._reconnectAttempts,Lu,r)}catch(c){yn("[WebSocket] Reconnect handler error:",c)}})}setupEventHandlers(){this.ws&&(this.ws.onopen=()=>{Fe(`[WebSocket] Connected to ${this.url}`),this.isConnected=!0,this._reconnectAttempts=0,this.notifyConnectionChange(!0),this.notifyReconnectAttempt()},this.ws.onclose=r=>{Fe(`[WebSocket] Disconnected from ${this.url} (code: ${r?.code??"unknown"}, reason: ${r?.reason||"none"})`),this.isConnected=!1,this.notifyConnectionChange(!1),this.intentionalDisconnect||this.scheduleReconnect()},this.ws.onerror=r=>{yn("[WebSocket] Connection error:",r)},this.ws.onmessage=r=>{try{const l=JSON.parse(r.data),c=l.type;Fe(`[WebSocket] Received message: ${c||"unknown"}`,l),c?this.dispatch(c,l):this.dispatch("*",l)}catch(l){yn("[WebSocket] Failed to parse message:",l)}})}dispatch(r,l){const c=this.handlers.get(r);if(c&&c.forEach(d=>{try{d(l)}catch(p){yn(`[WebSocket] Handler error for type "${r}":`,p)}}),r!=="*"){const d=this.handlers.get("*");d&&d.forEach(p=>{try{p(l)}catch(g){yn("[WebSocket] Wildcard handler error:",g)}})}}notifyConnectionChange(r){this.connectionHandlers.forEach(l=>{try{l(r)}catch(c){yn("[WebSocket] Connection handler error:",c)}})}scheduleReconnect(){if(this.intentionalDisconnect)return;if(this._reconnectAttempts>=Lu){Ft(`[WebSocket] Max reconnection attempts (${Lu}) reached`),this.notifyReconnectAttempt();return}this.reconnectTimeout&&this._clearTimeout(this.reconnectTimeout);const r=Math.min(s7*Math.pow(2,this._reconnectAttempts),u7);this._reconnectAttempts++,this.notifyReconnectAttempt(),Fe(`[WebSocket] Reconnecting in ${r}ms (attempt ${this._reconnectAttempts}/${Lu})`),this.reconnectTimeout=this._setTimeout(()=>{this.reconnectTimeout=null,this.connect(this.url)},r)}}async function h7(a,r){const l=new AbortController,c=globalThis.setTimeout(()=>l.abort(),d7);try{const d=r?`?probe=${encodeURIComponent(r)}`:"",p=await fetch(`http://localhost:${a}/_uilint/info${d}`,{signal:l.signal});return p.ok?await p.json():null}catch{return null}finally{globalThis.clearTimeout(c)}}function p7(){if(typeof document>"u")return null;const a=document.querySelector("[data-loc]");if(!a)return null;const r=a.getAttribute("data-loc");if(!r)return null;const l=r.split(":");return l.length>=3?l.slice(0,-2).join(":"):r}async function m7(){if(typeof window>"u")return null;const a=p7(),r=Array.from({length:c7},(d,p)=>Rk+p),c=(await Promise.all(r.map(d=>h7(d,a)))).filter(d=>d!==null);if(c.length===0)return null;if(c.length===1)return c[0];if(a){const d=c.find(p=>p.probeExists===!0);if(d)return d}return c.find(d=>d.port===Rk)??c[0]}const Ho=new f7,g7=300*1e3,wb=new Map,US=new Map;function Mk(a){const r=wb.get(a);return r?Date.now()-r.fetchedAt>g7?(wb.delete(a),null):r:null}function Sb(a,r,l,c){const d={content:r,lines:r.split(`
252
- `),totalLines:l,relativePath:c,fetchedAt:Date.now()};return wb.set(a,d),d}function Dk(a){wb.delete(a)}function Eb(a,r,l=5,c=5){const d=r-1,p=Math.max(0,d-l),g=Math.min(a.lines.length,d+c+1);return{lines:a.lines.slice(p,g),startLine:p+1,highlightLine:r,relativePath:a.relativePath}}function v7(a){return US.get(a)}function y7(a,r){US.set(a,r),r.finally(()=>{US.delete(a)})}function b7(a){const{manifestUrl:r,retries:l=3,retryDelay:c=1e3,cacheTtl:d=0}=a;let p=null,g=null,v=null;function b(){return!p||g===null?!1:d===0?!0:Date.now()-g<d}function S(C){return new Promise(k=>setTimeout(k,C))}async function A(){let C=null;for(let k=0;k<=l;k++)try{k>0&&(Fe(`[ManifestFetcher] Retry attempt ${k}/${l}...`),await S(c*k));const M=await fetch(r);if(!M.ok)throw new Error(`Failed to fetch manifest: ${M.status} ${M.statusText}`);const L=await M.json();if(L.version!=="1.0")throw new Error(`Unsupported manifest version: ${L.version}`);if(!Array.isArray(L.files))throw new Error("Invalid manifest: missing files array");return L}catch(M){C=M instanceof Error?M:new Error(String(M)),yn(`[ManifestFetcher] Fetch failed (attempt ${k+1}):`,C.message)}throw C??new Error("Failed to fetch manifest")}return{async fetch(){return b()&&p?{manifest:p,cached:!0,fetchedAt:g}:v||(v=(async()=>{try{Fe(`[ManifestFetcher] Fetching manifest from ${r}...`);const C=await A();return p=C,g=Date.now(),Fe(`[ManifestFetcher] Loaded manifest: ${C.summary.totalIssues} issues in ${C.summary.filesWithIssues} files`),{manifest:C,cached:!1,fetchedAt:g}}finally{v=null}})(),v)},getCached(){return b()?p:null},invalidate(){p=null,g=null,Fe("[ManifestFetcher] Cache invalidated")},isFetching(){return v!==null},getManifestUrl(){return r}}}let _k=null;function x7(a){return _k=b7(a),_k}function w7(a,r){const{filePath:l}=rT(a.dataLoc),c=a.ruleId||"unknown",d=r.find(v=>v.id===c),g=(d?.currentSeverity??d?.defaultSeverity??"warn")==="error"?"error":"warning";return{id:lT("eslint",c,a.dataLoc,a.line),message:a.message,severity:g,dataLoc:a.dataLoc,ruleId:c,pluginId:"eslint",filePath:l,line:a.line,column:a.column}}function S7(a){return{id:a.id,name:a.name,description:a.description,category:a.category,defaultSeverity:a.defaultSeverity,currentSeverity:a.currentSeverity,docs:a.docs}}function E7(a,r){Fe("[ESLint Plugin] Processing manifest:",r.summary.totalIssues,"issues in",r.summary.filesWithIssues,"files");const l=new Map;for(const p of r.files)for(const g of p.issues){const v=w7(g,r.rules),b=l.get(v.dataLoc)||[];l.set(v.dataLoc,[...b,v])}const c=r.rules.map(S7),d=new Map;for(const p of r.rules)d.set(p.id,{severity:p.currentSeverity??p.defaultSeverity});a.setState({issues:l,availableRules:c,ruleConfigs:d,workspaceRoot:r.workspaceRoot,scanStatus:"complete"}),Fe("[ESLint Plugin] Manifest processed:",l.size,"unique dataLocs with issues")}function BS(a){if(!Nr?.manifest)return null;const{manifest:r}=Nr,l=r.files.find(d=>{if(d.filePath===a||a.endsWith(d.filePath)||d.filePath.endsWith(a))return!0;const p=d.filePath.replace(/\\/g,"/"),g=a.replace(/\\/g,"/");return!!(p===g||g.endsWith(p)||p.endsWith(g))});if(!l?.content)return Fe("[Static Handler] No source content found for file:",a),null;const c=l.content.split(`
253
- `);return{content:l.content,lines:c,totalLines:c.length,relativePath:l.filePath}}let Nr=null;function zk(a){const r=x7({manifestUrl:a});Nr={mode:"static",manifestUrl:a,fetcher:r,manifest:null},Fe("[ESLint Plugin] Configured for static mode:",a)}function Tb(){return Nr!==null}function Ok(){Nr=null}function T7(a){if(!Nr)return yn("[ESLint Plugin] Static mode not configured"),()=>{};const{fetcher:r}=Nr;Fe("[ESLint Plugin] Initializing in static mode..."),a.setState({scanStatus:"scanning"}),r.fetch().then(({manifest:c})=>{Nr.manifest=c,E7(a,c)}).catch(c=>{yn("[ESLint Plugin] Failed to fetch manifest:",c),a.setState({scanStatus:"error"})});const l=a.domObserver.onElementsAdded(c=>{Nr?.manifest&&Fe("[ESLint Plugin] Static mode: DOM elements detected:",c.length)});return()=>{l(),Fe("[ESLint Plugin] Static mode disposed")}}function A7(){if(!Nr?.manifest)return null;const{manifest:a}=Nr;return{generatedAt:a.generatedAt,commitSha:a.commitSha,branch:a.branch,summary:a.summary}}const HS=new Map;function C7({filePath:a,enabled:r=!0}){const[l,c]=U.useState(null),[d,p]=U.useState(!1),[g,v]=U.useState(null),b=Ce(C=>C.wsConnected),S=U.useRef(null),A=U.useCallback(()=>{if(!r||!a)return;const C=Mk(a);if(C){c(C),p(!1),v(null);return}if(!b&&Tb()){const B=BS(a);if(B){const H=Sb(a,B.content,B.totalLines,B.relativePath);c(H),p(!1),v(null)}else c(null),p(!1),v("Source not available in manifest");return}if(!b)return;const k=HS.get(a);if(k){p(!0),k.then(B=>{B&&(c(B),v(null)),p(!1)});return}p(!0),v(null);const M=`source-full-${a}-${Date.now()}`;S.current=M;const L=new Promise(B=>{const H=Ho.on("source:result",K=>{if(K.filePath===a){const q=Sb(K.filePath,K.content,K.totalLines,K.relativePath);H(),Q(),B(q)}}),Q=Ho.on("source:error",K=>{K.filePath===a&&(v(K.error),H(),Q(),B(null))});Ho.send({type:"source:fetch",filePath:a,requestId:M}),setTimeout(()=>{H(),Q(),B(null)},1e4)});HS.set(a,L),L.then(B=>{B&&c(B),p(!1)}).finally(()=>{HS.delete(a)})},[a,r,b]);return U.useEffect(()=>{A()},[A]),U.useEffect(()=>a?Ho.on("file:changed",k=>{(k.filePath===a||k.filePath.endsWith(a)||a.endsWith(k.filePath))&&(Dk(a),c(null),r&&A())}):void 0,[a,r,A]),{source:l,lines:l?.lines??[],totalLines:l?.totalLines??0,isLoading:d,error:g,refetch:A}}function k7(a){switch(a){case"error":return{border:"border-error/20",bg:"bg-error/[0.06]",dot:"bg-error/70"};case"warning":return{border:"border-warning/20",bg:"bg-warning/[0.06]",dot:"bg-warning/70"};case"info":return{border:"border-info/20",bg:"bg-info/[0.06]",dot:"bg-info/70"}}}function R7({issue:a,isSelected:r,onSelect:l,gutterWidth:c=40,className:d}){const p=U.useRef(null),g=k7(a.severity);return U.useLayoutEffect(()=>{r&&p.current?.scrollIntoView&&p.current.scrollIntoView({block:"nearest",behavior:"smooth"})},[r]),E.jsxs(Ne.div,{ref:p,onClick:l,layout:!0,layoutId:`issue-${a.id}`,initial:!1,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:[.32,.72,0,1],layout:{duration:.2}},className:be("flex items-start gap-2 cursor-pointer","mx-2 my-1","py-2 px-3","rounded-lg","border",g.border,g.bg,r&&"ring-1 ring-foreground/20","hover:brightness-[0.97]","transition-all duration-100",d),style:{marginLeft:c+8},children:[E.jsx("div",{className:be("flex-shrink-0 mt-1","w-1.5 h-1.5 rounded-full",g.dot)}),E.jsx("p",{className:be("flex-1 min-w-0","text-[11px] leading-relaxed","text-foreground/80","font-sans",r?"line-clamp-none":"line-clamp-2"),children:a.message})]})}function M7(a){switch(a){case"error":return"bg-error/60";case"warning":return"bg-warning/60";case"info":return"bg-info/60"}}function D7({issue:a,firstLine:r,isSelected:l,onSelect:c,gutterWidth:d=40,className:p}){const g=U.useRef(null);return U.useLayoutEffect(()=>{l&&g.current?.scrollIntoView&&g.current.scrollIntoView({block:"nearest",behavior:"smooth"})},[l]),E.jsxs(Ne.button,{ref:g,type:"button",onClick:c,layout:!0,layoutId:`issue-ref-${a.id}`,initial:!1,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.12,ease:[.32,.72,0,1],layout:{duration:.15}},className:be("flex items-center gap-1.5 cursor-pointer","mx-2 my-0.5","py-1 px-2","rounded","text-[10px] text-muted-foreground/50","hover:text-muted-foreground/70 hover:bg-foreground/[0.02]",l&&"text-muted-foreground/70 bg-foreground/[0.03]","transition-colors duration-100",p),style:{marginLeft:d+8},children:[E.jsx("div",{className:be("w-1 h-1 rounded-full flex-shrink-0",M7(a.severity))}),E.jsxs("span",{className:"font-mono",children:["↳ line ",r]})]})}function _7(a){switch(a){case"error":return"bg-error/80";case"warning":return"bg-warning/80";case"info":return"bg-info/80"}}function z7(a){switch(a){case"error":return"hover:bg-error/10";case"warning":return"hover:bg-warning/10";case"info":return"hover:bg-info/10"}}function O7(a){switch(a){case"error":return"border-error/30";case"warning":return"border-warning/30";case"info":return"border-info/30"}}function j7({issue:a,onSelect:r,gutterWidth:l=40,className:c}){const d=U.useRef(null),[p,g]=U.useState(!1);return U.useLayoutEffect(()=>{const v=d.current;if(!v)return;const b=()=>{v.scrollIntoView({block:"nearest",behavior:"smooth"})};return v.addEventListener("focus",b),()=>v.removeEventListener("focus",b)},[]),E.jsxs(Ne.button,{ref:d,type:"button",onClick:r,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),layout:!0,layoutId:`issue-collapsed-${a.id}`,initial:!1,animate:{opacity:1,scale:1,x:0},exit:{opacity:0,scale:.8},transition:{duration:.15,ease:[.32,.72,0,1],layout:{duration:.2}},className:be("relative flex items-center gap-1.5","mx-2 my-0.5","py-1 px-2","rounded-full","border","bg-foreground/[0.02]",O7(a.severity),z7(a.severity),"cursor-pointer","transition-colors duration-100","focus:outline-none focus:ring-1 focus:ring-foreground/20",c),style:{marginLeft:l+8},"aria-label":`Issue on line ${a.line}: ${a.message}`,children:[E.jsx("div",{className:be("w-1.5 h-1.5 rounded-full flex-shrink-0",_7(a.severity))}),E.jsxs("span",{className:"text-[10px] font-mono text-muted-foreground/60 tabular-nums",children:["L",a.line]}),E.jsx(ga,{children:p&&E.jsxs(Ne.div,{initial:{opacity:0,y:4,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:4,scale:.95},transition:{duration:.15},className:be("absolute left-0 top-full mt-1 z-50","max-w-xs","py-1.5 px-2.5","rounded-lg","bg-popover","border border-foreground/10","shadow-lg shadow-black/10","pointer-events-none"),children:[E.jsx("p",{className:"text-[11px] text-foreground/80 leading-relaxed line-clamp-3",children:a.message}),E.jsx("p",{className:"text-[9px] text-muted-foreground/50 mt-1 font-mono",children:a.ruleId})]})})]})}function N7(a,r,l=2){if(a.length===0)return r>0?{regions:[],gaps:[{id:0,startLine:1,endLine:r,lineCount:r,position:"start"}]}:{regions:[],gaps:[]};const c=[...a].sort((b,S)=>b.line-S.line),d=[];for(const b of c){const S=Math.max(1,b.line-l),A=Math.min(r,b.line+l),C=d[d.length-1];C&&S<=C.end+1?(C.end=Math.max(C.end,A),C.issues.push(b)):d.push({start:S,end:A,issues:[b]})}const p=d.map(b=>({startLine:b.start,endLine:b.end,issues:b.issues})),g=[];let v=0;p.length>0&&p[0].startLine>1&&g.push({id:v++,startLine:1,endLine:p[0].startLine-1,lineCount:p[0].startLine-1,position:"start"});for(let b=0;b<p.length-1;b++){const S=p[b].endLine,A=p[b+1].startLine;A>S+1&&g.push({id:v++,startLine:S+1,endLine:A-1,lineCount:A-S-1,position:"middle"})}if(p.length>0){const b=p[p.length-1];b.endLine<r&&g.push({id:v++,startLine:b.endLine+1,endLine:r,lineCount:r-b.endLine,position:"end"})}return{regions:p,gaps:g}}function L7(a,r){const l=a.gaps.findIndex(g=>g.id===r);if(l===-1)return a;const c=a.gaps[l],d=[...a.regions],p=a.gaps.filter(g=>g.id!==r);if(c.position==="start")d.length>0?d[0]={...d[0],startLine:c.startLine}:d.push({startLine:c.startLine,endLine:c.endLine,issues:[]});else if(c.position==="end")if(d.length>0){const g=d.length-1;d[g]={...d[g],endLine:c.endLine}}else d.push({startLine:c.startLine,endLine:c.endLine,issues:[]});else{const g=d.findIndex(b=>b.endLine===c.startLine-1),v=d.findIndex(b=>b.startLine===c.endLine+1);if(g!==-1&&v!==-1){const b={startLine:d[g].startLine,endLine:d[v].endLine,issues:[...d[g].issues,...d[v].issues]};v>g?(d.splice(v,1),d.splice(g,1,b)):(d.splice(g,1),d.splice(v,1,b))}}return{regions:d,gaps:p}}function U7(a,r){return a.filter(l=>l.line===r)}function B7(a){if(a.length===0)return null;const r={error:0,warning:1,info:2};return[...a].sort((c,d)=>r[c.severity]-r[d.severity])[0].severity}function H7(a,r){if(!r)return"";switch(a){case"error":return"bg-error/[0.04]";case"warning":return"bg-warning/[0.04]";case"info":return"bg-info/[0.04]";default:return""}}function V7(a,r){if(!r)return"border-l border-l-transparent";switch(a){case"error":return"border-l border-l-error/50";case"warning":return"border-l border-l-warning/50";case"info":return"border-l border-l-info/50";default:return"border-l border-l-transparent"}}function q7({lines:a,startLine:r,issues:l,selectedIssueId:c,onIssueSelect:d,gutterWidth:p=40,firstOccurrenceMap:g,className:v}){return E.jsx("div",{className:be("font-mono text-xs leading-relaxed","overflow-x-auto",v),children:a.map((b,S)=>{const A=r+S,C=U7(l,A),k=C.length>0,M=B7(C);return E.jsxs("div",{className:"group",children:[E.jsxs("div",{className:be("flex",H7(M,k),V7(M,k)),children:[E.jsx("span",{className:be("flex-shrink-0 select-none text-right pr-3 py-0.5","text-muted-foreground/40","bg-foreground/[0.02]","border-r border-foreground/[0.06]",k&&"text-muted-foreground/60"),style:{width:p},children:A}),E.jsx("code",{className:be("flex-1 pl-3 pr-4 py-0.5","text-foreground/80","whitespace-pre",k&&"text-foreground/90"),children:b||" "})]}),E.jsx(ga,{mode:"sync",children:C.map(L=>{const B=c===L.id;if(c!==null&&!B)return E.jsx(j7,{issue:L,onSelect:()=>d(L.id),gutterWidth:p},L.id);const Q=g?.get(L.message);return!Q||Q===A?E.jsx(R7,{issue:L,isSelected:B,onSelect:()=>d(L.id),gutterWidth:p},L.id):E.jsx(D7,{issue:L,firstLine:Q,isSelected:B,onSelect:()=>d(L.id),gutterWidth:p},L.id)})})]},A)})})}function Y7({startLine:a,endLine:r,lineCount:l,onExpand:c,gutterWidth:d=40,className:p}){return E.jsxs(Ne.button,{type:"button",onClick:c,initial:!1,animate:{opacity:1},exit:{opacity:0},whileHover:{backgroundColor:"rgba(var(--foreground-rgb), 0.04)"},className:be("w-full flex items-center","text-xs text-muted-foreground/60 hover:text-muted-foreground/80","bg-foreground/[0.01]","border-y border-dashed border-foreground/[0.06]","cursor-pointer","transition-colors duration-100","group",p),children:[E.jsx("span",{className:"flex-shrink-0 py-1.5 bg-foreground/[0.02] border-r border-foreground/[0.06]",style:{width:d}}),E.jsxs("span",{className:"flex items-center gap-2 px-3 py-1.5",children:[E.jsx(Mg,{size:12,className:"text-muted-foreground/40 group-hover:text-muted-foreground/60 transition-colors"}),E.jsxs("span",{children:["Show ",l," hidden ",l===1?"line":"lines"]}),E.jsxs("span",{className:"text-muted-foreground/40",children:["(",a,"–",r,")"]})]})]})}const G7=2,X7=32,$7=8,Q7=16;function VS({filePath:a,issues:r,contextLines:l=G7,selectedIssueId:c,onIssueSelect:d,enabled:p=!0,className:g}){const{lines:v,totalLines:b,isLoading:S,error:A}=C7({filePath:a,enabled:p}),[C,k]=U.useState(new Set),M=U.useMemo(()=>b===0?{regions:[],gaps:[]}:N7(r,b,l),[r,b,l]),L=U.useMemo(()=>{let J=M;for(const $ of C)J=L7(J,$);return J},[M,C,b]),B=U.useCallback(J=>{k($=>new Set([...$,J]))},[]),H=U.useMemo(()=>{const J=Math.max(3,String(b).length);return Math.max(X7,J*$7+Q7)},[b]),Q=U.useMemo(()=>{const J=new Map,$=[...r].sort((ge,we)=>ge.line-we.line);for(const ge of $)J.has(ge.message)||J.set(ge.message,ge.line);return J},[r]),K=U.useCallback((J,$)=>v.slice(J-1,$),[v]);if(S)return E.jsx("div",{className:be("py-6 text-center",g),children:E.jsx("div",{className:"text-xs text-muted-foreground/60",children:"Loading source..."})});if(A)return E.jsx("div",{className:be("py-6 text-center",g),children:E.jsxs("div",{className:"text-xs text-muted-foreground/60",children:["Could not load source: ",A]})});if(b===0)return E.jsx("div",{className:be("py-6 text-center",g),children:E.jsx("div",{className:"text-xs text-muted-foreground/60",children:"Source not available"})});const q=[];let ae=0,he=0;const Ae=[...L.gaps].sort((J,$)=>J.startLine-$.startLine);for(;ae<Ae.length||he<L.regions.length;){const J=Ae[ae],$=L.regions[he];if(J&&(!$||J.startLine<$.startLine)&&J)q.push(E.jsx(Y7,{startLine:J.startLine,endLine:J.endLine,lineCount:J.lineCount,onExpand:()=>B(J.id),gutterWidth:H},`gap-${J.id}`)),ae++;else if($){const we=K($.startLine,$.endLine);q.push(E.jsx(q7,{lines:we,startLine:$.startLine,issues:$.issues,selectedIssueId:c,onIssueSelect:d,gutterWidth:H,firstOccurrenceMap:Q},`region-${$.startLine}-${$.endLine}`)),he++}}return E.jsx("div",{className:be("border-t border-foreground/[0.06]","bg-background/50",g),children:E.jsx(ga,{mode:"sync",children:q})})}function I7({severity:a}){switch(a){case"error":return E.jsx(Dg,{size:14,className:"text-error flex-shrink-0"});case"warning":return E.jsx(_u,{size:14,className:"text-warning flex-shrink-0"});case"info":return E.jsx(us,{size:14,className:"text-info flex-shrink-0"})}}function Z7({issue:a,isSelected:r,onClick:l,index:c}){return E.jsxs(Ne.button,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1,delay:Math.min(c*.02,.2)},onClick:l,className:be("w-full text-left","flex items-center gap-2 px-3 py-2","border-b border-foreground/[0.03]","transition-colors duration-100","hover:bg-foreground/[0.03]","group",r&&"bg-foreground/[0.05]"),children:[E.jsx(I7,{severity:a.severity}),E.jsx("span",{className:"flex-shrink-0 text-[11px] font-mono text-muted-foreground/60 tabular-nums w-8",children:a.line}),E.jsx("span",{className:"flex-1 min-w-0 text-xs text-foreground/70 truncate",children:a.message}),E.jsx(_h,{size:12,className:"flex-shrink-0 text-muted-foreground/30 opacity-0 group-hover:opacity-100 transition-opacity"})]})}function F7({issues:a,selectedIssueId:r,onIssueClick:l,onShowFullSource:c,className:d}){const p=nn.useMemo(()=>[...a].sort((v,b)=>v.line-b.line),[a]),g=U.useCallback(v=>{l(v)},[l]);return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.1},className:be("flex flex-col",d),children:[E.jsx("div",{className:"flex-1",children:p.map((v,b)=>E.jsx(Z7,{issue:v,isSelected:r===v.id,onClick:()=>g(v),index:b},v.id))}),E.jsxs("button",{onClick:c,className:be("flex items-center justify-center gap-1.5","px-3 py-2 mt-1","text-xs text-muted-foreground/60 hover:text-foreground/80","hover:bg-foreground/[0.03]","transition-colors duration-100","border-t border-foreground/[0.03]"),children:[E.jsx(N6,{size:12}),E.jsx("span",{children:"View source"})]})]})}const P7={common:{bg:"bg-transparent",border:"border-l-transparent",gutter:"text-text-disabled",code:"text-text-secondary"},removed:{bg:"bg-warning-bg",border:"border-l-warning",gutter:"text-text-primary",code:"text-text-primary"},added:{bg:"bg-warning-bg",border:"border-l-warning",gutter:"text-text-primary",code:"text-text-primary"},modified:{bg:"bg-info-bg",border:"border-l-info",gutter:"text-text-primary",code:"text-text-primary"}};function jk({lines:a,label:r,maxHeight:l=250,className:c}){const d=a.length>0?Math.max(...a.map(g=>g.lineNumber)):0,p=Math.max(3,String(d).length)*8+16;return E.jsxs("div",{className:be("bg-background rounded-lg overflow-hidden border border-border",c),children:[E.jsx("div",{className:"flex items-center gap-2 py-1.5 px-3 bg-surface-elevated border-b border-border",children:E.jsx("span",{className:"text-xs font-medium text-text-primary",children:r})}),E.jsx("div",{className:"overflow-auto text-xs font-mono leading-relaxed",style:{maxHeight:l},children:a.map((g,v)=>{const b=P7[g.type];return E.jsxs("div",{className:be("flex border-l-[3px]",b.bg,b.border),children:[E.jsx("span",{className:be("py-0 px-2 text-right bg-surface-elevated select-none shrink-0 border-r border-border",b.gutter),style:{width:p,minWidth:p},children:g.lineNumber}),E.jsx("code",{className:be("py-0 px-3 whitespace-pre flex-1",b.code),children:g.content||" "})]},v)})})]})}function K7(a,r){const l=a.length,c=r.length,d=Array.from({length:l+1},()=>new Array(c+1).fill(0));for(let p=1;p<=l;p++)for(let g=1;g<=c;g++)a[p-1].trim()===r[g-1].trim()?d[p][g]=d[p-1][g-1]+1:d[p][g]=Math.max(d[p-1][g],d[p][g-1]);return d}function J7(a,r,l,c,d){const p=[],g=[];let v=r.length,b=l.length;const S=[];for(;v>0&&b>0;)r[v-1].trim()===l[b-1].trim()?(S.push({type:"common",ai:v-1,bj:b-1}),v--,b--):a[v-1][b]>=a[v][b-1]?(S.push({type:"remove",ai:v-1,bj:-1}),v--):(S.push({type:"add",ai:-1,bj:b-1}),b--);for(;v>0;)S.push({type:"remove",ai:v-1,bj:-1}),v--;for(;b>0;)S.push({type:"add",ai:-1,bj:b-1}),b--;S.reverse();for(const A of S)A.type==="common"?(p.push({type:"common",content:r[A.ai],lineNumber:c+A.ai}),g.push({type:"common",content:l[A.bj],lineNumber:d+A.bj})):A.type==="remove"?p.push({type:"removed",content:r[A.ai],lineNumber:c+A.ai}):g.push({type:"added",content:l[A.bj],lineNumber:d+A.bj});return{sourceLines:p,targetLines:g}}function W7(a,r,l=1,c=1){const d=a===""?[]:a.split(`
251
+ `),()=>{Q.contains(H)&&Q.removeChild(H)}},[r]),E.jsx(cO,{isPresent:r,childRef:p,sizeRef:g,children:U.cloneElement(a,{ref:S})})}const fO=({children:a,initial:r,isPresent:l,onExitComplete:c,custom:d,presenceAffectsLayout:p,mode:g,anchorX:v,root:b})=>{const S=aw(hO),A=U.useId();let C=!0,k=U.useMemo(()=>(C=!1,{id:A,initial:r,isPresent:l,custom:d,onExitComplete:M=>{S.set(M,!0);for(const L of S.values())if(!L)return;c&&c()},register:M=>(S.set(M,!1),()=>S.delete(M))}),[l,S,c]);return p&&C&&(k={...k}),U.useMemo(()=>{S.forEach((M,L)=>S.set(L,!1))},[l]),U.useEffect(()=>{!l&&!S.size&&c&&c()},[l]),g==="popLayout"&&(a=E.jsx(dO,{isPresent:l,anchorX:v,root:b,children:a})),E.jsx($y.Provider,{value:k,children:a})};function hO(){return new Map}function NA(a=!0){const r=U.useContext($y);if(r===null)return[!0,null];const{isPresent:l,onExitComplete:c,register:d}=r,p=U.useId();U.useEffect(()=>{if(a)return d(p)},[a]);const g=U.useCallback(()=>a&&c&&c(p),[p,c,a]);return!l&&c?[!1,g]:[!0]}const rb=a=>a.key||"";function LA(a){const r=[];return U.Children.forEach(a,l=>{U.isValidElement(l)&&r.push(l)}),r}const ga=({children:a,custom:r,initial:l=!0,onExitComplete:c,presenceAffectsLayout:d=!0,mode:p="sync",propagate:g=!1,anchorX:v="left",root:b})=>{const[S,A]=NA(g),C=U.useMemo(()=>LA(a),[a]),k=g&&!S?[]:C.map(rb),M=U.useRef(!0),L=U.useRef(C),B=aw(()=>new Map),H=U.useRef(new Set),[Q,K]=U.useState(C),[q,ae]=U.useState(C);uT(()=>{M.current=!1,L.current=C;for(let J=0;J<q.length;J++){const $=rb(q[J]);k.includes($)?(B.delete($),H.current.delete($)):B.get($)!==!0&&B.set($,!1)}},[q,k.length,k.join("-")]);const he=[];if(C!==Q){let J=[...C];for(let $=0;$<q.length;$++){const ge=q[$],we=rb(ge);k.includes(we)||(J.splice($,0,ge),he.push(ge))}return p==="wait"&&he.length&&(J=he),ae(LA(J)),K(C),null}process.env.NODE_ENV!=="production"&&p==="wait"&&q.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:Ae}=U.useContext(nw);return E.jsx(E.Fragment,{children:q.map(J=>{const $=rb(J),ge=g&&!S?!1:C===q||k.includes($),we=()=>{if(H.current.has($))return;if(H.current.add($),B.has($))B.set($,!0);else return;let Ke=!0;B.forEach(Me=>{Me||(Ke=!1)}),Ke&&(Ae?.(),ae(L.current),g&&A?.(),c&&c())};return E.jsx(fO,{isPresent:ge,initial:!M.current||l?void 0:!1,custom:r,presenceAffectsLayout:d,mode:p,root:b,onExitComplete:ge?void 0:we,anchorX:v,children:J},$)})})},UA=U.createContext({strict:!1}),BA={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let HA=!1;function pO(){if(HA)return;const a={};for(const r in BA)a[r]={isEnabled:l=>BA[r].some(c=>!!l[c])};O5(a),HA=!0}function VA(){return pO(),ez()}function mO(a){const r=VA();for(const l in a)r[l]={...r[l],...a[l]};O5(r)}const gO=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function lb(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||gO.has(a)}let qA=a=>!lb(a);function vO(a){typeof a=="function"&&(qA=r=>r.startsWith("on")?!lb(r):a(r))}try{vO(require("@emotion/is-prop-valid").default)}catch{}function yO(a,r,l){const c={};for(const d in a)d==="values"&&typeof a.values=="object"||(qA(d)||l===!0&&lb(d)||!r&&!lb(d)||a.draggable&&d.startsWith("onDrag"))&&(c[d]=a[d]);return c}const sb=U.createContext({});function bO(a,r){if(eb(a)){const{initial:l,animate:c}=a;return{initial:l===!1||Sg(l)?l:void 0,animate:Sg(c)?c:void 0}}return a.inherit!==!1?r:{}}function xO(a){const{initial:r,animate:l}=bO(a,U.useContext(sb));return U.useMemo(()=>({initial:r,animate:l}),[YA(r),YA(l)])}function YA(a){return Array.isArray(a)?a.join(" "):a}const cS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function GA(a,r,l){for(const c in r)!ni(r[c])&&!Q5(c,l)&&(a[c]=r[c])}function wO({transformTemplate:a},r){return U.useMemo(()=>{const l=cS();return aS(l,r,a),Object.assign({},l.vars,l.style)},[r])}function SO(a,r){const l=a.style||{},c={};return GA(c,l,a),Object.assign(c,wO(a,r)),c}function EO(a,r){const l={},c=SO(a,r);return a.drag&&a.dragListener!==!1&&(l.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(l.tabIndex=0),l.style=c,l}const XA=()=>({...cS(),attrs:{}});function TO(a,r,l,c){const d=U.useMemo(()=>{const p=XA();return I5(p,r,F5(c),a.transformTemplate,a.style),{...p.attrs,style:{...p.style}}},[r]);if(a.style){const p={};GA(p,a.style,a),d.style={...p,...d.style}}return d}const AO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function dS(a){return typeof a!="string"||a.includes("-")?!1:!!(AO.indexOf(a)>-1||/[A-Z]/u.test(a))}function CO(a,r,l,{latestValues:c},d,p=!1,g){const b=(g??dS(a)?TO:EO)(r,c,d,a),S=yO(r,typeof a=="string",p),A=a!==U.Fragment?{...S,...b,ref:l}:{},{children:C}=r,k=U.useMemo(()=>ni(C)?C.get():C,[C]);return U.createElement(a,{...A,children:k})}function kO({scrapeMotionValuesFromProps:a,createRenderState:r},l,c,d){return{latestValues:RO(l,c,d,a),renderState:r()}}function RO(a,r,l,c){const d={},p=c(a,{});for(const k in p)d[k]=ib(p[k]);let{initial:g,animate:v}=a;const b=eb(a),S=_5(a);r&&S&&!b&&a.inherit!==!1&&(g===void 0&&(g=r.initial),v===void 0&&(v=r.animate));let A=l?l.initial===!1:!1;A=A||g===!1;const C=A?v:g;if(C&&typeof C!="boolean"&&!Wy(C)){const k=Array.isArray(C)?C:[C];for(let M=0;M<k.length;M++){const L=qw(a,k[M]);if(L){const{transitionEnd:B,transition:H,...Q}=L;for(const K in Q){let q=Q[K];if(Array.isArray(q)){const ae=A?q.length-1:0;q=q[ae]}q!==null&&(d[K]=q)}for(const K in B)d[K]=B[K]}}}return d}const $A=a=>(r,l)=>{const c=U.useContext(sb),d=U.useContext($y),p=()=>kO(a,r,c,d);return l?p():aw(p)},MO=$A({scrapeMotionValuesFromProps:oS,createRenderState:cS}),DO=$A({scrapeMotionValuesFromProps:P5,createRenderState:XA}),_O=Symbol.for("motionComponentSymbol");function zO(a,r,l){const c=U.useRef(l);U.useInsertionEffect(()=>{c.current=l});const d=U.useRef(null);return U.useCallback(p=>{p&&a.onMount?.(p),r&&(p?r.mount(p):r.unmount());const g=c.current;if(typeof g=="function")if(p){const v=g(p);typeof v=="function"&&(d.current=v)}else d.current?(d.current(),d.current=null):g(p);else g&&(g.current=p)},[r])}const QA=U.createContext({});function Cg(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function OO(a,r,l,c,d,p){const{visualElement:g}=U.useContext(sb),v=U.useContext(UA),b=U.useContext($y),S=U.useContext(uS).reducedMotion,A=U.useRef(null);c=c||v.renderer,!A.current&&c&&(A.current=c(a,{visualState:r,parent:g,props:l,presenceContext:b,blockInitialAnimation:b?b.initial===!1:!1,reducedMotionConfig:S,isSVG:p}));const C=A.current,k=U.useContext(QA);C&&!C.projection&&d&&(C.type==="html"||C.type==="svg")&&jO(A.current,l,d,k);const M=U.useRef(!1);U.useInsertionEffect(()=>{C&&M.current&&C.update(l,b)});const L=l[u5],B=U.useRef(!!L&&!window.MotionHandoffIsComplete?.(L)&&window.MotionHasOptimisedAnimation?.(L));return uT(()=>{C&&(M.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),C.scheduleRenderMicrotask(),B.current&&C.animationState&&C.animationState.animateChanges())}),U.useEffect(()=>{C&&(!B.current&&C.animationState&&C.animationState.animateChanges(),B.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(L)}),B.current=!1),C.enteringChildren=void 0)}),C}function jO(a,r,l,c){const{layoutId:d,layout:p,drag:g,dragConstraints:v,layoutScroll:b,layoutRoot:S,layoutCrossfade:A}=r;a.projection=new l(a.latestValues,r["data-framer-portal-id"]?void 0:IA(a.parent)),a.projection.setOptions({layoutId:d,layout:p,alwaysMeasureLayout:!!g||v&&Cg(v),visualElement:a,animationType:typeof p=="string"?p:"both",initialPromotionConfig:c,crossfade:A,layoutScroll:b,layoutRoot:S})}function IA(a){if(a)return a.options.allowProjection!==!1?a.projection:IA(a.parent)}function fS(a,{forwardMotionProps:r=!1,type:l}={},c,d){c&&mO(c);const p=l?l==="svg":dS(a),g=p?DO:MO;function v(S,A){let C;const k={...U.useContext(uS),...S,layoutId:NO(S)},{isStatic:M}=k,L=xO(S),B=g(S,M);if(!M&&sT){LO(k,c);const H=UO(k);C=H.MeasureLayout,L.visualElement=OO(a,B,k,d,H.ProjectionNode,p)}return E.jsxs(sb.Provider,{value:L,children:[C&&L.visualElement?E.jsx(C,{visualElement:L.visualElement,...k}):null,CO(a,S,zO(B,L.visualElement,A),B,M,r,p)]})}v.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const b=U.forwardRef(v);return b[_O]=a,b}function NO({layoutId:a}){const r=U.useContext(nw).id;return r&&a!==void 0?r+"-"+a:a}function LO(a,r){const l=U.useContext(UA).strict;if(process.env.NODE_ENV!=="production"&&r&&l){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";a.ignoreStrict?xh(!1,c,"lazy-strict-mode"):ls(!1,c,"lazy-strict-mode")}}function UO(a){const r=VA(),{drag:l,layout:c}=r;if(!l&&!c)return{};const d={...l,...c};return{MeasureLayout:l?.isEnabled(a)||c?.isEnabled(a)?d.MeasureLayout:void 0,ProjectionNode:d.ProjectionNode}}function BO(a,r){if(typeof Proxy>"u")return fS;const l=new Map,c=(p,g)=>fS(p,g,a,r),d=(p,g)=>(process.env.NODE_ENV!=="production"&&uw(!1,"motion() is deprecated. Use motion.create() instead."),c(p,g));return new Proxy(d,{get:(p,g)=>g==="create"?c:(l.has(g)||l.set(g,fS(g,void 0,a,r)),l.get(g))})}const HO=(a,r)=>r.isSVG??dS(a)?new vz(r):new dz(r,{allowProjection:a!==U.Fragment});class VO extends Du{constructor(r){super(r),r.animationState||(r.animationState=Sz(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Wy(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:l}=this.node.prevProps||{};r!==l&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let qO=0;class YO extends Du{constructor(){super(...arguments),this.id=qO++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:l}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===c)return;const d=this.node.animationState.setActive("exit",!r);l&&!r&&d.then(()=>{l(this.id)})}mount(){const{register:r,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const GO={animation:{Feature:VO},exit:{Feature:YO}};function kg(a){return{point:{x:a.pageX,y:a.pageY}}}const XO=a=>r=>Fw(r)&&a(r,kg(r));function Rg(a,r,l,c){return Ag(a,r,XO(l),c)}const ZA=({current:a})=>a?a.ownerDocument.defaultView:null,FA=(a,r)=>Math.abs(a-r);function $O(a,r){const l=FA(a.x,r.x),c=FA(a.y,r.y);return Math.sqrt(l**2+c**2)}const PA=new Set(["auto","scroll"]);class KA{constructor(r,l,{transformPagePoint:c,contextWindow:d=window,dragSnapToOrigin:p=!1,distanceThreshold:g=3,element:v}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=M=>{this.handleScroll(M.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=pS(this.lastMoveEventInfo,this.history),L=this.startEvent!==null,B=$O(M.offset,{x:0,y:0})>=this.distanceThreshold;if(!L&&!B)return;const{point:H}=M,{timestamp:Q}=Na;this.history.push({...H,timestamp:Q});const{onStart:K,onMove:q}=this.handlers;L||(K&&K(this.lastMoveEvent,M),this.startEvent=this.lastMoveEvent),q&&q(this.lastMoveEvent,M)},this.handlePointerMove=(M,L)=>{this.lastMoveEvent=M,this.lastMoveEventInfo=hS(L,this.transformPagePoint),bn.update(this.updatePoint,!0)},this.handlePointerUp=(M,L)=>{this.end();const{onEnd:B,onSessionEnd:H,resumeAnimation:Q}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Q&&Q(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const K=pS(M.type==="pointercancel"?this.lastMoveEventInfo:hS(L,this.transformPagePoint),this.history);this.startEvent&&B&&B(M,K),H&&H(M,K)},!Fw(r))return;this.dragSnapToOrigin=p,this.handlers=l,this.transformPagePoint=c,this.distanceThreshold=g,this.contextWindow=d||window;const b=kg(r),S=hS(b,this.transformPagePoint),{point:A}=S,{timestamp:C}=Na;this.history=[{...A,timestamp:C}];const{onSessionStart:k}=l;k&&k(r,pS(S,this.history)),this.removeListeners=pg(Rg(this.contextWindow,"pointermove",this.handlePointerMove),Rg(this.contextWindow,"pointerup",this.handlePointerUp),Rg(this.contextWindow,"pointercancel",this.handlePointerUp)),v&&this.startScrollTracking(v)}startScrollTracking(r){let l=r.parentElement;for(;l;){const c=getComputedStyle(l);(PA.has(c.overflowX)||PA.has(c.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(r){const l=this.scrollPositions.get(r);if(!l)return;const c=r===window,d=c?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},p={x:d.x-l.x,y:d.y-l.y};p.x===0&&p.y===0||(c?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=p.x,this.lastMoveEventInfo.point.y+=p.y):this.history.length>0&&(this.history[0].x-=p.x,this.history[0].y-=p.y),this.scrollPositions.set(r,d),bn.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Cu(this.updatePoint)}}function hS(a,r){return r?{point:r(a.point)}:a}function JA(a,r){return{x:a.x-r.x,y:a.y-r.y}}function pS({point:a},r){return{point:a,delta:JA(a,WA(r)),offset:JA(a,QO(r)),velocity:IO(r,.1)}}function QO(a){return a[0]}function WA(a){return a[a.length-1]}function IO(a,r){if(a.length<2)return{x:0,y:0};let l=a.length-1,c=null;const d=WA(a);for(;l>=0&&(c=a[l],!(d.timestamp-c.timestamp>hl(r)));)l--;if(!c)return{x:0,y:0};const p=Uo(d.timestamp-c.timestamp);if(p===0)return{x:0,y:0};const g={x:(d.x-c.x)/p,y:(d.y-c.y)/p};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function ZO(a,{min:r,max:l},c){return r!==void 0&&a<r?a=c?Mn(r,a,c.min):Math.max(a,r):l!==void 0&&a>l&&(a=c?Mn(l,a,c.max):Math.min(a,l)),a}function eC(a,r,l){return{min:r!==void 0?a.min+r:void 0,max:l!==void 0?a.max+l-(a.max-a.min):void 0}}function FO(a,{top:r,left:l,bottom:c,right:d}){return{x:eC(a.x,l,d),y:eC(a.y,r,c)}}function tC(a,r){let l=r.min-a.min,c=r.max-a.max;return r.max-r.min<a.max-a.min&&([l,c]=[c,l]),{min:l,max:c}}function PO(a,r){return{x:tC(a.x,r.x),y:tC(a.y,r.y)}}function KO(a,r){let l=.5;const c=hi(a),d=hi(r);return d>c?l=mg(r.min,r.max-c,a.min):c>d&&(l=mg(a.min,a.max-d,r.min)),fl(0,1,l)}function JO(a,r){const l={};return r.min!==void 0&&(l.min=r.min-a.min),r.max!==void 0&&(l.max=r.max-a.min),l}const mS=.35;function WO(a=mS){return a===!1?a=0:a===!0&&(a=mS),{x:nC(a,"left","right"),y:nC(a,"top","bottom")}}function nC(a,r,l){return{min:aC(a,r),max:aC(a,l)}}function aC(a,r){return typeof a=="number"?a:a[r]||0}const e6=new WeakMap;class t6{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ma(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:l=!1,distanceThreshold:c}={}){const{presenceContext:d}=this.visualElement;if(d&&d.isPresent===!1)return;const p=C=>{l?(this.stopAnimation(),this.snapToCursor(kg(C).point)):this.pauseAnimation()},g=(C,k)=>{this.stopAnimation();const{drag:M,dragPropagation:L,onDragStart:B}=this.getProps();if(M&&!L&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Y_(M),!this.openDragLock))return;this.latestPointerEvent=C,this.latestPanInfo=k,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Bo(Q=>{let K=this.getAxisMotionValue(Q).get()||0;if(pl.test(K)){const{projection:q}=this.visualElement;if(q&&q.layout){const ae=q.layout.layoutBox[Q];ae&&(K=hi(ae)*(parseFloat(K)/100))}}this.originPoint[Q]=K}),B&&bn.postRender(()=>B(C,k)),Gw(this.visualElement,"transform");const{animationState:H}=this.visualElement;H&&H.setActive("whileDrag",!0)},v=(C,k)=>{this.latestPointerEvent=C,this.latestPanInfo=k;const{dragPropagation:M,dragDirectionLock:L,onDirectionLock:B,onDrag:H}=this.getProps();if(!M&&!this.openDragLock)return;const{offset:Q}=k;if(L&&this.currentDirection===null){this.currentDirection=n6(Q),this.currentDirection!==null&&B&&B(this.currentDirection);return}this.updateAxis("x",k.point,Q),this.updateAxis("y",k.point,Q),this.visualElement.render(),H&&H(C,k)},b=(C,k)=>{this.latestPointerEvent=C,this.latestPanInfo=k,this.stop(C,k),this.latestPointerEvent=null,this.latestPanInfo=null},S=()=>Bo(C=>this.getAnimationState(C)==="paused"&&this.getAxisMotionValue(C).animation?.play()),{dragSnapToOrigin:A}=this.getProps();this.panSession=new KA(r,{onSessionStart:p,onStart:g,onMove:v,onSessionEnd:b,resumeAnimation:S},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:A,distanceThreshold:c,contextWindow:ZA(this.visualElement),element:this.visualElement.current})}stop(r,l){const c=r||this.latestPointerEvent,d=l||this.latestPanInfo,p=this.isDragging;if(this.cancel(),!p||!d||!c)return;const{velocity:g}=d;this.startAnimation(g);const{onDragEnd:v}=this.getProps();v&&bn.postRender(()=>v(c,d))}cancel(){this.isDragging=!1;const{projection:r,animationState:l}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}updateAxis(r,l,c){const{drag:d}=this.getProps();if(!c||!ub(r,d,this.currentDirection))return;const p=this.getAxisMotionValue(r);let g=this.originPoint[r]+c[r];this.constraints&&this.constraints[r]&&(g=ZO(g,this.constraints[r],this.elastic[r])),p.set(g)}resolveConstraints(){const{dragConstraints:r,dragElastic:l}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,d=this.constraints;r&&Cg(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&c?this.constraints=FO(c.layoutBox,r):this.constraints=!1,this.elastic=WO(l),d!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&Bo(p=>{this.constraints!==!1&&this.getAxisMotionValue(p)&&(this.constraints[p]=JO(c.layoutBox[p],this.constraints[p]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:l}=this.getProps();if(!r||!Cg(r))return!1;const c=r.current;ls(c!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:d}=this.visualElement;if(!d||!d.layout)return!1;const p=oz(c,d.root,this.visualElement.getTransformPagePoint());let g=PO(d.layout.layoutBox,p);if(l){const v=l(nz(g));this.hasMutatedConstraints=!!v,v&&(g=N5(v))}return g}startAnimation(r){const{drag:l,dragMomentum:c,dragElastic:d,dragTransition:p,dragSnapToOrigin:g,onDragTransitionEnd:v}=this.getProps(),b=this.constraints||{},S=Bo(A=>{if(!ub(A,l,this.currentDirection))return;let C=b&&b[A]||{};g&&(C={min:0,max:0});const k=d?200:1e6,M=d?40:1e7,L={type:"inertia",velocity:c?r[A]:0,bounceStiffness:k,bounceDamping:M,timeConstant:750,restDelta:1,restSpeed:10,...p,...C};return this.startAxisValueAnimation(A,L)});return Promise.all(S).then(v)}startAxisValueAnimation(r,l){const c=this.getAxisMotionValue(r);return Gw(this.visualElement,r),c.start(Vw(r,c,0,l,this.visualElement,!1))}stopAnimation(){Bo(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){Bo(r=>this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const l=`_drag${r.toUpperCase()}`,c=this.visualElement.getProps(),d=c[l];return d||this.visualElement.getValue(r,(c.initial?c.initial[r]:void 0)||0)}snapToCursor(r){Bo(l=>{const{drag:c}=this.getProps();if(!ub(l,c,this.currentDirection))return;const{projection:d}=this.visualElement,p=this.getAxisMotionValue(l);if(d&&d.layout){const{min:g,max:v}=d.layout.layoutBox[l],b=p.get()||0;p.set(r[l]-Mn(g,v,.5)+b)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:l}=this.getProps(),{projection:c}=this.visualElement;if(!Cg(l)||!c||!this.constraints)return;this.stopAnimation();const d={x:0,y:0};Bo(g=>{const v=this.getAxisMotionValue(g);if(v&&this.constraints!==!1){const b=v.get();d[g]=KO({min:b,max:b},this.constraints[g])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Bo(g=>{if(!ub(g,r,null))return;const v=this.getAxisMotionValue(g),{min:b,max:S}=this.constraints[g];v.set(Mn(b,S,d[g]))})}addListeners(){if(!this.visualElement.current)return;e6.set(this.visualElement,this);const r=this.visualElement.current,l=Rg(r,"pointerdown",b=>{const{drag:S,dragListener:A=!0}=this.getProps();S&&A&&!T5(b.target)&&this.start(b)}),c=()=>{const{dragConstraints:b}=this.getProps();Cg(b)&&b.current&&(this.constraints=this.resolveRefConstraints())},{projection:d}=this.visualElement,p=d.addEventListener("measure",c);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),bn.read(c);const g=Ag(window,"resize",()=>this.scalePositionWithinConstraints()),v=d.addEventListener("didUpdate",(({delta:b,hasLayoutChanged:S})=>{this.isDragging&&S&&(Bo(A=>{const C=this.getAxisMotionValue(A);C&&(this.originPoint[A]+=b[A].translate,C.set(C.get()+b[A].translate))}),this.visualElement.render())}));return()=>{g(),l(),p(),v&&v()}}getProps(){const r=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:c=!1,dragPropagation:d=!1,dragConstraints:p=!1,dragElastic:g=mS,dragMomentum:v=!0}=r;return{...r,drag:l,dragDirectionLock:c,dragPropagation:d,dragConstraints:p,dragElastic:g,dragMomentum:v}}}function ub(a,r,l){return(r===!0||r===a)&&(l===null||l===a)}function n6(a,r=10){let l=null;return Math.abs(a.y)>r?l="y":Math.abs(a.x)>r&&(l="x"),l}class a6 extends Du{constructor(r){super(r),this.removeGroupControls=Lo,this.removeListeners=Lo,this.controls=new t6(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lo}update(){const{dragControls:r}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};r!==l&&(this.removeGroupControls(),r&&(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const iC=a=>(r,l)=>{a&&bn.postRender(()=>a(r,l))};class i6 extends Du{constructor(){super(...arguments),this.removePointerDownListener=Lo}onPointerDown(r){this.session=new KA(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ZA(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:l,onPan:c,onPanEnd:d}=this.node.getProps();return{onSessionStart:iC(r),onStart:iC(l),onMove:c,onEnd:(p,g)=>{delete this.session,d&&bn.postRender(()=>d(p,g))}}}mount(){this.removePointerDownListener=Rg(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let gS=!1;class o6 extends U.Component{componentDidMount(){const{visualElement:r,layoutGroup:l,switchLayoutGroup:c,layoutId:d}=this.props,{projection:p}=r;p&&(l.group&&l.group.add(p),c&&c.register&&d&&c.register(p),gS&&p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,onExitComplete:()=>this.safeToRemove()})),ob.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:l,visualElement:c,drag:d,isPresent:p}=this.props,{projection:g}=c;return g&&(g.isPresent=p,gS=!0,d||r.layoutDependency!==l||l===void 0||r.isPresent!==p?g.willUpdate():this.safeToRemove(),r.isPresent!==p&&(p?g.promote():g.relegate()||bn.postRender(()=>{const v=g.getStack();(!v||!v.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),Zw.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:l,switchLayoutGroup:c}=this.props,{projection:d}=r;gS=!0,d&&(d.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(d),c&&c.deregister&&c.deregister(d))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function oC(a){const[r,l]=NA(),c=U.useContext(nw);return E.jsx(o6,{...a,layoutGroup:c,switchLayoutGroup:U.useContext(QA),isPresent:r,safeToRemove:l})}const r6={pan:{Feature:i6},drag:{Feature:a6,ProjectionNode:OA,MeasureLayout:oC}};function rC(a,r,l){const{props:c}=a;a.animationState&&c.whileHover&&a.animationState.setActive("whileHover",l==="Start");const d="onHover"+l,p=c[d];p&&bn.postRender(()=>p(r,kg(r)))}class l6 extends Du{mount(){const{current:r}=this.node;r&&(this.unmount=G_(r,(l,c)=>(rC(this.node,c,"Start"),d=>rC(this.node,d,"End"))))}unmount(){}}class s6 extends Du{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=pg(Ag(this.node.current,"focus",()=>this.onFocus()),Ag(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function lC(a,r,l){const{props:c}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&c.whileTap&&a.animationState.setActive("whileTap",l==="Start");const d="onTap"+(l==="End"?"":l),p=c[d];p&&bn.postRender(()=>p(r,kg(r)))}class u6 extends Du{mount(){const{current:r}=this.node;r&&(this.unmount=Q_(r,(l,c)=>(lC(this.node,c,"Start"),(d,{success:p})=>lC(this.node,d,p?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const vS=new WeakMap,yS=new WeakMap,c6=a=>{const r=vS.get(a.target);r&&r(a)},d6=a=>{a.forEach(c6)};function f6({root:a,...r}){const l=a||document;yS.has(l)||yS.set(l,{});const c=yS.get(l),d=JSON.stringify(r);return c[d]||(c[d]=new IntersectionObserver(d6,{root:a,...r})),c[d]}function h6(a,r,l){const c=f6(r);return vS.set(a,l),c.observe(a),()=>{vS.delete(a),c.unobserve(a)}}const p6={some:0,all:1};class m6 extends Du{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:l,margin:c,amount:d="some",once:p}=r,g={root:l?l.current:void 0,rootMargin:c,threshold:typeof d=="number"?d:p6[d]},v=b=>{const{isIntersecting:S}=b;if(this.isInView===S||(this.isInView=S,p&&!S&&this.hasEnteredView))return;S&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",S);const{onViewportEnter:A,onViewportLeave:C}=this.node.getProps(),k=S?A:C;k&&k(b)};return h6(this.node.current,g,v)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:l}=this.node;["amount","margin","root"].some(g6(r,l))&&this.startObserver()}unmount(){}}function g6({viewport:a={}},{viewport:r={}}={}){return l=>a[l]!==r[l]}const v6={...GO,...{inView:{Feature:m6},tap:{Feature:u6},focus:{Feature:s6},hover:{Feature:l6}},...r6,...{layout:{ProjectionNode:OA,MeasureLayout:oC}}},Ne=BO(v6,HO);const y6=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),b6=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,c)=>c?c.toUpperCase():l.toLowerCase()),sC=a=>{const r=b6(a);return r.charAt(0).toUpperCase()+r.slice(1)},uC=(...a)=>a.filter((r,l,c)=>!!r&&r.trim()!==""&&c.indexOf(r)===l).join(" ").trim(),x6=a=>{for(const r in a)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};var w6={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const S6=U.forwardRef(({color:a="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:d="",children:p,iconNode:g,...v},b)=>U.createElement("svg",{ref:b,...w6,width:r,height:r,stroke:a,strokeWidth:c?Number(l)*24/Number(r):l,className:uC("lucide",d),...!p&&!x6(v)&&{"aria-hidden":"true"},...v},[...g.map(([S,A])=>U.createElement(S,A)),...Array.isArray(p)?p:[p]]));const tt=(a,r)=>{const l=U.forwardRef(({className:c,...d},p)=>U.createElement(S6,{ref:p,iconNode:r,className:uC(`lucide-${y6(sC(a))}`,`lucide-${a}`,c),...d}));return l.displayName=sC(a),l};const E6=tt("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const T6=tt("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);const A6=tt("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);const C6=tt("bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);const k6=tt("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);const R6=tt("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);const cC=tt("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const Mg=tt("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const M6=tt("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const _h=tt("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const D6=tt("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);const Dg=tt("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const _6=tt("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const z6=tt("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const cb=tt("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);const O6=tt("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);const j6=tt("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const N6=tt("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);const L6=tt("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);const U6=tt("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]]);const dC=tt("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);const B6=tt("crop",[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]]);const _g=tt("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const fC=tt("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);const hC=tt("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const db=tt("file-code",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]);const H6=tt("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);const V6=tt("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);const pC=tt("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);const q6=tt("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);const us=tt("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);const Y6=tt("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const G6=tt("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const X6=tt("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const $6=tt("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const Q6=tt("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);const I6=tt("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);const Z6=tt("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);const F6=tt("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);const P6=tt("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);const K6=tt("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const mC=tt("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);const J6=tt("rows-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}]]);const W6=tt("scan-line",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]]);const bS=tt("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const xS=tt("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const ej=tt("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);const gC=tt("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);const tj=tt("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);const nj=tt("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);const aj=tt("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);const ij=tt("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const _u=tt("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const fb=tt("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function vC(a){var r,l,c="";if(typeof a=="string"||typeof a=="number")c+=a;else if(typeof a=="object")if(Array.isArray(a)){var d=a.length;for(r=0;r<d;r++)a[r]&&(l=vC(a[r]))&&(c&&(c+=" "),c+=l)}else for(l in a)a[l]&&(c&&(c+=" "),c+=l);return c}function yC(){for(var a,r,l=0,c="",d=arguments.length;l<d;l++)(a=arguments[l])&&(r=vC(a))&&(c&&(c+=" "),c+=r);return c}const oj=(a,r)=>{const l=new Array(a.length+r.length);for(let c=0;c<a.length;c++)l[c]=a[c];for(let c=0;c<r.length;c++)l[a.length+c]=r[c];return l},rj=(a,r)=>({classGroupId:a,validator:r}),bC=(a=new Map,r=null,l)=>({nextPart:a,validators:r,classGroupId:l}),hb="-",xC=[],lj="arbitrary..",sj=a=>{const r=cj(a),{conflictingClassGroups:l,conflictingClassGroupModifiers:c}=a;return{getClassGroupId:g=>{if(g.startsWith("[")&&g.endsWith("]"))return uj(g);const v=g.split(hb),b=v[0]===""&&v.length>1?1:0;return wC(v,b,r)},getConflictingClassGroupIds:(g,v)=>{if(v){const b=c[g],S=l[g];return b?S?oj(S,b):b:S||xC}return l[g]||xC}}},wC=(a,r,l)=>{if(a.length-r===0)return l.classGroupId;const d=a[r],p=l.nextPart.get(d);if(p){const S=wC(a,r+1,p);if(S)return S}const g=l.validators;if(g===null)return;const v=r===0?a.join(hb):a.slice(r).join(hb),b=g.length;for(let S=0;S<b;S++){const A=g[S];if(A.validator(v))return A.classGroupId}},uj=a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=a.slice(1,-1),l=r.indexOf(":"),c=r.slice(0,l);return c?lj+c:void 0})(),cj=a=>{const{theme:r,classGroups:l}=a;return dj(l,r)},dj=(a,r)=>{const l=bC();for(const c in a){const d=a[c];wS(d,l,c,r)}return l},wS=(a,r,l,c)=>{const d=a.length;for(let p=0;p<d;p++){const g=a[p];fj(g,r,l,c)}},fj=(a,r,l,c)=>{if(typeof a=="string"){hj(a,r,l);return}if(typeof a=="function"){pj(a,r,l,c);return}mj(a,r,l,c)},hj=(a,r,l)=>{const c=a===""?r:SC(r,a);c.classGroupId=l},pj=(a,r,l,c)=>{if(gj(a)){wS(a(c),r,l,c);return}r.validators===null&&(r.validators=[]),r.validators.push(rj(l,a))},mj=(a,r,l,c)=>{const d=Object.entries(a),p=d.length;for(let g=0;g<p;g++){const[v,b]=d[g];wS(b,SC(r,v),l,c)}},SC=(a,r)=>{let l=a;const c=r.split(hb),d=c.length;for(let p=0;p<d;p++){const g=c[p];let v=l.nextPart.get(g);v||(v=bC(),l.nextPart.set(g,v)),l=v}return l},gj=a=>"isThemeGetter"in a&&a.isThemeGetter===!0,vj=a=>{if(a<1)return{get:()=>{},set:()=>{}};let r=0,l=Object.create(null),c=Object.create(null);const d=(p,g)=>{l[p]=g,r++,r>a&&(r=0,c=l,l=Object.create(null))};return{get(p){let g=l[p];if(g!==void 0)return g;if((g=c[p])!==void 0)return d(p,g),g},set(p,g){p in l?l[p]=g:d(p,g)}}},SS="!",EC=":",yj=[],TC=(a,r,l,c,d)=>({modifiers:a,hasImportantModifier:r,baseClassName:l,maybePostfixModifierPosition:c,isExternal:d}),bj=a=>{const{prefix:r,experimentalParseClassName:l}=a;let c=d=>{const p=[];let g=0,v=0,b=0,S;const A=d.length;for(let B=0;B<A;B++){const H=d[B];if(g===0&&v===0){if(H===EC){p.push(d.slice(b,B)),b=B+1;continue}if(H==="/"){S=B;continue}}H==="["?g++:H==="]"?g--:H==="("?v++:H===")"&&v--}const C=p.length===0?d:d.slice(b);let k=C,M=!1;C.endsWith(SS)?(k=C.slice(0,-1),M=!0):C.startsWith(SS)&&(k=C.slice(1),M=!0);const L=S&&S>b?S-b:void 0;return TC(p,M,k,L)};if(r){const d=r+EC,p=c;c=g=>g.startsWith(d)?p(g.slice(d.length)):TC(yj,!1,g,void 0,!0)}if(l){const d=c;c=p=>l({className:p,parseClassName:d})}return c},xj=a=>{const r=new Map;return a.orderSensitiveModifiers.forEach((l,c)=>{r.set(l,1e6+c)}),l=>{const c=[];let d=[];for(let p=0;p<l.length;p++){const g=l[p],v=g[0]==="[",b=r.has(g);v||b?(d.length>0&&(d.sort(),c.push(...d),d=[]),c.push(g)):d.push(g)}return d.length>0&&(d.sort(),c.push(...d)),c}},wj=a=>({cache:vj(a.cacheSize),parseClassName:bj(a),sortModifiers:xj(a),...sj(a)}),Sj=/\s+/,Ej=(a,r)=>{const{parseClassName:l,getClassGroupId:c,getConflictingClassGroupIds:d,sortModifiers:p}=r,g=[],v=a.trim().split(Sj);let b="";for(let S=v.length-1;S>=0;S-=1){const A=v[S],{isExternal:C,modifiers:k,hasImportantModifier:M,baseClassName:L,maybePostfixModifierPosition:B}=l(A);if(C){b=A+(b.length>0?" "+b:b);continue}let H=!!B,Q=c(H?L.substring(0,B):L);if(!Q){if(!H){b=A+(b.length>0?" "+b:b);continue}if(Q=c(L),!Q){b=A+(b.length>0?" "+b:b);continue}H=!1}const K=k.length===0?"":k.length===1?k[0]:p(k).join(":"),q=M?K+SS:K,ae=q+Q;if(g.indexOf(ae)>-1)continue;g.push(ae);const he=d(Q,H);for(let Ae=0;Ae<he.length;++Ae){const J=he[Ae];g.push(q+J)}b=A+(b.length>0?" "+b:b)}return b},Tj=(...a)=>{let r=0,l,c,d="";for(;r<a.length;)(l=a[r++])&&(c=AC(l))&&(d&&(d+=" "),d+=c);return d},AC=a=>{if(typeof a=="string")return a;let r,l="";for(let c=0;c<a.length;c++)a[c]&&(r=AC(a[c]))&&(l&&(l+=" "),l+=r);return l},Aj=(a,...r)=>{let l,c,d,p;const g=b=>{const S=r.reduce((A,C)=>C(A),a());return l=wj(S),c=l.cache.get,d=l.cache.set,p=v,v(b)},v=b=>{const S=c(b);if(S)return S;const A=Ej(b,l);return d(b,A),A};return p=g,(...b)=>p(Tj(...b))},Cj=[],va=a=>{const r=l=>l[a]||Cj;return r.isThemeGetter=!0,r},CC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,kC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kj=/^\d+\/\d+$/,Rj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Dj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,_j=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,zh=a=>kj.test(a),Mt=a=>!!a&&!Number.isNaN(Number(a)),zu=a=>!!a&&Number.isInteger(Number(a)),ES=a=>a.endsWith("%")&&Mt(a.slice(0,-1)),cs=a=>Rj.test(a),Oj=()=>!0,jj=a=>Mj.test(a)&&!Dj.test(a),RC=()=>!1,Nj=a=>_j.test(a),Lj=a=>zj.test(a),Uj=a=>!$e(a)&&!Qe(a),Bj=a=>Oh(a,OC,RC),$e=a=>CC.test(a),Td=a=>Oh(a,jC,jj),TS=a=>Oh(a,Gj,Mt),MC=a=>Oh(a,_C,RC),Hj=a=>Oh(a,zC,Lj),pb=a=>Oh(a,NC,Nj),Qe=a=>kC.test(a),zg=a=>jh(a,jC),Vj=a=>jh(a,Xj),DC=a=>jh(a,_C),qj=a=>jh(a,OC),Yj=a=>jh(a,zC),mb=a=>jh(a,NC,!0),Oh=(a,r,l)=>{const c=CC.exec(a);return c?c[1]?r(c[1]):l(c[2]):!1},jh=(a,r,l=!1)=>{const c=kC.exec(a);return c?c[1]?r(c[1]):l:!1},_C=a=>a==="position"||a==="percentage",zC=a=>a==="image"||a==="url",OC=a=>a==="length"||a==="size"||a==="bg-size",jC=a=>a==="length",Gj=a=>a==="number",Xj=a=>a==="family-name",NC=a=>a==="shadow",$j=Aj(()=>{const a=va("color"),r=va("font"),l=va("text"),c=va("font-weight"),d=va("tracking"),p=va("leading"),g=va("breakpoint"),v=va("container"),b=va("spacing"),S=va("radius"),A=va("shadow"),C=va("inset-shadow"),k=va("text-shadow"),M=va("drop-shadow"),L=va("blur"),B=va("perspective"),H=va("aspect"),Q=va("ease"),K=va("animate"),q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ae=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],he=()=>[...ae(),Qe,$e],Ae=()=>["auto","hidden","clip","visible","scroll"],J=()=>["auto","contain","none"],$=()=>[Qe,$e,b],ge=()=>[zh,"full","auto",...$()],we=()=>[zu,"none","subgrid",Qe,$e],Ke=()=>["auto",{span:["full",zu,Qe,$e]},zu,Qe,$e],Me=()=>[zu,"auto",Qe,$e],qe=()=>["auto","min","max","fr",Qe,$e],Se=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ue=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...$()],W=()=>[zh,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...$()],ne=()=>[a,Qe,$e],De=()=>[...ae(),DC,MC,{position:[Qe,$e]}],Be=()=>["no-repeat",{repeat:["","x","y","space","round"]}],j=()=>["auto","cover","contain",qj,Bj,{size:[Qe,$e]}],ie=()=>[ES,zg,Td],ve=()=>["","none","full",S,Qe,$e],ye=()=>["",Mt,zg,Td],Xe=()=>["solid","dashed","dotted","double"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>[Mt,ES,DC,MC],Tt=()=>["","none",L,Qe,$e],ft=()=>["none",Mt,Qe,$e],Un=()=>["none",Mt,Qe,$e],ze=()=>[Mt,Qe,$e],Ta=()=>[zh,"full",...$()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[cs],breakpoint:[cs],color:[Oj],container:[cs],"drop-shadow":[cs],ease:["in","out","in-out"],font:[Uj],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[cs],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[cs],shadow:[cs],spacing:["px",Mt],text:[cs],"text-shadow":[cs],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",zh,$e,Qe,H]}],container:["container"],columns:[{columns:[Mt,$e,Qe,v]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:he()}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-y":[{"overflow-y":Ae()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ge()}],"inset-x":[{"inset-x":ge()}],"inset-y":[{"inset-y":ge()}],start:[{start:ge()}],end:[{end:ge()}],top:[{top:ge()}],right:[{right:ge()}],bottom:[{bottom:ge()}],left:[{left:ge()}],visibility:["visible","invisible","collapse"],z:[{z:[zu,"auto",Qe,$e]}],basis:[{basis:[zh,"full","auto",v,...$()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Mt,zh,"auto","initial","none",$e]}],grow:[{grow:["",Mt,Qe,$e]}],shrink:[{shrink:["",Mt,Qe,$e]}],order:[{order:[zu,"first","last","none",Qe,$e]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:Ke()}],"col-start":[{"col-start":Me()}],"col-end":[{"col-end":Me()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:Ke()}],"row-start":[{"row-start":Me()}],"row-end":[{"row-end":Me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":qe()}],"auto-rows":[{"auto-rows":qe()}],gap:[{gap:$()}],"gap-x":[{"gap-x":$()}],"gap-y":[{"gap-y":$()}],"justify-content":[{justify:[...Se(),"normal"]}],"justify-items":[{"justify-items":[...Ue(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ue()]}],"align-content":[{content:["normal",...Se()]}],"align-items":[{items:[...Ue(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ue(),{baseline:["","last"]}]}],"place-content":[{"place-content":Se()}],"place-items":[{"place-items":[...Ue(),"baseline"]}],"place-self":[{"place-self":["auto",...Ue()]}],p:[{p:$()}],px:[{px:$()}],py:[{py:$()}],ps:[{ps:$()}],pe:[{pe:$()}],pt:[{pt:$()}],pr:[{pr:$()}],pb:[{pb:$()}],pl:[{pl:$()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":$()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":$()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],w:[{w:[v,"screen",...W()]}],"min-w":[{"min-w":[v,"screen","none",...W()]}],"max-w":[{"max-w":[v,"screen","none","prose",{screen:[g]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",l,zg,Td]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,Qe,TS]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ES,$e]}],"font-family":[{font:[Vj,$e,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d,Qe,$e]}],"line-clamp":[{"line-clamp":[Mt,"none",Qe,TS]}],leading:[{leading:[p,...$()]}],"list-image":[{"list-image":["none",Qe,$e]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Qe,$e]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ne()}],"text-color":[{text:ne()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Mt,"from-font","auto",Qe,Td]}],"text-decoration-color":[{decoration:ne()}],"underline-offset":[{"underline-offset":[Mt,"auto",Qe,$e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Qe,$e]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Qe,$e]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:De()}],"bg-repeat":[{bg:Be()}],"bg-size":[{bg:j()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zu,Qe,$e],radial:["",Qe,$e],conic:[zu,Qe,$e]},Yj,Hj]}],"bg-color":[{bg:ne()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:ne()}],"gradient-via":[{via:ne()}],"gradient-to":[{to:ne()}],rounded:[{rounded:ve()}],"rounded-s":[{"rounded-s":ve()}],"rounded-e":[{"rounded-e":ve()}],"rounded-t":[{"rounded-t":ve()}],"rounded-r":[{"rounded-r":ve()}],"rounded-b":[{"rounded-b":ve()}],"rounded-l":[{"rounded-l":ve()}],"rounded-ss":[{"rounded-ss":ve()}],"rounded-se":[{"rounded-se":ve()}],"rounded-ee":[{"rounded-ee":ve()}],"rounded-es":[{"rounded-es":ve()}],"rounded-tl":[{"rounded-tl":ve()}],"rounded-tr":[{"rounded-tr":ve()}],"rounded-br":[{"rounded-br":ve()}],"rounded-bl":[{"rounded-bl":ve()}],"border-w":[{border:ye()}],"border-w-x":[{"border-x":ye()}],"border-w-y":[{"border-y":ye()}],"border-w-s":[{"border-s":ye()}],"border-w-e":[{"border-e":ye()}],"border-w-t":[{"border-t":ye()}],"border-w-r":[{"border-r":ye()}],"border-w-b":[{"border-b":ye()}],"border-w-l":[{"border-l":ye()}],"divide-x":[{"divide-x":ye()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ye()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Xe(),"hidden","none"]}],"divide-style":[{divide:[...Xe(),"hidden","none"]}],"border-color":[{border:ne()}],"border-color-x":[{"border-x":ne()}],"border-color-y":[{"border-y":ne()}],"border-color-s":[{"border-s":ne()}],"border-color-e":[{"border-e":ne()}],"border-color-t":[{"border-t":ne()}],"border-color-r":[{"border-r":ne()}],"border-color-b":[{"border-b":ne()}],"border-color-l":[{"border-l":ne()}],"divide-color":[{divide:ne()}],"outline-style":[{outline:[...Xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Mt,Qe,$e]}],"outline-w":[{outline:["",Mt,zg,Td]}],"outline-color":[{outline:ne()}],shadow:[{shadow:["","none",A,mb,pb]}],"shadow-color":[{shadow:ne()}],"inset-shadow":[{"inset-shadow":["none",C,mb,pb]}],"inset-shadow-color":[{"inset-shadow":ne()}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ne()}],"ring-offset-w":[{"ring-offset":[Mt,Td]}],"ring-offset-color":[{"ring-offset":ne()}],"inset-ring-w":[{"inset-ring":ye()}],"inset-ring-color":[{"inset-ring":ne()}],"text-shadow":[{"text-shadow":["none",k,mb,pb]}],"text-shadow-color":[{"text-shadow":ne()}],opacity:[{opacity:[Mt,Qe,$e]}],"mix-blend":[{"mix-blend":[...fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":fe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Mt]}],"mask-image-linear-from-pos":[{"mask-linear-from":ke()}],"mask-image-linear-to-pos":[{"mask-linear-to":ke()}],"mask-image-linear-from-color":[{"mask-linear-from":ne()}],"mask-image-linear-to-color":[{"mask-linear-to":ne()}],"mask-image-t-from-pos":[{"mask-t-from":ke()}],"mask-image-t-to-pos":[{"mask-t-to":ke()}],"mask-image-t-from-color":[{"mask-t-from":ne()}],"mask-image-t-to-color":[{"mask-t-to":ne()}],"mask-image-r-from-pos":[{"mask-r-from":ke()}],"mask-image-r-to-pos":[{"mask-r-to":ke()}],"mask-image-r-from-color":[{"mask-r-from":ne()}],"mask-image-r-to-color":[{"mask-r-to":ne()}],"mask-image-b-from-pos":[{"mask-b-from":ke()}],"mask-image-b-to-pos":[{"mask-b-to":ke()}],"mask-image-b-from-color":[{"mask-b-from":ne()}],"mask-image-b-to-color":[{"mask-b-to":ne()}],"mask-image-l-from-pos":[{"mask-l-from":ke()}],"mask-image-l-to-pos":[{"mask-l-to":ke()}],"mask-image-l-from-color":[{"mask-l-from":ne()}],"mask-image-l-to-color":[{"mask-l-to":ne()}],"mask-image-x-from-pos":[{"mask-x-from":ke()}],"mask-image-x-to-pos":[{"mask-x-to":ke()}],"mask-image-x-from-color":[{"mask-x-from":ne()}],"mask-image-x-to-color":[{"mask-x-to":ne()}],"mask-image-y-from-pos":[{"mask-y-from":ke()}],"mask-image-y-to-pos":[{"mask-y-to":ke()}],"mask-image-y-from-color":[{"mask-y-from":ne()}],"mask-image-y-to-color":[{"mask-y-to":ne()}],"mask-image-radial":[{"mask-radial":[Qe,$e]}],"mask-image-radial-from-pos":[{"mask-radial-from":ke()}],"mask-image-radial-to-pos":[{"mask-radial-to":ke()}],"mask-image-radial-from-color":[{"mask-radial-from":ne()}],"mask-image-radial-to-color":[{"mask-radial-to":ne()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ae()}],"mask-image-conic-pos":[{"mask-conic":[Mt]}],"mask-image-conic-from-pos":[{"mask-conic-from":ke()}],"mask-image-conic-to-pos":[{"mask-conic-to":ke()}],"mask-image-conic-from-color":[{"mask-conic-from":ne()}],"mask-image-conic-to-color":[{"mask-conic-to":ne()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:De()}],"mask-repeat":[{mask:Be()}],"mask-size":[{mask:j()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Qe,$e]}],filter:[{filter:["","none",Qe,$e]}],blur:[{blur:Tt()}],brightness:[{brightness:[Mt,Qe,$e]}],contrast:[{contrast:[Mt,Qe,$e]}],"drop-shadow":[{"drop-shadow":["","none",M,mb,pb]}],"drop-shadow-color":[{"drop-shadow":ne()}],grayscale:[{grayscale:["",Mt,Qe,$e]}],"hue-rotate":[{"hue-rotate":[Mt,Qe,$e]}],invert:[{invert:["",Mt,Qe,$e]}],saturate:[{saturate:[Mt,Qe,$e]}],sepia:[{sepia:["",Mt,Qe,$e]}],"backdrop-filter":[{"backdrop-filter":["","none",Qe,$e]}],"backdrop-blur":[{"backdrop-blur":Tt()}],"backdrop-brightness":[{"backdrop-brightness":[Mt,Qe,$e]}],"backdrop-contrast":[{"backdrop-contrast":[Mt,Qe,$e]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Mt,Qe,$e]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Mt,Qe,$e]}],"backdrop-invert":[{"backdrop-invert":["",Mt,Qe,$e]}],"backdrop-opacity":[{"backdrop-opacity":[Mt,Qe,$e]}],"backdrop-saturate":[{"backdrop-saturate":[Mt,Qe,$e]}],"backdrop-sepia":[{"backdrop-sepia":["",Mt,Qe,$e]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":$()}],"border-spacing-x":[{"border-spacing-x":$()}],"border-spacing-y":[{"border-spacing-y":$()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Qe,$e]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Mt,"initial",Qe,$e]}],ease:[{ease:["linear","initial",Q,Qe,$e]}],delay:[{delay:[Mt,Qe,$e]}],animate:[{animate:["none",K,Qe,$e]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[B,Qe,$e]}],"perspective-origin":[{"perspective-origin":he()}],rotate:[{rotate:ft()}],"rotate-x":[{"rotate-x":ft()}],"rotate-y":[{"rotate-y":ft()}],"rotate-z":[{"rotate-z":ft()}],scale:[{scale:Un()}],"scale-x":[{"scale-x":Un()}],"scale-y":[{"scale-y":Un()}],"scale-z":[{"scale-z":Un()}],"scale-3d":["scale-3d"],skew:[{skew:ze()}],"skew-x":[{"skew-x":ze()}],"skew-y":[{"skew-y":ze()}],transform:[{transform:[Qe,$e,"","none","gpu","cpu"]}],"transform-origin":[{origin:he()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ta()}],"translate-x":[{"translate-x":Ta()}],"translate-y":[{"translate-y":Ta()}],"translate-z":[{"translate-z":Ta()}],"translate-none":["translate-none"],accent:[{accent:ne()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ne()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Qe,$e]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Qe,$e]}],fill:[{fill:["none",...ne()]}],"stroke-w":[{stroke:[Mt,zg,Td,TS]}],stroke:[{stroke:["none",...ne()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function be(...a){return $j(yC(a))}function Qj(){const a=Ce(ew),r=Ce(d=>d.plugins?.eslint?.disabledRules),l=a,c=r;return U.useMemo(()=>Kn.getAllSearchItems(),[l,c])}function ds(a){return Array.isArray?Array.isArray(a):BC(a)==="[object Array]"}function Ij(a){if(typeof a=="string")return a;let r=a+"";return r=="0"&&1/a==-1/0?"-0":r}function Zj(a){return a==null?"":Ij(a)}function ml(a){return typeof a=="string"}function LC(a){return typeof a=="number"}function Fj(a){return a===!0||a===!1||Pj(a)&&BC(a)=="[object Boolean]"}function UC(a){return typeof a=="object"}function Pj(a){return UC(a)&&a!==null}function io(a){return a!=null}function AS(a){return!a.trim().length}function BC(a){return a==null?a===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(a)}const Kj="Incorrect 'index' type",Jj=a=>`Invalid value for key ${a}`,Wj=a=>`Pattern length exceeds max of ${a}.`,e8=a=>`Missing ${a} property in key`,t8=a=>`Property 'weight' in key '${a}' must be a positive integer`,HC=Object.prototype.hasOwnProperty;class n8{constructor(r){this._keys=[],this._keyMap={};let l=0;r.forEach(c=>{let d=VC(c);this._keys.push(d),this._keyMap[d.id]=d,l+=d.weight}),this._keys.forEach(c=>{c.weight/=l})}get(r){return this._keyMap[r]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function VC(a){let r=null,l=null,c=null,d=1,p=null;if(ml(a)||ds(a))c=a,r=qC(a),l=CS(a);else{if(!HC.call(a,"name"))throw new Error(e8("name"));const g=a.name;if(c=g,HC.call(a,"weight")&&(d=a.weight,d<=0))throw new Error(t8(g));r=qC(g),l=CS(g),p=a.getFn}return{path:r,id:l,weight:d,src:c,getFn:p}}function qC(a){return ds(a)?a:a.split(".")}function CS(a){return ds(a)?a.join("."):a}function a8(a,r){let l=[],c=!1;const d=(p,g,v)=>{if(io(p))if(!g[v])l.push(p);else{let b=g[v];const S=p[b];if(!io(S))return;if(v===g.length-1&&(ml(S)||LC(S)||Fj(S)))l.push(Zj(S));else if(ds(S)){c=!0;for(let A=0,C=S.length;A<C;A+=1)d(S[A],g,v+1)}else g.length&&d(S,g,v+1)}};return d(a,ml(r)?r.split("."):r,0),c?l:l[0]}var st={...{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(a,r)=>a.score===r.score?a.idx<r.idx?-1:1:a.score<r.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:a8,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const i8=/[^ ]+/g;function o8(a=1,r=3){const l=new Map,c=Math.pow(10,r);return{get(d){const p=d.match(i8).length;if(l.has(p))return l.get(p);const g=1/Math.pow(p,.5*a),v=parseFloat(Math.round(g*c)/c);return l.set(p,v),v},clear(){l.clear()}}}class kS{constructor({getFn:r=st.getFn,fieldNormWeight:l=st.fieldNormWeight}={}){this.norm=o8(l,3),this.getFn=r,this.isCreated=!1,this.setIndexRecords()}setSources(r=[]){this.docs=r}setIndexRecords(r=[]){this.records=r}setKeys(r=[]){this.keys=r,this._keysMap={},r.forEach((l,c)=>{this._keysMap[l.id]=c})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ml(this.docs[0])?this.docs.forEach((r,l)=>{this._addString(r,l)}):this.docs.forEach((r,l)=>{this._addObject(r,l)}),this.norm.clear())}add(r){const l=this.size();ml(r)?this._addString(r,l):this._addObject(r,l)}removeAt(r){this.records.splice(r,1);for(let l=r,c=this.size();l<c;l+=1)this.records[l].i-=1}getValueForItemAtKeyId(r,l){return r[this._keysMap[l]]}size(){return this.records.length}_addString(r,l){if(!io(r)||AS(r))return;let c={v:r,i:l,n:this.norm.get(r)};this.records.push(c)}_addObject(r,l){let c={i:l,$:{}};this.keys.forEach((d,p)=>{let g=d.getFn?d.getFn(r):this.getFn(r,d.path);if(io(g)){if(ds(g)){let v=[];const b=[{nestedArrIndex:-1,value:g}];for(;b.length;){const{nestedArrIndex:S,value:A}=b.pop();if(io(A))if(ml(A)&&!AS(A)){let C={v:A,i:S,n:this.norm.get(A)};v.push(C)}else ds(A)&&A.forEach((C,k)=>{b.push({nestedArrIndex:k,value:C})})}c.$[p]=v}else if(ml(g)&&!AS(g)){let v={v:g,n:this.norm.get(g)};c.$[p]=v}}}),this.records.push(c)}toJSON(){return{keys:this.keys,records:this.records}}}function YC(a,r,{getFn:l=st.getFn,fieldNormWeight:c=st.fieldNormWeight}={}){const d=new kS({getFn:l,fieldNormWeight:c});return d.setKeys(a.map(VC)),d.setSources(r),d.create(),d}function r8(a,{getFn:r=st.getFn,fieldNormWeight:l=st.fieldNormWeight}={}){const{keys:c,records:d}=a,p=new kS({getFn:r,fieldNormWeight:l});return p.setKeys(c),p.setIndexRecords(d),p}function gb(a,{errors:r=0,currentLocation:l=0,expectedLocation:c=0,distance:d=st.distance,ignoreLocation:p=st.ignoreLocation}={}){const g=r/a.length;if(p)return g;const v=Math.abs(c-l);return d?g+v/d:v?1:g}function l8(a=[],r=st.minMatchCharLength){let l=[],c=-1,d=-1,p=0;for(let g=a.length;p<g;p+=1){let v=a[p];v&&c===-1?c=p:!v&&c!==-1&&(d=p-1,d-c+1>=r&&l.push([c,d]),c=-1)}return a[p-1]&&p-c>=r&&l.push([c,p-1]),l}const Ad=32;function s8(a,r,l,{location:c=st.location,distance:d=st.distance,threshold:p=st.threshold,findAllMatches:g=st.findAllMatches,minMatchCharLength:v=st.minMatchCharLength,includeMatches:b=st.includeMatches,ignoreLocation:S=st.ignoreLocation}={}){if(r.length>Ad)throw new Error(Wj(Ad));const A=r.length,C=a.length,k=Math.max(0,Math.min(c,C));let M=p,L=k;const B=v>1||b,H=B?Array(C):[];let Q;for(;(Q=a.indexOf(r,L))>-1;){let J=gb(r,{currentLocation:Q,expectedLocation:k,distance:d,ignoreLocation:S});if(M=Math.min(J,M),L=Q+A,B){let $=0;for(;$<A;)H[Q+$]=1,$+=1}}L=-1;let K=[],q=1,ae=A+C;const he=1<<A-1;for(let J=0;J<A;J+=1){let $=0,ge=ae;for(;$<ge;)gb(r,{errors:J,currentLocation:k+ge,expectedLocation:k,distance:d,ignoreLocation:S})<=M?$=ge:ae=ge,ge=Math.floor((ae-$)/2+$);ae=ge;let we=Math.max(1,k-ge+1),Ke=g?C:Math.min(k+ge,C)+A,Me=Array(Ke+2);Me[Ke+1]=(1<<J)-1;for(let Se=Ke;Se>=we;Se-=1){let Ue=Se-1,N=l[a.charAt(Ue)];if(B&&(H[Ue]=+!!N),Me[Se]=(Me[Se+1]<<1|1)&N,J&&(Me[Se]|=(K[Se+1]|K[Se])<<1|1|K[Se+1]),Me[Se]&he&&(q=gb(r,{errors:J,currentLocation:Ue,expectedLocation:k,distance:d,ignoreLocation:S}),q<=M)){if(M=q,L=Ue,L<=k)break;we=Math.max(1,2*k-L)}}if(gb(r,{errors:J+1,currentLocation:k,expectedLocation:k,distance:d,ignoreLocation:S})>M)break;K=Me}const Ae={isMatch:L>=0,score:Math.max(.001,q)};if(B){const J=l8(H,v);J.length?b&&(Ae.indices=J):Ae.isMatch=!1}return Ae}function u8(a){let r={};for(let l=0,c=a.length;l<c;l+=1){const d=a.charAt(l);r[d]=(r[d]||0)|1<<c-l-1}return r}const vb=String.prototype.normalize?(a=>a.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(a=>a);class GC{constructor(r,{location:l=st.location,threshold:c=st.threshold,distance:d=st.distance,includeMatches:p=st.includeMatches,findAllMatches:g=st.findAllMatches,minMatchCharLength:v=st.minMatchCharLength,isCaseSensitive:b=st.isCaseSensitive,ignoreDiacritics:S=st.ignoreDiacritics,ignoreLocation:A=st.ignoreLocation}={}){if(this.options={location:l,threshold:c,distance:d,includeMatches:p,findAllMatches:g,minMatchCharLength:v,isCaseSensitive:b,ignoreDiacritics:S,ignoreLocation:A},r=b?r:r.toLowerCase(),r=S?vb(r):r,this.pattern=r,this.chunks=[],!this.pattern.length)return;const C=(M,L)=>{this.chunks.push({pattern:M,alphabet:u8(M),startIndex:L})},k=this.pattern.length;if(k>Ad){let M=0;const L=k%Ad,B=k-L;for(;M<B;)C(this.pattern.substr(M,Ad),M),M+=Ad;if(L){const H=k-Ad;C(this.pattern.substr(H),H)}}else C(this.pattern,0)}searchIn(r){const{isCaseSensitive:l,ignoreDiacritics:c,includeMatches:d}=this.options;if(r=l?r:r.toLowerCase(),r=c?vb(r):r,this.pattern===r){let B={isMatch:!0,score:0};return d&&(B.indices=[[0,r.length-1]]),B}const{location:p,distance:g,threshold:v,findAllMatches:b,minMatchCharLength:S,ignoreLocation:A}=this.options;let C=[],k=0,M=!1;this.chunks.forEach(({pattern:B,alphabet:H,startIndex:Q})=>{const{isMatch:K,score:q,indices:ae}=s8(r,B,H,{location:p+Q,distance:g,threshold:v,findAllMatches:b,minMatchCharLength:S,includeMatches:d,ignoreLocation:A});K&&(M=!0),k+=q,K&&ae&&(C=[...C,...ae])});let L={isMatch:M,score:M?k/this.chunks.length:1};return M&&d&&(L.indices=C),L}}class Ou{constructor(r){this.pattern=r}static isMultiMatch(r){return XC(r,this.multiRegex)}static isSingleMatch(r){return XC(r,this.singleRegex)}search(){}}function XC(a,r){const l=a.match(r);return l?l[1]:null}class c8 extends Ou{constructor(r){super(r)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(r){const l=r===this.pattern;return{isMatch:l,score:l?0:1,indices:[0,this.pattern.length-1]}}}class d8 extends Ou{constructor(r){super(r)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(r){const c=r.indexOf(this.pattern)===-1;return{isMatch:c,score:c?0:1,indices:[0,r.length-1]}}}class f8 extends Ou{constructor(r){super(r)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(r){const l=r.startsWith(this.pattern);return{isMatch:l,score:l?0:1,indices:[0,this.pattern.length-1]}}}class h8 extends Ou{constructor(r){super(r)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(r){const l=!r.startsWith(this.pattern);return{isMatch:l,score:l?0:1,indices:[0,r.length-1]}}}class p8 extends Ou{constructor(r){super(r)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(r){const l=r.endsWith(this.pattern);return{isMatch:l,score:l?0:1,indices:[r.length-this.pattern.length,r.length-1]}}}class m8 extends Ou{constructor(r){super(r)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(r){const l=!r.endsWith(this.pattern);return{isMatch:l,score:l?0:1,indices:[0,r.length-1]}}}class $C extends Ou{constructor(r,{location:l=st.location,threshold:c=st.threshold,distance:d=st.distance,includeMatches:p=st.includeMatches,findAllMatches:g=st.findAllMatches,minMatchCharLength:v=st.minMatchCharLength,isCaseSensitive:b=st.isCaseSensitive,ignoreDiacritics:S=st.ignoreDiacritics,ignoreLocation:A=st.ignoreLocation}={}){super(r),this._bitapSearch=new GC(r,{location:l,threshold:c,distance:d,includeMatches:p,findAllMatches:g,minMatchCharLength:v,isCaseSensitive:b,ignoreDiacritics:S,ignoreLocation:A})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(r){return this._bitapSearch.searchIn(r)}}class QC extends Ou{constructor(r){super(r)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(r){let l=0,c;const d=[],p=this.pattern.length;for(;(c=r.indexOf(this.pattern,l))>-1;)l=c+p,d.push([c,l-1]);const g=!!d.length;return{isMatch:g,score:g?0:1,indices:d}}}const RS=[c8,QC,f8,h8,m8,p8,d8,$C],IC=RS.length,g8=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,v8="|";function y8(a,r={}){return a.split(v8).map(l=>{let c=l.trim().split(g8).filter(p=>p&&!!p.trim()),d=[];for(let p=0,g=c.length;p<g;p+=1){const v=c[p];let b=!1,S=-1;for(;!b&&++S<IC;){const A=RS[S];let C=A.isMultiMatch(v);C&&(d.push(new A(C,r)),b=!0)}if(!b)for(S=-1;++S<IC;){const A=RS[S];let C=A.isSingleMatch(v);if(C){d.push(new A(C,r));break}}}return d})}const b8=new Set([$C.type,QC.type]);class x8{constructor(r,{isCaseSensitive:l=st.isCaseSensitive,ignoreDiacritics:c=st.ignoreDiacritics,includeMatches:d=st.includeMatches,minMatchCharLength:p=st.minMatchCharLength,ignoreLocation:g=st.ignoreLocation,findAllMatches:v=st.findAllMatches,location:b=st.location,threshold:S=st.threshold,distance:A=st.distance}={}){this.query=null,this.options={isCaseSensitive:l,ignoreDiacritics:c,includeMatches:d,minMatchCharLength:p,findAllMatches:v,ignoreLocation:g,location:b,threshold:S,distance:A},r=l?r:r.toLowerCase(),r=c?vb(r):r,this.pattern=r,this.query=y8(this.pattern,this.options)}static condition(r,l){return l.useExtendedSearch}searchIn(r){const l=this.query;if(!l)return{isMatch:!1,score:1};const{includeMatches:c,isCaseSensitive:d,ignoreDiacritics:p}=this.options;r=d?r:r.toLowerCase(),r=p?vb(r):r;let g=0,v=[],b=0;for(let S=0,A=l.length;S<A;S+=1){const C=l[S];v.length=0,g=0;for(let k=0,M=C.length;k<M;k+=1){const L=C[k],{isMatch:B,indices:H,score:Q}=L.search(r);if(B){if(g+=1,b+=Q,c){const K=L.constructor.type;b8.has(K)?v=[...v,...H]:v.push(H)}}else{b=0,g=0,v.length=0;break}}if(g){let k={isMatch:!0,score:b/g};return c&&(k.indices=v),k}}return{isMatch:!1,score:1}}}const MS=[];function w8(...a){MS.push(...a)}function DS(a,r){for(let l=0,c=MS.length;l<c;l+=1){let d=MS[l];if(d.condition(a,r))return new d(a,r)}return new GC(a,r)}const yb={AND:"$and",OR:"$or"},_S={PATH:"$path",PATTERN:"$val"},zS=a=>!!(a[yb.AND]||a[yb.OR]),S8=a=>!!a[_S.PATH],E8=a=>!ds(a)&&UC(a)&&!zS(a),ZC=a=>({[yb.AND]:Object.keys(a).map(r=>({[r]:a[r]}))});function FC(a,r,{auto:l=!0}={}){const c=d=>{let p=Object.keys(d);const g=S8(d);if(!g&&p.length>1&&!zS(d))return c(ZC(d));if(E8(d)){const b=g?d[_S.PATH]:p[0],S=g?d[_S.PATTERN]:d[b];if(!ml(S))throw new Error(Jj(b));const A={keyId:CS(b),pattern:S};return l&&(A.searcher=DS(S,r)),A}let v={children:[],operator:p[0]};return p.forEach(b=>{const S=d[b];ds(S)&&S.forEach(A=>{v.children.push(c(A))})}),v};return zS(a)||(a=ZC(a)),c(a)}function T8(a,{ignoreFieldNorm:r=st.ignoreFieldNorm}){a.forEach(l=>{let c=1;l.matches.forEach(({key:d,norm:p,score:g})=>{const v=d?d.weight:null;c*=Math.pow(g===0&&v?Number.EPSILON:g,(v||1)*(r?1:p))}),l.score=c})}function A8(a,r){const l=a.matches;r.matches=[],io(l)&&l.forEach(c=>{if(!io(c.indices)||!c.indices.length)return;const{indices:d,value:p}=c;let g={indices:d,value:p};c.key&&(g.key=c.key.src),c.idx>-1&&(g.refIndex=c.idx),r.matches.push(g)})}function C8(a,r){r.score=a.score}function k8(a,r,{includeMatches:l=st.includeMatches,includeScore:c=st.includeScore}={}){const d=[];return l&&d.push(A8),c&&d.push(C8),a.map(p=>{const{idx:g}=p,v={item:r[g],refIndex:g};return d.length&&d.forEach(b=>{b(p,v)}),v})}class Nh{constructor(r,l={},c){this.options={...st,...l},this.options.useExtendedSearch,this._keyStore=new n8(this.options.keys),this.setCollection(r,c)}setCollection(r,l){if(this._docs=r,l&&!(l instanceof kS))throw new Error(Kj);this._myIndex=l||YC(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(r){io(r)&&(this._docs.push(r),this._myIndex.add(r))}remove(r=()=>!1){const l=[];for(let c=0,d=this._docs.length;c<d;c+=1){const p=this._docs[c];r(p,c)&&(this.removeAt(c),c-=1,d-=1,l.push(p))}return l}removeAt(r){this._docs.splice(r,1),this._myIndex.removeAt(r)}getIndex(){return this._myIndex}search(r,{limit:l=-1}={}){const{includeMatches:c,includeScore:d,shouldSort:p,sortFn:g,ignoreFieldNorm:v}=this.options;let b=ml(r)?ml(this._docs[0])?this._searchStringList(r):this._searchObjectList(r):this._searchLogical(r);return T8(b,{ignoreFieldNorm:v}),p&&b.sort(g),LC(l)&&l>-1&&(b=b.slice(0,l)),k8(b,this._docs,{includeMatches:c,includeScore:d})}_searchStringList(r){const l=DS(r,this.options),{records:c}=this._myIndex,d=[];return c.forEach(({v:p,i:g,n:v})=>{if(!io(p))return;const{isMatch:b,score:S,indices:A}=l.searchIn(p);b&&d.push({item:p,idx:g,matches:[{score:S,value:p,norm:v,indices:A}]})}),d}_searchLogical(r){const l=FC(r,this.options),c=(v,b,S)=>{if(!v.children){const{keyId:C,searcher:k}=v,M=this._findMatches({key:this._keyStore.get(C),value:this._myIndex.getValueForItemAtKeyId(b,C),searcher:k});return M&&M.length?[{idx:S,item:b,matches:M}]:[]}const A=[];for(let C=0,k=v.children.length;C<k;C+=1){const M=v.children[C],L=c(M,b,S);if(L.length)A.push(...L);else if(v.operator===yb.AND)return[]}return A},d=this._myIndex.records,p={},g=[];return d.forEach(({$:v,i:b})=>{if(io(v)){let S=c(l,v,b);S.length&&(p[b]||(p[b]={idx:b,item:v,matches:[]},g.push(p[b])),S.forEach(({matches:A})=>{p[b].matches.push(...A)}))}}),g}_searchObjectList(r){const l=DS(r,this.options),{keys:c,records:d}=this._myIndex,p=[];return d.forEach(({$:g,i:v})=>{if(!io(g))return;let b=[];c.forEach((S,A)=>{b.push(...this._findMatches({key:S,value:g[A],searcher:l}))}),b.length&&p.push({idx:v,item:g,matches:b})}),p}_findMatches({key:r,value:l,searcher:c}){if(!io(l))return[];let d=[];if(ds(l))l.forEach(({v:p,i:g,n:v})=>{if(!io(p))return;const{isMatch:b,score:S,indices:A}=c.searchIn(p);b&&d.push({score:S,key:r,value:p,idx:g,norm:v,indices:A})});else{const{v:p,n:g}=l,{isMatch:v,score:b,indices:S}=c.searchIn(p);v&&d.push({score:b,key:r,value:p,norm:g,indices:S})}return d}}Nh.version="7.1.0",Nh.createIndex=YC,Nh.parseIndex=r8,Nh.config=st,Nh.parseQuery=FC,w8(x8);const R8={keys:[{name:"searchFields.label",weight:2},{name:"searchFields.keywords",weight:1.5},{name:"searchFields.subtitle",weight:1},{name:"searchFields.extra",weight:.5}],threshold:.4,includeScore:!0,ignoreLocation:!0,minMatchCharLength:2},M8=["rules","files","commands"];function D8(a,r){const l=U.useMemo(()=>new Nh(a,R8),[a]);return U.useMemo(()=>{const c=r.trim();let d;c?d=l.search(c).map(v=>v.item):d=a;const p=new Map;for(const v of M8)p.set(v,[]);for(const v of d){const b=v.section;p.has(b)||p.set(b,[]),p.get(b).push(v)}for(const[v,b]of p)b.length===0&&p.delete(v);const g=[];for(const[,v]of p)g.push(...v);return{results:d,grouped:p,flatItems:g}},[l,a,r])}function _8({flatItems:a,selectedIndex:r,onSelect:l,onConfirm:c,onEscape:d,onTabToggle:p}){return U.useEffect(()=>{a.length>0&&r>=a.length&&l(0,a[0]?.id??null)},[a,r,l]),{handleKeyDown:U.useCallback(v=>{const b=a.length;if(!(b===0&&v.key!=="Escape"))switch(v.key){case"ArrowDown":{v.preventDefault();const S=Math.min(r+1,b-1);l(S,a[S]?.id??null);break}case"ArrowUp":{v.preventDefault();const S=Math.max(r-1,0);l(S,a[S]?.id??null);break}case"Enter":{v.preventDefault();const S=a[r];S&&c(S);break}case"Escape":{v.preventDefault(),d?.();break}case"Tab":{v.preventDefault(),p?.();break}case"Home":{v.preventDefault(),b>0&&l(0,a[0]?.id??null);break}case"End":{if(v.preventDefault(),b>0){const S=b-1;l(S,a[S]?.id??null)}break}}},[a,r,l,c,d,p])}}const PC=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,KC=yC,gl=(a,r)=>l=>{var c;if(r?.variants==null)return KC(a,l?.class,l?.className);const{variants:d,defaultVariants:p}=r,g=Object.keys(d).map(S=>{const A=l?.[S],C=p?.[S];if(A===null)return null;const k=PC(A)||PC(C);return d[S][k]}),v=l&&Object.entries(l).reduce((S,A)=>{let[C,k]=A;return k===void 0||(S[C]=k),S},{}),b=r==null||(c=r.compoundVariants)===null||c===void 0?void 0:c.reduce((S,A)=>{let{class:C,className:k,...M}=A;return Object.entries(M).every(L=>{let[B,H]=L;return Array.isArray(H)?H.includes({...p,...v}[B]):{...p,...v}[B]===H})?[...S,C,k]:S},[]);return KC(a,g,b,l?.class,l?.className)};function z8({size:a=24,className:r}){return E.jsxs("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[E.jsx("rect",{x:"3",y:"3",width:"12",height:"12",rx:"2",opacity:"0.4"}),E.jsx("rect",{x:"9",y:"9",width:"12",height:"12",rx:"2"}),E.jsx("circle",{cx:"18",cy:"6",r:"2.5",fill:"currentColor",stroke:"none"})]})}const JC=gl(["inline-flex items-center justify-center","font-medium","font-[-apple-system,BlinkMacSystemFont,'SF_Pro_Text','Segoe_UI',sans-serif]","rounded","select-none","whitespace-nowrap"].join(" "),{variants:{variant:{default:["bg-[var(--uilint-kbd-background,linear-gradient(180deg,#ffffff_0%,#f3f4f6_100%))]","text-[var(--uilint-kbd-text,#6b7280)]","border border-[var(--uilint-kbd-border,rgba(0,0,0,0.1))]","shadow-[var(--uilint-kbd-shadow,0_1px_0_rgba(0,0,0,0.08))]"].join(" "),subtle:["bg-[var(--uilint-kbd-background-subtle,rgba(0,0,0,0.04))]","text-[var(--uilint-kbd-text-subtle,#9ca3af)]","border border-[var(--uilint-kbd-border-subtle,transparent)]"].join(" ")},size:{sm:"min-w-4 h-4 px-1 text-[9px]",default:"min-w-[18px] h-[18px] px-1 text-[10px]",lg:"min-w-6 h-6 px-1.5 text-xs"}},defaultVariants:{variant:"default",size:"default"}}),O8={hidden:{opacity:0,scale:.95},visible:{opacity:1,scale:1}},WC=U.forwardRef(({className:a,variant:r,size:l,children:c,animate:d=!0,animationDuration:p=.1,style:g,...v},b)=>{const S={background:r==="subtle"?"var(--uilint-kbd-background-subtle, rgba(0, 0, 0, 0.04))":"var(--uilint-kbd-background, linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%))",color:r==="subtle"?"var(--uilint-kbd-text-subtle, #9ca3af)":"var(--uilint-kbd-text, #6b7280)",borderColor:r==="subtle"?"var(--uilint-kbd-border-subtle, transparent)":"var(--uilint-kbd-border, rgba(0, 0, 0, 0.1))",boxShadow:r==="subtle"?"none":"var(--uilint-kbd-shadow, 0 1px 0 rgba(0, 0, 0, 0.08))",...g};return d?E.jsx(Ne.kbd,{ref:b,className:be(JC({variant:r,size:l}),a),style:S,initial:"hidden",animate:"visible",variants:O8,transition:{duration:p,ease:"easeOut"},...v,children:c}):E.jsx(Ne.kbd,{ref:b,className:be(JC({variant:r,size:l}),a),style:S,...v,children:c})});WC.displayName="Kbd";const ek=gl("inline-flex items-center justify-center font-semibold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",{variants:{variant:{default:"bg-surface-elevated text-text-secondary border border-border",error:"bg-error-bg text-error border-0",warning:"bg-warning-bg text-warning border-0",success:"bg-success-bg text-success border-0",info:"bg-info-bg text-info border-0",outline:"bg-transparent text-text-secondary border border-border"},size:{sm:"px-1.5 py-0.5 text-[10px] leading-tight min-h-4",default:"px-2 py-0.5 text-xs leading-tight min-h-5",lg:"px-3 py-1 text-sm leading-tight min-h-6"}},defaultVariants:{variant:"default",size:"default"}}),tk=[.32,.72,0,1],nk={initial:{opacity:0,scale:.85},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.85}};function vl({className:a,variant:r,size:l,children:c,disableAnimation:d=!1,style:p,...g}){const v={borderRadius:"var(--uilint-badge-radius, 6px)",...p};return d?E.jsx("span",{className:be(ek({variant:r,size:l}),a),style:v,children:c}):E.jsx(Ne.span,{className:be(ek({variant:r,size:l}),a),style:v,variants:nk,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15,ease:tk},...g,children:c})}function j8({children:a,isSelected:r=!1,className:l,disableAnimation:c=!1}){const d={fontSize:9,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.03em",background:r?"var(--uilint-info-bg)":"var(--uilint-surface-elevated)",color:r?"var(--uilint-info)":"var(--uilint-text-muted)",padding:"3px 8px",borderRadius:"var(--uilint-badge-radius, 6px)",transition:"all 0.1s ease"};return c?E.jsx("span",{className:l,style:d,children:a}):E.jsx(Ne.span,{className:l,style:d,variants:nk,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:tk},children:a})}function N8({count:a,isError:r=!1,zeroIsSuccess:l=!0,size:c="default",className:d,disableAnimation:p=!1}){let g="warning";return r?g="error":a===0&&l&&(g="success"),E.jsx(vl,{variant:g,size:c,className:be("font-mono tabular-nums",d),disableAnimation:p,children:a})}function ak(a,r){if(typeof a=="function")return a(r);a!=null&&(a.current=r)}function L8(...a){return r=>{let l=!1;const c=a.map(d=>{const p=ak(d,r);return!l&&typeof p=="function"&&(l=!0),p});if(l)return()=>{for(let d=0;d<c.length;d++){const p=c[d];typeof p=="function"?p():ak(a[d],null)}}}}var U8=Symbol.for("react.lazy"),bb=H3[" use ".trim().toString()];function B8(a){return typeof a=="object"&&a!==null&&"then"in a}function ik(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===U8&&"_payload"in a&&B8(a._payload)}function H8(a){const r=V8(a),l=U.forwardRef((c,d)=>{let{children:p,...g}=c;ik(p)&&typeof bb=="function"&&(p=bb(p._payload));const v=U.Children.toArray(p),b=v.find(Y8);if(b){const S=b.props.children,A=v.map(C=>C===b?U.Children.count(S)>1?U.Children.only(null):U.isValidElement(S)?S.props.children:null:C);return E.jsx(r,{...g,ref:d,children:U.isValidElement(S)?U.cloneElement(S,void 0,A):null})}return E.jsx(r,{...g,ref:d,children:p})});return l.displayName=`${a}.Slot`,l}var ok=H8("Slot");function V8(a){const r=U.forwardRef((l,c)=>{let{children:d,...p}=l;if(ik(d)&&typeof bb=="function"&&(d=bb(d._payload)),U.isValidElement(d)){const g=X8(d),v=G8(p,d.props);return d.type!==U.Fragment&&(v.ref=c?L8(c,g):g),U.cloneElement(d,v)}return U.Children.count(d)>1?U.Children.only(null):null});return r.displayName=`${a}.SlotClone`,r}var q8=Symbol("radix.slottable");function Y8(a){return U.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===q8}function G8(a,r){const l={...r};for(const c in r){const d=a[c],p=r[c];/^on[A-Z]/.test(c)?d&&p?l[c]=(...v)=>{const b=p(...v);return d(...v),b}:d&&(l[c]=d):c==="style"?l[c]={...d,...p}:c==="className"&&(l[c]=[d,p].filter(Boolean).join(" "))}return{...a,...l}}function X8(a){let r=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning;return l?a.ref:(r=Object.getOwnPropertyDescriptor(a,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning,l?a.props.ref:a.props.ref||a.ref)}const $8=gl(["inline-flex items-center justify-center gap-2 whitespace-nowrap","text-sm font-medium","transition-colors duration-150","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"],{variants:{variant:{default:["bg-[var(--uilint-button-default-bg)]","text-[var(--uilint-button-default-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","focus-visible:ring-[var(--uilint-button-default-bg)]"],destructive:["bg-[var(--uilint-button-destructive-bg)]","text-[var(--uilint-button-destructive-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-[var(--uilint-button-destructive-bg)]/90","focus-visible:ring-[var(--uilint-button-destructive-bg)]"],outline:["bg-[var(--uilint-button-outline-bg)]","text-[var(--uilint-button-outline-text)]","border border-current/20","hover:bg-[var(--uilint-button-outline-text)]/10","focus-visible:ring-[var(--uilint-button-outline-text)]"],secondary:["bg-[var(--uilint-button-secondary-bg)]","text-[var(--uilint-button-secondary-text)]","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-[var(--uilint-button-secondary-bg)]/80","focus-visible:ring-[var(--uilint-button-secondary-bg)]"],ghost:["bg-[var(--uilint-button-ghost-bg)]","text-[var(--uilint-button-ghost-text)]","hover:bg-[var(--uilint-button-ghost-text)]/10","focus-visible:ring-[var(--uilint-button-ghost-text)]"],glass:["bg-[var(--uilint-button-glass-bg)]","text-[var(--uilint-button-glass-text)]","backdrop-blur-md","border border-white/20","shadow-[var(--uilint-button-shadow)]","hover:shadow-[var(--uilint-button-shadow-hover)]","hover:bg-white/30","focus-visible:ring-white/50"]},size:{default:"h-10 px-4 py-2 rounded-[var(--uilint-button-radius)]",sm:"h-8 px-3 text-xs rounded-[var(--uilint-button-radius)]",lg:"h-12 px-8 text-base rounded-[var(--uilint-button-radius)]",icon:"h-10 w-10 rounded-[var(--uilint-button-radius)]"}},defaultVariants:{variant:"default",size:"default"}}),Q8={initial:{scale:1},hover:{scale:1.02},tap:{scale:.98}},I8={duration:.15,ease:[.32,.72,0,1]},rk=U.forwardRef(({className:a,variant:r,size:l,asChild:c=!1,...d},p)=>{const g=be($8({variant:r,size:l,className:a}));return c?E.jsx(ok,{ref:p,className:g,...d}):E.jsx(Ne.button,{ref:p,className:g,variants:Q8,initial:"initial",whileHover:d.disabled?void 0:"hover",whileTap:d.disabled?void 0:"tap",transition:I8,disabled:d.disabled,type:d.type,onClick:d.onClick,"aria-label":d["aria-label"],"aria-disabled":d["aria-disabled"],title:d.title,name:d.name,value:d.value,form:d.form,tabIndex:d.tabIndex,style:d.style,children:d.children})});rk.displayName="Button";const Z8=gl(["inline-flex items-center justify-center","border-none outline-none","cursor-pointer","transition-colors","disabled:pointer-events-none disabled:opacity-40","[&_svg]:pointer-events-none [&_svg]:shrink-0"],{variants:{variant:{default:["bg-[var(--uilint-hover)]","text-[var(--uilint-text-secondary)]","hover:bg-[var(--uilint-active)]","hover:text-[var(--uilint-text-primary)]"],ghost:["bg-transparent","text-[var(--uilint-text-muted)]","hover:bg-[var(--uilint-hover)]","hover:text-[var(--uilint-text-secondary)]"],glass:["bg-[var(--uilint-glass)]","text-[var(--uilint-text-secondary)]","border border-[var(--uilint-glass-border)]","backdrop-blur-md","hover:bg-[var(--uilint-glass-medium)]","hover:text-[var(--uilint-text-primary)]"]},size:{sm:["w-[var(--uilint-icon-button-size-sm)]","h-[var(--uilint-icon-button-size-sm)]","rounded-[calc(var(--uilint-icon-button-radius)-2px)]","[&_svg]:w-4 [&_svg]:h-4"],default:["w-[var(--uilint-icon-button-size)]","h-[var(--uilint-icon-button-size)]","rounded-[var(--uilint-icon-button-radius)]","[&_svg]:w-[18px] [&_svg]:h-[18px]"],lg:["w-[var(--uilint-icon-button-size-lg)]","h-[var(--uilint-icon-button-size-lg)]","rounded-[calc(var(--uilint-icon-button-radius)+2px)]","[&_svg]:w-5 [&_svg]:h-5"]}},defaultVariants:{variant:"default",size:"default"}}),F8={initial:{scale:1,boxShadow:"0 0 0 0 rgba(0, 0, 0, 0)"},hover:{scale:1.05,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.08)",transition:{type:"tween",duration:.15,ease:[.25,.1,.25,1]}},tap:{scale:.95,transition:{type:"tween",duration:.1,ease:[.25,.1,.25,1]}}},P8={initial:{scale:1,boxShadow:"0 0 0 0 rgba(255, 255, 255, 0)"},hover:{scale:1.05,boxShadow:"0 4px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1)",transition:{type:"tween",duration:.15,ease:[.25,.1,.25,1]}},tap:{scale:.95,transition:{type:"tween",duration:.1,ease:[.25,.1,.25,1]}}},Og=U.forwardRef(({className:a,variant:r,size:l,asChild:c=!1,disableMotion:d=!1,disabled:p,...g},v)=>{const b=be(Z8({variant:r,size:l,className:a}));if(c)return E.jsx(ok,{ref:v,className:b,...g});if(d||p)return E.jsx("button",{ref:v,className:b,disabled:p,...g});const S=r==="glass"?P8:F8;return E.jsx(Ne.button,{ref:v,className:b,disabled:p,variants:S,initial:"initial",whileHover:"hover",whileTap:"tap",...g})});Og.displayName="IconButton";const K8=gl(["flex w-full transition-colors","file:border-0 file:bg-transparent file:text-sm file:font-medium","disabled:cursor-not-allowed disabled:opacity-50","placeholder:text-[var(--uilint-input-placeholder)]","outline-none"],{variants:{variant:{default:["bg-[var(--uilint-input-bg)]","border border-[var(--uilint-input-border)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-input-border-focus)]"],glass:["bg-[var(--uilint-glass-medium)]","backdrop-blur-[var(--uilint-glass-blur-medium)]","border border-[var(--uilint-glass-border)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-input-border-focus)]"],error:["bg-[var(--uilint-input-bg)]","border border-[var(--uilint-error)]","text-[var(--uilint-text-primary)]","focus:border-[var(--uilint-error)]"]},size:{sm:"h-8 px-2.5 text-xs rounded-[calc(var(--uilint-input-radius)-2px)]",default:"h-10 px-3 text-sm rounded-[var(--uilint-input-radius)]",lg:"h-12 px-4 text-base rounded-[calc(var(--uilint-input-radius)+2px)]"}},defaultVariants:{variant:"default",size:"default"}}),J8=U.forwardRef(({className:a,containerClassName:r,variant:l,size:c,type:d="text",icon:p,onFocus:g,onBlur:v,...b},S)=>{const[A,C]=U.useState(!1),k=U.useCallback(H=>{C(!0),g?.(H)},[g]),M=U.useCallback(H=>{C(!1),v?.(H)},[v]),L=l==="error"?"var(--uilint-error)":"var(--uilint-input-ring)",B=E.jsx("input",{type:d,className:be(K8({variant:l,size:c}),p&&"pl-9",a),ref:S,onFocus:k,onBlur:M,...b});return p?E.jsxs("div",{className:be("relative",r),children:[E.jsx(Ne.div,{animate:{color:A?"var(--uilint-accent)":"var(--uilint-text-muted)"},transition:{duration:.15},className:be("pointer-events-none absolute left-3 flex items-center justify-center",c==="sm"&&"top-2",c==="default"&&"top-2.5",c==="lg"&&"top-3"),children:p}),B,E.jsx(ga,{children:A&&E.jsx(Ne.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:"easeOut"},className:be("pointer-events-none absolute inset-0",c==="sm"&&"rounded-[calc(var(--uilint-input-radius)-2px)]",c==="default"&&"rounded-[var(--uilint-input-radius)]",c==="lg"&&"rounded-[calc(var(--uilint-input-radius)+2px)]"),style:{boxShadow:`0 0 0 3px ${L}`}})})]}):E.jsxs("div",{className:be("relative",r),children:[B,E.jsx(ga,{children:A&&E.jsx(Ne.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:"easeOut"},className:"pointer-events-none absolute inset-0 rounded-[var(--uilint-input-radius)]",style:{boxShadow:`0 0 0 3px ${L}`}})})]})});J8.displayName="Input";const lk=gl(["relative","flex","flex-col","overflow-hidden","transition-all"].join(" "),{variants:{variant:{default:["[background:var(--uilint-card-bg)]","[border:1px_solid_var(--uilint-card-border)]","[border-radius:var(--uilint-card-radius)]","[box-shadow:var(--uilint-card-shadow)]"].join(" "),elevated:["[background:var(--uilint-card-elevated-bg)]","[border:1px_solid_var(--uilint-card-border)]","[border-radius:var(--uilint-card-radius)]","[box-shadow:var(--uilint-card-elevated-shadow)]"].join(" "),glass:["[background:var(--uilint-card-glass-bg)]","[border:1px_solid_var(--uilint-card-glass-border)]","[border-radius:var(--uilint-card-radius)]","[backdrop-filter:blur(var(--uilint-glass-blur-medium))]","[box-shadow:var(--uilint-card-shadow)]","before:absolute","before:inset-x-0","before:top-0","before:h-px","before:[background:var(--uilint-glass-highlight)]"].join(" ")}},defaultVariants:{variant:"default"}}),OS={initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:4}},W8={rest:{y:0,boxShadow:"var(--uilint-card-shadow)"},hover:{y:-2,boxShadow:"var(--uilint-card-shadow-hover)"}},eN={duration:.15,ease:[.32,.72,0,1]},jS=U.forwardRef(({className:a,variant:r,interactive:l=!1,animated:c=!1,children:d,...p},g)=>l||c?E.jsx(Ne.div,{ref:g,className:be(lk({variant:r}),l&&"cursor-pointer",a),variants:l?W8:void 0,initial:c?OS.initial:"rest",animate:c?OS.animate:"rest",exit:c?OS.exit:void 0,whileHover:l?"hover":void 0,transition:eN,...p,children:d}):E.jsx("div",{ref:g,className:be(lk({variant:r}),a),...p,children:d}));jS.displayName="Card";const sk=U.forwardRef(({className:a,...r},l)=>E.jsx("div",{ref:l,className:be("flex flex-col gap-1.5 p-4",a),...r}));sk.displayName="CardHeader";const uk=U.forwardRef(({className:a,...r},l)=>E.jsx("h3",{ref:l,className:be("text-base font-semibold leading-tight tracking-tight","[color:var(--uilint-text-primary)]",a),...r}));uk.displayName="CardTitle";const ck=U.forwardRef(({className:a,...r},l)=>E.jsx("p",{ref:l,className:be("text-sm leading-relaxed","[color:var(--uilint-text-secondary)]",a),...r}));ck.displayName="CardDescription";const tN=U.forwardRef(({className:a,...r},l)=>E.jsx("div",{ref:l,className:be("p-4 pt-0",a),...r}));tN.displayName="CardContent";const nN=U.forwardRef(({className:a,...r},l)=>E.jsx("div",{ref:l,className:be("flex items-center gap-2 p-4 pt-0","[border-top:1px_solid_var(--uilint-card-border)]","mt-auto",a),...r}));nN.displayName="CardFooter";const aN=gl(["relative","overflow-hidden","rounded-[var(--uilint-radius,12px)]"].join(" "),{variants:{blur:{light:"",medium:"",heavy:""},shadow:{none:"",sm:"",md:"",lg:""},bordered:{true:"",false:""}},defaultVariants:{blur:"medium",shadow:"md",bordered:!0}}),dk={hidden:{opacity:0,scale:.96,y:-10},visible:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.98,y:-5}},iN={duration:.2,ease:[.25,.1,.25,1]};function ju(a,r,l,c){const d={light:"var(--uilint-glass-blur-light, 12px)",medium:"var(--uilint-glass-blur-medium, 24px)",heavy:"var(--uilint-glass-blur-heavy, 40px)"},p={light:"var(--uilint-glass-light, rgba(255, 255, 255, 0.4))",medium:"var(--uilint-glass-medium, rgba(255, 255, 255, 0.55))",heavy:"var(--uilint-glass-heavy, rgba(255, 255, 255, 0.7))"},g={none:"none",sm:"var(--uilint-card-shadow, 0 2px 8px rgba(0, 0, 0, 0.03))",md:"var(--uilint-shadow, 0 8px 32px rgba(0, 0, 0, 0.06))",lg:"var(--uilint-shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.08))"},v=a??"medium",b=r??"md",S=d[v],A=g[b],C=p[v],k=[];return k.push("inset 0 1px 0 0 var(--uilint-glass-highlight, rgba(255, 255, 255, 0.25))"),A!=="none"&&k.push(A),{background:C,backdropFilter:`blur(${S}) saturate(150%)`,WebkitBackdropFilter:`blur(${S}) saturate(150%)`,boxShadow:k.join(", "),border:l!==!1?"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.15))":"none",...c}}const fk=U.forwardRef(({className:a,blur:r,shadow:l,bordered:c,children:d,animate:p=!0,transition:g=iN,show:v=!0,usePresence:b=!1,style:S,...A},C)=>{const k=ju(r,l,c,S),M=aN({blur:r,shadow:l,bordered:c});return b?E.jsx(ga,{children:v&&E.jsx(Ne.div,{ref:C,className:be(M,a),style:k,initial:"hidden",animate:"visible",exit:"exit",variants:dk,transition:g,...A,children:d})}):p?E.jsx(Ne.div,{ref:C,className:be(M,a),style:k,initial:"hidden",animate:"visible",variants:dk,transition:g,...A,children:d}):E.jsx(Ne.div,{ref:C,className:be(M,a),style:k,...A,children:d})});fk.displayName="GlassPanel";function hk({open:a,onClose:r,trigger:l,children:c,placement:d="bottom",align:p="start",className:g,width:v="auto"}){const b=U.useRef(null),S=U.useRef(null),[A,C]=U.useState({top:0,left:0}),[k,M]=U.useState(void 0),L=U.useCallback(()=>{if(!b.current||!a)return;const H=b.current.getBoundingClientRect(),K=S.current?.getBoundingClientRect();let q=0,ae=0;M(v==="trigger"?H.width:typeof v=="number"?v:void 0);const he=K?.width||k||200,Ae=K?.height||200,J=8;switch(d){case"top":q=H.top-Ae-J;break;case"bottom":q=H.bottom+J;break;case"left":ae=H.left-he-J,q=H.top;break;case"right":ae=H.right+J,q=H.top;break}if(d==="top"||d==="bottom")switch(p){case"start":ae=H.left;break;case"center":ae=H.left+(H.width-he)/2;break;case"end":ae=H.right-he;break}if(d==="left"||d==="right")switch(p){case"start":q=H.top;break;case"center":q=H.top+(H.height-Ae)/2;break;case"end":q=H.bottom-Ae;break}const $=16,ge=window.innerWidth,we=window.innerHeight;ae<$?ae=$:ae+he>ge-$&&(ae=ge-he-$),q<$?q=$:q+Ae>we-$&&(q=we-Ae-$),C({top:q,left:ae})},[a,d,p,v,k]);U.useEffect(()=>{if(!a)return;L();const H=requestAnimationFrame(L);return window.addEventListener("resize",L),window.addEventListener("scroll",L,!0),()=>{cancelAnimationFrame(H),window.removeEventListener("resize",L),window.removeEventListener("scroll",L,!0)}},[a,L]),U.useEffect(()=>{if(!a)return;const H=K=>{const q=K.target;S.current&&!S.current.contains(q)&&b.current&&!b.current.contains(q)&&r()},Q=setTimeout(()=>{document.addEventListener("mousedown",H)},0);return()=>{clearTimeout(Q),document.removeEventListener("mousedown",H)}},[a,r]),U.useEffect(()=>{if(!a)return;const H=Q=>{Q.key==="Escape"&&r()};return document.addEventListener("keydown",H),()=>document.removeEventListener("keydown",H)},[a,r]);const B=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;return E.jsxs(E.Fragment,{children:[E.jsx("div",{ref:b,className:"inline-flex",children:l}),B&&yd.createPortal(E.jsx(ga,{children:a&&E.jsx(Ne.div,{ref:S,initial:{opacity:0,scale:.95,y:-4},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-4},transition:{duration:.15,ease:[.32,.72,0,1]},className:be("fixed z-[99998]","rounded-xl","border border-foreground/[0.08]","bg-surface/95 backdrop-blur-xl","shadow-xl shadow-black/10","overflow-hidden",g),style:{top:A.top,left:A.left,width:k,pointerEvents:"auto"},children:c})}),B)]})}const oN=gl("flex items-center gap-4 border-b transition-all duration-150",{variants:{size:{default:"px-5 py-4",large:"px-6 py-5"},state:{default:"bg-transparent border-foreground/[0.06]",focused:"bg-foreground/[0.02] border-foreground/[0.08]"}},defaultVariants:{size:"large",state:"default"}}),rN=gl("flex-1 bg-transparent border-none outline-none font-normal tracking-tight",{variants:{size:{default:"text-base h-8",large:"text-lg h-10"}},defaultVariants:{size:"large"}}),lN={default:{scale:1,opacity:.35},focused:{scale:1,opacity:.5}},sN={initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}},uN={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},NS=[.32,.72,0,1];function cN({value:a,onChange:r,onKeyDown:l,placeholder:c="Search commands, issues, rules...",autoFocus:d=!0,size:p,className:g}){const v=U.useRef(null),[b,S]=U.useState(!1),A=Ce(k=>k.mobile.isMobile);U.useEffect(()=>{if(!d)return;const k=setTimeout(()=>{v.current?.focus()},50);return()=>clearTimeout(k)},[d]);const C=b?"focused":"default";return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1},className:be(oN({size:p,state:C}),g),style:{boxShadow:"none"},children:[E.jsx(Ne.div,{variants:lN,animate:C,transition:{duration:.15,ease:NS},className:"flex items-center justify-center shrink-0",style:{color:"var(--uilint-text-muted)"},children:E.jsx(bS,{size:p==="large"?22:18})}),E.jsx("div",{className:"flex-1 flex items-center min-w-0",children:E.jsx("input",{ref:v,type:"text",value:a,onChange:k=>r(k.target.value),onKeyDown:l,onFocus:()=>S(!0),onBlur:()=>S(!1),placeholder:c,className:be(rN({size:p}),"min-w-[120px] w-full"),style:{color:"var(--uilint-text-primary)",caretColor:"var(--uilint-accent)"}})}),E.jsx(ga,{mode:"wait",children:a?E.jsx(Ne.div,{variants:sN,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:NS},children:E.jsx(Og,{variant:"ghost",size:"sm",onClick:()=>r(""),disableMotion:!0,style:{color:"var(--uilint-text-muted)",opacity:.6},children:E.jsx(fb,{size:14})})},"clear"):A?null:E.jsxs(Ne.div,{variants:uN,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.1,ease:NS},className:"flex items-center gap-2 shrink-0",children:[E.jsx(WC,{animate:!1,children:"esc"}),E.jsx("span",{className:"text-[11px]",style:{color:"var(--uilint-text-disabled)"},children:"to close"})]},"hint")})]})}const pk=[.32,.72,0,1],dN={rules:"Rules",files:"Files",commands:"Commands"},fN={rules:E.jsx(ej,{size:11,className:"text-muted-foreground/40"}),files:E.jsx(db,{size:11,className:"text-muted-foreground/40"})};function hN({counts:a}){return E.jsxs("div",{className:"flex items-center gap-1.5 flex-shrink-0",children:[a.error>0&&E.jsxs("span",{className:"flex items-center gap-0.5 text-[10px] text-error font-medium tabular-nums",children:[E.jsx(Dg,{size:10}),a.error]}),a.warning>0&&E.jsxs("span",{className:"flex items-center gap-0.5 text-[10px] text-warning font-medium tabular-nums",children:[E.jsx(_u,{size:10}),a.warning]}),a.info>0&&E.jsxs("span",{className:"flex items-center gap-0.5 text-[10px] text-info font-medium tabular-nums",children:[E.jsx(us,{size:10}),a.info]})]})}function pN({item:a,isSelected:r,onSelect:l,onConfirm:c,animIndex:d}){const p=U.useRef(null);return U.useEffect(()=>{r&&p.current&&p.current.scrollIntoView({block:"nearest",behavior:"smooth"})},[r]),E.jsxs(Ne.button,{ref:p,initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.1,ease:pk,delay:Math.min(d*.02,.15)},onClick:c,onMouseDown:g=>g.preventDefault(),onMouseEnter:l,tabIndex:-1,className:be("w-full text-left relative","flex items-center gap-2.5 px-3 py-2","transition-colors duration-75","hover:bg-foreground/[0.04]","outline-none"),children:[r&&E.jsx(Ne.div,{layoutId:"result-list-highlight",className:"absolute inset-0 bg-foreground/[0.06]",transition:{duration:.15,ease:pk}}),E.jsxs("div",{className:"relative flex items-center gap-2.5 w-full min-w-0",children:[E.jsxs("div",{className:"flex-1 min-w-0",children:[E.jsx("div",{className:"text-[13px] text-foreground/85 truncate leading-tight",children:a.label}),a.subtitle&&E.jsx("div",{className:"text-[10px] text-muted-foreground/50 truncate leading-tight mt-0.5",children:a.subtitle})]}),a.severityCounts&&E.jsx(hN,{counts:a.severityCounts})]})]})}function mN({section:a,count:r}){return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.08},className:"flex items-center gap-1.5 px-3 pt-3 pb-1.5",children:[fN[a],E.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground/40",children:dN[a]||a}),E.jsx("span",{className:"text-[10px] text-muted-foreground/30 tabular-nums",children:r})]})}function mk({grouped:a,flatItems:r,selectedItemId:l,onItemSelect:c,onItemConfirm:d}){const p=nn.useMemo(()=>{const b=new Map;return r.forEach((S,A)=>b.set(S.id,A)),b},[r]),g=U.useCallback(b=>{const S=p.get(b.id)??0;c(b,S)},[p,c]);if(r.length===0)return E.jsx(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.15},className:"flex flex-col items-center justify-center py-12 px-4",children:E.jsx("div",{className:"text-xs text-muted-foreground/50",children:"No results found"})});let v=0;return E.jsx("div",{className:"py-1",children:E.jsx(ga,{mode:"popLayout",children:Array.from(a.entries()).map(([b,S])=>E.jsxs("div",{children:[E.jsx(mN,{section:b,count:S.length}),S.map(A=>{const C=v++;return E.jsx(pN,{item:A,isSelected:A.id===l,onSelect:()=>g(A),onConfirm:()=>d(A),animIndex:C},A.id)})]},b))})})}function gN(){return E.jsxs("div",{className:"flex flex-col items-center justify-center h-full py-16 px-8",children:[E.jsx("div",{className:"mb-3 opacity-20",children:E.jsx(hC,{size:24,strokeWidth:1.5})}),E.jsx("div",{className:"text-xs text-muted-foreground/40 text-center",children:"Select an item to preview"})]})}function gk({selectedItem:a,isFocused:r}){const l=U.useMemo(()=>a?Kn.getPreviewPanel(a):null,[a]);return E.jsx("div",{className:be("flex flex-col h-full transition-colors duration-100",r&&"border-l-2 border-accent/30"),children:a&&l?E.jsx("div",{className:"flex-1 min-h-0 overflow-y-auto overflow-x-hidden",children:l.element}):E.jsx(gN,{})})}const jg=[.32,.72,0,1];function vN({text:a}){const[r,l]=U.useState(!1),c=U.useCallback(async()=>{try{await navigator.clipboard.writeText(a),l(!0),setTimeout(()=>l(!1),2e3)}catch{const d=document.createElement("textarea");d.value=a,document.body.appendChild(d),d.select(),document.execCommand("copy"),document.body.removeChild(d),l(!0),setTimeout(()=>l(!1),2e3)}},[a]);return E.jsx(Ne.button,{onClick:c,whileHover:{scale:1.05},whileTap:{scale:.95},className:be("px-2 py-1.5 border-none rounded-md cursor-pointer flex items-center justify-center transition-colors duration-200",r?"bg-success text-white":"bg-[rgba(128,128,128,0.15)] text-text-secondary"),title:r?"Copied!":"Copy to clipboard",children:r?E.jsx(cC,{size:14}):E.jsx(dC,{size:14})})}function yN({command:a}){return E.jsxs(Ne.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{delay:.2,duration:.2,ease:jg},className:"flex items-center gap-2 px-3.5 py-3 bg-surface-elevated rounded-[10px] border border-border mt-5",children:[E.jsx(aj,{size:15,className:"text-text-muted shrink-0"}),E.jsx("code",{className:"flex-1 text-sm font-mono text-text-primary tracking-tight font-medium",children:a}),E.jsx(vN,{text:a})]})}function bN({onClick:a}){return E.jsxs(Ne.button,{onClick:a,whileHover:{scale:1.02},whileTap:{scale:.98},initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{delay:.3,duration:.2,ease:jg},className:"mt-4 px-5 py-2.5 text-[13px] font-medium text-text-secondary bg-transparent border border-border rounded-[10px] cursor-pointer flex items-center gap-2",children:[E.jsx(mC,{size:14}),"Try again"]})}function xN({variant:a}){const r=Ce(d=>d.retryConnection),l=Ce(d=>d.connectionStatus),c=nn.useMemo(()=>{switch(a){case"disconnected":return{title:"Get started with UILint",subtitle:"Run this command in your project directory:",command:"npx uilint serve",showRetry:l.mode==="websocket"};case"manifest-error":return{title:"Build lint manifest",subtitle:"Generate a lint report for your project:",command:"npx uilint build",showRetry:!1}}},[a,l.mode]);return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2,ease:jg},className:"flex flex-col items-center justify-center px-8 py-12 text-center min-h-[260px]",children:[E.jsx(Ne.h3,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.05,duration:.2,ease:jg},className:"m-0 text-base font-semibold text-text-primary tracking-tight",children:c.title}),E.jsx(Ne.p,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{delay:.1,duration:.2,ease:jg},className:"mt-2.5 mb-0 mx-0 text-sm text-text-muted leading-normal max-w-[320px]",children:c.subtitle}),E.jsx(yN,{command:c.command}),c.showRetry&&E.jsx(bN,{onClick:r})]})}const wN={duration:.12,ease:[.32,.72,0,1]},vk={duration:.2,ease:[.32,.72,0,1]};function SN(){const a=Ce(N=>N.commandPalette.open),r=Ce(N=>N.commandPalette.query),l=Ce(N=>N.commandPalette.selectedItemId),c=Ce(N=>N.commandPalette.selectedIndex),d=Ce(N=>N.commandPalette.previewFocused),p=Ce(N=>N.commandPalette.mobileView),g=Ce(N=>N.closeCommandPalette),v=Ce(N=>N.setCommandPaletteQuery),b=Ce(N=>N.setCommandPaletteSelectedItem),S=Ce(N=>N.toggleCommandPalettePreviewFocus),A=Ce(N=>N.pushToPreview),C=Ce(N=>N.popToList),k=Ce(N=>N.openInspectorPanel),M=Ce(N=>N.expandRule),L=Ce(N=>N.expandFileInRule),B=Ce(N=>N.mobile.isMobile),H=Ce(N=>N.setHeatmapPreview),Q=Ce(N=>N.clearHeatmapPreview),K=Ce(N=>N.wsConnected),q=Ce(N=>N.connectionStatus),ae=Ce(N=>N.plugins?.eslint?.scanStatus),he=U.useMemo(()=>q.mode==="websocket"&&!K||q.mode==="static"&&ae==="error",[q.mode,K,ae]),Ae=U.useMemo(()=>q.mode==="static"&&ae==="error"?"manifest-error":"disconnected",[q.mode,ae]),J=Qj(),{grouped:$,flatItems:ge}=D8(J,r),we=U.useMemo(()=>l?ge.find(N=>N.id===l)??ge[0]??null:ge[0]??null,[l,ge]);U.useEffect(()=>{if(!a||B){Q();return}if(we){const N=we.metadata?.ruleId??null;if(N){const W=we.metadata?.filePath??null;H(N,W)}else Q()}else Q()},[a,B,we,H,Q]);const Ke=U.useCallback((N,W)=>{b(N.id,W),B&&A()},[b,B,A]),Me=U.useCallback(async N=>{Q();const W=bh();if(!W){yn("[CommandPalette] Plugin services not available");return}if(N.execute){try{await N.execute(W)}catch(De){yn(`[CommandPalette] Error executing item "${N.id}":`,De)}g();return}const ne=N.metadata?.tileType;if(ne==="rule"){const De=N.metadata?.ruleId;De&&M(De)}else if(ne==="file"){const De=N.metadata?.filePath;if(De){const Be=N.metadata?.ruleId;Be&&(M(Be),L(De))}}k(),g()},[g,k,M,L,Q]),{handleKeyDown:qe}=_8({flatItems:ge,selectedIndex:c,onSelect:(N,W)=>b(W,N),onConfirm:Me,onEscape:g,onTabToggle:S}),Se=U.useCallback(N=>{N.key==="Escape"&&(N.preventDefault(),g())},[g]),Ue=document.getElementById("uilint-portal")||document.body;return yd.createPortal(E.jsx(ga,{children:a&&E.jsx(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.12},className:be("fixed inset-0 flex justify-center z-[99998] pointer-events-auto",B?"items-stretch bg-surface pt-0":"items-start bg-transparent pt-[100px]"),onClick:N=>{N.target===N.currentTarget&&g()},onKeyDown:Se,children:E.jsx(Ne.div,{initial:B?{opacity:0}:{opacity:0,scale:.96,y:-20},animate:B?{opacity:1}:{opacity:1,scale:1,y:0},exit:B?{opacity:0}:{opacity:0,scale:.98,y:-10},transition:B?{duration:.15}:wN,className:B?"flex flex-col w-full h-full":void 0,children:E.jsxs(fk,{blur:B?"light":"heavy",shadow:B?void 0:"lg",animate:!1,className:be("overflow-hidden",B?"w-full h-full flex flex-col rounded-none pt-[env(safe-area-inset-top,0px)] pb-[env(safe-area-inset-bottom,0px)]":"w-[860px] h-auto flex flex-col rounded-[20px]"),children:[B&&E.jsxs("div",{className:"flex items-center justify-between px-4 pt-3 pb-2 border-b border-border",children:[p==="preview"?E.jsxs("button",{onClick:C,className:"flex items-center gap-1.5 text-sm font-medium text-accent bg-transparent border-none cursor-pointer rounded-lg px-2 py-1",children:[E.jsx(E6,{size:16}),"Back"]}):E.jsx("span",{className:"text-[15px] font-semibold text-text-primary",children:"Search"}),E.jsx("button",{onClick:g,className:"px-4 py-2 text-sm font-medium text-accent bg-transparent border-none cursor-pointer rounded-lg",children:"Done"})]}),E.jsx(cN,{value:r,onChange:v,onKeyDown:qe,size:B?"default":"large"}),he?E.jsx("div",{className:"py-8 px-6",children:E.jsx(xN,{variant:Ae})}):B?E.jsx("div",{className:"flex-1 min-h-0 overflow-hidden relative",children:E.jsx(ga,{mode:"sync",initial:!1,children:p==="list"?E.jsx(Ne.div,{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"},transition:vk,className:"absolute inset-0 overflow-y-auto overflow-x-hidden [-webkit-overflow-scrolling:touch]",children:E.jsx(mk,{grouped:$,flatItems:ge,selectedItemId:l,selectedIndex:c,onItemSelect:Ke,onItemConfirm:Me})},"mobile-list"):E.jsx(Ne.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:vk,className:"absolute inset-0 overflow-y-auto overflow-x-hidden [-webkit-overflow-scrolling:touch]",children:E.jsx(gk,{selectedItem:we,isFocused:!0})},"mobile-preview")})}):E.jsxs("div",{className:"flex flex-1 min-h-0 max-h-[520px]",children:[E.jsx("div",{className:be("w-[340px] flex-shrink-0","overflow-y-auto overflow-x-hidden","[-webkit-overflow-scrolling:touch]","border-r border-foreground/[0.06]"),children:E.jsx(mk,{grouped:$,flatItems:ge,selectedItemId:we?.id??null,selectedIndex:c,onItemSelect:Ke,onItemConfirm:Me})}),E.jsx("div",{className:be("flex-1 min-w-0","overflow-y-auto overflow-x-hidden","[-webkit-overflow-scrolling:touch]"),children:E.jsx(gk,{selectedItem:we,isFocused:d})})]})]})})})}),Ue)}const EN=gl(["h-full cursor-pointer overflow-hidden relative box-border","flex flex-col justify-between","rounded-2xl","transition-all duration-150"],{variants:{selected:{true:"bg-foreground/[0.04] border border-foreground/12",false:"border border-foreground/[0.04] hover:bg-foreground/[0.03] hover:border-foreground/[0.08]"},size:{xs:"p-3",sm:"p-4",md:"p-5",lg:"p-6",xl:"p-7"}},defaultVariants:{selected:!1,size:"md"}}),TN=[.32,.72,0,1];function AN({isHovered:a}){return E.jsx(Ne.div,{initial:{opacity:0},animate:{opacity:a?1:0},transition:{duration:.15},className:"absolute inset-0 rounded-2xl pointer-events-none bg-linear-to-br from-foreground/2 to-transparent"})}function CN({tags:a,maxTags:r}){const l=a.slice(0,r);return E.jsx(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.2,delay:.1},className:"flex flex-wrap gap-1 mt-1.5 overflow-hidden max-h-[2.25rem]",children:l.map(c=>E.jsx("span",{className:be("rounded-full px-2 py-0.5 text-[10px] leading-tight","border border-foreground/[0.06]",c.accent?"text-purple-500/70 bg-purple-500/[0.06] border-purple-500/10 dark:text-purple-400/70 dark:bg-purple-400/[0.06] dark:border-purple-400/10":"text-muted-foreground/60 bg-foreground/[0.03]"),children:c.label},c.label))})}function kN(a,r){const l=a===1?"issue":"issues";return r!==void 0&&r>0?{count:a,suffix:`${l} in ${r} ${r===1?"file":"files"}`}:{count:a,suffix:l}}function RN(a){switch(a){case"xl":return"text-2xl";case"lg":return"text-xl";case"md":return"text-lg";case"sm":return"text-base";case"xs":return"text-sm";default:return"text-lg"}}function MN(a){switch(a){case"xl":return"text-base";case"lg":return"text-sm";case"md":return"text-sm";case"sm":return"text-xs";case"xs":return"text-[11px]";default:return"text-sm"}}const DN=32;function yk({id:a,label:r,subtitle:l,tileType:c,count:d,fileCount:p,configTags:g,bucket:v,isSelected:b,onClick:S,onOpenInInspector:A}){const[C,k]=nn.useState(!1),M=nn.useRef(null),L=nn.useRef(null),B=nn.useRef(null),[H,Q]=nn.useState(!1),K=!!g?.length;U.useLayoutEffect(()=>{if(!K){Q(!1);return}const Ke=M.current,Me=L.current,qe=B.current;if(!Ke||!Me||!qe){Q(!1);return}const Se=Ke.clientHeight,Ue=Me.offsetHeight,N=qe.offsetHeight,W=Se-Ue-N;Q(W>=DN)},[K,v,r,l,d,p]);const q=Ke=>{Ke.stopPropagation(),A?.()},ae=U.useMemo(()=>v==="xl"?16:v==="lg"||v==="md"?14:v==="sm"?12:10,[v]),{count:he,suffix:Ae}=kN(d,p),J=RN(v),$=MN(v),ge=v==="xs"?"text-[10px]":"text-xs",we=v==="xl"?3:v==="lg"?2:1;return E.jsxs(Ne.div,{"data-tile-id":a,onClick:S,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.15,ease:TN},className:be(EN({selected:b,size:v})),children:[E.jsxs("div",{ref:M,className:"flex flex-col justify-between h-full",children:[E.jsxs("div",{ref:L,className:"flex items-start justify-between gap-1.5",children:[E.jsxs("div",{className:"flex-1 min-w-0 flex flex-col",children:[l&&E.jsx("div",{className:be("text-muted-foreground/50 truncate mb-0.5",ge,c==="file"&&"font-mono"),children:l}),E.jsx("span",{className:be("font-light leading-tight tracking-tight text-foreground line-clamp-2",J),title:r,children:r})]}),A&&E.jsx(Ne.button,{onClick:q,initial:{opacity:0},animate:{opacity:C?1:0},whileHover:{scale:1.1},whileTap:{scale:.95},transition:{duration:.1},className:"shrink-0 p-1 -mt-0.5 -mr-0.5 rounded-lg text-muted-foreground/50 hover:text-foreground/70 hover:bg-foreground/6 transition-colors",title:"Open in inspector","aria-label":"Open in inspector",children:E.jsx(_g,{size:ae})})]}),H&&g&&g.length>0&&E.jsx(CN,{tags:g,maxTags:we}),E.jsxs("div",{ref:B,className:be("flex items-baseline gap-1 mt-auto pt-2",$),children:[E.jsx("span",{className:be("font-light text-foreground",J),children:he}),E.jsx("span",{className:"font-normal text-muted-foreground/60",children:Ae})]})]}),E.jsx(AN,{isHovered:C})]})}const bk={top:0,right:0,bottom:0,left:0},_N={availableWidth:416,gap:12,minTileWidth:100,maxTileWidth:320,minTileHeight:110,maxTileHeight:280,minArea:8e3,maxArea:6e4,padding:bk};function xk(a,r,l){return Math.max(r,Math.min(l,a))}function zN(a,r,l){const c=Math.max(0,a.count),d=Math.max(1,r),p=d>1?Math.log1p(c)/Math.log1p(d):1,g=l.minArea+p*(l.maxArea-l.minArea),v=a.label?.length??0,b=a.subtitle?.length??0,S=Math.max(v,b);let A;S<=10?A=1:S<=20?A=1.5:A=2+Math.min(1,(S-20)/20);let C=Math.sqrt(g*A),k=Math.sqrt(g/A);return C=xk(C,l.minTileWidth,l.maxTileWidth),k=xk(k,l.minTileHeight,l.maxTileHeight),{width:Math.round(C),height:Math.round(k)}}function ON(a,r,l,c,d){let p=0,g=1/0,v=0;for(let b=0;b<a.length;b++){const S=a[b];if(S.x+r+d>c+d)continue;let C=S.y,k=S.x;for(let M=b;M<a.length&&k<S.x+r;M++)C=Math.max(C,a[M].y),k+=a[M].width;C<g&&(g=C,p=S.x,v=b)}return g===1/0?{x:0,y:0,skylineIndex:0}:{x:p,y:g,skylineIndex:v}}function jN(a,r,l,c,d,p){const g=l+d+p,v=r+c+p,b=[];for(let A=0;A<a.length;A++){const C=a[A],k=C.x+C.width;if(k<=r){b.push(C);continue}if(C.x>=v){b.push(C);continue}C.x<r&&b.push({x:C.x,y:C.y,width:r-C.x}),k>v&&b.push({x:v,y:C.y,width:k-v})}b.push({x:r,y:g,width:c+p}),b.sort((A,C)=>A.x-C.x);const S=[];for(const A of b){if(S.length===0){S.push(A);continue}const C=S[S.length-1],k=C.x+C.width;Math.abs(k-A.x)<1&&C.y===A.y?C.width=A.x+A.width-C.x:k>=A.x&&C.y===A.y?C.width=Math.max(k,A.x+A.width)-C.x:S.push(A)}return S}function NN(a,r,l){if(a.length===0)return[];const c=[...a].sort((g,v)=>v.height-g.height);let d=[{x:0,y:0,width:r}];const p=[];for(const g of c){const v=ON(d,g.width,g.height,r,l);p.push({id:g.id,x:v.x,y:v.y,width:g.width,height:g.height}),d=jN(d,v.x,v.y,g.width,g.height,l)}return p}function LN(a,r){const l=a*r;return l<=12e3?"xs":l<=18e3?"sm":l<=28e3?"md":l<=42e3?"lg":"xl"}function Ng(a,r={}){const l={...bk,...r.padding};if(a.length===0)return{tiles:new Map,rowCount:0,columnCount:0,pattern:"grid",totalHeight:l.top+l.bottom};const c={..._N,...r},{availableWidth:d,gap:p}=c,{top:g,left:v,bottom:b}=l,S=a.reduce((K,q)=>K+q.count,0),A=a.map((K,q)=>{const ae=zN(K,S,c);return{id:K.id,width:ae.width,height:ae.height,originalIndex:q}}),C=NN(A,d,p),k=new Map;let M=0;for(const K of C){const q=LN(K.height,K.width);k.set(K.id,{id:K.id,row:0,column:0,width:`${K.width}px`,widthFraction:K.width/d,bucket:q,isRowStart:K.x===0,x:K.x+v,y:K.y+g,height:K.height}),M=Math.max(M,K.y+K.height)}const L=M+g+b;let B="grid";a.length===1?B="single":a.length===2?B="pair":a.length===3?B="trio":a.length===4&&(B="quad");const H=A.reduce((K,q)=>K+q.width,0)/A.length,Q=Math.round(d/(H+p));return{tiles:k,rowCount:Math.ceil(a.length/Math.max(1,Q)),columnCount:Math.max(1,Q),pattern:B,totalHeight:L}}const Lh={availableWidth:532,gap:14,padding:{top:20,right:24,bottom:20,left:24}},UN=52,wk=12,BN=10;function HN(a){const{items:r,expandedId:l,children:c}=a,d=VN(a.config);if(r.length===0)return{positions:new Map,expandedPosition:null,totalHeight:d.padding.top+d.padding.bottom,childrenHeight:0};const p=Ng(r,{availableWidth:d.availableWidth,gap:d.gap,padding:d.padding});if(!l){const Q=new Map;for(const K of r){const q=p.tiles.get(K.id);q&&Q.set(K.id,{id:K.id,x:q.x,y:q.y,width:parseFloat(q.width),height:q.height})}return{positions:Q,expandedPosition:null,totalHeight:p.totalHeight,childrenHeight:0}}const g=p.tiles.get(l);if(!g){const Q=new Map;for(const K of r){const q=p.tiles.get(K.id);q&&Q.set(K.id,{id:K.id,x:q.x,y:q.y,width:parseFloat(q.width),height:q.height})}return{positions:Q,expandedPosition:null,totalHeight:p.totalHeight,childrenHeight:0}}const v=qN(c,d),b=a.extraExpandedHeight??0,S=UN+v.totalHeight+wk*2+b,A=g.y,C=[],k=[];for(const Q of r){if(Q.id===l)continue;const K=p.tiles.get(Q.id);if(!K)continue;K.y+K.height<=A?C.push(Q):k.push(Q)}const M=new Map;for(const Q of C){const K=p.tiles.get(Q.id);M.set(Q.id,{id:Q.id,x:K.x,y:K.y,width:parseFloat(K.width),height:K.height})}const L={id:l,x:d.padding.left,y:A,width:d.availableWidth,height:S};M.set(l,L);const B=A+S+d.gap;if(k.length>0){const Q=Ng(k,{availableWidth:d.availableWidth,gap:d.gap,padding:{top:0,right:0,bottom:d.padding.bottom,left:0}});for(const q of k){const ae=Q.tiles.get(q.id);ae&&M.set(q.id,{id:q.id,x:ae.x+d.padding.left,y:ae.y+B,width:parseFloat(ae.width),height:ae.height})}const K=B+Q.totalHeight;return{positions:M,expandedPosition:L,totalHeight:K,childrenHeight:v.totalHeight}}const H=A+S+d.padding.bottom;return{positions:M,expandedPosition:L,totalHeight:H,childrenHeight:v.totalHeight}}function VN(a){return{availableWidth:a?.availableWidth??Lh.availableWidth,gap:a?.gap??Lh.gap,padding:{top:a?.padding?.top??Lh.padding.top,right:a?.padding?.right??Lh.padding.right,bottom:a?.padding?.bottom??Lh.padding.bottom,left:a?.padding?.left??Lh.padding.left}}}function qN(a,r){if(a.length===0)return{totalHeight:0};const l=r.availableWidth-wk*2;return{totalHeight:Ng(a,{availableWidth:l,gap:BN,padding:{top:0,right:0,bottom:0,left:0}}).totalHeight}}const Cd=[.32,.72,0,1],Nu={micro:.15,standard:.2,expand:.3,staggerChild:.04,childrenDelay:.15},YN={hidden:{},visible:{transition:{staggerChildren:Nu.staggerChild,delayChildren:Nu.childrenDelay}},exit:{transition:{staggerChildren:.02,staggerDirection:-1}}},GN={hidden:{opacity:0,x:-12},visible:{opacity:1,x:0},exit:{opacity:0,x:-12}},XN={duration:Nu.standard,ease:Cd},$N={rest:{x:0},hover:{x:-3},tap:{x:-6,scale:.95}},QN={duration:Nu.micro,ease:Cd},IN={top:20,right:24,bottom:20,left:24},ZN=532,FN=14;function PN(){return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.2},className:be("flex flex-col items-center justify-center","py-16 px-8 text-center"),children:[E.jsx("div",{className:"mb-4 opacity-30",children:E.jsx(gC,{size:28,strokeWidth:1.5})}),E.jsx("div",{className:"text-sm font-normal text-foreground/60 mb-1",children:"No items to display"}),E.jsx("div",{className:"text-xs text-muted-foreground/70",children:"Try adjusting your filters or search query"})]})}function Sk(a){if(!a?.isRule)return[];const r=[],l=a.category;l&&l!=="static"?r.push({label:l,accent:!0}):l==="static"&&r.push({label:"static"});const c=a.currentSeverity,d=a.defaultSeverity;c&&d&&c!==d&&r.push({label:c});const p=a.currentOptions,g=a.optionSchema;if(p&&g?.fields)for(const v of g.fields){const b=p[v.key];if(b!==void 0&&b!==v.defaultValue){const S=typeof b=="boolean"?`${v.label}: ${b?"on":"off"}`:`${v.label}: ${String(b)}`;if(r.push({label:S}),r.length>=4)break}}return r}function Ek({items:a,onTileClick:r,onOpenInInspector:l,selectedIndex:c,availableWidth:d=ZN,padding:p=IN}){if(a.length===0)return E.jsx(PN,{});const{layout:g,sortedItems:v,itemIndexMap:b}=nn.useMemo(()=>{const S=Ng(a,{availableWidth:d,gap:FN,padding:p}),A=[...a].sort((k,M)=>{const L=S.tiles.get(k.id),B=S.tiles.get(M.id),H=(L?.y??0)-(B?.y??0);return Math.abs(H)>10?H:(L?.x??0)-(B?.x??0)}),C=new Map;return A.forEach((k,M)=>C.set(k.id,M)),{layout:S,sortedItems:A,itemIndexMap:C}},[a,d,p]);return E.jsx("div",{className:"relative",style:{height:g.totalHeight,minHeight:200},children:E.jsx(ga,{mode:"popLayout",children:v.map((S,A)=>{const C=g.tiles.get(S.id);if(!C)return null;const k=b.get(S.id)??A;return E.jsx(Ne.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2,ease:Cd,delay:Math.min(A*.03,.2)},className:"absolute",style:{left:C.x,top:C.y,width:C.width,height:C.height},children:E.jsx(yk,{id:S.id,label:S.label,subtitle:S.subtitle,tileType:S.tileType??S.metadata?.tileType,count:S.count,fileCount:S.fileCount,configTags:Sk(S.metadata),bucket:C.bucket,isSelected:k===c,onClick:()=>r(S),onOpenInInspector:l?()=>l(S):void 0})},S.id)})})})}const KN="block text-xs text-muted-foreground/70 uppercase tracking-wider mb-1.5",xb=be("w-full px-3 py-2 text-sm rounded-md","bg-foreground/[0.02] border border-foreground/[0.06]","text-foreground placeholder:text-muted-foreground/40","focus:outline-none focus:border-foreground/[0.12]","transition-colors duration-100","disabled:opacity-50 disabled:cursor-not-allowed"),JN="text-xs text-muted-foreground/50 mt-1.5";function Tk({schema:a,value:r,onChange:l,disabled:c}){const d=U.useCallback(p=>{l(a.key,p.target.value)},[a.key,l]);return E.jsx("input",{type:"text",value:r??"",onChange:d,placeholder:a.placeholder,disabled:c,className:xb})}function WN({schema:a,value:r,onChange:l,disabled:c}){const[d,p]=U.useState(r!=null?String(r):""),[g,v]=U.useState(!0);U.useEffect(()=>{const A=r!=null?String(r):"";p(A)},[r]);const b=U.useCallback(A=>{const C=A.target.value;if(p(C),C===""||C==="-"){v(!0);return}const k=parseFloat(C);isNaN(k)?v(!1):(v(!0),l(a.key,k))},[a.key,l]),S=U.useCallback(()=>{if(d===""||d==="-"){const A=a.defaultValue;p(String(A)),l(a.key,A)}},[d,a.key,a.defaultValue,l]);return E.jsx("input",{type:"text",inputMode:"numeric",value:d,onChange:b,onBlur:S,placeholder:a.placeholder??String(a.defaultValue),disabled:c,className:be(xb,!g&&"border-error/50 focus:border-error")})}function e7({schema:a,value:r,onChange:l,disabled:c}){const d=!!r,p=U.useCallback(g=>{c||l(a.key,g)},[a.key,l,c]);return E.jsxs("div",{className:"flex items-center gap-1 p-1 bg-foreground/[0.02] rounded-lg border border-foreground/[0.04]",children:[E.jsxs("button",{type:"button",onClick:()=>p(!1),disabled:c,className:be("flex items-center gap-2 px-3 py-1.5 rounded-md","text-sm transition-colors duration-100",d?"text-foreground/60 hover:bg-foreground/[0.04] hover:text-foreground/80":"bg-foreground/[0.08] text-foreground",c&&"cursor-not-allowed opacity-50"),children:[E.jsx("div",{className:be("w-2 h-2 rounded-full",d?"bg-muted-foreground/20":"bg-muted-foreground/50")}),E.jsx("span",{children:"Off"})]}),E.jsxs("button",{type:"button",onClick:()=>p(!0),disabled:c,className:be("flex items-center gap-2 px-3 py-1.5 rounded-md","text-sm transition-colors duration-100",d?"bg-foreground/[0.08] text-foreground":"text-foreground/60 hover:bg-foreground/[0.04] hover:text-foreground/80",c&&"cursor-not-allowed opacity-50"),children:[E.jsx("div",{className:be("w-2 h-2 rounded-full",d?"bg-success/70":"bg-success/20")}),E.jsx("span",{children:"On"})]})]})}function t7({schema:a,value:r,onChange:l,disabled:c}){const[d,p]=U.useState(!1),g=U.useRef(null);U.useEffect(()=>{function A(C){g.current&&!g.current.contains(C.target)&&p(!1)}return document.addEventListener("mousedown",A),()=>document.removeEventListener("mousedown",A)},[]);const v=a.options??[],b=v.find(A=>A.value===r),S=U.useCallback(A=>{l(a.key,A),p(!1)},[a.key,l]);return E.jsxs("div",{ref:g,className:"relative",children:[E.jsxs("button",{type:"button",onClick:()=>!c&&p(!d),disabled:c,className:be(xb,"flex items-center justify-between text-left",c&&"cursor-not-allowed"),children:[E.jsx("span",{className:b?"":"text-muted-foreground/40",children:b?.label??a.placeholder??"Select..."}),E.jsx("svg",{className:be("w-4 h-4 text-muted-foreground/50 transition-transform duration-150",d&&"rotate-180"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),E.jsx(ga,{children:d&&E.jsx(Ne.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.15},className:be("absolute z-50 w-full mt-1 py-1 rounded-md","bg-background/95 backdrop-blur-sm","border border-foreground/[0.08]","shadow-lg"),children:v.map(A=>E.jsx("button",{type:"button",onClick:()=>S(A.value),className:be("w-full px-3 py-2 text-sm text-left","transition-colors duration-75",A.value===r?"bg-foreground/[0.06] text-foreground":"text-foreground/80 hover:bg-foreground/[0.04]"),children:A.label},A.value))})})]})}function n7({schema:a,value:r,onChange:l,disabled:c}){const d=Array.isArray(r)?r:[],p=a.options??[],g=U.useCallback(v=>{if(c)return;const b=d.includes(v)?d.filter(S=>S!==v):[...d,v];l(a.key,b)},[a.key,d,l,c]);return E.jsx("div",{className:"flex flex-wrap gap-1.5",children:p.map(v=>{const b=d.includes(v.value);return E.jsx("button",{type:"button",onClick:()=>g(v.value),disabled:c,className:be("px-2.5 py-1 text-xs rounded-md","transition-colors duration-100","border",b?"bg-foreground/[0.08] border-foreground/[0.12] text-foreground":"bg-foreground/[0.02] border-foreground/[0.04] text-foreground/60 hover:text-foreground/80 hover:bg-foreground/[0.04]",c&&"cursor-not-allowed opacity-50"),children:v.label},v.value)})})}function a7({schema:a,value:r,onChange:l,disabled:c}){const p=(Array.isArray(r)?r:[]).join(", "),g=U.useCallback(v=>{const S=v.target.value.split(",").map(A=>A.trim()).filter(A=>A.length>0);l(a.key,S)},[a.key,l]);return E.jsx("input",{type:"text",value:p,onChange:g,placeholder:a.placeholder??"value1, value2, value3",disabled:c,className:xb})}function i7({schema:a,value:r,onChange:l,disabled:c=!1,className:d}){const p=()=>{switch(a.type){case"text":return E.jsx(Tk,{schema:a,value:r,onChange:l,disabled:c});case"number":return E.jsx(WN,{schema:a,value:r,onChange:l,disabled:c});case"boolean":return E.jsx(e7,{schema:a,value:r,onChange:l,disabled:c});case"select":return E.jsx(t7,{schema:a,value:r,onChange:l,disabled:c});case"multiselect":return E.jsx(n7,{schema:a,value:r,onChange:l,disabled:c});case"array":return E.jsx(a7,{schema:a,value:r,onChange:l,disabled:c});default:return E.jsx(Tk,{schema:a,value:r,onChange:l,disabled:c})}};return E.jsxs("div",{className:be("mb-4",d),children:[E.jsx("label",{className:KN,children:a.label}),p(),a.description&&E.jsx("p",{className:JN,children:a.description})]})}function o7({optionSchema:a,currentOptions:r,defaultOptions:l,onOptionChange:c,onReset:d,isUpdating:p=!1,className:g}){const v=a?.fields??[],b=U.useCallback(A=>{const C=r[A.key];return C!==void 0?C:A.defaultValue},[r]),S=U.useCallback(()=>{for(const A of v){const C=r[A.key],k=l[A.key]??A.defaultValue;if(Array.isArray(C)&&Array.isArray(k)){if(C.length!==k.length||C.some((M,L)=>M!==k[L]))return!0}else if(C!==k)return!0}return!1},[v,r,l]);return v.length===0?E.jsx("div",{className:be("text-xs text-muted-foreground/50 italic",g),children:"No additional options for this rule"}):E.jsxs(Ne.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},transition:{duration:.15},className:be("relative",g),children:[p&&E.jsx("div",{className:"absolute inset-0 bg-background/50 backdrop-blur-[1px] z-10 flex items-center justify-center rounded-md",children:E.jsx("span",{className:"text-xs text-muted-foreground animate-pulse",children:"Updating..."})}),E.jsxs("div",{className:"flex items-center justify-between mb-3",children:[E.jsx("label",{className:"text-xs text-muted-foreground/70 uppercase tracking-wider",children:"Options"}),d&&S()&&E.jsx("button",{type:"button",onClick:d,disabled:p,className:be("text-xs text-muted-foreground/60 hover:text-foreground/80","transition-colors duration-100",p&&"cursor-not-allowed opacity-50"),children:"Reset to defaults"})]}),E.jsx("div",{className:be(p&&"opacity-50 pointer-events-none"),children:v.map(A=>E.jsx(i7,{schema:A,value:b(A),onChange:c,disabled:p},A.key))})]})}function LS({severity:a,isSelected:r,onClick:l,label:c}){const d={off:"bg-muted-foreground/30",warn:"bg-warning/70",error:"bg-error/70"}[a];return E.jsxs("button",{type:"button",onClick:l,className:be("flex items-center gap-2 px-3 py-2 rounded-md","text-sm transition-colors duration-100",r?"bg-foreground/[0.08] text-foreground":"text-foreground/60 hover:bg-foreground/[0.04] hover:text-foreground/80"),children:[E.jsx("div",{className:be("w-2 h-2 rounded-full",d)}),E.jsx("span",{children:c})]})}function Ak({ruleId:a,currentSeverity:r,onSeverityChange:l,optionSchema:c,currentOptions:d,defaultOptions:p,onOptionChange:g,onResetOptions:v,isUpdating:b=!1,className:S}){return E.jsxs("div",{className:be("px-3 py-3",S),children:[E.jsxs("div",{className:"mb-4",children:[E.jsx("label",{className:"block text-xs text-muted-foreground/70 uppercase tracking-wider mb-2",children:"Severity"}),E.jsxs("div",{className:"flex items-center gap-1 p-1 bg-foreground/[0.02] rounded-lg border border-foreground/[0.04]",children:[E.jsx(LS,{severity:"off",isSelected:r==="off",onClick:()=>l("off"),label:"Off"}),E.jsx(LS,{severity:"warn",isSelected:r==="warn",onClick:()=>l("warn"),label:"Warn"}),E.jsx(LS,{severity:"error",isSelected:r==="error",onClick:()=>l("error"),label:"Error"})]})]}),c&&c.fields&&c.fields.length>0?E.jsx(o7,{ruleId:a,optionSchema:c,currentOptions:d??{},defaultOptions:p??{},onOptionChange:g??(()=>{}),onReset:v,isUpdating:b}):E.jsx("div",{className:"text-xs text-muted-foreground/50 italic",children:"No additional options for this rule"})]})}function r7({ruleFilter:a,description:r,category:l,docsUrl:c,onClear:d,showCloseButton:p=!0,highestSeverity:g,issueCount:v,className:b,currentSeverity:S="warn",onSeverityChange:A,optionSchema:C,currentOptions:k,defaultOptions:M,onOptionChange:L,onResetOptions:B,isUpdating:H,ignoredCount:Q=0,showIgnored:K=!1,onToggleShowIgnored:q}){const[ae,he]=U.useState(!1),[Ae,J]=U.useState(!1),$=a.id.includes("/")?a.id.split("/")[0]:null,ge=U.useCallback(Me=>{A?.(Me)},[A]),we=U.useCallback((Me,qe)=>{L?.(Me,qe)},[L]),Ke=A!==void 0;return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.1},className:be("bg-foreground/[0.01]","border-b border-foreground/[0.04]",b),children:[E.jsx("div",{className:"px-3 py-2",children:E.jsxs("div",{className:"flex items-center gap-2",children:[g&&E.jsxs("div",{className:be("flex items-center gap-1.5 px-2 py-1 rounded-md",g==="error"&&"bg-error/10 text-error",g==="warning"&&"bg-warning/10 text-warning",g==="info"&&"bg-info/10 text-info"),children:[g==="error"&&E.jsx(cb,{size:12}),g==="warning"&&E.jsx(_u,{size:12}),g==="info"&&E.jsx(us,{size:12}),v!==void 0&&E.jsx("span",{className:"text-[11px] font-medium tabular-nums",children:v})]}),Q>0&&q&&E.jsxs("button",{type:"button",onClick:q,className:be("text-[11px] tabular-nums px-1.5 py-0.5 rounded","transition-colors duration-100",K?"text-muted-foreground bg-foreground/[0.06]":"text-muted-foreground/50 hover:text-muted-foreground"),children:[Q," ignored"]}),(l||$)&&E.jsx("span",{className:"text-[10px] text-muted-foreground/50 uppercase tracking-wider flex-shrink-0",children:$||l}),E.jsx("div",{className:"flex-1"}),E.jsxs("div",{className:"flex items-center gap-1",children:[r&&E.jsx("button",{type:"button",onClick:()=>he(!ae),className:be("px-2 py-1 rounded","text-[11px] text-muted-foreground/60 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100",ae&&"bg-foreground/[0.04] text-foreground/80"),title:ae?"Hide description":"Show description",children:"Info"}),Ke&&E.jsx(hk,{open:Ae,onClose:()=>J(!1),placement:"bottom",align:"end",width:320,trigger:E.jsxs("button",{type:"button",onClick:()=>J(!Ae),className:be("inline-flex items-center gap-1.5","px-2 py-1 rounded","text-[11px] text-muted-foreground/60 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100",Ae&&"bg-foreground/[0.04] text-foreground/80"),children:[E.jsx(xS,{size:12}),"Configure"]}),children:E.jsx("div",{className:"p-1",children:E.jsx(Ak,{ruleId:a.id,currentSeverity:S,onSeverityChange:ge,optionSchema:C,currentOptions:k,defaultOptions:M,onOptionChange:we,onResetOptions:B,isUpdating:H})})}),c&&E.jsxs("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:be("inline-flex items-center gap-1","px-2 py-1 rounded","text-[11px] text-muted-foreground/50 hover:text-foreground/70","hover:bg-foreground/[0.04]","transition-colors duration-100"),children:[E.jsx(_g,{size:10}),"Docs"]}),p&&E.jsx(Og,{variant:"ghost",size:"sm",onClick:d,title:"Clear filter",className:"opacity-40 hover:opacity-100 ml-1",children:E.jsx(fb,{size:12})})]})]})}),E.jsx(ga,{children:ae&&r&&E.jsx(Ne.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.15},className:"overflow-hidden",children:E.jsx("p",{className:"px-3 pb-2 text-xs text-foreground/60 leading-relaxed",children:r})})})]})}const Ck=9234,kk=`ws://localhost:${Ck}`,Lu=10,l7=1e3,s7=1e4,Rk=Ck,u7=10,c7=500;class d7{constructor(r={}){this.options=r,this.createWebSocket=r.createWebSocket??(l=>new WebSocket(l)),this._setTimeout=r.setTimeout??globalThis.setTimeout,this._clearTimeout=r.clearTimeout??globalThis.clearTimeout}ws=null;handlers=new Map;connectionHandlers=new Set;reconnectHandlers=new Set;_reconnectAttempts=0;reconnectTimeout=null;intentionalDisconnect=!1;createWebSocket;_setTimeout;_clearTimeout;isConnected=!1;url=kk;get reconnectAttempts(){return this._reconnectAttempts}connect(r){if(typeof WebSocket>"u"&&!this.options.createWebSocket){Ft("[WebSocket] WebSocket is not available in this environment");return}if(!(this.ws&&this.isConnected&&(!r||r===this.url))){this.ws&&(this.intentionalDisconnect=!0,this.ws.close()),this.url=r??kk,this.intentionalDisconnect=!1;try{this.ws=this.createWebSocket(this.url),this.setupEventHandlers()}catch(l){yn("[WebSocket] Failed to create WebSocket:",l),this.scheduleReconnect()}}}disconnect(){this.intentionalDisconnect=!0,this.reconnectTimeout&&(this._clearTimeout(this.reconnectTimeout),this.reconnectTimeout=null),this.ws&&(this.ws.close(),this.ws=null),this.isConnected=!1,this._reconnectAttempts=0}send(r){if(!this.ws||!this.isConnected){Ft("[WebSocket] Cannot send message: not connected");return}try{this.ws.send(JSON.stringify(r))}catch(l){yn("[WebSocket] Failed to send message:",l)}}on(r,l){this.handlers.has(r)||this.handlers.set(r,new Set);const c=this.handlers.get(r);return c.add(l),()=>{c.delete(l),c.size===0&&this.handlers.delete(r)}}onConnectionChange(r){return this.connectionHandlers.add(r),r(this.isConnected),()=>{this.connectionHandlers.delete(r)}}onReconnectAttempt(r){this.reconnectHandlers.add(r);const l=this._reconnectAttempts>=Lu;return r(this._reconnectAttempts,Lu,l),()=>{this.reconnectHandlers.delete(r)}}notifyReconnectAttempt(){const r=this._reconnectAttempts>=Lu;this.reconnectHandlers.forEach(l=>{try{l(this._reconnectAttempts,Lu,r)}catch(c){yn("[WebSocket] Reconnect handler error:",c)}})}setupEventHandlers(){this.ws&&(this.ws.onopen=()=>{Fe(`[WebSocket] Connected to ${this.url}`),this.isConnected=!0,this._reconnectAttempts=0,this.notifyConnectionChange(!0),this.notifyReconnectAttempt()},this.ws.onclose=r=>{Fe(`[WebSocket] Disconnected from ${this.url} (code: ${r?.code??"unknown"}, reason: ${r?.reason||"none"})`),this.isConnected=!1,this.notifyConnectionChange(!1),this.intentionalDisconnect||this.scheduleReconnect()},this.ws.onerror=r=>{yn("[WebSocket] Connection error:",r)},this.ws.onmessage=r=>{try{const l=JSON.parse(r.data),c=l.type;Fe(`[WebSocket] Received message: ${c||"unknown"}`,l),c?this.dispatch(c,l):this.dispatch("*",l)}catch(l){yn("[WebSocket] Failed to parse message:",l)}})}dispatch(r,l){const c=this.handlers.get(r);if(c&&c.forEach(d=>{try{d(l)}catch(p){yn(`[WebSocket] Handler error for type "${r}":`,p)}}),r!=="*"){const d=this.handlers.get("*");d&&d.forEach(p=>{try{p(l)}catch(g){yn("[WebSocket] Wildcard handler error:",g)}})}}notifyConnectionChange(r){this.connectionHandlers.forEach(l=>{try{l(r)}catch(c){yn("[WebSocket] Connection handler error:",c)}})}scheduleReconnect(){if(this.intentionalDisconnect)return;if(this._reconnectAttempts>=Lu){Ft(`[WebSocket] Max reconnection attempts (${Lu}) reached`),this.notifyReconnectAttempt();return}this.reconnectTimeout&&this._clearTimeout(this.reconnectTimeout);const r=Math.min(l7*Math.pow(2,this._reconnectAttempts),s7);this._reconnectAttempts++,this.notifyReconnectAttempt(),Fe(`[WebSocket] Reconnecting in ${r}ms (attempt ${this._reconnectAttempts}/${Lu})`),this.reconnectTimeout=this._setTimeout(()=>{this.reconnectTimeout=null,this.connect(this.url)},r)}}async function f7(a,r){const l=new AbortController,c=globalThis.setTimeout(()=>l.abort(),c7);try{const d=r?`?probe=${encodeURIComponent(r)}`:"",p=await fetch(`http://localhost:${a}/_uilint/info${d}`,{signal:l.signal});return p.ok?await p.json():null}catch{return null}finally{globalThis.clearTimeout(c)}}function h7(){if(typeof document>"u")return null;const a=document.querySelector("[data-loc]");if(!a)return null;const r=a.getAttribute("data-loc");if(!r)return null;const l=r.split(":");return l.length>=3?l.slice(0,-2).join(":"):r}async function p7(){if(typeof window>"u")return null;const a=h7(),r=Array.from({length:u7},(d,p)=>Rk+p),c=(await Promise.all(r.map(d=>f7(d,a)))).filter(d=>d!==null);if(c.length===0)return null;if(c.length===1)return c[0];if(a){const d=c.find(p=>p.probeExists===!0);if(d)return d}return c.find(d=>d.port===Rk)??c[0]}const Ho=new d7,m7=300*1e3,wb=new Map,US=new Map;function Mk(a){const r=wb.get(a);return r?Date.now()-r.fetchedAt>m7?(wb.delete(a),null):r:null}function Sb(a,r,l,c){const d={content:r,lines:r.split(`
252
+ `),totalLines:l,relativePath:c,fetchedAt:Date.now()};return wb.set(a,d),d}function Dk(a){wb.delete(a)}function Eb(a,r,l=5,c=5){const d=r-1,p=Math.max(0,d-l),g=Math.min(a.lines.length,d+c+1);return{lines:a.lines.slice(p,g),startLine:p+1,highlightLine:r,relativePath:a.relativePath}}function g7(a){return US.get(a)}function v7(a,r){US.set(a,r),r.finally(()=>{US.delete(a)})}function y7(a){const{manifestUrl:r,retries:l=3,retryDelay:c=1e3,cacheTtl:d=0}=a;let p=null,g=null,v=null;function b(){return!p||g===null?!1:d===0?!0:Date.now()-g<d}function S(C){return new Promise(k=>setTimeout(k,C))}async function A(){let C=null;for(let k=0;k<=l;k++)try{k>0&&(Fe(`[ManifestFetcher] Retry attempt ${k}/${l}...`),await S(c*k));const M=await fetch(r);if(!M.ok)throw new Error(`Failed to fetch manifest: ${M.status} ${M.statusText}`);const L=await M.json();if(L.version!=="1.0")throw new Error(`Unsupported manifest version: ${L.version}`);if(!Array.isArray(L.files))throw new Error("Invalid manifest: missing files array");return L}catch(M){C=M instanceof Error?M:new Error(String(M)),yn(`[ManifestFetcher] Fetch failed (attempt ${k+1}):`,C.message)}throw C??new Error("Failed to fetch manifest")}return{async fetch(){return b()&&p?{manifest:p,cached:!0,fetchedAt:g}:v||(v=(async()=>{try{Fe(`[ManifestFetcher] Fetching manifest from ${r}...`);const C=await A();return p=C,g=Date.now(),Fe(`[ManifestFetcher] Loaded manifest: ${C.summary.totalIssues} issues in ${C.summary.filesWithIssues} files`),{manifest:C,cached:!1,fetchedAt:g}}finally{v=null}})(),v)},getCached(){return b()?p:null},invalidate(){p=null,g=null,Fe("[ManifestFetcher] Cache invalidated")},isFetching(){return v!==null},getManifestUrl(){return r}}}let _k=null;function b7(a){return _k=y7(a),_k}function x7(a,r){const{filePath:l}=rT(a.dataLoc),c=a.ruleId||"unknown",d=r.find(v=>v.id===c),g=(d?.currentSeverity??d?.defaultSeverity??"warn")==="error"?"error":"warning";return{id:lT("eslint",c,a.dataLoc,a.line),message:a.message,severity:g,dataLoc:a.dataLoc,ruleId:c,pluginId:"eslint",filePath:l,line:a.line,column:a.column}}function w7(a){return{id:a.id,name:a.name,description:a.description,category:a.category,defaultSeverity:a.defaultSeverity,currentSeverity:a.currentSeverity,docs:a.docs}}function S7(a,r){Fe("[ESLint Plugin] Processing manifest:",r.summary.totalIssues,"issues in",r.summary.filesWithIssues,"files");const l=new Map;for(const p of r.files)for(const g of p.issues){const v=x7(g,r.rules),b=l.get(v.dataLoc)||[];l.set(v.dataLoc,[...b,v])}const c=r.rules.map(w7),d=new Map;for(const p of r.rules)d.set(p.id,{severity:p.currentSeverity??p.defaultSeverity});a.setState({issues:l,availableRules:c,ruleConfigs:d,workspaceRoot:r.workspaceRoot,scanStatus:"complete"}),Fe("[ESLint Plugin] Manifest processed:",l.size,"unique dataLocs with issues")}function BS(a){if(!Nr?.manifest)return null;const{manifest:r}=Nr,l=r.files.find(d=>{if(d.filePath===a||a.endsWith(d.filePath)||d.filePath.endsWith(a))return!0;const p=d.filePath.replace(/\\/g,"/"),g=a.replace(/\\/g,"/");return!!(p===g||g.endsWith(p)||p.endsWith(g))});if(!l?.content)return Fe("[Static Handler] No source content found for file:",a),null;const c=l.content.split(`
253
+ `);return{content:l.content,lines:c,totalLines:c.length,relativePath:l.filePath}}let Nr=null;function zk(a){const r=b7({manifestUrl:a});Nr={mode:"static",manifestUrl:a,fetcher:r,manifest:null},Fe("[ESLint Plugin] Configured for static mode:",a)}function Tb(){return Nr!==null}function Ok(){Nr=null}function E7(a){if(!Nr)return yn("[ESLint Plugin] Static mode not configured"),()=>{};const{fetcher:r}=Nr;Fe("[ESLint Plugin] Initializing in static mode..."),a.setState({scanStatus:"scanning"}),r.fetch().then(({manifest:c})=>{Nr.manifest=c,S7(a,c)}).catch(c=>{yn("[ESLint Plugin] Failed to fetch manifest:",c),a.setState({scanStatus:"error"})});const l=a.domObserver.onElementsAdded(c=>{Nr?.manifest&&Fe("[ESLint Plugin] Static mode: DOM elements detected:",c.length)});return()=>{l(),Fe("[ESLint Plugin] Static mode disposed")}}function T7(){if(!Nr?.manifest)return null;const{manifest:a}=Nr;return{generatedAt:a.generatedAt,commitSha:a.commitSha,branch:a.branch,summary:a.summary}}const HS=new Map;function A7({filePath:a,enabled:r=!0}){const[l,c]=U.useState(null),[d,p]=U.useState(!1),[g,v]=U.useState(null),b=Ce(C=>C.wsConnected),S=U.useRef(null),A=U.useCallback(()=>{if(!r||!a)return;const C=Mk(a);if(C){c(C),p(!1),v(null);return}if(!b&&Tb()){const B=BS(a);if(B){const H=Sb(a,B.content,B.totalLines,B.relativePath);c(H),p(!1),v(null)}else c(null),p(!1),v("Source not available in manifest");return}if(!b)return;const k=HS.get(a);if(k){p(!0),k.then(B=>{B&&(c(B),v(null)),p(!1)});return}p(!0),v(null);const M=`source-full-${a}-${Date.now()}`;S.current=M;const L=new Promise(B=>{const H=Ho.on("source:result",K=>{if(K.filePath===a){const q=Sb(K.filePath,K.content,K.totalLines,K.relativePath);H(),Q(),B(q)}}),Q=Ho.on("source:error",K=>{K.filePath===a&&(v(K.error),H(),Q(),B(null))});Ho.send({type:"source:fetch",filePath:a,requestId:M}),setTimeout(()=>{H(),Q(),B(null)},1e4)});HS.set(a,L),L.then(B=>{B&&c(B),p(!1)}).finally(()=>{HS.delete(a)})},[a,r,b]);return U.useEffect(()=>{A()},[A]),U.useEffect(()=>a?Ho.on("file:changed",k=>{(k.filePath===a||k.filePath.endsWith(a)||a.endsWith(k.filePath))&&(Dk(a),c(null),r&&A())}):void 0,[a,r,A]),{source:l,lines:l?.lines??[],totalLines:l?.totalLines??0,isLoading:d,error:g,refetch:A}}function C7(a){switch(a){case"error":return{border:"border-error/20",bg:"bg-error/[0.06]",dot:"bg-error/70"};case"warning":return{border:"border-warning/20",bg:"bg-warning/[0.06]",dot:"bg-warning/70"};case"info":return{border:"border-info/20",bg:"bg-info/[0.06]",dot:"bg-info/70"}}}function k7({issue:a,isSelected:r,onSelect:l,gutterWidth:c=40,className:d}){const p=U.useRef(null),g=C7(a.severity);return U.useLayoutEffect(()=>{r&&p.current?.scrollIntoView&&p.current.scrollIntoView({block:"nearest",behavior:"smooth"})},[r]),E.jsxs(Ne.div,{ref:p,onClick:l,layout:!0,layoutId:`issue-${a.id}`,initial:!1,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.15,ease:[.32,.72,0,1],layout:{duration:.2}},className:be("flex items-start gap-2 cursor-pointer","mx-2 my-1","py-2 px-3","rounded-lg","border",g.border,g.bg,r&&"ring-1 ring-foreground/20","hover:brightness-[0.97]","transition-all duration-100",d),style:{marginLeft:c+8},children:[E.jsx("div",{className:be("flex-shrink-0 mt-1","w-1.5 h-1.5 rounded-full",g.dot)}),E.jsx("p",{className:be("flex-1 min-w-0","text-[11px] leading-relaxed","text-foreground/80","font-sans",r?"line-clamp-none":"line-clamp-2"),children:a.message})]})}function R7(a){switch(a){case"error":return"bg-error/60";case"warning":return"bg-warning/60";case"info":return"bg-info/60"}}function M7({issue:a,firstLine:r,isSelected:l,onSelect:c,gutterWidth:d=40,className:p}){const g=U.useRef(null);return U.useLayoutEffect(()=>{l&&g.current?.scrollIntoView&&g.current.scrollIntoView({block:"nearest",behavior:"smooth"})},[l]),E.jsxs(Ne.button,{ref:g,type:"button",onClick:c,layout:!0,layoutId:`issue-ref-${a.id}`,initial:!1,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.12,ease:[.32,.72,0,1],layout:{duration:.15}},className:be("flex items-center gap-1.5 cursor-pointer","mx-2 my-0.5","py-1 px-2","rounded","text-[10px] text-muted-foreground/50","hover:text-muted-foreground/70 hover:bg-foreground/[0.02]",l&&"text-muted-foreground/70 bg-foreground/[0.03]","transition-colors duration-100",p),style:{marginLeft:d+8},children:[E.jsx("div",{className:be("w-1 h-1 rounded-full flex-shrink-0",R7(a.severity))}),E.jsxs("span",{className:"font-mono",children:["↳ line ",r]})]})}function D7(a){switch(a){case"error":return"bg-error/80";case"warning":return"bg-warning/80";case"info":return"bg-info/80"}}function _7(a){switch(a){case"error":return"hover:bg-error/10";case"warning":return"hover:bg-warning/10";case"info":return"hover:bg-info/10"}}function z7(a){switch(a){case"error":return"border-error/30";case"warning":return"border-warning/30";case"info":return"border-info/30"}}function O7({issue:a,onSelect:r,gutterWidth:l=40,className:c}){const d=U.useRef(null),[p,g]=U.useState(!1);return U.useLayoutEffect(()=>{const v=d.current;if(!v)return;const b=()=>{v.scrollIntoView({block:"nearest",behavior:"smooth"})};return v.addEventListener("focus",b),()=>v.removeEventListener("focus",b)},[]),E.jsxs(Ne.button,{ref:d,type:"button",onClick:r,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),layout:!0,layoutId:`issue-collapsed-${a.id}`,initial:!1,animate:{opacity:1,scale:1,x:0},exit:{opacity:0,scale:.8},transition:{duration:.15,ease:[.32,.72,0,1],layout:{duration:.2}},className:be("relative flex items-center gap-1.5","mx-2 my-0.5","py-1 px-2","rounded-full","border","bg-foreground/[0.02]",z7(a.severity),_7(a.severity),"cursor-pointer","transition-colors duration-100","focus:outline-none focus:ring-1 focus:ring-foreground/20",c),style:{marginLeft:l+8},"aria-label":`Issue on line ${a.line}: ${a.message}`,children:[E.jsx("div",{className:be("w-1.5 h-1.5 rounded-full flex-shrink-0",D7(a.severity))}),E.jsxs("span",{className:"text-[10px] font-mono text-muted-foreground/60 tabular-nums",children:["L",a.line]}),E.jsx(ga,{children:p&&E.jsxs(Ne.div,{initial:{opacity:0,y:4,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:4,scale:.95},transition:{duration:.15},className:be("absolute left-0 top-full mt-1 z-50","max-w-xs","py-1.5 px-2.5","rounded-lg","bg-popover","border border-foreground/10","shadow-lg shadow-black/10","pointer-events-none"),children:[E.jsx("p",{className:"text-[11px] text-foreground/80 leading-relaxed line-clamp-3",children:a.message}),E.jsx("p",{className:"text-[9px] text-muted-foreground/50 mt-1 font-mono",children:a.ruleId})]})})]})}function j7(a,r,l=2){if(a.length===0)return r>0?{regions:[],gaps:[{id:0,startLine:1,endLine:r,lineCount:r,position:"start"}]}:{regions:[],gaps:[]};const c=[...a].sort((b,S)=>b.line-S.line),d=[];for(const b of c){const S=Math.max(1,b.line-l),A=Math.min(r,b.line+l),C=d[d.length-1];C&&S<=C.end+1?(C.end=Math.max(C.end,A),C.issues.push(b)):d.push({start:S,end:A,issues:[b]})}const p=d.map(b=>({startLine:b.start,endLine:b.end,issues:b.issues})),g=[];let v=0;p.length>0&&p[0].startLine>1&&g.push({id:v++,startLine:1,endLine:p[0].startLine-1,lineCount:p[0].startLine-1,position:"start"});for(let b=0;b<p.length-1;b++){const S=p[b].endLine,A=p[b+1].startLine;A>S+1&&g.push({id:v++,startLine:S+1,endLine:A-1,lineCount:A-S-1,position:"middle"})}if(p.length>0){const b=p[p.length-1];b.endLine<r&&g.push({id:v++,startLine:b.endLine+1,endLine:r,lineCount:r-b.endLine,position:"end"})}return{regions:p,gaps:g}}function N7(a,r){const l=a.gaps.findIndex(g=>g.id===r);if(l===-1)return a;const c=a.gaps[l],d=[...a.regions],p=a.gaps.filter(g=>g.id!==r);if(c.position==="start")d.length>0?d[0]={...d[0],startLine:c.startLine}:d.push({startLine:c.startLine,endLine:c.endLine,issues:[]});else if(c.position==="end")if(d.length>0){const g=d.length-1;d[g]={...d[g],endLine:c.endLine}}else d.push({startLine:c.startLine,endLine:c.endLine,issues:[]});else{const g=d.findIndex(b=>b.endLine===c.startLine-1),v=d.findIndex(b=>b.startLine===c.endLine+1);if(g!==-1&&v!==-1){const b={startLine:d[g].startLine,endLine:d[v].endLine,issues:[...d[g].issues,...d[v].issues]};v>g?(d.splice(v,1),d.splice(g,1,b)):(d.splice(g,1),d.splice(v,1,b))}}return{regions:d,gaps:p}}function L7(a,r){return a.filter(l=>l.line===r)}function U7(a){if(a.length===0)return null;const r={error:0,warning:1,info:2};return[...a].sort((c,d)=>r[c.severity]-r[d.severity])[0].severity}function B7(a,r){if(!r)return"";switch(a){case"error":return"bg-error/[0.04]";case"warning":return"bg-warning/[0.04]";case"info":return"bg-info/[0.04]";default:return""}}function H7(a,r){if(!r)return"border-l border-l-transparent";switch(a){case"error":return"border-l border-l-error/50";case"warning":return"border-l border-l-warning/50";case"info":return"border-l border-l-info/50";default:return"border-l border-l-transparent"}}function V7({lines:a,startLine:r,issues:l,selectedIssueId:c,onIssueSelect:d,gutterWidth:p=40,firstOccurrenceMap:g,className:v}){return E.jsx("div",{className:be("font-mono text-xs leading-relaxed","overflow-x-auto",v),children:a.map((b,S)=>{const A=r+S,C=L7(l,A),k=C.length>0,M=U7(C);return E.jsxs("div",{className:"group",children:[E.jsxs("div",{className:be("flex",B7(M,k),H7(M,k)),children:[E.jsx("span",{className:be("flex-shrink-0 select-none text-right pr-3 py-0.5","text-muted-foreground/40","bg-foreground/[0.02]","border-r border-foreground/[0.06]",k&&"text-muted-foreground/60"),style:{width:p},children:A}),E.jsx("code",{className:be("flex-1 pl-3 pr-4 py-0.5","text-foreground/80","whitespace-pre",k&&"text-foreground/90"),children:b||" "})]}),E.jsx(ga,{mode:"sync",children:C.map(L=>{const B=c===L.id;if(c!==null&&!B)return E.jsx(O7,{issue:L,onSelect:()=>d(L.id),gutterWidth:p},L.id);const Q=g?.get(L.message);return!Q||Q===A?E.jsx(k7,{issue:L,isSelected:B,onSelect:()=>d(L.id),gutterWidth:p},L.id):E.jsx(M7,{issue:L,firstLine:Q,isSelected:B,onSelect:()=>d(L.id),gutterWidth:p},L.id)})})]},A)})})}function q7({startLine:a,endLine:r,lineCount:l,onExpand:c,gutterWidth:d=40,className:p}){return E.jsxs(Ne.button,{type:"button",onClick:c,initial:!1,animate:{opacity:1},exit:{opacity:0},whileHover:{backgroundColor:"rgba(var(--foreground-rgb), 0.04)"},className:be("w-full flex items-center","text-xs text-muted-foreground/60 hover:text-muted-foreground/80","bg-foreground/[0.01]","border-y border-dashed border-foreground/[0.06]","cursor-pointer","transition-colors duration-100","group",p),children:[E.jsx("span",{className:"flex-shrink-0 py-1.5 bg-foreground/[0.02] border-r border-foreground/[0.06]",style:{width:d}}),E.jsxs("span",{className:"flex items-center gap-2 px-3 py-1.5",children:[E.jsx(Mg,{size:12,className:"text-muted-foreground/40 group-hover:text-muted-foreground/60 transition-colors"}),E.jsxs("span",{children:["Show ",l," hidden ",l===1?"line":"lines"]}),E.jsxs("span",{className:"text-muted-foreground/40",children:["(",a,"–",r,")"]})]})]})}const Y7=2,G7=32,X7=8,$7=16;function VS({filePath:a,issues:r,contextLines:l=Y7,selectedIssueId:c,onIssueSelect:d,enabled:p=!0,className:g}){const{lines:v,totalLines:b,isLoading:S,error:A}=A7({filePath:a,enabled:p}),[C,k]=U.useState(new Set),M=U.useMemo(()=>b===0?{regions:[],gaps:[]}:j7(r,b,l),[r,b,l]),L=U.useMemo(()=>{let J=M;for(const $ of C)J=N7(J,$);return J},[M,C,b]),B=U.useCallback(J=>{k($=>new Set([...$,J]))},[]),H=U.useMemo(()=>{const J=Math.max(3,String(b).length);return Math.max(G7,J*X7+$7)},[b]),Q=U.useMemo(()=>{const J=new Map,$=[...r].sort((ge,we)=>ge.line-we.line);for(const ge of $)J.has(ge.message)||J.set(ge.message,ge.line);return J},[r]),K=U.useCallback((J,$)=>v.slice(J-1,$),[v]);if(S)return E.jsx("div",{className:be("py-6 text-center",g),children:E.jsx("div",{className:"text-xs text-muted-foreground/60",children:"Loading source..."})});if(A)return E.jsx("div",{className:be("py-6 text-center",g),children:E.jsxs("div",{className:"text-xs text-muted-foreground/60",children:["Could not load source: ",A]})});if(b===0)return E.jsx("div",{className:be("py-6 text-center",g),children:E.jsx("div",{className:"text-xs text-muted-foreground/60",children:"Source not available"})});const q=[];let ae=0,he=0;const Ae=[...L.gaps].sort((J,$)=>J.startLine-$.startLine);for(;ae<Ae.length||he<L.regions.length;){const J=Ae[ae],$=L.regions[he];if(J&&(!$||J.startLine<$.startLine)&&J)q.push(E.jsx(q7,{startLine:J.startLine,endLine:J.endLine,lineCount:J.lineCount,onExpand:()=>B(J.id),gutterWidth:H},`gap-${J.id}`)),ae++;else if($){const we=K($.startLine,$.endLine);q.push(E.jsx(V7,{lines:we,startLine:$.startLine,issues:$.issues,selectedIssueId:c,onIssueSelect:d,gutterWidth:H,firstOccurrenceMap:Q},`region-${$.startLine}-${$.endLine}`)),he++}}return E.jsx("div",{className:be("border-t border-foreground/[0.06]","bg-background/50",g),children:E.jsx(ga,{mode:"sync",children:q})})}function Q7({severity:a}){switch(a){case"error":return E.jsx(Dg,{size:14,className:"text-error flex-shrink-0"});case"warning":return E.jsx(_u,{size:14,className:"text-warning flex-shrink-0"});case"info":return E.jsx(us,{size:14,className:"text-info flex-shrink-0"})}}function I7({issue:a,isSelected:r,onClick:l,index:c}){return E.jsxs(Ne.button,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1,delay:Math.min(c*.02,.2)},onClick:l,className:be("w-full text-left","flex items-center gap-2 px-3 py-2","border-b border-foreground/[0.03]","transition-colors duration-100","hover:bg-foreground/[0.03]","group",r&&"bg-foreground/[0.05]"),children:[E.jsx(Q7,{severity:a.severity}),E.jsx("span",{className:"flex-shrink-0 text-[11px] font-mono text-muted-foreground/60 tabular-nums w-8",children:a.line}),E.jsx("span",{className:"flex-1 min-w-0 text-xs text-foreground/70 truncate",children:a.message}),E.jsx(_h,{size:12,className:"flex-shrink-0 text-muted-foreground/30 opacity-0 group-hover:opacity-100 transition-opacity"})]})}function Z7({issues:a,selectedIssueId:r,onIssueClick:l,onShowFullSource:c,className:d}){const p=nn.useMemo(()=>[...a].sort((v,b)=>v.line-b.line),[a]),g=U.useCallback(v=>{l(v)},[l]);return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.1},className:be("flex flex-col",d),children:[E.jsx("div",{className:"flex-1",children:p.map((v,b)=>E.jsx(I7,{issue:v,isSelected:r===v.id,onClick:()=>g(v),index:b},v.id))}),E.jsxs("button",{onClick:c,className:be("flex items-center justify-center gap-1.5","px-3 py-2 mt-1","text-xs text-muted-foreground/60 hover:text-foreground/80","hover:bg-foreground/[0.03]","transition-colors duration-100","border-t border-foreground/[0.03]"),children:[E.jsx(N6,{size:12}),E.jsx("span",{children:"View source"})]})]})}const F7={common:{bg:"bg-transparent",border:"border-l-transparent",gutter:"text-text-disabled",code:"text-text-secondary"},removed:{bg:"bg-warning-bg",border:"border-l-warning",gutter:"text-text-primary",code:"text-text-primary"},added:{bg:"bg-warning-bg",border:"border-l-warning",gutter:"text-text-primary",code:"text-text-primary"},modified:{bg:"bg-info-bg",border:"border-l-info",gutter:"text-text-primary",code:"text-text-primary"}};function jk({lines:a,label:r,maxHeight:l=250,className:c}){const d=a.length>0?Math.max(...a.map(g=>g.lineNumber)):0,p=Math.max(3,String(d).length)*8+16;return E.jsxs("div",{className:be("bg-background rounded-lg overflow-hidden border border-border",c),children:[E.jsx("div",{className:"flex items-center gap-2 py-1.5 px-3 bg-surface-elevated border-b border-border",children:E.jsx("span",{className:"text-xs font-medium text-text-primary",children:r})}),E.jsx("div",{className:"overflow-auto text-xs font-mono leading-relaxed",style:{maxHeight:l},children:a.map((g,v)=>{const b=F7[g.type];return E.jsxs("div",{className:be("flex border-l-[3px]",b.bg,b.border),children:[E.jsx("span",{className:be("py-0 px-2 text-right bg-surface-elevated select-none shrink-0 border-r border-border",b.gutter),style:{width:p,minWidth:p},children:g.lineNumber}),E.jsx("code",{className:be("py-0 px-3 whitespace-pre flex-1",b.code),children:g.content||" "})]},v)})})]})}function P7(a,r){const l=a.length,c=r.length,d=Array.from({length:l+1},()=>new Array(c+1).fill(0));for(let p=1;p<=l;p++)for(let g=1;g<=c;g++)a[p-1].trim()===r[g-1].trim()?d[p][g]=d[p-1][g-1]+1:d[p][g]=Math.max(d[p-1][g],d[p][g-1]);return d}function K7(a,r,l,c,d){const p=[],g=[];let v=r.length,b=l.length;const S=[];for(;v>0&&b>0;)r[v-1].trim()===l[b-1].trim()?(S.push({type:"common",ai:v-1,bj:b-1}),v--,b--):a[v-1][b]>=a[v][b-1]?(S.push({type:"remove",ai:v-1,bj:-1}),v--):(S.push({type:"add",ai:-1,bj:b-1}),b--);for(;v>0;)S.push({type:"remove",ai:v-1,bj:-1}),v--;for(;b>0;)S.push({type:"add",ai:-1,bj:b-1}),b--;S.reverse();for(const A of S)A.type==="common"?(p.push({type:"common",content:r[A.ai],lineNumber:c+A.ai}),g.push({type:"common",content:l[A.bj],lineNumber:d+A.bj})):A.type==="remove"?p.push({type:"removed",content:r[A.ai],lineNumber:c+A.ai}):g.push({type:"added",content:l[A.bj],lineNumber:d+A.bj});return{sourceLines:p,targetLines:g}}function J7(a,r,l=1,c=1){const d=a===""?[]:a.split(`
254
254
  `),p=r===""?[]:r.split(`
255
- `),g=K7(d,p);return J7(g,d,p,l,c)}function Nk(a){if(typeof a!="string")return null;try{const r=JSON.parse(a);return{filePath:r.filePath??"",startLine:r.startLine??1,endLine:r.endLine??1}}catch{return null}}function Lk(a){const r=a.split("/");return r[r.length-1]||a}function e9(a){return a>=90?"error":a>=80?"warning":"info"}function t9({issue:a,onIgnore:r,isIgnored:l=!1,className:c}){const[d,p]=U.useState("stacked"),g=a.metadata??{},v=g.sourceCode||"",b=g.targetCode||"",S=g.sourceName||"(anonymous)",A=g.targetName||"(anonymous)",C=parseInt(g.similarity||"0",10),k=g.kind||"code",M=Nk(g.sourceLocation),L=Nk(g.targetLocation),B=U.useMemo(()=>W7(v,b,M?.startLine??1,L?.startLine??1),[v,b,M?.startLine,L?.startLine]);if(!v&&!b)return E.jsx("div",{className:"p-6 text-center text-muted-foreground text-xs",children:"No code comparison data available for this issue."});const H=d==="side-by-side";return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:l?.4:1},transition:{duration:.15},className:be("flex flex-col gap-3",c),children:[E.jsxs("div",{className:"flex items-center gap-2 px-1",children:[E.jsxs(vl,{variant:e9(C),size:"sm",disableAnimation:!0,children:[C,"% similar"]}),E.jsx("span",{className:"text-[11px] text-muted-foreground",children:k}),E.jsx("div",{className:"flex-1"}),E.jsxs("div",{className:"flex items-center gap-1",children:[E.jsx("button",{type:"button",onClick:()=>p("stacked"),className:be("p-1 rounded transition-colors",H?"text-muted-foreground hover:text-foreground":"bg-foreground/[0.08] text-foreground"),title:"Stacked view",children:E.jsx(J6,{size:14})}),E.jsx("button",{type:"button",onClick:()=>p("side-by-side"),className:be("p-1 rounded transition-colors",H?"bg-foreground/[0.08] text-foreground":"text-muted-foreground hover:text-foreground"),title:"Side by side view",children:E.jsx(U6,{size:14})})]})]}),E.jsxs("div",{className:be(H?"grid grid-cols-2 gap-3":"flex flex-col gap-3"),children:[E.jsxs("div",{className:"flex flex-col gap-1.5",children:[E.jsxs("div",{className:"flex items-center gap-1.5 px-1",children:[E.jsx("span",{className:"text-xs font-medium text-text-primary truncate",children:S}),M&&E.jsxs("span",{className:"text-[11px] text-muted-foreground font-mono truncate",children:[Lk(M.filePath),":",M.startLine]})]}),E.jsx(jk,{lines:B.sourceLines,label:"This Code",maxHeight:H?300:220})]}),E.jsxs("div",{className:"flex flex-col gap-1.5",children:[E.jsxs("div",{className:"flex items-center gap-1.5 px-1",children:[E.jsx("span",{className:"text-xs font-medium text-text-primary truncate",children:A}),L&&E.jsxs("span",{className:"text-[11px] text-muted-foreground font-mono truncate",children:[Lk(L.filePath),":",L.startLine]})]}),E.jsx(jk,{lines:B.targetLines,label:"Similar Code",maxHeight:H?300:220})]})]}),E.jsxs("div",{className:"flex items-center gap-2 px-1",children:[M&&E.jsx(Uk,{icon:E.jsx(_g,{size:12}),label:`Open ${S}`,href:M.filePath}),L&&E.jsx(Uk,{icon:E.jsx(_g,{size:12}),label:`Open ${A}`,href:L.filePath}),E.jsx("div",{className:"flex-1"}),r&&E.jsxs("button",{type:"button",onClick:()=>r(a.id),className:be("inline-flex items-center gap-1.5 px-2 py-1 rounded","text-[11px] transition-colors",l?"text-foreground/80 bg-foreground/[0.06]":"text-muted-foreground hover:text-foreground hover:bg-foreground/[0.04]"),children:[l?E.jsx(pC,{size:12}):E.jsx(fC,{size:12}),l?"Restore":"Ignore"]})]})]})}function Uk({icon:a,label:r,href:l}){return E.jsxs("span",{className:"inline-flex items-center gap-1 text-[11px] text-muted-foreground/60 truncate",title:l,children:[a,E.jsx("span",{className:"truncate",children:r})]})}function qS(a){return parseInt(a.metadata?.similarity||"0",10)}function n9(a){return a.metadata?.targetName||"(anonymous)"}function a9(a){return a.metadata?.sourceName||"(anonymous)"}function i9(a){try{const r=JSON.parse(a.metadata?.targetLocation||"{}"),l=r.filePath;if(!l)return null;const c=l.split("/");return`${c[c.length-1]}:${r.startLine}`}catch{return null}}function o9(a){return a>=90?"text-error":a>=80?"text-warning":"text-info"}function r9({issue:a,isExpanded:r,isIgnored:l,onClick:c,onIgnore:d,index:p}){const g=qS(a),v=a9(a),b=n9(a),S=i9(a);return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:l?.4:1},transition:{duration:.1,delay:Math.min(p*.03,.2)},className:be("border border-foreground/[0.06] rounded-lg overflow-hidden","transition-colors duration-100",r?"bg-foreground/[0.02] border-foreground/[0.1]":"hover:bg-foreground/[0.02]"),children:[E.jsxs("button",{type:"button",onClick:c,className:be("w-full text-left flex items-center gap-2 px-3 py-2.5","transition-colors duration-100","group"),children:[E.jsx(_h,{size:14,className:be("text-muted-foreground/40 transition-transform duration-150 shrink-0",r&&"rotate-90")}),E.jsxs("span",{className:be("text-xs font-semibold tabular-nums shrink-0",o9(g)),children:[g,"%"]}),E.jsxs("div",{className:"flex items-center gap-1.5 min-w-0 flex-1",children:[E.jsx("span",{className:"text-xs text-foreground/80 truncate",children:v}),E.jsx(G6,{size:10,className:"text-muted-foreground/40 shrink-0"}),E.jsx("span",{className:"text-xs text-foreground/80 truncate",children:b})]}),S&&E.jsx("span",{className:"text-[10px] text-muted-foreground/50 font-mono shrink-0 hidden sm:inline",children:S}),l&&E.jsx(fC,{size:12,className:"text-muted-foreground/40 shrink-0"})]}),E.jsx(ga,{children:r&&E.jsx(Ne.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:E.jsx("div",{className:"px-3 pb-3 pt-1 border-t border-foreground/[0.04]",children:E.jsx(t9,{issue:a,onIgnore:d,isIgnored:l})})})})]})}function l9({issues:a,selectedIssueId:r,onIssueClick:l,ignoredIssueIds:c,onIgnore:d,showIgnored:p=!1,className:g}){const[v,b]=U.useState(r),S=U.useMemo(()=>[...a].sort((M,L)=>qS(L)-qS(M)),[a]),A=U.useMemo(()=>!c||c.size===0||p?S:S.filter(M=>!c.has(M.id)),[S,c,p]),C=U.useMemo(()=>c?S.filter(M=>c.has(M.id)).length:0,[S,c]),k=U.useCallback(M=>{const L=v!==M.id;b(L?M.id:null),l(M)},[v,l]);return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.1},className:be("flex flex-col gap-2 p-3",g),children:[E.jsxs("div",{className:"flex items-center gap-2 px-1",children:[E.jsxs("span",{className:"text-xs text-muted-foreground",children:[A.length," duplicate",A.length!==1?"s":""," found"]}),C>0&&E.jsxs(vl,{variant:"outline",size:"sm",disableAnimation:!0,children:[C," ignored"]})]}),A.map((M,L)=>E.jsx(r9,{issue:M,isExpanded:v===M.id,isIgnored:c?.has(M.id)??!1,onClick:()=>k(M),onIgnore:d,index:L},M.id)),A.length===0&&E.jsx("div",{className:"py-8 text-center text-xs text-muted-foreground/60",children:C>0?"All duplicates in this file are ignored.":"No duplicates found."})]})}function Bk(){return E.jsx(_h,{size:12,className:"text-muted-foreground/30 flex-shrink-0 mx-1"})}function YS({children:a,onClick:r,isActive:l=!1,icon:c}){const d=!!r&&!l;return E.jsxs(Ne.button,{onClick:d?r:void 0,disabled:!d,className:be("flex items-center gap-1 px-1.5 py-0.5 rounded text-xs","transition-colors duration-100",d&&"hover:bg-foreground/[0.05] cursor-pointer",l?"text-foreground/80 font-medium":"text-muted-foreground/60",!d&&!l&&"cursor-default"),whileHover:d?{scale:1.02}:void 0,whileTap:d?{scale:.98}:void 0,children:[c,E.jsx("span",{className:"truncate max-w-[120px]",children:a})]})}function Hk({expandedRuleName:a,expandedFileName:r,onCollapseToRoot:l,onCollapseFile:c,variant:d="standalone",className:p}){return a?E.jsxs(Ne.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.15},className:be("flex items-center px-4 py-2",d!=="embedded"&&"border-b border-foreground/[0.04] bg-foreground/[0.01]",p),children:[E.jsx(YS,{onClick:l,icon:E.jsx(Y6,{size:11,className:"opacity-50"}),children:"All Rules"}),E.jsx(Bk,{}),E.jsx(YS,{onClick:r?c:void 0,isActive:!r,children:a}),r&&E.jsxs(E.Fragment,{children:[E.jsx(Bk,{}),E.jsx(YS,{isActive:!0,children:r})]})]}):null}U.createContext(null);function s9(a,r){const l=a===1?"issue":"issues";return r!==void 0&&r>0?`${a} ${l} in ${r} ${r===1?"file":"files"}`:`${a} ${l}`}function u9({label:a,subtitle:r,tileType:l,count:c,fileCount:d,onBack:p,className:g}){const v=c!==void 0?s9(c,d):void 0;return E.jsx(Ne.div,{variants:XN,initial:"hidden",animate:"visible",exit:"exit",transition:$N,className:be("flex items-center justify-between gap-2 px-3 py-2","border-b border-foreground/[0.04]",g),children:E.jsxs("div",{className:"flex items-center gap-1.5 min-w-0 flex-1",children:[E.jsx(Ne.button,{onClick:p,variants:QN,initial:"rest",whileHover:"hover",whileTap:"tap",transition:IN,className:be("flex items-center justify-center","w-6 h-6 rounded-md","text-muted-foreground/70 hover:text-foreground","hover:bg-foreground/[0.05]","transition-colors duration-100","flex-shrink-0"),"aria-label":"Go back",children:E.jsx(M6,{size:16,strokeWidth:2})}),E.jsxs("div",{className:"min-w-0 flex-1 flex flex-col",children:[E.jsxs("div",{className:"flex items-baseline gap-2",children:[E.jsx(Ne.h3,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1},className:"text-sm font-medium text-foreground truncate",children:a}),v&&E.jsx(Ne.span,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1,delay:.05},className:"text-[11px] text-muted-foreground/50 truncate hidden sm:inline",children:v})]}),r&&E.jsx(Ne.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1},className:be("text-[10px] text-muted-foreground/50 truncate",l==="file"&&"font-mono"),children:r})]})]})})}const c9=14,d9={top:0,right:0,bottom:0,left:0},Vk=12;function f9({item:a,children:r,childrenHeight:l,availableWidth:c,onBack:d,onChildClick:p}){return E.jsxs(Ne.div,{layoutId:`tile-${a.id}`,initial:{opacity:.9},animate:{opacity:1},exit:{opacity:.9},transition:{duration:Nu.expand,ease:Cd},className:be("rounded-2xl","border border-foreground/[0.08]","bg-background/60 backdrop-blur-md","overflow-hidden","shadow-lg","h-full"),children:[E.jsx(u9,{label:a.label,subtitle:a.subtitle,tileType:a.tileType,count:a.count,fileCount:a.fileCount,onBack:d}),E.jsx(Ne.div,{variants:GN,initial:"hidden",animate:"visible",exit:"exit",className:"p-3",style:{height:l+Vk*2},children:E.jsx(Ek,{items:r,onTileClick:p,selectedIndex:-1,availableWidth:c-Vk*2,padding:{top:0,right:0,bottom:0,left:0}})})]})}function h9({items:a,expandedId:r,expandedChildren:l,onTileClick:c,onExpandedChildClick:d,onBack:p,availableWidth:g,selectedIndex:v=-1,gap:b=c9,padding:S=d9,extraExpandedHeight:A=0,renderExpandedContent:C}){const k=U.useMemo(()=>Ng(a,{availableWidth:g,gap:b,padding:S}),[a,g,b,S]),M=U.useMemo(()=>a.map(ae=>({id:ae.id,count:ae.count})),[a]),L=U.useMemo(()=>l.map(ae=>({id:ae.id,count:ae.count})),[l]),B=U.useMemo(()=>VN({items:M,expandedId:r,children:L,config:{availableWidth:g,gap:b,padding:S},extraExpandedHeight:A}),[M,r,L,g,b,S,A]),H=B.positions,Q=B.totalHeight,K=U.useMemo(()=>{const ae=new Map;return[...a].sort((Ae,J)=>{const $=H.get(Ae.id),ge=H.get(J.id),we=($?.y??0)-(ge?.y??0);return Math.abs(we)>10?we:($?.x??0)-(ge?.x??0)}).forEach((Ae,J)=>ae.set(Ae.id,J)),ae},[a,H]),q=U.useMemo(()=>a.find(ae=>ae.id===r)||null,[a,r]);return E.jsx("div",{className:"relative",style:{height:Q,minHeight:200},children:E.jsx(ga,{mode:"popLayout",children:a.map((ae,he)=>{const Ae=H.get(ae.id),J=k.tiles.get(ae.id);if(!Ae||!J)return null;const $=K.get(ae.id)??he,ge=ae.id===r,we=$===v;return ge&&q?E.jsx(Ne.div,{className:"absolute",style:{left:Ae.x,width:Ae.width,height:Ae.height},initial:{top:Ae.y,opacity:.9},animate:{top:Ae.y,opacity:1},exit:{opacity:.9},transition:{duration:Nu.expand,ease:Cd},children:C?C(ae,l,B.childrenHeight,g):E.jsx(f9,{item:ae,children:l,childrenHeight:B.childrenHeight,availableWidth:g,onBack:p,onChildClick:d})},ae.id):E.jsx(Ne.div,{className:"absolute",style:{left:Ae.x,width:Ae.width,height:Ae.height},initial:{top:J.y,opacity:0,scale:.9},animate:{top:Ae.y,opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:Nu.standard,ease:Cd,delay:Math.min(he*.02,.15)},children:E.jsx(yk,{id:ae.id,label:ae.label,subtitle:ae.subtitle,tileType:ae.tileType??ae.metadata?.tileType,count:ae.count,fileCount:ae.fileCount,configTags:Sk(ae.metadata),bucket:J.bucket,isSelected:we,onClick:()=>c(ae)})},ae.id)})})})}function p9(a,r){return`${a} ${a===1?"issue":"issues"} in ${r} ${r===1?"file":"files"}`}function m9(a){return a.includes("/")&&a.split("/").pop()||a}function g9(a){const r=new Map;for(const c of a)for(const d of c.issues){const p=d.ruleId||"unknown",g=m9(p);r.has(p)||r.set(p,{ruleId:p,ruleName:g,totalCount:0,severityCounts:{error:0,warning:0,info:0},highestSeverity:"info",files:new Map});const v=r.get(p);v.totalCount++,v.severityCounts[d.severity]++,d.severity==="error"?v.highestSeverity="error":d.severity==="warning"&&v.highestSeverity!=="error"&&(v.highestSeverity="warning"),v.files.has(c.filePath)||v.files.set(c.filePath,{filePath:c.filePath,fileName:c.fileName,directory:c.directory,issueCount:0,severityCounts:{error:0,warning:0,info:0},issues:[]});const b=v.files.get(c.filePath);b.issueCount++,b.severityCounts[d.severity]++,b.issues.push({id:d.id,message:d.message,severity:d.severity,line:d.line,column:d.column})}return Array.from(r.values()).sort((c,d)=>{const p={error:0,warning:1,info:2},g=p[c.highestSeverity]-p[d.highestSeverity];return g!==0?g:d.totalCount-c.totalCount}).map(c=>{const p=Array.from(c.files.values()).flatMap(g=>g.issues).slice(0,3).map(g=>g.message);return{id:c.ruleId,label:c.ruleName,subtitle:p9(c.totalCount,c.files.size),count:c.totalCount,previewMessages:p,fileCount:c.files.size,data:{ruleId:c.ruleId,ruleName:c.ruleName,highestSeverity:c.highestSeverity,files:Array.from(c.files.values())},hasChildren:!0,isLeaf:!1}})}function v9(a){return a.data.files.sort((r,l)=>{const c={error:0,warning:1,info:2},d=r.severityCounts.error>0?"error":r.severityCounts.warning>0?"warning":"info",p=l.severityCounts.error>0?"error":l.severityCounts.warning>0?"warning":"info",g=c[d]-c[p];return g!==0?g:l.issueCount-r.issueCount}).map(r=>({id:`${a.id}:${r.filePath}`,label:r.fileName,subtitle:r.filePath,tileType:"file",count:r.issueCount,severityCounts:r.severityCounts,data:r,isLeaf:!0}))}function y9(a,r){return{id:a.id,label:a.label,count:a.count??0,fileCount:a.fileCount,metadata:{isRule:!0,ruleId:a.id,tileType:"rule",category:r?.category,currentSeverity:r?.currentSeverity,defaultSeverity:r?.defaultSeverity,currentOptions:r?.currentOptions,optionSchema:r?.optionSchema},data:a.data}}function b9(a){return{id:a.id,label:a.label,subtitle:a.subtitle,tileType:a.tileType,count:a.count??0,severityCounts:a.severityCounts,data:a.data}}function x9(){return E.jsxs("div",{className:"flex flex-col items-center justify-center py-12 px-4 text-center",children:[E.jsx("div",{className:"text-4xl mb-4 opacity-30",children:"✨"}),E.jsx("h3",{className:"text-lg font-medium text-foreground/80 mb-2",children:"No issues found"}),E.jsx("p",{className:"text-sm text-muted-foreground/60 max-w-xs",children:"Great job! Your code looks clean."})]})}const qk=34,Yk=40,w9=300;function S9({className:a}){const r=U.useRef(null),l=Ce(sD),c=Ce(fe=>fe.inspector.expandedRuleId),d=Ce(fe=>fe.inspector.expandedFilePath),p=Ce(fe=>fe.inspector.selectedIssueId),g=Ce(fe=>fe.inspector.showFullSource),v=Ce(fe=>fe.inspector.layoutAvailableWidth),b=Ce(fe=>fe.plugins?.eslint?.availableRules),S=Ce(fe=>fe.expandRule),A=Ce(fe=>fe.collapseRule),C=Ce(fe=>fe.expandFileInRule),k=Ce(fe=>fe.collapseFileInRule),M=Ce(fe=>fe.selectIssue),L=Ce(fe=>fe.showFullSourceView),B=U.useMemo(()=>g9(l),[l]),H=U.useMemo(()=>B.find(fe=>fe.id===c)||null,[B,c]),Q=U.useMemo(()=>H?v9(H):[],[H]),K=U.useMemo(()=>Q.find(fe=>fe.data.filePath===d)||null,[Q,d]),q=U.useMemo(()=>{const fe=new Map;for(const ke of b??[])fe.set(ke.id,ke);return fe},[b]),ae=U.useMemo(()=>B.map(fe=>y9(fe,q.get(fe.id))),[B,q]),he=U.useMemo(()=>Q.map(b9),[Q]),Ae=U.useMemo(()=>!d||!K||!H?[]:K.data.issues.map(fe=>({...fe,ruleId:H.id,pluginId:"eslint",filePath:d,dataLoc:`${d}:${fe.line}:${fe.column??0}`})),[d,K,H]);U.useEffect(()=>{if(p){for(const fe of B)for(const ke of fe.data.files)if(ke.issues.some(ft=>ft.id===p)){c!==fe.id&&S(fe.id),d!==ke.filePath&&C(ke.filePath);return}}},[p,B,c,d,S,C]),U.useEffect(()=>{if(!c||!r.current)return;const fe=setTimeout(()=>{const ke=r.current?.querySelector(`[data-tile-id="${c}"]`);ke&&typeof ke.scrollIntoView=="function"&&ke.scrollIntoView({behavior:"smooth",block:"start"})},50);return()=>clearTimeout(fe)},[c]);const J=U.useCallback(fe=>{M(p===fe?null:fe)},[p,M]),$=Ce(fe=>{if(!c)return null;const ke=fe.plugins?.eslint;return ke?.ruleConfigs?ke.ruleConfigs.get(c):null}),ge=Ce(fe=>{if(!c)return null;const ke=fe.plugins?.eslint;return ke?.availableRules?ke.availableRules.find(Tt=>Tt.id===c):null}),we=Ce(fe=>{if(!c)return!1;const ke=fe.plugins?.eslint;return ke?.ruleConfigUpdating?ke.ruleConfigUpdating.get(c)??!1:!1}),Ke=U.useCallback(fe=>{if(!c)return;const ke=fe==="warn"?"warning":fe;Kn.setRuleSeverity(c,ke)},[c]),Me=U.useCallback((fe,ke)=>{if(!c)return;const ft={...$?.options??{},[fe]:ke};Kn.setRuleConfig(c,ft)},[c,$?.options]),qe=U.useCallback(()=>{if(!c||!ge?.defaultOptions)return;const fe=Array.isArray(ge.defaultOptions)?ge.defaultOptions[0]??{}:ge.defaultOptions??{};Kn.setRuleConfig(c,fe)},[c,ge?.defaultOptions]),Se=U.useMemo(()=>$?.severity?$.severity:"warn",[$?.severity]),Ue=U.useMemo(()=>ge?.defaultOptions?Array.isArray(ge.defaultOptions)?ge.defaultOptions[0]??{}:ge.defaultOptions??{}:{},[ge?.defaultOptions]),N=U.useMemo(()=>c?Kn.getRuleContribution(c)?.contentRenderer??null:null,[c]),W=Ce(fe=>fe.ignoredIssueIds),ne=Ce(fe=>fe.showIgnoredIssues),De=Ce(fe=>fe.addIgnoredIssue),Be=Ce(fe=>fe.removeIgnoredIssue),j=Ce(fe=>fe.toggleShowIgnoredIssues),ie=U.useCallback(fe=>{W.has(fe)?Be(fe):De(fe)},[W,De,Be]),ve=U.useMemo(()=>{if(!c||W.size===0)return 0;const fe=B.find(Tt=>Tt.id===c);if(!fe)return 0;let ke=0;for(const Tt of fe.data.files)for(const ft of Tt.issues)W.has(ft.id)&&ke++;return ke},[c,B,W]),ye=d?qk+Yk+w9:qk+Yk,Xe=U.useCallback((fe,ke,Tt,ft)=>{const Un=d!==null;return E.jsxs(Ne.div,{"data-tile-id":fe.id,layoutId:`tile-${fe.id}`,initial:{opacity:.9},animate:{opacity:1},exit:{opacity:.9},transition:{duration:Nu.expand,ease:Cd},className:be("rounded-xl","border border-foreground/[0.05]","bg-background/80","overflow-hidden","shadow-sm","h-full flex flex-col"),children:[E.jsx(Hk,{variant:"embedded",expandedRuleName:H?.label??null,expandedFileName:K?.label??null,onCollapseToRoot:A,onCollapseFile:k}),E.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[E.jsx(l7,{ruleFilter:{type:"rule",id:fe.id,label:fe.label},description:ge?.description??E9(fe.id),category:ge?.category??T9(fe.id),docsUrl:ge?.docs??A9(fe.id),onClear:A,showCloseButton:!1,highestSeverity:H?.data.highestSeverity,issueCount:H?.count,currentSeverity:Se,onSeverityChange:Ke,optionSchema:ge?.optionSchema,currentOptions:$?.options,defaultOptions:Ue,onOptionChange:Me,onResetOptions:qe,isUpdating:we,ignoredCount:ve,showIgnored:ne,onToggleShowIgnored:j}),Un?N==="duplicate-comparison"?E.jsx("div",{className:"flex-1 overflow-auto",children:E.jsx(l9,{issues:Ae,selectedIssueId:p,onIssueClick:ze=>{M(ze.id)},ignoredIssueIds:W,onIgnore:ie,showIgnored:ne})}):g?E.jsx("div",{className:"flex-1 overflow-auto p-3",children:E.jsx(VS,{filePath:d,issues:Ae,contextLines:2,selectedIssueId:p,onIssueSelect:J,enabled:!0})}):E.jsx("div",{className:"flex-1 overflow-auto",children:E.jsx(F7,{issues:Ae,selectedIssueId:p,onIssueClick:ze=>{M(ze.id),L()},onShowFullSource:L})}):E.jsx("div",{className:"p-3",children:E.jsx(Ek,{items:ke,onTileClick:ze=>{const Ta=Q.find(Vo=>Vo.id===ze.id);Ta&&C(Ta.data.filePath)},selectedIndex:-1,availableWidth:ft-24,padding:{top:0,right:0,bottom:0,left:0}})})]})]})},[A,ge,Se,Ke,$?.options,Ue,Me,qe,we,Q,C,d,g,Ae,p,M,L,J,H,N,W,ne,ie,ve,j]);return E.jsx("div",{className:be("flex flex-col h-full",a),children:E.jsx("div",{ref:r,className:"flex-1 p-4 overflow-auto",children:l.length===0?E.jsx(x9,{}):E.jsx(h9,{items:ae,expandedId:c,expandedChildren:he,onTileClick:fe=>S(fe.id),onExpandedChildClick:fe=>{const ke=Q.find(Tt=>Tt.id===fe.id);ke&&C(ke.data.filePath)},onBack:A,availableWidth:v,extraExpandedHeight:ye,padding:{top:0,right:0,bottom:0,left:0},renderExpandedContent:Xe})})})}function E9(a){return{"no-unused-vars":"Disallow variables that are declared but never used in the code.","@typescript-eslint/no-unused-vars":"Disallow variables that are declared but never used in the code.","no-console":"Disallow the use of console methods.","react-hooks/exhaustive-deps":"Checks effect dependencies and warns when dependencies are missing.","react-hooks/rules-of-hooks":"Enforces the Rules of Hooks.","no-explicit-any":"Disallow the any type to encourage more precise typing.","@typescript-eslint/no-explicit-any":"Disallow the any type to encourage more precise typing."}[a]}function T9(a){return a.startsWith("@typescript-eslint/")?"TypeScript":a.startsWith("react-hooks/")?"React Hooks":a.startsWith("react/")?"React":"ESLint"}function A9(a){return a.startsWith("@typescript-eslint/")?`https://typescript-eslint.io/rules/${a.replace("@typescript-eslint/","")}`:a.startsWith("react-hooks/")?"https://reactjs.org/docs/hooks-rules.html":a.startsWith("react/")?`https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/${a.replace("react/","")}.md`:`https://eslint.org/docs/latest/rules/${a}`}function C9({filePath:a,line:r,contextAbove:l=5,contextBelow:c=5,enabled:d=!0}){const[p,g]=U.useState(null),[v,b]=U.useState(!1),[S,A]=U.useState(null),C=Ce(L=>L.wsConnected),k=U.useRef(null),M=U.useCallback(()=>{if(!d||!a)return;const L=Mk(a);if(L){g(Eb(L,r,l,c)),b(!1),A(null);return}if(!C&&Tb()){const K=BS(a);if(K){const q=Sb(a,K.content,K.totalLines,K.relativePath);g(Eb(q,r,l,c)),b(!1),A(null)}else g(null),b(!1),A("Source not available in manifest");return}if(!C)return;const B=v7(a);if(B){b(!0),B.then(K=>{K&&(g(Eb(K,r,l,c)),A(null)),b(!1)});return}b(!0),A(null);const H=`source-${a}-${Date.now()}`;k.current=H;const Q=new Promise(K=>{const q=Ho.on("source:result",he=>{if(he.filePath===a){const Ae=Sb(he.filePath,he.content,he.totalLines,he.relativePath);q(),ae(),K(Ae)}}),ae=Ho.on("source:error",he=>{he.filePath===a&&(A(he.error),q(),ae(),K(null))});Ho.send({type:"source:fetch",filePath:a,requestId:H}),setTimeout(()=>{q(),ae(),K(null)},1e4)});y7(a,Q),Q.then(K=>{K&&g(Eb(K,r,l,c)),b(!1)})},[a,r,l,c,d,C]);return U.useEffect(()=>{M()},[M]),U.useEffect(()=>a?Ho.on("file:changed",B=>{(B.filePath===a||B.filePath.endsWith(a)||a.endsWith(B.filePath))&&(Dk(a),d&&M())}):void 0,[a,d,M]),{context:p,isLoading:v,error:S,refetch:M}}function k9(a){const r=a.match(/^[\t ]+/);return r?r[0]:""}function R9(a){if(!a.length)return{lines:a,removed:0};const r=a.filter(c=>c.trim().length>0);if(!r.length)return{lines:a,removed:0};let l=1/0;for(const c of r)if(l=Math.min(l,k9(c).length),l===0)break;return!Number.isFinite(l)||l<=0?{lines:a,removed:0}:{removed:l,lines:a.map(c=>c.length>=l?c.slice(l):"")}}function M9({filePath:a,line:r,column:l,contextLines:c=5,defaultExpanded:d=!0}){const[p,g]=U.useState(d),{context:v,isLoading:b,error:S}=C9({filePath:a,line:r,contextAbove:c,contextBelow:c,enabled:p}),A=v?R9(v.lines):null,C=v?v.startLine+v.lines.length-1:0,k=Math.max(3,String(C).length)*8+16;return E.jsxs("div",{className:"bg-background rounded-lg overflow-hidden border border-border",children:[E.jsxs("button",{onClick:()=>g(!p),className:be("w-full flex items-center gap-2 py-2 px-3 bg-surface-elevated border-none cursor-pointer text-text-primary text-xs font-inherit",p&&"border-b border-border"),children:[p?E.jsx(Mg,{size:14}):E.jsx(_h,{size:14}),E.jsx("span",{className:"font-medium",children:"Source"}),E.jsxs("span",{className:"text-text-muted ml-auto font-mono",children:["L",r,l?`:${l}`:""]})]}),p&&E.jsxs("div",{className:"p-0",children:[b&&E.jsx("div",{className:"p-6 text-text-muted text-center text-xs",children:"Loading..."}),S&&E.jsx("div",{className:"p-6 text-error text-center text-xs",children:S}),A&&v&&E.jsx("div",{className:"overflow-x-auto text-xs font-mono leading-relaxed",children:A.lines.map((M,L)=>{const B=v.startLine+L,H=B===r;return E.jsxs("div",{className:be("flex border-l-[3px]",H?"bg-warning-bg border-l-warning":"bg-transparent border-l-transparent"),children:[E.jsx("span",{className:be("py-0 px-2 text-right bg-surface-elevated select-none shrink-0 border-r border-border",H?"text-text-primary":"text-text-disabled"),style:{width:k,minWidth:k},children:B}),E.jsx("code",{className:be("py-0 px-3 whitespace-pre flex-1",H?"text-text-primary":"text-text-secondary"),children:M||" "})]},B)})})]})]})}function D9(a){const r=a.split("/");return r[r.length-1]||a}function _9({issue:a}){const r=a.severity==="error"?cb:a.severity==="warning"?_u:us;return E.jsxs("div",{className:"p-4 flex flex-col gap-4",children:[E.jsxs("div",{className:"flex items-start gap-2.5",children:[E.jsxs(vl,{variant:a.severity==="error"?"error":a.severity==="warning"?"warning":"info",size:"sm",disableAnimation:!0,className:"shrink-0 mt-0.5",children:[E.jsx(r,{size:12,color:"currentColor",className:"mr-1"}),a.severity]}),E.jsxs("div",{className:"flex-1 min-w-0",children:[E.jsx("div",{className:"text-sm font-medium text-text-primary leading-snug",children:a.message}),E.jsx(vl,{variant:"outline",size:"sm",disableAnimation:!0,className:"mt-1.5 font-mono",children:a.ruleId})]})]}),E.jsx(M9,{filePath:a.filePath,line:a.line,column:a.column,contextLines:5}),E.jsxs("div",{className:"flex flex-wrap gap-y-1 gap-x-3 text-[11px] text-text-muted font-mono",children:[E.jsxs("span",{title:a.filePath,children:[D9(a.filePath),":",a.line,a.column?`:${a.column}`:""]}),E.jsx("span",{className:"opacity-50",children:"|"}),E.jsx("span",{children:a.pluginId})]})]})}function z9(){const a=Ce(hD),r=Ce(pD),l=Ce(ew),c=Ce(mD),d=Ce(gD),p=U.useCallback(g=>l.get(g)||[],[l]);return{allIssues:a,byFile:r,byDataLoc:l,getIssuesForDataLoc:p,totalCount:c,countBySeverity:d}}function O9({dataLoc:a,onSelectIssue:r}){const{getIssuesForDataLoc:l}=z9(),c=l(a);return c.length===0?E.jsx("div",{className:"p-4 text-center text-text-muted",children:"No issues for this element"}):E.jsxs("div",{className:"p-4",children:[E.jsxs("div",{className:"text-sm font-semibold text-text-primary mb-3",children:[c.length," issue",c.length!==1?"s":""," at this location"]}),E.jsx(jS,{variant:"elevated",className:"overflow-hidden",children:c.map((d,p)=>{const g=d.severity==="error"?cb:d.severity==="warning"?_u:us;return E.jsxs("div",{onClick:()=>r(d),className:be("flex items-start gap-2.5 p-3 cursor-pointer",p<c.length-1&&"border-b border-border"),children:[E.jsx(vl,{variant:d.severity==="error"?"error":d.severity==="warning"?"warning":"info",size:"sm",disableAnimation:!0,className:"shrink-0",children:E.jsx(g,{size:12,color:"currentColor"})}),E.jsxs("div",{className:"flex-1",children:[E.jsx("div",{className:"text-[13px] text-text-primary",children:d.message}),E.jsx("div",{className:"text-[11px] text-text-muted mt-0.5",children:d.ruleId})]})]},d.id)})}),E.jsx("div",{className:"mt-3 text-[11px] text-text-disabled break-all",children:a})]})}function Gk({direction:a,onResize:r,onResizeStart:l,onResizeEnd:c}){const d=U.useRef(!1),p=U.useRef({x:0,y:0}),g=U.useCallback(S=>{S.preventDefault(),S.stopPropagation(),d.current=!0,p.current={x:S.clientX,y:S.clientY},l?.()},[l]);U.useEffect(()=>{const S=C=>{if(!d.current)return;const k=C.clientX-p.current.x,M=C.clientY-p.current.y;p.current={x:C.clientX,y:C.clientY},r(k,M)},A=()=>{d.current&&(d.current=!1,c?.())};return document.addEventListener("mousemove",S),document.addEventListener("mouseup",A),()=>{document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",A)}},[r,c]);const v={position:"absolute",zIndex:10},b={horizontal:{...v,top:0,left:0,width:4,height:"100%",cursor:"col-resize"},vertical:{...v,bottom:0,left:0,width:"100%",height:4,cursor:"row-resize"},corner:{...v,bottom:0,right:0,width:12,height:12,cursor:"nwse-resize"}};return E.jsx("div",{onMouseDown:g,style:{...b[a],background:"transparent"},onMouseEnter:S=>{S.target.style.background="rgba(59, 130, 246, 0.2)"},onMouseLeave:S=>{d.current||(S.target.style.background="transparent")}})}const Xk=320,$k=800,Ab=450,Qk=500;function j9(){const a=Ce(Se=>Se.inspector.open),r=Ce(Se=>Se.inspector.panelId),l=Ce(Se=>Se.inspector.data),c=Ce(Se=>Se.inspector.docked),d=Ce(Se=>Se.inspector.width),p=Ce(Se=>Se.inspector.floatingPosition),g=Ce(Se=>Se.inspector.floatingSize),v=Ce(Se=>Se.closeInspector),b=Ce(Se=>Se.openInspector),S=Ce(Se=>Se.toggleInspectorDocked),A=Ce(Se=>Se.setInspectorWidth),C=Ce(Se=>Se.setInspectorFloatingPosition),k=Ce(Se=>Se.setInspectorFloatingSize),[M,L]=U.useState(!1),B=Ce(Se=>Se.mobile.isMobile),H=Ce(Se=>Se.activeDrag),Q=Ce(Se=>Se.startDrag),K=H?.type==="inspector-floating",q=U.useMemo(()=>Kn.getAllInspectorPanels(),[]),ae=U.useCallback(Se=>{b("issue",{issue:Se})},[b]),{content:he,title:Ae}=U.useMemo(()=>{let Se=null,Ue="Issues";const N=q.find(W=>W.id===r);if(N){const W=bh(),ne=N.component,De=l??void 0;Ue=typeof N.title=="function"?N.title({data:De,services:W}):N.title,Se=W?E.jsx(ne,{data:De,services:W}):E.jsx("div",{className:"p-4 text-text-muted text-center",children:"Loading..."})}else if(r==="issue"&&l?.issue){const W=l.issue,ne=W.ruleId?Kn.getRuleContribution(W.ruleId)||Kn.getRuleContribution(W.ruleId.replace("uilint/","")):void 0;if(ne?.inspectorPanel){const De=bh(),Be=ne.inspectorPanel;Ue="Issue Details",Se=De?E.jsx(Be,{data:l,services:De}):E.jsx("div",{className:"p-4 text-text-muted text-center",children:"Loading..."})}else Ue="Issue Details",Se=E.jsx(_9,{issue:W})}else r==="element"&&l?.dataLoc?(Ue="Element Issues",Se=E.jsx(O9,{dataLoc:l.dataLoc,onSelectIssue:ae})):(Ue="Issues",Se=E.jsx(S9,{}));return{content:Se,title:Ue}},[r,l,q,ae]);U.useEffect(()=>{L(!0)},[]),U.useLayoutEffect(()=>{if(!M)return;const Se=document.documentElement;return a&&c?(Se.style.marginRight=`${d}px`,Se.style.transition="margin-right 0.2s ease-out"):(Se.style.marginRight="",Se.style.transition="margin-right 0.2s ease-out"),()=>{Se.style.marginRight="",Se.style.transition=""}},[M,a,c,d]),U.useLayoutEffect(()=>{if(!K||!H||!H.elementStartPos)return;const{currentPos:Se,startPos:Ue,elementStartPos:N}=H,W=Se.x-Ue.x,ne=Se.y-Ue.y;C({x:N.x+W,y:N.y+ne})},[K,H,C]);const J=U.useCallback(Se=>{const Ue=Math.min($k,Math.max(Xk,d-Se));A(Ue)},[d,A]),$=U.useCallback((Se,Ue)=>{const N=g??{width:Ab,height:Qk},W=Math.min($k,Math.max(Xk,N.width+Se)),ne=Math.max(300,N.height+Ue);k({width:W,height:ne})},[g,k]),ge=U.useCallback(Se=>{if(!p||B)return;Se.preventDefault();const Ue={x:Se.clientX,y:Se.clientY};Q("inspector-floating",Ue,{x:0,y:0},p)},[p,B,Q]),we=U.useCallback(Se=>{if(!p||B)return;const Ue=Se.touches[0],N={x:Ue.clientX,y:Ue.clientY};Q("inspector-floating",N,{x:0,y:0},p)},[p,B,Q]);U.useEffect(()=>{!c&&!p&&M&&C({x:window.innerWidth-Ab-20,y:80})},[c,p,C,M]);const Ke=document.getElementById("uilint-portal")||document.body,Me=({isDraggable:Se=!1})=>E.jsxs("div",{className:be("flex items-center justify-between border-b border-border bg-surface-elevated select-none",B?"px-4 py-4":"px-4 py-3",Se&&!B?"cursor-move":"cursor-default"),style:{paddingTop:B?"calc(16px + env(safe-area-inset-top, 0px))":void 0},onMouseDown:Se&&!B?ge:void 0,onTouchStart:Se&&!B?we:void 0,children:[E.jsx("span",{className:"font-semibold text-text-primary",children:Ae}),E.jsxs("div",{className:be("flex items-center",B?"gap-2":"gap-1"),onMouseDown:Ue=>Ue.stopPropagation(),onTouchStart:Ue=>Ue.stopPropagation(),children:[!B&&E.jsx(Og,{variant:"ghost",size:"sm",onClick:S,title:c?"Undock to floating window":"Dock to side",children:c?E.jsx(Q6,{size:16}):E.jsx(Z6,{size:16})}),E.jsx(Og,{variant:"ghost",size:B?"default":"sm",onClick:v,title:"Close",className:B?"min-w-[44px] min-h-[44px]":void 0,children:E.jsx(fb,{size:B?20:16})})]})]}),qe=ju("heavy","none",!1);return yd.createPortal(E.jsxs(ga,{children:[a&&c&&E.jsxs(Ne.div,{initial:{x:d,opacity:0},animate:{x:0,opacity:1},exit:{x:d,opacity:0},transition:{duration:.15,ease:[.25,.1,.25,1]},className:"fixed inset-y-0 right-0 flex flex-col border-l border-glass-border shadow-default z-[99997] pointer-events-auto",style:{width:d,...qe},children:[E.jsx(Gk,{direction:"horizontal",onResize:Se=>J(Se)}),E.jsx(Me,{}),E.jsx("div",{className:"flex-1 overflow-y-auto",children:he})]},"docked"),a&&!c&&E.jsxs(Ne.div,{initial:{opacity:0,scale:B?1:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:B?1:.95},transition:{duration:.15},style:B?{position:"fixed",inset:0,width:"100%",height:"100%",...qe,border:"none",borderRadius:0,boxShadow:"none",zIndex:99997,display:"flex",flexDirection:"column",overflow:"hidden",pointerEvents:"auto"}:{position:"fixed",left:p?.x??window.innerWidth-Ab-20,top:p?.y??80,width:g?.width??Ab,height:g?.height??Qk,...qe,border:"1px solid var(--uilint-glass-border)",borderRadius:12,boxShadow:"var(--uilint-shadow)",zIndex:99997,display:"flex",flexDirection:"column",overflow:"hidden",pointerEvents:"auto"},children:[E.jsx(Me,{isDraggable:!0}),E.jsx("div",{className:"flex-1 overflow-y-auto min-h-0",style:{paddingBottom:B?"env(safe-area-inset-bottom, 0px)":void 0},children:he}),!B&&E.jsx(Gk,{direction:"corner",onResize:$})]},"floating")]}),Ke)}function N9({group:a,isMobile:r,disabled:l}){const[c,d]=U.useState(!1),p=r?44:36,g=U.useCallback(()=>{d(S=>!S)},[]),v=U.useCallback(S=>{const A=bh();A&&S.onClick&&S.onClick(A),d(!1)},[]),b=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;if(a.actions.length===1){const S=a.actions[0];return E.jsx(Ne.button,{whileHover:l?void 0:{scale:1.05},whileTap:l?void 0:{scale:.95},onClick:l?void 0:()=>v(S),disabled:l,"aria-label":S.tooltip,title:l?`${S.tooltip} (unavailable)`:S.tooltip,style:{width:p,height:p,borderRadius:p/2,border:"none",cursor:l?"default":"pointer",display:"flex",alignItems:"center",justifyContent:"center",opacity:l?.4:1,color:"var(--uilint-text-secondary)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:S.icon})}return E.jsxs("div",{style:{position:"relative"},children:[E.jsxs(Ne.button,{whileHover:l?void 0:{scale:1.05},whileTap:l?void 0:{scale:.95},onClick:l?void 0:g,disabled:l,"aria-label":a.tooltip,title:l?`${a.tooltip} (unavailable)`:a.tooltip,"aria-expanded":c,style:{height:p,padding:"0 10px",borderRadius:p/2,border:"none",cursor:l?"default":"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:4,opacity:l?.4:1,color:"var(--uilint-text-secondary)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:[a.icon,E.jsx(Mg,{size:12,style:{opacity:.5,transform:c?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.15s ease"}})]}),b&&yd.createPortal(E.jsx(ga,{children:c&&E.jsxs(E.Fragment,{children:[E.jsx("div",{style:{position:"fixed",inset:0,zIndex:99991,pointerEvents:"auto"},onClick:()=>d(!1)}),E.jsx(L9,{actions:a.actions,onAction:v,buttonSize:p})]})}),b)]})}function L9({actions:a,onAction:r,buttonSize:l}){return E.jsx(Ne.div,{initial:{opacity:0,scale:.95,y:-4},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-4},transition:{duration:.15,ease:[.32,.72,0,1]},style:{position:"fixed",top:16+l+8,right:16,zIndex:99992,minWidth:180,borderRadius:12,overflow:"hidden",pointerEvents:"auto",...ju("heavy","lg",!0),border:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)"},children:E.jsx("div",{style:{padding:4},children:a.map(c=>E.jsxs(Ne.button,{whileHover:{backgroundColor:"var(--uilint-hover, rgba(0, 0, 0, 0.05))"},onClick:()=>r(c),title:c.tooltip,style:{width:"100%",display:"flex",alignItems:"center",gap:10,padding:"8px 12px",border:"none",borderRadius:8,background:"transparent",cursor:"pointer",color:"var(--uilint-text-secondary)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:13,fontWeight:500,textAlign:"left"},children:[E.jsx("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:20,height:20,opacity:.7},children:c.icon}),E.jsx("span",{children:c.tooltip}),c.shortcut&&E.jsx("span",{style:{marginLeft:"auto",fontSize:11,opacity:.4,fontWeight:400},children:c.shortcut})]},c.id))})})}function U9(){const a=Ce(v=>v.mobile.isMobile),r=Ce(v=>v.inspector.open),l=Ce(v=>v.commandPalette.open);Ce(v=>v.plugins);const c=Kn.getAllToolbarActionGroups(),d=Ce(v=>v),p=c.filter(v=>v.isVisible?v.isVisible(d):!0);if(process.env.NODE_ENV==="development"&&c.length>0&&console.debug(`[PluginToolbar] ${c.length} group(s) registered, ${p.length} visible`),r||l||c.length===0)return null;const g=new Set(p.map(v=>v.id));return E.jsx(E.Fragment,{children:c.map(v=>E.jsx(N9,{group:v,isMobile:a,disabled:!g.has(v.id)},v.id))})}function B9(a){return a.map(r=>{const l=`${r.pluginId}: ${r.operationName}`;return r.current!=null&&r.total!=null?`${l} (${r.current}/${r.total})`:r.message?`${l} — ${r.message}`:l}).join(`
256
- `)}function H9(){const a=Ce(p=>p.activePluginOperations),r=Ce(p=>p.mobile.isMobile),l=Object.values(a).filter(p=>p.status==="active");if(l.length===0)return null;const c=r?44:36,d=B9(l);return E.jsxs("div",{className:"relative flex items-center justify-center rounded-full border border-border bg-glass-medium",style:{width:c,height:c},title:d,"aria-label":`${l.length} operation${l.length>1?"s":""} in progress`,children:[E.jsx("div",{className:"animate-spin rounded-full border-2 border-muted-foreground/30 border-t-muted-foreground",style:{width:c*.5,height:c*.5}}),l.length>1&&E.jsx("span",{className:"absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-accent text-[10px] font-semibold text-accent-foreground",children:l.length})]})}function V9(){return typeof navigator>"u"?!1:navigator.platform.toUpperCase().indexOf("MAC")>=0}function q9(){const a=Ce(M=>M.inspector.open),r=Ce(M=>M.commandPalette.open),l=Ce(M=>M.openInspectorPanel),c=Ce(M=>M.openCommandPalette),d=Ce(M=>M.mobile.isMobile),p=Ce(M=>M.mobile.isTouchDevice),g=Ce(M=>M.wsConnected),v=Ce(M=>M.connectionStatus.mode),b=document.getElementById("uilint-portal")||document.body;if(a||r)return null;const S=d?44:36,A=V9()?"⌘":"Ctrl+",C=!p,k=v==="websocket"&&!g;return yd.createPortal(E.jsx(ga,{children:E.jsxs(Ne.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.15,ease:[.32,.72,0,1]},style:{position:"fixed",top:16,right:16,display:"flex",alignItems:"center",gap:8,pointerEvents:"auto"},children:[E.jsx(U9,{}),E.jsx(H9,{}),C&&E.jsxs(Ne.div,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},transition:{duration:.2,delay:.1},style:{height:S,padding:"0 12px",borderRadius:S/2,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:12,fontWeight:500,color:"var(--uilint-text-muted)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:[E.jsxs("span",{style:{opacity:.7},children:[A,"K"]}),E.jsx("span",{style:{marginLeft:6,opacity:.5},children:"to search"})]}),p&&E.jsx(Ne.button,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.15,ease:[.32,.72,0,1]},onClick:c,"aria-label":"Open search",title:"Search issues",style:{width:S,height:S,borderRadius:S/2,border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--uilint-text-secondary)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:E.jsx(bS,{size:d?20:18})}),E.jsxs("div",{style:{position:"relative"},children:[E.jsx(Ne.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:l,"aria-label":"Open inspector",title:k?"Server not connected - click to see setup instructions":"Open inspector",style:{width:S,height:S,borderRadius:S/2,border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--uilint-text-secondary)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:E.jsx(z8,{size:d?20:18})}),k&&E.jsx(Ne.div,{initial:{scale:0},animate:{scale:1},style:{position:"absolute",top:-2,right:-2,width:10,height:10,borderRadius:"50%",background:"var(--uilint-warning, #fbbf24)",border:"2px solid var(--uilint-surface, #fff)",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.15)"},title:"Server not connected"})]})]})}),b)}const Ik=10,Y9={isSelecting:!1,startPoint:null,currentPoint:null,mounted:!1};function G9(a,r){switch(r.type){case"MOUNT":return{...a,mounted:!0};case"START_SELECTION":return{...a,isSelecting:!0,startPoint:r.point,currentPoint:r.point};case"UPDATE_SELECTION":return{...a,currentPoint:r.point};case"COMPLETE_SELECTION":return{...a,isSelecting:!1,startPoint:null,currentPoint:null};default:return a}}const Lr={overlayBg:"rgba(0, 0, 0, 0.5)",selectionBorder:"var(--uilint-accent, #fbbf24)",selectionBg:"transparent",textBg:"var(--uilint-backdrop, rgba(0, 0, 0, 0.8))",textColor:"var(--uilint-text-primary, #ffffff)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontMono:'"SF Mono", Monaco, "Cascadia Code", monospace'};function X9({active:a,onRegionSelected:r,onCancel:l}){const[c,d]=U.useReducer(G9,Y9),{isSelecting:p,startPoint:g,currentPoint:v,mounted:b}=c;U.useEffect(()=>{d({type:"MOUNT"})},[]);const S=U.useCallback(()=>{if(!g||!v)return null;const H=Math.min(g.x,v.x),Q=Math.min(g.y,v.y),K=Math.abs(v.x-g.x),q=Math.abs(v.y-g.y);return{x:H,y:Q,width:K,height:q}},[g,v]),A=U.useCallback(H=>{H.button===0&&d({type:"START_SELECTION",point:{x:H.clientX,y:H.clientY}})},[]),C=U.useCallback(H=>{!p||!g||d({type:"UPDATE_SELECTION",point:{x:H.clientX,y:H.clientY}})},[p,g]),k=U.useCallback(()=>{if(!p||!g)return;const H=S();H&&H.width>Ik&&H.height>Ik?r(H):l(),d({type:"COMPLETE_SELECTION"})},[p,g,S,r,l]);if(U.useEffect(()=>{if(!a)return;const H=Q=>{Q.key==="Escape"&&(Q.preventDefault(),Q.stopPropagation(),l())};return document.addEventListener("keydown",H,!0),()=>{document.removeEventListener("keydown",H,!0)}},[a,l]),U.useLayoutEffect(()=>{if(!a)return;const H=Q=>{Q.preventDefault()};return document.body.style.overflow="hidden",document.addEventListener("wheel",H,{passive:!1}),document.addEventListener("touchmove",H,{passive:!1}),()=>{document.body.style.overflow="",document.removeEventListener("wheel",H),document.removeEventListener("touchmove",H)}},[a]),!a||!b)return null;const M=S(),L=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;if(!L)return null;const B=E.jsxs("div",{"data-testid":"region-selector-overlay","data-ui-lint":!0,onMouseDown:A,onMouseMove:C,onMouseUp:k,style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:999999,cursor:"crosshair",backgroundColor:Lr.overlayBg,fontFamily:Lr.fontFamily},children:[E.jsxs("div",{style:{position:"absolute",top:"20px",left:"50%",transform:"translateX(-50%)",padding:"12px 20px",borderRadius:"12px",backgroundColor:Lr.textBg,color:Lr.textColor,fontSize:"14px",fontWeight:500,boxShadow:"0 4px 20px rgba(0, 0, 0, 0.4)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",pointerEvents:"none",userSelect:"none"},children:["Click and drag to select a region"," ",E.jsx("kbd",{style:{padding:"2px 6px",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.1)",border:"1px solid rgba(255, 255, 255, 0.2)",fontSize:"11px",fontFamily:Lr.fontMono,marginLeft:"4px"},children:"Esc"})," ","to cancel"]}),M&&M.width>0&&M.height>0&&E.jsxs(E.Fragment,{children:[E.jsx("div",{"data-testid":"selection-rectangle",style:{position:"absolute",left:`${M.x}px`,top:`${M.y}px`,width:`${M.width}px`,height:`${M.height}px`,border:`2px solid ${Lr.selectionBorder}`,backgroundColor:Lr.selectionBg,pointerEvents:"none",boxShadow:`0 0 0 9999px ${Lr.overlayBg}`}}),E.jsxs("div",{"data-testid":"dimensions-label",style:{position:"absolute",left:`${M.x}px`,top:`${M.y-32}px`,padding:"6px 10px",borderRadius:"6px",backgroundColor:Lr.textBg,color:Lr.textColor,fontSize:"12px",fontFamily:Lr.fontMono,fontWeight:500,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.3)",pointerEvents:"none",userSelect:"none",whiteSpace:"nowrap"},children:[Math.round(M.width)," x ",Math.round(M.height)]})]})]});return yd.createPortal(B,L)}let GS=!1;function $9(){if(typeof document>"u")return;let a=document.getElementById("uilint-portal");return a||(a=document.createElement("div"),a.id="uilint-portal",a.style.cssText="position: fixed; top: 0; left: 0; z-index: 99990; pointer-events: none;",document.body.appendChild(a),GS=!0),a}function Q9(){if(!GS)return;const a=document.getElementById("uilint-portal");a&&(a.remove(),GS=!1)}function I9({enabled:a=!0}){const r=Ce(v=>v.overlayInteraction),l=Ce(v=>v.completeOverlayInteraction),c=Ce(v=>v.cancelOverlayInteraction),d=r?.type==="region-select",p=U.useCallback(v=>{l(v)},[l]),g=U.useCallback(()=>{c()},[c]);return U.useEffect(()=>(a&&$9(),()=>{Q9()}),[a]),a?E.jsxs(E.Fragment,{children:[E.jsx(q9,{}),E.jsx(VD,{}),E.jsx(SN,{}),E.jsx(j9,{}),E.jsx(X9,{active:d,onRegionSelected:p,onCancel:g})]}):null}const Cb="data-loc",Z9=100;function F9(a,r){return`loc:${a}#${r}`}function P9(a){if(!a)return null;let r=a;if(r.startsWith("loc:")){r=r.slice(4);const l=r.lastIndexOf("#");l!==-1&&(r=r.slice(0,l))}return r||null}function K9(a,r){return r&&a.includes("node_modules")}class J9{observer=null;reconcileTimeout=null;knownElements=new Map;addedHandlers=new Set;removedHandlers=new Set;isRunning=!1;hideNodeModules=!0;options;constructor(r={}){this.options=r}setHideNodeModules(r){this.hideNodeModules=r,this.isRunning&&this.reconcile()}start(){if(typeof window>"u"&&!this.options.root||this.isRunning)return;this.isRunning=!0;const r=this.options.MutationObserverImpl??(typeof window<"u"?window.MutationObserver:void 0),l=this.options.root??(typeof document<"u"?document.body:void 0);r&&l&&(this.observer=new r(this.handleMutations.bind(this)),this.observer.observe(l,{childList:!0,subtree:!0})),this.reconcile()}stop(){this.isRunning=!1,this.observer&&(this.observer.disconnect(),this.observer=null),this.reconcileTimeout&&(clearTimeout(this.reconcileTimeout),this.reconcileTimeout=null),this.knownElements.clear()}onElementsAdded(r){return this.addedHandlers.add(r),()=>{this.addedHandlers.delete(r)}}onElementsRemoved(r){return this.removedHandlers.add(r),()=>{this.removedHandlers.delete(r)}}getElements(){return this.scanElements()}handleMutations(r){let l=!1;for(const c of r){for(const d of c.addedNodes)if(this.hasDataLocElements(d)){l=!0;break}if(l)break;for(const d of c.removedNodes)if(this.hasDataLocElements(d)){l=!0;break}if(l)break}l&&this.debouncedReconcile()}hasDataLocElements(r){return r instanceof Element?!!(r.hasAttribute(Cb)||r.querySelector(`[${Cb}]`)):!1}debouncedReconcile(){this.reconcileTimeout&&clearTimeout(this.reconcileTimeout),this.reconcileTimeout=setTimeout(()=>{this.reconcile(),this.reconcileTimeout=null},Z9)}reconcile(){if(typeof window>"u")return;const r=this.scanElements(),l=new Map(r.map(v=>[v.id,v])),c=new Set(l.keys()),d=new Set(this.knownElements.keys()),p=[];for(const v of r)d.has(v.id)||p.push(v);const g=[];for(const v of d)c.has(v)||g.push(v);this.knownElements.clear();for(const v of r)this.knownElements.set(v.id,v.element);if(p.length>0)for(const v of this.addedHandlers)try{v(p)}catch(b){yn("[DOMObserverService] Error in added handler:",b)}if(g.length>0)for(const v of this.removedHandlers)try{v(g)}catch(b){yn("[DOMObserverService] Error in removed handler:",b)}}scanElements(){const r=this.options.querySelectorAll??(typeof document<"u"?document.querySelectorAll.bind(document):void 0);if(!r)return[];const l=[],c=new Map,d=r(`[${Cb}]`);for(const p of d){if(this.isInsideUILintUI(p))continue;const g=p.getAttribute(Cb),v=P9(g??"");if(!v||K9(v,this.hideNodeModules))continue;const b=(c.get(v)??0)+1;c.set(v,b);const S=F9(v,b);l.push({id:S,dataLoc:v,element:p,tagName:p.tagName.toLowerCase(),rect:p.getBoundingClientRect()})}return l}isInsideUILintUI(r){return r.closest("[data-ui-lint]")!==null}}const Lg=new J9,W9={target:nj,link:X6,"external-link":_g,"chevron-right":_h,"chevron-down":Mg,"chevron-up":D6,x:fb,check:cC,"alert-triangle":_u,"alert-circle":Dg,info:us,"help-circle":z6,eye:hC,camera:R6,crop:B6,scan:W6,search:bS,filter:pC,brain:k6,sparkles:gC,code:L6,file:H6,"file-code":db,folder:V6,"git-branch":q6,copy:dC,clipboard:O6,book:A6,"book-open":T6,bookmark:C6,play:P6,pause:F6,refresh:mC,trash:ij,edit:tj,settings:xS,plus:K6,minus:I6,loader:$6,"check-circle":_6,"x-circle":cb,clock:j6};function Uu(a){return W9[a]??us}const Zk=new Map;function eL(a,r){Zk.set(a,r)}async function tL(a,r){const l=Zk.get(a);return l?l(r):{success:!1,error:`Unknown browser action: ${a}`}}function Uh(a,r,l){return{getState:()=>a.getState().plugins?.[r],setState:c=>{a.setState(c)},dispatch:(c,d)=>{if(l&&l[c]){const p=Uh(a,r,l);return l[c](p,d)}},websocket:a.websocket,getCurrentRoute:()=>window.location.pathname,requestBrowserAction:async(c,d)=>tL(c,d),registerBrowserAction:(c,d)=>{eL(c,d)},openInEditor:c=>{const[d,p]=c.split(":"),g=`vscode://file/${d}:${p}`;window.open(g,"_self")},setHeatmapFilter:(c,d)=>{a.getState().setHeatmapFilter?.(c,d)},clearHeatmapFilter:()=>{a.getState().clearHeatmapFilter?.()},openInspector:(c,d)=>{a.openInspector(c,{...d})},closeInspector:()=>{a.closeInspector()},requestOverlayInteraction:(c,d)=>new Promise((p,g)=>{const v=a.getState();if(!v.startOverlayInteraction){g(new Error("Overlay interactions not supported by host"));return}v.startOverlayInteraction({type:c,pluginId:r,onComplete:p,onCancel:()=>g(new Error("Overlay interaction cancelled"))})})}}function kb(a,r){if(!a)return!0;if(Hy(a)){const l=a.binding.split(".");let c=r;for(const d of l)if(c&&typeof c=="object")c=c[d];else return!1;return!!c}if(GE(a)){const l=a.expression,c=l.match(/^(\w+(?:\.\w+)*)\s*===?\s*(.+)$/);if(c){const[,p,g]=c;let v=r;for(const S of p.split("."))if(v&&typeof v=="object")v=v[S];else{v=void 0;break}const b=g.trim();return b==="true"?v===!0:b==="false"?v===!1:b==="null"?v===null:b==="0"?v===0:b.startsWith('"')&&b.endsWith('"')?v===b.slice(1,-1):String(v)===b}const d=l.match(/^(\w+(?:\.\w+)*)\.length\s*===?\s*(\d+)$/);if(d){const[,p,g]=d;let v=r;for(const b of p.split("."))if(v&&typeof v=="object")v=v[b];else{v=void 0;break}return Array.isArray(v)||typeof v=="string"||v instanceof Map?(v instanceof Map?v.size:v.length)===parseInt(g,10):!1}return!1}return!0}function nL(a,r,l){return{id:a.id,title:a.title,keywords:a.keywords,category:a.category,subtitle:a.subtitle,icon:a.icon?nn.createElement(Uu(a.icon),{size:16}):void 0,shortcut:a.shortcut,hideFromAllCategory:a.hideFromAllCategory,isAvailable:a.isAvailable?c=>{const d=c?.plugins?.[r];return kb(a.isAvailable,d)}:void 0,execute:c=>{const d=Uh(c,r,l);return XS(a.action,d,l)}}}function aL(a,r,l){return{id:a.id,icon:nn.createElement(Uu(a.icon),{size:16}),tooltip:a.tooltip,isVisible:a.isVisible?c=>{const d=c?.plugins?.[r];return kb(a.isVisible,d)}:void 0,isEnabled:a.isEnabled?c=>{const d=c?.plugins?.[r];return kb(a.isEnabled,d)}:void 0,onClick:c=>{const d=Uh(c,r,l);return XS(a.action,d,l)}}}function iL(a,r,l){return{id:a.id,icon:nn.createElement(Uu(a.icon),{size:16}),tooltip:a.tooltip,priority:a.priority,isVisible:a.isVisible?c=>{const d=c?.plugins?.[r];return kb(a.isVisible,d)}:void 0,actions:a.actions.map(c=>aL(c,r,l))}}function XS(a,r,l){if(!l||!l[a.type]){console.warn(`No handler found for action: ${a.type}`);return}const c=a.payload?{...a.payload}:{};if(a.payloadBindings){const d=r.getState();for(const[p,g]of Object.entries(a.payloadBindings)){const v=g.split(".");let b=d;for(const S of v)if(b&&typeof b=="object")b=b[S];else{b=void 0;break}c[p]=b}}return l[a.type](r,c)}function oL(a){const r=a.id,l=a.actions;return{id:a.id,name:a.name,version:a.version,description:a.description,icon:a.icon?nn.createElement(Uu(a.icon),{size:16}):void 0,dependencies:a.dependencies,createSlice:d=>{const p=a.state.initialState,g={...p};for(const v of Object.keys(p)){const b=`set${v.charAt(0).toUpperCase()}${v.slice(1)}`;g[b]=S=>{d.setState({[v]:S})}}return g},commands:a.commands?.map(d=>nL(d,r,l)),toolbarActionGroups:a.toolbarGroups?.map(d=>iL(d,r,l)),inspectorPanels:a.panels?.map(d=>({id:d.id,title:typeof d.title=="string"?d.title:d.title.binding,priority:d.priority,component:nn.lazy(()=>Promise.resolve().then(()=>dU).then(p=>({default:g=>{const b=g.services.getState().plugins?.[r]??{},S=(C,k)=>{const M=Uh(g.services,r,l);XS({type:C,payload:k},M,l)},A=p.SchemaPanel;return nn.createElement(A,{panel:d,data:g.data||{},state:b,onAction:S})}})))})),ruleContributions:a.rules?.filter(d=>d.contentRenderer||d.heatmapColor).map(d=>({ruleId:d.id,contentRenderer:d.contentRenderer,heatmapColor:d.heatmapColor})),handlesRules:a.handlesRuleCategories?d=>!!(d.category&&a.handlesRuleCategories?.includes(d.category)):void 0,getIssues:a.getIssues?d=>{const p=a.getIssues(d);return{pluginId:p.pluginId,issues:p.issues}}:void 0,initialize:d=>{const p=Uh(d,r,l),g=[];if(a.messageHandlers){for(const[b,S]of Object.entries(a.messageHandlers)){const A=d.websocket.on(b,C=>{S(p,C)});g.push(A)}const v=d.websocket.onConnectionChange(b=>{b&&a.onLoad&&a.onLoad(p)});g.push(v)}if(a.onLoad&&a.onLoad(p),g.length>0)return()=>{g.forEach(v=>v())}},dispose:a.onUnload?d=>{const p=Uh(d,r,l);return a.onUnload(p)}:void 0}}const rL=[{id:"eslint",name:"ESLint Analysis",load:()=>Promise.resolve().then(()=>jL),enabled:!0}],lL=[];async function sL(a){try{return(await a.load()).default}catch(r){return yn(`Failed to load plugin "${a.id}":`,r),null}}async function uL(){const a=lL.map(async c=>{try{await c()}catch(d){Ft("Failed to import external plugin:",d)}});await Promise.all(a);const r=X3.getAll();Fe(`[Loader] Found ${r.length} plugins in core registry`);const l=[];for(const c of r)try{const d=oL(c);l.push(d),Fe(`[Loader] Adapted plugin: ${c.id}`)}catch(d){yn(`[Loader] Failed to adapt plugin "${c.id}":`,d)}return l}async function cL(a=rL,r){const l=[],c=await uL();l.push(...c);const d=a.filter(b=>b.enabled);d.length+c.length;const p=d.map(async(b,S)=>await sL(b)),v=(await Promise.all(p)).filter(b=>b?b.id?!0:(Ft("Plugin missing id, skipping:",b),!1):!1);return l.push(...v),tw(l)}const $S=[{id:"eslint:toggle-scan",title:"Toggle ESLint Scan",keywords:["eslint","scan","toggle","enable","disable","start","stop"],category:"eslint",subtitle:"Enable or disable real-time ESLint analysis",icon:void 0,hideFromAllCategory:!0,execute:a=>{const l=a.getState().plugins.eslint;if(!l){Ft("[ESLint Command] ESLint plugin slice not found");return}l.scanStatus==="scanning"?l.stopScanning():l.startScanning(),a.closeCommandPalette()},isAvailable:a=>a.wsConnected===!0},{id:"eslint:start-scan",title:"Start ESLint Scan",keywords:["eslint","scan","start","analyze","lint","check"],category:"eslint",subtitle:"Scan all elements on the current page",hideFromAllCategory:!0,execute:a=>{const l=a.getState().plugins.eslint;if(!l){Ft("[ESLint Command] ESLint plugin slice not found");return}l.scanStatus!=="scanning"&&l.startScanning(),a.closeCommandPalette()},isAvailable:a=>{const r=a;return r.wsConnected===!0&&r.plugins?.eslint?.scanStatus!=="scanning"}},{id:"eslint:stop-scan",title:"Stop ESLint Scan",keywords:["eslint","scan","stop","disable","off"],category:"eslint",subtitle:"Stop scanning and clear results",hideFromAllCategory:!0,execute:a=>{const l=a.getState().plugins.eslint;if(!l){Ft("[ESLint Command] ESLint plugin slice not found");return}l.stopScanning(),a.closeCommandPalette()},isAvailable:a=>a.plugins?.eslint?.scanStatus==="scanning"},{id:"eslint:open-fixes",title:"Fix All Issues",keywords:["eslint","fix","fixes","autofix","repair","issues"],category:"eslint",subtitle:"Open the fixes inspector panel",hideFromAllCategory:!0,execute:a=>{a.openInspector("fixes",{}),a.closeCommandPalette()},isAvailable:a=>{const l=a.plugins?.eslint;return l?.scanStatus!=="scanning"||!l?.issues?!1:l.issues.size>0}},{id:"eslint:clear-rescan",title:"Clear & Rescan",keywords:["eslint","cache","clear","refresh","reset","rescan"],category:"eslint",subtitle:"Clear cached results and re-scan all files",hideFromAllCategory:!0,execute:a=>{const l=a.getState().plugins.eslint;if(!l){Ft("[ESLint Command] ESLint plugin slice not found");return}l.clearIssues(),l.startScanning(),a.closeCommandPalette()},isAvailable:a=>a.wsConnected===!0}];function dL(a){return a==="scanning"}const Fk={issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set,scanStatus:"scanning",lintingFiles:new Map,availableRules:[],disabledRules:new Set,workspaceRoot:null,ruleConfigs:new Map,ruleConfigUpdating:new Map,workspaceCapabilities:null};function Pk(a){return{...Fk}}function Kk(a,r,l){return{startScanning:()=>{l({scanStatus:"scanning"})},stopScanning:()=>{l({scanStatus:"idle",issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},setIssues:(c,d)=>{const p=r(),g=new Map(p.issues);d.length>0?g.set(c,d):g.delete(c),l({issues:g})},clearIssues:()=>{l({issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},toggleRule:c=>{const d=r(),p=new Set(d.disabledRules);p.has(c)?p.delete(c):p.add(c),l({disabledRules:p})},setAvailableRules:c=>{l({availableRules:c})},setWorkspaceRoot:c=>{l({workspaceRoot:c})},markScanned:c=>{const d=r(),p=new Set(d.scannedDataLocs);p.add(c),l({scannedDataLocs:p})},markFileRequested:c=>{const d=r(),p=new Set(d.requestedFiles);p.add(c),l({requestedFiles:p})},setScanStatus:c=>{l({scanStatus:c})}}}function fL(a,r){return r.size===0?a:a.filter(l=>!r.has(l.ruleId))}function hL(a){if(!a)return null;const r=a.lastIndexOf(":");if(r===-1)return null;const l=a.lastIndexOf(":",r-1);if(l===-1)return null;const c=a.substring(0,l);return c||null}function Jk(a){const r=new Set;for(const l of a){const c=hL(l);c&&r.add(c)}return r}function pL({value:a,onChange:r,disabled:l}){const c=[{value:"error",label:"E",color:"var(--uilint-error, oklch(0.72 0.17 25))"},{value:"warning",label:"W",color:"var(--uilint-warning, oklch(0.82 0.165 80))"},{value:"off",label:"Off",color:"#6b7280"}];return E.jsx("div",{style:{display:"flex",gap:4},children:c.map(d=>E.jsx("button",{onClick:()=>r(d.value),disabled:l,style:{padding:"4px 8px",fontSize:12,fontWeight:500,border:"none",borderRadius:4,cursor:l?"not-allowed":"pointer",background:a===d.value?d.color:"var(--uilint-surface-elevated)",color:a===d.value?"white":"var(--uilint-text-disabled)",opacity:l?.5:1},children:d.label},d.value))})}function mL({data:a}){const r=a?.ruleId,l=Ce(b=>{const S=b.plugins?.eslint;return!S?.availableRules||!r?null:S.availableRules.find(A=>A.id===r)}),c=Ce(b=>{const S=b.plugins?.eslint;return S?.ruleConfigs?S.ruleConfigs.get(r||""):null}),d=Ce(b=>{const S=b.plugins?.eslint;return S?.ruleConfigUpdating?S.ruleConfigUpdating.get(r||"")??!1:!1}),p=Ce(b=>{const S=b.plugins?.eslint;if(!S?.issues)return 0;let A=0;return S.issues.forEach(C=>{A+=C.filter(k=>k.ruleId===r).length}),A}),g=U.useCallback(b=>{r&&Kn.setRuleSeverity(r,b)},[r]);if(!r)return E.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"No rule selected"});if(!l)return E.jsxs("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:["Rule not found: ",r]});const v=c?.severity?c.severity==="warn"?"warning":c.severity:l.currentSeverity==="warn"?"warning":l.currentSeverity??"off";return E.jsxs("div",{style:{padding:16},children:[E.jsxs("div",{style:{marginBottom:16},children:[E.jsx("div",{style:{fontSize:16,fontWeight:600,color:"var(--uilint-text-primary)",marginBottom:4},children:l.name}),E.jsx("div",{style:{fontSize:12,color:"var(--uilint-text-muted)",fontFamily:"monospace"},children:l.id})]}),E.jsx("div",{style:{fontSize:14,color:"var(--uilint-text-secondary)",marginBottom:16,lineHeight:1.5},children:l.description}),E.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[E.jsx("span",{style:{fontSize:11,fontWeight:500,textTransform:"uppercase",background:l.category!=="static"?"rgba(59, 130, 246, 0.1)":"var(--uilint-surface-elevated)",color:l.category!=="static"?"var(--uilint-accent)":"var(--uilint-text-muted)",padding:"2px 6px",borderRadius:4},children:l.category}),p>0&&E.jsxs("span",{style:{fontSize:11,fontWeight:500,background:"rgba(239, 68, 68, 0.1)",color:"#dc2626",padding:"2px 6px",borderRadius:4},children:[p," issue",p!==1?"s":""]})]}),E.jsxs("div",{style:{marginBottom:16},children:[E.jsx("div",{style:{fontSize:12,fontWeight:500,color:"var(--uilint-text-muted)",marginBottom:8},children:"Severity"}),E.jsx(pL,{value:v,onChange:g,disabled:d}),d&&E.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:4},children:"Updating..."})]}),l.docs&&E.jsx("div",{style:{marginTop:16},children:E.jsx("a",{href:l.docs,target:"_blank",rel:"noopener noreferrer",style:{fontSize:12,color:"var(--uilint-accent)",textDecoration:"none"},children:"View documentation"})})]})}function kd(a){const r={error:0,warning:0,info:0};for(const l of a)l.severity==="error"?r.error++:l.severity==="warning"?r.warning++:l.severity==="info"&&r.info++;return r}function gL(a,r=[]){const l=new Map;for(const p of a){const g=p.ruleId,v=l.get(g)||[];l.set(g,[...v,p])}const c=new Map;for(const p of r)c.set(p.id,p);const d=[];for(const[p,g]of l){const v=c.get(p),b=kd(g),S=p.includes("/")?p.split("/").pop():p;d.push({id:`rule:${p}`,label:v?.name||S,subtitle:v?.description||p,count:g.length,severityCounts:b,metadata:{isRule:!0,ruleId:p,tileType:"rule",category:v?.category,currentSeverity:v?.currentSeverity,defaultSeverity:v?.defaultSeverity,currentOptions:v?.currentOptions,optionSchema:v?.optionSchema}})}return d.sort((p,g)=>{const v=p.severityCounts?.error??0,b=g.severityCounts?.error??0;return v!==b?b-v:g.count-p.count}),d}function Wk(a,r){const l=a.filter(p=>p.ruleId===r),c=new Map;for(const p of l){const g=p.filePath,v=c.get(g)||[];c.set(g,[...v,p])}const d=[];for(const[p,g]of c){const v=kd(g),S=p.split("/").pop()||p;d.push({id:`file:${p}:${r}`,label:S,subtitle:p,count:g.length,severityCounts:v,metadata:{isFile:!0,filePath:p,ruleId:r,tileType:"file"}})}return d.sort((p,g)=>{const v=p.severityCounts?.error??0,b=g.severityCounts?.error??0;return v!==b?b-v:g.count-p.count}),d}function vL(a){const r=new Map;for(const c of a){const d=c.filePath,p=r.get(d)||[];r.set(d,[...p,c])}const l=[];for(const[c,d]of r){const p=kd(d),v=c.split("/").pop()||c,b=new Set(d.map(S=>S.ruleId));l.push({id:`file:${c}`,label:v,subtitle:c,count:d.length,severityCounts:p,metadata:{isFile:!0,filePath:c,tileType:"file",ruleCount:b.size,issues:d}})}return l.sort((c,d)=>{const p=c.severityCounts?.error??0,g=d.severityCounts?.error??0;return p!==g?g-p:d.count-c.count}),l}function yL(a,r=[]){if(a.length===0)return[];const l=bL(a,r),c=vL(a),d=[...l,...c];return d.sort((p,g)=>{const v=p.severityCounts?.error??0,b=g.severityCounts?.error??0;return v!==b?b-v:g.count-p.count}),d}function bL(a,r=[]){const l=new Map;for(const p of a){const g=p.ruleId,v=l.get(g)||[];l.set(g,[...v,p])}const c=new Map;for(const p of r)c.set(p.id,p);const d=[];for(const[p,g]of l){const v=c.get(p),b=kd(g),S=p.includes("/")?p.split("/").pop():p,A=new Set(g.map(C=>C.filePath));d.push({id:`rule:${p}`,label:v?.name||S,subtitle:v?.description||p,count:g.length,severityCounts:b,fileCount:A.size,metadata:{isRule:!0,ruleId:p,tileType:"rule",issues:g,category:v?.category,currentSeverity:v?.currentSeverity,defaultSeverity:v?.defaultSeverity,currentOptions:v?.currentOptions,optionSchema:v?.optionSchema}})}return d}function Ug(a){const l=a.getState()?.plugins?.eslint;if(!l?.issues)return[];const c=l.disabledRules??new Set,d=[];for(const p of l.issues.values())for(const g of p)c.has(g.ruleId)||d.push(g);return d}function QS(a){return a.getState()?.plugins?.eslint?.availableRules??[]}function eR(a,r){const l=Ug(a);if(l.length===0)return[];const c=QS(a);return yL(l,c)}function tR(a){const r=a.metadata??{};if(r.isRule)return{type:"rule",id:r.ruleId,label:a.label,providerId:"eslint"};if(r.isFile){const l=r.filePath,c=l.split("/").pop()||l;return{type:"file",id:l,label:c,providerId:"eslint"}}return{type:"scope",id:a.id,label:a.label,providerId:"eslint"}}function nR(a){const r=a.some(c=>c.type==="rule"),l=a.some(c=>c.type==="file");return r&&l}function aR(a){const r=a.metadata??{};return r.isRule?{panelId:"eslint-rule",data:{ruleId:r.ruleId}}:r.isFile?{panelId:"eslint-rule",data:{ruleId:r.ruleId,filePath:r.filePath}}:r.isIssue?{panelId:"eslint-rule",data:{ruleId:r.ruleId,filePath:r.filePath,issueId:r.issueId,line:r.line}}:{panelId:"eslint-rule",data:{}}}function xL(a,r,l){let c=a.filter(d=>d.filePath===r);return l&&(c=c.filter(d=>d.ruleId===l)),c.sort((d,p)=>d.line-p.line),c.map(d=>({id:`issue:${d.id}`,label:d.message,subtitle:`Line ${d.line}${d.column?`:${d.column}`:""}`,count:1,severityCounts:{error:d.severity==="error"?1:0,warning:d.severity==="warning"?1:0,info:d.severity==="info"?1:0},metadata:{isIssue:!0,issueId:d.id,ruleId:d.ruleId,filePath:d.filePath,line:d.line,column:d.column,severity:d.severity,issue:d}}))}function wL(a,r){const l=a.metadata??{},c=Ug(r);if(c.length!==0){if(l.isRule){const d=l.ruleId;return Wk(c,d)}if(l.isFile){const d=l.filePath,p=l.ruleId;return xL(c,d,p)}l.isIssue}}function SL(a){const r=a.metadata??{};return!!(r.isRule||r.isFile)}function EL({severity:a}){switch(a){case"error":return E.jsx(Dg,{size:13,className:"text-error flex-shrink-0"});case"warning":return E.jsx(_u,{size:13,className:"text-warning flex-shrink-0"});case"info":return E.jsx(us,{size:13,className:"text-info flex-shrink-0"})}}function TL({severity:a}){const r=a==="error"?"text-error bg-error/10":a==="warning"?"text-warning bg-warning/10":"text-info bg-info/10";return E.jsx("span",{className:be("inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-medium",r),children:a})}function AL(a,r,l){const c=[],d=a?.category;d&&d!=="static"&&c.push({label:d,accent:!0});const p=a?.defaultSeverity;p&&r!==p&&c.push({label:r});const g=a?.optionSchema,v=a?.defaultOptions,b=Array.isArray(v)?v[0]??{}:{};if(l&&g?.fields)for(const S of g.fields){const A=l[S.key];if(A!==void 0&&A!==b[S.key]){const C=typeof A=="boolean"?`${S.label}: ${A?"on":"off"}`:`${S.label}: ${String(A)}`;if(c.push({label:C}),c.length>=3)break}}return c}function CL({ruleId:a,currentSeverity:r,ruleMeta:l,currentOptions:c,defaultOptions:d,onSeverityChange:p,onOptionChange:g,onResetOptions:v,isUpdating:b}){const[S,A]=U.useState(!1),C=U.useMemo(()=>AL(l,r,c),[l,r,c]),k=[{value:"off",label:"Off",dot:"bg-muted-foreground/30"},{value:"warn",label:"Warn",dot:"bg-warning/70"},{value:"error",label:"Error",dot:"bg-error/70"}];return E.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 border-b border-foreground/[0.06]",children:[E.jsx("div",{className:"flex items-center gap-0.5 p-0.5 bg-foreground/[0.02] rounded-md border border-foreground/[0.04]",children:k.map(M=>E.jsxs("button",{type:"button",onClick:()=>p(M.value),className:be("flex items-center gap-1 px-1.5 py-0.5 rounded","text-[10px] transition-colors duration-100",r===M.value?"bg-foreground/[0.08] text-foreground font-medium":"text-foreground/50 hover:bg-foreground/[0.04] hover:text-foreground/70"),children:[E.jsx("span",{className:be("w-1.5 h-1.5 rounded-full flex-shrink-0",M.dot)}),M.label]},M.value))}),C.map(M=>E.jsx("span",{className:be("rounded-full px-2 py-0.5 text-[10px] leading-tight","border border-foreground/[0.06]",M.accent?"text-purple-500/70 bg-purple-500/[0.06]":"text-muted-foreground/60 bg-foreground/[0.02]"),children:M.label},M.label)),E.jsx("div",{className:"flex-1"}),E.jsx("div",{onKeyDown:M=>{M.key==="Escape"&&S&&M.stopPropagation()},children:E.jsx(hk,{open:S,onClose:()=>A(!1),placement:"bottom",align:"end",width:320,trigger:E.jsxs("button",{type:"button",onClick:()=>A(!S),className:be("inline-flex items-center gap-1.5","px-2 py-1 rounded","text-[11px] text-muted-foreground/60 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100",S&&"bg-foreground/[0.04] text-foreground/80"),children:[E.jsx(xS,{size:12}),"Configure"]}),children:E.jsx("div",{className:"p-1",children:E.jsx(Ak,{ruleId:a,currentSeverity:r,onSeverityChange:p,optionSchema:l?.optionSchema,currentOptions:c,defaultOptions:d,onOptionChange:g,onResetOptions:v,isUpdating:b})})})})]})}function kL({filePath:a,issues:r,defaultExpanded:l,onIssueClick:c}){const[d,p]=U.useState(l),g=a.split("/").pop()||a,v=U.useMemo(()=>[...r].sort((b,S)=>b.line-S.line),[r]);return E.jsxs("div",{className:"border-b border-foreground/[0.04] last:border-b-0",children:[E.jsxs("button",{onClick:()=>p(!d),className:be("w-full flex items-center gap-2 px-3 py-2","text-left hover:bg-foreground/[0.03] transition-colors duration-100"),children:[d?E.jsx(Mg,{size:12,className:"text-muted-foreground/50 flex-shrink-0"}):E.jsx(_h,{size:12,className:"text-muted-foreground/50 flex-shrink-0"}),E.jsx(db,{size:13,className:"text-muted-foreground/60 flex-shrink-0"}),E.jsx("span",{className:"text-xs font-medium text-foreground/80 truncate flex-1",children:g}),E.jsx("span",{className:"text-[10px] text-muted-foreground/50 tabular-nums flex-shrink-0",children:r.length})]}),d&&E.jsx(Ne.div,{initial:!1,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.1},children:v.map(b=>E.jsxs("button",{type:"button",onClick:()=>c(a,b.id),className:be("w-full flex items-center gap-2 pl-8 pr-3 py-1.5","border-t border-foreground/[0.02]","text-left hover:bg-foreground/[0.03] transition-colors duration-100","cursor-pointer"),children:[E.jsx(EL,{severity:b.severity}),E.jsx("span",{className:"text-[11px] font-mono text-muted-foreground/50 tabular-nums w-7 flex-shrink-0",children:b.line}),E.jsx("span",{className:"text-[11px] text-foreground/60 truncate",children:b.message})]},b.id))})]})}function RL({ruleId:a,services:r}){const l=Ug(r),c=QS(r),[d,p]=U.useState(null),[g,v]=U.useState(null);U.useEffect(()=>{p(null),v(null)},[a]);const b=U.useMemo(()=>c.find(J=>J.id===a),[c,a]),S=U.useMemo(()=>l.filter(J=>J.ruleId===a),[l,a]),A=U.useMemo(()=>{const J=new Map;for(const $ of S){const ge=J.get($.filePath)||[];J.set($.filePath,[...ge,$])}return Array.from(J.entries()).sort(([,$],[,ge])=>ge.length-$.length)},[S]),C=U.useMemo(()=>d?S.filter(J=>J.filePath===d):[],[S,d]),k=Ce(J=>J.plugins?.eslint?.ruleConfigs?.get(a)),M=Ce(J=>J.plugins?.eslint?.ruleConfigUpdating?.get(a)??!1),L=U.useMemo(()=>k?.severity??b?.defaultSeverity??"warn",[k?.severity,b?.defaultSeverity]),B=U.useMemo(()=>b?.defaultOptions?Array.isArray(b.defaultOptions)?b.defaultOptions[0]??{}:b.defaultOptions??{}:{},[b?.defaultOptions]),H=U.useCallback(J=>{const $=J==="warn"?"warning":J;Kn.setRuleSeverity(a,$)},[a]),Q=U.useCallback((J,$)=>{const we={...k?.options??{},[J]:$};Kn.setRuleConfig(a,we)},[a,k?.options]),K=U.useCallback(()=>{if(!b?.defaultOptions)return;const J=Array.isArray(b.defaultOptions)?b.defaultOptions[0]??{}:b.defaultOptions??{};Kn.setRuleConfig(a,J)},[a,b?.defaultOptions]),q=U.useCallback((J,$)=>{p(J),v($)},[]),ae=U.useCallback(()=>{p(null),v(null)},[]),he=a.includes("/")?a.split("/").pop():a,Ae=S.some(J=>J.severity==="error")?"error":S.some(J=>J.severity==="warning")?"warning":"info";if(d){const J=d.split("/").pop()||d;return E.jsxs("div",{className:"flex flex-col h-full",children:[E.jsx(Hk,{expandedRuleName:b?.name||he,expandedFileName:J,onCollapseToRoot:ae,onCollapseFile:ae,variant:"embedded"}),E.jsx("div",{className:"flex-1 overflow-y-auto",children:C.length>0?E.jsx(VS,{filePath:d,issues:C,contextLines:2,selectedIssueId:g,onIssueSelect:v}):E.jsx("div",{className:"flex items-center justify-center py-12 text-xs text-muted-foreground/50",children:"No issues in this file"})})]})}return E.jsxs("div",{className:"flex flex-col h-full",children:[E.jsxs("div",{className:"px-4 pt-4 pb-3 border-b border-foreground/[0.06]",children:[E.jsxs("div",{className:"flex items-center gap-2 mb-1.5",children:[E.jsx("h3",{className:"text-sm font-semibold text-foreground/90 truncate",children:b?.name||he}),S.length>0&&E.jsx(TL,{severity:Ae})]}),b?.description&&E.jsx("p",{className:"text-xs text-muted-foreground/70 leading-relaxed line-clamp-2",children:b.description}),E.jsxs("div",{className:"flex items-center gap-3 mt-2 text-[10px] text-muted-foreground/50",children:[E.jsxs("span",{className:"tabular-nums",children:[S.length," issue",S.length!==1?"s":""]}),E.jsxs("span",{className:"tabular-nums",children:[A.length," file",A.length!==1?"s":""]})]})]}),E.jsx(CL,{ruleId:a,currentSeverity:L,ruleMeta:b,currentOptions:k?.options,defaultOptions:B,onSeverityChange:H,onOptionChange:Q,onResetOptions:K,isUpdating:M}),E.jsx("div",{className:"flex-1 overflow-y-auto",children:A.length>0?A.map(([J,$],ge)=>E.jsx(kL,{filePath:J,issues:$,defaultExpanded:ge<3,onIssueClick:q},J)):E.jsx("div",{className:"flex items-center justify-center py-12 text-xs text-muted-foreground/50",children:"No issues found for this rule"})})]})}function ML({filePath:a,services:r}){const[l,c]=U.useState(null),d=Ug(r),p=U.useMemo(()=>d.filter(C=>C.filePath===a),[d,a]),g=U.useCallback(C=>{c(C)},[]),v=a.split("/").pop()||a,b=p.filter(C=>C.severity==="error").length,S=p.filter(C=>C.severity==="warning").length,A=p.filter(C=>C.severity==="info").length;return E.jsxs("div",{className:"flex flex-col h-full",children:[E.jsxs("div",{className:"px-4 pt-4 pb-3 border-b border-foreground/[0.06]",children:[E.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[E.jsx(db,{size:14,className:"text-muted-foreground/60 flex-shrink-0"}),E.jsx("h3",{className:"text-sm font-semibold text-foreground/90 truncate",children:v})]}),E.jsx("p",{className:"text-[11px] text-muted-foreground/50 truncate mb-2",children:a}),E.jsxs("div",{className:"flex items-center gap-3 text-[10px]",children:[b>0&&E.jsxs("span",{className:"flex items-center gap-1 text-error/80",children:[E.jsx(Dg,{size:10}),E.jsx("span",{className:"tabular-nums",children:b})]}),S>0&&E.jsxs("span",{className:"flex items-center gap-1 text-warning/80",children:[E.jsx(_u,{size:10}),E.jsx("span",{className:"tabular-nums",children:S})]}),A>0&&E.jsxs("span",{className:"flex items-center gap-1 text-info/80",children:[E.jsx(us,{size:10}),E.jsx("span",{className:"tabular-nums",children:A})]})]})]}),E.jsx("div",{className:"flex-1 overflow-y-auto",children:p.length>0?E.jsx(VS,{filePath:a,issues:p,contextLines:2,selectedIssueId:l,onIssueSelect:g}):E.jsx("div",{className:"flex items-center justify-center py-12 text-xs text-muted-foreground/50",children:"No issues in this file"})})]})}function DL(a){const r=Ug(a),l=QS(a),c=[],d=new Map;for(const v of r){const b=d.get(v.ruleId)||[];d.set(v.ruleId,[...b,v])}const p=new Map(l.map(v=>[v.id,v]));for(const[v,b]of d){const S=p.get(v),A=v.includes("/")?v.split("/").pop():v,C=new Set(b.map(k=>k.filePath));c.push({id:`rule:${v}`,section:"rules",label:S?.name||A,subtitle:S?.description||v,severityCounts:kd(b),count:b.length,fileCount:C.size,searchFields:{label:S?.name||A,subtitle:S?.description,keywords:[v,A,S?.category||""].filter(Boolean),extra:b.slice(0,20).map(k=>k.message)},metadata:{ruleId:v,tileType:"rule"}})}for(const v of l){if(d.has(v.id))continue;const b=v.id.includes("/")?v.id.split("/").pop():v.id;c.push({id:`rule:${v.id}`,section:"rules",label:v.name||b,subtitle:v.description||v.id,severityCounts:{error:0,warning:0,info:0},count:0,fileCount:0,searchFields:{label:v.name||b,subtitle:v.description,keywords:[v.id,b,v.category||""].filter(Boolean)},metadata:{ruleId:v.id,tileType:"rule"}})}const g=new Map;for(const v of r){const b=g.get(v.filePath)||[];g.set(v.filePath,[...b,v])}for(const[v,b]of g){const S=v.split("/").pop()||v,A=new Set(b.map(C=>C.ruleId));c.push({id:`file:${v}`,section:"files",label:S,subtitle:v,severityCounts:kd(b),count:b.length,fileCount:A.size,searchFields:{label:S,subtitle:v,keywords:Array.from(A),extra:b.slice(0,20).map(C=>C.message)},metadata:{filePath:v,tileType:"file"}})}return c.sort((v,b)=>{const S=v.severityCounts?.error??0,A=b.severityCounts?.error??0;return S!==A?A-S:(b.count??0)-(v.count??0)}),c}function _L(a,r){const l=a.metadata?.tileType;if(l==="rule"){const c=a.metadata?.ruleId;return{element:U.createElement(RL,{ruleId:c,services:r})}}if(l==="file"){const c=a.metadata?.filePath;return{element:U.createElement(ML,{filePath:c,services:r})}}return null}const zL={eslint:{onPageLoad:!1,onFileChange:!0},vision:{onRouteChange:!1,onInitialLoad:!1}},iR=["lint:result","lint:progress","file:changed","workspace:info","workspace:capabilities","rules:metadata","rule:config:result","rule:config:changed"],IS={id:"eslint",name:"ESLint Analysis",version:"1.0.0",description:"Real-time ESLint analysis with heatmap visualization",ruleCategories:["static"],meta:{id:"eslint",name:"ESLint Analysis",version:"1.0.0",description:"Real-time ESLint analysis with heatmap visualization"},createSlice:a=>{const r=Pk();let l=r;const p=Kk(a,()=>l,g=>{l={...l,...g},a.setState(g)});return{...r,...p}},commands:$S,inspectorPanels:[{id:"eslint-rule",title:({data:a})=>a?.ruleId?`Rule: ${a.ruleId}`:"Rule Details",component:mL,priority:10}],tileProvider:{getTileItems:eR,createFilter:tR,isTerminal:nR,getInspectorData:aR,getChildItems:wL,canExpand:SL},getSearchItems:DL,getPreviewPanel:_L,handlesRules:a=>a.id.startsWith("uilint/")||a.category==="static"?!0:(a.id==="uilint/semantic-vision",!1),getIssues:a=>{const r=a,l=new Map;return r.issues.forEach((c,d)=>{const p=c.map(g=>({id:g.id,message:g.message,severity:g.severity,dataLoc:g.dataLoc,line:g.line,column:g.column,ruleId:g.ruleId}));p.length>0&&l.set(d,p)}),{pluginId:"eslint",issues:l}},getPaletteItems:a=>{const r=[],l=a.getState(),c=l?.plugins?.eslint;if(c?.issues)for(const[,d]of c.issues)for(const p of d){const g=p.filePath.split("/").pop()||p.filePath,v=p.ruleId.includes("/")?p.ruleId.split("/").pop():p.ruleId;r.push({id:`eslint:issue:${p.id}`,title:p.message,subtitle:`${g}:${p.line}`,keywords:["Lint",p.ruleId,v,g,p.severity].filter((b,S,A)=>A.indexOf(b)===S),execute:b=>{b.openInspector("issue",{issue:p}),b.closeCommandPalette()},metadata:{issue:p,providerId:"eslint"}})}for(const d of $S)d.isAvailable&&!d.isAvailable(l)||r.push({id:d.id,title:d.title,subtitle:d.subtitle,keywords:["Command","ESLint",...d.keywords],execute:d.execute,metadata:{isCommand:!0}});return r},getRules:a=>{const r=a.getState();if(!r?.availableRules)return[];const l=r.ruleConfigs??new Map;return r.availableRules.map(c=>{const p=l.get(c.id)?.severity??c.currentSeverity??c.defaultSeverity,g=p==="warn"?"warning":p;return{id:c.id,name:c.name,description:c.description,category:c.category,severity:g,fixable:!1,pluginId:"eslint",docs:c.docs}})},setRuleSeverity:(a,r,l)=>{const c=r==="warning"?"warn":r,d=l.getState(),p=new Map(d.ruleConfigUpdating??new Map);p.set(a,!0),l.setState({ruleConfigUpdating:p}),l.websocket.send({type:"rule:config:set",ruleId:a,severity:c,requestId:`rule-severity-${Date.now()}`}),Fe("[ESLint Plugin] Setting rule severity:",a,"->",c)},getRuleConfig:(a,r)=>(r.getState()?.ruleConfigs??new Map).get(a)?.options??{},setRuleConfig:(a,r,l)=>{const c=l.getState(),d=new Map(c.ruleConfigUpdating??new Map);d.set(a,!0),l.setState({ruleConfigUpdating:d}),l.websocket.send({type:"rule:config:set",ruleId:a,options:r,requestId:`rule-config-${Date.now()}`}),Fe("[ESLint Plugin] Setting rule config:",a,r)},initialize:a=>{if(Fe("[ESLint Plugin] Initializing..."),Tb())return Fe("[ESLint Plugin] Running in STATIC mode (manifest-based)"),T7(a);Fe("[ESLint Plugin] Running in WEBSOCKET mode");const r=[];for(const c of iR){const d=a.websocket.on(c,p=>{rR(a,p)});r.push(d)}Fe("[ESLint Plugin] Subscribed to",iR.length,"message types");const l=a.domObserver.onElementsAdded(c=>{OL(a,c)});return r.push(l),Fe("[ESLint Plugin] Subscribed to DOM observer"),()=>{Fe("[ESLint Plugin] Disposing..."),r.forEach(c=>c())}},dispose:a=>{Fe("[ESLint Plugin] Disposed")}};function oR(a){const r=a.domObserver.getElements();if(r.length===0)return;const l=r.map(p=>p.dataLoc),c=Jk(l);if(c.size===0)return;const d=new Set;for(const p of c){const g=`lint-${Date.now()}-${p.replace(/[^a-zA-Z0-9]/g,"-")}`;a.websocket.send({type:"lint:file",filePath:p,requestId:g}),d.add(p)}a.setState({requestedFiles:d}),Fe("[ESLint Plugin] Re-requested linting for",c.size,"files after config change")}function OL(a,r){const l=a.getState();if(Fe("[ESLint Plugin] handleElementsAdded called with",r.length,"elements"),Fe("[ESLint Plugin] State check - scanStatus:",l?.scanStatus,"wsConnected:",a.websocket.isConnected),l.scanStatus!=="scanning"){Fe("[ESLint Plugin] Scanning not active (status:",l.scanStatus,"), skipping lint requests");return}if(!a.websocket.isConnected){Fe("[ESLint Plugin] WebSocket not connected, skipping lint requests");return}const c=r.map(v=>v.dataLoc),d=Jk(c);if(d.size===0){Fe("[ESLint Plugin] No file paths extracted from",r.length,"elements");return}Fe("[ESLint Plugin] Detected",r.length,"elements from",d.size,"unique files:",Array.from(d).slice(0,3));const p=l.requestedFiles??new Set,g=[];for(const v of d)if(!p.has(v)){g.push(v);const b=`lint-${Date.now()}-${v.replace(/[^a-zA-Z0-9]/g,"-")}`;a.websocket.send({type:"lint:file",filePath:v,requestId:b}),Fe("[ESLint Plugin] Sent lint:file request for",v)}if(g.length>0){const v=new Set(p);for(const b of g)v.add(b);a.setState({requestedFiles:v}),Fe("[ESLint Plugin] Updated requestedFiles with",g.length,"new files")}else Fe("[ESLint Plugin] All files already requested, skipping")}function rR(a,r){switch(r.type){case"lint:result":{const{filePath:l,issues:c}=r;Fe("[ESLint Plugin] Received lint result:",l,c.length,"issues");const d=c.map(b=>BD({...b,dataLoc:b.dataLoc||`${l}:${b.line}:${b.column||0}`})).filter(b=>b!==null),p=new Map;for(const b of d){const S=p.get(b.dataLoc)||[];p.set(b.dataLoc,[...S,b])}const g=a.getState(),v=new Map(g.issues);for(const[b,S]of p)v.set(b,S);a.setState({issues:v});break}case"lint:progress":{const{filePath:l,phase:c}=r;Fe("[ESLint Plugin] Lint progress:",l,c);const d=a.getState(),p=new Map(d.lintingFiles);if(c.startsWith("Done"))p.delete(l);else{const g=p.get(l);p.set(l,{phase:c,startedAt:g?.startedAt??Date.now()})}a.setState({lintingFiles:p});break}case"file:changed":{const{filePath:l}=r;Fe("[ESLint Plugin] File changed:",l);const c=a.getState(),d=new Map(c.issues);for(const[g]of d)g.startsWith(l+":")&&d.delete(g);const p=new Set(c.requestedFiles??new Set);p.delete(l),a.setState({issues:d,requestedFiles:p});break}case"workspace:info":{const{appRoot:l,workspaceRoot:c,serverCwd:d}=r;Fe("[ESLint Plugin] Workspace info:",{appRoot:l,workspaceRoot:c,serverCwd:d}),a.setState({appRoot:l,workspaceRoot:c,serverCwd:d});break}case"workspace:capabilities":{const{postToolUseHook:l}=r;Fe("[ESLint Plugin] Workspace capabilities:",{postToolUseHook:l}),a.setState({workspaceCapabilities:{postToolUseHook:l}});break}case"rules:metadata":{const{rules:l}=r;Fe("[ESLint Plugin] Received rules metadata:",l.length,"rules");const c=new Map;for(const d of l)c.set(d.id,{severity:d.currentSeverity??d.defaultSeverity,options:d.currentOptions??(d.defaultOptions&&d.defaultOptions.length>0?d.defaultOptions[0]:void 0)});a.setState({availableRules:l,ruleConfigs:c});break}case"rule:config:result":{const{ruleId:l,severity:c,options:d,success:p,error:g}=r,v=a.getState(),b=new Map(v.ruleConfigUpdating);if(b.delete(l),a.setState({ruleConfigUpdating:b}),p){const S=a.getState(),A=new Map(S.ruleConfigs);A.set(l,{severity:c,options:d}),a.setState({ruleConfigs:A,issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set}),oR(a),Fe("[ESLint Plugin] Rule config updated:",l,"->",c,"- refreshing lint results")}else yn("[ESLint Plugin] Failed to update rule config:",g);break}case"rule:config:changed":{const{ruleId:l,severity:c,options:d}=r,p=a.getState(),g=new Map(p.ruleConfigs);g.set(l,{severity:c,options:d}),a.setState({ruleConfigs:g,issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set}),oR(a),Fe("[ESLint Plugin] Rule config changed (broadcast):",l,"->",c,"- refreshing lint results");break}}}const jL=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_AUTO_SCAN_SETTINGS:zL,_handleWebSocketMessageForTesting:rR,aggregateByFile:Wk,aggregateByRule:gL,clearStaticMode:Ok,configureStaticMode:zk,countSeverities:kd,createESLintActions:Kk,createESLintSlice:Pk,createEslintTileFilter:tR,default:IS,eslintCommands:$S,eslintPlugin:IS,filterByDisabledRules:fL,getEslintInspectorData:aR,getEslintTileItems:eR,getFileSource:BS,getManifestMetadata:A7,initialESLintState:Fk,isEslintTileTerminal:nR,isScanning:dL,isStaticMode:Tb},Symbol.toStringTag,{value:"Module"}));function NL(a){const r=new Map;for(const l of a){const c=l.filePath||"unknown",d=r.get(c)||[];d.push(l),r.set(c,d)}for(const[l,c]of r)r.set(l,c.sort((d,p)=>d.line-p.line));return r}function LL(a,r,l){const c=Array.from(a.values()).reduce((g,v)=>g+v.length,0),d=a.size;if(c===0)return"No lint issues found on the current page.";const p=[];if(p.push("# Fix Lint Issues"),p.push(""),p.push(`There are **${c} lint issue${c===1?"":"s"}** across **${d} file${d===1?"":"s"}** that need to be fixed.`),p.push(""),p.push("## Instructions"),p.push(""),p.push("1. Fix ALL of the lint issues in the files listed below"),p.push("2. Do NOT ignore or suppress any issues with eslint-disable comments"),p.push("3. Do NOT skip any issues - each one must be properly addressed"),p.push("4. Run the linter after fixing to verify all issues are resolved"),p.push("5. If an issue cannot be fixed without breaking functionality, explain why and propose an alternative solution"),p.push(""),l){p.push("## Affected Files"),p.push(""),p.push("The following files have lint issues. When you edit each file, you will receive the specific lint errors automatically."),p.push("");for(const[g,v]of a){const b=r&&g.startsWith(r)?g.slice(r.length+1):g;p.push(`- \`${b}\` (${v.length} issue${v.length===1?"":"s"})`)}p.push(""),p.push("---"),p.push(""),p.push("Open each file above and fix all reported lint issues. The linter will provide specific error details when you edit each file.")}else{p.push("## Affected Files"),p.push("");for(const[g,v]of a){const b=r&&g.startsWith(r)?g.slice(r.length+1):g;p.push(`### ${b}`),p.push("");for(const S of v){const A=S.column?`Line ${S.line}, Column ${S.column}`:`Line ${S.line}`,C=S.severity==="error"?"ERROR":"WARNING",k=S.ruleId?` (${S.ruleId})`:"";p.push(`- **[${C}]** ${A}${k}`),p.push(` ${S.message}`)}p.push("")}p.push("---"),p.push(""),p.push(`Please fix all ${c} issues listed above. Do not use eslint-disable comments or any other method to suppress warnings. Each issue must be properly resolved.`)}return p.join(`
257
- `)}function UL({text:a,onCopy:r}){const[l,c]=U.useState(!1),d=U.useCallback(async()=>{try{await navigator.clipboard.writeText(a),c(!0),r(),setTimeout(()=>c(!1),2e3)}catch(p){yn("Failed to copy:",p)}},[a,r]);return E.jsx("button",{onClick:d,className:"flex items-center gap-1.5 px-4 py-2 text-white border-none rounded-md cursor-pointer font-medium text-sm transition-colors",style:{background:l?"var(--uilint-success)":"var(--uilint-primary)"},children:l?E.jsxs(E.Fragment,{children:[E.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:E.jsx("polyline",{points:"20 6 9 17 4 12"})}),"Copied!"]}):E.jsxs(E.Fragment,{children:[E.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[E.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),E.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),"Copy to Clipboard"]})})}function BL({data:a}){const r=a?.issues||[],l=a?.workspaceRoot||null,c=a?.hookAvailable||!1,d=U.useMemo(()=>NL(r),[r]),p=U.useMemo(()=>LL(d,l,c),[d,l,c]),g=r.length,v=d.size;return E.jsxs("div",{className:"flex flex-col h-full",children:[E.jsx("div",{className:"p-4 border-b",style:{borderColor:"var(--uilint-border)",background:"var(--uilint-surface)"},children:E.jsxs("div",{className:"flex items-center justify-between",children:[E.jsxs("div",{children:[E.jsx("div",{className:"text-sm mb-1",style:{color:"var(--uilint-text-muted)"},children:g===0?"No issues found":`${g} issue${g===1?"":"s"} in ${v} file${v===1?"":"s"}`}),E.jsx("div",{className:"text-xs",style:{color:"var(--uilint-text-muted)"},children:c?"Condensed format - hook will provide issue details":"Copy this prompt to Cursor or Claude Code"})]}),g>0&&E.jsx(UL,{text:p,onCopy:()=>{}})]})}),E.jsx("div",{className:"flex-1 overflow-auto p-4",children:E.jsx("pre",{className:"m-0 p-4 rounded-lg text-sm leading-relaxed whitespace-pre-wrap break-words font-mono",style:{background:"var(--uilint-code-bg, #1e1e1e)",color:"var(--uilint-code-text, #d4d4d4)"},children:p})}),E.jsxs("div",{className:"px-4 py-3 border-t text-xs",style:{borderColor:"var(--uilint-border)",background:"var(--uilint-surface-elevated)",color:"var(--uilint-text-muted)"},children:[E.jsx("strong",{children:"Tip:"})," Paste this prompt into Cursor, Claude Code, or any AI assistant to get help fixing these lint issues."]})]})}const ZS=nn.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},nn.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),nn.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}),nn.createElement("line",{x1:"8",y1:"12",x2:"16",y2:"12"}),nn.createElement("line",{x1:"8",y1:"16",x2:"14",y2:"16"}));function HL(a){const l=a.getState().plugins?.eslint;if(!l?.issues)return{issues:[],workspaceRoot:null,hookAvailable:!1};const c=[];for(const p of l.issues.values())c.push(...p);const d=l.workspaceCapabilities?.postToolUseHook?.enabled??!1;return{issues:c,workspaceRoot:l.workspaceRoot,hookAvailable:d}}const VL={id:"fix-prompt",name:"Fix Prompt Generator",version:"1.0.0",description:"Generate copyable prompts for AI assistants to fix lint issues",meta:{id:"fix-prompt",name:"Fix Prompt Generator",version:"1.0.0",description:"Generate copyable prompts for AI assistants to fix lint issues",icon:ZS},toolbarActions:[{id:"fix-prompt:generate",icon:ZS,tooltip:"Generate Fix Prompt",priority:50,isVisible:a=>{const l=a.plugins?.eslint?.issues;if(!l)return!1;let c=0;for(const d of l.values())if(c+=d.length,c>0)return!0;return!1},onClick:a=>{const{issues:r,workspaceRoot:l,hookAvailable:c}=HL(a),d=a.getState();a.setState({inspector:{...d.inspector,open:!0,panelId:"fix-prompt",data:{issues:r,workspaceRoot:l,hookAvailable:c}}})}}],inspectorPanels:[{id:"fix-prompt",title:"Fix Prompt",icon:ZS,component:BL,priority:10}],createSlice:void 0,initialize:void 0};let lR=!1;function sR(a){if(typeof document>"u"||lR)return;const r=document.createElement("style");r.setAttribute("data-uilint-devtools-styles","true"),r.textContent=a,document.head.appendChild(r),lR=!0}const uR=`@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-zinc-50:oklch(98.5% 0 0);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-tile-rule:var(--uilint-tile-rule);--color-tile-file:var(--uilint-tile-file)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.dev-tool-root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.-top-1{top:calc(var(--spacing)*-1)}.top-0{top:calc(var(--spacing)*0)}.top-2{top:calc(var(--spacing)*2)}.top-2\\.5{top:calc(var(--spacing)*2.5)}.top-3{top:calc(var(--spacing)*3)}.top-full{top:100%}.-right-1{right:calc(var(--spacing)*-1)}.right-0{right:calc(var(--spacing)*0)}.-bottom-1{bottom:calc(var(--spacing)*-1)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.z-90{z-index:90}.z-\\[99997\\]{z-index:99997}.z-\\[99998\\]{z-index:99998}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.mx-0{margin-inline:calc(var(--spacing)*0)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.my-0\\.5{margin-block:calc(var(--spacing)*.5)}.my-1{margin-block:calc(var(--spacing)*1)}.-mt-0\\.5{margin-top:calc(var(--spacing)*-.5)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-2\\.5{margin-top:calc(var(--spacing)*2.5)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-5{margin-top:calc(var(--spacing)*5)}.mt-auto{margin-top:auto}.-mr-0\\.5{margin-right:calc(var(--spacing)*-.5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-none{-webkit-line-clamp:unset;-webkit-box-orient:horizontal;display:block;overflow:visible}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-full{width:100%;height:100%}.h-1{height:calc(var(--spacing)*1)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-12{height:calc(var(--spacing)*12)}.h-20{height:calc(var(--spacing)*20)}.h-\\[18px\\]{height:18px}.h-\\[200px\\]{height:200px}.h-\\[var\\(--uilint-icon-button-size\\)\\]{height:var(--uilint-icon-button-size)}.h-\\[var\\(--uilint-icon-button-size-lg\\)\\]{height:var(--uilint-icon-button-size-lg)}.h-\\[var\\(--uilint-icon-button-size-sm\\)\\]{height:var(--uilint-icon-button-size-sm)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\\[2\\.25rem\\]{max-height:2.25rem}.max-h-\\[100px\\]{max-height:100px}.max-h-\\[520px\\]{max-height:520px}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.min-h-5{min-height:calc(var(--spacing)*5)}.min-h-6{min-height:calc(var(--spacing)*6)}.min-h-\\[44px\\]{min-height:44px}.min-h-\\[220px\\]{min-height:220px}.min-h-\\[260px\\]{min-height:260px}.w-1{width:calc(var(--spacing)*1)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2{width:calc(var(--spacing)*2)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-20{width:calc(var(--spacing)*20)}.w-\\[30\\%\\]{width:30%}.w-\\[340px\\]{width:340px}.w-\\[364px\\]{width:364px}.w-\\[860px\\]{width:860px}.w-\\[var\\(--uilint-icon-button-size\\)\\]{width:var(--uilint-icon-button-size)}.w-\\[var\\(--uilint-icon-button-size-lg\\)\\]{width:var(--uilint-icon-button-size-lg)}.w-\\[var\\(--uilint-icon-button-size-sm\\)\\]{width:var(--uilint-icon-button-size-sm)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[120px\\]{max-width:120px}.max-w-\\[140px\\]{max-width:140px}.max-w-\\[320px\\]{max-width:320px}.max-w-\\[580px\\]{max-width:580px}.max-w-\\[calc\\(100\\%-1rem\\)\\]{max-width:calc(100% - 1rem)}.max-w-full{max-width:100%}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-4{min-width:calc(var(--spacing)*4)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-6{min-width:calc(var(--spacing)*6)}.min-w-\\[18px\\]{min-width:18px}.min-w-\\[44px\\]{min-width:44px}.min-w-\\[80px\\]{min-width:80px}.min-w-\\[120px\\]{min-width:120px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-center{transform-origin:50%}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.columns-2{columns:2}.break-inside-avoid{break-inside:avoid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}.gap-y-1{row-gap:calc(var(--spacing)*1)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.\\[border-radius\\:var\\(--uilint-card-radius\\)\\]{border-radius:var(--uilint-card-radius)}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[0\\.8rem\\]{border-radius:.8rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[calc\\(var\\(--uilint-icon-button-radius\\)\\+2px\\)\\]{border-radius:calc(var(--uilint-icon-button-radius) + 2px)}.rounded-\\[calc\\(var\\(--uilint-icon-button-radius\\)-2px\\)\\]{border-radius:calc(var(--uilint-icon-button-radius) - 2px)}.rounded-\\[calc\\(var\\(--uilint-input-radius\\)\\+2px\\)\\]{border-radius:calc(var(--uilint-input-radius) + 2px)}.rounded-\\[calc\\(var\\(--uilint-input-radius\\)-2px\\)\\]{border-radius:calc(var(--uilint-input-radius) - 2px)}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[var\\(--uilint-button-radius\\)\\]{border-radius:var(--uilint-button-radius)}.rounded-\\[var\\(--uilint-icon-button-radius\\)\\]{border-radius:var(--uilint-icon-button-radius)}.rounded-\\[var\\(--uilint-input-radius\\)\\]{border-radius:var(--uilint-input-radius)}.rounded-\\[var\\(--uilint-radius\\,12px\\)\\]{border-radius:var(--uilint-radius,12px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--uilint-radius-lg)}.rounded-md{border-radius:var(--uilint-radius)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--uilint-radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-tr-2xl{border-top-right-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-l-\\[3px\\]{border-left-style:var(--tw-border-style);border-left-width:3px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[var\\(--uilint-error\\)\\]{border-color:var(--uilint-error)}.border-\\[var\\(--uilint-glass-border\\)\\]{border-color:var(--uilint-glass-border)}.border-\\[var\\(--uilint-input-border\\)\\]{border-color:var(--uilint-input-border)}.border-\\[var\\(--uilint-kbd-border\\,rgba\\(0\\,0\\,0\\,0\\.1\\)\\)\\]{border-color:var(--uilint-kbd-border,#0000001a)}.border-\\[var\\(--uilint-kbd-border-subtle\\,transparent\\)\\]{border-color:var(--uilint-kbd-border-subtle,transparent)}.border-accent,.border-accent\\/30{border-color:var(--uilint-accent)}@supports (color:color-mix(in lab,red,red)){.border-accent\\/30{border-color:color-mix(in oklab,var(--uilint-accent)30%,transparent)}}.border-border{border-color:var(--uilint-border)}.border-current\\/20{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\\/20{border-color:color-mix(in oklab,currentcolor 20%,transparent)}}.border-error,.border-error\\/20{border-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-error\\/20{border-color:color-mix(in oklab,var(--uilint-error)20%,transparent)}}.border-error\\/30{border-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-error\\/30{border-color:color-mix(in oklab,var(--uilint-error)30%,transparent)}}.border-error\\/50{border-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-error\\/50{border-color:color-mix(in oklab,var(--uilint-error)50%,transparent)}}.border-foreground\\/10{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/10{border-color:color-mix(in oklab,var(--uilint-foreground)10%,transparent)}}.border-foreground\\/12{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/12{border-color:color-mix(in oklab,var(--uilint-foreground)12%,transparent)}}.border-foreground\\/15{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/15{border-color:color-mix(in oklab,var(--uilint-foreground)15%,transparent)}}.border-foreground\\/\\[0\\.1\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.1\\]{border-color:color-mix(in oklab,var(--uilint-foreground)10%,transparent)}}.border-foreground\\/\\[0\\.02\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.02\\]{border-color:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.border-foreground\\/\\[0\\.03\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.03\\]{border-color:color-mix(in oklab,var(--uilint-foreground)3%,transparent)}}.border-foreground\\/\\[0\\.04\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.04\\]{border-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.border-foreground\\/\\[0\\.05\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.05\\]{border-color:color-mix(in oklab,var(--uilint-foreground)5%,transparent)}}.border-foreground\\/\\[0\\.06\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.06\\]{border-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.border-foreground\\/\\[0\\.08\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.08\\]{border-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.border-foreground\\/\\[0\\.12\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.12\\]{border-color:color-mix(in oklab,var(--uilint-foreground)12%,transparent)}}.border-glass-border{border-color:var(--uilint-glass-border)}.border-info,.border-info\\/20{border-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.border-info\\/20{border-color:color-mix(in oklab,var(--uilint-info)20%,transparent)}}.border-info\\/30{border-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.border-info\\/30{border-color:color-mix(in oklab,var(--uilint-info)30%,transparent)}}.border-muted-foreground\\/30{border-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.border-muted-foreground\\/30{border-color:color-mix(in oklab,var(--uilint-text-muted)30%,transparent)}}.border-purple-500\\/10{border-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.border-purple-500\\/10{border-color:color-mix(in oklab,var(--color-purple-500)10%,transparent)}}.border-transparent{border-color:#0000}.border-warning,.border-warning\\/20{border-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.border-warning\\/20{border-color:color-mix(in oklab,var(--uilint-warning)20%,transparent)}}.border-warning\\/30{border-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.border-warning\\/30{border-color:color-mix(in oklab,var(--uilint-warning)30%,transparent)}}.border-white\\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-zinc-200{border-color:var(--color-zinc-200)}.border-zinc-950\\/10{border-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){.border-zinc-950\\/10{border-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}.border-t-muted-foreground{border-top-color:var(--uilint-text-muted)}.border-t-transparent{border-top-color:#0000}.border-l-error\\/50{border-left-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-l-error\\/50{border-left-color:color-mix(in oklab,var(--uilint-error)50%,transparent)}}.border-l-foreground\\/20{border-left-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-l-foreground\\/20{border-left-color:color-mix(in oklab,var(--uilint-foreground)20%,transparent)}}.border-l-info,.border-l-info\\/50{border-left-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.border-l-info\\/50{border-left-color:color-mix(in oklab,var(--uilint-info)50%,transparent)}}.border-l-transparent{border-left-color:#0000}.border-l-warning,.border-l-warning\\/50{border-left-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.border-l-warning\\/50{border-left-color:color-mix(in oklab,var(--uilint-warning)50%,transparent)}}.bg-\\[rgba\\(128\\,128\\,128\\,0\\.15\\)\\]{background-color:#80808026}.bg-\\[var\\(--uilint-button-default-bg\\)\\]{background-color:var(--uilint-button-default-bg)}.bg-\\[var\\(--uilint-button-destructive-bg\\)\\]{background-color:var(--uilint-button-destructive-bg)}.bg-\\[var\\(--uilint-button-ghost-bg\\)\\]{background-color:var(--uilint-button-ghost-bg)}.bg-\\[var\\(--uilint-button-glass-bg\\)\\]{background-color:var(--uilint-button-glass-bg)}.bg-\\[var\\(--uilint-button-outline-bg\\)\\]{background-color:var(--uilint-button-outline-bg)}.bg-\\[var\\(--uilint-button-secondary-bg\\)\\]{background-color:var(--uilint-button-secondary-bg)}.bg-\\[var\\(--uilint-glass\\)\\]{background-color:var(--uilint-glass)}.bg-\\[var\\(--uilint-glass-medium\\)\\]{background-color:var(--uilint-glass-medium)}.bg-\\[var\\(--uilint-hover\\)\\]{background-color:var(--uilint-hover)}.bg-\\[var\\(--uilint-input-bg\\)\\]{background-color:var(--uilint-input-bg)}.bg-\\[var\\(--uilint-kbd-background\\,linear-gradient\\(180deg\\,\\#ffffff_0\\%\\,\\#f3f4f6_100\\%\\)\\)\\]{background-color:var(--uilint-kbd-background,linear-gradient(180deg,#fff 0%,#f3f4f6 100%))}.bg-\\[var\\(--uilint-kbd-background-subtle\\,rgba\\(0\\,0\\,0\\,0\\.04\\)\\)\\]{background-color:var(--uilint-kbd-background-subtle,#0000000a)}.bg-accent,.bg-accent\\/10{background-color:var(--uilint-accent)}@supports (color:color-mix(in lab,red,red)){.bg-accent\\/10{background-color:color-mix(in oklab,var(--uilint-accent)10%,transparent)}}.bg-accent\\/15{background-color:var(--uilint-accent)}@supports (color:color-mix(in lab,red,red)){.bg-accent\\/15{background-color:color-mix(in oklab,var(--uilint-accent)15%,transparent)}}.bg-amber-500\\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-background,.bg-background\\/40{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/40{background-color:color-mix(in oklab,var(--uilint-background)40%,transparent)}}.bg-background\\/50{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/50{background-color:color-mix(in oklab,var(--uilint-background)50%,transparent)}}.bg-background\\/60{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/60{background-color:color-mix(in oklab,var(--uilint-background)60%,transparent)}}.bg-background\\/80{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/80{background-color:color-mix(in oklab,var(--uilint-background)80%,transparent)}}.bg-background\\/95{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/95{background-color:color-mix(in oklab,var(--uilint-background)95%,transparent)}}.bg-blue-300\\/20{background-color:#90c5ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-300\\/20{background-color:color-mix(in oklab,var(--color-blue-300)20%,transparent)}}.bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-error{background-color:var(--uilint-error)}.bg-error-bg{background-color:var(--uilint-error-bg)}.bg-error\\/10{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/10{background-color:color-mix(in oklab,var(--uilint-error)10%,transparent)}}.bg-error\\/60{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/60{background-color:color-mix(in oklab,var(--uilint-error)60%,transparent)}}.bg-error\\/70{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/70{background-color:color-mix(in oklab,var(--uilint-error)70%,transparent)}}.bg-error\\/80{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/80{background-color:color-mix(in oklab,var(--uilint-error)80%,transparent)}}.bg-error\\/\\[0\\.04\\]{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-error)4%,transparent)}}.bg-error\\/\\[0\\.06\\]{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-error)6%,transparent)}}.bg-foreground,.bg-foreground\\/\\[0\\.01\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.01\\]{background-color:color-mix(in oklab,var(--uilint-foreground)1%,transparent)}}.bg-foreground\\/\\[0\\.02\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.02\\]{background-color:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.bg-foreground\\/\\[0\\.03\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.03\\]{background-color:color-mix(in oklab,var(--uilint-foreground)3%,transparent)}}.bg-foreground\\/\\[0\\.04\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.bg-foreground\\/\\[0\\.05\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.05\\]{background-color:color-mix(in oklab,var(--uilint-foreground)5%,transparent)}}.bg-foreground\\/\\[0\\.06\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.bg-foreground\\/\\[0\\.08\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.bg-glass-medium{background-color:var(--uilint-glass-medium)}.bg-info{background-color:var(--uilint-info)}.bg-info-bg{background-color:var(--uilint-info-bg)}.bg-info\\/10{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/10{background-color:color-mix(in oklab,var(--uilint-info)10%,transparent)}}.bg-info\\/60{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/60{background-color:color-mix(in oklab,var(--uilint-info)60%,transparent)}}.bg-info\\/70{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/70{background-color:color-mix(in oklab,var(--uilint-info)70%,transparent)}}.bg-info\\/80{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/80{background-color:color-mix(in oklab,var(--uilint-info)80%,transparent)}}.bg-info\\/\\[0\\.04\\]{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-info)4%,transparent)}}.bg-info\\/\\[0\\.06\\]{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-info)6%,transparent)}}.bg-muted-foreground\\/20{background-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/20{background-color:color-mix(in oklab,var(--uilint-text-muted)20%,transparent)}}.bg-muted-foreground\\/30{background-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/30{background-color:color-mix(in oklab,var(--uilint-text-muted)30%,transparent)}}.bg-muted-foreground\\/50{background-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/50{background-color:color-mix(in oklab,var(--uilint-text-muted)50%,transparent)}}.bg-purple-500\\/\\[0\\.06\\]{background-color:#ac4bff0f}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--color-purple-500)6%,transparent)}}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-success{background-color:var(--uilint-success)}.bg-success-bg{background-color:var(--uilint-success-bg)}.bg-success\\/20{background-color:var(--uilint-success)}@supports (color:color-mix(in lab,red,red)){.bg-success\\/20{background-color:color-mix(in oklab,var(--uilint-success)20%,transparent)}}.bg-success\\/70{background-color:var(--uilint-success)}@supports (color:color-mix(in lab,red,red)){.bg-success\\/70{background-color:color-mix(in oklab,var(--uilint-success)70%,transparent)}}.bg-surface{background-color:var(--uilint-surface)}.bg-surface-elevated{background-color:var(--uilint-surface-elevated)}.bg-surface\\/95{background-color:var(--uilint-surface)}@supports (color:color-mix(in lab,red,red)){.bg-surface\\/95{background-color:color-mix(in oklab,var(--uilint-surface)95%,transparent)}}.bg-transparent{background-color:#0000}.bg-warning{background-color:var(--uilint-warning)}.bg-warning-bg{background-color:var(--uilint-warning-bg)}.bg-warning\\/10{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/10{background-color:color-mix(in oklab,var(--uilint-warning)10%,transparent)}}.bg-warning\\/60{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/60{background-color:color-mix(in oklab,var(--uilint-warning)60%,transparent)}}.bg-warning\\/70{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/70{background-color:color-mix(in oklab,var(--uilint-warning)70%,transparent)}}.bg-warning\\/80{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/80{background-color:color-mix(in oklab,var(--uilint-warning)80%,transparent)}}.bg-warning\\/\\[0\\.04\\]{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-warning)4%,transparent)}}.bg-warning\\/\\[0\\.06\\]{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-warning)6%,transparent)}}.bg-white{background-color:var(--color-white)}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-100\\/50{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.bg-zinc-100\\/50{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-linear-to-br{--tw-gradient-position:to bottom right}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-br{--tw-gradient-position:to bottom right in oklab}}.bg-linear-to-br{background-image:linear-gradient(var(--tw-gradient-stops))}.from-foreground\\/2{--tw-gradient-from:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.from-foreground\\/2{--tw-gradient-from:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.from-foreground\\/2{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-7{padding:calc(var(--spacing)*7)}.p-8{padding:calc(var(--spacing)*8)}.p-\\[1px\\],.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-12{padding-block:calc(var(--spacing)*12)}.py-14{padding-block:calc(var(--spacing)*14)}.py-16{padding-block:calc(var(--spacing)*16)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-0\\.5{padding-top:calc(var(--spacing)*.5)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-14{padding-top:calc(var(--spacing)*14)}.pt-\\[100px\\]{padding-top:100px}.pt-\\[env\\(safe-area-inset-top\\,0px\\)\\]{padding-top:env(safe-area-inset-top,0px)}.pr-1\\.25{padding-right:calc(var(--spacing)*1.25)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-0{padding-bottom:calc(var(--spacing)*0)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-1\\.5{padding-bottom:calc(var(--spacing)*1.5)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-\\[env\\(safe-area-inset-bottom\\,0px\\)\\]{padding-bottom:env(safe-area-inset-bottom,0px)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-\\[-apple-system\\,BlinkMacSystemFont\\,\\'SF_Pro_Text\\'\\,\\'Segoe_UI\\'\\,sans-serif\\]{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.text-\\[17px\\]{font-size:17px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extralight{--tw-font-weight:var(--font-weight-extralight);font-weight:var(--font-weight-extralight)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.\\[color\\:var\\(--uilint-text-primary\\)\\]{color:var(--uilint-text-primary)}.\\[color\\:var\\(--uilint-text-secondary\\)\\]{color:var(--uilint-text-secondary)}.text-\\[var\\(--uilint-button-default-text\\)\\]{color:var(--uilint-button-default-text)}.text-\\[var\\(--uilint-button-destructive-text\\)\\]{color:var(--uilint-button-destructive-text)}.text-\\[var\\(--uilint-button-ghost-text\\)\\]{color:var(--uilint-button-ghost-text)}.text-\\[var\\(--uilint-button-glass-text\\)\\]{color:var(--uilint-button-glass-text)}.text-\\[var\\(--uilint-button-outline-text\\)\\]{color:var(--uilint-button-outline-text)}.text-\\[var\\(--uilint-button-secondary-text\\)\\]{color:var(--uilint-button-secondary-text)}.text-\\[var\\(--uilint-kbd-text\\,\\#6b7280\\)\\]{color:var(--uilint-kbd-text,#6b7280)}.text-\\[var\\(--uilint-kbd-text-subtle\\,\\#9ca3af\\)\\]{color:var(--uilint-kbd-text-subtle,#9ca3af)}.text-\\[var\\(--uilint-text-muted\\)\\]{color:var(--uilint-text-muted)}.text-\\[var\\(--uilint-text-primary\\)\\]{color:var(--uilint-text-primary)}.text-\\[var\\(--uilint-text-secondary\\)\\]{color:var(--uilint-text-secondary)}.text-accent{color:var(--uilint-accent)}.text-accent-foreground{color:var(--uilint-accent-foreground)}.text-amber-700{color:var(--color-amber-700)}.text-blue-700{color:var(--color-blue-700)}.text-emerald-700{color:var(--color-emerald-700)}.text-error,.text-error\\/80{color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.text-error\\/80{color:color-mix(in oklab,var(--uilint-error)80%,transparent)}}.text-foreground,.text-foreground\\/50{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/50{color:color-mix(in oklab,var(--uilint-foreground)50%,transparent)}}.text-foreground\\/60{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/60{color:color-mix(in oklab,var(--uilint-foreground)60%,transparent)}}.text-foreground\\/70{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/70{color:color-mix(in oklab,var(--uilint-foreground)70%,transparent)}}.text-foreground\\/80{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/80{color:color-mix(in oklab,var(--uilint-foreground)80%,transparent)}}.text-foreground\\/85{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/85{color:color-mix(in oklab,var(--uilint-foreground)85%,transparent)}}.text-foreground\\/90{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/90{color:color-mix(in oklab,var(--uilint-foreground)90%,transparent)}}.text-info,.text-info\\/80{color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.text-info\\/80{color:color-mix(in oklab,var(--uilint-info)80%,transparent)}}.text-muted-foreground,.text-muted-foreground\\/30{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/30{color:color-mix(in oklab,var(--uilint-text-muted)30%,transparent)}}.text-muted-foreground\\/40{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/40{color:color-mix(in oklab,var(--uilint-text-muted)40%,transparent)}}.text-muted-foreground\\/50{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/50{color:color-mix(in oklab,var(--uilint-text-muted)50%,transparent)}}.text-muted-foreground\\/60{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/60{color:color-mix(in oklab,var(--uilint-text-muted)60%,transparent)}}.text-muted-foreground\\/70{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/70{color:color-mix(in oklab,var(--uilint-text-muted)70%,transparent)}}.text-purple-500\\/70{color:#ac4bffb3}@supports (color:color-mix(in lab,red,red)){.text-purple-500\\/70{color:color-mix(in oklab,var(--color-purple-500)70%,transparent)}}.text-red-700{color:var(--color-red-700)}.text-success{color:var(--uilint-success)}.text-text-disabled{color:var(--uilint-text-disabled)}.text-text-muted{color:var(--uilint-text-muted)}.text-text-primary{color:var(--uilint-text-primary)}.text-text-secondary{color:var(--uilint-text-secondary)}.text-warning,.text-warning\\/80{color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.text-warning\\/80{color:color-mix(in oklab,var(--uilint-warning)80%,transparent)}}.text-white{color:var(--color-white)}.text-zinc-50{color:var(--color-zinc-50)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-900{color:var(--color-zinc-900)}.text-zinc-950{color:var(--color-zinc-950)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_0_1px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#00000014),0px 2px 2px var(--tw-shadow-color,#0000000a),0px 8px 16px -4px var(--tw-shadow-color,#0000000a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_0px_0px_1px_rgba\\(255\\,255\\,255\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.05\\)\\,0px_1px_1px_0px_rgba\\(255\\,252\\,240\\,0\\.5\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.1\\)_inset\\,0px_0px_1px_0px_rgba\\(28\\,27\\,26\\,0\\.5\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0000000d),0px 1px 1px 0px var(--tw-shadow-color,#fffcf080)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff1a)inset,0px 0px 1px 0px var(--tw-shadow-color,#1c1b1a80);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--uilint-button-shadow\\)\\]{--tw-shadow:var(--uilint-button-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--uilint-kbd-shadow\\,0_1px_0_rgba\\(0\\,0\\,0\\,0\\.08\\)\\)\\]{--tw-shadow:var(--uilint-kbd-shadow,0 1px 0 #00000014);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:var(--uilint-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:var(--uilint-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:var(--uilint-card-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.\\[box-shadow\\:var\\(--uilint-card-elevated-shadow\\)\\]{box-shadow:var(--uilint-card-elevated-shadow)}.\\[box-shadow\\:var\\(--uilint-card-shadow\\)\\]{box-shadow:var(--uilint-card-shadow)}.shadow-black\\/10{--tw-shadow-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.shadow-black\\/10{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-black)10%,transparent)var(--tw-shadow-alpha),transparent)}}.ring-foreground\\/20{--tw-ring-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.ring-foreground\\/20{--tw-ring-color:color-mix(in oklab,var(--uilint-foreground)20%,transparent)}}.ring-zinc-200\\/50{--tw-ring-color:#e4e4e780}@supports (color:color-mix(in lab,red,red)){.ring-zinc-200\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-200)50%,transparent)}}.ring-offset-white{--tw-ring-offset-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-lg{--tw-blur:blur(var(--blur-lg));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-md{--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-sm{--tw-blur:blur(var(--blur-sm));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-\\[1px\\]{--tw-backdrop-blur:blur(1px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-\\[var\\(--uilint-glass-blur-medium\\)\\]{--tw-backdrop-blur:blur(var(--uilint-glass-blur-medium));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.\\[backdrop-filter\\:blur\\(var\\(--uilint-glass-blur-medium\\)\\)\\]{-webkit-backdrop-filter:blur(var(--uilint-glass-blur-medium));backdrop-filter:blur(var(--uilint-glass-blur-medium))}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[colors\\]{transition-property:colors;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\]{transition-property:scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[-ms-overflow-style\\:none\\]{-ms-overflow-style:none}.\\[-webkit-overflow-scrolling\\:touch\\]{-webkit-overflow-scrolling:touch}.\\[background\\:var\\(--uilint-card-bg\\)\\]{background:var(--uilint-card-bg)}.\\[background\\:var\\(--uilint-card-elevated-bg\\)\\]{background:var(--uilint-card-elevated-bg)}.\\[background\\:var\\(--uilint-card-glass-bg\\)\\]{background:var(--uilint-card-glass-bg)}.\\[border-top\\:1px_solid_var\\(--uilint-card-border\\)\\]{border-top:1px solid var(--uilint-card-border)}.\\[border\\:1px_solid_var\\(--uilint-card-border\\)\\]{border:1px solid var(--uilint-card-border)}.\\[border\\:1px_solid_var\\(--uilint-card-glass-border\\)\\]{border:1px solid var(--uilint-card-glass-border)}.\\[scrollbar-width\\:thin\\]{scrollbar-width:thin}@media(hover:hover){.group-hover\\:text-muted-foreground\\/60:is(:where(.group):hover *){color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.group-hover\\:text-muted-foreground\\/60:is(:where(.group):hover *){color:color-mix(in oklab,var(--uilint-text-muted)60%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\\:text-\\[var\\(--uilint-input-placeholder\\)\\]::placeholder{color:var(--uilint-input-placeholder)}.placeholder\\:text-muted-foreground\\/40::placeholder{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.placeholder\\:text-muted-foreground\\/40::placeholder{color:color-mix(in oklab,var(--uilint-text-muted)40%,transparent)}}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-x-0:before{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.before\\:inset-y-0:before{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.before\\:top-0:before{content:var(--tw-content);top:calc(var(--spacing)*0)}.before\\:left-0:before{content:var(--tw-content);left:calc(var(--spacing)*0)}.before\\:h-\\(--top-fade-height\\):before{content:var(--tw-content);height:var(--top-fade-height)}.before\\:h-px:before{content:var(--tw-content);height:1px}.before\\:w-\\(--left-fade-width\\):before{content:var(--tw-content);width:var(--left-fade-width)}.before\\:bg-gradient-to-b:before{content:var(--tw-content);--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:bg-gradient-to-r:before{content:var(--tw-content);--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:from-background:before{content:var(--tw-content);--tw-gradient-from:var(--uilint-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:to-transparent:before{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:opacity-0:before{content:var(--tw-content);opacity:0}.before\\:opacity-100:before{content:var(--tw-content);opacity:1}.before\\:transition-\\[height\\,opacity\\]:before{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:transition-\\[width\\,opacity\\]:before{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.before\\:\\[background\\:var\\(--uilint-glass-highlight\\)\\]:before{content:var(--tw-content);background:var(--uilint-glass-highlight)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-x-0:after{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.after\\:right-0:after{content:var(--tw-content);right:calc(var(--spacing)*0)}.after\\:bottom-0:after{content:var(--tw-content);bottom:calc(var(--spacing)*0)}.after\\:h-\\(--bottom-fade-height\\):after{content:var(--tw-content);height:var(--bottom-fade-height)}.after\\:w-\\(--right-fade-width\\):after{content:var(--tw-content);width:var(--right-fade-width)}.after\\:bg-gradient-to-l:after{content:var(--tw-content);--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:bg-gradient-to-t:after{content:var(--tw-content);--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:from-background:after{content:var(--tw-content);--tw-gradient-from:var(--uilint-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:to-transparent:after{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-\\[height\\,opacity\\]:after{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:transition-\\[width\\,opacity\\]:after{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:duration-300:after{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\\:border-foreground\\/\\[0\\.08\\]:hover{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:border-foreground\\/\\[0\\.08\\]:hover{border-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.hover\\:bg-\\[var\\(--uilint-active\\)\\]:hover{background-color:var(--uilint-active)}.hover\\:bg-\\[var\\(--uilint-button-destructive-bg\\)\\]\\/90:hover{background-color:var(--uilint-button-destructive-bg)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-destructive-bg\\)\\]\\/90:hover{background-color:color-mix(in oklab,var(--uilint-button-destructive-bg)90%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-ghost-text\\)\\]\\/10:hover{background-color:var(--uilint-button-ghost-text)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-ghost-text\\)\\]\\/10:hover{background-color:color-mix(in oklab,var(--uilint-button-ghost-text)10%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-outline-text\\)\\]\\/10:hover{background-color:var(--uilint-button-outline-text)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-outline-text\\)\\]\\/10:hover{background-color:color-mix(in oklab,var(--uilint-button-outline-text)10%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-secondary-bg\\)\\]\\/80:hover{background-color:var(--uilint-button-secondary-bg)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-secondary-bg\\)\\]\\/80:hover{background-color:color-mix(in oklab,var(--uilint-button-secondary-bg)80%,transparent)}}.hover\\:bg-\\[var\\(--uilint-glass-medium\\)\\]:hover{background-color:var(--uilint-glass-medium)}.hover\\:bg-\\[var\\(--uilint-hover\\)\\]:hover{background-color:var(--uilint-hover)}.hover\\:bg-error\\/10:hover{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-error\\/10:hover{background-color:color-mix(in oklab,var(--uilint-error)10%,transparent)}}.hover\\:bg-foreground\\/6:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/6:hover{background-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.02\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.02\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.03\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.03\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)3%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.04\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.04\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.05\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.05\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)5%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.06\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.06\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.08\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.08\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.hover\\:bg-info\\/10:hover{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-info\\/10:hover{background-color:color-mix(in oklab,var(--uilint-info)10%,transparent)}}.hover\\:bg-red-500\\/80:hover{background-color:#fb2c36cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/80:hover{background-color:color-mix(in oklab,var(--color-red-500)80%,transparent)}}.hover\\:bg-red-500\\/90:hover{background-color:#fb2c36e6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/90:hover{background-color:color-mix(in oklab,var(--color-red-500)90%,transparent)}}.hover\\:bg-warning\\/10:hover{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-warning\\/10:hover{background-color:color-mix(in oklab,var(--uilint-warning)10%,transparent)}}.hover\\:bg-white\\/30:hover{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/30:hover{background-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.hover\\:bg-zinc-100:hover{background-color:var(--color-zinc-100)}.hover\\:bg-zinc-100\\/60:hover{background-color:#f4f4f599}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-100)60%,transparent)}}.hover\\:bg-zinc-100\\/80:hover{background-color:#f4f4f5cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-100)80%,transparent)}}.hover\\:bg-zinc-900\\/80:hover{background-color:#18181bcc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-900)80%,transparent)}}.hover\\:bg-zinc-900\\/90:hover{background-color:#18181be6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-900)90%,transparent)}}.hover\\:text-\\[var\\(--uilint-text-primary\\)\\]:hover{color:var(--uilint-text-primary)}.hover\\:text-\\[var\\(--uilint-text-secondary\\)\\]:hover{color:var(--uilint-text-secondary)}.hover\\:text-foreground:hover,.hover\\:text-foreground\\/70:hover{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-foreground\\/70:hover{color:color-mix(in oklab,var(--uilint-foreground)70%,transparent)}}.hover\\:text-foreground\\/80:hover{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-foreground\\/80:hover{color:color-mix(in oklab,var(--uilint-foreground)80%,transparent)}}.hover\\:text-muted-foreground:hover,.hover\\:text-muted-foreground\\/70:hover{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-muted-foreground\\/70:hover{color:color-mix(in oklab,var(--uilint-text-muted)70%,transparent)}}.hover\\:text-muted-foreground\\/80:hover{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-muted-foreground\\/80:hover{color:color-mix(in oklab,var(--uilint-text-muted)80%,transparent)}}.hover\\:text-zinc-800:hover{color:var(--color-zinc-800)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[var\\(--uilint-button-shadow-hover\\)\\]:hover{--tw-shadow:var(--uilint-button-shadow-hover);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:brightness-\\[0\\.97\\]:hover{--tw-brightness:brightness(.97);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.focus\\:border-\\[var\\(--uilint-error\\)\\]:focus{border-color:var(--uilint-error)}.focus\\:border-\\[var\\(--uilint-input-border-focus\\)\\]:focus{border-color:var(--uilint-input-border-focus)}.focus\\:border-error:focus{border-color:var(--uilint-error)}.focus\\:border-foreground\\/\\[0\\.12\\]:focus{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.focus\\:border-foreground\\/\\[0\\.12\\]:focus{border-color:color-mix(in oklab,var(--uilint-foreground)12%,transparent)}}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-foreground\\/20:focus{--tw-ring-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-foreground\\/20:focus{--tw-ring-color:color-mix(in oklab,var(--uilint-foreground)20%,transparent)}}.focus\\:ring-zinc-950:focus{--tw-ring-color:var(--color-zinc-950)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-\\[var\\(--uilint-button-default-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-default-bg)}.focus-visible\\:ring-\\[var\\(--uilint-button-destructive-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-destructive-bg)}.focus-visible\\:ring-\\[var\\(--uilint-button-ghost-text\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-ghost-text)}.focus-visible\\:ring-\\[var\\(--uilint-button-outline-text\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-outline-text)}.focus-visible\\:ring-\\[var\\(--uilint-button-secondary-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-secondary-bg)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color:var(--uilint-border-focus)}.focus-visible\\:ring-white\\/50:focus-visible{--tw-ring-color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-white\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-white)50%,transparent)}}.focus-visible\\:ring-zinc-950:focus-visible{--tw-ring-color:var(--color-zinc-950)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-x-98:active{--tw-scale-x:98%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-y-95:active{--tw-scale-y:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.active\\:bg-zinc-100\\/70:active{background-color:#f4f4f5b3}@supports (color:color-mix(in lab,red,red)){.active\\:bg-zinc-100\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-100)70%,transparent)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:inline{display:inline}.sm\\:h-5{height:calc(var(--spacing)*5)}.sm\\:min-h-0{min-height:calc(var(--spacing)*0)}.sm\\:w-5{width:calc(var(--spacing)*5)}.sm\\:max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.sm\\:max-w-lg{max-width:var(--container-lg)}.sm\\:columns-3{columns:3}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:rounded-lg{border-radius:var(--uilint-radius-lg)}.sm\\:rounded-xl{border-radius:var(--radius-xl)}.sm\\:p-1\\.5{padding:calc(var(--spacing)*1.5)}.sm\\:p-3{padding:calc(var(--spacing)*3)}.sm\\:px-0{padding-inline:calc(var(--spacing)*0)}.sm\\:px-2{padding-inline:calc(var(--spacing)*2)}.sm\\:px-4{padding-inline:calc(var(--spacing)*4)}.sm\\:py-4{padding-block:calc(var(--spacing)*4)}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@media(min-width:48rem){.md\\:max-w-\\[calc\\(100\\%-4rem\\)\\]{max-width:calc(100% - 4rem)}.md\\:rounded-3xl{border-radius:var(--radius-3xl)}.md\\:rounded-\\[2rem\\]{border-radius:2rem}.md\\:p-2{padding:calc(var(--spacing)*2)}.md\\:p-4{padding:calc(var(--spacing)*4)}}@media(prefers-color-scheme:dark){.dark\\:border-purple-400\\/10{border-color:#c07eff1a}@supports (color:color-mix(in lab,red,red)){.dark\\:border-purple-400\\/10{border-color:color-mix(in oklab,var(--color-purple-400)10%,transparent)}}.dark\\:border-zinc-50\\/10{border-color:#fafafa1a}@supports (color:color-mix(in lab,red,red)){.dark\\:border-zinc-50\\/10{border-color:color-mix(in oklab,var(--color-zinc-50)10%,transparent)}}.dark\\:border-zinc-800{border-color:var(--color-zinc-800)}.dark\\:bg-amber-500\\/25{background-color:#f99c0040}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-amber-500\\/25{background-color:color-mix(in oklab,var(--color-amber-500)25%,transparent)}}.dark\\:bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.dark\\:bg-emerald-500\\/25{background-color:#00bb7f40}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/25{background-color:color-mix(in oklab,var(--color-emerald-500)25%,transparent)}}.dark\\:bg-purple-400\\/\\[0\\.06\\]{background-color:#c07eff0f}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-purple-400\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--color-purple-400)6%,transparent)}}.dark\\:bg-red-500\\/25{background-color:#fb2c3640}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/25{background-color:color-mix(in oklab,var(--color-red-500)25%,transparent)}}.dark\\:bg-red-900{background-color:var(--color-red-900)}.dark\\:bg-zinc-50{background-color:var(--color-zinc-50)}.dark\\:bg-zinc-100{background-color:var(--color-zinc-100)}.dark\\:bg-zinc-700{background-color:var(--color-zinc-700)}.dark\\:bg-zinc-800{background-color:var(--color-zinc-800)}.dark\\:bg-zinc-800\\/50{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-800\\/50{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:bg-zinc-950{background-color:var(--color-zinc-950)}.dark\\:text-amber-300{color:var(--color-amber-300)}.dark\\:text-blue-400{color:var(--color-blue-400)}.dark\\:text-emerald-300{color:var(--color-emerald-300)}.dark\\:text-purple-400\\/70{color:#c07effb3}@supports (color:color-mix(in lab,red,red)){.dark\\:text-purple-400\\/70{color:color-mix(in oklab,var(--color-purple-400)70%,transparent)}}.dark\\:text-red-300{color:var(--color-red-300)}.dark\\:text-zinc-50{color:var(--color-zinc-50)}.dark\\:text-zinc-100{color:var(--color-zinc-100)}.dark\\:text-zinc-400{color:var(--color-zinc-400)}.dark\\:text-zinc-900{color:var(--color-zinc-900)}.dark\\:shadow-\\[0_0_0_1px_rgba\\(255\\,252\\,240\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#fffcf014),0px 2px 2px var(--tw-shadow-color,#0003),0px 8px 16px -4px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#ffffff05)inset,0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0003),0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:ring-zinc-800\\/50{--tw-ring-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:ring-zinc-800\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:ring-offset-zinc-950{--tw-ring-offset-color:var(--color-zinc-950)}@media(hover:hover){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}}@media(hover:hover){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:#82181acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:color-mix(in oklab,var(--color-red-900)80%,transparent)}}.dark\\:hover\\:bg-red-900\\/90:hover{background-color:#82181ae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/90:hover{background-color:color-mix(in oklab,var(--color-red-900)90%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:#fafafacc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-50)80%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:#fafafae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-50)90%,transparent)}}.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.dark\\:hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.dark\\:hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-800)80%,transparent)}}.dark\\:hover\\:text-zinc-50:hover{color:var(--color-zinc-50)}}.dark\\:focus\\:ring-zinc-300:focus,.dark\\:focus-visible\\:ring-zinc-300:focus-visible{--tw-ring-color:var(--color-zinc-300)}.dark\\:active\\:bg-zinc-800\\/70:active{background-color:#27272ab3}@supports (color:color-mix(in lab,red,red)){.dark\\:active\\:bg-zinc-800\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-800)70%,transparent)}}@media(min-width:40rem){.dark\\:sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:h-4 svg{height:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:h-5 svg{height:calc(var(--spacing)*5)}.\\[\\&_svg\\]\\:h-\\[18px\\] svg{height:18px}.\\[\\&_svg\\]\\:w-4 svg{width:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:w-5 svg{width:calc(var(--spacing)*5)}.\\[\\&_svg\\]\\:w-\\[18px\\] svg{width:18px}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=size-\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:h-1::-webkit-scrollbar{height:calc(var(--spacing)*1)}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:rounded-full::-webkit-scrollbar-thumb{border-radius:3.40282e38px}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-foreground\\/10::-webkit-scrollbar-thumb{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-foreground\\/10::-webkit-scrollbar-thumb{background-color:color-mix(in oklab,var(--uilint-foreground)10%,transparent)}}.\\[\\&\\:\\:-webkit-scrollbar-track\\]\\:bg-transparent::-webkit-scrollbar-track{background-color:#0000}.\\[\\&\\>div\\]\\:\\!block>div{display:block!important}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-white{color:var(--color-white)}@media(prefers-color-scheme:dark){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:#09090b33}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:color-mix(in oklab,var(--color-zinc-950)20%,transparent)}}[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-zinc-950{color:var(--color-zinc-950)}}}:root{--uilint-tile-rule:oklch(65% .15 259);--uilint-tile-file:oklch(68% .14 142);--uilint-background:oklch(98.5% .002 265);--uilint-background-elevated:oklch(96.7% .003 265);--uilint-foreground:oklch(14.1% .005 265);--uilint-surface:oklch(98.5% .002 265);--uilint-surface-elevated:oklch(96.7% .003 265);--uilint-text-primary:oklch(14.1% .005 265);--uilint-text-secondary:oklch(37% .013 265);--uilint-text-muted:oklch(55.2% .016 265);--uilint-text-disabled:oklch(70.5% .015 265);--uilint-hover:oklch(55.2% .016 265/.12);--uilint-active:oklch(44.2% .017 265/.16);--uilint-border:oklch(92% .004 265);--uilint-border-focus:oklch(55.2% .016 265);--uilint-accent:oklch(44.2% .017 265);--uilint-accent-foreground:oklch(98.5% .002 265);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(82% .165 80);--uilint-warning-bg:oklch(82% .165 80/.15);--uilint-error:oklch(72% .17 25);--uilint-error-bg:oklch(72% .17 25/.15);--uilint-info:oklch(62.3% .214 259);--uilint-info-bg:oklch(62.3% .214 259/.15);--uilint-shadow:0 4px 20px oklch(14.1% .005 265/.12);--uilint-shadow-lg:0 8px 32px oklch(14.1% .005 265/.18);--uilint-backdrop:oklch(98.5% .002 265/.92);--uilint-glass:oklch(99% .002 265/.7);--uilint-glass-border:oklch(100% .002 265/.25);--uilint-glass-highlight:oklch(100% 0 0/.4);--uilint-glass-blur-light:8px;--uilint-glass-blur-medium:16px;--uilint-glass-blur-heavy:24px;--uilint-glass-light:oklch(99% .002 265/.5);--uilint-glass-medium:oklch(99% .002 265/.7);--uilint-glass-heavy:oklch(99% .002 265/.85);--uilint-kbd-background:linear-gradient(180deg,oklch(100% 0 0) 0%,oklch(96.7% .003 265) 100%);--uilint-kbd-border:oklch(0% 0 0/.1);--uilint-kbd-shadow:0 1px 0 oklch(0% 0 0/.08);--uilint-kbd-text:oklch(44.2% .017 265);--uilint-badge-radius:6px;--uilint-button-radius:8px;--uilint-button-shadow:0 1px 2px oklch(0% 0 0/.05);--uilint-button-shadow-hover:0 2px 4px oklch(0% 0 0/.1);--uilint-button-default-bg:var(--uilint-accent);--uilint-button-default-text:var(--uilint-accent-foreground);--uilint-button-default-border:transparent;--uilint-button-secondary-bg:oklch(96.7% .003 265);--uilint-button-secondary-text:var(--uilint-text-primary);--uilint-button-secondary-border:var(--uilint-border);--uilint-button-ghost-bg:transparent;--uilint-button-ghost-text:var(--uilint-text-secondary);--uilint-button-ghost-border:transparent;--uilint-button-destructive-bg:var(--uilint-error);--uilint-button-destructive-text:oklch(100% 0 0);--uilint-button-destructive-border:transparent;--uilint-button-outline-bg:transparent;--uilint-button-outline-text:var(--uilint-text-primary);--uilint-button-outline-border:var(--uilint-border);--uilint-button-glass-bg:var(--uilint-glass-medium);--uilint-button-glass-text:var(--uilint-text-primary);--uilint-button-glass-border:var(--uilint-glass-border);--uilint-input-bg:oklch(100% 0 0/.6);--uilint-input-border:var(--uilint-border);--uilint-input-border-focus:var(--uilint-border-focus);--uilint-input-placeholder:var(--uilint-text-muted);--uilint-input-radius:8px;--uilint-input-ring:oklch(55.2% .016 265/.25);--uilint-card-bg:var(--uilint-surface);--uilint-card-border:var(--uilint-border);--uilint-card-radius:12px;--uilint-card-shadow:0 1px 3px oklch(0% 0 0/.04);--uilint-card-shadow-hover:0 4px 12px oklch(0% 0 0/.08);--uilint-card-elevated-bg:var(--uilint-surface-elevated);--uilint-card-elevated-shadow:0 4px 16px oklch(0% 0 0/.1);--uilint-card-glass-bg:var(--uilint-glass-medium);--uilint-card-glass-border:var(--uilint-glass-border);--uilint-icon-button-size:32px;--uilint-icon-button-size-sm:28px;--uilint-icon-button-size-lg:40px;--uilint-icon-button-radius:8px;--uilint-scrollbar-track:oklch(92% .004 265);--uilint-scrollbar-thumb:oklch(70.5% .015 265);--uilint-scrollbar-thumb-hover:oklch(55.2% .016 265);--uilint-radius:12px;--uilint-radius-sm:8px;--uilint-radius-lg:16px;--uilint-transition-fast:.1s ease;--uilint-transition-normal:.15s ease;--uilint-transition-slow:.25s ease;color-scheme:light}.dev-tool-root{color-scheme:light}.dark,.dark .dev-tool-root,.dev-tool-root.dark,.dev-tool-root[data-theme=dark]{--uilint-background:oklch(14.1% .005 265);--uilint-background-elevated:oklch(21% .006 265);--uilint-foreground:oklch(98.5% .002 265);--uilint-surface:oklch(14.1% .005 265);--uilint-surface-elevated:oklch(21% .006 265);--uilint-text-primary:oklch(98.5% .002 265);--uilint-text-secondary:oklch(87% .006 265);--uilint-text-muted:oklch(70.5% .015 265);--uilint-text-disabled:oklch(44.2% .017 265);--uilint-hover:oklch(70.5% .015 265/.12);--uilint-active:oklch(70.5% .015 265/.18);--uilint-border:oklch(98.5% .002 265/.12);--uilint-border-focus:oklch(70.5% .015 265);--uilint-accent:oklch(70.5% .015 265);--uilint-accent-foreground:oklch(14.1% .005 265);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(82% .165 80);--uilint-warning-bg:oklch(82% .165 80/.2);--uilint-error:oklch(72% .17 25);--uilint-error-bg:oklch(72% .17 25/.2);--uilint-info:oklch(62.3% .214 259);--uilint-info-bg:oklch(62.3% .214 259/.2);--uilint-shadow:0 4px 20px oklch(0% 0 0/.4);--uilint-shadow-lg:0 8px 32px oklch(0% 0 0/.5);--uilint-backdrop:oklch(14.1% .005 265/.92);--uilint-glass:oklch(21% .006 265/.7);--uilint-glass-border:oklch(100% .002 265/.12);--uilint-glass-highlight:oklch(100% 0 0/.1);--uilint-glass-light:oklch(23% .006 265/.5);--uilint-glass-medium:oklch(21% .006 265/.7);--uilint-glass-heavy:oklch(18% .005 265/.85);--uilint-kbd-background:linear-gradient(180deg,oklch(27.4% .006 265) 0%,oklch(21% .006 265) 100%);--uilint-kbd-border:oklch(100% 0 0/.1);--uilint-kbd-shadow:0 1px 0 oklch(0% 0 0/.2);--uilint-kbd-text:oklch(70.5% .015 265);--uilint-button-default-bg:var(--uilint-accent);--uilint-button-default-text:var(--uilint-accent-foreground);--uilint-button-default-border:transparent;--uilint-button-secondary-bg:oklch(27.4% .006 265);--uilint-button-secondary-text:var(--uilint-text-primary);--uilint-button-secondary-border:var(--uilint-border);--uilint-button-ghost-bg:transparent;--uilint-button-ghost-text:var(--uilint-text-secondary);--uilint-button-ghost-border:transparent;--uilint-button-destructive-bg:var(--uilint-error);--uilint-button-destructive-text:oklch(100% 0 0);--uilint-button-destructive-border:transparent;--uilint-button-outline-bg:transparent;--uilint-button-outline-text:var(--uilint-text-primary);--uilint-button-outline-border:var(--uilint-border);--uilint-button-glass-bg:var(--uilint-glass-medium);--uilint-button-glass-text:var(--uilint-text-primary);--uilint-button-glass-border:var(--uilint-glass-border);--uilint-input-bg:oklch(23% .006 265/.6);--uilint-input-border:var(--uilint-border);--uilint-input-border-focus:var(--uilint-border-focus);--uilint-input-placeholder:var(--uilint-text-muted);--uilint-input-ring:oklch(70.5% .015 265/.25);--uilint-card-bg:var(--uilint-surface);--uilint-card-border:var(--uilint-border);--uilint-card-shadow:0 1px 3px oklch(0% 0 0/.2);--uilint-card-shadow-hover:0 4px 12px oklch(0% 0 0/.3);--uilint-card-elevated-bg:var(--uilint-surface-elevated);--uilint-card-elevated-shadow:0 4px 16px oklch(0% 0 0/.4);--uilint-card-glass-bg:var(--uilint-glass-medium);--uilint-card-glass-border:var(--uilint-glass-border);--uilint-scrollbar-track:oklch(21% .006 265);--uilint-scrollbar-thumb:oklch(37% .013 265);--uilint-scrollbar-thumb-hover:oklch(44.2% .017 265);color-scheme:dark}@media(prefers-color-scheme:dark){:root:not(.light) .dev-tool-root:not(.light):not([data-theme=light]),.dev-tool-root:not(.light):not([data-theme=light]){--uilint-background:oklch(14.1% .005 265);--uilint-background-elevated:oklch(21% .006 265);--uilint-foreground:oklch(98.5% .002 265);--uilint-surface:oklch(14.1% .005 265);--uilint-surface-elevated:oklch(21% .006 265);--uilint-text-primary:oklch(98.5% .002 265);--uilint-text-secondary:oklch(87% .006 265);--uilint-text-muted:oklch(70.5% .015 265);--uilint-text-disabled:oklch(44.2% .017 265);--uilint-hover:oklch(70.5% .015 265/.12);--uilint-active:oklch(70.5% .015 265/.18);--uilint-border:oklch(98.5% .002 265/.12);--uilint-border-focus:oklch(70.5% .015 265);--uilint-accent:oklch(70.5% .015 265);--uilint-accent-foreground:oklch(14.1% .005 265);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(82% .165 80);--uilint-warning-bg:oklch(82% .165 80/.2);--uilint-error:oklch(72% .17 25);--uilint-error-bg:oklch(72% .17 25/.2);--uilint-shadow:0 4px 20px oklch(0% 0 0/.4);--uilint-backdrop:oklch(14.1% .005 265/.92);--uilint-glass:oklch(21% .006 265/.7);--uilint-glass-border:oklch(100% .002 265/.12);--uilint-scrollbar-track:oklch(21% .006 265);--uilint-scrollbar-thumb:oklch(37% .013 265);--uilint-scrollbar-thumb-hover:oklch(44.2% .017 265);color-scheme:dark}}.light,.light .dev-tool-root,.dev-tool-root.light,.dev-tool-root[data-theme=light]{--uilint-background:oklch(98.5% .002 265);--uilint-background-elevated:oklch(96.7% .003 265);--uilint-foreground:oklch(14.1% .005 265);--uilint-surface:oklch(98.5% .002 265);--uilint-surface-elevated:oklch(96.7% .003 265);--uilint-text-primary:oklch(14.1% .005 265);--uilint-text-secondary:oklch(37% .013 265);--uilint-text-muted:oklch(55.2% .016 265);--uilint-text-disabled:oklch(70.5% .015 265);--uilint-hover:oklch(55.2% .016 265/.12);--uilint-active:oklch(44.2% .017 265/.16);--uilint-border:oklch(92% .004 265);--uilint-border-focus:oklch(55.2% .016 265);--uilint-accent:oklch(44.2% .017 265);--uilint-accent-foreground:oklch(98.5% .002 265);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(82% .165 80);--uilint-warning-bg:oklch(82% .165 80/.15);--uilint-error:oklch(72% .17 25);--uilint-error-bg:oklch(72% .17 25/.15);--uilint-shadow:0 4px 20px oklch(14.1% .005 265/.12);--uilint-backdrop:oklch(98.5% .002 265/.92);--uilint-glass:oklch(99% .002 265/.7);--uilint-glass-border:oklch(100% .002 265/.25);--uilint-scrollbar-track:oklch(92% .004 265);--uilint-scrollbar-thumb:oklch(70.5% .015 265);--uilint-scrollbar-thumb-hover:oklch(55.2% .016 265);color-scheme:light}@keyframes uilint-fade-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes uilint-fade-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.98)}}@keyframes uilint-pulse{0%,to{box-shadow:0 0 6px 2px var(--uilint-pulse-color,#ffa50066)}50%{box-shadow:0 0 16px 6px var(--uilint-pulse-color,#ffa50099)}}@keyframes uilint-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes uilint-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uilint-popover-appear{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}[data-ui-lint] *{scrollbar-width:thin;scrollbar-color:var(--uilint-scrollbar-thumb)var(--uilint-scrollbar-track)}[data-ui-lint] ::-webkit-scrollbar{width:8px;height:8px}[data-ui-lint] ::-webkit-scrollbar-track{background:var(--uilint-scrollbar-track);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb{background:var(--uilint-scrollbar-thumb);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb:hover{background:var(--uilint-scrollbar-thumb-hover)}@media(max-width:767px){.dev-tool-root{--uilint-radius:16px}}.safe-area-padding-top{padding-top:env(safe-area-inset-top,0px)}.safe-area-padding-bottom{padding-bottom:env(safe-area-inset-bottom,0px)}.safe-area-padding-left{padding-left:env(safe-area-inset-left,0px)}.safe-area-padding-right{padding-right:env(safe-area-inset-right,0px)}@keyframes uilint-sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes uilint-sheet-down{0%{transform:translateY(0)}to{transform:translateY(100%)}}@media(pointer:coarse){.dev-tool-root button:focus-visible,.dev-tool-root [role=button]:focus-visible{outline-offset:2px}}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`;let FS=!1;const cR="uilint-devtool-root";function dR(){return typeof window<"u"}function qL({enabled:a=!0,mode:r="websocket",manifestUrl:l}){const[c,d]=U.useState(!1),[p,g]=U.useState(FS),v=U.useRef(null),b=U.useRef(!1);return r==="static"&&!l&&Ft("[DevTool] Static mode requires manifestUrl prop"),U.useEffect(()=>{d(!0)},[]),U.useEffect(()=>{if(!dR()||!a)return;sR(uR);const S=document.querySelector(`.${cR}`);if(S){v.current=S,b.current=!1;return}const A=document.createElement("div");return A.className=cR,A.setAttribute("data-ui-lint-root","true"),document.body.appendChild(A),v.current=A,b.current=!0,()=>{b.current&&v.current?.remove(),v.current=null,b.current=!1}},[a]),U.useEffect(()=>{if(!dR()||!a||!c)return;let S=null;const A=r==="static"&&l;async function C(){if(A?(Fe("[DevTool] Configuring static mode with manifest:",l),zk(l)):Ok(),!FS){Kn.register(IS),Kn.register(VL);const M=await cL([]);for(const L of M)Kn.register(L);Fe(`[DevTool] Loaded ${M.length} external plugin(s):`,M.map(L=>L.id).join(", ")),await OD({websocket:Ho,domObserver:Lg}),FS=!0,Fe("[DevTool] Plugins initialized in",A?"static":"websocket","mode")}const k=jD();if(k&&k.getState().setConnectionStatus({mode:A?"static":"websocket",maxReconnectAttempts:Lu}),g(!0),A)Fe("[DevTool] Static mode: starting DOM observer"),Lg.start();else{const M=await m7(),L=M?`ws://localhost:${M.port}`:void 0;M&&Fe(`[DevTool] Discovered server on port ${M.port}`),Ho.connect(L),S=Ho.onConnectionChange(B=>{B?(Fe("[DevTool] WebSocket connected, starting DOM observer"),Lg.start()):(Fe("[DevTool] WebSocket disconnected, stopping DOM observer"),Lg.stop())})}}return C(),()=>{S?.(),A||Ho.disconnect(),Lg.stop()}},[a,c,r,l]),!a||!c||!p?null:E.jsx(I9,{enabled:a})}function fR(a,r){a.setAttribute("data-position",r)}function YL(){if(typeof document>"u")return"light";const a=document.documentElement,r=document.body;if(a.classList.contains("dark")||r.classList.contains("dark"))return"dark";if(a.classList.contains("light")||r.classList.contains("light"))return"light";const l=a.getAttribute("data-theme"),c=r.getAttribute("data-theme");if(l==="dark"||c==="dark")return"dark";if(l==="light"||c==="light")return"light";const d=a.getAttribute("data-mode"),p=r.getAttribute("data-mode");return d==="dark"||p==="dark"?"dark":d==="light"||p==="light"?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function hR(a,r){a.classList.remove("light","dark"),a.removeAttribute("data-theme"),r!=="system"&&(a.classList.add(r),a.setAttribute("data-theme",r))}function GL(){if(typeof window>"u"||customElements.get("uilint-devtools"))return;class a extends HTMLElement{static get observedAttributes(){return["enabled","position","theme","mode","manifest-url"]}rootEl=null;reactRoot=null;themeObserver=null;mediaQueryListener=null;connectedCallback(){sR(uR);const l=document.createElement("div");l.className="dev-tool-root",l.setAttribute("data-ui-lint-root","true"),document.body.appendChild(l),this.rootEl=l,fR(l,this.getPosition()),this.syncTheme(),this.setupThemeObserver(),this.reactRoot=B3.createRoot(l),this.render()}disconnectedCallback(){this.reactRoot?.unmount(),this.reactRoot=null,this.rootEl?.remove(),this.rootEl=null,this.themeObserver?.disconnect(),this.themeObserver=null,this.mediaQueryListener&&(window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.mediaQueryListener),this.mediaQueryListener=null)}attributeChangedCallback(){this.rootEl&&(fR(this.rootEl,this.getPosition()),this.syncTheme(),this.render())}getEnabled(){const l=this.getAttribute("enabled");return l==null?!0:l!=="false"}getPosition(){const l=this.getAttribute("position");switch(l){case"bottom-right":case"top-left":case"top-right":case"bottom-left":case"top-center":case"bottom-center":return l;default:return"top-center"}}getTheme(){const l=this.getAttribute("theme");switch(l){case"light":case"dark":return l;default:return"system"}}getMode(){return this.getAttribute("mode")==="static"?"static":"websocket"}getManifestUrl(){return this.getAttribute("manifest-url")??void 0}syncTheme(){if(!this.rootEl)return;const l=this.getTheme();if(l==="system"){const c=YL();hR(this.rootEl,c)}else hR(this.rootEl,l)}setupThemeObserver(){this.themeObserver=new MutationObserver(()=>{this.getTheme()==="system"&&this.syncTheme()});const l={attributes:!0,attributeFilter:["class","data-theme","data-mode"]};this.themeObserver.observe(document.documentElement,l),this.themeObserver.observe(document.body,l);const c=window.matchMedia("(prefers-color-scheme: dark)");this.mediaQueryListener=()=>{this.getTheme()==="system"&&this.syncTheme()},c.addEventListener("change",this.mediaQueryListener)}render(){this.reactRoot&&this.reactRoot.render(E.jsx(qL,{enabled:this.getEnabled(),mode:this.getMode(),manifestUrl:this.getManifestUrl()}))}}customElements.define("uilint-devtools",a)}GL();function PS(a,r){const l=r.split(".");let c=a;for(const d of l){if(c==null)return;if(typeof c=="object")c=c[d];else return}return c}function La(a,r){const l=a.binding;let c=PS(r.data,l);return c===void 0&&(c=PS(r.state,l)),c===void 0&&(c=PS(r.computed,l)),c}function XL(a,r){const l=a.expression,c={...r.data,...r.state,...r.computed};try{const d=Object.keys(c),p=Object.values(c);return new Function(...d,`return (${l});`)(...p)}catch(d){console.warn(`[SchemaRenderer] Failed to evaluate expression: ${l}`,d);return}}function fs(a,r){return Hy(a)?La(a,r):a}function $L(a,r){return La(a.condition,r)?a.true:a.false}function pR(a,r){return XE(a)?$L(a,r):Hy(a)?La(a,r):a}function KS(a,r){return GE(a)?!!XL(a,r):!!La(a,r)}function JS(a,r,l){const c={...a};if(r)for(const[d,p]of Object.entries(r))c[d]=La({binding:p},l);return c}function QL({section:a,ctx:r}){const l=fs(a.text,r),c=fs(a.subtitle,r),d=a.icon?Uu(a.icon):null;return E.jsxs("div",{className:be("flex items-start gap-2 mb-3",a.sticky&&"sticky top-0 bg-surface py-2 z-10"),children:[d&&E.jsx("span",{className:"text-muted-foreground shrink-0 mt-0.5",children:E.jsx(d,{size:16})}),E.jsxs("div",{children:[E.jsx("h3",{className:"m-0 text-sm font-semibold text-text-primary",children:String(l??"")}),c&&E.jsx("p",{className:"mt-1 mb-0 text-xs text-muted-foreground",children:String(c)})]})]})}function IL({code:a,startLine:r=1,highlightLines:l,maxHeight:c}){const d=a.split(`
258
- `),p=new Set(l||[]);return E.jsx("div",{className:"font-mono text-xs bg-surface rounded border border-border overflow-auto",style:{maxHeight:c||200},children:d.map((g,v)=>{const b=r+v,S=p.has(b);return E.jsxs("div",{className:`flex ${S?"bg-accent/15":"bg-transparent"}`,children:[E.jsx("span",{className:"w-12 pr-2 text-right text-muted-foreground select-none shrink-0 border-r border-border",children:b}),E.jsx("pre",{className:"m-0 px-2 whitespace-pre-wrap break-all flex-1",children:g||" "})]},v)})})}function WS({section:a,ctx:r,onAction:l,onFetch:c}){const[d,p]=nn.useState(null),[g,v]=nn.useState(!1),b=a.code;nn.useEffect(()=>{if(Hy(b)){const M=La(b,r);p(typeof M=="string"?M:null)}else if("fetch"in b&&c){v(!0);const M=b.fetch,L={};M.params.filePath&&(L.filePath=La(M.params.filePath,r)),M.params.line&&(L.line=La(M.params.line,r)),M.params.contextAbove!==void 0&&(L.contextAbove=M.params.contextAbove),M.params.contextBelow!==void 0&&(L.contextBelow=M.params.contextBelow),c(M.type,L).then(B=>{p(typeof B=="string"?B:JSON.stringify(B,null,2))}).catch(B=>{console.error("[CodeViewerSection] Fetch failed:",B),p(`// Error loading code: ${B.message}`)}).finally(()=>{v(!1)})}},[b,r,c]);const S=fs(a.startLine,r),A=a.highlightLines?La(a.highlightLines,r):void 0,C=a.icon?Uu(a.icon):null,k=a.onNavigate?()=>{const M=JS(a.onNavigate.payload,a.onNavigate.payloadBindings,r);l(a.onNavigate.type,M)}:void 0;return E.jsxs("div",{className:"mb-3",children:[a.label&&E.jsxs("div",{className:"flex items-center justify-between mb-2",children:[E.jsxs("div",{className:"flex items-center gap-1.5",children:[C&&E.jsx("span",{className:"text-muted-foreground",children:E.jsx(C,{size:14})}),E.jsx("span",{className:"text-xs font-medium text-text-secondary",children:a.label})]}),k&&E.jsx("button",{onClick:k,className:"bg-transparent border-none p-1 cursor-pointer text-accent text-xs",children:"Open in editor"})]}),g?E.jsx("div",{className:"p-4 text-center text-muted-foreground text-xs bg-surface rounded border border-border",children:"Loading code..."}):d?E.jsx(IL,{code:d,startLine:typeof S=="number"?S:1,highlightLines:A,maxHeight:a.maxHeight}):E.jsx("div",{className:"p-4 text-center text-muted-foreground text-xs bg-surface rounded border border-border",children:"No code available"})]})}function ZL({section:a,ctx:r,onAction:l,onFetch:c}){const p=a.mode==="stacked"?{display:"flex",flexDirection:"column",gap:"1rem",marginBottom:"0.75rem"}:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1rem",marginBottom:"0.75rem"},g={type:"code-viewer",label:a.source.label,icon:a.source.icon,code:a.source.code,location:a.source.location,diffHighlighting:a.computeDiff,maxHeight:a.maxHeight},v={type:"code-viewer",label:a.target.label,icon:a.target.icon,code:a.target.code,location:a.target.location,diffHighlighting:a.computeDiff,maxHeight:a.maxHeight};return E.jsxs("div",{style:p,children:[E.jsx(WS,{section:g,ctx:r,onAction:l,onFetch:c}),E.jsx(WS,{section:v,ctx:r,onAction:l,onFetch:c})]})}function FL(a){return a>=85?"error":a>=70?"warning":"info"}function PL(a){return a>=90?"Very High":a>=75?"High":a>=60?"Moderate":"Low"}function KL({section:a,ctx:r}){const l=La(a.value,r),c=be("mb-3",a.centered&&"flex justify-center");switch(a.variant){case"similarity":{const p=Math.round((typeof l=="number"?l:0)*100),g=FL(p),v=PL(p);return E.jsx("div",{className:c,children:E.jsxs(vl,{variant:g,children:[p,"% Match - ",v]})})}case"severity":{const d=String(l||"info"),g={error:"error",warning:"warning",info:"info",success:"success"}[d]||"info";return E.jsx("div",{className:c,children:E.jsxs(vl,{variant:g,children:[a.label?`${a.label}: `:"",d]})})}case"status":{const d=String(l||"unknown"),g={ready:"success",indexing:"info",error:"error",idle:"info",loading:"info"}[d]||"info";return E.jsx("div",{className:c,children:E.jsxs(vl,{variant:g,children:[a.label?`${a.label}: `:"",d]})})}case"category":{const d=String(l||"");return E.jsx("div",{className:c,children:E.jsx(j8,{children:d})})}case"count":{const d=typeof l=="number"?l:0;return E.jsxs("div",{className:c,children:[a.label&&E.jsxs("span",{className:"mr-2 text-xs text-muted-foreground",children:[a.label,":"]}),E.jsx(N8,{count:d})]})}default:return null}}function JL(a){const r={marginBottom:"0.5rem",lineHeight:1.5};switch(a){case"caption":return{...r,fontSize:"0.75rem",color:"var(--uilint-text-muted)"};case"muted":return{...r,fontSize:"0.875rem",color:"var(--uilint-text-muted)"};case"error":return{...r,fontSize:"0.875rem",color:"var(--uilint-error)"};case"success":return{...r,fontSize:"0.875rem",color:"var(--uilint-success)"};default:return{...r,fontSize:"0.875rem",color:"var(--uilint-text-primary)"}}}function WL({section:a,ctx:r}){const l=fs(a.content,r);if(l==null)return null;const c=JL(a.variant);return E.jsx("p",{style:c,children:String(l)})}function eU(a){switch(a){case"primary":return"default";case"secondary":return"outline";case"ghost":return"ghost";case"danger":return"destructive";default:return"default"}}function tU({button:a,ctx:r,onAction:l}){if(a.visible&&!!!La(a.visible,r))return null;const c=a.disabled?!!La(a.disabled,r):!1;let d;XE(a.label),d=String(pR(a.label,r)??"");const p=a.icon?Uu(a.icon):null,g=()=>{const v=JS(a.action.payload,a.action.payloadBindings,r);l(a.action.type,v)};return E.jsxs(rk,{variant:eU(a.variant),size:"sm",disabled:c,onClick:g,children:[p&&E.jsx(p,{size:14,style:{marginRight:"0.25rem"}}),d]})}function nU({section:a,ctx:r,onAction:l}){const c=a.direction!=="column";return E.jsx("div",{style:{display:"flex",flexDirection:c?"row":"column",gap:"0.5rem",marginBottom:"0.75rem",...c&&{flexWrap:"wrap"}},children:a.actions.map(d=>E.jsx(tU,{button:d,ctx:r,onAction:l},d.id))})}function aU(a){switch(a){case"small":return"0.5rem 0";case"large":return"1.5rem 0";default:return"1rem 0"}}function iU({section:a}){const r=aU(a.spacing);return E.jsx("hr",{style:{margin:r,border:"none",borderTop:"1px solid var(--uilint-border)"}})}function oU({section:a,ctx:r,renderSection:l}){const d=KS(a.condition,r)?a.then:a.else;return!d||d.length===0?null:E.jsx(E.Fragment,{children:d.map((p,g)=>E.jsx(nn.Fragment,{children:l(p,g)},g))})}function rU({section:a,ctx:r,renderSection:l}){const c=La(a.items,r);return!Array.isArray(c)||c.length===0?a.emptyMessage?E.jsx("div",{className:"p-4 text-center text-muted-foreground text-sm",children:a.emptyMessage}):null:E.jsx("div",{className:"mb-3",children:c.map((d,p)=>{const g={...r,data:{...r.data,item:d,itemIndex:p}};return E.jsx("div",{className:"mb-2",children:a.itemLayout.map((v,b)=>l(v,b,g))},p)})})}function lU({section:a,ctx:r}){const l=La(a.src,r),c=a.highlightRegion?La(a.highlightRegion,r):void 0;return!l||typeof l!="string"?null:E.jsxs("div",{className:"relative mb-3 overflow-hidden",style:{maxHeight:a.maxHeight},children:[E.jsx("img",{src:l,alt:a.alt||"Image",className:"w-full h-auto object-contain rounded border border-border",style:{maxHeight:a.maxHeight}}),c&&E.jsx("div",{className:"absolute border-2 border-accent rounded bg-accent/10 pointer-events-none",style:{left:`${c.x}px`,top:`${c.y}px`,width:`${c.width}px`,height:`${c.height}px`}})]})}function sU({section:a,ctx:r,onAction:l}){const c=fs(a.title,r),d=fs(a.subtitle,r),p=a.thumbnail?La(a.thumbnail,r):void 0,g=a.badge?La(a.badge.value,r):void 0,v=a.onClick?()=>{const b=JS(a.onClick.payload,a.onClick.payloadBindings,r);l(a.onClick.type,b)}:void 0;return E.jsx(jS,{className:be("mb-2",v&&"cursor-pointer"),onClick:v,role:v?"button":void 0,tabIndex:v?0:void 0,children:E.jsxs("div",{className:"flex items-start gap-3",children:[typeof p=="string"&&p&&E.jsx("img",{src:p,alt:"",className:"w-12 h-12 rounded object-cover shrink-0"}),E.jsx("div",{className:"flex-1 min-w-0",children:E.jsxs(sk,{className:"px-3 pt-3 pb-0",children:[E.jsxs("div",{className:"flex justify-between items-start",children:[E.jsx(uk,{className:"text-sm mb-0",children:String(c??"")}),a.badge&&g!==void 0&&E.jsxs(vl,{variant:a.badge.variant==="severity"?"warning":"info",children:[a.badge.label?`${a.badge.label}: `:"",String(g)]})]}),d&&E.jsx(ck,{className:"text-xs mt-1",children:String(d)})]})})]})})}function uU({section:a,ctx:r}){const l=fs(a.value,r),c=fs(a.label,r),d=typeof l=="number"?Math.min(100,Math.max(0,l)):0;return E.jsxs("div",{className:"mb-3",children:[c&&E.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:String(c)}),E.jsx("div",{className:"h-1.5 bg-surface rounded-sm overflow-hidden",children:a.indeterminate?E.jsx("div",{className:"h-full w-[30%] bg-accent rounded-sm",style:{animation:"progress-indeterminate 1.5s infinite linear"}}):E.jsx("div",{className:"h-full bg-accent rounded-sm transition-[width] duration-300 ease-in-out",style:{width:`${d}%`}})}),!a.indeterminate&&typeof l=="number"&&E.jsxs("div",{className:"text-xs text-muted-foreground mt-1 text-right",children:[d,"%"]})]})}function cU({panel:a,data:r,state:l,computed:c={},onAction:d,onFetch:p}){const g={data:r,state:l,computed:c};if(a.loading&&KS(a.loading.when,g))return E.jsxs("div",{className:"p-8 text-center text-muted-foreground",children:[E.jsx("div",{className:"mb-2 animate-spin",children:E.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:E.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2",strokeDasharray:"31.4",strokeLinecap:"round"})})}),E.jsx("div",{className:"text-sm",children:a.loading.message||"Loading..."}),a.loading.submessage&&E.jsx("div",{className:"text-xs mt-1",children:a.loading.submessage})]});if(a.empty&&KS(a.empty.when,g)){const A=a.empty.icon?Uu(a.empty.icon):null;return E.jsxs("div",{className:"p-8 text-center text-muted-foreground",children:[A&&E.jsx("div",{className:"mb-2",children:E.jsx(A,{size:32,strokeWidth:1.5})}),E.jsx("div",{className:"text-sm",children:a.empty.message}),a.empty.submessage&&E.jsx("div",{className:"text-xs mt-1",children:a.empty.submessage})]})}const v=(S,A,C)=>{const k=C||g,M=`section-${A}`;switch(S.type){case"header":return E.jsx(QL,{section:S,ctx:k},M);case"code-viewer":return E.jsx(WS,{section:S,ctx:k,onAction:d,onFetch:p},M);case"code-comparison":return E.jsx(ZL,{section:S,ctx:k,onAction:d,onFetch:p},M);case"badge":return E.jsx(KL,{section:S,ctx:k},M);case"text":return E.jsx(WL,{section:S,ctx:k},M);case"actions":return E.jsx(nU,{section:S,ctx:k,onAction:d},M);case"divider":return E.jsx(iU,{section:S},M);case"conditional":return E.jsx(oU,{section:S,ctx:k,renderSection:v},M);case"list":return E.jsx(rU,{section:S,ctx:k,renderSection:v},M);case"image":return E.jsx(lU,{section:S,ctx:k},M);case"card":return E.jsx(sU,{section:S,ctx:k,onAction:d},M);case"progress":return E.jsx(uU,{section:S,ctx:k},M);default:return console.warn(`[SchemaPanel] Unknown section type: ${S.type}`),null}},b=fs(a.title,g);return E.jsxs("div",{className:"p-4",children:[b&&E.jsx("h2",{className:"m-0 mb-4 text-base font-semibold text-text-primary",children:String(b)}),a.layout.map((S,A)=>v(S,A))]})}const dU=Object.freeze(Object.defineProperty({__proto__:null,SchemaPanel:cU},Symbol.toStringTag,{value:"Module"}))})();
255
+ `),g=P7(d,p);return K7(g,d,p,l,c)}function Nk(a){if(typeof a!="string")return null;try{const r=JSON.parse(a);return{filePath:r.filePath??"",startLine:r.startLine??1,endLine:r.endLine??1}}catch{return null}}function Lk(a){const r=a.split("/");return r[r.length-1]||a}function W7(a){return a>=90?"error":a>=80?"warning":"info"}function e9({issue:a,onIgnore:r,isIgnored:l=!1,className:c}){const[d,p]=U.useState("stacked"),g=a.metadata??{},v=g.sourceCode||"",b=g.targetCode||"",S=g.sourceName||"(anonymous)",A=g.targetName||"(anonymous)",C=parseInt(g.similarity||"0",10),k=g.kind||"code",M=Nk(g.sourceLocation),L=Nk(g.targetLocation),B=U.useMemo(()=>J7(v,b,M?.startLine??1,L?.startLine??1),[v,b,M?.startLine,L?.startLine]);if(!v&&!b)return E.jsx("div",{className:"p-6 text-center text-muted-foreground text-xs",children:"No code comparison data available for this issue."});const H=d==="side-by-side";return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:l?.4:1},transition:{duration:.15},className:be("flex flex-col gap-3",c),children:[E.jsxs("div",{className:"flex items-center gap-2 px-1",children:[E.jsxs(vl,{variant:W7(C),size:"sm",disableAnimation:!0,children:[C,"% similar"]}),E.jsx("span",{className:"text-[11px] text-muted-foreground",children:k}),E.jsx("div",{className:"flex-1"}),E.jsxs("div",{className:"flex items-center gap-1",children:[E.jsx("button",{type:"button",onClick:()=>p("stacked"),className:be("p-1 rounded transition-colors",H?"text-muted-foreground hover:text-foreground":"bg-foreground/[0.08] text-foreground"),title:"Stacked view",children:E.jsx(J6,{size:14})}),E.jsx("button",{type:"button",onClick:()=>p("side-by-side"),className:be("p-1 rounded transition-colors",H?"bg-foreground/[0.08] text-foreground":"text-muted-foreground hover:text-foreground"),title:"Side by side view",children:E.jsx(U6,{size:14})})]})]}),E.jsxs("div",{className:be(H?"grid grid-cols-2 gap-3":"flex flex-col gap-3"),children:[E.jsxs("div",{className:"flex flex-col gap-1.5",children:[E.jsxs("div",{className:"flex items-center gap-1.5 px-1",children:[E.jsx("span",{className:"text-xs font-medium text-text-primary truncate",children:S}),M&&E.jsxs("span",{className:"text-[11px] text-muted-foreground font-mono truncate",children:[Lk(M.filePath),":",M.startLine]})]}),E.jsx(jk,{lines:B.sourceLines,label:"This Code",maxHeight:H?300:220})]}),E.jsxs("div",{className:"flex flex-col gap-1.5",children:[E.jsxs("div",{className:"flex items-center gap-1.5 px-1",children:[E.jsx("span",{className:"text-xs font-medium text-text-primary truncate",children:A}),L&&E.jsxs("span",{className:"text-[11px] text-muted-foreground font-mono truncate",children:[Lk(L.filePath),":",L.startLine]})]}),E.jsx(jk,{lines:B.targetLines,label:"Similar Code",maxHeight:H?300:220})]})]}),E.jsxs("div",{className:"flex items-center gap-2 px-1",children:[M&&E.jsx(Uk,{icon:E.jsx(_g,{size:12}),label:`Open ${S}`,href:M.filePath}),L&&E.jsx(Uk,{icon:E.jsx(_g,{size:12}),label:`Open ${A}`,href:L.filePath}),E.jsx("div",{className:"flex-1"}),r&&E.jsxs("button",{type:"button",onClick:()=>r(a.id),className:be("inline-flex items-center gap-1.5 px-2 py-1 rounded","text-[11px] transition-colors",l?"text-foreground/80 bg-foreground/[0.06]":"text-muted-foreground hover:text-foreground hover:bg-foreground/[0.04]"),children:[l?E.jsx(pC,{size:12}):E.jsx(fC,{size:12}),l?"Restore":"Ignore"]})]})]})}function Uk({icon:a,label:r,href:l}){return E.jsxs("span",{className:"inline-flex items-center gap-1 text-[11px] text-muted-foreground/60 truncate",title:l,children:[a,E.jsx("span",{className:"truncate",children:r})]})}function qS(a){return parseInt(a.metadata?.similarity||"0",10)}function t9(a){return a.metadata?.targetName||"(anonymous)"}function n9(a){return a.metadata?.sourceName||"(anonymous)"}function a9(a){try{const r=JSON.parse(a.metadata?.targetLocation||"{}"),l=r.filePath;if(!l)return null;const c=l.split("/");return`${c[c.length-1]}:${r.startLine}`}catch{return null}}function i9(a){return a>=90?"text-error":a>=80?"text-warning":"text-info"}function o9({issue:a,isExpanded:r,isIgnored:l,onClick:c,onIgnore:d,index:p}){const g=qS(a),v=n9(a),b=t9(a),S=a9(a);return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:l?.4:1},transition:{duration:.1,delay:Math.min(p*.03,.2)},className:be("border border-foreground/[0.06] rounded-lg overflow-hidden","transition-colors duration-100",r?"bg-foreground/[0.02] border-foreground/[0.1]":"hover:bg-foreground/[0.02]"),children:[E.jsxs("button",{type:"button",onClick:c,className:be("w-full text-left flex items-center gap-2 px-3 py-2.5","transition-colors duration-100","group"),children:[E.jsx(_h,{size:14,className:be("text-muted-foreground/40 transition-transform duration-150 shrink-0",r&&"rotate-90")}),E.jsxs("span",{className:be("text-xs font-semibold tabular-nums shrink-0",i9(g)),children:[g,"%"]}),E.jsxs("div",{className:"flex items-center gap-1.5 min-w-0 flex-1",children:[E.jsx("span",{className:"text-xs text-foreground/80 truncate",children:v}),E.jsx(G6,{size:10,className:"text-muted-foreground/40 shrink-0"}),E.jsx("span",{className:"text-xs text-foreground/80 truncate",children:b})]}),S&&E.jsx("span",{className:"text-[10px] text-muted-foreground/50 font-mono shrink-0 hidden sm:inline",children:S}),l&&E.jsx(fC,{size:12,className:"text-muted-foreground/40 shrink-0"})]}),E.jsx(ga,{children:r&&E.jsx(Ne.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:E.jsx("div",{className:"px-3 pb-3 pt-1 border-t border-foreground/[0.04]",children:E.jsx(e9,{issue:a,onIgnore:d,isIgnored:l})})})})]})}function r9({issues:a,selectedIssueId:r,onIssueClick:l,ignoredIssueIds:c,onIgnore:d,showIgnored:p=!1,className:g}){const[v,b]=U.useState(r),S=U.useMemo(()=>[...a].sort((M,L)=>qS(L)-qS(M)),[a]),A=U.useMemo(()=>!c||c.size===0||p?S:S.filter(M=>!c.has(M.id)),[S,c,p]),C=U.useMemo(()=>c?S.filter(M=>c.has(M.id)).length:0,[S,c]),k=U.useCallback(M=>{const L=v!==M.id;b(L?M.id:null),l(M)},[v,l]);return E.jsxs(Ne.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.1},className:be("flex flex-col gap-2 p-3",g),children:[E.jsxs("div",{className:"flex items-center gap-2 px-1",children:[E.jsxs("span",{className:"text-xs text-muted-foreground",children:[A.length," duplicate",A.length!==1?"s":""," found"]}),C>0&&E.jsxs(vl,{variant:"outline",size:"sm",disableAnimation:!0,children:[C," ignored"]})]}),A.map((M,L)=>E.jsx(o9,{issue:M,isExpanded:v===M.id,isIgnored:c?.has(M.id)??!1,onClick:()=>k(M),onIgnore:d,index:L},M.id)),A.length===0&&E.jsx("div",{className:"py-8 text-center text-xs text-muted-foreground/60",children:C>0?"All duplicates in this file are ignored.":"No duplicates found."})]})}function Bk(){return E.jsx(_h,{size:12,className:"text-muted-foreground/30 flex-shrink-0 mx-1"})}function YS({children:a,onClick:r,isActive:l=!1,icon:c}){const d=!!r&&!l;return E.jsxs(Ne.button,{onClick:d?r:void 0,disabled:!d,className:be("flex items-center gap-1 px-1.5 py-0.5 rounded text-xs","transition-colors duration-100",d&&"hover:bg-foreground/[0.05] cursor-pointer",l?"text-foreground/80 font-medium":"text-muted-foreground/60",!d&&!l&&"cursor-default"),whileHover:d?{scale:1.02}:void 0,whileTap:d?{scale:.98}:void 0,children:[c,E.jsx("span",{className:"truncate max-w-[120px]",children:a})]})}function Hk({expandedRuleName:a,expandedFileName:r,onCollapseToRoot:l,onCollapseFile:c,variant:d="standalone",className:p}){return a?E.jsxs(Ne.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.15},className:be("flex items-center px-4 py-2",d!=="embedded"&&"border-b border-foreground/[0.04] bg-foreground/[0.01]",p),children:[E.jsx(YS,{onClick:l,icon:E.jsx(Y6,{size:11,className:"opacity-50"}),children:"All Rules"}),E.jsx(Bk,{}),E.jsx(YS,{onClick:r?c:void 0,isActive:!r,children:a}),r&&E.jsxs(E.Fragment,{children:[E.jsx(Bk,{}),E.jsx(YS,{isActive:!0,children:r})]})]}):null}U.createContext(null);function l9(a,r){const l=a===1?"issue":"issues";return r!==void 0&&r>0?`${a} ${l} in ${r} ${r===1?"file":"files"}`:`${a} ${l}`}function s9({label:a,subtitle:r,tileType:l,count:c,fileCount:d,onBack:p,className:g}){const v=c!==void 0?l9(c,d):void 0;return E.jsx(Ne.div,{variants:GN,initial:"hidden",animate:"visible",exit:"exit",transition:XN,className:be("flex items-center justify-between gap-2 px-3 py-2","border-b border-foreground/[0.04]",g),children:E.jsxs("div",{className:"flex items-center gap-1.5 min-w-0 flex-1",children:[E.jsx(Ne.button,{onClick:p,variants:$N,initial:"rest",whileHover:"hover",whileTap:"tap",transition:QN,className:be("flex items-center justify-center","w-6 h-6 rounded-md","text-muted-foreground/70 hover:text-foreground","hover:bg-foreground/[0.05]","transition-colors duration-100","flex-shrink-0"),"aria-label":"Go back",children:E.jsx(M6,{size:16,strokeWidth:2})}),E.jsxs("div",{className:"min-w-0 flex-1 flex flex-col",children:[E.jsxs("div",{className:"flex items-baseline gap-2",children:[E.jsx(Ne.h3,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1},className:"text-sm font-medium text-foreground truncate",children:a}),v&&E.jsx(Ne.span,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1,delay:.05},className:"text-[11px] text-muted-foreground/50 truncate hidden sm:inline",children:v})]}),r&&E.jsx(Ne.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.1},className:be("text-[10px] text-muted-foreground/50 truncate",l==="file"&&"font-mono"),children:r})]})]})})}const u9=14,c9={top:0,right:0,bottom:0,left:0},Vk=12;function d9({item:a,children:r,childrenHeight:l,availableWidth:c,onBack:d,onChildClick:p}){return E.jsxs(Ne.div,{layoutId:`tile-${a.id}`,initial:{opacity:.9},animate:{opacity:1},exit:{opacity:.9},transition:{duration:Nu.expand,ease:Cd},className:be("rounded-2xl","border border-foreground/[0.08]","bg-background/60 backdrop-blur-md","overflow-hidden","shadow-lg","h-full"),children:[E.jsx(s9,{label:a.label,subtitle:a.subtitle,tileType:a.tileType,count:a.count,fileCount:a.fileCount,onBack:d}),E.jsx(Ne.div,{variants:YN,initial:"hidden",animate:"visible",exit:"exit",className:"p-3",style:{height:l+Vk*2},children:E.jsx(Ek,{items:r,onTileClick:p,selectedIndex:-1,availableWidth:c-Vk*2,padding:{top:0,right:0,bottom:0,left:0}})})]})}function f9({items:a,expandedId:r,expandedChildren:l,onTileClick:c,onExpandedChildClick:d,onBack:p,availableWidth:g,selectedIndex:v=-1,gap:b=u9,padding:S=c9,extraExpandedHeight:A=0,renderExpandedContent:C}){const k=U.useMemo(()=>Ng(a,{availableWidth:g,gap:b,padding:S}),[a,g,b,S]),M=U.useMemo(()=>a.map(ae=>({id:ae.id,count:ae.count})),[a]),L=U.useMemo(()=>l.map(ae=>({id:ae.id,count:ae.count})),[l]),B=U.useMemo(()=>HN({items:M,expandedId:r,children:L,config:{availableWidth:g,gap:b,padding:S},extraExpandedHeight:A}),[M,r,L,g,b,S,A]),H=B.positions,Q=B.totalHeight,K=U.useMemo(()=>{const ae=new Map;return[...a].sort((Ae,J)=>{const $=H.get(Ae.id),ge=H.get(J.id),we=($?.y??0)-(ge?.y??0);return Math.abs(we)>10?we:($?.x??0)-(ge?.x??0)}).forEach((Ae,J)=>ae.set(Ae.id,J)),ae},[a,H]),q=U.useMemo(()=>a.find(ae=>ae.id===r)||null,[a,r]);return E.jsx("div",{className:"relative",style:{height:Q,minHeight:200},children:E.jsx(ga,{mode:"popLayout",children:a.map((ae,he)=>{const Ae=H.get(ae.id),J=k.tiles.get(ae.id);if(!Ae||!J)return null;const $=K.get(ae.id)??he,ge=ae.id===r,we=$===v;return ge&&q?E.jsx(Ne.div,{className:"absolute",style:{left:Ae.x,width:Ae.width,height:Ae.height},initial:{top:Ae.y,opacity:.9},animate:{top:Ae.y,opacity:1},exit:{opacity:.9},transition:{duration:Nu.expand,ease:Cd},children:C?C(ae,l,B.childrenHeight,g):E.jsx(d9,{item:ae,children:l,childrenHeight:B.childrenHeight,availableWidth:g,onBack:p,onChildClick:d})},ae.id):E.jsx(Ne.div,{className:"absolute",style:{left:Ae.x,width:Ae.width,height:Ae.height},initial:{top:J.y,opacity:0,scale:.9},animate:{top:Ae.y,opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:Nu.standard,ease:Cd,delay:Math.min(he*.02,.15)},children:E.jsx(yk,{id:ae.id,label:ae.label,subtitle:ae.subtitle,tileType:ae.tileType??ae.metadata?.tileType,count:ae.count,fileCount:ae.fileCount,configTags:Sk(ae.metadata),bucket:J.bucket,isSelected:we,onClick:()=>c(ae)})},ae.id)})})})}function h9(a,r){return`${a} ${a===1?"issue":"issues"} in ${r} ${r===1?"file":"files"}`}function p9(a){return a.includes("/")&&a.split("/").pop()||a}function m9(a){const r=new Map;for(const c of a)for(const d of c.issues){const p=d.ruleId||"unknown",g=p9(p);r.has(p)||r.set(p,{ruleId:p,ruleName:g,totalCount:0,severityCounts:{error:0,warning:0,info:0},highestSeverity:"info",files:new Map});const v=r.get(p);v.totalCount++,v.severityCounts[d.severity]++,d.severity==="error"?v.highestSeverity="error":d.severity==="warning"&&v.highestSeverity!=="error"&&(v.highestSeverity="warning"),v.files.has(c.filePath)||v.files.set(c.filePath,{filePath:c.filePath,fileName:c.fileName,directory:c.directory,issueCount:0,severityCounts:{error:0,warning:0,info:0},issues:[]});const b=v.files.get(c.filePath);b.issueCount++,b.severityCounts[d.severity]++,b.issues.push({id:d.id,message:d.message,severity:d.severity,line:d.line,column:d.column})}return Array.from(r.values()).sort((c,d)=>{const p={error:0,warning:1,info:2},g=p[c.highestSeverity]-p[d.highestSeverity];return g!==0?g:d.totalCount-c.totalCount}).map(c=>{const p=Array.from(c.files.values()).flatMap(g=>g.issues).slice(0,3).map(g=>g.message);return{id:c.ruleId,label:c.ruleName,subtitle:h9(c.totalCount,c.files.size),count:c.totalCount,previewMessages:p,fileCount:c.files.size,data:{ruleId:c.ruleId,ruleName:c.ruleName,highestSeverity:c.highestSeverity,files:Array.from(c.files.values())},hasChildren:!0,isLeaf:!1}})}function g9(a){return a.data.files.sort((r,l)=>{const c={error:0,warning:1,info:2},d=r.severityCounts.error>0?"error":r.severityCounts.warning>0?"warning":"info",p=l.severityCounts.error>0?"error":l.severityCounts.warning>0?"warning":"info",g=c[d]-c[p];return g!==0?g:l.issueCount-r.issueCount}).map(r=>({id:`${a.id}:${r.filePath}`,label:r.fileName,subtitle:r.filePath,tileType:"file",count:r.issueCount,severityCounts:r.severityCounts,data:r,isLeaf:!0}))}function v9(a,r){return{id:a.id,label:a.label,count:a.count??0,fileCount:a.fileCount,metadata:{isRule:!0,ruleId:a.id,tileType:"rule",category:r?.category,currentSeverity:r?.currentSeverity,defaultSeverity:r?.defaultSeverity,currentOptions:r?.currentOptions,optionSchema:r?.optionSchema},data:a.data}}function y9(a){return{id:a.id,label:a.label,subtitle:a.subtitle,tileType:a.tileType,count:a.count??0,severityCounts:a.severityCounts,data:a.data}}function b9(){return E.jsxs("div",{className:"flex flex-col items-center justify-center py-12 px-4 text-center",children:[E.jsx("div",{className:"text-4xl mb-4 opacity-30",children:"✨"}),E.jsx("h3",{className:"text-lg font-medium text-foreground/80 mb-2",children:"No issues found"}),E.jsx("p",{className:"text-sm text-muted-foreground/60 max-w-xs",children:"Great job! Your code looks clean."})]})}const qk=34,Yk=40,x9=300;function w9({className:a}){const r=U.useRef(null),l=Ce(sD),c=Ce(fe=>fe.inspector.expandedRuleId),d=Ce(fe=>fe.inspector.expandedFilePath),p=Ce(fe=>fe.inspector.selectedIssueId),g=Ce(fe=>fe.inspector.showFullSource),v=Ce(fe=>fe.inspector.layoutAvailableWidth),b=Ce(fe=>fe.plugins?.eslint?.availableRules),S=Ce(fe=>fe.expandRule),A=Ce(fe=>fe.collapseRule),C=Ce(fe=>fe.expandFileInRule),k=Ce(fe=>fe.collapseFileInRule),M=Ce(fe=>fe.selectIssue),L=Ce(fe=>fe.showFullSourceView),B=U.useMemo(()=>m9(l),[l]),H=U.useMemo(()=>B.find(fe=>fe.id===c)||null,[B,c]),Q=U.useMemo(()=>H?g9(H):[],[H]),K=U.useMemo(()=>Q.find(fe=>fe.data.filePath===d)||null,[Q,d]),q=U.useMemo(()=>{const fe=new Map;for(const ke of b??[])fe.set(ke.id,ke);return fe},[b]),ae=U.useMemo(()=>B.map(fe=>v9(fe,q.get(fe.id))),[B,q]),he=U.useMemo(()=>Q.map(y9),[Q]),Ae=U.useMemo(()=>!d||!K||!H?[]:K.data.issues.map(fe=>({...fe,ruleId:H.id,pluginId:"eslint",filePath:d,dataLoc:`${d}:${fe.line}:${fe.column??0}`})),[d,K,H]);U.useEffect(()=>{if(p){for(const fe of B)for(const ke of fe.data.files)if(ke.issues.some(ft=>ft.id===p)){c!==fe.id&&S(fe.id),d!==ke.filePath&&C(ke.filePath);return}}},[p,B,c,d,S,C]),U.useEffect(()=>{if(!c||!r.current)return;const fe=setTimeout(()=>{const ke=r.current?.querySelector(`[data-tile-id="${c}"]`);ke&&typeof ke.scrollIntoView=="function"&&ke.scrollIntoView({behavior:"smooth",block:"start"})},50);return()=>clearTimeout(fe)},[c]);const J=U.useCallback(fe=>{M(p===fe?null:fe)},[p,M]),$=Ce(fe=>{if(!c)return null;const ke=fe.plugins?.eslint;return ke?.ruleConfigs?ke.ruleConfigs.get(c):null}),ge=Ce(fe=>{if(!c)return null;const ke=fe.plugins?.eslint;return ke?.availableRules?ke.availableRules.find(Tt=>Tt.id===c):null}),we=Ce(fe=>{if(!c)return!1;const ke=fe.plugins?.eslint;return ke?.ruleConfigUpdating?ke.ruleConfigUpdating.get(c)??!1:!1}),Ke=U.useCallback(fe=>{if(!c)return;const ke=fe==="warn"?"warning":fe;Kn.setRuleSeverity(c,ke)},[c]),Me=U.useCallback((fe,ke)=>{if(!c)return;const ft={...$?.options??{},[fe]:ke};Kn.setRuleConfig(c,ft)},[c,$?.options]),qe=U.useCallback(()=>{if(!c||!ge?.defaultOptions)return;const fe=Array.isArray(ge.defaultOptions)?ge.defaultOptions[0]??{}:ge.defaultOptions??{};Kn.setRuleConfig(c,fe)},[c,ge?.defaultOptions]),Se=U.useMemo(()=>$?.severity?$.severity:"warn",[$?.severity]),Ue=U.useMemo(()=>ge?.defaultOptions?Array.isArray(ge.defaultOptions)?ge.defaultOptions[0]??{}:ge.defaultOptions??{}:{},[ge?.defaultOptions]),N=U.useMemo(()=>c?Kn.getRuleContribution(c)?.contentRenderer??null:null,[c]),W=Ce(fe=>fe.ignoredIssueIds),ne=Ce(fe=>fe.showIgnoredIssues),De=Ce(fe=>fe.addIgnoredIssue),Be=Ce(fe=>fe.removeIgnoredIssue),j=Ce(fe=>fe.toggleShowIgnoredIssues),ie=U.useCallback(fe=>{W.has(fe)?Be(fe):De(fe)},[W,De,Be]),ve=U.useMemo(()=>{if(!c||W.size===0)return 0;const fe=B.find(Tt=>Tt.id===c);if(!fe)return 0;let ke=0;for(const Tt of fe.data.files)for(const ft of Tt.issues)W.has(ft.id)&&ke++;return ke},[c,B,W]),ye=d?qk+Yk+x9:qk+Yk,Xe=U.useCallback((fe,ke,Tt,ft)=>{const Un=d!==null;return E.jsxs(Ne.div,{"data-tile-id":fe.id,layoutId:`tile-${fe.id}`,initial:{opacity:.9},animate:{opacity:1},exit:{opacity:.9},transition:{duration:Nu.expand,ease:Cd},className:be("rounded-xl","border border-foreground/[0.05]","bg-background/80","overflow-hidden","shadow-sm","h-full flex flex-col"),children:[E.jsx(Hk,{variant:"embedded",expandedRuleName:H?.label??null,expandedFileName:K?.label??null,onCollapseToRoot:A,onCollapseFile:k}),E.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[E.jsx(r7,{ruleFilter:{type:"rule",id:fe.id,label:fe.label},description:ge?.description??S9(fe.id),category:ge?.category??E9(fe.id),docsUrl:ge?.docs??T9(fe.id),onClear:A,showCloseButton:!1,highestSeverity:H?.data.highestSeverity,issueCount:H?.count,currentSeverity:Se,onSeverityChange:Ke,optionSchema:ge?.optionSchema,currentOptions:$?.options,defaultOptions:Ue,onOptionChange:Me,onResetOptions:qe,isUpdating:we,ignoredCount:ve,showIgnored:ne,onToggleShowIgnored:j}),Un?N==="duplicate-comparison"?E.jsx("div",{className:"flex-1 overflow-auto",children:E.jsx(r9,{issues:Ae,selectedIssueId:p,onIssueClick:ze=>{M(ze.id)},ignoredIssueIds:W,onIgnore:ie,showIgnored:ne})}):g?E.jsx("div",{className:"flex-1 overflow-auto p-3",children:E.jsx(VS,{filePath:d,issues:Ae,contextLines:2,selectedIssueId:p,onIssueSelect:J,enabled:!0})}):E.jsx("div",{className:"flex-1 overflow-auto",children:E.jsx(Z7,{issues:Ae,selectedIssueId:p,onIssueClick:ze=>{M(ze.id),L()},onShowFullSource:L})}):E.jsx("div",{className:"p-3",children:E.jsx(Ek,{items:ke,onTileClick:ze=>{const Ta=Q.find(Vo=>Vo.id===ze.id);Ta&&C(Ta.data.filePath)},selectedIndex:-1,availableWidth:ft-24,padding:{top:0,right:0,bottom:0,left:0}})})]})]})},[A,ge,Se,Ke,$?.options,Ue,Me,qe,we,Q,C,d,g,Ae,p,M,L,J,H,N,W,ne,ie,ve,j]);return E.jsx("div",{className:be("flex flex-col h-full",a),children:E.jsx("div",{ref:r,className:"flex-1 p-4 overflow-auto",children:l.length===0?E.jsx(b9,{}):E.jsx(f9,{items:ae,expandedId:c,expandedChildren:he,onTileClick:fe=>S(fe.id),onExpandedChildClick:fe=>{const ke=Q.find(Tt=>Tt.id===fe.id);ke&&C(ke.data.filePath)},onBack:A,availableWidth:v,extraExpandedHeight:ye,padding:{top:0,right:0,bottom:0,left:0},renderExpandedContent:Xe})})})}function S9(a){return{"no-unused-vars":"Disallow variables that are declared but never used in the code.","@typescript-eslint/no-unused-vars":"Disallow variables that are declared but never used in the code.","no-console":"Disallow the use of console methods.","react-hooks/exhaustive-deps":"Checks effect dependencies and warns when dependencies are missing.","react-hooks/rules-of-hooks":"Enforces the Rules of Hooks.","no-explicit-any":"Disallow the any type to encourage more precise typing.","@typescript-eslint/no-explicit-any":"Disallow the any type to encourage more precise typing."}[a]}function E9(a){return a.startsWith("@typescript-eslint/")?"TypeScript":a.startsWith("react-hooks/")?"React Hooks":a.startsWith("react/")?"React":"ESLint"}function T9(a){return a.startsWith("@typescript-eslint/")?`https://typescript-eslint.io/rules/${a.replace("@typescript-eslint/","")}`:a.startsWith("react-hooks/")?"https://reactjs.org/docs/hooks-rules.html":a.startsWith("react/")?`https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/${a.replace("react/","")}.md`:`https://eslint.org/docs/latest/rules/${a}`}function A9({filePath:a,line:r,contextAbove:l=5,contextBelow:c=5,enabled:d=!0}){const[p,g]=U.useState(null),[v,b]=U.useState(!1),[S,A]=U.useState(null),C=Ce(L=>L.wsConnected),k=U.useRef(null),M=U.useCallback(()=>{if(!d||!a)return;const L=Mk(a);if(L){g(Eb(L,r,l,c)),b(!1),A(null);return}if(!C&&Tb()){const K=BS(a);if(K){const q=Sb(a,K.content,K.totalLines,K.relativePath);g(Eb(q,r,l,c)),b(!1),A(null)}else g(null),b(!1),A("Source not available in manifest");return}if(!C)return;const B=g7(a);if(B){b(!0),B.then(K=>{K&&(g(Eb(K,r,l,c)),A(null)),b(!1)});return}b(!0),A(null);const H=`source-${a}-${Date.now()}`;k.current=H;const Q=new Promise(K=>{const q=Ho.on("source:result",he=>{if(he.filePath===a){const Ae=Sb(he.filePath,he.content,he.totalLines,he.relativePath);q(),ae(),K(Ae)}}),ae=Ho.on("source:error",he=>{he.filePath===a&&(A(he.error),q(),ae(),K(null))});Ho.send({type:"source:fetch",filePath:a,requestId:H}),setTimeout(()=>{q(),ae(),K(null)},1e4)});v7(a,Q),Q.then(K=>{K&&g(Eb(K,r,l,c)),b(!1)})},[a,r,l,c,d,C]);return U.useEffect(()=>{M()},[M]),U.useEffect(()=>a?Ho.on("file:changed",B=>{(B.filePath===a||B.filePath.endsWith(a)||a.endsWith(B.filePath))&&(Dk(a),d&&M())}):void 0,[a,d,M]),{context:p,isLoading:v,error:S,refetch:M}}function C9(a){const r=a.match(/^[\t ]+/);return r?r[0]:""}function k9(a){if(!a.length)return{lines:a,removed:0};const r=a.filter(c=>c.trim().length>0);if(!r.length)return{lines:a,removed:0};let l=1/0;for(const c of r)if(l=Math.min(l,C9(c).length),l===0)break;return!Number.isFinite(l)||l<=0?{lines:a,removed:0}:{removed:l,lines:a.map(c=>c.length>=l?c.slice(l):"")}}function R9({filePath:a,line:r,column:l,contextLines:c=5,defaultExpanded:d=!0}){const[p,g]=U.useState(d),{context:v,isLoading:b,error:S}=A9({filePath:a,line:r,contextAbove:c,contextBelow:c,enabled:p}),A=v?k9(v.lines):null,C=v?v.startLine+v.lines.length-1:0,k=Math.max(3,String(C).length)*8+16;return E.jsxs("div",{className:"bg-background rounded-lg overflow-hidden border border-border",children:[E.jsxs("button",{onClick:()=>g(!p),className:be("w-full flex items-center gap-2 py-2 px-3 bg-surface-elevated border-none cursor-pointer text-text-primary text-xs font-inherit",p&&"border-b border-border"),children:[p?E.jsx(Mg,{size:14}):E.jsx(_h,{size:14}),E.jsx("span",{className:"font-medium",children:"Source"}),E.jsxs("span",{className:"text-text-muted ml-auto font-mono",children:["L",r,l?`:${l}`:""]})]}),p&&E.jsxs("div",{className:"p-0",children:[b&&E.jsx("div",{className:"p-6 text-text-muted text-center text-xs",children:"Loading..."}),S&&E.jsx("div",{className:"p-6 text-error text-center text-xs",children:S}),A&&v&&E.jsx("div",{className:"overflow-x-auto text-xs font-mono leading-relaxed",children:A.lines.map((M,L)=>{const B=v.startLine+L,H=B===r;return E.jsxs("div",{className:be("flex border-l-[3px]",H?"bg-warning-bg border-l-warning":"bg-transparent border-l-transparent"),children:[E.jsx("span",{className:be("py-0 px-2 text-right bg-surface-elevated select-none shrink-0 border-r border-border",H?"text-text-primary":"text-text-disabled"),style:{width:k,minWidth:k},children:B}),E.jsx("code",{className:be("py-0 px-3 whitespace-pre flex-1",H?"text-text-primary":"text-text-secondary"),children:M||" "})]},B)})})]})]})}function M9(a){const r=a.split("/");return r[r.length-1]||a}function D9({issue:a}){const r=a.severity==="error"?cb:a.severity==="warning"?_u:us;return E.jsxs("div",{className:"p-4 flex flex-col gap-4",children:[E.jsxs("div",{className:"flex items-start gap-2.5",children:[E.jsxs(vl,{variant:a.severity==="error"?"error":a.severity==="warning"?"warning":"info",size:"sm",disableAnimation:!0,className:"shrink-0 mt-0.5",children:[E.jsx(r,{size:12,color:"currentColor",className:"mr-1"}),a.severity]}),E.jsxs("div",{className:"flex-1 min-w-0",children:[E.jsx("div",{className:"text-sm font-medium text-text-primary leading-snug",children:a.message}),E.jsx(vl,{variant:"outline",size:"sm",disableAnimation:!0,className:"mt-1.5 font-mono",children:a.ruleId})]})]}),E.jsx(R9,{filePath:a.filePath,line:a.line,column:a.column,contextLines:5}),E.jsxs("div",{className:"flex flex-wrap gap-y-1 gap-x-3 text-[11px] text-text-muted font-mono",children:[E.jsxs("span",{title:a.filePath,children:[M9(a.filePath),":",a.line,a.column?`:${a.column}`:""]}),E.jsx("span",{className:"opacity-50",children:"|"}),E.jsx("span",{children:a.pluginId})]})]})}function _9(){const a=Ce(hD),r=Ce(pD),l=Ce(ew),c=Ce(mD),d=Ce(gD),p=U.useCallback(g=>l.get(g)||[],[l]);return{allIssues:a,byFile:r,byDataLoc:l,getIssuesForDataLoc:p,totalCount:c,countBySeverity:d}}function z9({dataLoc:a,onSelectIssue:r}){const{getIssuesForDataLoc:l}=_9(),c=l(a);return c.length===0?E.jsx("div",{className:"p-4 text-center text-text-muted",children:"No issues for this element"}):E.jsxs("div",{className:"p-4",children:[E.jsxs("div",{className:"text-sm font-semibold text-text-primary mb-3",children:[c.length," issue",c.length!==1?"s":""," at this location"]}),E.jsx(jS,{variant:"elevated",className:"overflow-hidden",children:c.map((d,p)=>{const g=d.severity==="error"?cb:d.severity==="warning"?_u:us;return E.jsxs("div",{onClick:()=>r(d),className:be("flex items-start gap-2.5 p-3 cursor-pointer",p<c.length-1&&"border-b border-border"),children:[E.jsx(vl,{variant:d.severity==="error"?"error":d.severity==="warning"?"warning":"info",size:"sm",disableAnimation:!0,className:"shrink-0",children:E.jsx(g,{size:12,color:"currentColor"})}),E.jsxs("div",{className:"flex-1",children:[E.jsx("div",{className:"text-[13px] text-text-primary",children:d.message}),E.jsx("div",{className:"text-[11px] text-text-muted mt-0.5",children:d.ruleId})]})]},d.id)})}),E.jsx("div",{className:"mt-3 text-[11px] text-text-disabled break-all",children:a})]})}function Gk({direction:a,onResize:r,onResizeStart:l,onResizeEnd:c}){const d=U.useRef(!1),p=U.useRef({x:0,y:0}),g=U.useCallback(S=>{S.preventDefault(),S.stopPropagation(),d.current=!0,p.current={x:S.clientX,y:S.clientY},l?.()},[l]);U.useEffect(()=>{const S=C=>{if(!d.current)return;const k=C.clientX-p.current.x,M=C.clientY-p.current.y;p.current={x:C.clientX,y:C.clientY},r(k,M)},A=()=>{d.current&&(d.current=!1,c?.())};return document.addEventListener("mousemove",S),document.addEventListener("mouseup",A),()=>{document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",A)}},[r,c]);const v={position:"absolute",zIndex:10},b={horizontal:{...v,top:0,left:0,width:4,height:"100%",cursor:"col-resize"},vertical:{...v,bottom:0,left:0,width:"100%",height:4,cursor:"row-resize"},corner:{...v,bottom:0,right:0,width:12,height:12,cursor:"nwse-resize"}};return E.jsx("div",{onMouseDown:g,style:{...b[a],background:"transparent"},onMouseEnter:S=>{S.target.style.background="rgba(59, 130, 246, 0.2)"},onMouseLeave:S=>{d.current||(S.target.style.background="transparent")}})}const Xk=320,$k=800,Ab=450,Qk=500;function O9(){const a=Ce(Se=>Se.inspector.open),r=Ce(Se=>Se.inspector.panelId),l=Ce(Se=>Se.inspector.data),c=Ce(Se=>Se.inspector.docked),d=Ce(Se=>Se.inspector.width),p=Ce(Se=>Se.inspector.floatingPosition),g=Ce(Se=>Se.inspector.floatingSize),v=Ce(Se=>Se.closeInspector),b=Ce(Se=>Se.openInspector),S=Ce(Se=>Se.toggleInspectorDocked),A=Ce(Se=>Se.setInspectorWidth),C=Ce(Se=>Se.setInspectorFloatingPosition),k=Ce(Se=>Se.setInspectorFloatingSize),[M,L]=U.useState(!1),B=Ce(Se=>Se.mobile.isMobile),H=Ce(Se=>Se.activeDrag),Q=Ce(Se=>Se.startDrag),K=H?.type==="inspector-floating",q=U.useMemo(()=>Kn.getAllInspectorPanels(),[]),ae=U.useCallback(Se=>{b("issue",{issue:Se})},[b]),{content:he,title:Ae}=U.useMemo(()=>{let Se=null,Ue="Issues";const N=q.find(W=>W.id===r);if(N){const W=bh(),ne=N.component,De=l??void 0;Ue=typeof N.title=="function"?N.title({data:De,services:W}):N.title,Se=W?E.jsx(ne,{data:De,services:W}):E.jsx("div",{className:"p-4 text-text-muted text-center",children:"Loading..."})}else if(r==="issue"&&l?.issue){const W=l.issue,ne=W.ruleId?Kn.getRuleContribution(W.ruleId)||Kn.getRuleContribution(W.ruleId.replace("uilint/","")):void 0;if(ne?.inspectorPanel){const De=bh(),Be=ne.inspectorPanel;Ue="Issue Details",Se=De?E.jsx(Be,{data:l,services:De}):E.jsx("div",{className:"p-4 text-text-muted text-center",children:"Loading..."})}else Ue="Issue Details",Se=E.jsx(D9,{issue:W})}else r==="element"&&l?.dataLoc?(Ue="Element Issues",Se=E.jsx(z9,{dataLoc:l.dataLoc,onSelectIssue:ae})):(Ue="Issues",Se=E.jsx(w9,{}));return{content:Se,title:Ue}},[r,l,q,ae]);U.useEffect(()=>{L(!0)},[]),U.useLayoutEffect(()=>{if(!M)return;const Se=document.documentElement;return a&&c?(Se.style.marginRight=`${d}px`,Se.style.transition="margin-right 0.2s ease-out"):(Se.style.marginRight="",Se.style.transition="margin-right 0.2s ease-out"),()=>{Se.style.marginRight="",Se.style.transition=""}},[M,a,c,d]),U.useLayoutEffect(()=>{if(!K||!H||!H.elementStartPos)return;const{currentPos:Se,startPos:Ue,elementStartPos:N}=H,W=Se.x-Ue.x,ne=Se.y-Ue.y;C({x:N.x+W,y:N.y+ne})},[K,H,C]);const J=U.useCallback(Se=>{const Ue=Math.min($k,Math.max(Xk,d-Se));A(Ue)},[d,A]),$=U.useCallback((Se,Ue)=>{const N=g??{width:Ab,height:Qk},W=Math.min($k,Math.max(Xk,N.width+Se)),ne=Math.max(300,N.height+Ue);k({width:W,height:ne})},[g,k]),ge=U.useCallback(Se=>{if(!p||B)return;Se.preventDefault();const Ue={x:Se.clientX,y:Se.clientY};Q("inspector-floating",Ue,{x:0,y:0},p)},[p,B,Q]),we=U.useCallback(Se=>{if(!p||B)return;const Ue=Se.touches[0],N={x:Ue.clientX,y:Ue.clientY};Q("inspector-floating",N,{x:0,y:0},p)},[p,B,Q]);U.useEffect(()=>{!c&&!p&&M&&C({x:window.innerWidth-Ab-20,y:80})},[c,p,C,M]);const Ke=document.getElementById("uilint-portal")||document.body,Me=({isDraggable:Se=!1})=>E.jsxs("div",{className:be("flex items-center justify-between border-b border-border bg-surface-elevated select-none",B?"px-4 py-4":"px-4 py-3",Se&&!B?"cursor-move":"cursor-default"),style:{paddingTop:B?"calc(16px + env(safe-area-inset-top, 0px))":void 0},onMouseDown:Se&&!B?ge:void 0,onTouchStart:Se&&!B?we:void 0,children:[E.jsx("span",{className:"font-semibold text-text-primary",children:Ae}),E.jsxs("div",{className:be("flex items-center",B?"gap-2":"gap-1"),onMouseDown:Ue=>Ue.stopPropagation(),onTouchStart:Ue=>Ue.stopPropagation(),children:[!B&&E.jsx(Og,{variant:"ghost",size:"sm",onClick:S,title:c?"Undock to floating window":"Dock to side",children:c?E.jsx(Q6,{size:16}):E.jsx(Z6,{size:16})}),E.jsx(Og,{variant:"ghost",size:B?"default":"sm",onClick:v,title:"Close",className:B?"min-w-[44px] min-h-[44px]":void 0,children:E.jsx(fb,{size:B?20:16})})]})]}),qe=ju("heavy","none",!1);return yd.createPortal(E.jsxs(ga,{children:[a&&c&&E.jsxs(Ne.div,{initial:{x:d,opacity:0},animate:{x:0,opacity:1},exit:{x:d,opacity:0},transition:{duration:.15,ease:[.25,.1,.25,1]},className:"fixed inset-y-0 right-0 flex flex-col border-l border-glass-border shadow-default z-[99997] pointer-events-auto",style:{width:d,...qe},children:[E.jsx(Gk,{direction:"horizontal",onResize:Se=>J(Se)}),E.jsx(Me,{}),E.jsx("div",{className:"flex-1 overflow-y-auto",children:he})]},"docked"),a&&!c&&E.jsxs(Ne.div,{initial:{opacity:0,scale:B?1:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:B?1:.95},transition:{duration:.15},style:B?{position:"fixed",inset:0,width:"100%",height:"100%",...qe,border:"none",borderRadius:0,boxShadow:"none",zIndex:99997,display:"flex",flexDirection:"column",overflow:"hidden",pointerEvents:"auto"}:{position:"fixed",left:p?.x??window.innerWidth-Ab-20,top:p?.y??80,width:g?.width??Ab,height:g?.height??Qk,...qe,border:"1px solid var(--uilint-glass-border)",borderRadius:12,boxShadow:"var(--uilint-shadow)",zIndex:99997,display:"flex",flexDirection:"column",overflow:"hidden",pointerEvents:"auto"},children:[E.jsx(Me,{isDraggable:!0}),E.jsx("div",{className:"flex-1 overflow-y-auto min-h-0",style:{paddingBottom:B?"env(safe-area-inset-bottom, 0px)":void 0},children:he}),!B&&E.jsx(Gk,{direction:"corner",onResize:$})]},"floating")]}),Ke)}function j9({group:a,isMobile:r,disabled:l}){const[c,d]=U.useState(!1),p=r?44:36,g=U.useCallback(()=>{d(S=>!S)},[]),v=U.useCallback(S=>{const A=bh();A&&S.onClick&&S.onClick(A),d(!1)},[]),b=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;if(a.actions.length===1){const S=a.actions[0];return E.jsx(Ne.button,{whileHover:l?void 0:{scale:1.05},whileTap:l?void 0:{scale:.95},onClick:l?void 0:()=>v(S),disabled:l,"aria-label":S.tooltip,title:l?`${S.tooltip} (unavailable)`:S.tooltip,style:{width:p,height:p,borderRadius:p/2,border:"none",cursor:l?"default":"pointer",display:"flex",alignItems:"center",justifyContent:"center",opacity:l?.4:1,color:"var(--uilint-text-secondary)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:S.icon})}return E.jsxs("div",{style:{position:"relative"},children:[E.jsxs(Ne.button,{whileHover:l?void 0:{scale:1.05},whileTap:l?void 0:{scale:.95},onClick:l?void 0:g,disabled:l,"aria-label":a.tooltip,title:l?`${a.tooltip} (unavailable)`:a.tooltip,"aria-expanded":c,style:{height:p,padding:"0 10px",borderRadius:p/2,border:"none",cursor:l?"default":"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:4,opacity:l?.4:1,color:"var(--uilint-text-secondary)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:[a.icon,E.jsx(Mg,{size:12,style:{opacity:.5,transform:c?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.15s ease"}})]}),b&&yd.createPortal(E.jsx(ga,{children:c&&E.jsxs(E.Fragment,{children:[E.jsx("div",{style:{position:"fixed",inset:0,zIndex:99991,pointerEvents:"auto"},onClick:()=>d(!1)}),E.jsx(N9,{actions:a.actions,onAction:v,buttonSize:p})]})}),b)]})}function N9({actions:a,onAction:r,buttonSize:l}){return E.jsx(Ne.div,{initial:{opacity:0,scale:.95,y:-4},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-4},transition:{duration:.15,ease:[.32,.72,0,1]},style:{position:"fixed",top:16+l+8,right:16,zIndex:99992,minWidth:180,borderRadius:12,overflow:"hidden",pointerEvents:"auto",...ju("heavy","lg",!0),border:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)"},children:E.jsx("div",{style:{padding:4},children:a.map(c=>E.jsxs(Ne.button,{whileHover:{backgroundColor:"var(--uilint-hover, rgba(0, 0, 0, 0.05))"},onClick:()=>r(c),title:c.tooltip,style:{width:"100%",display:"flex",alignItems:"center",gap:10,padding:"8px 12px",border:"none",borderRadius:8,background:"transparent",cursor:"pointer",color:"var(--uilint-text-secondary)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:13,fontWeight:500,textAlign:"left"},children:[E.jsx("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:20,height:20,opacity:.7},children:c.icon}),E.jsx("span",{children:c.tooltip}),c.shortcut&&E.jsx("span",{style:{marginLeft:"auto",fontSize:11,opacity:.4,fontWeight:400},children:c.shortcut})]},c.id))})})}function L9(){const a=Ce(v=>v.mobile.isMobile),r=Ce(v=>v.inspector.open),l=Ce(v=>v.commandPalette.open);Ce(v=>v.plugins);const c=Kn.getAllToolbarActionGroups(),d=Ce(v=>v),p=c.filter(v=>v.isVisible?v.isVisible(d):!0);if(process.env.NODE_ENV==="development"&&c.length>0&&console.debug(`[PluginToolbar] ${c.length} group(s) registered, ${p.length} visible`),r||l||c.length===0)return null;const g=new Set(p.map(v=>v.id));return E.jsx(E.Fragment,{children:c.map(v=>E.jsx(j9,{group:v,isMobile:a,disabled:!g.has(v.id)},v.id))})}function U9(a){return a.map(r=>{const l=`${r.pluginId}: ${r.operationName}`;return r.current!=null&&r.total!=null?`${l} (${r.current}/${r.total})`:r.message?`${l} — ${r.message}`:l}).join(`
256
+ `)}function B9(){const a=Ce(p=>p.activePluginOperations),r=Ce(p=>p.mobile.isMobile),l=Object.values(a).filter(p=>p.status==="active");if(l.length===0)return null;const c=r?44:36,d=U9(l);return E.jsxs("div",{className:"relative flex items-center justify-center rounded-full border border-border bg-glass-medium",style:{width:c,height:c},title:d,"aria-label":`${l.length} operation${l.length>1?"s":""} in progress`,children:[E.jsx("div",{className:"animate-spin rounded-full border-2 border-muted-foreground/30 border-t-muted-foreground",style:{width:c*.5,height:c*.5}}),l.length>1&&E.jsx("span",{className:"absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-accent text-[10px] font-semibold text-accent-foreground",children:l.length})]})}function H9(){return typeof navigator>"u"?!1:navigator.platform.toUpperCase().indexOf("MAC")>=0}function V9(){const a=Ce(M=>M.inspector.open),r=Ce(M=>M.commandPalette.open),l=Ce(M=>M.openInspectorPanel),c=Ce(M=>M.openCommandPalette),d=Ce(M=>M.mobile.isMobile),p=Ce(M=>M.mobile.isTouchDevice),g=Ce(M=>M.wsConnected),v=Ce(M=>M.connectionStatus.mode),b=document.getElementById("uilint-portal")||document.body;if(a||r)return null;const S=d?44:36,A=H9()?"⌘":"Ctrl+",C=!p,k=v==="websocket"&&!g;return yd.createPortal(E.jsx(ga,{children:E.jsxs(Ne.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.15,ease:[.32,.72,0,1]},style:{position:"fixed",top:16,right:16,display:"flex",alignItems:"center",gap:8,pointerEvents:"auto"},children:[E.jsx(L9,{}),E.jsx(B9,{}),C&&E.jsxs(Ne.div,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},transition:{duration:.2,delay:.1},style:{height:S,padding:"0 12px",borderRadius:S/2,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:12,fontWeight:500,color:"var(--uilint-text-muted)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:[E.jsxs("span",{style:{opacity:.7},children:[A,"K"]}),E.jsx("span",{style:{marginLeft:6,opacity:.5},children:"to search"})]}),p&&E.jsx(Ne.button,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.15,ease:[.32,.72,0,1]},onClick:c,"aria-label":"Open search",title:"Search issues",style:{width:S,height:S,borderRadius:S/2,border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--uilint-text-secondary)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:E.jsx(bS,{size:d?20:18})}),E.jsxs("div",{style:{position:"relative"},children:[E.jsx(Ne.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:l,"aria-label":"Open inspector",title:k?"Server not connected - click to see setup instructions":"Open inspector",style:{width:S,height:S,borderRadius:S/2,border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--uilint-text-secondary)",...ju("medium","md",!1),borderTop:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderBottom:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))",borderLeft:"1px solid var(--uilint-glass-border-light, rgba(255, 255, 255, 0.8))",borderRight:"1px solid var(--uilint-glass-border, rgba(255, 255, 255, 0.5))"},children:E.jsx(z8,{size:d?20:18})}),k&&E.jsx(Ne.div,{initial:{scale:0},animate:{scale:1},style:{position:"absolute",top:-2,right:-2,width:10,height:10,borderRadius:"50%",background:"var(--uilint-warning, #fbbf24)",border:"2px solid var(--uilint-surface, #fff)",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.15)"},title:"Server not connected"})]})]})}),b)}const Ik=10,q9={isSelecting:!1,startPoint:null,currentPoint:null,mounted:!1};function Y9(a,r){switch(r.type){case"MOUNT":return{...a,mounted:!0};case"START_SELECTION":return{...a,isSelecting:!0,startPoint:r.point,currentPoint:r.point};case"UPDATE_SELECTION":return{...a,currentPoint:r.point};case"COMPLETE_SELECTION":return{...a,isSelecting:!1,startPoint:null,currentPoint:null};default:return a}}const Lr={overlayBg:"rgba(0, 0, 0, 0.5)",selectionBorder:"var(--uilint-accent, #fbbf24)",selectionBg:"transparent",textBg:"var(--uilint-backdrop, rgba(0, 0, 0, 0.8))",textColor:"var(--uilint-text-primary, #ffffff)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontMono:'"SF Mono", Monaco, "Cascadia Code", monospace'};function G9({active:a,onRegionSelected:r,onCancel:l}){const[c,d]=U.useReducer(Y9,q9),{isSelecting:p,startPoint:g,currentPoint:v,mounted:b}=c;U.useEffect(()=>{d({type:"MOUNT"})},[]);const S=U.useCallback(()=>{if(!g||!v)return null;const H=Math.min(g.x,v.x),Q=Math.min(g.y,v.y),K=Math.abs(v.x-g.x),q=Math.abs(v.y-g.y);return{x:H,y:Q,width:K,height:q}},[g,v]),A=U.useCallback(H=>{H.button===0&&d({type:"START_SELECTION",point:{x:H.clientX,y:H.clientY}})},[]),C=U.useCallback(H=>{!p||!g||d({type:"UPDATE_SELECTION",point:{x:H.clientX,y:H.clientY}})},[p,g]),k=U.useCallback(()=>{if(!p||!g)return;const H=S();H&&H.width>Ik&&H.height>Ik?r(H):l(),d({type:"COMPLETE_SELECTION"})},[p,g,S,r,l]);if(U.useEffect(()=>{if(!a)return;const H=Q=>{Q.key==="Escape"&&(Q.preventDefault(),Q.stopPropagation(),l())};return document.addEventListener("keydown",H,!0),()=>{document.removeEventListener("keydown",H,!0)}},[a,l]),U.useLayoutEffect(()=>{if(!a)return;const H=Q=>{Q.preventDefault()};return document.body.style.overflow="hidden",document.addEventListener("wheel",H,{passive:!1}),document.addEventListener("touchmove",H,{passive:!1}),()=>{document.body.style.overflow="",document.removeEventListener("wheel",H),document.removeEventListener("touchmove",H)}},[a]),!a||!b)return null;const M=S(),L=typeof document<"u"?document.getElementById("uilint-portal")||document.body:null;if(!L)return null;const B=E.jsxs("div",{"data-testid":"region-selector-overlay","data-ui-lint":!0,onMouseDown:A,onMouseMove:C,onMouseUp:k,style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:999999,cursor:"crosshair",backgroundColor:Lr.overlayBg,fontFamily:Lr.fontFamily},children:[E.jsxs("div",{style:{position:"absolute",top:"20px",left:"50%",transform:"translateX(-50%)",padding:"12px 20px",borderRadius:"12px",backgroundColor:Lr.textBg,color:Lr.textColor,fontSize:"14px",fontWeight:500,boxShadow:"0 4px 20px rgba(0, 0, 0, 0.4)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",pointerEvents:"none",userSelect:"none"},children:["Click and drag to select a region"," ",E.jsx("kbd",{style:{padding:"2px 6px",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.1)",border:"1px solid rgba(255, 255, 255, 0.2)",fontSize:"11px",fontFamily:Lr.fontMono,marginLeft:"4px"},children:"Esc"})," ","to cancel"]}),M&&M.width>0&&M.height>0&&E.jsxs(E.Fragment,{children:[E.jsx("div",{"data-testid":"selection-rectangle",style:{position:"absolute",left:`${M.x}px`,top:`${M.y}px`,width:`${M.width}px`,height:`${M.height}px`,border:`2px solid ${Lr.selectionBorder}`,backgroundColor:Lr.selectionBg,pointerEvents:"none",boxShadow:`0 0 0 9999px ${Lr.overlayBg}`}}),E.jsxs("div",{"data-testid":"dimensions-label",style:{position:"absolute",left:`${M.x}px`,top:`${M.y-32}px`,padding:"6px 10px",borderRadius:"6px",backgroundColor:Lr.textBg,color:Lr.textColor,fontSize:"12px",fontFamily:Lr.fontMono,fontWeight:500,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.3)",pointerEvents:"none",userSelect:"none",whiteSpace:"nowrap"},children:[Math.round(M.width)," x ",Math.round(M.height)]})]})]});return yd.createPortal(B,L)}let GS=!1;function X9(){if(typeof document>"u")return;let a=document.getElementById("uilint-portal");return a||(a=document.createElement("div"),a.id="uilint-portal",a.style.cssText="position: fixed; top: 0; left: 0; z-index: 99990; pointer-events: none;",document.body.appendChild(a),GS=!0),a}function $9(){if(!GS)return;const a=document.getElementById("uilint-portal");a&&(a.remove(),GS=!1)}function Q9({enabled:a=!0}){const r=Ce(v=>v.overlayInteraction),l=Ce(v=>v.completeOverlayInteraction),c=Ce(v=>v.cancelOverlayInteraction),d=r?.type==="region-select",p=U.useCallback(v=>{l(v)},[l]),g=U.useCallback(()=>{c()},[c]);return U.useEffect(()=>(a&&X9(),()=>{$9()}),[a]),a?E.jsxs(E.Fragment,{children:[E.jsx(V9,{}),E.jsx(VD,{}),E.jsx(SN,{}),E.jsx(O9,{}),E.jsx(G9,{active:d,onRegionSelected:p,onCancel:g})]}):null}const Cb="data-loc",I9=100;function Z9(a,r){return`loc:${a}#${r}`}function F9(a){if(!a)return null;let r=a;if(r.startsWith("loc:")){r=r.slice(4);const l=r.lastIndexOf("#");l!==-1&&(r=r.slice(0,l))}return r||null}function P9(a,r){return r&&a.includes("node_modules")}class K9{observer=null;reconcileTimeout=null;knownElements=new Map;addedHandlers=new Set;removedHandlers=new Set;isRunning=!1;hideNodeModules=!0;options;constructor(r={}){this.options=r}setHideNodeModules(r){this.hideNodeModules=r,this.isRunning&&this.reconcile()}start(){if(typeof window>"u"&&!this.options.root||this.isRunning)return;this.isRunning=!0;const r=this.options.MutationObserverImpl??(typeof window<"u"?window.MutationObserver:void 0),l=this.options.root??(typeof document<"u"?document.body:void 0);r&&l&&(this.observer=new r(this.handleMutations.bind(this)),this.observer.observe(l,{childList:!0,subtree:!0})),this.reconcile()}stop(){this.isRunning=!1,this.observer&&(this.observer.disconnect(),this.observer=null),this.reconcileTimeout&&(clearTimeout(this.reconcileTimeout),this.reconcileTimeout=null),this.knownElements.clear()}onElementsAdded(r){return this.addedHandlers.add(r),()=>{this.addedHandlers.delete(r)}}onElementsRemoved(r){return this.removedHandlers.add(r),()=>{this.removedHandlers.delete(r)}}getElements(){return this.scanElements()}handleMutations(r){let l=!1;for(const c of r){for(const d of c.addedNodes)if(this.hasDataLocElements(d)){l=!0;break}if(l)break;for(const d of c.removedNodes)if(this.hasDataLocElements(d)){l=!0;break}if(l)break}l&&this.debouncedReconcile()}hasDataLocElements(r){return r instanceof Element?!!(r.hasAttribute(Cb)||r.querySelector(`[${Cb}]`)):!1}debouncedReconcile(){this.reconcileTimeout&&clearTimeout(this.reconcileTimeout),this.reconcileTimeout=setTimeout(()=>{this.reconcile(),this.reconcileTimeout=null},I9)}reconcile(){if(typeof window>"u")return;const r=this.scanElements(),l=new Map(r.map(v=>[v.id,v])),c=new Set(l.keys()),d=new Set(this.knownElements.keys()),p=[];for(const v of r)d.has(v.id)||p.push(v);const g=[];for(const v of d)c.has(v)||g.push(v);this.knownElements.clear();for(const v of r)this.knownElements.set(v.id,v.element);if(p.length>0)for(const v of this.addedHandlers)try{v(p)}catch(b){yn("[DOMObserverService] Error in added handler:",b)}if(g.length>0)for(const v of this.removedHandlers)try{v(g)}catch(b){yn("[DOMObserverService] Error in removed handler:",b)}}scanElements(){const r=this.options.querySelectorAll??(typeof document<"u"?document.querySelectorAll.bind(document):void 0);if(!r)return[];const l=[],c=new Map,d=r(`[${Cb}]`);for(const p of d){if(this.isInsideUILintUI(p))continue;const g=p.getAttribute(Cb),v=F9(g??"");if(!v||P9(v,this.hideNodeModules))continue;const b=(c.get(v)??0)+1;c.set(v,b);const S=Z9(v,b);l.push({id:S,dataLoc:v,element:p,tagName:p.tagName.toLowerCase(),rect:p.getBoundingClientRect()})}return l}isInsideUILintUI(r){return r.closest("[data-ui-lint]")!==null}}const Lg=new K9,J9={target:nj,link:X6,"external-link":_g,"chevron-right":_h,"chevron-down":Mg,"chevron-up":D6,x:fb,check:cC,"alert-triangle":_u,"alert-circle":Dg,info:us,"help-circle":z6,eye:hC,camera:R6,crop:B6,scan:W6,search:bS,filter:pC,brain:k6,sparkles:gC,code:L6,file:H6,"file-code":db,folder:V6,"git-branch":q6,copy:dC,clipboard:O6,book:A6,"book-open":T6,bookmark:C6,play:P6,pause:F6,refresh:mC,trash:ij,edit:tj,settings:xS,plus:K6,minus:I6,loader:$6,"check-circle":_6,"x-circle":cb,clock:j6};function Uu(a){return J9[a]??us}const Zk=new Map;function W9(a,r){Zk.set(a,r)}async function eL(a,r){const l=Zk.get(a);return l?l(r):{success:!1,error:`Unknown browser action: ${a}`}}function Uh(a,r,l){return{getState:()=>a.getState().plugins?.[r],setState:c=>{a.setState(c)},dispatch:(c,d)=>{if(l&&l[c]){const p=Uh(a,r,l);return l[c](p,d)}},websocket:a.websocket,getCurrentRoute:()=>window.location.pathname,requestBrowserAction:async(c,d)=>eL(c,d),registerBrowserAction:(c,d)=>{W9(c,d)},openInEditor:c=>{const[d,p]=c.split(":"),g=`vscode://file/${d}:${p}`;window.open(g,"_self")},setHeatmapFilter:(c,d)=>{a.getState().setHeatmapFilter?.(c,d)},clearHeatmapFilter:()=>{a.getState().clearHeatmapFilter?.()},openInspector:(c,d)=>{a.openInspector(c,{...d})},closeInspector:()=>{a.closeInspector()},requestOverlayInteraction:(c,d)=>new Promise((p,g)=>{const v=a.getState();if(!v.startOverlayInteraction){g(new Error("Overlay interactions not supported by host"));return}v.startOverlayInteraction({type:c,pluginId:r,onComplete:p,onCancel:()=>g(new Error("Overlay interaction cancelled"))})})}}function kb(a,r){if(!a)return!0;if(Hy(a)){const l=a.binding.split(".");let c=r;for(const d of l)if(c&&typeof c=="object")c=c[d];else return!1;return!!c}if(GE(a)){const l=a.expression,c=l.match(/^(\w+(?:\.\w+)*)\s*===?\s*(.+)$/);if(c){const[,p,g]=c;let v=r;for(const S of p.split("."))if(v&&typeof v=="object")v=v[S];else{v=void 0;break}const b=g.trim();return b==="true"?v===!0:b==="false"?v===!1:b==="null"?v===null:b==="0"?v===0:b.startsWith('"')&&b.endsWith('"')?v===b.slice(1,-1):String(v)===b}const d=l.match(/^(\w+(?:\.\w+)*)\.length\s*===?\s*(\d+)$/);if(d){const[,p,g]=d;let v=r;for(const b of p.split("."))if(v&&typeof v=="object")v=v[b];else{v=void 0;break}return Array.isArray(v)||typeof v=="string"||v instanceof Map?(v instanceof Map?v.size:v.length)===parseInt(g,10):!1}return!1}return!0}function tL(a,r,l){return{id:a.id,title:a.title,keywords:a.keywords,category:a.category,subtitle:a.subtitle,icon:a.icon?nn.createElement(Uu(a.icon),{size:16}):void 0,shortcut:a.shortcut,hideFromAllCategory:a.hideFromAllCategory,isAvailable:a.isAvailable?c=>{const d=c?.plugins?.[r];return kb(a.isAvailable,d)}:void 0,execute:c=>{const d=Uh(c,r,l);return XS(a.action,d,l)}}}function nL(a,r,l){return{id:a.id,icon:nn.createElement(Uu(a.icon),{size:16}),tooltip:a.tooltip,isVisible:a.isVisible?c=>{const d=c?.plugins?.[r];return kb(a.isVisible,d)}:void 0,isEnabled:a.isEnabled?c=>{const d=c?.plugins?.[r];return kb(a.isEnabled,d)}:void 0,onClick:c=>{const d=Uh(c,r,l);return XS(a.action,d,l)}}}function aL(a,r,l){return{id:a.id,icon:nn.createElement(Uu(a.icon),{size:16}),tooltip:a.tooltip,priority:a.priority,isVisible:a.isVisible?c=>{const d=c?.plugins?.[r];return kb(a.isVisible,d)}:void 0,actions:a.actions.map(c=>nL(c,r,l))}}function XS(a,r,l){if(!l||!l[a.type]){console.warn(`No handler found for action: ${a.type}`);return}const c=a.payload?{...a.payload}:{};if(a.payloadBindings){const d=r.getState();for(const[p,g]of Object.entries(a.payloadBindings)){const v=g.split(".");let b=d;for(const S of v)if(b&&typeof b=="object")b=b[S];else{b=void 0;break}c[p]=b}}return l[a.type](r,c)}function iL(a){const r=a.id,l=a.actions;return{id:a.id,name:a.name,version:a.version,description:a.description,icon:a.icon?nn.createElement(Uu(a.icon),{size:16}):void 0,dependencies:a.dependencies,createSlice:d=>{const p=a.state.initialState,g={...p};for(const v of Object.keys(p)){const b=`set${v.charAt(0).toUpperCase()}${v.slice(1)}`;g[b]=S=>{d.setState({[v]:S})}}return g},commands:a.commands?.map(d=>tL(d,r,l)),toolbarActionGroups:a.toolbarGroups?.map(d=>aL(d,r,l)),inspectorPanels:a.panels?.map(d=>({id:d.id,title:typeof d.title=="string"?d.title:d.title.binding,priority:d.priority,component:nn.lazy(()=>Promise.resolve().then(()=>cU).then(p=>({default:g=>{const b=g.services.getState().plugins?.[r]??{},S=(C,k)=>{const M=Uh(g.services,r,l);XS({type:C,payload:k},M,l)},A=p.SchemaPanel;return nn.createElement(A,{panel:d,data:g.data||{},state:b,onAction:S})}})))})),ruleContributions:a.rules?.filter(d=>d.contentRenderer||d.heatmapColor).map(d=>({ruleId:d.id,contentRenderer:d.contentRenderer,heatmapColor:d.heatmapColor})),handlesRules:a.handlesRuleCategories?d=>!!(d.category&&a.handlesRuleCategories?.includes(d.category)):void 0,getIssues:a.getIssues?d=>{const p=a.getIssues(d);return{pluginId:p.pluginId,issues:p.issues}}:void 0,initialize:d=>{const p=Uh(d,r,l),g=[];if(a.messageHandlers){for(const[b,S]of Object.entries(a.messageHandlers)){const A=d.websocket.on(b,C=>{S(p,C)});g.push(A)}const v=d.websocket.onConnectionChange(b=>{b&&a.onLoad&&a.onLoad(p)});g.push(v)}if(a.onLoad&&a.onLoad(p),g.length>0)return()=>{g.forEach(v=>v())}},dispose:a.onUnload?d=>{const p=Uh(d,r,l);return a.onUnload(p)}:void 0}}const oL=[{id:"eslint",name:"ESLint Analysis",load:()=>Promise.resolve().then(()=>OL),enabled:!0}],rL=[];async function lL(a){try{return(await a.load()).default}catch(r){return yn(`Failed to load plugin "${a.id}":`,r),null}}async function sL(){const a=rL.map(async c=>{try{await c()}catch(d){Ft("Failed to import external plugin:",d)}});await Promise.all(a);const r=X3.getAll();Fe(`[Loader] Found ${r.length} plugins in core registry`);const l=[];for(const c of r)try{const d=iL(c);l.push(d),Fe(`[Loader] Adapted plugin: ${c.id}`)}catch(d){yn(`[Loader] Failed to adapt plugin "${c.id}":`,d)}return l}async function uL(a=oL,r){const l=[],c=await sL();l.push(...c);const d=a.filter(b=>b.enabled);d.length+c.length;const p=d.map(async(b,S)=>await lL(b)),v=(await Promise.all(p)).filter(b=>b?b.id?!0:(Ft("Plugin missing id, skipping:",b),!1):!1);return l.push(...v),tw(l)}const $S=[{id:"eslint:toggle-scan",title:"Toggle ESLint Scan",keywords:["eslint","scan","toggle","enable","disable","start","stop"],category:"eslint",subtitle:"Enable or disable real-time ESLint analysis",icon:void 0,hideFromAllCategory:!0,execute:a=>{const l=a.getState().plugins.eslint;if(!l){Ft("[ESLint Command] ESLint plugin slice not found");return}l.scanStatus==="scanning"?l.stopScanning():l.startScanning(),a.closeCommandPalette()},isAvailable:a=>a.wsConnected===!0},{id:"eslint:start-scan",title:"Start ESLint Scan",keywords:["eslint","scan","start","analyze","lint","check"],category:"eslint",subtitle:"Scan all elements on the current page",hideFromAllCategory:!0,execute:a=>{const l=a.getState().plugins.eslint;if(!l){Ft("[ESLint Command] ESLint plugin slice not found");return}l.scanStatus!=="scanning"&&l.startScanning(),a.closeCommandPalette()},isAvailable:a=>{const r=a;return r.wsConnected===!0&&r.plugins?.eslint?.scanStatus!=="scanning"}},{id:"eslint:stop-scan",title:"Stop ESLint Scan",keywords:["eslint","scan","stop","disable","off"],category:"eslint",subtitle:"Stop scanning and clear results",hideFromAllCategory:!0,execute:a=>{const l=a.getState().plugins.eslint;if(!l){Ft("[ESLint Command] ESLint plugin slice not found");return}l.stopScanning(),a.closeCommandPalette()},isAvailable:a=>a.plugins?.eslint?.scanStatus==="scanning"},{id:"eslint:open-fixes",title:"Fix All Issues",keywords:["eslint","fix","fixes","autofix","repair","issues"],category:"eslint",subtitle:"Open the fixes inspector panel",hideFromAllCategory:!0,execute:a=>{a.openInspector("fixes",{}),a.closeCommandPalette()},isAvailable:a=>{const l=a.plugins?.eslint;return l?.scanStatus!=="scanning"||!l?.issues?!1:l.issues.size>0}},{id:"eslint:clear-rescan",title:"Clear & Rescan",keywords:["eslint","cache","clear","refresh","reset","rescan"],category:"eslint",subtitle:"Clear cached results and re-scan all files",hideFromAllCategory:!0,execute:a=>{const l=a.getState().plugins.eslint;if(!l){Ft("[ESLint Command] ESLint plugin slice not found");return}l.clearIssues(),l.startScanning(),a.closeCommandPalette()},isAvailable:a=>a.wsConnected===!0}];function cL(a){return a==="scanning"}const Fk={issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set,scanStatus:"scanning",lintingFiles:new Map,availableRules:[],disabledRules:new Set,workspaceRoot:null,ruleConfigs:new Map,ruleConfigUpdating:new Map,workspaceCapabilities:null};function Pk(a){return{...Fk}}function Kk(a,r,l){return{startScanning:()=>{l({scanStatus:"scanning"})},stopScanning:()=>{l({scanStatus:"idle",issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},setIssues:(c,d)=>{const p=r(),g=new Map(p.issues);d.length>0?g.set(c,d):g.delete(c),l({issues:g})},clearIssues:()=>{l({issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set})},toggleRule:c=>{const d=r(),p=new Set(d.disabledRules);p.has(c)?p.delete(c):p.add(c),l({disabledRules:p})},setAvailableRules:c=>{l({availableRules:c})},setWorkspaceRoot:c=>{l({workspaceRoot:c})},markScanned:c=>{const d=r(),p=new Set(d.scannedDataLocs);p.add(c),l({scannedDataLocs:p})},markFileRequested:c=>{const d=r(),p=new Set(d.requestedFiles);p.add(c),l({requestedFiles:p})},setScanStatus:c=>{l({scanStatus:c})}}}function dL(a,r){return r.size===0?a:a.filter(l=>!r.has(l.ruleId))}function fL(a){if(!a)return null;const r=a.lastIndexOf(":");if(r===-1)return null;const l=a.lastIndexOf(":",r-1);if(l===-1)return null;const c=a.substring(0,l);return c||null}function Jk(a){const r=new Set;for(const l of a){const c=fL(l);c&&r.add(c)}return r}function hL({value:a,onChange:r,disabled:l}){const c=[{value:"error",label:"E",color:"var(--uilint-error, oklch(0.72 0.17 25))"},{value:"warning",label:"W",color:"var(--uilint-warning, oklch(0.82 0.165 80))"},{value:"off",label:"Off",color:"#6b7280"}];return E.jsx("div",{style:{display:"flex",gap:4},children:c.map(d=>E.jsx("button",{onClick:()=>r(d.value),disabled:l,style:{padding:"4px 8px",fontSize:12,fontWeight:500,border:"none",borderRadius:4,cursor:l?"not-allowed":"pointer",background:a===d.value?d.color:"var(--uilint-surface-elevated)",color:a===d.value?"white":"var(--uilint-text-disabled)",opacity:l?.5:1},children:d.label},d.value))})}function pL({data:a}){const r=a?.ruleId,l=Ce(b=>{const S=b.plugins?.eslint;return!S?.availableRules||!r?null:S.availableRules.find(A=>A.id===r)}),c=Ce(b=>{const S=b.plugins?.eslint;return S?.ruleConfigs?S.ruleConfigs.get(r||""):null}),d=Ce(b=>{const S=b.plugins?.eslint;return S?.ruleConfigUpdating?S.ruleConfigUpdating.get(r||"")??!1:!1}),p=Ce(b=>{const S=b.plugins?.eslint;if(!S?.issues)return 0;let A=0;return S.issues.forEach(C=>{A+=C.filter(k=>k.ruleId===r).length}),A}),g=U.useCallback(b=>{r&&Kn.setRuleSeverity(r,b)},[r]);if(!r)return E.jsx("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:"No rule selected"});if(!l)return E.jsxs("div",{style:{padding:16,color:"var(--uilint-text-muted)",textAlign:"center"},children:["Rule not found: ",r]});const v=c?.severity?c.severity==="warn"?"warning":c.severity:l.currentSeverity==="warn"?"warning":l.currentSeverity??"off";return E.jsxs("div",{style:{padding:16},children:[E.jsxs("div",{style:{marginBottom:16},children:[E.jsx("div",{style:{fontSize:16,fontWeight:600,color:"var(--uilint-text-primary)",marginBottom:4},children:l.name}),E.jsx("div",{style:{fontSize:12,color:"var(--uilint-text-muted)",fontFamily:"monospace"},children:l.id})]}),E.jsx("div",{style:{fontSize:14,color:"var(--uilint-text-secondary)",marginBottom:16,lineHeight:1.5},children:l.description}),E.jsxs("div",{style:{display:"flex",gap:8,marginBottom:16},children:[E.jsx("span",{style:{fontSize:11,fontWeight:500,textTransform:"uppercase",background:l.category!=="static"?"rgba(59, 130, 246, 0.1)":"var(--uilint-surface-elevated)",color:l.category!=="static"?"var(--uilint-accent)":"var(--uilint-text-muted)",padding:"2px 6px",borderRadius:4},children:l.category}),p>0&&E.jsxs("span",{style:{fontSize:11,fontWeight:500,background:"rgba(239, 68, 68, 0.1)",color:"#dc2626",padding:"2px 6px",borderRadius:4},children:[p," issue",p!==1?"s":""]})]}),E.jsxs("div",{style:{marginBottom:16},children:[E.jsx("div",{style:{fontSize:12,fontWeight:500,color:"var(--uilint-text-muted)",marginBottom:8},children:"Severity"}),E.jsx(hL,{value:v,onChange:g,disabled:d}),d&&E.jsx("div",{style:{fontSize:11,color:"var(--uilint-text-muted)",marginTop:4},children:"Updating..."})]}),l.docs&&E.jsx("div",{style:{marginTop:16},children:E.jsx("a",{href:l.docs,target:"_blank",rel:"noopener noreferrer",style:{fontSize:12,color:"var(--uilint-accent)",textDecoration:"none"},children:"View documentation"})})]})}function kd(a){const r={error:0,warning:0,info:0};for(const l of a)l.severity==="error"?r.error++:l.severity==="warning"?r.warning++:l.severity==="info"&&r.info++;return r}function mL(a,r=[]){const l=new Map;for(const p of a){const g=p.ruleId,v=l.get(g)||[];l.set(g,[...v,p])}const c=new Map;for(const p of r)c.set(p.id,p);const d=[];for(const[p,g]of l){const v=c.get(p),b=kd(g),S=p.includes("/")?p.split("/").pop():p;d.push({id:`rule:${p}`,label:v?.name||S,subtitle:v?.description||p,count:g.length,severityCounts:b,metadata:{isRule:!0,ruleId:p,tileType:"rule",category:v?.category,currentSeverity:v?.currentSeverity,defaultSeverity:v?.defaultSeverity,currentOptions:v?.currentOptions,optionSchema:v?.optionSchema}})}return d.sort((p,g)=>{const v=p.severityCounts?.error??0,b=g.severityCounts?.error??0;return v!==b?b-v:g.count-p.count}),d}function Wk(a,r){const l=a.filter(p=>p.ruleId===r),c=new Map;for(const p of l){const g=p.filePath,v=c.get(g)||[];c.set(g,[...v,p])}const d=[];for(const[p,g]of c){const v=kd(g),S=p.split("/").pop()||p;d.push({id:`file:${p}:${r}`,label:S,subtitle:p,count:g.length,severityCounts:v,metadata:{isFile:!0,filePath:p,ruleId:r,tileType:"file"}})}return d.sort((p,g)=>{const v=p.severityCounts?.error??0,b=g.severityCounts?.error??0;return v!==b?b-v:g.count-p.count}),d}function gL(a){const r=new Map;for(const c of a){const d=c.filePath,p=r.get(d)||[];r.set(d,[...p,c])}const l=[];for(const[c,d]of r){const p=kd(d),v=c.split("/").pop()||c,b=new Set(d.map(S=>S.ruleId));l.push({id:`file:${c}`,label:v,subtitle:c,count:d.length,severityCounts:p,metadata:{isFile:!0,filePath:c,tileType:"file",ruleCount:b.size,issues:d}})}return l.sort((c,d)=>{const p=c.severityCounts?.error??0,g=d.severityCounts?.error??0;return p!==g?g-p:d.count-c.count}),l}function vL(a,r=[]){if(a.length===0)return[];const l=yL(a,r),c=gL(a),d=[...l,...c];return d.sort((p,g)=>{const v=p.severityCounts?.error??0,b=g.severityCounts?.error??0;return v!==b?b-v:g.count-p.count}),d}function yL(a,r=[]){const l=new Map;for(const p of a){const g=p.ruleId,v=l.get(g)||[];l.set(g,[...v,p])}const c=new Map;for(const p of r)c.set(p.id,p);const d=[];for(const[p,g]of l){const v=c.get(p),b=kd(g),S=p.includes("/")?p.split("/").pop():p,A=new Set(g.map(C=>C.filePath));d.push({id:`rule:${p}`,label:v?.name||S,subtitle:v?.description||p,count:g.length,severityCounts:b,fileCount:A.size,metadata:{isRule:!0,ruleId:p,tileType:"rule",issues:g,category:v?.category,currentSeverity:v?.currentSeverity,defaultSeverity:v?.defaultSeverity,currentOptions:v?.currentOptions,optionSchema:v?.optionSchema}})}return d}function Ug(a){const l=a.getState()?.plugins?.eslint;if(!l?.issues)return[];const c=l.disabledRules??new Set,d=[];for(const p of l.issues.values())for(const g of p)c.has(g.ruleId)||d.push(g);return d}function QS(a){return a.getState()?.plugins?.eslint?.availableRules??[]}function eR(a,r){const l=Ug(a);if(l.length===0)return[];const c=QS(a);return vL(l,c)}function tR(a){const r=a.metadata??{};if(r.isRule)return{type:"rule",id:r.ruleId,label:a.label,providerId:"eslint"};if(r.isFile){const l=r.filePath,c=l.split("/").pop()||l;return{type:"file",id:l,label:c,providerId:"eslint"}}return{type:"scope",id:a.id,label:a.label,providerId:"eslint"}}function nR(a){const r=a.some(c=>c.type==="rule"),l=a.some(c=>c.type==="file");return r&&l}function aR(a){const r=a.metadata??{};return r.isRule?{panelId:"eslint-rule",data:{ruleId:r.ruleId}}:r.isFile?{panelId:"eslint-rule",data:{ruleId:r.ruleId,filePath:r.filePath}}:r.isIssue?{panelId:"eslint-rule",data:{ruleId:r.ruleId,filePath:r.filePath,issueId:r.issueId,line:r.line}}:{panelId:"eslint-rule",data:{}}}function bL(a,r,l){let c=a.filter(d=>d.filePath===r);return l&&(c=c.filter(d=>d.ruleId===l)),c.sort((d,p)=>d.line-p.line),c.map(d=>({id:`issue:${d.id}`,label:d.message,subtitle:`Line ${d.line}${d.column?`:${d.column}`:""}`,count:1,severityCounts:{error:d.severity==="error"?1:0,warning:d.severity==="warning"?1:0,info:d.severity==="info"?1:0},metadata:{isIssue:!0,issueId:d.id,ruleId:d.ruleId,filePath:d.filePath,line:d.line,column:d.column,severity:d.severity,issue:d}}))}function xL(a,r){const l=a.metadata??{},c=Ug(r);if(c.length!==0){if(l.isRule){const d=l.ruleId;return Wk(c,d)}if(l.isFile){const d=l.filePath,p=l.ruleId;return bL(c,d,p)}l.isIssue}}function wL(a){const r=a.metadata??{};return!!(r.isRule||r.isFile)}function SL({severity:a}){switch(a){case"error":return E.jsx(Dg,{size:13,className:"text-error flex-shrink-0"});case"warning":return E.jsx(_u,{size:13,className:"text-warning flex-shrink-0"});case"info":return E.jsx(us,{size:13,className:"text-info flex-shrink-0"})}}function EL({severity:a}){const r=a==="error"?"text-error bg-error/10":a==="warning"?"text-warning bg-warning/10":"text-info bg-info/10";return E.jsx("span",{className:be("inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-medium",r),children:a})}function TL(a,r,l){const c=[],d=a?.category;d&&d!=="static"&&c.push({label:d,accent:!0});const p=a?.defaultSeverity;p&&r!==p&&c.push({label:r});const g=a?.optionSchema,v=a?.defaultOptions,b=Array.isArray(v)?v[0]??{}:{};if(l&&g?.fields)for(const S of g.fields){const A=l[S.key];if(A!==void 0&&A!==b[S.key]){const C=typeof A=="boolean"?`${S.label}: ${A?"on":"off"}`:`${S.label}: ${String(A)}`;if(c.push({label:C}),c.length>=3)break}}return c}function AL({ruleId:a,currentSeverity:r,ruleMeta:l,currentOptions:c,defaultOptions:d,onSeverityChange:p,onOptionChange:g,onResetOptions:v,isUpdating:b}){const[S,A]=U.useState(!1),C=U.useMemo(()=>TL(l,r,c),[l,r,c]),k=[{value:"off",label:"Off",dot:"bg-muted-foreground/30"},{value:"warn",label:"Warn",dot:"bg-warning/70"},{value:"error",label:"Error",dot:"bg-error/70"}];return E.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 border-b border-foreground/[0.06]",children:[E.jsx("div",{className:"flex items-center gap-0.5 p-0.5 bg-foreground/[0.02] rounded-md border border-foreground/[0.04]",children:k.map(M=>E.jsxs("button",{type:"button",onClick:()=>p(M.value),className:be("flex items-center gap-1 px-1.5 py-0.5 rounded","text-[10px] transition-colors duration-100",r===M.value?"bg-foreground/[0.08] text-foreground font-medium":"text-foreground/50 hover:bg-foreground/[0.04] hover:text-foreground/70"),children:[E.jsx("span",{className:be("w-1.5 h-1.5 rounded-full flex-shrink-0",M.dot)}),M.label]},M.value))}),C.map(M=>E.jsx("span",{className:be("rounded-full px-2 py-0.5 text-[10px] leading-tight","border border-foreground/[0.06]",M.accent?"text-purple-500/70 bg-purple-500/[0.06]":"text-muted-foreground/60 bg-foreground/[0.02]"),children:M.label},M.label)),E.jsx("div",{className:"flex-1"}),E.jsx("div",{onKeyDown:M=>{M.key==="Escape"&&S&&M.stopPropagation()},children:E.jsx(hk,{open:S,onClose:()=>A(!1),placement:"bottom",align:"end",width:320,trigger:E.jsxs("button",{type:"button",onClick:()=>A(!S),className:be("inline-flex items-center gap-1.5","px-2 py-1 rounded","text-[11px] text-muted-foreground/60 hover:text-foreground/80","hover:bg-foreground/[0.04]","transition-colors duration-100",S&&"bg-foreground/[0.04] text-foreground/80"),children:[E.jsx(xS,{size:12}),"Configure"]}),children:E.jsx("div",{className:"p-1",children:E.jsx(Ak,{ruleId:a,currentSeverity:r,onSeverityChange:p,optionSchema:l?.optionSchema,currentOptions:c,defaultOptions:d,onOptionChange:g,onResetOptions:v,isUpdating:b})})})})]})}function CL({filePath:a,issues:r,defaultExpanded:l,onIssueClick:c}){const[d,p]=U.useState(l),g=a.split("/").pop()||a,v=U.useMemo(()=>[...r].sort((b,S)=>b.line-S.line),[r]);return E.jsxs("div",{className:"border-b border-foreground/[0.04] last:border-b-0",children:[E.jsxs("button",{onClick:()=>p(!d),className:be("w-full flex items-center gap-2 px-3 py-2","text-left hover:bg-foreground/[0.03] transition-colors duration-100"),children:[d?E.jsx(Mg,{size:12,className:"text-muted-foreground/50 flex-shrink-0"}):E.jsx(_h,{size:12,className:"text-muted-foreground/50 flex-shrink-0"}),E.jsx(db,{size:13,className:"text-muted-foreground/60 flex-shrink-0"}),E.jsx("span",{className:"text-xs font-medium text-foreground/80 truncate flex-1",children:g}),E.jsx("span",{className:"text-[10px] text-muted-foreground/50 tabular-nums flex-shrink-0",children:r.length})]}),d&&E.jsx(Ne.div,{initial:!1,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.1},children:v.map(b=>E.jsxs("button",{type:"button",onClick:()=>c(a,b.id),className:be("w-full flex items-center gap-2 pl-8 pr-3 py-1.5","border-t border-foreground/[0.02]","text-left hover:bg-foreground/[0.03] transition-colors duration-100","cursor-pointer"),children:[E.jsx(SL,{severity:b.severity}),E.jsx("span",{className:"text-[11px] font-mono text-muted-foreground/50 tabular-nums w-7 flex-shrink-0",children:b.line}),E.jsx("span",{className:"text-[11px] text-foreground/60 truncate",children:b.message})]},b.id))})]})}function kL({ruleId:a,services:r}){const l=Ug(r),c=QS(r),[d,p]=U.useState(null),[g,v]=U.useState(null);U.useEffect(()=>{p(null),v(null)},[a]);const b=U.useMemo(()=>c.find(J=>J.id===a),[c,a]),S=U.useMemo(()=>l.filter(J=>J.ruleId===a),[l,a]),A=U.useMemo(()=>{const J=new Map;for(const $ of S){const ge=J.get($.filePath)||[];J.set($.filePath,[...ge,$])}return Array.from(J.entries()).sort(([,$],[,ge])=>ge.length-$.length)},[S]),C=U.useMemo(()=>d?S.filter(J=>J.filePath===d):[],[S,d]),k=Ce(J=>J.plugins?.eslint?.ruleConfigs?.get(a)),M=Ce(J=>J.plugins?.eslint?.ruleConfigUpdating?.get(a)??!1),L=U.useMemo(()=>k?.severity??b?.defaultSeverity??"warn",[k?.severity,b?.defaultSeverity]),B=U.useMemo(()=>b?.defaultOptions?Array.isArray(b.defaultOptions)?b.defaultOptions[0]??{}:b.defaultOptions??{}:{},[b?.defaultOptions]),H=U.useCallback(J=>{const $=J==="warn"?"warning":J;Kn.setRuleSeverity(a,$)},[a]),Q=U.useCallback((J,$)=>{const we={...k?.options??{},[J]:$};Kn.setRuleConfig(a,we)},[a,k?.options]),K=U.useCallback(()=>{if(!b?.defaultOptions)return;const J=Array.isArray(b.defaultOptions)?b.defaultOptions[0]??{}:b.defaultOptions??{};Kn.setRuleConfig(a,J)},[a,b?.defaultOptions]),q=U.useCallback((J,$)=>{p(J),v($)},[]),ae=U.useCallback(()=>{p(null),v(null)},[]),he=a.includes("/")?a.split("/").pop():a,Ae=S.some(J=>J.severity==="error")?"error":S.some(J=>J.severity==="warning")?"warning":"info";if(d){const J=d.split("/").pop()||d;return E.jsxs("div",{className:"flex flex-col h-full",children:[E.jsx(Hk,{expandedRuleName:b?.name||he,expandedFileName:J,onCollapseToRoot:ae,onCollapseFile:ae,variant:"embedded"}),E.jsx("div",{className:"flex-1 overflow-y-auto",children:C.length>0?E.jsx(VS,{filePath:d,issues:C,contextLines:2,selectedIssueId:g,onIssueSelect:v}):E.jsx("div",{className:"flex items-center justify-center py-12 text-xs text-muted-foreground/50",children:"No issues in this file"})})]})}return E.jsxs("div",{className:"flex flex-col h-full",children:[E.jsxs("div",{className:"px-4 pt-4 pb-3 border-b border-foreground/[0.06]",children:[E.jsxs("div",{className:"flex items-center gap-2 mb-1.5",children:[E.jsx("h3",{className:"text-sm font-semibold text-foreground/90 truncate",children:b?.name||he}),S.length>0&&E.jsx(EL,{severity:Ae})]}),b?.description&&E.jsx("p",{className:"text-xs text-muted-foreground/70 leading-relaxed line-clamp-2",children:b.description}),E.jsxs("div",{className:"flex items-center gap-3 mt-2 text-[10px] text-muted-foreground/50",children:[E.jsxs("span",{className:"tabular-nums",children:[S.length," issue",S.length!==1?"s":""]}),E.jsxs("span",{className:"tabular-nums",children:[A.length," file",A.length!==1?"s":""]})]})]}),E.jsx(AL,{ruleId:a,currentSeverity:L,ruleMeta:b,currentOptions:k?.options,defaultOptions:B,onSeverityChange:H,onOptionChange:Q,onResetOptions:K,isUpdating:M}),E.jsx("div",{className:"flex-1 overflow-y-auto",children:A.length>0?A.map(([J,$],ge)=>E.jsx(CL,{filePath:J,issues:$,defaultExpanded:ge<3,onIssueClick:q},J)):E.jsx("div",{className:"flex items-center justify-center py-12 text-xs text-muted-foreground/50",children:"No issues found for this rule"})})]})}function RL({filePath:a,services:r}){const[l,c]=U.useState(null),d=Ug(r),p=U.useMemo(()=>d.filter(C=>C.filePath===a),[d,a]),g=U.useCallback(C=>{c(C)},[]),v=a.split("/").pop()||a,b=p.filter(C=>C.severity==="error").length,S=p.filter(C=>C.severity==="warning").length,A=p.filter(C=>C.severity==="info").length;return E.jsxs("div",{className:"flex flex-col h-full",children:[E.jsxs("div",{className:"px-4 pt-4 pb-3 border-b border-foreground/[0.06]",children:[E.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[E.jsx(db,{size:14,className:"text-muted-foreground/60 flex-shrink-0"}),E.jsx("h3",{className:"text-sm font-semibold text-foreground/90 truncate",children:v})]}),E.jsx("p",{className:"text-[11px] text-muted-foreground/50 truncate mb-2",children:a}),E.jsxs("div",{className:"flex items-center gap-3 text-[10px]",children:[b>0&&E.jsxs("span",{className:"flex items-center gap-1 text-error/80",children:[E.jsx(Dg,{size:10}),E.jsx("span",{className:"tabular-nums",children:b})]}),S>0&&E.jsxs("span",{className:"flex items-center gap-1 text-warning/80",children:[E.jsx(_u,{size:10}),E.jsx("span",{className:"tabular-nums",children:S})]}),A>0&&E.jsxs("span",{className:"flex items-center gap-1 text-info/80",children:[E.jsx(us,{size:10}),E.jsx("span",{className:"tabular-nums",children:A})]})]})]}),E.jsx("div",{className:"flex-1 overflow-y-auto",children:p.length>0?E.jsx(VS,{filePath:a,issues:p,contextLines:2,selectedIssueId:l,onIssueSelect:g}):E.jsx("div",{className:"flex items-center justify-center py-12 text-xs text-muted-foreground/50",children:"No issues in this file"})})]})}function ML(a){const r=Ug(a),l=QS(a),c=[],d=new Map;for(const v of r){const b=d.get(v.ruleId)||[];d.set(v.ruleId,[...b,v])}const p=new Map(l.map(v=>[v.id,v]));for(const[v,b]of d){const S=p.get(v),A=v.includes("/")?v.split("/").pop():v,C=new Set(b.map(k=>k.filePath));c.push({id:`rule:${v}`,section:"rules",label:S?.name||A,subtitle:S?.description||v,severityCounts:kd(b),count:b.length,fileCount:C.size,searchFields:{label:S?.name||A,subtitle:S?.description,keywords:[v,A,S?.category||""].filter(Boolean),extra:b.slice(0,20).map(k=>k.message)},metadata:{ruleId:v,tileType:"rule"}})}for(const v of l){if(d.has(v.id))continue;const b=v.id.includes("/")?v.id.split("/").pop():v.id;c.push({id:`rule:${v.id}`,section:"rules",label:v.name||b,subtitle:v.description||v.id,severityCounts:{error:0,warning:0,info:0},count:0,fileCount:0,searchFields:{label:v.name||b,subtitle:v.description,keywords:[v.id,b,v.category||""].filter(Boolean)},metadata:{ruleId:v.id,tileType:"rule"}})}const g=new Map;for(const v of r){const b=g.get(v.filePath)||[];g.set(v.filePath,[...b,v])}for(const[v,b]of g){const S=v.split("/").pop()||v,A=new Set(b.map(C=>C.ruleId));c.push({id:`file:${v}`,section:"files",label:S,subtitle:v,severityCounts:kd(b),count:b.length,fileCount:A.size,searchFields:{label:S,subtitle:v,keywords:Array.from(A),extra:b.slice(0,20).map(C=>C.message)},metadata:{filePath:v,tileType:"file"}})}return c.sort((v,b)=>{const S=v.severityCounts?.error??0,A=b.severityCounts?.error??0;return S!==A?A-S:(b.count??0)-(v.count??0)}),c}function DL(a,r){const l=a.metadata?.tileType;if(l==="rule"){const c=a.metadata?.ruleId;return{element:U.createElement(kL,{ruleId:c,services:r})}}if(l==="file"){const c=a.metadata?.filePath;return{element:U.createElement(RL,{filePath:c,services:r})}}return null}const _L={eslint:{onPageLoad:!1,onFileChange:!0},vision:{onRouteChange:!1,onInitialLoad:!1}},iR=["lint:result","lint:progress","file:changed","workspace:info","workspace:capabilities","rules:metadata","rule:config:result","rule:config:changed"],IS={id:"eslint",name:"ESLint Analysis",version:"1.0.0",description:"Real-time ESLint analysis with heatmap visualization",ruleCategories:["static"],meta:{id:"eslint",name:"ESLint Analysis",version:"1.0.0",description:"Real-time ESLint analysis with heatmap visualization"},createSlice:a=>{const r=Pk();let l=r;const p=Kk(a,()=>l,g=>{l={...l,...g},a.setState(g)});return{...r,...p}},commands:$S,inspectorPanels:[{id:"eslint-rule",title:({data:a})=>a?.ruleId?`Rule: ${a.ruleId}`:"Rule Details",component:pL,priority:10}],tileProvider:{getTileItems:eR,createFilter:tR,isTerminal:nR,getInspectorData:aR,getChildItems:xL,canExpand:wL},getSearchItems:ML,getPreviewPanel:DL,handlesRules:a=>a.id.startsWith("uilint/")||a.category==="static"?!0:(a.id==="uilint/semantic-vision",!1),getIssues:a=>{const r=a,l=new Map;return r.issues.forEach((c,d)=>{const p=c.map(g=>({id:g.id,message:g.message,severity:g.severity,dataLoc:g.dataLoc,line:g.line,column:g.column,ruleId:g.ruleId}));p.length>0&&l.set(d,p)}),{pluginId:"eslint",issues:l}},getPaletteItems:a=>{const r=[],l=a.getState(),c=l?.plugins?.eslint;if(c?.issues)for(const[,d]of c.issues)for(const p of d){const g=p.filePath.split("/").pop()||p.filePath,v=p.ruleId.includes("/")?p.ruleId.split("/").pop():p.ruleId;r.push({id:`eslint:issue:${p.id}`,title:p.message,subtitle:`${g}:${p.line}`,keywords:["Lint",p.ruleId,v,g,p.severity].filter((b,S,A)=>A.indexOf(b)===S),execute:b=>{b.openInspector("issue",{issue:p}),b.closeCommandPalette()},metadata:{issue:p,providerId:"eslint"}})}for(const d of $S)d.isAvailable&&!d.isAvailable(l)||r.push({id:d.id,title:d.title,subtitle:d.subtitle,keywords:["Command","ESLint",...d.keywords],execute:d.execute,metadata:{isCommand:!0}});return r},getRules:a=>{const r=a.getState();if(!r?.availableRules)return[];const l=r.ruleConfigs??new Map;return r.availableRules.map(c=>{const p=l.get(c.id)?.severity??c.currentSeverity??c.defaultSeverity,g=p==="warn"?"warning":p;return{id:c.id,name:c.name,description:c.description,category:c.category,severity:g,fixable:!1,pluginId:"eslint",docs:c.docs}})},setRuleSeverity:(a,r,l)=>{const c=r==="warning"?"warn":r,d=l.getState(),p=new Map(d.ruleConfigUpdating??new Map);p.set(a,!0),l.setState({ruleConfigUpdating:p}),l.websocket.send({type:"rule:config:set",ruleId:a,severity:c,requestId:`rule-severity-${Date.now()}`}),Fe("[ESLint Plugin] Setting rule severity:",a,"->",c)},getRuleConfig:(a,r)=>(r.getState()?.ruleConfigs??new Map).get(a)?.options??{},setRuleConfig:(a,r,l)=>{const c=l.getState(),d=new Map(c.ruleConfigUpdating??new Map);d.set(a,!0),l.setState({ruleConfigUpdating:d}),l.websocket.send({type:"rule:config:set",ruleId:a,options:r,requestId:`rule-config-${Date.now()}`}),Fe("[ESLint Plugin] Setting rule config:",a,r)},initialize:a=>{if(Fe("[ESLint Plugin] Initializing..."),Tb())return Fe("[ESLint Plugin] Running in STATIC mode (manifest-based)"),E7(a);Fe("[ESLint Plugin] Running in WEBSOCKET mode");const r=[];for(const c of iR){const d=a.websocket.on(c,p=>{rR(a,p)});r.push(d)}Fe("[ESLint Plugin] Subscribed to",iR.length,"message types");const l=a.domObserver.onElementsAdded(c=>{zL(a,c)});return r.push(l),Fe("[ESLint Plugin] Subscribed to DOM observer"),()=>{Fe("[ESLint Plugin] Disposing..."),r.forEach(c=>c())}},dispose:a=>{Fe("[ESLint Plugin] Disposed")}};function oR(a){const r=a.domObserver.getElements();if(r.length===0)return;const l=r.map(p=>p.dataLoc),c=Jk(l);if(c.size===0)return;const d=new Set;for(const p of c){const g=`lint-${Date.now()}-${p.replace(/[^a-zA-Z0-9]/g,"-")}`;a.websocket.send({type:"lint:file",filePath:p,requestId:g}),d.add(p)}a.setState({requestedFiles:d}),Fe("[ESLint Plugin] Re-requested linting for",c.size,"files after config change")}function zL(a,r){const l=a.getState();if(Fe("[ESLint Plugin] handleElementsAdded called with",r.length,"elements"),Fe("[ESLint Plugin] State check - scanStatus:",l?.scanStatus,"wsConnected:",a.websocket.isConnected),l.scanStatus!=="scanning"){Fe("[ESLint Plugin] Scanning not active (status:",l.scanStatus,"), skipping lint requests");return}if(!a.websocket.isConnected){Fe("[ESLint Plugin] WebSocket not connected, skipping lint requests");return}const c=r.map(v=>v.dataLoc),d=Jk(c);if(d.size===0){Fe("[ESLint Plugin] No file paths extracted from",r.length,"elements");return}Fe("[ESLint Plugin] Detected",r.length,"elements from",d.size,"unique files:",Array.from(d).slice(0,3));const p=l.requestedFiles??new Set,g=[];for(const v of d)if(!p.has(v)){g.push(v);const b=`lint-${Date.now()}-${v.replace(/[^a-zA-Z0-9]/g,"-")}`;a.websocket.send({type:"lint:file",filePath:v,requestId:b}),Fe("[ESLint Plugin] Sent lint:file request for",v)}if(g.length>0){const v=new Set(p);for(const b of g)v.add(b);a.setState({requestedFiles:v}),Fe("[ESLint Plugin] Updated requestedFiles with",g.length,"new files")}else Fe("[ESLint Plugin] All files already requested, skipping")}function rR(a,r){switch(r.type){case"lint:result":{const{filePath:l,issues:c}=r;Fe("[ESLint Plugin] Received lint result:",l,c.length,"issues");const d=c.map(b=>BD({...b,dataLoc:b.dataLoc||`${l}:${b.line}:${b.column||0}`})).filter(b=>b!==null),p=new Map;for(const b of d){const S=p.get(b.dataLoc)||[];p.set(b.dataLoc,[...S,b])}const g=a.getState(),v=new Map(g.issues);for(const[b,S]of p)v.set(b,S);a.setState({issues:v});break}case"lint:progress":{const{filePath:l,phase:c}=r;Fe("[ESLint Plugin] Lint progress:",l,c);const d=a.getState(),p=new Map(d.lintingFiles);if(c.startsWith("Done"))p.delete(l);else{const g=p.get(l);p.set(l,{phase:c,startedAt:g?.startedAt??Date.now()})}a.setState({lintingFiles:p});break}case"file:changed":{const{filePath:l}=r;Fe("[ESLint Plugin] File changed:",l);const c=a.getState(),d=new Map(c.issues);for(const[g]of d)g.startsWith(l+":")&&d.delete(g);const p=new Set(c.requestedFiles??new Set);p.delete(l),a.setState({issues:d,requestedFiles:p});break}case"workspace:info":{const{appRoot:l,workspaceRoot:c,serverCwd:d}=r;Fe("[ESLint Plugin] Workspace info:",{appRoot:l,workspaceRoot:c,serverCwd:d}),a.setState({appRoot:l,workspaceRoot:c,serverCwd:d});break}case"workspace:capabilities":{const{postToolUseHook:l}=r;Fe("[ESLint Plugin] Workspace capabilities:",{postToolUseHook:l}),a.setState({workspaceCapabilities:{postToolUseHook:l}});break}case"rules:metadata":{const{rules:l}=r;Fe("[ESLint Plugin] Received rules metadata:",l.length,"rules");const c=new Map;for(const d of l)c.set(d.id,{severity:d.currentSeverity??d.defaultSeverity,options:d.currentOptions??(d.defaultOptions&&d.defaultOptions.length>0?d.defaultOptions[0]:void 0)});a.setState({availableRules:l,ruleConfigs:c});break}case"rule:config:result":{const{ruleId:l,severity:c,options:d,success:p,error:g}=r,v=a.getState(),b=new Map(v.ruleConfigUpdating);if(b.delete(l),a.setState({ruleConfigUpdating:b}),p){const S=a.getState(),A=new Map(S.ruleConfigs);A.set(l,{severity:c,options:d}),a.setState({ruleConfigs:A,issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set}),oR(a),Fe("[ESLint Plugin] Rule config updated:",l,"->",c,"- refreshing lint results")}else yn("[ESLint Plugin] Failed to update rule config:",g);break}case"rule:config:changed":{const{ruleId:l,severity:c,options:d}=r,p=a.getState(),g=new Map(p.ruleConfigs);g.set(l,{severity:c,options:d}),a.setState({ruleConfigs:g,issues:new Map,scannedDataLocs:new Set,requestedFiles:new Set}),oR(a),Fe("[ESLint Plugin] Rule config changed (broadcast):",l,"->",c,"- refreshing lint results");break}}}const OL=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_AUTO_SCAN_SETTINGS:_L,_handleWebSocketMessageForTesting:rR,aggregateByFile:Wk,aggregateByRule:mL,clearStaticMode:Ok,configureStaticMode:zk,countSeverities:kd,createESLintActions:Kk,createESLintSlice:Pk,createEslintTileFilter:tR,default:IS,eslintCommands:$S,eslintPlugin:IS,filterByDisabledRules:dL,getEslintInspectorData:aR,getEslintTileItems:eR,getFileSource:BS,getManifestMetadata:T7,initialESLintState:Fk,isEslintTileTerminal:nR,isScanning:cL,isStaticMode:Tb},Symbol.toStringTag,{value:"Module"}));function jL(a){const r=new Map;for(const l of a){const c=l.filePath||"unknown",d=r.get(c)||[];d.push(l),r.set(c,d)}for(const[l,c]of r)r.set(l,c.sort((d,p)=>d.line-p.line));return r}function NL(a,r,l){const c=Array.from(a.values()).reduce((g,v)=>g+v.length,0),d=a.size;if(c===0)return"No lint issues found on the current page.";const p=[];if(p.push("# Fix Lint Issues"),p.push(""),p.push(`There are **${c} lint issue${c===1?"":"s"}** across **${d} file${d===1?"":"s"}** that need to be fixed.`),p.push(""),p.push("## Instructions"),p.push(""),p.push("1. Fix ALL of the lint issues in the files listed below"),p.push("2. Do NOT ignore or suppress any issues with eslint-disable comments"),p.push("3. Do NOT skip any issues - each one must be properly addressed"),p.push("4. Run the linter after fixing to verify all issues are resolved"),p.push("5. If an issue cannot be fixed without breaking functionality, explain why and propose an alternative solution"),p.push(""),l){p.push("## Affected Files"),p.push(""),p.push("The following files have lint issues. When you edit each file, you will receive the specific lint errors automatically."),p.push("");for(const[g,v]of a){const b=r&&g.startsWith(r)?g.slice(r.length+1):g;p.push(`- \`${b}\` (${v.length} issue${v.length===1?"":"s"})`)}p.push(""),p.push("---"),p.push(""),p.push("Open each file above and fix all reported lint issues. The linter will provide specific error details when you edit each file.")}else{p.push("## Affected Files"),p.push("");for(const[g,v]of a){const b=r&&g.startsWith(r)?g.slice(r.length+1):g;p.push(`### ${b}`),p.push("");for(const S of v){const A=S.column?`Line ${S.line}, Column ${S.column}`:`Line ${S.line}`,C=S.severity==="error"?"ERROR":"WARNING",k=S.ruleId?` (${S.ruleId})`:"";p.push(`- **[${C}]** ${A}${k}`),p.push(` ${S.message}`)}p.push("")}p.push("---"),p.push(""),p.push(`Please fix all ${c} issues listed above. Do not use eslint-disable comments or any other method to suppress warnings. Each issue must be properly resolved.`)}return p.join(`
257
+ `)}function LL({text:a,onCopy:r}){const[l,c]=U.useState(!1),d=U.useCallback(async()=>{try{await navigator.clipboard.writeText(a),c(!0),r(),setTimeout(()=>c(!1),2e3)}catch(p){yn("Failed to copy:",p)}},[a,r]);return E.jsx("button",{onClick:d,className:"flex items-center gap-1.5 px-4 py-2 text-white border-none rounded-md cursor-pointer font-medium text-sm transition-colors",style:{background:l?"var(--uilint-success)":"var(--uilint-primary)"},children:l?E.jsxs(E.Fragment,{children:[E.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:E.jsx("polyline",{points:"20 6 9 17 4 12"})}),"Copied!"]}):E.jsxs(E.Fragment,{children:[E.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[E.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),E.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),"Copy to Clipboard"]})})}function UL({data:a}){const r=a?.issues||[],l=a?.workspaceRoot||null,c=a?.hookAvailable||!1,d=U.useMemo(()=>jL(r),[r]),p=U.useMemo(()=>NL(d,l,c),[d,l,c]),g=r.length,v=d.size;return E.jsxs("div",{className:"flex flex-col h-full",children:[E.jsx("div",{className:"p-4 border-b",style:{borderColor:"var(--uilint-border)",background:"var(--uilint-surface)"},children:E.jsxs("div",{className:"flex items-center justify-between",children:[E.jsxs("div",{children:[E.jsx("div",{className:"text-sm mb-1",style:{color:"var(--uilint-text-muted)"},children:g===0?"No issues found":`${g} issue${g===1?"":"s"} in ${v} file${v===1?"":"s"}`}),E.jsx("div",{className:"text-xs",style:{color:"var(--uilint-text-muted)"},children:c?"Condensed format - hook will provide issue details":"Copy this prompt to Cursor or Claude Code"})]}),g>0&&E.jsx(LL,{text:p,onCopy:()=>{}})]})}),E.jsx("div",{className:"flex-1 overflow-auto p-4",children:E.jsx("pre",{className:"m-0 p-4 rounded-lg text-sm leading-relaxed whitespace-pre-wrap break-words font-mono",style:{background:"var(--uilint-code-bg, #1e1e1e)",color:"var(--uilint-code-text, #d4d4d4)"},children:p})}),E.jsxs("div",{className:"px-4 py-3 border-t text-xs",style:{borderColor:"var(--uilint-border)",background:"var(--uilint-surface-elevated)",color:"var(--uilint-text-muted)"},children:[E.jsx("strong",{children:"Tip:"})," Paste this prompt into Cursor, Claude Code, or any AI assistant to get help fixing these lint issues."]})]})}const ZS=nn.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},nn.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),nn.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}),nn.createElement("line",{x1:"8",y1:"12",x2:"16",y2:"12"}),nn.createElement("line",{x1:"8",y1:"16",x2:"14",y2:"16"}));function BL(a){const l=a.getState().plugins?.eslint;if(!l?.issues)return{issues:[],workspaceRoot:null,hookAvailable:!1};const c=[];for(const p of l.issues.values())c.push(...p);const d=l.workspaceCapabilities?.postToolUseHook?.enabled??!1;return{issues:c,workspaceRoot:l.workspaceRoot,hookAvailable:d}}const HL={id:"fix-prompt",name:"Fix Prompt Generator",version:"1.0.0",description:"Generate copyable prompts for AI assistants to fix lint issues",meta:{id:"fix-prompt",name:"Fix Prompt Generator",version:"1.0.0",description:"Generate copyable prompts for AI assistants to fix lint issues",icon:ZS},toolbarActions:[{id:"fix-prompt:generate",icon:ZS,tooltip:"Generate Fix Prompt",priority:50,isVisible:a=>{const l=a.plugins?.eslint?.issues;if(!l)return!1;let c=0;for(const d of l.values())if(c+=d.length,c>0)return!0;return!1},onClick:a=>{const{issues:r,workspaceRoot:l,hookAvailable:c}=BL(a),d=a.getState();a.setState({inspector:{...d.inspector,open:!0,panelId:"fix-prompt",data:{issues:r,workspaceRoot:l,hookAvailable:c}}})}}],inspectorPanels:[{id:"fix-prompt",title:"Fix Prompt",icon:ZS,component:UL,priority:10}],createSlice:void 0,initialize:void 0};let lR=!1;function sR(a){if(typeof document>"u"||lR)return;const r=document.createElement("style");r.setAttribute("data-uilint-devtools-styles","true"),r.textContent=a,document.head.appendChild(r),lR=!0}const uR=`@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-zinc-50:oklch(98.5% 0 0);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.dev-tool-root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.-top-1{top:calc(var(--spacing)*-1)}.top-0{top:calc(var(--spacing)*0)}.top-2{top:calc(var(--spacing)*2)}.top-2\\.5{top:calc(var(--spacing)*2.5)}.top-3{top:calc(var(--spacing)*3)}.top-full{top:100%}.-right-1{right:calc(var(--spacing)*-1)}.right-0{right:calc(var(--spacing)*0)}.-bottom-1{bottom:calc(var(--spacing)*-1)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.z-90{z-index:90}.z-\\[99997\\]{z-index:99997}.z-\\[99998\\]{z-index:99998}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.mx-0{margin-inline:calc(var(--spacing)*0)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.my-0\\.5{margin-block:calc(var(--spacing)*.5)}.my-1{margin-block:calc(var(--spacing)*1)}.-mt-0\\.5{margin-top:calc(var(--spacing)*-.5)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-2\\.5{margin-top:calc(var(--spacing)*2.5)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-5{margin-top:calc(var(--spacing)*5)}.mt-auto{margin-top:auto}.-mr-0\\.5{margin-right:calc(var(--spacing)*-.5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-none{-webkit-line-clamp:unset;-webkit-box-orient:horizontal;display:block;overflow:visible}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-full{width:100%;height:100%}.h-1{height:calc(var(--spacing)*1)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-12{height:calc(var(--spacing)*12)}.h-\\[18px\\]{height:18px}.h-\\[200px\\]{height:200px}.h-\\[var\\(--uilint-icon-button-size\\)\\]{height:var(--uilint-icon-button-size)}.h-\\[var\\(--uilint-icon-button-size-lg\\)\\]{height:var(--uilint-icon-button-size-lg)}.h-\\[var\\(--uilint-icon-button-size-sm\\)\\]{height:var(--uilint-icon-button-size-sm)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\\[2\\.25rem\\]{max-height:2.25rem}.max-h-\\[100px\\]{max-height:100px}.max-h-\\[520px\\]{max-height:520px}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.min-h-5{min-height:calc(var(--spacing)*5)}.min-h-6{min-height:calc(var(--spacing)*6)}.min-h-\\[44px\\]{min-height:44px}.min-h-\\[220px\\]{min-height:220px}.min-h-\\[260px\\]{min-height:260px}.w-1{width:calc(var(--spacing)*1)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2{width:calc(var(--spacing)*2)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-\\[30\\%\\]{width:30%}.w-\\[340px\\]{width:340px}.w-\\[364px\\]{width:364px}.w-\\[860px\\]{width:860px}.w-\\[var\\(--uilint-icon-button-size\\)\\]{width:var(--uilint-icon-button-size)}.w-\\[var\\(--uilint-icon-button-size-lg\\)\\]{width:var(--uilint-icon-button-size-lg)}.w-\\[var\\(--uilint-icon-button-size-sm\\)\\]{width:var(--uilint-icon-button-size-sm)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[120px\\]{max-width:120px}.max-w-\\[140px\\]{max-width:140px}.max-w-\\[320px\\]{max-width:320px}.max-w-\\[580px\\]{max-width:580px}.max-w-\\[calc\\(100\\%-1rem\\)\\]{max-width:calc(100% - 1rem)}.max-w-full{max-width:100%}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-4{min-width:calc(var(--spacing)*4)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-6{min-width:calc(var(--spacing)*6)}.min-w-\\[18px\\]{min-width:18px}.min-w-\\[44px\\]{min-width:44px}.min-w-\\[80px\\]{min-width:80px}.min-w-\\[120px\\]{min-width:120px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-center{transform-origin:50%}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.columns-2{columns:2}.break-inside-avoid{break-inside:avoid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}.gap-y-1{row-gap:calc(var(--spacing)*1)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.\\[border-radius\\:var\\(--uilint-card-radius\\)\\]{border-radius:var(--uilint-card-radius)}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[0\\.8rem\\]{border-radius:.8rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[calc\\(var\\(--uilint-icon-button-radius\\)\\+2px\\)\\]{border-radius:calc(var(--uilint-icon-button-radius) + 2px)}.rounded-\\[calc\\(var\\(--uilint-icon-button-radius\\)-2px\\)\\]{border-radius:calc(var(--uilint-icon-button-radius) - 2px)}.rounded-\\[calc\\(var\\(--uilint-input-radius\\)\\+2px\\)\\]{border-radius:calc(var(--uilint-input-radius) + 2px)}.rounded-\\[calc\\(var\\(--uilint-input-radius\\)-2px\\)\\]{border-radius:calc(var(--uilint-input-radius) - 2px)}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[var\\(--uilint-button-radius\\)\\]{border-radius:var(--uilint-button-radius)}.rounded-\\[var\\(--uilint-icon-button-radius\\)\\]{border-radius:var(--uilint-icon-button-radius)}.rounded-\\[var\\(--uilint-input-radius\\)\\]{border-radius:var(--uilint-input-radius)}.rounded-\\[var\\(--uilint-radius\\,12px\\)\\]{border-radius:var(--uilint-radius,12px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--uilint-radius-lg)}.rounded-md{border-radius:var(--uilint-radius)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--uilint-radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-l-\\[3px\\]{border-left-style:var(--tw-border-style);border-left-width:3px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[var\\(--uilint-error\\)\\]{border-color:var(--uilint-error)}.border-\\[var\\(--uilint-glass-border\\)\\]{border-color:var(--uilint-glass-border)}.border-\\[var\\(--uilint-input-border\\)\\]{border-color:var(--uilint-input-border)}.border-\\[var\\(--uilint-kbd-border\\,rgba\\(0\\,0\\,0\\,0\\.1\\)\\)\\]{border-color:var(--uilint-kbd-border,#0000001a)}.border-\\[var\\(--uilint-kbd-border-subtle\\,transparent\\)\\]{border-color:var(--uilint-kbd-border-subtle,transparent)}.border-accent,.border-accent\\/30{border-color:var(--uilint-accent)}@supports (color:color-mix(in lab,red,red)){.border-accent\\/30{border-color:color-mix(in oklab,var(--uilint-accent)30%,transparent)}}.border-border{border-color:var(--uilint-border)}.border-current\\/20{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\\/20{border-color:color-mix(in oklab,currentcolor 20%,transparent)}}.border-error,.border-error\\/20{border-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-error\\/20{border-color:color-mix(in oklab,var(--uilint-error)20%,transparent)}}.border-error\\/30{border-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-error\\/30{border-color:color-mix(in oklab,var(--uilint-error)30%,transparent)}}.border-error\\/50{border-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-error\\/50{border-color:color-mix(in oklab,var(--uilint-error)50%,transparent)}}.border-foreground\\/10{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/10{border-color:color-mix(in oklab,var(--uilint-foreground)10%,transparent)}}.border-foreground\\/12{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/12{border-color:color-mix(in oklab,var(--uilint-foreground)12%,transparent)}}.border-foreground\\/15{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/15{border-color:color-mix(in oklab,var(--uilint-foreground)15%,transparent)}}.border-foreground\\/\\[0\\.1\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.1\\]{border-color:color-mix(in oklab,var(--uilint-foreground)10%,transparent)}}.border-foreground\\/\\[0\\.02\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.02\\]{border-color:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.border-foreground\\/\\[0\\.03\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.03\\]{border-color:color-mix(in oklab,var(--uilint-foreground)3%,transparent)}}.border-foreground\\/\\[0\\.04\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.04\\]{border-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.border-foreground\\/\\[0\\.05\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.05\\]{border-color:color-mix(in oklab,var(--uilint-foreground)5%,transparent)}}.border-foreground\\/\\[0\\.06\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.06\\]{border-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.border-foreground\\/\\[0\\.08\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.08\\]{border-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.border-foreground\\/\\[0\\.12\\]{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-foreground\\/\\[0\\.12\\]{border-color:color-mix(in oklab,var(--uilint-foreground)12%,transparent)}}.border-glass-border{border-color:var(--uilint-glass-border)}.border-info,.border-info\\/20{border-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.border-info\\/20{border-color:color-mix(in oklab,var(--uilint-info)20%,transparent)}}.border-info\\/30{border-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.border-info\\/30{border-color:color-mix(in oklab,var(--uilint-info)30%,transparent)}}.border-muted-foreground\\/30{border-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.border-muted-foreground\\/30{border-color:color-mix(in oklab,var(--uilint-text-muted)30%,transparent)}}.border-purple-500\\/10{border-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.border-purple-500\\/10{border-color:color-mix(in oklab,var(--color-purple-500)10%,transparent)}}.border-transparent{border-color:#0000}.border-warning,.border-warning\\/20{border-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.border-warning\\/20{border-color:color-mix(in oklab,var(--uilint-warning)20%,transparent)}}.border-warning\\/30{border-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.border-warning\\/30{border-color:color-mix(in oklab,var(--uilint-warning)30%,transparent)}}.border-white\\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-zinc-200{border-color:var(--color-zinc-200)}.border-zinc-950\\/10{border-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){.border-zinc-950\\/10{border-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}.border-t-muted-foreground{border-top-color:var(--uilint-text-muted)}.border-t-transparent{border-top-color:#0000}.border-l-error\\/50{border-left-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.border-l-error\\/50{border-left-color:color-mix(in oklab,var(--uilint-error)50%,transparent)}}.border-l-foreground\\/20{border-left-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.border-l-foreground\\/20{border-left-color:color-mix(in oklab,var(--uilint-foreground)20%,transparent)}}.border-l-info,.border-l-info\\/50{border-left-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.border-l-info\\/50{border-left-color:color-mix(in oklab,var(--uilint-info)50%,transparent)}}.border-l-transparent{border-left-color:#0000}.border-l-warning,.border-l-warning\\/50{border-left-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.border-l-warning\\/50{border-left-color:color-mix(in oklab,var(--uilint-warning)50%,transparent)}}.bg-\\[rgba\\(128\\,128\\,128\\,0\\.15\\)\\]{background-color:#80808026}.bg-\\[var\\(--uilint-button-default-bg\\)\\]{background-color:var(--uilint-button-default-bg)}.bg-\\[var\\(--uilint-button-destructive-bg\\)\\]{background-color:var(--uilint-button-destructive-bg)}.bg-\\[var\\(--uilint-button-ghost-bg\\)\\]{background-color:var(--uilint-button-ghost-bg)}.bg-\\[var\\(--uilint-button-glass-bg\\)\\]{background-color:var(--uilint-button-glass-bg)}.bg-\\[var\\(--uilint-button-outline-bg\\)\\]{background-color:var(--uilint-button-outline-bg)}.bg-\\[var\\(--uilint-button-secondary-bg\\)\\]{background-color:var(--uilint-button-secondary-bg)}.bg-\\[var\\(--uilint-glass\\)\\]{background-color:var(--uilint-glass)}.bg-\\[var\\(--uilint-glass-medium\\)\\]{background-color:var(--uilint-glass-medium)}.bg-\\[var\\(--uilint-hover\\)\\]{background-color:var(--uilint-hover)}.bg-\\[var\\(--uilint-input-bg\\)\\]{background-color:var(--uilint-input-bg)}.bg-\\[var\\(--uilint-kbd-background\\,linear-gradient\\(180deg\\,\\#ffffff_0\\%\\,\\#f3f4f6_100\\%\\)\\)\\]{background-color:var(--uilint-kbd-background,linear-gradient(180deg,#fff 0%,#f3f4f6 100%))}.bg-\\[var\\(--uilint-kbd-background-subtle\\,rgba\\(0\\,0\\,0\\,0\\.04\\)\\)\\]{background-color:var(--uilint-kbd-background-subtle,#0000000a)}.bg-accent,.bg-accent\\/10{background-color:var(--uilint-accent)}@supports (color:color-mix(in lab,red,red)){.bg-accent\\/10{background-color:color-mix(in oklab,var(--uilint-accent)10%,transparent)}}.bg-accent\\/15{background-color:var(--uilint-accent)}@supports (color:color-mix(in lab,red,red)){.bg-accent\\/15{background-color:color-mix(in oklab,var(--uilint-accent)15%,transparent)}}.bg-amber-500\\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-background,.bg-background\\/40{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/40{background-color:color-mix(in oklab,var(--uilint-background)40%,transparent)}}.bg-background\\/50{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/50{background-color:color-mix(in oklab,var(--uilint-background)50%,transparent)}}.bg-background\\/60{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/60{background-color:color-mix(in oklab,var(--uilint-background)60%,transparent)}}.bg-background\\/80{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/80{background-color:color-mix(in oklab,var(--uilint-background)80%,transparent)}}.bg-background\\/95{background-color:var(--uilint-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/95{background-color:color-mix(in oklab,var(--uilint-background)95%,transparent)}}.bg-blue-300\\/20{background-color:#90c5ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-300\\/20{background-color:color-mix(in oklab,var(--color-blue-300)20%,transparent)}}.bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-error{background-color:var(--uilint-error)}.bg-error-bg{background-color:var(--uilint-error-bg)}.bg-error\\/10{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/10{background-color:color-mix(in oklab,var(--uilint-error)10%,transparent)}}.bg-error\\/60{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/60{background-color:color-mix(in oklab,var(--uilint-error)60%,transparent)}}.bg-error\\/70{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/70{background-color:color-mix(in oklab,var(--uilint-error)70%,transparent)}}.bg-error\\/80{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/80{background-color:color-mix(in oklab,var(--uilint-error)80%,transparent)}}.bg-error\\/\\[0\\.04\\]{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-error)4%,transparent)}}.bg-error\\/\\[0\\.06\\]{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-error)6%,transparent)}}.bg-foreground,.bg-foreground\\/\\[0\\.01\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.01\\]{background-color:color-mix(in oklab,var(--uilint-foreground)1%,transparent)}}.bg-foreground\\/\\[0\\.02\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.02\\]{background-color:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.bg-foreground\\/\\[0\\.03\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.03\\]{background-color:color-mix(in oklab,var(--uilint-foreground)3%,transparent)}}.bg-foreground\\/\\[0\\.04\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.bg-foreground\\/\\[0\\.05\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.05\\]{background-color:color-mix(in oklab,var(--uilint-foreground)5%,transparent)}}.bg-foreground\\/\\[0\\.06\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.bg-foreground\\/\\[0\\.08\\]{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.bg-glass-medium{background-color:var(--uilint-glass-medium)}.bg-info{background-color:var(--uilint-info)}.bg-info-bg{background-color:var(--uilint-info-bg)}.bg-info\\/10{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/10{background-color:color-mix(in oklab,var(--uilint-info)10%,transparent)}}.bg-info\\/60{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/60{background-color:color-mix(in oklab,var(--uilint-info)60%,transparent)}}.bg-info\\/70{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/70{background-color:color-mix(in oklab,var(--uilint-info)70%,transparent)}}.bg-info\\/80{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/80{background-color:color-mix(in oklab,var(--uilint-info)80%,transparent)}}.bg-info\\/\\[0\\.04\\]{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-info)4%,transparent)}}.bg-info\\/\\[0\\.06\\]{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.bg-info\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-info)6%,transparent)}}.bg-muted-foreground\\/20{background-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/20{background-color:color-mix(in oklab,var(--uilint-text-muted)20%,transparent)}}.bg-muted-foreground\\/30{background-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/30{background-color:color-mix(in oklab,var(--uilint-text-muted)30%,transparent)}}.bg-muted-foreground\\/50{background-color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/50{background-color:color-mix(in oklab,var(--uilint-text-muted)50%,transparent)}}.bg-purple-500\\/\\[0\\.06\\]{background-color:#ac4bff0f}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--color-purple-500)6%,transparent)}}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-success{background-color:var(--uilint-success)}.bg-success-bg{background-color:var(--uilint-success-bg)}.bg-success\\/20{background-color:var(--uilint-success)}@supports (color:color-mix(in lab,red,red)){.bg-success\\/20{background-color:color-mix(in oklab,var(--uilint-success)20%,transparent)}}.bg-success\\/70{background-color:var(--uilint-success)}@supports (color:color-mix(in lab,red,red)){.bg-success\\/70{background-color:color-mix(in oklab,var(--uilint-success)70%,transparent)}}.bg-surface{background-color:var(--uilint-surface)}.bg-surface-elevated{background-color:var(--uilint-surface-elevated)}.bg-surface\\/95{background-color:var(--uilint-surface)}@supports (color:color-mix(in lab,red,red)){.bg-surface\\/95{background-color:color-mix(in oklab,var(--uilint-surface)95%,transparent)}}.bg-transparent{background-color:#0000}.bg-warning{background-color:var(--uilint-warning)}.bg-warning-bg{background-color:var(--uilint-warning-bg)}.bg-warning\\/10{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/10{background-color:color-mix(in oklab,var(--uilint-warning)10%,transparent)}}.bg-warning\\/60{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/60{background-color:color-mix(in oklab,var(--uilint-warning)60%,transparent)}}.bg-warning\\/70{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/70{background-color:color-mix(in oklab,var(--uilint-warning)70%,transparent)}}.bg-warning\\/80{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/80{background-color:color-mix(in oklab,var(--uilint-warning)80%,transparent)}}.bg-warning\\/\\[0\\.04\\]{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--uilint-warning)4%,transparent)}}.bg-warning\\/\\[0\\.06\\]{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.bg-warning\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--uilint-warning)6%,transparent)}}.bg-white{background-color:var(--color-white)}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-100\\/50{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.bg-zinc-100\\/50{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-linear-to-br{--tw-gradient-position:to bottom right}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-br{--tw-gradient-position:to bottom right in oklab}}.bg-linear-to-br{background-image:linear-gradient(var(--tw-gradient-stops))}.from-foreground\\/2{--tw-gradient-from:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.from-foreground\\/2{--tw-gradient-from:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.from-foreground\\/2{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-7{padding:calc(var(--spacing)*7)}.p-8{padding:calc(var(--spacing)*8)}.p-\\[1px\\],.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-12{padding-block:calc(var(--spacing)*12)}.py-14{padding-block:calc(var(--spacing)*14)}.py-16{padding-block:calc(var(--spacing)*16)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-0\\.5{padding-top:calc(var(--spacing)*.5)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-14{padding-top:calc(var(--spacing)*14)}.pt-\\[100px\\]{padding-top:100px}.pt-\\[env\\(safe-area-inset-top\\,0px\\)\\]{padding-top:env(safe-area-inset-top,0px)}.pr-1\\.25{padding-right:calc(var(--spacing)*1.25)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-0{padding-bottom:calc(var(--spacing)*0)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-1\\.5{padding-bottom:calc(var(--spacing)*1.5)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-\\[env\\(safe-area-inset-bottom\\,0px\\)\\]{padding-bottom:env(safe-area-inset-bottom,0px)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-\\[-apple-system\\,BlinkMacSystemFont\\,\\'SF_Pro_Text\\'\\,\\'Segoe_UI\\'\\,sans-serif\\]{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.text-\\[17px\\]{font-size:17px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extralight{--tw-font-weight:var(--font-weight-extralight);font-weight:var(--font-weight-extralight)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.\\[color\\:var\\(--uilint-text-primary\\)\\]{color:var(--uilint-text-primary)}.\\[color\\:var\\(--uilint-text-secondary\\)\\]{color:var(--uilint-text-secondary)}.text-\\[var\\(--uilint-button-default-text\\)\\]{color:var(--uilint-button-default-text)}.text-\\[var\\(--uilint-button-destructive-text\\)\\]{color:var(--uilint-button-destructive-text)}.text-\\[var\\(--uilint-button-ghost-text\\)\\]{color:var(--uilint-button-ghost-text)}.text-\\[var\\(--uilint-button-glass-text\\)\\]{color:var(--uilint-button-glass-text)}.text-\\[var\\(--uilint-button-outline-text\\)\\]{color:var(--uilint-button-outline-text)}.text-\\[var\\(--uilint-button-secondary-text\\)\\]{color:var(--uilint-button-secondary-text)}.text-\\[var\\(--uilint-kbd-text\\,\\#6b7280\\)\\]{color:var(--uilint-kbd-text,#6b7280)}.text-\\[var\\(--uilint-kbd-text-subtle\\,\\#9ca3af\\)\\]{color:var(--uilint-kbd-text-subtle,#9ca3af)}.text-\\[var\\(--uilint-text-muted\\)\\]{color:var(--uilint-text-muted)}.text-\\[var\\(--uilint-text-primary\\)\\]{color:var(--uilint-text-primary)}.text-\\[var\\(--uilint-text-secondary\\)\\]{color:var(--uilint-text-secondary)}.text-accent{color:var(--uilint-accent)}.text-accent-foreground{color:var(--uilint-accent-foreground)}.text-amber-700{color:var(--color-amber-700)}.text-blue-700{color:var(--color-blue-700)}.text-emerald-700{color:var(--color-emerald-700)}.text-error,.text-error\\/80{color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.text-error\\/80{color:color-mix(in oklab,var(--uilint-error)80%,transparent)}}.text-foreground,.text-foreground\\/50{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/50{color:color-mix(in oklab,var(--uilint-foreground)50%,transparent)}}.text-foreground\\/60{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/60{color:color-mix(in oklab,var(--uilint-foreground)60%,transparent)}}.text-foreground\\/70{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/70{color:color-mix(in oklab,var(--uilint-foreground)70%,transparent)}}.text-foreground\\/80{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/80{color:color-mix(in oklab,var(--uilint-foreground)80%,transparent)}}.text-foreground\\/85{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/85{color:color-mix(in oklab,var(--uilint-foreground)85%,transparent)}}.text-foreground\\/90{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/90{color:color-mix(in oklab,var(--uilint-foreground)90%,transparent)}}.text-info,.text-info\\/80{color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.text-info\\/80{color:color-mix(in oklab,var(--uilint-info)80%,transparent)}}.text-muted-foreground,.text-muted-foreground\\/30{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/30{color:color-mix(in oklab,var(--uilint-text-muted)30%,transparent)}}.text-muted-foreground\\/40{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/40{color:color-mix(in oklab,var(--uilint-text-muted)40%,transparent)}}.text-muted-foreground\\/50{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/50{color:color-mix(in oklab,var(--uilint-text-muted)50%,transparent)}}.text-muted-foreground\\/60{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/60{color:color-mix(in oklab,var(--uilint-text-muted)60%,transparent)}}.text-muted-foreground\\/70{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/70{color:color-mix(in oklab,var(--uilint-text-muted)70%,transparent)}}.text-purple-500\\/70{color:#ac4bffb3}@supports (color:color-mix(in lab,red,red)){.text-purple-500\\/70{color:color-mix(in oklab,var(--color-purple-500)70%,transparent)}}.text-red-700{color:var(--color-red-700)}.text-success{color:var(--uilint-success)}.text-text-disabled{color:var(--uilint-text-disabled)}.text-text-muted{color:var(--uilint-text-muted)}.text-text-primary{color:var(--uilint-text-primary)}.text-text-secondary{color:var(--uilint-text-secondary)}.text-warning,.text-warning\\/80{color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.text-warning\\/80{color:color-mix(in oklab,var(--uilint-warning)80%,transparent)}}.text-white{color:var(--color-white)}.text-zinc-50{color:var(--color-zinc-50)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-900{color:var(--color-zinc-900)}.text-zinc-950{color:var(--color-zinc-950)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_0_1px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#00000014),0px 2px 2px var(--tw-shadow-color,#0000000a),0px 8px 16px -4px var(--tw-shadow-color,#0000000a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_0px_0px_1px_rgba\\(255\\,255\\,255\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.05\\)\\,0px_1px_1px_0px_rgba\\(255\\,252\\,240\\,0\\.5\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.1\\)_inset\\,0px_0px_1px_0px_rgba\\(28\\,27\\,26\\,0\\.5\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0000000d),0px 1px 1px 0px var(--tw-shadow-color,#fffcf080)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff1a)inset,0px 0px 1px 0px var(--tw-shadow-color,#1c1b1a80);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--uilint-button-shadow\\)\\]{--tw-shadow:var(--uilint-button-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--uilint-kbd-shadow\\,0_1px_0_rgba\\(0\\,0\\,0\\,0\\.08\\)\\)\\]{--tw-shadow:var(--uilint-kbd-shadow,0 1px 0 #00000014);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:var(--uilint-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:var(--uilint-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:var(--uilint-card-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.\\[box-shadow\\:var\\(--uilint-card-elevated-shadow\\)\\]{box-shadow:var(--uilint-card-elevated-shadow)}.\\[box-shadow\\:var\\(--uilint-card-shadow\\)\\]{box-shadow:var(--uilint-card-shadow)}.shadow-black\\/10{--tw-shadow-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.shadow-black\\/10{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-black)10%,transparent)var(--tw-shadow-alpha),transparent)}}.ring-foreground\\/20{--tw-ring-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.ring-foreground\\/20{--tw-ring-color:color-mix(in oklab,var(--uilint-foreground)20%,transparent)}}.ring-zinc-200\\/50{--tw-ring-color:#e4e4e780}@supports (color:color-mix(in lab,red,red)){.ring-zinc-200\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-200)50%,transparent)}}.ring-offset-white{--tw-ring-offset-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-lg{--tw-blur:blur(var(--blur-lg));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-md{--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-sm{--tw-blur:blur(var(--blur-sm));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-\\[1px\\]{--tw-backdrop-blur:blur(1px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-\\[var\\(--uilint-glass-blur-medium\\)\\]{--tw-backdrop-blur:blur(var(--uilint-glass-blur-medium));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.\\[backdrop-filter\\:blur\\(var\\(--uilint-glass-blur-medium\\)\\)\\]{-webkit-backdrop-filter:blur(var(--uilint-glass-blur-medium));backdrop-filter:blur(var(--uilint-glass-blur-medium))}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[colors\\]{transition-property:colors;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\]{transition-property:scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[-ms-overflow-style\\:none\\]{-ms-overflow-style:none}.\\[-webkit-overflow-scrolling\\:touch\\]{-webkit-overflow-scrolling:touch}.\\[background\\:var\\(--uilint-card-bg\\)\\]{background:var(--uilint-card-bg)}.\\[background\\:var\\(--uilint-card-elevated-bg\\)\\]{background:var(--uilint-card-elevated-bg)}.\\[background\\:var\\(--uilint-card-glass-bg\\)\\]{background:var(--uilint-card-glass-bg)}.\\[border-top\\:1px_solid_var\\(--uilint-card-border\\)\\]{border-top:1px solid var(--uilint-card-border)}.\\[border\\:1px_solid_var\\(--uilint-card-border\\)\\]{border:1px solid var(--uilint-card-border)}.\\[border\\:1px_solid_var\\(--uilint-card-glass-border\\)\\]{border:1px solid var(--uilint-card-glass-border)}.\\[scrollbar-width\\:thin\\]{scrollbar-width:thin}@media(hover:hover){.group-hover\\:text-muted-foreground\\/60:is(:where(.group):hover *){color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.group-hover\\:text-muted-foreground\\/60:is(:where(.group):hover *){color:color-mix(in oklab,var(--uilint-text-muted)60%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\\:text-\\[var\\(--uilint-input-placeholder\\)\\]::placeholder{color:var(--uilint-input-placeholder)}.placeholder\\:text-muted-foreground\\/40::placeholder{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.placeholder\\:text-muted-foreground\\/40::placeholder{color:color-mix(in oklab,var(--uilint-text-muted)40%,transparent)}}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-x-0:before{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.before\\:inset-y-0:before{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.before\\:top-0:before{content:var(--tw-content);top:calc(var(--spacing)*0)}.before\\:left-0:before{content:var(--tw-content);left:calc(var(--spacing)*0)}.before\\:h-\\(--top-fade-height\\):before{content:var(--tw-content);height:var(--top-fade-height)}.before\\:h-px:before{content:var(--tw-content);height:1px}.before\\:w-\\(--left-fade-width\\):before{content:var(--tw-content);width:var(--left-fade-width)}.before\\:bg-gradient-to-b:before{content:var(--tw-content);--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:bg-gradient-to-r:before{content:var(--tw-content);--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:from-background:before{content:var(--tw-content);--tw-gradient-from:var(--uilint-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:to-transparent:before{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:opacity-0:before{content:var(--tw-content);opacity:0}.before\\:opacity-100:before{content:var(--tw-content);opacity:1}.before\\:transition-\\[height\\,opacity\\]:before{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:transition-\\[width\\,opacity\\]:before{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.before\\:\\[background\\:var\\(--uilint-glass-highlight\\)\\]:before{content:var(--tw-content);background:var(--uilint-glass-highlight)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-x-0:after{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.after\\:right-0:after{content:var(--tw-content);right:calc(var(--spacing)*0)}.after\\:bottom-0:after{content:var(--tw-content);bottom:calc(var(--spacing)*0)}.after\\:h-\\(--bottom-fade-height\\):after{content:var(--tw-content);height:var(--bottom-fade-height)}.after\\:w-\\(--right-fade-width\\):after{content:var(--tw-content);width:var(--right-fade-width)}.after\\:bg-gradient-to-l:after{content:var(--tw-content);--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:bg-gradient-to-t:after{content:var(--tw-content);--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:from-background:after{content:var(--tw-content);--tw-gradient-from:var(--uilint-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:to-transparent:after{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-\\[height\\,opacity\\]:after{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:transition-\\[width\\,opacity\\]:after{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:duration-300:after{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\\:border-foreground\\/\\[0\\.08\\]:hover{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:border-foreground\\/\\[0\\.08\\]:hover{border-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.hover\\:bg-\\[var\\(--uilint-active\\)\\]:hover{background-color:var(--uilint-active)}.hover\\:bg-\\[var\\(--uilint-button-destructive-bg\\)\\]\\/90:hover{background-color:var(--uilint-button-destructive-bg)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-destructive-bg\\)\\]\\/90:hover{background-color:color-mix(in oklab,var(--uilint-button-destructive-bg)90%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-ghost-text\\)\\]\\/10:hover{background-color:var(--uilint-button-ghost-text)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-ghost-text\\)\\]\\/10:hover{background-color:color-mix(in oklab,var(--uilint-button-ghost-text)10%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-outline-text\\)\\]\\/10:hover{background-color:var(--uilint-button-outline-text)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-outline-text\\)\\]\\/10:hover{background-color:color-mix(in oklab,var(--uilint-button-outline-text)10%,transparent)}}.hover\\:bg-\\[var\\(--uilint-button-secondary-bg\\)\\]\\/80:hover{background-color:var(--uilint-button-secondary-bg)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\[var\\(--uilint-button-secondary-bg\\)\\]\\/80:hover{background-color:color-mix(in oklab,var(--uilint-button-secondary-bg)80%,transparent)}}.hover\\:bg-\\[var\\(--uilint-glass-medium\\)\\]:hover{background-color:var(--uilint-glass-medium)}.hover\\:bg-\\[var\\(--uilint-hover\\)\\]:hover{background-color:var(--uilint-hover)}.hover\\:bg-error\\/10:hover{background-color:var(--uilint-error)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-error\\/10:hover{background-color:color-mix(in oklab,var(--uilint-error)10%,transparent)}}.hover\\:bg-foreground\\/6:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/6:hover{background-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.02\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.02\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)2%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.03\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.03\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)3%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.04\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.04\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)4%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.05\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.05\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)5%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.06\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.06\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)6%,transparent)}}.hover\\:bg-foreground\\/\\[0\\.08\\]:hover{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-foreground\\/\\[0\\.08\\]:hover{background-color:color-mix(in oklab,var(--uilint-foreground)8%,transparent)}}.hover\\:bg-info\\/10:hover{background-color:var(--uilint-info)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-info\\/10:hover{background-color:color-mix(in oklab,var(--uilint-info)10%,transparent)}}.hover\\:bg-red-500\\/80:hover{background-color:#fb2c36cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/80:hover{background-color:color-mix(in oklab,var(--color-red-500)80%,transparent)}}.hover\\:bg-red-500\\/90:hover{background-color:#fb2c36e6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/90:hover{background-color:color-mix(in oklab,var(--color-red-500)90%,transparent)}}.hover\\:bg-warning\\/10:hover{background-color:var(--uilint-warning)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-warning\\/10:hover{background-color:color-mix(in oklab,var(--uilint-warning)10%,transparent)}}.hover\\:bg-white\\/30:hover{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/30:hover{background-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.hover\\:bg-zinc-100:hover{background-color:var(--color-zinc-100)}.hover\\:bg-zinc-100\\/60:hover{background-color:#f4f4f599}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-100)60%,transparent)}}.hover\\:bg-zinc-100\\/80:hover{background-color:#f4f4f5cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-100)80%,transparent)}}.hover\\:bg-zinc-900\\/80:hover{background-color:#18181bcc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-900)80%,transparent)}}.hover\\:bg-zinc-900\\/90:hover{background-color:#18181be6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-900)90%,transparent)}}.hover\\:text-\\[var\\(--uilint-text-primary\\)\\]:hover{color:var(--uilint-text-primary)}.hover\\:text-\\[var\\(--uilint-text-secondary\\)\\]:hover{color:var(--uilint-text-secondary)}.hover\\:text-foreground:hover,.hover\\:text-foreground\\/70:hover{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-foreground\\/70:hover{color:color-mix(in oklab,var(--uilint-foreground)70%,transparent)}}.hover\\:text-foreground\\/80:hover{color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-foreground\\/80:hover{color:color-mix(in oklab,var(--uilint-foreground)80%,transparent)}}.hover\\:text-muted-foreground:hover,.hover\\:text-muted-foreground\\/70:hover{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-muted-foreground\\/70:hover{color:color-mix(in oklab,var(--uilint-text-muted)70%,transparent)}}.hover\\:text-muted-foreground\\/80:hover{color:var(--uilint-text-muted)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-muted-foreground\\/80:hover{color:color-mix(in oklab,var(--uilint-text-muted)80%,transparent)}}.hover\\:text-zinc-800:hover{color:var(--color-zinc-800)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[var\\(--uilint-button-shadow-hover\\)\\]:hover{--tw-shadow:var(--uilint-button-shadow-hover);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:brightness-\\[0\\.97\\]:hover{--tw-brightness:brightness(.97);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.focus\\:border-\\[var\\(--uilint-error\\)\\]:focus{border-color:var(--uilint-error)}.focus\\:border-\\[var\\(--uilint-input-border-focus\\)\\]:focus{border-color:var(--uilint-input-border-focus)}.focus\\:border-error:focus{border-color:var(--uilint-error)}.focus\\:border-foreground\\/\\[0\\.12\\]:focus{border-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.focus\\:border-foreground\\/\\[0\\.12\\]:focus{border-color:color-mix(in oklab,var(--uilint-foreground)12%,transparent)}}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-foreground\\/20:focus{--tw-ring-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-foreground\\/20:focus{--tw-ring-color:color-mix(in oklab,var(--uilint-foreground)20%,transparent)}}.focus\\:ring-zinc-950:focus{--tw-ring-color:var(--color-zinc-950)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-\\[var\\(--uilint-button-default-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-default-bg)}.focus-visible\\:ring-\\[var\\(--uilint-button-destructive-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-destructive-bg)}.focus-visible\\:ring-\\[var\\(--uilint-button-ghost-text\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-ghost-text)}.focus-visible\\:ring-\\[var\\(--uilint-button-outline-text\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-outline-text)}.focus-visible\\:ring-\\[var\\(--uilint-button-secondary-bg\\)\\]:focus-visible{--tw-ring-color:var(--uilint-button-secondary-bg)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color:var(--uilint-border-focus)}.focus-visible\\:ring-white\\/50:focus-visible{--tw-ring-color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-white\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-white)50%,transparent)}}.focus-visible\\:ring-zinc-950:focus-visible{--tw-ring-color:var(--color-zinc-950)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-x-98:active{--tw-scale-x:98%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-y-95:active{--tw-scale-y:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.active\\:bg-zinc-100\\/70:active{background-color:#f4f4f5b3}@supports (color:color-mix(in lab,red,red)){.active\\:bg-zinc-100\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-100)70%,transparent)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:inline{display:inline}.sm\\:h-5{height:calc(var(--spacing)*5)}.sm\\:min-h-0{min-height:calc(var(--spacing)*0)}.sm\\:w-5{width:calc(var(--spacing)*5)}.sm\\:max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.sm\\:max-w-lg{max-width:var(--container-lg)}.sm\\:columns-3{columns:3}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:rounded-lg{border-radius:var(--uilint-radius-lg)}.sm\\:rounded-xl{border-radius:var(--radius-xl)}.sm\\:p-1\\.5{padding:calc(var(--spacing)*1.5)}.sm\\:p-3{padding:calc(var(--spacing)*3)}.sm\\:px-0{padding-inline:calc(var(--spacing)*0)}.sm\\:px-2{padding-inline:calc(var(--spacing)*2)}.sm\\:px-4{padding-inline:calc(var(--spacing)*4)}.sm\\:py-4{padding-block:calc(var(--spacing)*4)}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@media(min-width:48rem){.md\\:max-w-\\[calc\\(100\\%-4rem\\)\\]{max-width:calc(100% - 4rem)}.md\\:rounded-3xl{border-radius:var(--radius-3xl)}.md\\:rounded-\\[2rem\\]{border-radius:2rem}.md\\:p-2{padding:calc(var(--spacing)*2)}.md\\:p-4{padding:calc(var(--spacing)*4)}}@media(prefers-color-scheme:dark){.dark\\:border-purple-400\\/10{border-color:#c07eff1a}@supports (color:color-mix(in lab,red,red)){.dark\\:border-purple-400\\/10{border-color:color-mix(in oklab,var(--color-purple-400)10%,transparent)}}.dark\\:border-zinc-50\\/10{border-color:#fafafa1a}@supports (color:color-mix(in lab,red,red)){.dark\\:border-zinc-50\\/10{border-color:color-mix(in oklab,var(--color-zinc-50)10%,transparent)}}.dark\\:border-zinc-800{border-color:var(--color-zinc-800)}.dark\\:bg-amber-500\\/25{background-color:#f99c0040}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-amber-500\\/25{background-color:color-mix(in oklab,var(--color-amber-500)25%,transparent)}}.dark\\:bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.dark\\:bg-emerald-500\\/25{background-color:#00bb7f40}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/25{background-color:color-mix(in oklab,var(--color-emerald-500)25%,transparent)}}.dark\\:bg-purple-400\\/\\[0\\.06\\]{background-color:#c07eff0f}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-purple-400\\/\\[0\\.06\\]{background-color:color-mix(in oklab,var(--color-purple-400)6%,transparent)}}.dark\\:bg-red-500\\/25{background-color:#fb2c3640}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/25{background-color:color-mix(in oklab,var(--color-red-500)25%,transparent)}}.dark\\:bg-red-900{background-color:var(--color-red-900)}.dark\\:bg-zinc-50{background-color:var(--color-zinc-50)}.dark\\:bg-zinc-100{background-color:var(--color-zinc-100)}.dark\\:bg-zinc-700{background-color:var(--color-zinc-700)}.dark\\:bg-zinc-800{background-color:var(--color-zinc-800)}.dark\\:bg-zinc-800\\/50{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-800\\/50{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:bg-zinc-950{background-color:var(--color-zinc-950)}.dark\\:text-amber-300{color:var(--color-amber-300)}.dark\\:text-blue-400{color:var(--color-blue-400)}.dark\\:text-emerald-300{color:var(--color-emerald-300)}.dark\\:text-purple-400\\/70{color:#c07effb3}@supports (color:color-mix(in lab,red,red)){.dark\\:text-purple-400\\/70{color:color-mix(in oklab,var(--color-purple-400)70%,transparent)}}.dark\\:text-red-300{color:var(--color-red-300)}.dark\\:text-zinc-50{color:var(--color-zinc-50)}.dark\\:text-zinc-100{color:var(--color-zinc-100)}.dark\\:text-zinc-400{color:var(--color-zinc-400)}.dark\\:text-zinc-900{color:var(--color-zinc-900)}.dark\\:shadow-\\[0_0_0_1px_rgba\\(255\\,252\\,240\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#fffcf014),0px 2px 2px var(--tw-shadow-color,#0003),0px 8px 16px -4px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#ffffff05)inset,0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0003),0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:ring-zinc-800\\/50{--tw-ring-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:ring-zinc-800\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:ring-offset-zinc-950{--tw-ring-offset-color:var(--color-zinc-950)}@media(hover:hover){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}}@media(hover:hover){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:#82181acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:color-mix(in oklab,var(--color-red-900)80%,transparent)}}.dark\\:hover\\:bg-red-900\\/90:hover{background-color:#82181ae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/90:hover{background-color:color-mix(in oklab,var(--color-red-900)90%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:#fafafacc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-50)80%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:#fafafae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-50)90%,transparent)}}.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.dark\\:hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.dark\\:hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-800)80%,transparent)}}.dark\\:hover\\:text-zinc-50:hover{color:var(--color-zinc-50)}}.dark\\:focus\\:ring-zinc-300:focus,.dark\\:focus-visible\\:ring-zinc-300:focus-visible{--tw-ring-color:var(--color-zinc-300)}.dark\\:active\\:bg-zinc-800\\/70:active{background-color:#27272ab3}@supports (color:color-mix(in lab,red,red)){.dark\\:active\\:bg-zinc-800\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-800)70%,transparent)}}@media(min-width:40rem){.dark\\:sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:h-4 svg{height:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:h-5 svg{height:calc(var(--spacing)*5)}.\\[\\&_svg\\]\\:h-\\[18px\\] svg{height:18px}.\\[\\&_svg\\]\\:w-4 svg{width:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:w-5 svg{width:calc(var(--spacing)*5)}.\\[\\&_svg\\]\\:w-\\[18px\\] svg{width:18px}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=size-\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:h-1::-webkit-scrollbar{height:calc(var(--spacing)*1)}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:rounded-full::-webkit-scrollbar-thumb{border-radius:3.40282e38px}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-foreground\\/10::-webkit-scrollbar-thumb{background-color:var(--uilint-foreground)}@supports (color:color-mix(in lab,red,red)){.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-foreground\\/10::-webkit-scrollbar-thumb{background-color:color-mix(in oklab,var(--uilint-foreground)10%,transparent)}}.\\[\\&\\:\\:-webkit-scrollbar-track\\]\\:bg-transparent::-webkit-scrollbar-track{background-color:#0000}.\\[\\&\\>div\\]\\:\\!block>div{display:block!important}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-white{color:var(--color-white)}@media(prefers-color-scheme:dark){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:#09090b33}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:color-mix(in oklab,var(--color-zinc-950)20%,transparent)}}[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-zinc-950{color:var(--color-zinc-950)}}}:root{--uilint-tile-rule:oklch(65% .15 259);--uilint-tile-file:oklch(68% .14 142);--uilint-background:oklch(98.5% .002 265);--uilint-background-elevated:oklch(96.7% .003 265);--uilint-foreground:oklch(14.1% .005 265);--uilint-surface:oklch(98.5% .002 265);--uilint-surface-elevated:oklch(96.7% .003 265);--uilint-text-primary:oklch(14.1% .005 265);--uilint-text-secondary:oklch(37% .013 265);--uilint-text-muted:oklch(55.2% .016 265);--uilint-text-disabled:oklch(70.5% .015 265);--uilint-hover:oklch(55.2% .016 265/.12);--uilint-active:oklch(44.2% .017 265/.16);--uilint-border:oklch(92% .004 265);--uilint-border-focus:oklch(55.2% .016 265);--uilint-accent:oklch(44.2% .017 265);--uilint-accent-foreground:oklch(98.5% .002 265);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(82% .165 80);--uilint-warning-bg:oklch(82% .165 80/.15);--uilint-error:oklch(72% .17 25);--uilint-error-bg:oklch(72% .17 25/.15);--uilint-info:oklch(62.3% .214 259);--uilint-info-bg:oklch(62.3% .214 259/.15);--uilint-shadow:0 4px 20px oklch(14.1% .005 265/.12);--uilint-shadow-lg:0 8px 32px oklch(14.1% .005 265/.18);--uilint-backdrop:oklch(98.5% .002 265/.92);--uilint-glass:oklch(99% .002 265/.7);--uilint-glass-border:oklch(100% .002 265/.25);--uilint-glass-highlight:oklch(100% 0 0/.4);--uilint-glass-blur-light:8px;--uilint-glass-blur-medium:16px;--uilint-glass-blur-heavy:24px;--uilint-glass-light:oklch(99% .002 265/.5);--uilint-glass-medium:oklch(99% .002 265/.7);--uilint-glass-heavy:oklch(99% .002 265/.85);--uilint-kbd-background:linear-gradient(180deg,oklch(100% 0 0) 0%,oklch(96.7% .003 265) 100%);--uilint-kbd-border:oklch(0% 0 0/.1);--uilint-kbd-shadow:0 1px 0 oklch(0% 0 0/.08);--uilint-kbd-text:oklch(44.2% .017 265);--uilint-badge-radius:6px;--uilint-button-radius:8px;--uilint-button-shadow:0 1px 2px oklch(0% 0 0/.05);--uilint-button-shadow-hover:0 2px 4px oklch(0% 0 0/.1);--uilint-button-default-bg:var(--uilint-accent);--uilint-button-default-text:var(--uilint-accent-foreground);--uilint-button-default-border:transparent;--uilint-button-secondary-bg:oklch(96.7% .003 265);--uilint-button-secondary-text:var(--uilint-text-primary);--uilint-button-secondary-border:var(--uilint-border);--uilint-button-ghost-bg:transparent;--uilint-button-ghost-text:var(--uilint-text-secondary);--uilint-button-ghost-border:transparent;--uilint-button-destructive-bg:var(--uilint-error);--uilint-button-destructive-text:oklch(100% 0 0);--uilint-button-destructive-border:transparent;--uilint-button-outline-bg:transparent;--uilint-button-outline-text:var(--uilint-text-primary);--uilint-button-outline-border:var(--uilint-border);--uilint-button-glass-bg:var(--uilint-glass-medium);--uilint-button-glass-text:var(--uilint-text-primary);--uilint-button-glass-border:var(--uilint-glass-border);--uilint-input-bg:oklch(100% 0 0/.6);--uilint-input-border:var(--uilint-border);--uilint-input-border-focus:var(--uilint-border-focus);--uilint-input-placeholder:var(--uilint-text-muted);--uilint-input-radius:8px;--uilint-input-ring:oklch(55.2% .016 265/.25);--uilint-card-bg:var(--uilint-surface);--uilint-card-border:var(--uilint-border);--uilint-card-radius:12px;--uilint-card-shadow:0 1px 3px oklch(0% 0 0/.04);--uilint-card-shadow-hover:0 4px 12px oklch(0% 0 0/.08);--uilint-card-elevated-bg:var(--uilint-surface-elevated);--uilint-card-elevated-shadow:0 4px 16px oklch(0% 0 0/.1);--uilint-card-glass-bg:var(--uilint-glass-medium);--uilint-card-glass-border:var(--uilint-glass-border);--uilint-icon-button-size:32px;--uilint-icon-button-size-sm:28px;--uilint-icon-button-size-lg:40px;--uilint-icon-button-radius:8px;--uilint-scrollbar-track:oklch(92% .004 265);--uilint-scrollbar-thumb:oklch(70.5% .015 265);--uilint-scrollbar-thumb-hover:oklch(55.2% .016 265);--uilint-radius:12px;--uilint-radius-sm:8px;--uilint-radius-lg:16px;--uilint-transition-fast:.1s ease;--uilint-transition-normal:.15s ease;--uilint-transition-slow:.25s ease;color-scheme:light}.dev-tool-root{color-scheme:light}.dark,.dark .dev-tool-root,.dev-tool-root.dark,.dev-tool-root[data-theme=dark]{--uilint-background:oklch(14.1% .005 265);--uilint-background-elevated:oklch(21% .006 265);--uilint-foreground:oklch(98.5% .002 265);--uilint-surface:oklch(14.1% .005 265);--uilint-surface-elevated:oklch(21% .006 265);--uilint-text-primary:oklch(98.5% .002 265);--uilint-text-secondary:oklch(87% .006 265);--uilint-text-muted:oklch(70.5% .015 265);--uilint-text-disabled:oklch(44.2% .017 265);--uilint-hover:oklch(70.5% .015 265/.12);--uilint-active:oklch(70.5% .015 265/.18);--uilint-border:oklch(98.5% .002 265/.12);--uilint-border-focus:oklch(70.5% .015 265);--uilint-accent:oklch(70.5% .015 265);--uilint-accent-foreground:oklch(14.1% .005 265);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(82% .165 80);--uilint-warning-bg:oklch(82% .165 80/.2);--uilint-error:oklch(72% .17 25);--uilint-error-bg:oklch(72% .17 25/.2);--uilint-info:oklch(62.3% .214 259);--uilint-info-bg:oklch(62.3% .214 259/.2);--uilint-shadow:0 4px 20px oklch(0% 0 0/.4);--uilint-shadow-lg:0 8px 32px oklch(0% 0 0/.5);--uilint-backdrop:oklch(14.1% .005 265/.92);--uilint-glass:oklch(21% .006 265/.7);--uilint-glass-border:oklch(100% .002 265/.12);--uilint-glass-highlight:oklch(100% 0 0/.1);--uilint-glass-light:oklch(23% .006 265/.5);--uilint-glass-medium:oklch(21% .006 265/.7);--uilint-glass-heavy:oklch(18% .005 265/.85);--uilint-kbd-background:linear-gradient(180deg,oklch(27.4% .006 265) 0%,oklch(21% .006 265) 100%);--uilint-kbd-border:oklch(100% 0 0/.1);--uilint-kbd-shadow:0 1px 0 oklch(0% 0 0/.2);--uilint-kbd-text:oklch(70.5% .015 265);--uilint-button-default-bg:var(--uilint-accent);--uilint-button-default-text:var(--uilint-accent-foreground);--uilint-button-default-border:transparent;--uilint-button-secondary-bg:oklch(27.4% .006 265);--uilint-button-secondary-text:var(--uilint-text-primary);--uilint-button-secondary-border:var(--uilint-border);--uilint-button-ghost-bg:transparent;--uilint-button-ghost-text:var(--uilint-text-secondary);--uilint-button-ghost-border:transparent;--uilint-button-destructive-bg:var(--uilint-error);--uilint-button-destructive-text:oklch(100% 0 0);--uilint-button-destructive-border:transparent;--uilint-button-outline-bg:transparent;--uilint-button-outline-text:var(--uilint-text-primary);--uilint-button-outline-border:var(--uilint-border);--uilint-button-glass-bg:var(--uilint-glass-medium);--uilint-button-glass-text:var(--uilint-text-primary);--uilint-button-glass-border:var(--uilint-glass-border);--uilint-input-bg:oklch(23% .006 265/.6);--uilint-input-border:var(--uilint-border);--uilint-input-border-focus:var(--uilint-border-focus);--uilint-input-placeholder:var(--uilint-text-muted);--uilint-input-ring:oklch(70.5% .015 265/.25);--uilint-card-bg:var(--uilint-surface);--uilint-card-border:var(--uilint-border);--uilint-card-shadow:0 1px 3px oklch(0% 0 0/.2);--uilint-card-shadow-hover:0 4px 12px oklch(0% 0 0/.3);--uilint-card-elevated-bg:var(--uilint-surface-elevated);--uilint-card-elevated-shadow:0 4px 16px oklch(0% 0 0/.4);--uilint-card-glass-bg:var(--uilint-glass-medium);--uilint-card-glass-border:var(--uilint-glass-border);--uilint-scrollbar-track:oklch(21% .006 265);--uilint-scrollbar-thumb:oklch(37% .013 265);--uilint-scrollbar-thumb-hover:oklch(44.2% .017 265);color-scheme:dark}@media(prefers-color-scheme:dark){:root:not(.light) .dev-tool-root:not(.light):not([data-theme=light]),.dev-tool-root:not(.light):not([data-theme=light]){--uilint-background:oklch(14.1% .005 265);--uilint-background-elevated:oklch(21% .006 265);--uilint-foreground:oklch(98.5% .002 265);--uilint-surface:oklch(14.1% .005 265);--uilint-surface-elevated:oklch(21% .006 265);--uilint-text-primary:oklch(98.5% .002 265);--uilint-text-secondary:oklch(87% .006 265);--uilint-text-muted:oklch(70.5% .015 265);--uilint-text-disabled:oklch(44.2% .017 265);--uilint-hover:oklch(70.5% .015 265/.12);--uilint-active:oklch(70.5% .015 265/.18);--uilint-border:oklch(98.5% .002 265/.12);--uilint-border-focus:oklch(70.5% .015 265);--uilint-accent:oklch(70.5% .015 265);--uilint-accent-foreground:oklch(14.1% .005 265);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(82% .165 80);--uilint-warning-bg:oklch(82% .165 80/.2);--uilint-error:oklch(72% .17 25);--uilint-error-bg:oklch(72% .17 25/.2);--uilint-shadow:0 4px 20px oklch(0% 0 0/.4);--uilint-backdrop:oklch(14.1% .005 265/.92);--uilint-glass:oklch(21% .006 265/.7);--uilint-glass-border:oklch(100% .002 265/.12);--uilint-scrollbar-track:oklch(21% .006 265);--uilint-scrollbar-thumb:oklch(37% .013 265);--uilint-scrollbar-thumb-hover:oklch(44.2% .017 265);color-scheme:dark}}.light,.light .dev-tool-root,.dev-tool-root.light,.dev-tool-root[data-theme=light]{--uilint-background:oklch(98.5% .002 265);--uilint-background-elevated:oklch(96.7% .003 265);--uilint-foreground:oklch(14.1% .005 265);--uilint-surface:oklch(98.5% .002 265);--uilint-surface-elevated:oklch(96.7% .003 265);--uilint-text-primary:oklch(14.1% .005 265);--uilint-text-secondary:oklch(37% .013 265);--uilint-text-muted:oklch(55.2% .016 265);--uilint-text-disabled:oklch(70.5% .015 265);--uilint-hover:oklch(55.2% .016 265/.12);--uilint-active:oklch(44.2% .017 265/.16);--uilint-border:oklch(92% .004 265);--uilint-border-focus:oklch(55.2% .016 265);--uilint-accent:oklch(44.2% .017 265);--uilint-accent-foreground:oklch(98.5% .002 265);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(82% .165 80);--uilint-warning-bg:oklch(82% .165 80/.15);--uilint-error:oklch(72% .17 25);--uilint-error-bg:oklch(72% .17 25/.15);--uilint-shadow:0 4px 20px oklch(14.1% .005 265/.12);--uilint-backdrop:oklch(98.5% .002 265/.92);--uilint-glass:oklch(99% .002 265/.7);--uilint-glass-border:oklch(100% .002 265/.25);--uilint-scrollbar-track:oklch(92% .004 265);--uilint-scrollbar-thumb:oklch(70.5% .015 265);--uilint-scrollbar-thumb-hover:oklch(55.2% .016 265);color-scheme:light}@keyframes uilint-fade-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes uilint-fade-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.98)}}@keyframes uilint-pulse{0%,to{box-shadow:0 0 6px 2px var(--uilint-pulse-color,#ffa50066)}50%{box-shadow:0 0 16px 6px var(--uilint-pulse-color,#ffa50099)}}@keyframes uilint-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes uilint-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uilint-popover-appear{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}[data-ui-lint] *{scrollbar-width:thin;scrollbar-color:var(--uilint-scrollbar-thumb)var(--uilint-scrollbar-track)}[data-ui-lint] ::-webkit-scrollbar{width:8px;height:8px}[data-ui-lint] ::-webkit-scrollbar-track{background:var(--uilint-scrollbar-track);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb{background:var(--uilint-scrollbar-thumb);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb:hover{background:var(--uilint-scrollbar-thumb-hover)}@media(max-width:767px){.dev-tool-root{--uilint-radius:16px}}.safe-area-padding-top{padding-top:env(safe-area-inset-top,0px)}.safe-area-padding-bottom{padding-bottom:env(safe-area-inset-bottom,0px)}.safe-area-padding-left{padding-left:env(safe-area-inset-left,0px)}.safe-area-padding-right{padding-right:env(safe-area-inset-right,0px)}@keyframes uilint-sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes uilint-sheet-down{0%{transform:translateY(0)}to{transform:translateY(100%)}}@media(pointer:coarse){.dev-tool-root button:focus-visible,.dev-tool-root [role=button]:focus-visible{outline-offset:2px}}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`;let FS=!1;const cR="uilint-devtool-root";function dR(){return typeof window<"u"}function VL({enabled:a=!0,mode:r="websocket",manifestUrl:l}){const[c,d]=U.useState(!1),[p,g]=U.useState(FS),v=U.useRef(null),b=U.useRef(!1);return r==="static"&&!l&&Ft("[DevTool] Static mode requires manifestUrl prop"),U.useEffect(()=>{d(!0)},[]),U.useEffect(()=>{if(!dR()||!a)return;sR(uR);const S=document.querySelector(`.${cR}`);if(S){v.current=S,b.current=!1;return}const A=document.createElement("div");return A.className=cR,A.setAttribute("data-ui-lint-root","true"),document.body.appendChild(A),v.current=A,b.current=!0,()=>{b.current&&v.current?.remove(),v.current=null,b.current=!1}},[a]),U.useEffect(()=>{if(!dR()||!a||!c)return;let S=null;const A=r==="static"&&l;async function C(){if(A?(Fe("[DevTool] Configuring static mode with manifest:",l),zk(l)):Ok(),!FS){Kn.register(IS),Kn.register(HL);const M=await uL([]);for(const L of M)Kn.register(L);Fe(`[DevTool] Loaded ${M.length} external plugin(s):`,M.map(L=>L.id).join(", ")),await OD({websocket:Ho,domObserver:Lg}),FS=!0,Fe("[DevTool] Plugins initialized in",A?"static":"websocket","mode")}const k=jD();if(k&&k.getState().setConnectionStatus({mode:A?"static":"websocket",maxReconnectAttempts:Lu}),g(!0),A)Fe("[DevTool] Static mode: starting DOM observer"),Lg.start();else{const M=await p7(),L=M?`ws://localhost:${M.port}`:void 0;M&&Fe(`[DevTool] Discovered server on port ${M.port}`),Ho.connect(L),S=Ho.onConnectionChange(B=>{B?(Fe("[DevTool] WebSocket connected, starting DOM observer"),Lg.start()):(Fe("[DevTool] WebSocket disconnected, stopping DOM observer"),Lg.stop())})}}return C(),()=>{S?.(),A||Ho.disconnect(),Lg.stop()}},[a,c,r,l]),!a||!c||!p?null:E.jsx(Q9,{enabled:a})}function fR(a,r){a.setAttribute("data-position",r)}function qL(){if(typeof document>"u")return"light";const a=document.documentElement,r=document.body;if(a.classList.contains("dark")||r.classList.contains("dark"))return"dark";if(a.classList.contains("light")||r.classList.contains("light"))return"light";const l=a.getAttribute("data-theme"),c=r.getAttribute("data-theme");if(l==="dark"||c==="dark")return"dark";if(l==="light"||c==="light")return"light";const d=a.getAttribute("data-mode"),p=r.getAttribute("data-mode");return d==="dark"||p==="dark"?"dark":d==="light"||p==="light"?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function hR(a,r){a.classList.remove("light","dark"),a.removeAttribute("data-theme"),r!=="system"&&(a.classList.add(r),a.setAttribute("data-theme",r))}function YL(){if(typeof window>"u"||customElements.get("uilint-devtools"))return;class a extends HTMLElement{static get observedAttributes(){return["enabled","position","theme","mode","manifest-url"]}rootEl=null;reactRoot=null;themeObserver=null;mediaQueryListener=null;connectedCallback(){sR(uR);const l=document.createElement("div");l.className="dev-tool-root",l.setAttribute("data-ui-lint-root","true"),document.body.appendChild(l),this.rootEl=l,fR(l,this.getPosition()),this.syncTheme(),this.setupThemeObserver(),this.reactRoot=B3.createRoot(l),this.render()}disconnectedCallback(){this.reactRoot?.unmount(),this.reactRoot=null,this.rootEl?.remove(),this.rootEl=null,this.themeObserver?.disconnect(),this.themeObserver=null,this.mediaQueryListener&&(window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.mediaQueryListener),this.mediaQueryListener=null)}attributeChangedCallback(){this.rootEl&&(fR(this.rootEl,this.getPosition()),this.syncTheme(),this.render())}getEnabled(){const l=this.getAttribute("enabled");return l==null?!0:l!=="false"}getPosition(){const l=this.getAttribute("position");switch(l){case"bottom-right":case"top-left":case"top-right":case"bottom-left":case"top-center":case"bottom-center":return l;default:return"top-center"}}getTheme(){const l=this.getAttribute("theme");switch(l){case"light":case"dark":return l;default:return"system"}}getMode(){return this.getAttribute("mode")==="static"?"static":"websocket"}getManifestUrl(){return this.getAttribute("manifest-url")??void 0}syncTheme(){if(!this.rootEl)return;const l=this.getTheme();if(l==="system"){const c=qL();hR(this.rootEl,c)}else hR(this.rootEl,l)}setupThemeObserver(){this.themeObserver=new MutationObserver(()=>{this.getTheme()==="system"&&this.syncTheme()});const l={attributes:!0,attributeFilter:["class","data-theme","data-mode"]};this.themeObserver.observe(document.documentElement,l),this.themeObserver.observe(document.body,l);const c=window.matchMedia("(prefers-color-scheme: dark)");this.mediaQueryListener=()=>{this.getTheme()==="system"&&this.syncTheme()},c.addEventListener("change",this.mediaQueryListener)}render(){this.reactRoot&&this.reactRoot.render(E.jsx(VL,{enabled:this.getEnabled(),mode:this.getMode(),manifestUrl:this.getManifestUrl()}))}}customElements.define("uilint-devtools",a)}YL();function PS(a,r){const l=r.split(".");let c=a;for(const d of l){if(c==null)return;if(typeof c=="object")c=c[d];else return}return c}function La(a,r){const l=a.binding;let c=PS(r.data,l);return c===void 0&&(c=PS(r.state,l)),c===void 0&&(c=PS(r.computed,l)),c}function GL(a,r){const l=a.expression,c={...r.data,...r.state,...r.computed};try{const d=Object.keys(c),p=Object.values(c);return new Function(...d,`return (${l});`)(...p)}catch(d){console.warn(`[SchemaRenderer] Failed to evaluate expression: ${l}`,d);return}}function fs(a,r){return Hy(a)?La(a,r):a}function XL(a,r){return La(a.condition,r)?a.true:a.false}function pR(a,r){return XE(a)?XL(a,r):Hy(a)?La(a,r):a}function KS(a,r){return GE(a)?!!GL(a,r):!!La(a,r)}function JS(a,r,l){const c={...a};if(r)for(const[d,p]of Object.entries(r))c[d]=La({binding:p},l);return c}function $L({section:a,ctx:r}){const l=fs(a.text,r),c=fs(a.subtitle,r),d=a.icon?Uu(a.icon):null;return E.jsxs("div",{className:be("flex items-start gap-2 mb-3",a.sticky&&"sticky top-0 bg-surface py-2 z-10"),children:[d&&E.jsx("span",{className:"text-muted-foreground shrink-0 mt-0.5",children:E.jsx(d,{size:16})}),E.jsxs("div",{children:[E.jsx("h3",{className:"m-0 text-sm font-semibold text-text-primary",children:String(l??"")}),c&&E.jsx("p",{className:"mt-1 mb-0 text-xs text-muted-foreground",children:String(c)})]})]})}function QL({code:a,startLine:r=1,highlightLines:l,maxHeight:c}){const d=a.split(`
258
+ `),p=new Set(l||[]);return E.jsx("div",{className:"font-mono text-xs bg-surface rounded border border-border overflow-auto",style:{maxHeight:c||200},children:d.map((g,v)=>{const b=r+v,S=p.has(b);return E.jsxs("div",{className:`flex ${S?"bg-accent/15":"bg-transparent"}`,children:[E.jsx("span",{className:"w-12 pr-2 text-right text-muted-foreground select-none shrink-0 border-r border-border",children:b}),E.jsx("pre",{className:"m-0 px-2 whitespace-pre-wrap break-all flex-1",children:g||" "})]},v)})})}function WS({section:a,ctx:r,onAction:l,onFetch:c}){const[d,p]=nn.useState(null),[g,v]=nn.useState(!1),b=a.code;nn.useEffect(()=>{if(Hy(b)){const M=La(b,r);p(typeof M=="string"?M:null)}else if("fetch"in b&&c){v(!0);const M=b.fetch,L={};M.params.filePath&&(L.filePath=La(M.params.filePath,r)),M.params.line&&(L.line=La(M.params.line,r)),M.params.contextAbove!==void 0&&(L.contextAbove=M.params.contextAbove),M.params.contextBelow!==void 0&&(L.contextBelow=M.params.contextBelow),c(M.type,L).then(B=>{p(typeof B=="string"?B:JSON.stringify(B,null,2))}).catch(B=>{console.error("[CodeViewerSection] Fetch failed:",B),p(`// Error loading code: ${B.message}`)}).finally(()=>{v(!1)})}},[b,r,c]);const S=fs(a.startLine,r),A=a.highlightLines?La(a.highlightLines,r):void 0,C=a.icon?Uu(a.icon):null,k=a.onNavigate?()=>{const M=JS(a.onNavigate.payload,a.onNavigate.payloadBindings,r);l(a.onNavigate.type,M)}:void 0;return E.jsxs("div",{className:"mb-3",children:[a.label&&E.jsxs("div",{className:"flex items-center justify-between mb-2",children:[E.jsxs("div",{className:"flex items-center gap-1.5",children:[C&&E.jsx("span",{className:"text-muted-foreground",children:E.jsx(C,{size:14})}),E.jsx("span",{className:"text-xs font-medium text-text-secondary",children:a.label})]}),k&&E.jsx("button",{onClick:k,className:"bg-transparent border-none p-1 cursor-pointer text-accent text-xs",children:"Open in editor"})]}),g?E.jsx("div",{className:"p-4 text-center text-muted-foreground text-xs bg-surface rounded border border-border",children:"Loading code..."}):d?E.jsx(QL,{code:d,startLine:typeof S=="number"?S:1,highlightLines:A,maxHeight:a.maxHeight}):E.jsx("div",{className:"p-4 text-center text-muted-foreground text-xs bg-surface rounded border border-border",children:"No code available"})]})}function IL({section:a,ctx:r,onAction:l,onFetch:c}){const p=a.mode==="stacked"?{display:"flex",flexDirection:"column",gap:"1rem",marginBottom:"0.75rem"}:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1rem",marginBottom:"0.75rem"},g={type:"code-viewer",label:a.source.label,icon:a.source.icon,code:a.source.code,location:a.source.location,diffHighlighting:a.computeDiff,maxHeight:a.maxHeight},v={type:"code-viewer",label:a.target.label,icon:a.target.icon,code:a.target.code,location:a.target.location,diffHighlighting:a.computeDiff,maxHeight:a.maxHeight};return E.jsxs("div",{style:p,children:[E.jsx(WS,{section:g,ctx:r,onAction:l,onFetch:c}),E.jsx(WS,{section:v,ctx:r,onAction:l,onFetch:c})]})}function ZL(a){return a>=85?"error":a>=70?"warning":"info"}function FL(a){return a>=90?"Very High":a>=75?"High":a>=60?"Moderate":"Low"}function PL({section:a,ctx:r}){const l=La(a.value,r),c=be("mb-3",a.centered&&"flex justify-center");switch(a.variant){case"similarity":{const p=Math.round((typeof l=="number"?l:0)*100),g=ZL(p),v=FL(p);return E.jsx("div",{className:c,children:E.jsxs(vl,{variant:g,children:[p,"% Match - ",v]})})}case"severity":{const d=String(l||"info"),g={error:"error",warning:"warning",info:"info",success:"success"}[d]||"info";return E.jsx("div",{className:c,children:E.jsxs(vl,{variant:g,children:[a.label?`${a.label}: `:"",d]})})}case"status":{const d=String(l||"unknown"),g={ready:"success",indexing:"info",error:"error",idle:"info",loading:"info"}[d]||"info";return E.jsx("div",{className:c,children:E.jsxs(vl,{variant:g,children:[a.label?`${a.label}: `:"",d]})})}case"category":{const d=String(l||"");return E.jsx("div",{className:c,children:E.jsx(j8,{children:d})})}case"count":{const d=typeof l=="number"?l:0;return E.jsxs("div",{className:c,children:[a.label&&E.jsxs("span",{className:"mr-2 text-xs text-muted-foreground",children:[a.label,":"]}),E.jsx(N8,{count:d})]})}default:return null}}function KL(a){const r={marginBottom:"0.5rem",lineHeight:1.5};switch(a){case"caption":return{...r,fontSize:"0.75rem",color:"var(--uilint-text-muted)"};case"muted":return{...r,fontSize:"0.875rem",color:"var(--uilint-text-muted)"};case"error":return{...r,fontSize:"0.875rem",color:"var(--uilint-error)"};case"success":return{...r,fontSize:"0.875rem",color:"var(--uilint-success)"};default:return{...r,fontSize:"0.875rem",color:"var(--uilint-text-primary)"}}}function JL({section:a,ctx:r}){const l=fs(a.content,r);if(l==null)return null;const c=KL(a.variant);return E.jsx("p",{style:c,children:String(l)})}function WL(a){switch(a){case"primary":return"default";case"secondary":return"outline";case"ghost":return"ghost";case"danger":return"destructive";default:return"default"}}function eU({button:a,ctx:r,onAction:l}){if(a.visible&&!!!La(a.visible,r))return null;const c=a.disabled?!!La(a.disabled,r):!1;let d;XE(a.label),d=String(pR(a.label,r)??"");const p=a.icon?Uu(a.icon):null,g=()=>{const v=JS(a.action.payload,a.action.payloadBindings,r);l(a.action.type,v)};return E.jsxs(rk,{variant:WL(a.variant),size:"sm",disabled:c,onClick:g,children:[p&&E.jsx(p,{size:14,style:{marginRight:"0.25rem"}}),d]})}function tU({section:a,ctx:r,onAction:l}){const c=a.direction!=="column";return E.jsx("div",{style:{display:"flex",flexDirection:c?"row":"column",gap:"0.5rem",marginBottom:"0.75rem",...c&&{flexWrap:"wrap"}},children:a.actions.map(d=>E.jsx(eU,{button:d,ctx:r,onAction:l},d.id))})}function nU(a){switch(a){case"small":return"0.5rem 0";case"large":return"1.5rem 0";default:return"1rem 0"}}function aU({section:a}){const r=nU(a.spacing);return E.jsx("hr",{style:{margin:r,border:"none",borderTop:"1px solid var(--uilint-border)"}})}function iU({section:a,ctx:r,renderSection:l}){const d=KS(a.condition,r)?a.then:a.else;return!d||d.length===0?null:E.jsx(E.Fragment,{children:d.map((p,g)=>E.jsx(nn.Fragment,{children:l(p,g)},g))})}function oU({section:a,ctx:r,renderSection:l}){const c=La(a.items,r);return!Array.isArray(c)||c.length===0?a.emptyMessage?E.jsx("div",{className:"p-4 text-center text-muted-foreground text-sm",children:a.emptyMessage}):null:E.jsx("div",{className:"mb-3",children:c.map((d,p)=>{const g={...r,data:{...r.data,item:d,itemIndex:p}};return E.jsx("div",{className:"mb-2",children:a.itemLayout.map((v,b)=>l(v,b,g))},p)})})}function rU({section:a,ctx:r}){const l=La(a.src,r),c=a.highlightRegion?La(a.highlightRegion,r):void 0;return!l||typeof l!="string"?null:E.jsxs("div",{className:"relative mb-3 overflow-hidden",style:{maxHeight:a.maxHeight},children:[E.jsx("img",{src:l,alt:a.alt||"Image",className:"w-full h-auto object-contain rounded border border-border",style:{maxHeight:a.maxHeight}}),c&&E.jsx("div",{className:"absolute border-2 border-accent rounded bg-accent/10 pointer-events-none",style:{left:`${c.x}px`,top:`${c.y}px`,width:`${c.width}px`,height:`${c.height}px`}})]})}function lU({section:a,ctx:r,onAction:l}){const c=fs(a.title,r),d=fs(a.subtitle,r),p=a.thumbnail?La(a.thumbnail,r):void 0,g=a.badge?La(a.badge.value,r):void 0,v=a.onClick?()=>{const b=JS(a.onClick.payload,a.onClick.payloadBindings,r);l(a.onClick.type,b)}:void 0;return E.jsx(jS,{className:be("mb-2",v&&"cursor-pointer"),onClick:v,role:v?"button":void 0,tabIndex:v?0:void 0,children:E.jsxs("div",{className:"flex items-start gap-3",children:[typeof p=="string"&&p&&E.jsx("img",{src:p,alt:"",className:"w-12 h-12 rounded object-cover shrink-0"}),E.jsx("div",{className:"flex-1 min-w-0",children:E.jsxs(sk,{className:"px-3 pt-3 pb-0",children:[E.jsxs("div",{className:"flex justify-between items-start",children:[E.jsx(uk,{className:"text-sm mb-0",children:String(c??"")}),a.badge&&g!==void 0&&E.jsxs(vl,{variant:a.badge.variant==="severity"?"warning":"info",children:[a.badge.label?`${a.badge.label}: `:"",String(g)]})]}),d&&E.jsx(ck,{className:"text-xs mt-1",children:String(d)})]})})]})})}function sU({section:a,ctx:r}){const l=fs(a.value,r),c=fs(a.label,r),d=typeof l=="number"?Math.min(100,Math.max(0,l)):0;return E.jsxs("div",{className:"mb-3",children:[c&&E.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:String(c)}),E.jsx("div",{className:"h-1.5 bg-surface rounded-sm overflow-hidden",children:a.indeterminate?E.jsx("div",{className:"h-full w-[30%] bg-accent rounded-sm",style:{animation:"progress-indeterminate 1.5s infinite linear"}}):E.jsx("div",{className:"h-full bg-accent rounded-sm transition-[width] duration-300 ease-in-out",style:{width:`${d}%`}})}),!a.indeterminate&&typeof l=="number"&&E.jsxs("div",{className:"text-xs text-muted-foreground mt-1 text-right",children:[d,"%"]})]})}function uU({panel:a,data:r,state:l,computed:c={},onAction:d,onFetch:p}){const g={data:r,state:l,computed:c};if(a.loading&&KS(a.loading.when,g))return E.jsxs("div",{className:"p-8 text-center text-muted-foreground",children:[E.jsx("div",{className:"mb-2 animate-spin",children:E.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:E.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2",strokeDasharray:"31.4",strokeLinecap:"round"})})}),E.jsx("div",{className:"text-sm",children:a.loading.message||"Loading..."}),a.loading.submessage&&E.jsx("div",{className:"text-xs mt-1",children:a.loading.submessage})]});if(a.empty&&KS(a.empty.when,g)){const A=a.empty.icon?Uu(a.empty.icon):null;return E.jsxs("div",{className:"p-8 text-center text-muted-foreground",children:[A&&E.jsx("div",{className:"mb-2",children:E.jsx(A,{size:32,strokeWidth:1.5})}),E.jsx("div",{className:"text-sm",children:a.empty.message}),a.empty.submessage&&E.jsx("div",{className:"text-xs mt-1",children:a.empty.submessage})]})}const v=(S,A,C)=>{const k=C||g,M=`section-${A}`;switch(S.type){case"header":return E.jsx($L,{section:S,ctx:k},M);case"code-viewer":return E.jsx(WS,{section:S,ctx:k,onAction:d,onFetch:p},M);case"code-comparison":return E.jsx(IL,{section:S,ctx:k,onAction:d,onFetch:p},M);case"badge":return E.jsx(PL,{section:S,ctx:k},M);case"text":return E.jsx(JL,{section:S,ctx:k},M);case"actions":return E.jsx(tU,{section:S,ctx:k,onAction:d},M);case"divider":return E.jsx(aU,{section:S},M);case"conditional":return E.jsx(iU,{section:S,ctx:k,renderSection:v},M);case"list":return E.jsx(oU,{section:S,ctx:k,renderSection:v},M);case"image":return E.jsx(rU,{section:S,ctx:k},M);case"card":return E.jsx(lU,{section:S,ctx:k,onAction:d},M);case"progress":return E.jsx(sU,{section:S,ctx:k},M);default:return console.warn(`[SchemaPanel] Unknown section type: ${S.type}`),null}},b=fs(a.title,g);return E.jsxs("div",{className:"p-4",children:[b&&E.jsx("h2",{className:"m-0 mb-4 text-base font-semibold text-text-primary",children:String(b)}),a.layout.map((S,A)=>v(S,A))]})}const cU=Object.freeze(Object.defineProperty({__proto__:null,SchemaPanel:uU},Symbol.toStringTag,{value:"Module"}))})();
259
259
  //# sourceMappingURL=devtools.js.map