@moontra/moonui 6.13.0 → 6.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ import{a as $z,b as au,c as R,d as oo,e as Ny,f as zm,g as M,h as N}from"./chunk
8
8
  `+n[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{qy=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?Dd(e):""}function c4(e){switch(e.tag){case 5:return Dd(e.type);case 16:return Dd("Lazy");case 13:return Dd("Suspense");case 19:return Dd("SuspenseList");case 0:case 2:case 15:return e=$y(e.type,!1),e;case 11:return e=$y(e.type.render,!1),e;case 1:return e=$y(e.type,!0),e;default:return""}}function vC(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case cu:return"Fragment";case uu:return"Portal";case mC:return"Profiler";case lw:return"StrictMode";case gC:return"Suspense";case hC:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qL:return(e.displayName||"Context")+".Consumer";case jL:return(e._context.displayName||"Context")+".Provider";case uw:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case cw:return t=e.displayName||null,t!==null?t:vC(e.type)||"Memo";case Ri:t=e._payload,e=e._init;try{return vC(e(t))}catch{}}return null}function d4(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return vC(t);case 8:return t===lw?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Vi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function KL(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function f4(e){var t=KL(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var n=o.get,a=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){r=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Zm(e){e._valueTracker||(e._valueTracker=f4(e))}function XL(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=KL(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function Pg(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function xC(e,t){var o=t.checked;return mt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function UP(e,t){var o=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;o=Vi(t.value!=null?t.value:o),e._wrapperState={initialChecked:r,initialValue:o,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function YL(e,t){t=t.checked,t!=null&&sw(e,"checked",t,!1)}function yC(e,t){YL(e,t);var o=Vi(t.value),r=t.type;if(o!=null)r==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?CC(e,t.type,o):t.hasOwnProperty("defaultValue")&&CC(e,t.type,Vi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function zP(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function CC(e,t,o){(t!=="number"||Pg(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Nd=Array.isArray;function wu(e,t,o,r){if(e=e.options,t){t={};for(var n=0;n<o.length;n++)t["$"+o[n]]=!0;for(o=0;o<e.length;o++)n=t.hasOwnProperty("$"+e[o].value),e[o].selected!==n&&(e[o].selected=n),n&&r&&(e[o].defaultSelected=!0)}else{for(o=""+Vi(o),t=null,n=0;n<e.length;n++){if(e[n].value===o){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function wC(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(q(91));return mt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function GP(e,t){var o=t.value;if(o==null){if(o=t.children,t=t.defaultValue,o!=null){if(t!=null)throw Error(q(92));if(Nd(o)){if(1<o.length)throw Error(q(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:Vi(o)}}function QL(e,t){var o=Vi(t.value),r=Vi(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),r!=null&&(e.defaultValue=""+r)}function WP(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ZL(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function SC(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ZL(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Jm,JL=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,r,n){MSApp.execUnsafeLocalFunction(function(){return e(t,o,r,n)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Jm=Jm||document.createElement("div"),Jm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Jm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $d(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var _d={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},p4=["Webkit","ms","Moz","O"];Object.keys(_d).forEach(function(e){p4.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_d[t]=_d[e]})});function eT(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||_d.hasOwnProperty(e)&&_d[e]?(""+t).trim():t+"px"}function tT(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var r=o.indexOf("--")===0,n=eT(o,t[o],r);o==="float"&&(o="cssFloat"),r?e.setProperty(o,n):e[o]=n}}var m4=mt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function bC(e,t){if(t){if(m4[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(q(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(q(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(q(61))}if(t.style!=null&&typeof t.style!="object")throw Error(q(62))}}function RC(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var IC=null;function dw(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var PC=null,Su=null,bu=null;function jP(e){if(e=ff(e)){if(typeof PC!="function")throw Error(q(280));var t=e.stateNode;t&&(t=eh(t),PC(e.stateNode,e.type,t))}}function oT(e){Su?bu?bu.push(e):bu=[e]:Su=e}function rT(){if(Su){var e=Su,t=bu;if(bu=Su=null,jP(e),t)for(e=0;e<t.length;e++)jP(t[e])}}function nT(e,t){return e(t)}function aT(){}var Ky=!1;function iT(e,t,o){if(Ky)return e(t,o);Ky=!0;try{return nT(e,t,o)}finally{Ky=!1,(Su!==null||bu!==null)&&(aT(),rT())}}function Kd(e,t){var o=e.stateNode;if(o===null)return null;var r=eh(o);if(r===null)return null;o=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(q(231,t,typeof o));return o}var LC=!1;if(Ea)try{su={},Object.defineProperty(su,"passive",{get:function(){LC=!0}}),window.addEventListener("test",su,su),window.removeEventListener("test",su,su)}catch{LC=!1}var su;function g4(e,t,o,r,n,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(o,u)}catch(c){this.onError(c)}}var Vd=!1,Lg=null,Tg=!1,TC=null,h4={onError:function(e){Vd=!0,Lg=e}};function v4(e,t,o,r,n,a,i,s,l){Vd=!1,Lg=null,g4.apply(h4,arguments)}function x4(e,t,o,r,n,a,i,s,l){if(v4.apply(this,arguments),Vd){if(Vd){var u=Lg;Vd=!1,Lg=null}else throw Error(q(198));Tg||(Tg=!0,TC=u)}}function tl(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function sT(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function qP(e){if(tl(e)!==e)throw Error(q(188))}function y4(e){var t=e.alternate;if(!t){if(t=tl(e),t===null)throw Error(q(188));return t!==e?null:e}for(var o=e,r=t;;){var n=o.return;if(n===null)break;var a=n.alternate;if(a===null){if(r=n.return,r!==null){o=r;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===o)return qP(n),e;if(a===r)return qP(n),t;a=a.sibling}throw Error(q(188))}if(o.return!==r.return)o=n,r=a;else{for(var i=!1,s=n.child;s;){if(s===o){i=!0,o=n,r=a;break}if(s===r){i=!0,r=n,o=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===o){i=!0,o=a,r=n;break}if(s===r){i=!0,r=a,o=n;break}s=s.sibling}if(!i)throw Error(q(189))}}if(o.alternate!==r)throw Error(q(190))}if(o.tag!==3)throw Error(q(188));return o.stateNode.current===o?e:t}function lT(e){return e=y4(e),e!==null?uT(e):null}function uT(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=uT(e);if(t!==null)return t;e=e.sibling}return null}var cT=mr.unstable_scheduleCallback,$P=mr.unstable_cancelCallback,C4=mr.unstable_shouldYield,w4=mr.unstable_requestPaint,Rt=mr.unstable_now,S4=mr.unstable_getCurrentPriorityLevel,fw=mr.unstable_ImmediatePriority,dT=mr.unstable_UserBlockingPriority,kg=mr.unstable_NormalPriority,b4=mr.unstable_LowPriority,fT=mr.unstable_IdlePriority,Yg=null,ra=null;function R4(e){if(ra&&typeof ra.onCommitFiberRoot=="function")try{ra.onCommitFiberRoot(Yg,e,void 0,(e.current.flags&128)===128)}catch{}}var yn=Math.clz32?Math.clz32:L4,I4=Math.log,P4=Math.LN2;function L4(e){return e>>>=0,e===0?32:31-(I4(e)/P4|0)|0}var eg=64,tg=4194304;function Od(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Mg(e,t){var o=e.pendingLanes;if(o===0)return 0;var r=0,n=e.suspendedLanes,a=e.pingedLanes,i=o&268435455;if(i!==0){var s=i&~n;s!==0?r=Od(s):(a&=i,a!==0&&(r=Od(a)))}else i=o&~n,i!==0?r=Od(i):a!==0&&(r=Od(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&n)&&(n=r&-r,a=t&-t,n>=a||n===16&&(a&4194240)!==0))return t;if(r&4&&(r|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)o=31-yn(t),n=1<<o,r|=e[o],t&=~n;return r}function T4(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function k4(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-yn(a),s=1<<i,l=n[i];l===-1?(!(s&o)||s&r)&&(n[i]=T4(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function kC(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function pT(){var e=eg;return eg<<=1,!(eg&4194240)&&(eg=64),e}function Xy(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function cf(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yn(t),e[t]=o}function M4(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<o;){var n=31-yn(o),a=1<<n;t[n]=0,r[n]=-1,e[n]=-1,o&=~a}}function pw(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-yn(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}var Ge=0;function mT(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var gT,mw,hT,vT,xT,MC=!1,og=[],Mi=null,Ei=null,Ai=null,Xd=new Map,Yd=new Map,Pi=[],E4="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function KP(e,t){switch(e){case"focusin":case"focusout":Mi=null;break;case"dragenter":case"dragleave":Ei=null;break;case"mouseover":case"mouseout":Ai=null;break;case"pointerover":case"pointerout":Xd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yd.delete(t.pointerId)}}function Pd(e,t,o,r,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:o,eventSystemFlags:r,nativeEvent:a,targetContainers:[n]},t!==null&&(t=ff(t),t!==null&&mw(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function A4(e,t,o,r,n){switch(t){case"focusin":return Mi=Pd(Mi,e,t,o,r,n),!0;case"dragenter":return Ei=Pd(Ei,e,t,o,r,n),!0;case"mouseover":return Ai=Pd(Ai,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return Xd.set(a,Pd(Xd.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Yd.set(a,Pd(Yd.get(a)||null,e,t,o,r,n)),!0}return!1}function yT(e){var t=Ws(e.target);if(t!==null){var o=tl(t);if(o!==null){if(t=o.tag,t===13){if(t=sT(o),t!==null){e.blockedOn=t,xT(e.priority,function(){hT(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function hg(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=EC(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);IC=r,o.target.dispatchEvent(r),IC=null}else return t=ff(o),t!==null&&mw(t),e.blockedOn=o,!1;t.shift()}return!0}function XP(e,t,o){hg(e)&&o.delete(t)}function D4(){MC=!1,Mi!==null&&hg(Mi)&&(Mi=null),Ei!==null&&hg(Ei)&&(Ei=null),Ai!==null&&hg(Ai)&&(Ai=null),Xd.forEach(XP),Yd.forEach(XP)}function Ld(e,t){e.blockedOn===t&&(e.blockedOn=null,MC||(MC=!0,mr.unstable_scheduleCallback(mr.unstable_NormalPriority,D4)))}function Qd(e){function t(n){return Ld(n,e)}if(0<og.length){Ld(og[0],e);for(var o=1;o<og.length;o++){var r=og[o];r.blockedOn===e&&(r.blockedOn=null)}}for(Mi!==null&&Ld(Mi,e),Ei!==null&&Ld(Ei,e),Ai!==null&&Ld(Ai,e),Xd.forEach(t),Yd.forEach(t),o=0;o<Pi.length;o++)r=Pi[o],r.blockedOn===e&&(r.blockedOn=null);for(;0<Pi.length&&(o=Pi[0],o.blockedOn===null);)yT(o),o.blockedOn===null&&Pi.shift()}var Ru=Oa.ReactCurrentBatchConfig,Eg=!0;function N4(e,t,o,r){var n=Ge,a=Ru.transition;Ru.transition=null;try{Ge=1,gw(e,t,o,r)}finally{Ge=n,Ru.transition=a}}function O4(e,t,o,r){var n=Ge,a=Ru.transition;Ru.transition=null;try{Ge=4,gw(e,t,o,r)}finally{Ge=n,Ru.transition=a}}function gw(e,t,o,r){if(Eg){var n=EC(e,t,o,r);if(n===null)oC(e,t,r,Ag,o),KP(e,r);else if(A4(n,e,t,o,r))r.stopPropagation();else if(KP(e,r),t&4&&-1<E4.indexOf(e)){for(;n!==null;){var a=ff(n);if(a!==null&&gT(a),a=EC(e,t,o,r),a===null&&oC(e,t,r,Ag,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else oC(e,t,r,null,o)}}var Ag=null;function EC(e,t,o,r){if(Ag=null,e=dw(r),e=Ws(e),e!==null)if(t=tl(e),t===null)e=null;else if(o=t.tag,o===13){if(e=sT(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ag=e,null}function CT(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(S4()){case fw:return 1;case dT:return 4;case kg:case b4:return 16;case fT:return 536870912;default:return 16}default:return 16}}var Ti=null,hw=null,vg=null;function wT(){if(vg)return vg;var e,t=hw,o=t.length,r,n="value"in Ti?Ti.value:Ti.textContent,a=n.length;for(e=0;e<o&&t[e]===n[e];e++);var i=o-e;for(r=1;r<=i&&t[o-r]===n[a-r];r++);return vg=n.slice(e,1<r?1-r:void 0)}function xg(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 rg(){return!0}function YP(){return!1}function gr(e){function t(o,r,n,a,i){this._reactName=o,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(o=e[s],this[s]=o?o(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?rg:YP,this.isPropagationStopped=YP,this}return mt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=rg)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=rg)},persist:function(){},isPersistent:rg}),t}var Nu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vw=gr(Nu),df=mt({},Nu,{view:0,detail:0}),F4=gr(df),Yy,Qy,Td,Qg=mt({},df,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xw,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!==Td&&(Td&&e.type==="mousemove"?(Yy=e.screenX-Td.screenX,Qy=e.screenY-Td.screenY):Qy=Yy=0,Td=e),Yy)},movementY:function(e){return"movementY"in e?e.movementY:Qy}}),QP=gr(Qg),_4=mt({},Qg,{dataTransfer:0}),V4=gr(_4),B4=mt({},df,{relatedTarget:0}),Zy=gr(B4),H4=mt({},Nu,{animationName:0,elapsedTime:0,pseudoElement:0}),U4=gr(H4),z4=mt({},Nu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),G4=gr(z4),W4=mt({},Nu,{data:0}),ZP=gr(W4),j4={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},q4={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"},$4={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function K4(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$4[e])?!!t[e]:!1}function xw(){return K4}var X4=mt({},df,{key:function(e){if(e.key){var t=j4[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xg(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?q4[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xw,charCode:function(e){return e.type==="keypress"?xg(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xg(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Y4=gr(X4),Q4=mt({},Qg,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),JP=gr(Q4),Z4=mt({},df,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xw}),J4=gr(Z4),e5=mt({},Nu,{propertyName:0,elapsedTime:0,pseudoElement:0}),t5=gr(e5),o5=mt({},Qg,{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}),r5=gr(o5),n5=[9,13,27,32],yw=Ea&&"CompositionEvent"in window,Bd=null;Ea&&"documentMode"in document&&(Bd=document.documentMode);var a5=Ea&&"TextEvent"in window&&!Bd,ST=Ea&&(!yw||Bd&&8<Bd&&11>=Bd),eL=String.fromCharCode(32),tL=!1;function bT(e,t){switch(e){case"keyup":return n5.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function RT(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var du=!1;function i5(e,t){switch(e){case"compositionend":return RT(t);case"keypress":return t.which!==32?null:(tL=!0,eL);case"textInput":return e=t.data,e===eL&&tL?null:e;default:return null}}function s5(e,t){if(du)return e==="compositionend"||!yw&&bT(e,t)?(e=wT(),vg=hw=Ti=null,du=!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 ST&&t.locale!=="ko"?null:t.data;default:return null}}var l5={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function oL(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!l5[e.type]:t==="textarea"}function IT(e,t,o,r){oT(r),t=Dg(t,"onChange"),0<t.length&&(o=new vw("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var Hd=null,Zd=null;function u5(e){FT(e,0)}function Zg(e){var t=mu(e);if(XL(t))return e}function c5(e,t){if(e==="change")return t}var PT=!1;Ea&&(Ea?(ag="oninput"in document,ag||(Jy=document.createElement("div"),Jy.setAttribute("oninput","return;"),ag=typeof Jy.oninput=="function"),ng=ag):ng=!1,PT=ng&&(!document.documentMode||9<document.documentMode));var ng,ag,Jy;function rL(){Hd&&(Hd.detachEvent("onpropertychange",LT),Zd=Hd=null)}function LT(e){if(e.propertyName==="value"&&Zg(Zd)){var t=[];IT(t,Zd,e,dw(e)),iT(u5,t)}}function d5(e,t,o){e==="focusin"?(rL(),Hd=t,Zd=o,Hd.attachEvent("onpropertychange",LT)):e==="focusout"&&rL()}function f5(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zg(Zd)}function p5(e,t){if(e==="click")return Zg(t)}function m5(e,t){if(e==="input"||e==="change")return Zg(t)}function g5(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var wn=typeof Object.is=="function"?Object.is:g5;function Jd(e,t){if(wn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;for(r=0;r<o.length;r++){var n=o[r];if(!pC.call(t,n)||!wn(e[n],t[n]))return!1}return!0}function nL(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function aL(e,t){var o=nL(e);e=0;for(var r;o;){if(o.nodeType===3){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=nL(o)}}function TT(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?TT(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kT(){for(var e=window,t=Pg();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Pg(e.document)}return t}function Cw(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 h5(e){var t=kT(),o=e.focusedElem,r=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&TT(o.ownerDocument.documentElement,o)){if(r!==null&&Cw(o)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if(e=(t=o.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var n=o.textContent.length,a=Math.min(r.start,n);r=r.end===void 0?a:Math.min(r.end,n),!e.extend&&a>r&&(n=r,r=a,a=n),n=aL(o,a);var i=aL(o,r);n&&i&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(n.node,n.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=o;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<t.length;o++)e=t[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var v5=Ea&&"documentMode"in document&&11>=document.documentMode,fu=null,AC=null,Ud=null,DC=!1;function iL(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;DC||fu==null||fu!==Pg(r)||(r=fu,"selectionStart"in r&&Cw(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ud&&Jd(Ud,r)||(Ud=r,r=Dg(AC,"onSelect"),0<r.length&&(t=new vw("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=fu)))}function ig(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var pu={animationend:ig("Animation","AnimationEnd"),animationiteration:ig("Animation","AnimationIteration"),animationstart:ig("Animation","AnimationStart"),transitionend:ig("Transition","TransitionEnd")},eC={},MT={};Ea&&(MT=document.createElement("div").style,"AnimationEvent"in window||(delete pu.animationend.animation,delete pu.animationiteration.animation,delete pu.animationstart.animation),"TransitionEvent"in window||delete pu.transitionend.transition);function Jg(e){if(eC[e])return eC[e];if(!pu[e])return e;var t=pu[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in MT)return eC[e]=t[o];return e}var ET=Jg("animationend"),AT=Jg("animationiteration"),DT=Jg("animationstart"),NT=Jg("transitionend"),OT=new Map,sL="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Hi(e,t){OT.set(e,t),el(t,[e])}for(sg=0;sg<sL.length;sg++)lg=sL[sg],lL=lg.toLowerCase(),uL=lg[0].toUpperCase()+lg.slice(1),Hi(lL,"on"+uL);var lg,lL,uL,sg;Hi(ET,"onAnimationEnd");Hi(AT,"onAnimationIteration");Hi(DT,"onAnimationStart");Hi("dblclick","onDoubleClick");Hi("focusin","onFocus");Hi("focusout","onBlur");Hi(NT,"onTransitionEnd");Lu("onMouseEnter",["mouseout","mouseover"]);Lu("onMouseLeave",["mouseout","mouseover"]);Lu("onPointerEnter",["pointerout","pointerover"]);Lu("onPointerLeave",["pointerout","pointerover"]);el("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));el("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));el("onBeforeInput",["compositionend","keypress","textInput","paste"]);el("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));el("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));el("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fd="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(" "),x5=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fd));function cL(e,t,o){var r=e.type||"unknown-event";e.currentTarget=o,x4(r,t,void 0,e),e.currentTarget=null}function FT(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var r=e[o],n=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&n.isPropagationStopped())break e;cL(n,s,u),a=l}else for(i=0;i<r.length;i++){if(s=r[i],l=s.instance,u=s.currentTarget,s=s.listener,l!==a&&n.isPropagationStopped())break e;cL(n,s,u),a=l}}}if(Tg)throw e=TC,Tg=!1,TC=null,e}function et(e,t){var o=t[VC];o===void 0&&(o=t[VC]=new Set);var r=e+"__bubble";o.has(r)||(_T(t,e,2,!1),o.add(r))}function tC(e,t,o){var r=0;t&&(r|=4),_T(o,e,r,t)}var ug="_reactListening"+Math.random().toString(36).slice(2);function ef(e){if(!e[ug]){e[ug]=!0,WL.forEach(function(o){o!=="selectionchange"&&(x5.has(o)||tC(o,!1,e),tC(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ug]||(t[ug]=!0,tC("selectionchange",!1,t))}}function _T(e,t,o,r){switch(CT(t)){case 1:var n=N4;break;case 4:n=O4;break;default:n=gw}o=n.bind(null,t,o,e),n=void 0,!LC||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(t,o,{capture:!0,passive:n}):e.addEventListener(t,o,!0):n!==void 0?e.addEventListener(t,o,{passive:n}):e.addEventListener(t,o,!1)}function oC(e,t,o,r,n){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var s=r.stateNode.containerInfo;if(s===n||s.nodeType===8&&s.parentNode===n)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===n||l.nodeType===8&&l.parentNode===n))return;i=i.return}for(;s!==null;){if(i=Ws(s),i===null)return;if(l=i.tag,l===5||l===6){r=a=i;continue e}s=s.parentNode}}r=r.return}iT(function(){var u=a,c=dw(o),d=[];e:{var f=OT.get(e);if(f!==void 0){var p=vw,g=e;switch(e){case"keypress":if(xg(o)===0)break e;case"keydown":case"keyup":p=Y4;break;case"focusin":g="focus",p=Zy;break;case"focusout":g="blur",p=Zy;break;case"beforeblur":case"afterblur":p=Zy;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=QP;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=V4;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=J4;break;case ET:case AT:case DT:p=U4;break;case NT:p=t5;break;case"scroll":p=F4;break;case"wheel":p=r5;break;case"copy":case"cut":case"paste":p=G4;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=JP}var m=(t&4)!==0,x=!m&&e==="scroll",h=m?f!==null?f+"Capture":null:f;m=[];for(var v=u,y;v!==null;){y=v;var C=y.stateNode;if(y.tag===5&&C!==null&&(y=C,h!==null&&(C=Kd(v,h),C!=null&&m.push(tf(v,C,y)))),x)break;v=v.return}0<m.length&&(f=new p(f,g,null,o,c),d.push({event:f,listeners:m}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&o!==IC&&(g=o.relatedTarget||o.fromElement)&&(Ws(g)||g[Aa]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(g=o.relatedTarget||o.toElement,p=u,g=g?Ws(g):null,g!==null&&(x=tl(g),g!==x||g.tag!==5&&g.tag!==6)&&(g=null)):(p=null,g=u),p!==g)){if(m=QP,C="onMouseLeave",h="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(m=JP,C="onPointerLeave",h="onPointerEnter",v="pointer"),x=p==null?f:mu(p),y=g==null?f:mu(g),f=new m(C,v+"leave",p,o,c),f.target=x,f.relatedTarget=y,C=null,Ws(c)===u&&(m=new m(h,v+"enter",g,o,c),m.target=y,m.relatedTarget=x,C=m),x=C,p&&g)t:{for(m=p,h=g,v=0,y=m;y;y=lu(y))v++;for(y=0,C=h;C;C=lu(C))y++;for(;0<v-y;)m=lu(m),v--;for(;0<y-v;)h=lu(h),y--;for(;v--;){if(m===h||h!==null&&m===h.alternate)break t;m=lu(m),h=lu(h)}m=null}else m=null;p!==null&&dL(d,f,p,m,!1),g!==null&&x!==null&&dL(d,x,g,m,!0)}}e:{if(f=u?mu(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var w=c5;else if(oL(f))if(PT)w=m5;else{w=f5;var b=d5}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(w=p5);if(w&&(w=w(e,u))){IT(d,w,o,c);break e}b&&b(e,f,u),e==="focusout"&&(b=f._wrapperState)&&b.controlled&&f.type==="number"&&CC(f,"number",f.value)}switch(b=u?mu(u):window,e){case"focusin":(oL(b)||b.contentEditable==="true")&&(fu=b,AC=u,Ud=null);break;case"focusout":Ud=AC=fu=null;break;case"mousedown":DC=!0;break;case"contextmenu":case"mouseup":case"dragend":DC=!1,iL(d,o,c);break;case"selectionchange":if(v5)break;case"keydown":case"keyup":iL(d,o,c)}var S;if(yw)e:{switch(e){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else du?bT(e,o)&&(I="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(I="onCompositionStart");I&&(ST&&o.locale!=="ko"&&(du||I!=="onCompositionStart"?I==="onCompositionEnd"&&du&&(S=wT()):(Ti=c,hw="value"in Ti?Ti.value:Ti.textContent,du=!0)),b=Dg(u,I),0<b.length&&(I=new ZP(I,e,null,o,c),d.push({event:I,listeners:b}),S?I.data=S:(S=RT(o),S!==null&&(I.data=S)))),(S=a5?i5(e,o):s5(e,o))&&(u=Dg(u,"onBeforeInput"),0<u.length&&(c=new ZP("onBeforeInput","beforeinput",null,o,c),d.push({event:c,listeners:u}),c.data=S))}FT(d,t)})}function tf(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Dg(e,t){for(var o=t+"Capture",r=[];e!==null;){var n=e,a=n.stateNode;n.tag===5&&a!==null&&(n=a,a=Kd(e,o),a!=null&&r.unshift(tf(e,a,n)),a=Kd(e,t),a!=null&&r.push(tf(e,a,n))),e=e.return}return r}function lu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function dL(e,t,o,r,n){for(var a=t._reactName,i=[];o!==null&&o!==r;){var s=o,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,n?(l=Kd(o,a),l!=null&&i.unshift(tf(o,l,s))):n||(l=Kd(o,a),l!=null&&i.push(tf(o,l,s)))),o=o.return}i.length!==0&&e.push({event:t,listeners:i})}var y5=/\r\n?/g,C5=/\u0000|\uFFFD/g;function fL(e){return(typeof e=="string"?e:""+e).replace(y5,`
9
9
  `).replace(C5,"")}function cg(e,t,o){if(t=fL(t),fL(e)!==t&&o)throw Error(q(425))}function Ng(){}var NC=null,OC=null;function FC(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _C=typeof setTimeout=="function"?setTimeout:void 0,w5=typeof clearTimeout=="function"?clearTimeout:void 0,pL=typeof Promise=="function"?Promise:void 0,S5=typeof queueMicrotask=="function"?queueMicrotask:typeof pL<"u"?function(e){return pL.resolve(null).then(e).catch(b5)}:_C;function b5(e){setTimeout(function(){throw e})}function rC(e,t){var o=t,r=0;do{var n=o.nextSibling;if(e.removeChild(o),n&&n.nodeType===8)if(o=n.data,o==="/$"){if(r===0){e.removeChild(n),Qd(t);return}r--}else o!=="$"&&o!=="$?"&&o!=="$!"||r++;o=n}while(o);Qd(t)}function Di(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function mL(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(t===0)return e;t--}else o==="/$"&&t++}e=e.previousSibling}return null}var Ou=Math.random().toString(36).slice(2),oa="__reactFiber$"+Ou,of="__reactProps$"+Ou,Aa="__reactContainer$"+Ou,VC="__reactEvents$"+Ou,R5="__reactListeners$"+Ou,I5="__reactHandles$"+Ou;function Ws(e){var t=e[oa];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Aa]||o[oa]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=mL(e);e!==null;){if(o=e[oa])return o;e=mL(e)}return t}e=o,o=e.parentNode}return null}function ff(e){return e=e[oa]||e[Aa],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mu(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(q(33))}function eh(e){return e[of]||null}var BC=[],gu=-1;function Ui(e){return{current:e}}function tt(e){0>gu||(e.current=BC[gu],BC[gu]=null,gu--)}function Ye(e,t){gu++,BC[gu]=e.current,e.current=t}var Bi={},xo=Ui(Bi),$o=Ui(!1),Xs=Bi;function Tu(e,t){var o=e.type.contextTypes;if(!o)return Bi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var n={},a;for(a in o)n[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n),n}function Ko(e){return e=e.childContextTypes,e!=null}function Og(){tt($o),tt(xo)}function gL(e,t,o){if(xo.current!==Bi)throw Error(q(168));Ye(xo,t),Ye($o,o)}function VT(e,t,o){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return o;r=r.getChildContext();for(var n in r)if(!(n in t))throw Error(q(108,d4(e)||"Unknown",n));return mt({},o,r)}function Fg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bi,Xs=xo.current,Ye(xo,e),Ye($o,$o.current),!0}function hL(e,t,o){var r=e.stateNode;if(!r)throw Error(q(169));o?(e=VT(e,t,Xs),r.__reactInternalMemoizedMergedChildContext=e,tt($o),tt(xo),Ye(xo,e)):tt($o),Ye($o,o)}var La=null,th=!1,nC=!1;function BT(e){La===null?La=[e]:La.push(e)}function P5(e){th=!0,BT(e)}function zi(){if(!nC&&La!==null){nC=!0;var e=0,t=Ge;try{var o=La;for(Ge=1;e<o.length;e++){var r=o[e];do r=r(!0);while(r!==null)}La=null,th=!1}catch(n){throw La!==null&&(La=La.slice(e+1)),cT(fw,zi),n}finally{Ge=t,nC=!1}}return null}var hu=[],vu=0,_g=null,Vg=0,Dr=[],Nr=0,Ys=null,Ta=1,ka="";function zs(e,t){hu[vu++]=Vg,hu[vu++]=_g,_g=e,Vg=t}function HT(e,t,o){Dr[Nr++]=Ta,Dr[Nr++]=ka,Dr[Nr++]=Ys,Ys=e;var r=Ta;e=ka;var n=32-yn(r)-1;r&=~(1<<n),o+=1;var a=32-yn(t)+n;if(30<a){var i=n-n%5;a=(r&(1<<i)-1).toString(32),r>>=i,n-=i,Ta=1<<32-yn(t)+n|o<<n|r,ka=a+e}else Ta=1<<a|o<<n|r,ka=e}function ww(e){e.return!==null&&(zs(e,1),HT(e,1,0))}function Sw(e){for(;e===_g;)_g=hu[--vu],hu[vu]=null,Vg=hu[--vu],hu[vu]=null;for(;e===Ys;)Ys=Dr[--Nr],Dr[Nr]=null,ka=Dr[--Nr],Dr[Nr]=null,Ta=Dr[--Nr],Dr[Nr]=null}var pr=null,fr=null,st=!1,xn=null;function UT(e,t){var o=Or(5,null,null,0);o.elementType="DELETED",o.stateNode=t,o.return=e,t=e.deletions,t===null?(e.deletions=[o],e.flags|=16):t.push(o)}function vL(e,t){switch(e.tag){case 5:var o=e.type;return t=t.nodeType!==1||o.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,pr=e,fr=Di(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,pr=e,fr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(o=Ys!==null?{id:Ta,overflow:ka}:null,e.memoizedState={dehydrated:t,treeContext:o,retryLane:1073741824},o=Or(18,null,null,0),o.stateNode=t,o.return=e,e.child=o,pr=e,fr=null,!0):!1;default:return!1}}function HC(e){return(e.mode&1)!==0&&(e.flags&128)===0}function UC(e){if(st){var t=fr;if(t){var o=t;if(!vL(e,t)){if(HC(e))throw Error(q(418));t=Di(o.nextSibling);var r=pr;t&&vL(e,t)?UT(r,o):(e.flags=e.flags&-4097|2,st=!1,pr=e)}}else{if(HC(e))throw Error(q(418));e.flags=e.flags&-4097|2,st=!1,pr=e}}}function xL(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;pr=e}function dg(e){if(e!==pr)return!1;if(!st)return xL(e),st=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!FC(e.type,e.memoizedProps)),t&&(t=fr)){if(HC(e))throw zT(),Error(q(418));for(;t;)UT(e,t),t=Di(t.nextSibling)}if(xL(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(q(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(t===0){fr=Di(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}fr=null}}else fr=pr?Di(e.stateNode.nextSibling):null;return!0}function zT(){for(var e=fr;e;)e=Di(e.nextSibling)}function ku(){fr=pr=null,st=!1}function bw(e){xn===null?xn=[e]:xn.push(e)}var L5=Oa.ReactCurrentBatchConfig;function kd(e,t,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(q(309));var r=o.stateNode}if(!r)throw Error(q(147,e));var n=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(i){var s=n.refs;i===null?delete s[a]:s[a]=i},t._stringRef=a,t)}if(typeof e!="string")throw Error(q(284));if(!o._owner)throw Error(q(290,e))}return e}function fg(e,t){throw e=Object.prototype.toString.call(t),Error(q(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yL(e){var t=e._init;return t(e._payload)}function GT(e){function t(h,v){if(e){var y=h.deletions;y===null?(h.deletions=[v],h.flags|=16):y.push(v)}}function o(h,v){if(!e)return null;for(;v!==null;)t(h,v),v=v.sibling;return null}function r(h,v){for(h=new Map;v!==null;)v.key!==null?h.set(v.key,v):h.set(v.index,v),v=v.sibling;return h}function n(h,v){return h=_i(h,v),h.index=0,h.sibling=null,h}function a(h,v,y){return h.index=y,e?(y=h.alternate,y!==null?(y=y.index,y<v?(h.flags|=2,v):y):(h.flags|=2,v)):(h.flags|=1048576,v)}function i(h){return e&&h.alternate===null&&(h.flags|=2),h}function s(h,v,y,C){return v===null||v.tag!==6?(v=dC(y,h.mode,C),v.return=h,v):(v=n(v,y),v.return=h,v)}function l(h,v,y,C){var w=y.type;return w===cu?c(h,v,y.props.children,C,y.key):v!==null&&(v.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Ri&&yL(w)===v.type)?(C=n(v,y.props),C.ref=kd(h,v,y),C.return=h,C):(C=Ig(y.type,y.key,y.props,null,h.mode,C),C.ref=kd(h,v,y),C.return=h,C)}function u(h,v,y,C){return v===null||v.tag!==4||v.stateNode.containerInfo!==y.containerInfo||v.stateNode.implementation!==y.implementation?(v=fC(y,h.mode,C),v.return=h,v):(v=n(v,y.children||[]),v.return=h,v)}function c(h,v,y,C,w){return v===null||v.tag!==7?(v=Ks(y,h.mode,C,w),v.return=h,v):(v=n(v,y),v.return=h,v)}function d(h,v,y){if(typeof v=="string"&&v!==""||typeof v=="number")return v=dC(""+v,h.mode,y),v.return=h,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Qm:return y=Ig(v.type,v.key,v.props,null,h.mode,y),y.ref=kd(h,null,v),y.return=h,y;case uu:return v=fC(v,h.mode,y),v.return=h,v;case Ri:var C=v._init;return d(h,C(v._payload),y)}if(Nd(v)||Id(v))return v=Ks(v,h.mode,y,null),v.return=h,v;fg(h,v)}return null}function f(h,v,y,C){var w=v!==null?v.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return w!==null?null:s(h,v,""+y,C);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Qm:return y.key===w?l(h,v,y,C):null;case uu:return y.key===w?u(h,v,y,C):null;case Ri:return w=y._init,f(h,v,w(y._payload),C)}if(Nd(y)||Id(y))return w!==null?null:c(h,v,y,C,null);fg(h,y)}return null}function p(h,v,y,C,w){if(typeof C=="string"&&C!==""||typeof C=="number")return h=h.get(y)||null,s(v,h,""+C,w);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Qm:return h=h.get(C.key===null?y:C.key)||null,l(v,h,C,w);case uu:return h=h.get(C.key===null?y:C.key)||null,u(v,h,C,w);case Ri:var b=C._init;return p(h,v,y,b(C._payload),w)}if(Nd(C)||Id(C))return h=h.get(y)||null,c(v,h,C,w,null);fg(v,C)}return null}function g(h,v,y,C){for(var w=null,b=null,S=v,I=v=0,P=null;S!==null&&I<y.length;I++){S.index>I?(P=S,S=null):P=S.sibling;var T=f(h,S,y[I],C);if(T===null){S===null&&(S=P);break}e&&S&&T.alternate===null&&t(h,S),v=a(T,v,I),b===null?w=T:b.sibling=T,b=T,S=P}if(I===y.length)return o(h,S),st&&zs(h,I),w;if(S===null){for(;I<y.length;I++)S=d(h,y[I],C),S!==null&&(v=a(S,v,I),b===null?w=S:b.sibling=S,b=S);return st&&zs(h,I),w}for(S=r(h,S);I<y.length;I++)P=p(S,h,I,y[I],C),P!==null&&(e&&P.alternate!==null&&S.delete(P.key===null?I:P.key),v=a(P,v,I),b===null?w=P:b.sibling=P,b=P);return e&&S.forEach(function(k){return t(h,k)}),st&&zs(h,I),w}function m(h,v,y,C){var w=Id(y);if(typeof w!="function")throw Error(q(150));if(y=w.call(y),y==null)throw Error(q(151));for(var b=w=null,S=v,I=v=0,P=null,T=y.next();S!==null&&!T.done;I++,T=y.next()){S.index>I?(P=S,S=null):P=S.sibling;var k=f(h,S,T.value,C);if(k===null){S===null&&(S=P);break}e&&S&&k.alternate===null&&t(h,S),v=a(k,v,I),b===null?w=k:b.sibling=k,b=k,S=P}if(T.done)return o(h,S),st&&zs(h,I),w;if(S===null){for(;!T.done;I++,T=y.next())T=d(h,T.value,C),T!==null&&(v=a(T,v,I),b===null?w=T:b.sibling=T,b=T);return st&&zs(h,I),w}for(S=r(h,S);!T.done;I++,T=y.next())T=p(S,h,I,T.value,C),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?I:T.key),v=a(T,v,I),b===null?w=T:b.sibling=T,b=T);return e&&S.forEach(function(E){return t(h,E)}),st&&zs(h,I),w}function x(h,v,y,C){if(typeof y=="object"&&y!==null&&y.type===cu&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Qm:e:{for(var w=y.key,b=v;b!==null;){if(b.key===w){if(w=y.type,w===cu){if(b.tag===7){o(h,b.sibling),v=n(b,y.props.children),v.return=h,h=v;break e}}else if(b.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Ri&&yL(w)===b.type){o(h,b.sibling),v=n(b,y.props),v.ref=kd(h,b,y),v.return=h,h=v;break e}o(h,b);break}else t(h,b);b=b.sibling}y.type===cu?(v=Ks(y.props.children,h.mode,C,y.key),v.return=h,h=v):(C=Ig(y.type,y.key,y.props,null,h.mode,C),C.ref=kd(h,v,y),C.return=h,h=C)}return i(h);case uu:e:{for(b=y.key;v!==null;){if(v.key===b)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){o(h,v.sibling),v=n(v,y.children||[]),v.return=h,h=v;break e}else{o(h,v);break}else t(h,v);v=v.sibling}v=fC(y,h.mode,C),v.return=h,h=v}return i(h);case Ri:return b=y._init,x(h,v,b(y._payload),C)}if(Nd(y))return g(h,v,y,C);if(Id(y))return m(h,v,y,C);fg(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,v!==null&&v.tag===6?(o(h,v.sibling),v=n(v,y),v.return=h,h=v):(o(h,v),v=dC(y,h.mode,C),v.return=h,h=v),i(h)):o(h,v)}return x}var Mu=GT(!0),WT=GT(!1),Bg=Ui(null),Hg=null,xu=null,Rw=null;function Iw(){Rw=xu=Hg=null}function Pw(e){var t=Bg.current;tt(Bg),e._currentValue=t}function zC(e,t,o){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===o)break;e=e.return}}function Iu(e,t){Hg=e,Rw=xu=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qo=!0),e.firstContext=null)}function _r(e){var t=e._currentValue;if(Rw!==e)if(e={context:e,memoizedValue:t,next:null},xu===null){if(Hg===null)throw Error(q(308));xu=e,Hg.dependencies={lanes:0,firstContext:e}}else xu=xu.next=e;return t}var js=null;function Lw(e){js===null?js=[e]:js.push(e)}function jT(e,t,o,r){var n=t.interleaved;return n===null?(o.next=o,Lw(t)):(o.next=n.next,n.next=o),t.interleaved=o,Da(e,r)}function Da(e,t){e.lanes|=t;var o=e.alternate;for(o!==null&&(o.lanes|=t),o=e,e=e.return;e!==null;)e.childLanes|=t,o=e.alternate,o!==null&&(o.childLanes|=t),o=e,e=e.return;return o.tag===3?o.stateNode:null}var Ii=!1;function Tw(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qT(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ma(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ni(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ee&2){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,Da(e,o)}return n=r.interleaved,n===null?(t.next=t,Lw(r)):(t.next=n.next,n.next=t),r.interleaved=t,Da(e,o)}function yg(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,pw(e,o)}}function CL(e,t){var o=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,o===r)){var n=null,a=null;if(o=o.firstBaseUpdate,o!==null){do{var i={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};a===null?n=a=i:a=a.next=i,o=o.next}while(o!==null);a===null?n=a=t:a=a.next=t}else n=a=t;o={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function Ug(e,t,o,r){var n=e.updateQueue;Ii=!1;var a=n.firstBaseUpdate,i=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var l=s,u=l.next;l.next=null,i===null?a=u:i.next=u,i=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==i&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(a!==null){var d=n.baseState;i=0,c=u=l=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,m=s;switch(f=t,p=o,m.tag){case 1:if(g=m.payload,typeof g=="function"){d=g.call(p,d,f);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=m.payload,f=typeof g=="function"?g.call(p,d,f):g,f==null)break e;d=mt({},d,f);break e;case 2:Ii=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=n.effects,f===null?n.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=p,l=d):c=c.next=p,i|=f;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;f=s,s=f.next,f.next=null,n.lastBaseUpdate=f,n.shared.pending=null}}while(1);if(c===null&&(l=d),n.baseState=l,n.firstBaseUpdate=u,n.lastBaseUpdate=c,t=n.shared.interleaved,t!==null){n=t;do i|=n.lane,n=n.next;while(n!==t)}else a===null&&(n.shared.lanes=0);Zs|=i,e.lanes=i,e.memoizedState=d}}function wL(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],n=r.callback;if(n!==null){if(r.callback=null,r=o,typeof n!="function")throw Error(q(191,n));n.call(r)}}}var pf={},na=Ui(pf),rf=Ui(pf),nf=Ui(pf);function qs(e){if(e===pf)throw Error(q(174));return e}function kw(e,t){switch(Ye(nf,t),Ye(rf,e),Ye(na,pf),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:SC(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=SC(t,e)}tt(na),Ye(na,t)}function Eu(){tt(na),tt(rf),tt(nf)}function $T(e){qs(nf.current);var t=qs(na.current),o=SC(t,e.type);t!==o&&(Ye(rf,e),Ye(na,o))}function Mw(e){rf.current===e&&(tt(na),tt(rf))}var ft=Ui(0);function zg(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aC=[];function Ew(){for(var e=0;e<aC.length;e++)aC[e]._workInProgressVersionPrimary=null;aC.length=0}var Cg=Oa.ReactCurrentDispatcher,iC=Oa.ReactCurrentBatchConfig,Qs=0,pt=null,Ft=null,qt=null,Gg=!1,zd=!1,af=0,T5=0;function go(){throw Error(q(321))}function Aw(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!wn(e[o],t[o]))return!1;return!0}function Dw(e,t,o,r,n,a){if(Qs=a,pt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Cg.current=e===null||e.memoizedState===null?A5:D5,e=o(r,n),zd){a=0;do{if(zd=!1,af=0,25<=a)throw Error(q(301));a+=1,qt=Ft=null,t.updateQueue=null,Cg.current=N5,e=o(r,n)}while(zd)}if(Cg.current=Wg,t=Ft!==null&&Ft.next!==null,Qs=0,qt=Ft=pt=null,Gg=!1,t)throw Error(q(300));return e}function Nw(){var e=af!==0;return af=0,e}function ta(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return qt===null?pt.memoizedState=qt=e:qt=qt.next=e,qt}function Vr(){if(Ft===null){var e=pt.alternate;e=e!==null?e.memoizedState:null}else e=Ft.next;var t=qt===null?pt.memoizedState:qt.next;if(t!==null)qt=t,Ft=e;else{if(e===null)throw Error(q(310));Ft=e,e={memoizedState:Ft.memoizedState,baseState:Ft.baseState,baseQueue:Ft.baseQueue,queue:Ft.queue,next:null},qt===null?pt.memoizedState=qt=e:qt=qt.next=e}return qt}function sf(e,t){return typeof t=="function"?t(e):t}function sC(e){var t=Vr(),o=t.queue;if(o===null)throw Error(q(311));o.lastRenderedReducer=e;var r=Ft,n=r.baseQueue,a=o.pending;if(a!==null){if(n!==null){var i=n.next;n.next=a.next,a.next=i}r.baseQueue=n=a,o.pending=null}if(n!==null){a=n.next,r=r.baseState;var s=i=null,l=null,u=a;do{var c=u.lane;if((Qs&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=d,i=r):l=l.next=d,pt.lanes|=c,Zs|=c}u=u.next}while(u!==null&&u!==a);l===null?i=r:l.next=s,wn(r,t.memoizedState)||(qo=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,o.lastRenderedState=r}if(e=o.interleaved,e!==null){n=e;do a=n.lane,pt.lanes|=a,Zs|=a,n=n.next;while(n!==e)}else n===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function lC(e){var t=Vr(),o=t.queue;if(o===null)throw Error(q(311));o.lastRenderedReducer=e;var r=o.dispatch,n=o.pending,a=t.memoizedState;if(n!==null){o.pending=null;var i=n=n.next;do a=e(a,i.action),i=i.next;while(i!==n);wn(a,t.memoizedState)||(qo=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function KT(){}function XT(e,t){var o=pt,r=Vr(),n=t(),a=!wn(r.memoizedState,n);if(a&&(r.memoizedState=n,qo=!0),r=r.queue,Ow(ZT.bind(null,o,r,e),[e]),r.getSnapshot!==t||a||qt!==null&&qt.memoizedState.tag&1){if(o.flags|=2048,lf(9,QT.bind(null,o,r,n,t),void 0,null),$t===null)throw Error(q(349));Qs&30||YT(o,t,n)}return n}function YT(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=pt.updateQueue,t===null?(t={lastEffect:null,stores:null},pt.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function QT(e,t,o,r){t.value=o,t.getSnapshot=r,JT(t)&&e1(e)}function ZT(e,t,o){return o(function(){JT(t)&&e1(e)})}function JT(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!wn(e,o)}catch{return!0}}function e1(e){var t=Da(e,1);t!==null&&Cn(t,e,1,-1)}function SL(e){var t=ta();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:sf,lastRenderedState:e},t.queue=e,e=e.dispatch=E5.bind(null,pt,e),[t.memoizedState,e]}function lf(e,t,o,r){return e={tag:e,create:t,destroy:o,deps:r,next:null},t=pt.updateQueue,t===null?(t={lastEffect:null,stores:null},pt.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(r=o.next,o.next=e,e.next=r,t.lastEffect=e)),e}function t1(){return Vr().memoizedState}function wg(e,t,o,r){var n=ta();pt.flags|=e,n.memoizedState=lf(1|t,o,void 0,r===void 0?null:r)}function oh(e,t,o,r){var n=Vr();r=r===void 0?null:r;var a=void 0;if(Ft!==null){var i=Ft.memoizedState;if(a=i.destroy,r!==null&&Aw(r,i.deps)){n.memoizedState=lf(t,o,a,r);return}}pt.flags|=e,n.memoizedState=lf(1|t,o,a,r)}function bL(e,t){return wg(8390656,8,e,t)}function Ow(e,t){return oh(2048,8,e,t)}function o1(e,t){return oh(4,2,e,t)}function r1(e,t){return oh(4,4,e,t)}function n1(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function a1(e,t,o){return o=o!=null?o.concat([e]):null,oh(4,4,n1.bind(null,t,e),o)}function Fw(){}function i1(e,t){var o=Vr();t=t===void 0?null:t;var r=o.memoizedState;return r!==null&&t!==null&&Aw(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function s1(e,t){var o=Vr();t=t===void 0?null:t;var r=o.memoizedState;return r!==null&&t!==null&&Aw(t,r[1])?r[0]:(e=e(),o.memoizedState=[e,t],e)}function l1(e,t,o){return Qs&21?(wn(o,t)||(o=pT(),pt.lanes|=o,Zs|=o,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qo=!0),e.memoizedState=o)}function k5(e,t){var o=Ge;Ge=o!==0&&4>o?o:4,e(!0);var r=iC.transition;iC.transition={};try{e(!1),t()}finally{Ge=o,iC.transition=r}}function u1(){return Vr().memoizedState}function M5(e,t,o){var r=Fi(e);if(o={lane:r,action:o,hasEagerState:!1,eagerState:null,next:null},c1(e))d1(t,o);else if(o=jT(e,t,o,r),o!==null){var n=No();Cn(o,e,r,n),f1(o,t,r)}}function E5(e,t,o){var r=Fi(e),n={lane:r,action:o,hasEagerState:!1,eagerState:null,next:null};if(c1(e))d1(t,n);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,s=a(i,o);if(n.hasEagerState=!0,n.eagerState=s,wn(s,i)){var l=t.interleaved;l===null?(n.next=n,Lw(t)):(n.next=l.next,l.next=n),t.interleaved=n;return}}catch{}finally{}o=jT(e,t,n,r),o!==null&&(n=No(),Cn(o,e,r,n),f1(o,t,r))}}function c1(e){var t=e.alternate;return e===pt||t!==null&&t===pt}function d1(e,t){zd=Gg=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function f1(e,t,o){if(o&4194240){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,pw(e,o)}}var Wg={readContext:_r,useCallback:go,useContext:go,useEffect:go,useImperativeHandle:go,useInsertionEffect:go,useLayoutEffect:go,useMemo:go,useReducer:go,useRef:go,useState:go,useDebugValue:go,useDeferredValue:go,useTransition:go,useMutableSource:go,useSyncExternalStore:go,useId:go,unstable_isNewReconciler:!1},A5={readContext:_r,useCallback:function(e,t){return ta().memoizedState=[e,t===void 0?null:t],e},useContext:_r,useEffect:bL,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,wg(4194308,4,n1.bind(null,t,e),o)},useLayoutEffect:function(e,t){return wg(4194308,4,e,t)},useInsertionEffect:function(e,t){return wg(4,2,e,t)},useMemo:function(e,t){var o=ta();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var r=ta();return t=o!==void 0?o(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=M5.bind(null,pt,e),[r.memoizedState,e]},useRef:function(e){var t=ta();return e={current:e},t.memoizedState=e},useState:SL,useDebugValue:Fw,useDeferredValue:function(e){return ta().memoizedState=e},useTransition:function(){var e=SL(!1),t=e[0];return e=k5.bind(null,e[1]),ta().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var r=pt,n=ta();if(st){if(o===void 0)throw Error(q(407));o=o()}else{if(o=t(),$t===null)throw Error(q(349));Qs&30||YT(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,bL(ZT.bind(null,r,a,e),[e]),r.flags|=2048,lf(9,QT.bind(null,r,a,o,t),void 0,null),o},useId:function(){var e=ta(),t=$t.identifierPrefix;if(st){var o=ka,r=Ta;o=(r&~(1<<32-yn(r)-1)).toString(32)+o,t=":"+t+"R"+o,o=af++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=T5++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},D5={readContext:_r,useCallback:i1,useContext:_r,useEffect:Ow,useImperativeHandle:a1,useInsertionEffect:o1,useLayoutEffect:r1,useMemo:s1,useReducer:sC,useRef:t1,useState:function(){return sC(sf)},useDebugValue:Fw,useDeferredValue:function(e){var t=Vr();return l1(t,Ft.memoizedState,e)},useTransition:function(){var e=sC(sf)[0],t=Vr().memoizedState;return[e,t]},useMutableSource:KT,useSyncExternalStore:XT,useId:u1,unstable_isNewReconciler:!1},N5={readContext:_r,useCallback:i1,useContext:_r,useEffect:Ow,useImperativeHandle:a1,useInsertionEffect:o1,useLayoutEffect:r1,useMemo:s1,useReducer:lC,useRef:t1,useState:function(){return lC(sf)},useDebugValue:Fw,useDeferredValue:function(e){var t=Vr();return Ft===null?t.memoizedState=e:l1(t,Ft.memoizedState,e)},useTransition:function(){var e=lC(sf)[0],t=Vr().memoizedState;return[e,t]},useMutableSource:KT,useSyncExternalStore:XT,useId:u1,unstable_isNewReconciler:!1};function hn(e,t){if(e&&e.defaultProps){t=mt({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function GC(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:mt({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var rh={isMounted:function(e){return(e=e._reactInternals)?tl(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var r=No(),n=Fi(e),a=Ma(r,n);a.payload=t,o!=null&&(a.callback=o),t=Ni(e,a,n),t!==null&&(Cn(t,e,n,r),yg(t,e,n))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=No(),n=Fi(e),a=Ma(r,n);a.tag=1,a.payload=t,o!=null&&(a.callback=o),t=Ni(e,a,n),t!==null&&(Cn(t,e,n,r),yg(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=No(),r=Fi(e),n=Ma(o,r);n.tag=2,t!=null&&(n.callback=t),t=Ni(e,n,r),t!==null&&(Cn(t,e,r,o),yg(t,e,r))}};function RL(e,t,o,r,n,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,i):t.prototype&&t.prototype.isPureReactComponent?!Jd(o,r)||!Jd(n,a):!0}function p1(e,t,o){var r=!1,n=Bi,a=t.contextType;return typeof a=="object"&&a!==null?a=_r(a):(n=Ko(t)?Xs:xo.current,r=t.contextTypes,a=(r=r!=null)?Tu(e,n):Bi),t=new t(o,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=rh,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),t}function IL(e,t,o,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,r),t.state!==e&&rh.enqueueReplaceState(t,t.state,null)}function WC(e,t,o,r){var n=e.stateNode;n.props=o,n.state=e.memoizedState,n.refs={},Tw(e);var a=t.contextType;typeof a=="object"&&a!==null?n.context=_r(a):(a=Ko(t)?Xs:xo.current,n.context=Tu(e,a)),n.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(GC(e,t,a,o),n.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(t=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),t!==n.state&&rh.enqueueReplaceState(n,n.state,null),Ug(e,o,n,r),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308)}function Au(e,t){try{var o="",r=t;do o+=c4(r),r=r.return;while(r);var n=o}catch(a){n=`
10
10
  Error generating stack: `+a.message+`
11
- `+a.stack}return{value:e,source:t,stack:n,digest:null}}function uC(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function jC(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var O5=typeof WeakMap=="function"?WeakMap:Map;function m1(e,t,o){o=Ma(-1,o),o.tag=3,o.payload={element:null};var r=t.value;return o.callback=function(){qg||(qg=!0,tw=r),jC(e,t)},o}function g1(e,t,o){o=Ma(-1,o),o.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var n=t.value;o.payload=function(){return r(n)},o.callback=function(){jC(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(o.callback=function(){jC(e,t),typeof r!="function"&&(Oi===null?Oi=new Set([this]):Oi.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),o}function PL(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new O5;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(o)||(n.add(o),e=X5.bind(null,e,t,o),t.then(e,e))}function LL(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function TL(e,t,o,r,n){return e.mode&1?(e.flags|=65536,e.lanes=n,e):(e===t?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(t=Ma(-1,1),t.tag=2,Ni(o,t,1))),o.lanes|=1),e)}var F5=Oa.ReactCurrentOwner,qo=!1;function Do(e,t,o,r){t.child=e===null?WT(t,null,o,r):Mu(t,e.child,o,r)}function kL(e,t,o,r,n){o=o.render;var a=t.ref;return Iu(t,n),r=Dw(e,t,o,r,a,n),o=Nw(),e!==null&&!qo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Na(e,t,n)):(st&&o&&ww(t),t.flags|=1,Do(e,t,r,n),t.child)}function ML(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!Ww(a)&&a.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=a,h1(e,t,a,r,n)):(e=Ig(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&n)){var i=a.memoizedProps;if(o=o.compare,o=o!==null?o:Jd,o(i,r)&&e.ref===t.ref)return Na(e,t,n)}return t.flags|=1,e=_i(a,r),e.ref=t.ref,e.return=t,t.child=e}function h1(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(Jd(a,r)&&e.ref===t.ref)if(qo=!1,t.pendingProps=r=a,(e.lanes&n)!==0)e.flags&131072&&(qo=!0);else return t.lanes=e.lanes,Na(e,t,n)}return qC(e,t,o,r,n)}function v1(e,t,o){var r=t.pendingProps,n=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ye(Cu,dr),dr|=o;else{if(!(o&1073741824))return e=a!==null?a.baseLanes|o:o,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ye(Cu,dr),dr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:o,Ye(Cu,dr),dr|=r}else a!==null?(r=a.baseLanes|o,t.memoizedState=null):r=o,Ye(Cu,dr),dr|=r;return Do(e,t,n,o),t.child}function x1(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function qC(e,t,o,r,n){var a=Ko(o)?Xs:xo.current;return a=Tu(t,a),Iu(t,n),o=Dw(e,t,o,r,a,n),r=Nw(),e!==null&&!qo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Na(e,t,n)):(st&&r&&ww(t),t.flags|=1,Do(e,t,o,n),t.child)}function EL(e,t,o,r,n){if(Ko(o)){var a=!0;Fg(t)}else a=!1;if(Iu(t,n),t.stateNode===null)Sg(e,t),p1(t,o,r),WC(t,o,r,n),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=o.contextType;typeof u=="object"&&u!==null?u=_r(u):(u=Ko(o)?Xs:xo.current,u=Tu(t,u));var c=o.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||l!==u)&&IL(t,i,r,u),Ii=!1;var f=t.memoizedState;i.state=f,Ug(t,r,i,n),l=t.memoizedState,s!==r||f!==l||$o.current||Ii?(typeof c=="function"&&(GC(t,o,c,r),l=t.memoizedState),(s=Ii||RL(t,o,s,r,f,l,u))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,qT(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:hn(t.type,s),i.props=u,d=t.pendingProps,f=i.context,l=o.contextType,typeof l=="object"&&l!==null?l=_r(l):(l=Ko(o)?Xs:xo.current,l=Tu(t,l));var p=o.getDerivedStateFromProps;(c=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==l)&&IL(t,i,r,l),Ii=!1,f=t.memoizedState,i.state=f,Ug(t,r,i,n);var g=t.memoizedState;s!==d||f!==g||$o.current||Ii?(typeof p=="function"&&(GC(t,o,p,r),g=t.memoizedState),(u=Ii||RL(t,o,u,r,f,g,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,g,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,g,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=l,r=u):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return $C(e,t,o,r,a,n)}function $C(e,t,o,r,n,a){x1(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return n&&hL(t,o,!1),Na(e,t,a);r=t.stateNode,F5.current=t;var s=i&&typeof o.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Mu(t,e.child,null,a),t.child=Mu(t,null,s,a)):Do(e,t,s,a),t.memoizedState=r.state,n&&hL(t,o,!0),t.child}function y1(e){var t=e.stateNode;t.pendingContext?gL(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gL(e,t.context,!1),kw(e,t.containerInfo)}function AL(e,t,o,r,n){return ku(),bw(n),t.flags|=256,Do(e,t,o,r),t.child}var KC={dehydrated:null,treeContext:null,retryLane:0};function XC(e){return{baseLanes:e,cachePool:null,transitions:null}}function C1(e,t,o){var r=t.pendingProps,n=ft.current,a=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(n&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),Ye(ft,n&1),e===null)return UC(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,a?(r=t.mode,a=t.child,i={mode:"hidden",children:i},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=ih(i,r,0,null),e=Ks(e,r,o,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=XC(o),t.memoizedState=KC,e):_w(t,i));if(n=e.memoizedState,n!==null&&(s=n.dehydrated,s!==null))return _5(e,t,i,r,s,n,o);if(a){a=r.fallback,i=t.mode,n=e.child,s=n.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==n?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=_i(n,l),r.subtreeFlags=n.subtreeFlags&14680064),s!==null?a=_i(s,a):(a=Ks(a,i,o,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,i=e.child.memoizedState,i=i===null?XC(o):{baseLanes:i.baseLanes|o,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~o,t.memoizedState=KC,r}return a=e.child,e=a.sibling,r=_i(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=o),r.return=t,r.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=r,t.memoizedState=null,r}function _w(e,t){return t=ih({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function pg(e,t,o,r){return r!==null&&bw(r),Mu(t,e.child,null,o),e=_w(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _5(e,t,o,r,n,a,i){if(o)return t.flags&256?(t.flags&=-257,r=uC(Error(q(422))),pg(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,n=t.mode,r=ih({mode:"visible",children:r.children},n,0,null),a=Ks(a,n,i,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Mu(t,e.child,null,i),t.child.memoizedState=XC(i),t.memoizedState=KC,a);if(!(t.mode&1))return pg(e,t,i,null);if(n.data==="$!"){if(r=n.nextSibling&&n.nextSibling.dataset,r)var s=r.dgst;return r=s,a=Error(q(419)),r=uC(a,r,void 0),pg(e,t,i,r)}if(s=(i&e.childLanes)!==0,qo||s){if(r=$t,r!==null){switch(i&-i){case 4:n=2;break;case 16:n=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}n=n&(r.suspendedLanes|i)?0:n,n!==0&&n!==a.retryLane&&(a.retryLane=n,Da(e,n),Cn(r,e,n,-1))}return Gw(),r=uC(Error(q(421))),pg(e,t,i,r)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=Y5.bind(null,e),n._reactRetry=t,null):(e=a.treeContext,fr=Di(n.nextSibling),pr=t,st=!0,xn=null,e!==null&&(Dr[Nr++]=Ta,Dr[Nr++]=ka,Dr[Nr++]=Ys,Ta=e.id,ka=e.overflow,Ys=t),t=_w(t,r.children),t.flags|=4096,t)}function DL(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),zC(e.return,t,o)}function cC(e,t,o,r,n){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:n}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=o,a.tailMode=n)}function w1(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;if(Do(e,t,r.children,o),r=ft.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&DL(e,o,t);else if(e.tag===19)DL(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ye(ft,r),!(t.mode&1))t.memoizedState=null;else switch(n){case"forwards":for(o=t.child,n=null;o!==null;)e=o.alternate,e!==null&&zg(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),cC(t,!1,n,o,a);break;case"backwards":for(o=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&zg(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}cC(t,!0,o,null,a);break;case"together":cC(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Sg(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Na(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Zs|=t.lanes,!(o&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(q(153));if(t.child!==null){for(e=t.child,o=_i(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=_i(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function V5(e,t,o){switch(t.tag){case 3:y1(t),ku();break;case 5:$T(t);break;case 1:Ko(t.type)&&Fg(t);break;case 4:kw(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,n=t.memoizedProps.value;Ye(Bg,r._currentValue),r._currentValue=n;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ye(ft,ft.current&1),t.flags|=128,null):o&t.child.childLanes?C1(e,t,o):(Ye(ft,ft.current&1),e=Na(e,t,o),e!==null?e.sibling:null);Ye(ft,ft.current&1);break;case 19:if(r=(o&t.childLanes)!==0,e.flags&128){if(r)return w1(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Ye(ft,ft.current),r)break;return null;case 22:case 23:return t.lanes=0,v1(e,t,o)}return Na(e,t,o)}var S1,YC,b1,R1;S1=function(e,t){for(var o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}};YC=function(){};b1=function(e,t,o,r){var n=e.memoizedProps;if(n!==r){e=t.stateNode,qs(na.current);var a=null;switch(o){case"input":n=xC(e,n),r=xC(e,r),a=[];break;case"select":n=mt({},n,{value:void 0}),r=mt({},r,{value:void 0}),a=[];break;case"textarea":n=wC(e,n),r=wC(e,r),a=[];break;default:typeof n.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ng)}bC(o,r);var i;o=null;for(u in n)if(!r.hasOwnProperty(u)&&n.hasOwnProperty(u)&&n[u]!=null)if(u==="style"){var s=n[u];for(i in s)s.hasOwnProperty(i)&&(o||(o={}),o[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(qd.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(s=n?.[u],r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(o||(o={}),o[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(o||(o={}),o[i]=l[i])}else o||(a||(a=[]),a.push(u,o)),o=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(qd.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&et("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}o&&(a=a||[]).push("style",o);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};R1=function(e,t,o,r){o!==r&&(t.flags|=4)};function Md(e,t){if(!st)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ho(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,r=0;if(t)for(var n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags&14680064,r|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=o,t}function B5(e,t,o){var r=t.pendingProps;switch(Sw(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ho(t),null;case 1:return Ko(t.type)&&Og(),ho(t),null;case 3:return r=t.stateNode,Eu(),tt($o),tt(xo),Ew(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(dg(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,xn!==null&&(nw(xn),xn=null))),YC(e,t),ho(t),null;case 5:Mw(t);var n=qs(nf.current);if(o=t.type,e!==null&&t.stateNode!=null)b1(e,t,o,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(q(166));return ho(t),null}if(e=qs(na.current),dg(t)){r=t.stateNode,o=t.type;var a=t.memoizedProps;switch(r[oa]=t,r[of]=a,e=(t.mode&1)!==0,o){case"dialog":et("cancel",r),et("close",r);break;case"iframe":case"object":case"embed":et("load",r);break;case"video":case"audio":for(n=0;n<Fd.length;n++)et(Fd[n],r);break;case"source":et("error",r);break;case"img":case"image":case"link":et("error",r),et("load",r);break;case"details":et("toggle",r);break;case"input":UP(r,a),et("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},et("invalid",r);break;case"textarea":GP(r,a),et("invalid",r)}bC(o,a),n=null;for(var i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="children"?typeof s=="string"?r.textContent!==s&&(a.suppressHydrationWarning!==!0&&cg(r.textContent,s,e),n=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&cg(r.textContent,s,e),n=["children",""+s]):qd.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&et("scroll",r)}switch(o){case"input":Zm(r),zP(r,a,!0);break;case"textarea":Zm(r),WP(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=Ng)}r=n,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ZL(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(o,{is:r.is}):(e=i.createElement(o),o==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,o),e[oa]=t,e[of]=r,S1(e,t,!1,!1),t.stateNode=e;e:{switch(i=RC(o,r),o){case"dialog":et("cancel",e),et("close",e),n=r;break;case"iframe":case"object":case"embed":et("load",e),n=r;break;case"video":case"audio":for(n=0;n<Fd.length;n++)et(Fd[n],e);n=r;break;case"source":et("error",e),n=r;break;case"img":case"image":case"link":et("error",e),et("load",e),n=r;break;case"details":et("toggle",e),n=r;break;case"input":UP(e,r),n=xC(e,r),et("invalid",e);break;case"option":n=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},n=mt({},r,{value:void 0}),et("invalid",e);break;case"textarea":GP(e,r),n=wC(e,r),et("invalid",e);break;default:n=r}bC(o,n),s=n;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?tT(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&JL(e,l)):a==="children"?typeof l=="string"?(o!=="textarea"||l!=="")&&$d(e,l):typeof l=="number"&&$d(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(qd.hasOwnProperty(a)?l!=null&&a==="onScroll"&&et("scroll",e):l!=null&&sw(e,a,l,i))}switch(o){case"input":Zm(e),zP(e,r,!1);break;case"textarea":Zm(e),WP(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Vi(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?wu(e,!!r.multiple,a,!1):r.defaultValue!=null&&wu(e,!!r.multiple,r.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=Ng)}switch(o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ho(t),null;case 6:if(e&&t.stateNode!=null)R1(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(q(166));if(o=qs(nf.current),qs(na.current),dg(t)){if(r=t.stateNode,o=t.memoizedProps,r[oa]=t,(a=r.nodeValue!==o)&&(e=pr,e!==null))switch(e.tag){case 3:cg(r.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&cg(r.nodeValue,o,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(o.nodeType===9?o:o.ownerDocument).createTextNode(r),r[oa]=t,t.stateNode=r}return ho(t),null;case 13:if(tt(ft),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(st&&fr!==null&&t.mode&1&&!(t.flags&128))zT(),ku(),t.flags|=98560,a=!1;else if(a=dg(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(q(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(q(317));a[oa]=t}else ku(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ho(t),a=!1}else xn!==null&&(nw(xn),xn=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=o,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ft.current&1?_t===0&&(_t=3):Gw())),t.updateQueue!==null&&(t.flags|=4),ho(t),null);case 4:return Eu(),YC(e,t),e===null&&ef(t.stateNode.containerInfo),ho(t),null;case 10:return Pw(t.type._context),ho(t),null;case 17:return Ko(t.type)&&Og(),ho(t),null;case 19:if(tt(ft),a=t.memoizedState,a===null)return ho(t),null;if(r=(t.flags&128)!==0,i=a.rendering,i===null)if(r)Md(a,!1);else{if(_t!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=zg(e),i!==null){for(t.flags|=128,Md(a,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=o,o=t.child;o!==null;)a=o,e=r,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Ye(ft,ft.current&1|2),t.child}e=e.sibling}a.tail!==null&&Rt()>Du&&(t.flags|=128,r=!0,Md(a,!1),t.lanes=4194304)}else{if(!r)if(e=zg(i),e!==null){if(t.flags|=128,r=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),Md(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!st)return ho(t),null}else 2*Rt()-a.renderingStartTime>Du&&o!==1073741824&&(t.flags|=128,r=!0,Md(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(o=a.last,o!==null?o.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Rt(),t.sibling=null,o=ft.current,Ye(ft,r?o&1|2:o&1),t):(ho(t),null);case 22:case 23:return zw(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?dr&1073741824&&(ho(t),t.subtreeFlags&6&&(t.flags|=8192)):ho(t),null;case 24:return null;case 25:return null}throw Error(q(156,t.tag))}function H5(e,t){switch(Sw(t),t.tag){case 1:return Ko(t.type)&&Og(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Eu(),tt($o),tt(xo),Ew(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Mw(t),null;case 13:if(tt(ft),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(q(340));ku()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tt(ft),null;case 4:return Eu(),null;case 10:return Pw(t.type._context),null;case 22:case 23:return zw(),null;case 24:return null;default:return null}}var mg=!1,vo=!1,U5=typeof WeakSet=="function"?WeakSet:Set,re=null;function yu(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(r){xt(e,t,r)}else o.current=null}function QC(e,t,o){try{o()}catch(r){xt(e,t,r)}}var NL=!1;function z5(e,t){if(NC=Eg,e=kT(),Cw(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var n=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{o.nodeType,a.nodeType}catch{o=null;break e}var i=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==o||n!==0&&d.nodeType!==3||(s=i+n),d!==a||r!==0&&d.nodeType!==3||(l=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===o&&++u===n&&(s=i),f===a&&++c===r&&(l=i),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}o=s===-1||l===-1?null:{start:s,end:l}}else o=null}o=o||{start:0,end:0}}else o=null;for(OC={focusedElem:e,selectionRange:o},Eg=!1,re=t;re!==null;)if(t=re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,re=e;else for(;re!==null;){t=re;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var m=g.memoizedProps,x=g.memoizedState,h=t.stateNode,v=h.getSnapshotBeforeUpdate(t.elementType===t.type?m:hn(t.type,m),x);h.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(q(163))}}catch(C){xt(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,re=e;break}re=t.return}return g=NL,NL=!1,g}function Gd(e,t,o){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do{if((n.tag&e)===e){var a=n.destroy;n.destroy=void 0,a!==void 0&&QC(t,o,a)}n=n.next}while(n!==r)}}function nh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var r=o.create;o.destroy=r()}o=o.next}while(o!==t)}}function ZC(e){var t=e.ref;if(t!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof t=="function"?t(e):t.current=e}}function I1(e){var t=e.alternate;t!==null&&(e.alternate=null,I1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[oa],delete t[of],delete t[VC],delete t[R5],delete t[I5])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function P1(e){return e.tag===5||e.tag===3||e.tag===4}function OL(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||P1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function JC(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Ng));else if(r!==4&&(e=e.child,e!==null))for(JC(e,t,o),e=e.sibling;e!==null;)JC(e,t,o),e=e.sibling}function ew(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ew(e,t,o),e=e.sibling;e!==null;)ew(e,t,o),e=e.sibling}var ro=null,vn=!1;function bi(e,t,o){for(o=o.child;o!==null;)L1(e,t,o),o=o.sibling}function L1(e,t,o){if(ra&&typeof ra.onCommitFiberUnmount=="function")try{ra.onCommitFiberUnmount(Yg,o)}catch{}switch(o.tag){case 5:vo||yu(o,t);case 6:var r=ro,n=vn;ro=null,bi(e,t,o),ro=r,vn=n,ro!==null&&(vn?(e=ro,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):ro.removeChild(o.stateNode));break;case 18:ro!==null&&(vn?(e=ro,o=o.stateNode,e.nodeType===8?rC(e.parentNode,o):e.nodeType===1&&rC(e,o),Qd(e)):rC(ro,o.stateNode));break;case 4:r=ro,n=vn,ro=o.stateNode.containerInfo,vn=!0,bi(e,t,o),ro=r,vn=n;break;case 0:case 11:case 14:case 15:if(!vo&&(r=o.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){n=r=r.next;do{var a=n,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&QC(o,t,i),n=n.next}while(n!==r)}bi(e,t,o);break;case 1:if(!vo&&(yu(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=o.memoizedProps,r.state=o.memoizedState,r.componentWillUnmount()}catch(s){xt(o,t,s)}bi(e,t,o);break;case 21:bi(e,t,o);break;case 22:o.mode&1?(vo=(r=vo)||o.memoizedState!==null,bi(e,t,o),vo=r):bi(e,t,o);break;default:bi(e,t,o)}}function FL(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new U5),t.forEach(function(r){var n=Q5.bind(null,e,r);o.has(r)||(o.add(r),r.then(n,n))})}}function gn(e,t){var o=t.deletions;if(o!==null)for(var r=0;r<o.length;r++){var n=o[r];try{var a=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:ro=s.stateNode,vn=!1;break e;case 3:ro=s.stateNode.containerInfo,vn=!0;break e;case 4:ro=s.stateNode.containerInfo,vn=!0;break e}s=s.return}if(ro===null)throw Error(q(160));L1(a,i,n),ro=null,vn=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(u){xt(n,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)T1(t,e),t=t.sibling}function T1(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gn(t,e),ea(e),r&4){try{Gd(3,e,e.return),nh(3,e)}catch(m){xt(e,e.return,m)}try{Gd(5,e,e.return)}catch(m){xt(e,e.return,m)}}break;case 1:gn(t,e),ea(e),r&512&&o!==null&&yu(o,o.return);break;case 5:if(gn(t,e),ea(e),r&512&&o!==null&&yu(o,o.return),e.flags&32){var n=e.stateNode;try{$d(n,"")}catch(m){xt(e,e.return,m)}}if(r&4&&(n=e.stateNode,n!=null)){var a=e.memoizedProps,i=o!==null?o.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&YL(n,a),RC(s,i);var u=RC(s,a);for(i=0;i<l.length;i+=2){var c=l[i],d=l[i+1];c==="style"?tT(n,d):c==="dangerouslySetInnerHTML"?JL(n,d):c==="children"?$d(n,d):sw(n,c,d,u)}switch(s){case"input":yC(n,a);break;case"textarea":QL(n,a);break;case"select":var f=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?wu(n,!!a.multiple,p,!1):f!==!!a.multiple&&(a.defaultValue!=null?wu(n,!!a.multiple,a.defaultValue,!0):wu(n,!!a.multiple,a.multiple?[]:"",!1))}n[of]=a}catch(m){xt(e,e.return,m)}}break;case 6:if(gn(t,e),ea(e),r&4){if(e.stateNode===null)throw Error(q(162));n=e.stateNode,a=e.memoizedProps;try{n.nodeValue=a}catch(m){xt(e,e.return,m)}}break;case 3:if(gn(t,e),ea(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{Qd(t.containerInfo)}catch(m){xt(e,e.return,m)}break;case 4:gn(t,e),ea(e);break;case 13:gn(t,e),ea(e),n=e.child,n.flags&8192&&(a=n.memoizedState!==null,n.stateNode.isHidden=a,!a||n.alternate!==null&&n.alternate.memoizedState!==null||(Hw=Rt())),r&4&&FL(e);break;case 22:if(c=o!==null&&o.memoizedState!==null,e.mode&1?(vo=(u=vo)||c,gn(t,e),vo=u):gn(t,e),ea(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(re=e,c=e.child;c!==null;){for(d=re=c;re!==null;){switch(f=re,p=f.child,f.tag){case 0:case 11:case 14:case 15:Gd(4,f,f.return);break;case 1:yu(f,f.return);var g=f.stateNode;if(typeof g.componentWillUnmount=="function"){r=f,o=f.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){xt(r,o,m)}}break;case 5:yu(f,f.return);break;case 22:if(f.memoizedState!==null){VL(d);continue}}p!==null?(p.return=f,re=p):VL(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{n=d.stateNode,u?(a=n.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(s=d.stateNode,l=d.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=eT("display",i))}catch(m){xt(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){xt(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:gn(t,e),ea(e),r&4&&FL(e);break;case 21:break;default:gn(t,e),ea(e)}}function ea(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(P1(o)){var r=o;break e}o=o.return}throw Error(q(160))}switch(r.tag){case 5:var n=r.stateNode;r.flags&32&&($d(n,""),r.flags&=-33);var a=OL(e);ew(e,a,n);break;case 3:case 4:var i=r.stateNode.containerInfo,s=OL(e);JC(e,s,i);break;default:throw Error(q(161))}}catch(l){xt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function G5(e,t,o){re=e,k1(e,t,o)}function k1(e,t,o){for(var r=(e.mode&1)!==0;re!==null;){var n=re,a=n.child;if(n.tag===22&&r){var i=n.memoizedState!==null||mg;if(!i){var s=n.alternate,l=s!==null&&s.memoizedState!==null||vo;s=mg;var u=vo;if(mg=i,(vo=l)&&!u)for(re=n;re!==null;)i=re,l=i.child,i.tag===22&&i.memoizedState!==null?BL(n):l!==null?(l.return=i,re=l):BL(n);for(;a!==null;)re=a,k1(a,t,o),a=a.sibling;re=n,mg=s,vo=u}_L(e,t,o)}else n.subtreeFlags&8772&&a!==null?(a.return=n,re=a):_L(e,t,o)}}function _L(e){for(;re!==null;){var t=re;if(t.flags&8772){var o=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:vo||nh(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!vo)if(o===null)r.componentDidMount();else{var n=t.elementType===t.type?o.memoizedProps:hn(t.type,o.memoizedProps);r.componentDidUpdate(n,o.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&wL(t,a,r);break;case 3:var i=t.updateQueue;if(i!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}wL(t,i,o)}break;case 5:var s=t.stateNode;if(o===null&&t.flags&4){o=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&o.focus();break;case"img":l.src&&(o.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Qd(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(q(163))}vo||t.flags&512&&ZC(t)}catch(f){xt(t,t.return,f)}}if(t===e){re=null;break}if(o=t.sibling,o!==null){o.return=t.return,re=o;break}re=t.return}}function VL(e){for(;re!==null;){var t=re;if(t===e){re=null;break}var o=t.sibling;if(o!==null){o.return=t.return,re=o;break}re=t.return}}function BL(e){for(;re!==null;){var t=re;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{nh(4,t)}catch(l){xt(t,o,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var n=t.return;try{r.componentDidMount()}catch(l){xt(t,n,l)}}var a=t.return;try{ZC(t)}catch(l){xt(t,a,l)}break;case 5:var i=t.return;try{ZC(t)}catch(l){xt(t,i,l)}}}catch(l){xt(t,t.return,l)}if(t===e){re=null;break}var s=t.sibling;if(s!==null){s.return=t.return,re=s;break}re=t.return}}var W5=Math.ceil,jg=Oa.ReactCurrentDispatcher,Vw=Oa.ReactCurrentOwner,Fr=Oa.ReactCurrentBatchConfig,Ee=0,$t=null,kt=null,no=0,dr=0,Cu=Ui(0),_t=0,uf=null,Zs=0,ah=0,Bw=0,Wd=null,jo=null,Hw=0,Du=1/0,Pa=null,qg=!1,tw=null,Oi=null,gg=!1,ki=null,$g=0,jd=0,ow=null,bg=-1,Rg=0;function No(){return Ee&6?Rt():bg!==-1?bg:bg=Rt()}function Fi(e){return e.mode&1?Ee&2&&no!==0?no&-no:L5.transition!==null?(Rg===0&&(Rg=pT()),Rg):(e=Ge,e!==0||(e=window.event,e=e===void 0?16:CT(e.type)),e):1}function Cn(e,t,o,r){if(50<jd)throw jd=0,ow=null,Error(q(185));cf(e,o,r),(!(Ee&2)||e!==$t)&&(e===$t&&(!(Ee&2)&&(ah|=o),_t===4&&Li(e,no)),Xo(e,r),o===1&&Ee===0&&!(t.mode&1)&&(Du=Rt()+500,th&&zi()))}function Xo(e,t){var o=e.callbackNode;k4(e,t);var r=Mg(e,e===$t?no:0);if(r===0)o!==null&&$P(o),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(o!=null&&$P(o),t===1)e.tag===0?P5(HL.bind(null,e)):BT(HL.bind(null,e)),S5(function(){!(Ee&6)&&zi()}),o=null;else{switch(mT(r)){case 1:o=fw;break;case 4:o=dT;break;case 16:o=kg;break;case 536870912:o=fT;break;default:o=kg}o=_1(o,M1.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function M1(e,t){if(bg=-1,Rg=0,Ee&6)throw Error(q(327));var o=e.callbackNode;if(Pu()&&e.callbackNode!==o)return null;var r=Mg(e,e===$t?no:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Kg(e,r);else{t=r;var n=Ee;Ee|=2;var a=A1();($t!==e||no!==t)&&(Pa=null,Du=Rt()+500,$s(e,t));do try{$5();break}catch(s){E1(e,s)}while(1);Iw(),jg.current=a,Ee=n,kt!==null?t=0:($t=null,no=0,t=_t)}if(t!==0){if(t===2&&(n=kC(e),n!==0&&(r=n,t=rw(e,n))),t===1)throw o=uf,$s(e,0),Li(e,r),Xo(e,Rt()),o;if(t===6)Li(e,r);else{if(n=e.current.alternate,!(r&30)&&!j5(n)&&(t=Kg(e,r),t===2&&(a=kC(e),a!==0&&(r=a,t=rw(e,a))),t===1))throw o=uf,$s(e,0),Li(e,r),Xo(e,Rt()),o;switch(e.finishedWork=n,e.finishedLanes=r,t){case 0:case 1:throw Error(q(345));case 2:Gs(e,jo,Pa);break;case 3:if(Li(e,r),(r&130023424)===r&&(t=Hw+500-Rt(),10<t)){if(Mg(e,0)!==0)break;if(n=e.suspendedLanes,(n&r)!==r){No(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=_C(Gs.bind(null,e,jo,Pa),t);break}Gs(e,jo,Pa);break;case 4:if(Li(e,r),(r&4194240)===r)break;for(t=e.eventTimes,n=-1;0<r;){var i=31-yn(r);a=1<<i,i=t[i],i>n&&(n=i),r&=~a}if(r=n,r=Rt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*W5(r/1960))-r,10<r){e.timeoutHandle=_C(Gs.bind(null,e,jo,Pa),r);break}Gs(e,jo,Pa);break;case 5:Gs(e,jo,Pa);break;default:throw Error(q(329))}}}return Xo(e,Rt()),e.callbackNode===o?M1.bind(null,e):null}function rw(e,t){var o=Wd;return e.current.memoizedState.isDehydrated&&($s(e,t).flags|=256),e=Kg(e,t),e!==2&&(t=jo,jo=o,t!==null&&nw(t)),e}function nw(e){jo===null?jo=e:jo.push.apply(jo,e)}function j5(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var r=0;r<o.length;r++){var n=o[r],a=n.getSnapshot;n=n.value;try{if(!wn(a(),n))return!1}catch{return!1}}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;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 Li(e,t){for(t&=~Bw,t&=~ah,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-yn(t),r=1<<o;e[o]=-1,t&=~r}}function HL(e){if(Ee&6)throw Error(q(327));Pu();var t=Mg(e,0);if(!(t&1))return Xo(e,Rt()),null;var o=Kg(e,t);if(e.tag!==0&&o===2){var r=kC(e);r!==0&&(t=r,o=rw(e,r))}if(o===1)throw o=uf,$s(e,0),Li(e,t),Xo(e,Rt()),o;if(o===6)throw Error(q(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Gs(e,jo,Pa),Xo(e,Rt()),null}function Uw(e,t){var o=Ee;Ee|=1;try{return e(t)}finally{Ee=o,Ee===0&&(Du=Rt()+500,th&&zi())}}function Js(e){ki!==null&&ki.tag===0&&!(Ee&6)&&Pu();var t=Ee;Ee|=1;var o=Fr.transition,r=Ge;try{if(Fr.transition=null,Ge=1,e)return e()}finally{Ge=r,Fr.transition=o,Ee=t,!(Ee&6)&&zi()}}function zw(){dr=Cu.current,tt(Cu)}function $s(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,w5(o)),kt!==null)for(o=kt.return;o!==null;){var r=o;switch(Sw(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Og();break;case 3:Eu(),tt($o),tt(xo),Ew();break;case 5:Mw(r);break;case 4:Eu();break;case 13:tt(ft);break;case 19:tt(ft);break;case 10:Pw(r.type._context);break;case 22:case 23:zw()}o=o.return}if($t=e,kt=e=_i(e.current,null),no=dr=t,_t=0,uf=null,Bw=ah=Zs=0,jo=Wd=null,js!==null){for(t=0;t<js.length;t++)if(o=js[t],r=o.interleaved,r!==null){o.interleaved=null;var n=r.next,a=o.pending;if(a!==null){var i=a.next;a.next=n,r.next=i}o.pending=r}js=null}return e}function E1(e,t){do{var o=kt;try{if(Iw(),Cg.current=Wg,Gg){for(var r=pt.memoizedState;r!==null;){var n=r.queue;n!==null&&(n.pending=null),r=r.next}Gg=!1}if(Qs=0,qt=Ft=pt=null,zd=!1,af=0,Vw.current=null,o===null||o.return===null){_t=1,uf=t,kt=null;break}e:{var a=e,i=o.return,s=o,l=t;if(t=no,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=LL(i);if(p!==null){p.flags&=-257,TL(p,i,s,a,t),p.mode&1&&PL(a,u,t),t=p,l=u;var g=t.updateQueue;if(g===null){var m=new Set;m.add(l),t.updateQueue=m}else g.add(l);break e}else{if(!(t&1)){PL(a,u,t),Gw();break e}l=Error(q(426))}}else if(st&&s.mode&1){var x=LL(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),TL(x,i,s,a,t),bw(Au(l,s));break e}}a=l=Au(l,s),_t!==4&&(_t=2),Wd===null?Wd=[a]:Wd.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var h=m1(a,l,t);CL(a,h);break e;case 1:s=l;var v=a.type,y=a.stateNode;if(!(a.flags&128)&&(typeof v.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Oi===null||!Oi.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var C=g1(a,s,t);CL(a,C);break e}}a=a.return}while(a!==null)}N1(o)}catch(w){t=w,kt===o&&o!==null&&(kt=o=o.return);continue}break}while(1)}function A1(){var e=jg.current;return jg.current=Wg,e===null?Wg:e}function Gw(){(_t===0||_t===3||_t===2)&&(_t=4),$t===null||!(Zs&268435455)&&!(ah&268435455)||Li($t,no)}function Kg(e,t){var o=Ee;Ee|=2;var r=A1();($t!==e||no!==t)&&(Pa=null,$s(e,t));do try{q5();break}catch(n){E1(e,n)}while(1);if(Iw(),Ee=o,jg.current=r,kt!==null)throw Error(q(261));return $t=null,no=0,_t}function q5(){for(;kt!==null;)D1(kt)}function $5(){for(;kt!==null&&!C4();)D1(kt)}function D1(e){var t=F1(e.alternate,e,dr);e.memoizedProps=e.pendingProps,t===null?N1(e):kt=t,Vw.current=null}function N1(e){var t=e;do{var o=t.alternate;if(e=t.return,t.flags&32768){if(o=H5(o,t),o!==null){o.flags&=32767,kt=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{_t=6,kt=null;return}}else if(o=B5(o,t,dr),o!==null){kt=o;return}if(t=t.sibling,t!==null){kt=t;return}kt=t=e}while(t!==null);_t===0&&(_t=5)}function Gs(e,t,o){var r=Ge,n=Fr.transition;try{Fr.transition=null,Ge=1,K5(e,t,o,r)}finally{Fr.transition=n,Ge=r}return null}function K5(e,t,o,r){do Pu();while(ki!==null);if(Ee&6)throw Error(q(327));o=e.finishedWork;var n=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(q(177));e.callbackNode=null,e.callbackPriority=0;var a=o.lanes|o.childLanes;if(M4(e,a),e===$t&&(kt=$t=null,no=0),!(o.subtreeFlags&2064)&&!(o.flags&2064)||gg||(gg=!0,_1(kg,function(){return Pu(),null})),a=(o.flags&15990)!==0,o.subtreeFlags&15990||a){a=Fr.transition,Fr.transition=null;var i=Ge;Ge=1;var s=Ee;Ee|=4,Vw.current=null,z5(e,o),T1(o,e),h5(OC),Eg=!!NC,OC=NC=null,e.current=o,G5(o,e,n),w4(),Ee=s,Ge=i,Fr.transition=a}else e.current=o;if(gg&&(gg=!1,ki=e,$g=n),a=e.pendingLanes,a===0&&(Oi=null),R4(o.stateNode,r),Xo(e,Rt()),t!==null)for(r=e.onRecoverableError,o=0;o<t.length;o++)n=t[o],r(n.value,{componentStack:n.stack,digest:n.digest});if(qg)throw qg=!1,e=tw,tw=null,e;return $g&1&&e.tag!==0&&Pu(),a=e.pendingLanes,a&1?e===ow?jd++:(jd=0,ow=e):jd=0,zi(),null}function Pu(){if(ki!==null){var e=mT($g),t=Fr.transition,o=Ge;try{if(Fr.transition=null,Ge=16>e?16:e,ki===null)var r=!1;else{if(e=ki,ki=null,$g=0,Ee&6)throw Error(q(331));var n=Ee;for(Ee|=4,re=e.current;re!==null;){var a=re,i=a.child;if(re.flags&16){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(re=u;re!==null;){var c=re;switch(c.tag){case 0:case 11:case 15:Gd(8,c,a)}var d=c.child;if(d!==null)d.return=c,re=d;else for(;re!==null;){c=re;var f=c.sibling,p=c.return;if(I1(c),c===u){re=null;break}if(f!==null){f.return=p,re=f;break}re=p}}}var g=a.alternate;if(g!==null){var m=g.child;if(m!==null){g.child=null;do{var x=m.sibling;m.sibling=null,m=x}while(m!==null)}}re=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,re=i;else e:for(;re!==null;){if(a=re,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Gd(9,a,a.return)}var h=a.sibling;if(h!==null){h.return=a.return,re=h;break e}re=a.return}}var v=e.current;for(re=v;re!==null;){i=re;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,re=y;else e:for(i=v;re!==null;){if(s=re,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:nh(9,s)}}catch(w){xt(s,s.return,w)}if(s===i){re=null;break e}var C=s.sibling;if(C!==null){C.return=s.return,re=C;break e}re=s.return}}if(Ee=n,zi(),ra&&typeof ra.onPostCommitFiberRoot=="function")try{ra.onPostCommitFiberRoot(Yg,e)}catch{}r=!0}return r}finally{Ge=o,Fr.transition=t}}return!1}function UL(e,t,o){t=Au(o,t),t=m1(e,t,1),e=Ni(e,t,1),t=No(),e!==null&&(cf(e,1,t),Xo(e,t))}function xt(e,t,o){if(e.tag===3)UL(e,e,o);else for(;t!==null;){if(t.tag===3){UL(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Oi===null||!Oi.has(r))){e=Au(o,e),e=g1(t,e,1),t=Ni(t,e,1),e=No(),t!==null&&(cf(t,1,e),Xo(t,e));break}}t=t.return}}function X5(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),t=No(),e.pingedLanes|=e.suspendedLanes&o,$t===e&&(no&o)===o&&(_t===4||_t===3&&(no&130023424)===no&&500>Rt()-Hw?$s(e,0):Bw|=o),Xo(e,t)}function O1(e,t){t===0&&(e.mode&1?(t=tg,tg<<=1,!(tg&130023424)&&(tg=4194304)):t=1);var o=No();e=Da(e,t),e!==null&&(cf(e,t,o),Xo(e,o))}function Y5(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),O1(e,o)}function Q5(e,t){var o=0;switch(e.tag){case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(o=n.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(q(314))}r!==null&&r.delete(t),O1(e,o)}var F1;F1=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||$o.current)qo=!0;else{if(!(e.lanes&o)&&!(t.flags&128))return qo=!1,V5(e,t,o);qo=!!(e.flags&131072)}else qo=!1,st&&t.flags&1048576&&HT(t,Vg,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Sg(e,t),e=t.pendingProps;var n=Tu(t,xo.current);Iu(t,o),n=Dw(null,t,r,e,n,o);var a=Nw();return t.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ko(r)?(a=!0,Fg(t)):a=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Tw(t),n.updater=rh,t.stateNode=n,n._reactInternals=t,WC(t,r,e,o),t=$C(null,t,r,!0,a,o)):(t.tag=0,st&&a&&ww(t),Do(null,t,n,o),t=t.child),t;case 16:r=t.elementType;e:{switch(Sg(e,t),e=t.pendingProps,n=r._init,r=n(r._payload),t.type=r,n=t.tag=J5(r),e=hn(r,e),n){case 0:t=qC(null,t,r,e,o);break e;case 1:t=EL(null,t,r,e,o);break e;case 11:t=kL(null,t,r,e,o);break e;case 14:t=ML(null,t,r,hn(r.type,e),o);break e}throw Error(q(306,r,""))}return t;case 0:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:hn(r,n),qC(e,t,r,n,o);case 1:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:hn(r,n),EL(e,t,r,n,o);case 3:e:{if(y1(t),e===null)throw Error(q(387));r=t.pendingProps,a=t.memoizedState,n=a.element,qT(e,t),Ug(t,r,null,o);var i=t.memoizedState;if(r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){n=Au(Error(q(423)),t),t=AL(e,t,r,o,n);break e}else if(r!==n){n=Au(Error(q(424)),t),t=AL(e,t,r,o,n);break e}else for(fr=Di(t.stateNode.containerInfo.firstChild),pr=t,st=!0,xn=null,o=WT(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(ku(),r===n){t=Na(e,t,o);break e}Do(e,t,r,o)}t=t.child}return t;case 5:return $T(t),e===null&&UC(t),r=t.type,n=t.pendingProps,a=e!==null?e.memoizedProps:null,i=n.children,FC(r,n)?i=null:a!==null&&FC(r,a)&&(t.flags|=32),x1(e,t),Do(e,t,i,o),t.child;case 6:return e===null&&UC(t),null;case 13:return C1(e,t,o);case 4:return kw(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Mu(t,null,r,o):Do(e,t,r,o),t.child;case 11:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:hn(r,n),kL(e,t,r,n,o);case 7:return Do(e,t,t.pendingProps,o),t.child;case 8:return Do(e,t,t.pendingProps.children,o),t.child;case 12:return Do(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(r=t.type._context,n=t.pendingProps,a=t.memoizedProps,i=n.value,Ye(Bg,r._currentValue),r._currentValue=i,a!==null)if(wn(a.value,i)){if(a.children===n.children&&!$o.current){t=Na(e,t,o);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){i=a.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=Ma(-1,o&-o),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=o,l=a.alternate,l!==null&&(l.lanes|=o),zC(a.return,o,t),s.lanes|=o;break}l=l.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(q(341));i.lanes|=o,s=i.alternate,s!==null&&(s.lanes|=o),zC(i,o,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Do(e,t,n.children,o),t=t.child}return t;case 9:return n=t.type,r=t.pendingProps.children,Iu(t,o),n=_r(n),r=r(n),t.flags|=1,Do(e,t,r,o),t.child;case 14:return r=t.type,n=hn(r,t.pendingProps),n=hn(r.type,n),ML(e,t,r,n,o);case 15:return h1(e,t,t.type,t.pendingProps,o);case 17:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:hn(r,n),Sg(e,t),t.tag=1,Ko(r)?(e=!0,Fg(t)):e=!1,Iu(t,o),p1(t,r,n),WC(t,r,n,o),$C(null,t,r,!0,e,o);case 19:return w1(e,t,o);case 22:return v1(e,t,o)}throw Error(q(156,t.tag))};function _1(e,t){return cT(e,t)}function Z5(e,t,o,r){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Or(e,t,o,r){return new Z5(e,t,o,r)}function Ww(e){return e=e.prototype,!(!e||!e.isReactComponent)}function J5(e){if(typeof e=="function")return Ww(e)?1:0;if(e!=null){if(e=e.$$typeof,e===uw)return 11;if(e===cw)return 14}return 2}function _i(e,t){var o=e.alternate;return o===null?(o=Or(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Ig(e,t,o,r,n,a){var i=2;if(r=e,typeof e=="function")Ww(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case cu:return Ks(o.children,n,a,t);case lw:i=8,n|=8;break;case mC:return e=Or(12,o,t,n|2),e.elementType=mC,e.lanes=a,e;case gC:return e=Or(13,o,t,n),e.elementType=gC,e.lanes=a,e;case hC:return e=Or(19,o,t,n),e.elementType=hC,e.lanes=a,e;case $L:return ih(o,n,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jL:i=10;break e;case qL:i=9;break e;case uw:i=11;break e;case cw:i=14;break e;case Ri:i=16,r=null;break e}throw Error(q(130,e==null?e:typeof e,""))}return t=Or(i,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function Ks(e,t,o,r){return e=Or(7,e,r,t),e.lanes=o,e}function ih(e,t,o,r){return e=Or(22,e,r,t),e.elementType=$L,e.lanes=o,e.stateNode={isHidden:!1},e}function dC(e,t,o){return e=Or(6,e,null,t),e.lanes=o,e}function fC(e,t,o){return t=Or(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function eG(e,t,o,r,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xy(0),this.expirationTimes=Xy(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xy(0),this.identifierPrefix=r,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function jw(e,t,o,r,n,a,i,s,l){return e=new eG(e,t,o,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Or(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Tw(a),e}function tG(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:uu,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}function V1(e){if(!e)return Bi;e=e._reactInternals;e:{if(tl(e)!==e||e.tag!==1)throw Error(q(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ko(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(q(171))}if(e.tag===1){var o=e.type;if(Ko(o))return VT(e,o,t)}return t}function B1(e,t,o,r,n,a,i,s,l){return e=jw(o,r,!0,e,n,a,i,s,l),e.context=V1(null),o=e.current,r=No(),n=Fi(o),a=Ma(r,n),a.callback=t??null,Ni(o,a,n),e.current.lanes=n,cf(e,n,r),Xo(e,r),e}function sh(e,t,o,r){var n=t.current,a=No(),i=Fi(n);return o=V1(o),t.context===null?t.context=o:t.pendingContext=o,t=Ma(a,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Ni(n,t,i),e!==null&&(Cn(e,n,i,a),yg(e,n,i)),i}function Xg(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function zL(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function qw(e,t){zL(e,t),(e=e.alternate)&&zL(e,t)}function oG(){return null}var H1=typeof reportError=="function"?reportError:function(e){console.error(e)};function $w(e){this._internalRoot=e}lh.prototype.render=$w.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(q(409));sh(e,t,null,null)};lh.prototype.unmount=$w.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Js(function(){sh(null,e,null,null)}),t[Aa]=null}};function lh(e){this._internalRoot=e}lh.prototype.unstable_scheduleHydration=function(e){if(e){var t=vT();e={blockedOn:null,target:e,priority:t};for(var o=0;o<Pi.length&&t!==0&&t<Pi[o].priority;o++);Pi.splice(o,0,e),o===0&&yT(e)}};function Kw(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function uh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function GL(){}function rG(e,t,o,r,n){if(n){if(typeof r=="function"){var a=r;r=function(){var u=Xg(i);a.call(u)}}var i=B1(t,r,e,0,null,!1,!1,"",GL);return e._reactRootContainer=i,e[Aa]=i.current,ef(e.nodeType===8?e.parentNode:e),Js(),i}for(;n=e.lastChild;)e.removeChild(n);if(typeof r=="function"){var s=r;r=function(){var u=Xg(l);s.call(u)}}var l=jw(e,0,!1,null,null,!1,!1,"",GL);return e._reactRootContainer=l,e[Aa]=l.current,ef(e.nodeType===8?e.parentNode:e),Js(function(){sh(t,l,o,r)}),l}function ch(e,t,o,r,n){var a=o._reactRootContainer;if(a){var i=a;if(typeof n=="function"){var s=n;n=function(){var l=Xg(i);s.call(l)}}sh(t,i,e,n)}else i=rG(o,t,e,n,r);return Xg(i)}gT=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=Od(t.pendingLanes);o!==0&&(pw(t,o|1),Xo(t,Rt()),!(Ee&6)&&(Du=Rt()+500,zi()))}break;case 13:Js(function(){var r=Da(e,1);if(r!==null){var n=No();Cn(r,e,1,n)}}),qw(e,1)}};mw=function(e){if(e.tag===13){var t=Da(e,134217728);if(t!==null){var o=No();Cn(t,e,134217728,o)}qw(e,134217728)}};hT=function(e){if(e.tag===13){var t=Fi(e),o=Da(e,t);if(o!==null){var r=No();Cn(o,e,t,r)}qw(e,t)}};vT=function(){return Ge};xT=function(e,t){var o=Ge;try{return Ge=e,t()}finally{Ge=o}};PC=function(e,t,o){switch(t){case"input":if(yC(e,o),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=eh(r);if(!n)throw Error(q(90));XL(r),yC(r,n)}}}break;case"textarea":QL(e,o);break;case"select":t=o.value,t!=null&&wu(e,!!o.multiple,t,!1)}};nT=Uw;aT=Js;var nG={usingClientEntryPoint:!1,Events:[ff,mu,eh,oT,rT,Uw]},Ed={findFiberByHostInstance:Ws,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},aG={bundleType:Ed.bundleType,version:Ed.version,rendererPackageName:Ed.rendererPackageName,rendererConfig:Ed.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Oa.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=lT(e),e===null?null:e.stateNode},findFiberByHostInstance:Ed.findFiberByHostInstance||oG,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Ad=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Ad.isDisabled&&Ad.supportsFiber))try{Yg=Ad.inject(aG),ra=Ad}catch{}var Ad;hr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nG;hr.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kw(t))throw Error(q(200));return tG(e,t,null,o)};hr.createRoot=function(e,t){if(!Kw(e))throw Error(q(299));var o=!1,r="",n=H1;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=jw(e,1,!1,null,null,o,!1,r,n),e[Aa]=t.current,ef(e.nodeType===8?e.parentNode:e),new $w(t)};hr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(q(188)):(e=Object.keys(e).join(","),Error(q(268,e)));return e=lT(t),e=e===null?null:e.stateNode,e};hr.flushSync=function(e){return Js(e)};hr.hydrate=function(e,t,o){if(!uh(t))throw Error(q(200));return ch(null,e,t,!0,o)};hr.hydrateRoot=function(e,t,o){if(!Kw(e))throw Error(q(405));var r=o!=null&&o.hydratedSources||null,n=!1,a="",i=H1;if(o!=null&&(o.unstable_strictMode===!0&&(n=!0),o.identifierPrefix!==void 0&&(a=o.identifierPrefix),o.onRecoverableError!==void 0&&(i=o.onRecoverableError)),t=B1(t,null,e,1,o??null,n,!1,a,i),e[Aa]=t.current,ef(e),r)for(e=0;e<r.length;e++)o=r[e],n=o._getVersion,n=n(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,n]:t.mutableSourceEagerHydrationData.push(o,n);return new lh(t)};hr.render=function(e,t,o){if(!uh(t))throw Error(q(200));return ch(null,e,t,!1,o)};hr.unmountComponentAtNode=function(e){if(!uh(e))throw Error(q(40));return e._reactRootContainer?(Js(function(){ch(null,null,e,!1,function(){e._reactRootContainer=null,e[Aa]=null})}),!0):!1};hr.unstable_batchedUpdates=Uw;hr.unstable_renderSubtreeIntoContainer=function(e,t,o,r){if(!uh(o))throw Error(q(200));if(e==null||e._reactInternals===void 0)throw Error(q(38));return ch(e,t,o,!1,r)};hr.version="18.3.1-next-f1338f8080-20240426"});var Fa=au((Gee,G1)=>{"use strict";function z1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(z1)}catch(e){console.error(e)}}z1(),G1.exports=U1()});var Vk=au(_k=>{"use strict";var Yu=M();function dj(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var fj=typeof Object.is=="function"?Object.is:dj,pj=Yu.useState,mj=Yu.useEffect,gj=Yu.useLayoutEffect,hj=Yu.useDebugValue;function vj(e,t){var o=t(),r=pj({inst:{value:o,getSnapshot:t}}),n=r[0].inst,a=r[1];return gj(function(){n.value=o,n.getSnapshot=t,d0(n)&&a({inst:n})},[e,o,t]),mj(function(){return d0(n)&&a({inst:n}),e(function(){d0(n)&&a({inst:n})})},[e]),hj(o),o}function d0(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!fj(e,o)}catch{return!0}}function xj(e,t){return t()}var yj=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?xj:vj;_k.useSyncExternalStore=Yu.useSyncExternalStore!==void 0?Yu.useSyncExternalStore:yj});var Hk=au((Jne,Bk)=>{"use strict";Bk.exports=Vk()});var Sh=R(M());var Qo=R(M(),1);var Mr=R(M(),1),Oy=R(N(),1);function CP(e,t){let o=Mr.createContext(t),r=a=>{let{children:i,...s}=a,l=Mr.useMemo(()=>s,Object.values(s));return(0,Oy.jsx)(o.Provider,{value:l,children:i})};r.displayName=e+"Provider";function n(a){let i=Mr.useContext(o);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,n]}function Oe(e,t=[]){let o=[];function r(a,i){let s=Mr.createContext(i),l=o.length;o=[...o,i];let u=d=>{let{scope:f,children:p,...g}=d,m=f?.[e]?.[l]||s,x=Mr.useMemo(()=>g,Object.values(g));return(0,Oy.jsx)(m.Provider,{value:x,children:p})};u.displayName=a+"Provider";function c(d,f){let p=f?.[e]?.[l]||s,g=Mr.useContext(p);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[u,c]}let n=()=>{let a=o.map(i=>Mr.createContext(i));return function(s){let l=s?.[e]||a;return Mr.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return n.scopeName=e,[r,Kz(n,...t)]}function Kz(...e){let t=e[0];if(e.length===1)return t;let o=()=>{let r=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){let i=r.reduce((s,{useScope:l,scopeName:u})=>{let d=l(a)[`__scope${u}`];return{...s,...d}},{});return Mr.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return o.scopeName=t.scopeName,o}var wi=R(M(),1);var SP=R(M(),1);function wP(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function cr(...e){return t=>{let o=!1,r=e.map(n=>{let a=wP(n,t);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let n=0;n<r.length;n++){let a=r[n];typeof a=="function"?a():wP(e[n],null)}}}}function de(...e){return SP.useCallback(cr(...e),e)}var Ot=R(M(),1);var iu=R(N(),1);function Wo(e){let t=Xz(e),o=Ot.forwardRef((r,n)=>{let{children:a,...i}=r,s=Ot.Children.toArray(a),l=s.find(Yz);if(l){let u=l.props.children,c=s.map(d=>d===l?Ot.Children.count(u)>1?Ot.Children.only(null):Ot.isValidElement(u)?u.props.children:null:d);return(0,iu.jsx)(t,{...i,ref:n,children:Ot.isValidElement(u)?Ot.cloneElement(u,void 0,c):null})}return(0,iu.jsx)(t,{...i,ref:n,children:a})});return o.displayName=`${e}.Slot`,o}var Gm=Wo("Slot");function Xz(e){let t=Ot.forwardRef((o,r)=>{let{children:n,...a}=o;if(Ot.isValidElement(n)){let i=Zz(n),s=Qz(a,n.props);return n.type!==Ot.Fragment&&(s.ref=r?cr(r,i):i),Ot.cloneElement(n,s)}return Ot.Children.count(n)>1?Ot.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bP=Symbol("radix.slottable");function RP(e){let t=({children:o})=>(0,iu.jsx)(iu.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=bP,t}function Yz(e){return Ot.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bP}function Qz(e,t){let o={...t};for(let r in t){let n=e[r],a=t[r];/^on[A-Z]/.test(r)?n&&a?o[r]=(...s)=>{let l=a(...s);return n(...s),l}:n&&(o[r]=n):r==="style"?o[r]={...n,...a}:r==="className"&&(o[r]=[n,a].filter(Boolean).join(" "))}return{...e,...o}}function Zz(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var Wm=R(N(),1),Jz=R(M(),1);var e4=R(N(),1);function Zn(e){let t=e+"CollectionProvider",[o,r]=Oe(t),[n,a]=o(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{let{scope:x,children:h}=m,v=wi.default.useRef(null),y=wi.default.useRef(new Map).current;return(0,Wm.jsx)(n,{scope:x,itemMap:y,collectionRef:v,children:h})};i.displayName=t;let s=e+"CollectionSlot",l=Wo(s),u=wi.default.forwardRef((m,x)=>{let{scope:h,children:v}=m,y=a(s,h),C=de(x,y.collectionRef);return(0,Wm.jsx)(l,{ref:C,children:v})});u.displayName=s;let c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Wo(c),p=wi.default.forwardRef((m,x)=>{let{scope:h,children:v,...y}=m,C=wi.default.useRef(null),w=de(x,C),b=a(c,h);return wi.default.useEffect(()=>(b.itemMap.set(C,{ref:C,...y}),()=>void b.itemMap.delete(C))),(0,Wm.jsx)(f,{[d]:"",ref:w,children:v})});p.displayName=c;function g(m){let x=a(e+"CollectionConsumer",m);return wi.default.useCallback(()=>{let v=x.collectionRef.current;if(!v)return[];let y=Array.from(v.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((b,S)=>y.indexOf(b.ref.current)-y.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},g,r]}var Nee=!!(typeof window<"u"&&window.document&&window.document.createElement);function W(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e?.(n),o===!1||!n.defaultPrevented)return t?.(n)}}var Er=R(M(),1);var IP=R(M(),1),_e=globalThis?.document?IP.useLayoutEffect:()=>{};var jm=R(M(),1);var t4=Er[" useInsertionEffect ".trim().toString()]||_e;function qe({prop:e,defaultProp:t,onChange:o=()=>{},caller:r}){let[n,a,i]=o4({defaultProp:t,onChange:o}),s=e!==void 0,l=s?e:n;{let c=Er.useRef(e!==void 0);Er.useEffect(()=>{let d=c.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,r])}let u=Er.useCallback(c=>{if(s){let d=r4(c)?c(e):c;d!==e&&i.current?.(d)}else a(c)},[s,e,a,i]);return[l,u]}function o4({defaultProp:e,onChange:t}){let[o,r]=Er.useState(e),n=Er.useRef(o),a=Er.useRef(t);return t4(()=>{a.current=t},[t]),Er.useEffect(()=>{n.current!==o&&(a.current?.(o),n.current=o)},[o,n]),[o,r,a]}function r4(e){return typeof e=="function"}var Vee=Symbol("RADIX:SYNC_STATE");var W1=R(M(),1),j1=R(Fa(),1);var q1=R(N(),1),iG=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$=iG.reduce((e,t)=>{let o=Wo(`Primitive.${t}`),r=W1.forwardRef((n,a)=>{let{asChild:i,...s}=n,l=i?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,q1.jsx)(l,{...s,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Fu(e,t){e&&j1.flushSync(()=>e.dispatchEvent(t))}var io=R(M(),1);var Yo=R(M(),1);var $1=R(M(),1);function sG(e,t){return $1.useReducer((o,r)=>t[o][r]??o,e)}var lt=e=>{let{present:t,children:o}=e,r=lG(t),n=typeof o=="function"?o({present:r.isPresent}):Yo.Children.only(o),a=de(r.ref,uG(n));return typeof o=="function"||r.isPresent?Yo.cloneElement(n,{ref:a}):null};lt.displayName="Presence";function lG(e){let[t,o]=Yo.useState(),r=Yo.useRef(null),n=Yo.useRef(e),a=Yo.useRef("none"),i=e?"mounted":"unmounted",[s,l]=sG(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Yo.useEffect(()=>{let u=dh(r.current);a.current=s==="mounted"?u:"none"},[s]),_e(()=>{let u=r.current,c=n.current;if(c!==e){let f=a.current,p=dh(u);e?l("MOUNT"):p==="none"||u?.display==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,l]),_e(()=>{if(t){let u,c=t.ownerDocument.defaultView??window,d=p=>{let m=dh(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&m&&(l("ANIMATION_END"),!n.current)){let x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=p=>{p.target===t&&(a.current=dh(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Yo.useCallback(u=>{r.current=u?getComputedStyle(u):null,o(u)},[])}}function dh(e){return e?.animationName||"none"}function uG(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var Xw=R(M(),1);var cG=Xw[" useId ".trim().toString()]||(()=>{}),dG=0;function Ae(e){let[t,o]=Xw.useState(cG());return _e(()=>{e||o(r=>r??String(dG++))},[e]),e||(t?`radix-${t}`:"")}var ol=R(N(),1),fh="Collapsible",[fG,Yw]=Oe(fh),[pG,Qw]=fG(fh),K1=io.forwardRef((e,t)=>{let{__scopeCollapsible:o,open:r,defaultOpen:n,disabled:a,onOpenChange:i,...s}=e,[l,u]=qe({prop:r,defaultProp:n??!1,onChange:i,caller:fh});return(0,ol.jsx)(pG,{scope:o,disabled:a,contentId:Ae(),open:l,onOpenToggle:io.useCallback(()=>u(c=>!c),[u]),children:(0,ol.jsx)($.div,{"data-state":Jw(l),"data-disabled":a?"":void 0,...s,ref:t})})});K1.displayName=fh;var X1="CollapsibleTrigger",Y1=io.forwardRef((e,t)=>{let{__scopeCollapsible:o,...r}=e,n=Qw(X1,o);return(0,ol.jsx)($.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":Jw(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...r,ref:t,onClick:W(e.onClick,n.onOpenToggle)})});Y1.displayName=X1;var Zw="CollapsibleContent",Q1=io.forwardRef((e,t)=>{let{forceMount:o,...r}=e,n=Qw(Zw,e.__scopeCollapsible);return(0,ol.jsx)(lt,{present:o||n.open,children:({present:a})=>(0,ol.jsx)(mG,{...r,ref:t,present:a})})});Q1.displayName=Zw;var mG=io.forwardRef((e,t)=>{let{__scopeCollapsible:o,present:r,children:n,...a}=e,i=Qw(Zw,o),[s,l]=io.useState(r),u=io.useRef(null),c=de(t,u),d=io.useRef(0),f=d.current,p=io.useRef(0),g=p.current,m=i.open||s,x=io.useRef(m),h=io.useRef(void 0);return io.useEffect(()=>{let v=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(v)},[]),_e(()=>{let v=u.current;if(v){h.current=h.current||{transitionDuration:v.style.transitionDuration,animationName:v.style.animationName},v.style.transitionDuration="0s",v.style.animationName="none";let y=v.getBoundingClientRect();d.current=y.height,p.current=y.width,x.current||(v.style.transitionDuration=h.current.transitionDuration,v.style.animationName=h.current.animationName),l(r)}},[i.open,r]),(0,ol.jsx)($.div,{"data-state":Jw(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!m,...a,ref:c,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:m&&n})});function Jw(e){return e?"open":"closed"}var ph=K1,_u=Y1,mf=Q1;var mh=R(M(),1),gG=R(N(),1),hG=mh.createContext(void 0);function aa(e){let t=mh.useContext(hG);return e||t||"ltr"}var Vt=R(N(),1),Sn="Accordion",vG=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[t0,xG,yG]=Zn(Sn),[hh,gte]=Oe(Sn,[yG,Yw]),o0=Yw(),J1=Qo.default.forwardRef((e,t)=>{let{type:o,...r}=e,n=r,a=r;return(0,Vt.jsx)(t0.Provider,{scope:e.__scopeAccordion,children:o==="multiple"?(0,Vt.jsx)(bG,{...a,ref:t}):(0,Vt.jsx)(SG,{...n,ref:t})})});J1.displayName=Sn;var[ek,CG]=hh(Sn),[tk,wG]=hh(Sn,{collapsible:!1}),SG=Qo.default.forwardRef((e,t)=>{let{value:o,defaultValue:r,onValueChange:n=()=>{},collapsible:a=!1,...i}=e,[s,l]=qe({prop:o,defaultProp:r??"",onChange:n,caller:Sn});return(0,Vt.jsx)(ek,{scope:e.__scopeAccordion,value:Qo.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:Qo.default.useCallback(()=>a&&l(""),[a,l]),children:(0,Vt.jsx)(tk,{scope:e.__scopeAccordion,collapsible:a,children:(0,Vt.jsx)(ok,{...i,ref:t})})})}),bG=Qo.default.forwardRef((e,t)=>{let{value:o,defaultValue:r,onValueChange:n=()=>{},...a}=e,[i,s]=qe({prop:o,defaultProp:r??[],onChange:n,caller:Sn}),l=Qo.default.useCallback(c=>s((d=[])=>[...d,c]),[s]),u=Qo.default.useCallback(c=>s((d=[])=>d.filter(f=>f!==c)),[s]);return(0,Vt.jsx)(ek,{scope:e.__scopeAccordion,value:i,onItemOpen:l,onItemClose:u,children:(0,Vt.jsx)(tk,{scope:e.__scopeAccordion,collapsible:!0,children:(0,Vt.jsx)(ok,{...a,ref:t})})})}),[RG,vh]=hh(Sn),ok=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,disabled:r,dir:n,orientation:a="vertical",...i}=e,s=Qo.default.useRef(null),l=de(s,t),u=xG(o),d=aa(n)==="ltr",f=W(e.onKeyDown,p=>{if(!vG.includes(p.key))return;let g=p.target,m=u().filter(I=>!I.ref.current?.disabled),x=m.findIndex(I=>I.ref.current===g),h=m.length;if(x===-1)return;p.preventDefault();let v=x,y=0,C=h-1,w=()=>{v=x+1,v>C&&(v=y)},b=()=>{v=x-1,v<y&&(v=C)};switch(p.key){case"Home":v=y;break;case"End":v=C;break;case"ArrowRight":a==="horizontal"&&(d?w():b());break;case"ArrowDown":a==="vertical"&&w();break;case"ArrowLeft":a==="horizontal"&&(d?b():w());break;case"ArrowUp":a==="vertical"&&b();break}let S=v%h;m[S].ref.current?.focus()});return(0,Vt.jsx)(RG,{scope:o,disabled:r,direction:n,orientation:a,children:(0,Vt.jsx)(t0.Slot,{scope:o,children:(0,Vt.jsx)($.div,{...i,"data-orientation":a,ref:l,onKeyDown:r?void 0:f})})})}),gh="AccordionItem",[IG,r0]=hh(gh),rk=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,value:r,...n}=e,a=vh(gh,o),i=CG(gh,o),s=o0(o),l=Ae(),u=r&&i.value.includes(r)||!1,c=a.disabled||e.disabled;return(0,Vt.jsx)(IG,{scope:o,open:u,disabled:c,triggerId:l,children:(0,Vt.jsx)(ph,{"data-orientation":a.orientation,"data-state":uk(u),...s,...n,ref:t,disabled:c,open:u,onOpenChange:d=>{d?i.onItemOpen(r):i.onItemClose(r)}})})});rk.displayName=gh;var nk="AccordionHeader",ak=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,...r}=e,n=vh(Sn,o),a=r0(nk,o);return(0,Vt.jsx)($.h3,{"data-orientation":n.orientation,"data-state":uk(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})});ak.displayName=nk;var e0="AccordionTrigger",ik=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,...r}=e,n=vh(Sn,o),a=r0(e0,o),i=wG(e0,o),s=o0(o);return(0,Vt.jsx)(t0.ItemSlot,{scope:o,children:(0,Vt.jsx)(_u,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:a.triggerId,...s,...r,ref:t})})});ik.displayName=e0;var sk="AccordionContent",lk=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,...r}=e,n=vh(Sn,o),a=r0(sk,o),i=o0(o);return(0,Vt.jsx)(mf,{role:"region","aria-labelledby":a.triggerId,"data-orientation":n.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});lk.displayName=sk;function uk(e){return e?"open":"closed"}var ck=J1,dk=rk,fk=ak,n0=ik,a0=lk;var yh=R(M());var pk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),LG=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,o,r)=>r?r.toUpperCase():o.toLowerCase()),i0=e=>{let t=LG(e);return t.charAt(0).toUpperCase()+t.slice(1)},xh=(...e)=>e.filter((t,o,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===o).join(" ").trim(),mk=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var gf=R(M());var gk={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"};var hk=(0,gf.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:n="",children:a,iconNode:i,...s},l)=>(0,gf.createElement)("svg",{ref:l,...gk,width:t,height:t,stroke:e,strokeWidth:r?Number(o)*24/Number(t):o,className:xh("lucide",n),...!a&&!mk(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,c])=>(0,gf.createElement)(u,c)),...Array.isArray(a)?a:[a]]));var H=(e,t)=>{let o=(0,yh.forwardRef)(({className:r,...n},a)=>(0,yh.createElement)(hk,{ref:a,iconNode:t,className:xh(`lucide-${pk(i0(e))}`,`lucide-${e}`,r),...n}));return o.displayName=i0(e),o};var TG=[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],hf=H("align-center",TG);var kG=[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]],vf=H("align-justify",kG);var MG=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],xf=H("align-left",MG);var EG=[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],yf=H("align-right",EG);var AG=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Vu=H("arrow-down",AG);var DG=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Cf=H("arrow-left",DG);var NG=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],wf=H("arrow-right",NG);var OG=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],Bu=H("arrow-up-down",OG);var FG=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Hu=H("arrow-up",FG);var _G=[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]],Sf=H("bold",_G);var VG=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],rl=H("calendar",VG);var BG=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],yo=H("check",BG);var HG=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ia=H("chevron-down",HG);var UG=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],bn=H("chevron-left",UG);var zG=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Fo=H("chevron-right",zG);var GG=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],bf=H("chevron-up",GG);var WG=[["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"}]],Rn=H("circle-alert",WG);var jG=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Gi=H("circle-check-big",jG);var qG=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],nl=H("circle",qG);var $G=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Rf=H("clock",$G);var KG=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],If=H("code",KG);var XG=[["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"}]],Pf=H("copy",XG);var YG=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Lf=H("credit-card",YG);var QG=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],Uu=H("crown",QG);var ZG=[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]],Tf=H("dot",ZG);var JG=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],sa=H("ellipsis",JG);var eW=[["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"}]],kf=H("external-link",eW);var tW=[["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"}]],al=H("eye",tW);var oW=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Mf=H("file-text",oW);var rW=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Ef=H("file",rW);var nW=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],Af=H("git-fork",nW);var aW=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],il=H("image",aW);var iW=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],zu=H("info",iW);var sW=[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]],Df=H("italic",sW);var lW=[["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"}]],Nf=H("link",lW);var uW=[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]],Of=H("list-ordered",uW);var cW=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],Ff=H("list",cW);var dW=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Bt=H("loader-circle",dW);var fW=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Gu=H("lock",fW);var pW=[["path",{d:"M5 12h14",key:"1ays0h"}]],_f=H("minus",pW);var mW=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],Vf=H("music",mW);var gW=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Wu=H("palette",gW);var hW=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Bf=H("phone",hW);var vW=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],Ch=H("pipette",vW);var xW=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Hf=H("quote",xW);var yW=[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],Uf=H("redo",yW);var CW=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],sl=H("search",CW);var wW=[["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"}]],Zo=H("square-pen",wW);var SW=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Wi=H("star",SW);var bW=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],zf=H("strikethrough",bW);var RW=[["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"}]],ji=H("triangle-alert",RW);var IW=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],Gf=H("underline",IW);var PW=[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]],Wf=H("undo",PW);var LW=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],jf=H("upload",LW);var TW=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],qf=H("video",TW);var kW=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],vr=H("x",kW);var MW=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],ju=H("zap",MW);var Pk=R(M());function vk(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=vk(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function wh(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=vk(e))&&(r&&(r+=" "),r+=t);return r}var u0="-",EW=e=>{let t=DW(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{let s=i.split(u0);return s[0]===""&&s.length!==1&&s.shift(),Ck(s,t)||AW(i)},getConflictingClassGroupIds:(i,s)=>{let l=o[i]||[];return s&&r[i]?[...l,...r[i]]:l}}},Ck=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),n=r?Ck(e.slice(1),r):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(u0);return t.validators.find(({validator:i})=>i(a))?.classGroupId},xk=/^\[(.+)\]$/,AW=e=>{if(xk.test(e)){let t=xk.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},DW=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return OW(Object.entries(e.classGroups),o).forEach(([a,i])=>{l0(i,r,a,t)}),r},l0=(e,t,o,r)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:yk(t,n);a.classGroupId=o;return}if(typeof n=="function"){if(NW(n)){l0(n(r),t,o,r);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([a,i])=>{l0(i,yk(t,a),o,r)})})},yk=(e,t)=>{let o=e;return t.split(u0).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},NW=e=>e.isThemeGetter,OW=(e,t)=>t?e.map(([o,r])=>{let n=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[o,n]}):e,FW=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,n=(a,i)=>{o.set(a,i),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let i=o.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return n(a,i),i},set(a,i){o.has(a)?o.set(a,i):n(a,i)}}},wk="!",_W=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,n=t[0],a=t.length,i=s=>{let l=[],u=0,c=0,d;for(let x=0;x<s.length;x++){let h=s[x];if(u===0){if(h===n&&(r||s.slice(x,x+a)===t)){l.push(s.slice(c,x)),c=x+a;continue}if(h==="/"){d=x;continue}}h==="["?u++:h==="]"&&u--}let f=l.length===0?s:s.substring(c),p=f.startsWith(wk),g=p?f.substring(1):f,m=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:m}};return o?s=>o({className:s,parseClassName:i}):i},VW=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},BW=e=>({cache:FW(e.cacheSize),parseClassName:_W(e),...EW(e)}),HW=/\s+/,UW=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(HW),s="";for(let l=i.length-1;l>=0;l-=1){let u=i[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=o(u),g=!!p,m=r(g?f.substring(0,p):f);if(!m){if(!g){s=u+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=u+(s.length>0?" "+s:s);continue}g=!1}let x=VW(c).join(":"),h=d?x+wk:x,v=h+m;if(a.includes(v))continue;a.push(v);let y=n(m,g);for(let C=0;C<y.length;++C){let w=y[C];a.push(h+w)}s=u+(s.length>0?" "+s:s)}return s};function zW(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Sk(t))&&(r&&(r+=" "),r+=o);return r}var Sk=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Sk(e[r]))&&(o&&(o+=" "),o+=t);return o};function GW(e,...t){let o,r,n,a=i;function i(l){let u=t.reduce((c,d)=>d(c),e());return o=BW(u),r=o.cache.get,n=o.cache.set,a=s,s(l)}function s(l){let u=r(l);if(u)return u;let c=UW(l,o);return n(l,c),c}return function(){return a(zW.apply(null,arguments))}}var ot=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},bk=/^\[(?:([a-z-]+):)?(.+)\]$/i,WW=/^\d+\/\d+$/,jW=new Set(["px","full","screen"]),qW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$W=/\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$/,KW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,XW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,YW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_a=e=>qu(e)||jW.has(e)||WW.test(e),qi=e=>$u(e,"length",nj),qu=e=>!!e&&!Number.isNaN(Number(e)),s0=e=>$u(e,"number",qu),$f=e=>!!e&&Number.isInteger(Number(e)),QW=e=>e.endsWith("%")&&qu(e.slice(0,-1)),Pe=e=>bk.test(e),$i=e=>qW.test(e),ZW=new Set(["length","size","percentage"]),JW=e=>$u(e,ZW,Rk),ej=e=>$u(e,"position",Rk),tj=new Set(["image","url"]),oj=e=>$u(e,tj,ij),rj=e=>$u(e,"",aj),Kf=()=>!0,$u=(e,t,o)=>{let r=bk.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},nj=e=>$W.test(e)&&!KW.test(e),Rk=()=>!1,aj=e=>XW.test(e),ij=e=>YW.test(e);var sj=()=>{let e=ot("colors"),t=ot("spacing"),o=ot("blur"),r=ot("brightness"),n=ot("borderColor"),a=ot("borderRadius"),i=ot("borderSpacing"),s=ot("borderWidth"),l=ot("contrast"),u=ot("grayscale"),c=ot("hueRotate"),d=ot("invert"),f=ot("gap"),p=ot("gradientColorStops"),g=ot("gradientColorStopPositions"),m=ot("inset"),x=ot("margin"),h=ot("opacity"),v=ot("padding"),y=ot("saturate"),C=ot("scale"),w=ot("sepia"),b=ot("skew"),S=ot("space"),I=ot("translate"),P=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto",Pe,t],E=()=>[Pe,t],_=()=>["",_a,qi],D=()=>["auto",qu,Pe],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],O=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",Pe],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ae=()=>[qu,Pe];return{cacheSize:500,separator:":",theme:{colors:[Kf],spacing:[_a,qi],blur:["none","",$i,Pe],brightness:ae(),borderColor:[e],borderRadius:["none","","full",$i,Pe],borderSpacing:E(),borderWidth:_(),contrast:ae(),grayscale:A(),hueRotate:ae(),invert:A(),gap:E(),gradientColorStops:[e],gradientColorStopPositions:[QW,qi],inset:k(),margin:k(),opacity:ae(),padding:E(),saturate:ae(),scale:ae(),sepia:A(),skew:ae(),space:E(),translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",Pe]}],container:["container"],columns:[{columns:[$i]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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"],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:[...z(),Pe]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$f,Pe]}],basis:[{basis:k()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Pe]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",$f,Pe]}],"grid-cols":[{"grid-cols":[Kf]}],"col-start-end":[{col:["auto",{span:["full",$f,Pe]},Pe]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Kf]}],"row-start-end":[{row:["auto",{span:[$f,Pe]},Pe]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Pe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Pe]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Pe,t]}],"min-w":[{"min-w":[Pe,t,"min","max","fit"]}],"max-w":[{"max-w":[Pe,t,"none","full","min","max","fit","prose",{screen:[$i]},$i]}],h:[{h:[Pe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Pe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Pe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Pe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",$i,qi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",s0]}],"font-family":[{font:[Kf]}],"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:["tighter","tight","normal","wide","wider","widest",Pe]}],"line-clamp":[{"line-clamp":["none",qu,s0]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_a,Pe]}],"list-image":[{"list-image":["none",Pe]}],"list-style-type":[{list:["none","disc","decimal",Pe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_a,qi]}],"underline-offset":[{"underline-offset":["auto",_a,Pe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),ej]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",JW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oj]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:F()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[_a,Pe]}],"outline-w":[{outline:[_a,qi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[_a,qi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$i,rj]}],"shadow-color":[{shadow:[Kf]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...O(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":O()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",$i,Pe]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Pe]}],duration:[{duration:ae()}],ease:[{ease:["linear","in","out","in-out",Pe]}],delay:[{delay:ae()}],animate:[{animate:["none","spin","ping","pulse","bounce",Pe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[$f,Pe]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Pe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",Pe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"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",Pe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_a,qi,s0]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}};var Ik=GW(sj);function L(...e){return Ik(wh(e))}function Xf(e){if(e==null||typeof e=="boolean")return"";if(typeof e=="string"||typeof e=="number")return String(e);if(Array.isArray(e))return e.map(Xf).filter(Boolean).join(" ").trim();if(Pk.isValidElement(e)){let t=e.props;return Xf(t.children)}return""}var Ki=R(N()),lj=ck,Lk=Sh.forwardRef(({className:e,...t},o)=>(0,Ki.jsx)(dk,{ref:o,className:L("moonui-theme","border-b border-gray-200 dark:border-gray-800",e),...t}));Lk.displayName="AccordionItem";var Tk=Sh.forwardRef(({className:e,children:t,...o},r)=>(0,Ki.jsx)(fk,{className:"flex",children:(0,Ki.jsxs)(n0,{ref:r,className:L("flex flex-1 items-center justify-between py-4 font-medium transition-all dark:text-gray-100","hover:underline hover:text-primary","[&[data-state=open]>svg]:rotate-180",e),...o,children:[t,(0,Ki.jsx)(ia,{className:"h-4 w-4 shrink-0 transition-transform duration-200 opacity-70 group-hover:opacity-100"})]})}));Tk.displayName=n0.displayName;var kk=Sh.forwardRef(({className:e,children:t,...o},r)=>(0,Ki.jsx)(a0,{ref:r,className:L("overflow-hidden text-sm text-gray-700 dark:text-gray-300 transition-all","data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...o,children:(0,Ki.jsx)("div",{className:"pb-4 pt-0",children:t})}));kk.displayName=a0.displayName;var Ku=R(M());var Mk=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ek=wh,K=(e,t)=>o=>{var r;if(t?.variants==null)return Ek(e,o?.class,o?.className);let{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(u=>{let c=o?.[u],d=a?.[u];if(c===null)return null;let f=Mk(c)||Mk(d);return n[u][f]}),s=o&&Object.entries(o).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...p}=c;return Object.entries(p).every(g=>{let[m,x]=g;return Array.isArray(x)?x.includes({...a,...s}[m]):{...a,...s}[m]===x})?[...u,d,f]:u},[]);return Ek(e,i,l,o?.class,o?.className)};var Va=R(N()),uj=K("relative w-full flex items-center gap-3 p-4 border text-foreground [&>svg]:shrink-0",{variants:{variant:{default:"bg-background text-foreground border-border",primary:"bg-primary/10 text-primary border-primary/30",success:"bg-success/10 text-success border-success/30",warning:"bg-warning/10 text-warning border-warning/30",error:"bg-destructive/10 text-destructive border-destructive/30",info:"bg-info/10 text-info border-info/30"},size:{sm:"py-2 text-xs",md:"py-3 text-sm",lg:"py-4 text-base",default:"py-3 text-sm"},radius:{none:"rounded-none",sm:"rounded-sm",default:"rounded-md",lg:"rounded-lg",full:"rounded-full"},withClose:{true:"pr-10"}},defaultVariants:{variant:"default",size:"md",radius:"default",withClose:!1}}),Ak=Ku.forwardRef(({className:e,variant:t="default",size:o,radius:r,hideIcon:n=!1,closable:a=!1,onClose:i,children:s,...l},u)=>{let c=Ku.useMemo(()=>{switch(t){case"success":return yo;case"warning":return ji;case"error":return Rn;case"info":return zu;default:return zu}},[t]);return(0,Va.jsxs)("div",{ref:u,role:"alert",className:L("moonui-theme",uj({variant:t,size:o,radius:r,withClose:a}),e),...l,children:[!n&&(0,Va.jsx)(c,{className:"h-5 w-5"}),(0,Va.jsx)("div",{className:"flex-1",children:s}),a&&i&&(0,Va.jsx)("button",{onClick:i,className:"absolute right-3 top-3 inline-flex h-6 w-6 items-center justify-center rounded-full opacity-70 transition-opacity hover:opacity-100","aria-label":"Close alert",children:(0,Va.jsx)(vr,{className:"h-4 w-4"})})]})});Ak.displayName="Alert";var Dk=Ku.forwardRef(({className:e,...t},o)=>(0,Va.jsx)("h5",{ref:o,className:L("moonui-theme","font-semibold leading-tight tracking-tight mb-1",e),...t}));Dk.displayName="AlertTitle";var Nk=Ku.forwardRef(({className:e,...t},o)=>(0,Va.jsx)("div",{ref:o,className:L("moonui-theme","text-sm leading-5 text-muted-foreground",e),...t}));Nk.displayName="AlertDescription";var Ok=R(M());var c0=R(N()),cj=K("relative overflow-hidden",{variants:{variant:{default:"bg-muted/10",ghost:"bg-transparent",outline:"border border-border",card:"bg-card shadow-sm"},radius:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}},defaultVariants:{variant:"default",radius:"md"}}),Fk=Ok.forwardRef(({className:e,variant:t,radius:o,ratio:r=16/9,style:n,children:a,...i},s)=>(0,c0.jsx)("div",{ref:s,className:L("moonui-theme",cj({variant:t,radius:o}),e),style:{position:"relative",paddingBottom:`${1/r*100}%`,...n},...i,children:(0,c0.jsx)("div",{className:"absolute inset-0",children:a})}));Fk.displayName="AspectRatio";var ll=R(M());var Br=R(M(),1);var Xu=R(M(),1);function rt(e){let t=Xu.useRef(e);return Xu.useEffect(()=>{t.current=e}),Xu.useMemo(()=>(...o)=>t.current?.(...o),[])}var Uk=R(Hk(),1);function zk(){return(0,Uk.useSyncExternalStore)(Cj,()=>!0,()=>!1)}function Cj(){return()=>{}}var Yf=R(N(),1),f0="Avatar",[wj,iae]=Oe(f0),[Sj,Wk]=wj(f0),jk=Br.forwardRef((e,t)=>{let{__scopeAvatar:o,...r}=e,[n,a]=Br.useState("idle");return(0,Yf.jsx)(Sj,{scope:o,imageLoadingStatus:n,onImageLoadingStatusChange:a,children:(0,Yf.jsx)($.span,{...r,ref:t})})});jk.displayName=f0;var qk="AvatarImage",$k=Br.forwardRef((e,t)=>{let{__scopeAvatar:o,src:r,onLoadingStatusChange:n=()=>{},...a}=e,i=Wk(qk,o),s=bj(r,a),l=rt(u=>{n(u),i.onImageLoadingStatusChange(u)});return _e(()=>{s!=="idle"&&l(s)},[s,l]),s==="loaded"?(0,Yf.jsx)($.img,{...a,ref:t,src:r}):null});$k.displayName=qk;var Kk="AvatarFallback",Xk=Br.forwardRef((e,t)=>{let{__scopeAvatar:o,delayMs:r,...n}=e,a=Wk(Kk,o),[i,s]=Br.useState(r===void 0);return Br.useEffect(()=>{if(r!==void 0){let l=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(l)}},[r]),i&&a.imageLoadingStatus!=="loaded"?(0,Yf.jsx)($.span,{...n,ref:t}):null});Xk.displayName=Kk;function Gk(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function bj(e,{referrerPolicy:t,crossOrigin:o}){let r=zk(),n=Br.useRef(null),a=(()=>r?(n.current||(n.current=new window.Image),n.current):null)(),[i,s]=Br.useState(()=>Gk(a,e));return _e(()=>{s(Gk(a,e))},[a,e]),_e(()=>{let l=d=>()=>{s(d)};if(!a)return;let u=l("loaded"),c=l("error");return a.addEventListener("load",u),a.addEventListener("error",c),t&&(a.referrerPolicy=t),typeof o=="string"&&(a.crossOrigin=o),()=>{a.removeEventListener("load",u),a.removeEventListener("error",c)}},[a,o,t]),i}var p0=jk,m0=$k,g0=Xk;var In=R(N()),Ij=K("relative flex shrink-0 overflow-hidden",{variants:{size:{xs:"h-6 w-6",sm:"h-8 w-8",md:"h-10 w-10",lg:"h-12 w-12",xl:"h-16 w-16","2xl":"h-20 w-20",default:"h-10 w-10"},radius:{default:"rounded-full",sm:"rounded-md",lg:"rounded-xl",full:"rounded-full",none:"rounded-none"},variant:{default:"",ring:"ring-2 ring-border",ringOffset:"ring-2 ring-border ring-offset-2 ring-offset-background",border:"border-2 border-border"}},defaultVariants:{size:"md",radius:"default",variant:"default"}}),h0=ll.forwardRef(({className:e,size:t,radius:o,variant:r,...n},a)=>(0,In.jsx)(p0,{ref:a,className:L("moonui-theme",Ij({size:t,radius:o,variant:r}),e),...n}));h0.displayName=p0.displayName;var Yk=ll.forwardRef(({className:e,...t},o)=>(0,In.jsx)(m0,{ref:o,className:L("moonui-theme","aspect-square h-full w-full",e),...t}));Yk.displayName=m0.displayName;var v0=ll.forwardRef(({className:e,...t},o)=>(0,In.jsx)(g0,{ref:o,className:L("flex h-full w-full items-center justify-center bg-muted",e),...t}));v0.displayName=g0.displayName;var Qk=ll.forwardRef(({className:e,max:t,children:o,overlapOffset:r=-8,...n},a)=>{let i=ll.Children.toArray(o),s=t?i.slice(0,t):i,l=t?Math.max(0,i.length-t):0;return(0,In.jsx)("div",{ref:a,className:L("moonui-theme","flex items-center",e),...n,children:(0,In.jsxs)("div",{className:"flex",children:[s.map((u,c)=>(0,In.jsx)("div",{className:"relative",style:{marginLeft:c===0?0:`${r}px`,zIndex:s.length-c},children:u},c)),l>0&&(0,In.jsx)("div",{className:"relative z-0",style:{marginLeft:`${r}px`},children:(0,In.jsx)(h0,{variant:"border",children:(0,In.jsxs)(v0,{children:["+",l]})})})]})})});Qk.displayName="AvatarGroup";var Zk=R(M());var Co=R(N()),Jk=K(["inline-flex items-center justify-center gap-1.5","font-medium transition-colors duration-200","border focus:outline-none","focus-visible:ring-2 focus-visible:ring-offset-1","mr-2 mb-2 last:mr-0"],{variants:{variant:{primary:["border-transparent bg-primary text-primary-foreground","hover:bg-primary/90","focus-visible:ring-primary/30 dark:focus-visible:ring-primary/40","dark:bg-primary/90 dark:shadow-inner dark:shadow-primary/10"],secondary:["border-transparent bg-secondary text-secondary-foreground","hover:bg-gray-200 dark:hover:bg-gray-600","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:bg-gray-700/50 dark:text-gray-50 dark:shadow-inner dark:shadow-gray-950/10"],outline:["border-gray-200 dark:border-gray-600","bg-transparent text-foreground","hover:border-gray-300 dark:hover:border-gray-500","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:text-gray-100 dark:bg-transparent dark:backdrop-blur-sm"],destructive:["border-transparent bg-error text-white","hover:bg-error/90 dark:hover:bg-error/80","focus-visible:ring-error/30 dark:focus-visible:ring-error/25","dark:bg-error/90 dark:text-white dark:shadow-inner dark:shadow-error/10"],success:["border-transparent bg-success text-success-foreground","hover:bg-success/90 dark:hover:bg-success/80","focus-visible:ring-success/30 dark:focus-visible:ring-success/25","dark:bg-success/90 dark:text-success-foreground dark:shadow-inner dark:shadow-success/10"],warning:["border-transparent bg-warning text-warning-foreground","hover:bg-warning/90 dark:hover:bg-warning/80","focus-visible:ring-warning/30 dark:focus-visible:ring-warning/25","dark:bg-warning/90 dark:text-warning-foreground dark:shadow-inner dark:shadow-warning/10"],ghost:["border border-gray-200 bg-gray-50/50 text-gray-700","hover:bg-gray-100 dark:hover:bg-gray-800/60","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:border-gray-700 dark:bg-gray-800/30 dark:text-gray-300","transition-all duration-200"],pro:["border-transparent bg-gradient-to-r from-purple-600 to-pink-600 text-white","hover:from-purple-700 hover:to-pink-700","focus-visible:ring-purple-400/30 dark:focus-visible:ring-purple-500/40","shadow-md dark:shadow-lg dark:shadow-purple-500/10"],admin:["border-transparent bg-gradient-to-r from-purple-600 to-pink-600 text-white","hover:from-purple-700 hover:to-pink-700","focus-visible:ring-purple-400/30 dark:focus-visible:ring-purple-500/40","shadow-md dark:shadow-lg dark:shadow-purple-500/10"]},size:{sm:"h-5 px-2 text-xs",md:"h-6 px-3 text-sm",lg:"h-8 px-4 text-base"},radius:{default:"rounded-full",sm:"rounded-md",lg:"rounded-xl",none:"rounded-none"}},defaultVariants:{variant:"primary",size:"md",radius:"default"}}),Jo=Zk.forwardRef(({className:e,variant:t,size:o,radius:r,withDot:n,dotColor:a,removable:i,onRemove:s,removeLabel:l,leftIcon:u,rightIcon:c,noAutoSpacing:d,children:f,...p},g)=>{let m=u,x=f;return t==="pro"&&(m=u||(0,Co.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-3 h-3",children:[(0,Co.jsx)("path",{d:"M12 0L13.09 8.26L22 9L13.09 9.74L12 18L10.91 9.74L2 9L10.91 8.26L12 0Z",fill:"currentColor"}),(0,Co.jsx)("path",{d:"M19 5L19.5 7L21 7.5L19.5 8L19 10L18.5 8L17 7.5L18.5 7L19 5Z",fill:"currentColor"}),(0,Co.jsx)("path",{d:"M19 15L19.5 17L21 17.5L19.5 18L19 20L18.5 18L17 17.5L18.5 17L19 15Z",fill:"currentColor"})]}),x=f||"Pro"),t==="admin"&&(m=u||(0,Co.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-3 h-3",children:(0,Co.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",fill:"currentColor"})}),x=f||"Admin Pro"),(0,Co.jsxs)("div",{ref:g,className:L("moonui-theme",Jk({variant:t,size:o,radius:r}),d&&"mr-0 mb-0",e),"data-removable":i?"":void 0,...p,children:[n&&(0,Co.jsx)("span",{className:L("h-2 w-2 rounded-full",a||(t==="destructive"||t==="success"||t==="warning"?"bg-white":t==="secondary"?"bg-secondary-foreground":t==="outline"||t==="ghost"?"bg-foreground":t==="pro"||t==="admin"?"bg-white":"bg-primary-foreground")),"aria-hidden":"true"}),m&&(0,Co.jsx)("span",{className:"inline-flex shrink-0 items-center",children:m}),(0,Co.jsx)("span",{className:"inline-flex items-center",children:x}),c&&(0,Co.jsx)("span",{className:"inline-flex shrink-0 items-center",children:c}),i&&s&&(0,Co.jsx)("button",{type:"button",className:"ml-1 -mr-1 h-3.5 w-3.5 rounded-full inline-flex items-center justify-center hover:bg-black/10 dark:hover:bg-white/10",onClick:h=>{h.stopPropagation(),s()},"aria-label":l||(Xf(x)?`Remove ${Xf(x)}`:"Remove badge"),children:(0,Co.jsx)("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"opacity-70","aria-hidden":"true",children:(0,Co.jsx)("path",{d:"M0.799988 7.19999L7.19999 0.799988M0.799988 0.799988L7.19999 7.19999",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})});Jo.displayName="Badge";var Hr=R(M());var so=R(N()),Pj=K("flex items-center gap-1.5 text-sm",{variants:{variant:{default:"text-foreground transition-colors",muted:"text-muted-foreground transition-colors",ghost:"text-foreground/60 transition-colors"},size:{md:"text-sm",sm:"text-xs",lg:"text-base",default:"text-sm"}},defaultVariants:{variant:"default",size:"md"}}),eM=Hr.createContext(void 0),tM=Hr.forwardRef(({className:e,variant:t,size:o,separator:r,showHomeIcon:n,...a},i)=>(0,so.jsx)(eM.Provider,{value:r,children:(0,so.jsx)("nav",{ref:i,className:L("moonui-theme",Pj({variant:t,size:o}),e),"aria-label":"breadcrumb",...a})}));tM.displayName="Breadcrumb";var oM=Hr.forwardRef(({className:e,collapsed:t,collapsedWidth:o=3,...r},n)=>{let a=Hr.Children.toArray(r.children).filter(Boolean),i=a.length;if(t&&i>o){let s=a[0],l=a.slice(-2);return(0,so.jsxs)("ol",{ref:n,className:L("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...r,children:[s,(0,so.jsx)(x0,{}),l]})}return(0,so.jsx)("ol",{ref:n,className:L("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...r})});oM.displayName="BreadcrumbList";var rM=Hr.forwardRef(({className:e,isCurrent:t,href:o,asChild:r=!1,children:n,...a},i)=>{let s=r?Gm:o?"a":"span",l=!r&&o?{href:o}:{};return(0,so.jsx)("li",{ref:i,className:L("moonui-theme","inline-flex items-center gap-1.5",e),...a,children:(0,so.jsx)(s,{"aria-current":t?"page":void 0,className:L("transition-colors duration-200 hover:text-foreground",t?"font-medium text-foreground":"text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30"),...l,children:n})})});rM.displayName="BreadcrumbItem";var nM=({children:e,className:t,icon:o,...r})=>{let n=Hr.useContext(eM);return(0,so.jsx)("span",{role:"presentation","aria-hidden":"true",className:L("moonui-theme","text-muted-foreground opacity-70",t),...r,children:e||o||n||(0,so.jsx)(Fo,{className:"h-3.5 w-3.5"})})};nM.displayName="BreadcrumbSeparator";var x0=({className:e,icon:t,...o})=>(0,so.jsxs)("span",{role:"presentation",className:L("moonui-theme","flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200",e),...o,children:[(0,so.jsx)("span",{"aria-hidden":"true",className:"flex items-center",children:t||(0,so.jsx)(sa,{className:"h-4 w-4"})}),(0,so.jsx)("span",{className:"sr-only",children:"More pages"})]});x0.displayName="BreadcrumbEllipsis";var aM=Hr.forwardRef(({className:e,href:t,...o},r)=>(0,so.jsx)("a",{ref:r,href:t,className:L("transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30",e),...o}));aM.displayName="BreadcrumbLink";var iM=Hr.forwardRef(({className:e,...t},o)=>(0,so.jsx)("span",{ref:o,className:L("font-medium text-foreground dark:text-white dark:text-opacity-95",e),...t}));iM.displayName="BreadcrumbPage";var sM=R(M());var Rh=R(N()),bh=K(["inline-flex items-center justify-center gap-2 whitespace-nowrap","font-medium relative","transition-all duration-200 ease-out","transform active:scale-[0.98]","focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none disabled:transform-none"],{variants:{variant:{primary:["bg-primary text-primary-foreground","dark:bg-primary dark:text-primary-foreground","hover:bg-primary/90 dark:hover:bg-primary/90","active:bg-primary/80 dark:active:bg-primary/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],secondary:["bg-gray-100 text-gray-900","dark:bg-gray-800 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700","active:bg-gray-300 dark:active:bg-gray-600","border border-input","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","shadow-sm hover:shadow-md"],outline:["bg-background text-foreground","dark:bg-background dark:text-foreground","border border-input dark:border-input","hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground","active:bg-accent/80 dark:active:bg-accent/80","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],ghost:["text-gray-700","dark:text-gray-300","hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-gray-100","active:bg-gray-200 dark:active:bg-gray-700","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],destructive:["bg-destructive text-destructive-foreground","dark:bg-destructive dark:text-destructive-foreground","hover:bg-destructive/90 dark:hover:bg-destructive/90","active:bg-destructive/80 dark:active:bg-destructive/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],success:["bg-success text-success-foreground","dark:bg-success dark:text-success-foreground","hover:bg-success/90 dark:hover:bg-success/90","active:bg-success/80 dark:active:bg-success/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],link:["text-primary bg-transparent","underline-offset-4 hover:underline","hover:text-primary/80 active:text-primary/70","p-0 h-auto","transition-colors duration-200"],gradient:["bg-gradient-to-r from-purple-500 to-pink-500 text-white","hover:from-purple-600 hover:to-pink-600","active:from-purple-700 active:to-pink-700","shadow-xl shadow-purple-500/40","hover:shadow-2xl hover:shadow-purple-500/50","focus-visible:ring-purple-500/50","transition-all duration-300"],glow:["bg-blue-500 text-white","shadow-[0_0_30px_rgba(59,130,246,0.5)]","hover:shadow-[0_0_40px_rgba(59,130,246,0.7)]","active:shadow-[0_0_20px_rgba(59,130,246,0.4)]","hover:bg-blue-600","focus-visible:ring-blue-500/50","transition-all duration-300"],soft:["bg-primary/10 text-primary","hover:bg-primary/20","active:bg-primary/30","focus-visible:ring-primary/50","dark:bg-primary/20 dark:text-primary-foreground","dark:hover:bg-primary/30 dark:active:bg-primary/40","transition-colors duration-200"],glass:["bg-white/10 backdrop-blur-md text-foreground","border border-white/20","hover:bg-white/20 hover:border-white/30","active:bg-white/30","shadow-lg","focus-visible:ring-white/50","dark:bg-gray-800/10 dark:border-gray-700/20","dark:hover:bg-gray-800/20 dark:hover:border-gray-700/30","transition-all duration-200"],neon:["bg-transparent text-green-400","border-2 border-green-400","hover:bg-green-400 hover:text-gray-900","hover:shadow-[0_0_30px_rgba(74,222,128,0.6)]","active:shadow-[0_0_15px_rgba(74,222,128,0.4)]","focus-visible:ring-green-400/50","transition-all duration-300"]},size:{xs:"h-7 px-2.5 text-xs",sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-base",lg:"h-12 px-6 text-lg",xl:"h-14 px-8 text-xl",icon:"h-10 w-10 p-2","icon-sm":"h-8 w-8 p-1.5","icon-lg":"h-12 w-12 p-3"},rounded:{default:"rounded-xl",full:"rounded-full",none:"rounded-none",sm:"rounded-lg",lg:"rounded-2xl"},fullWidth:{true:"w-full"}},defaultVariants:{variant:"primary",size:"md",rounded:"default",fullWidth:!1}}),De=sM.forwardRef(({className:e,variant:t,size:o,rounded:r,fullWidth:n,asChild:a=!1,loading:i=!1,leftIcon:s,rightIcon:l,children:u,disabled:c,...d},f)=>(0,Rh.jsxs)("button",{className:L("moonui-theme",bh({variant:t,size:o,rounded:r,fullWidth:n,className:e})),ref:f,disabled:c||i,"aria-busy":i||void 0,"data-loading":i?"":void 0,...d,children:[i&&(0,Rh.jsx)(Bt,{className:"w-4 h-4 animate-spin","aria-hidden":"true"}),!i&&s,u,!i&&l]}));De.displayName="Button";var Cr=R(M());var Np=R(N(),1),da=R(M(),1);var lM=R(M(),1),Qu=(0,lM.createContext)({});var uM=R(M(),1);function la(e){let t=(0,uM.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Ih=R(M(),1);var Zu=typeof window<"u";var Ju=Zu?Ih.useLayoutEffect:Ih.useEffect;var Z0=R(N(),1),gE=R(M(),1),Ap=R(M(),1);var cM=R(M(),1),Xi=(0,cM.createContext)(null);var pE=R(N(),1);function ul(e,t){e.indexOf(t)===-1&&e.push(t)}function Pn(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var Kt=(e,t,o)=>o>t?t:o<e?e:o;var Ba=()=>{},lo=()=>{};var wo={};var Qf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Zf(e){return typeof e=="object"&&e!==null}var Jf=e=>/^0[^.\s]+$/u.test(e);function cl(e){let t;return()=>(t===void 0&&(t=e()),t)}var gt=e=>e;var Lj=(e,t)=>o=>t(e(o)),Ln=(...e)=>e.reduce(Lj);var Ur=(e,t,o)=>{let r=t-e;return r===0?1:(o-e)/r};var Ha=class{constructor(){this.subscriptions=[]}add(t){return ul(this.subscriptions,t),()=>Pn(this.subscriptions,t)}notify(t,o,r){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,o,r);else for(let a=0;a<n;a++){let i=this.subscriptions[a];i&&i(t,o,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var It=e=>e*1e3,Ht=e=>e/1e3;function ep(e,t){return t?e*(1e3/t):0}var dM=(e,t,o)=>{let r=t-e;return((o-e)%r+r)%r+e};var fM=(e,t,o)=>(((1-3*o+3*t)*e+(3*o-6*t))*e+3*t)*e,Tj=1e-7,kj=12;function Mj(e,t,o,r,n){let a,i,s=0;do i=t+(o-t)/2,a=fM(i,r,n)-e,a>0?o=i:t=i;while(Math.abs(a)>Tj&&++s<kj);return i}function Yi(e,t,o,r){if(e===t&&o===r)return gt;let n=a=>Mj(a,0,1,e,o);return a=>a===0||a===1?a:fM(n(a),t,r)}var Ph=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Lh=e=>t=>1-e(1-t);var Th=Yi(.33,1.53,.69,.99),ec=Lh(Th),tp=Ph(ec);var op=e=>(e*=2)<1?.5*ec(e):.5*(2-Math.pow(2,-10*(e-1)));var rp=e=>1-Math.sin(Math.acos(e)),np=Lh(rp),ap=Ph(rp);var y0=Yi(.42,0,1,1),C0=Yi(0,0,.58,1),ip=Yi(.42,0,.58,1);var sp=e=>Array.isArray(e)&&typeof e[0]!="number";function lp(e,t){return sp(e)?e[dM(0,e.length,t)]:e}var up=e=>Array.isArray(e)&&typeof e[0]=="number";var pM={linear:gt,easeIn:y0,easeInOut:ip,easeOut:C0,circIn:rp,circInOut:ap,circOut:np,backIn:ec,backInOut:tp,backOut:Th,anticipate:op},Ej=e=>typeof e=="string",kh=e=>{if(up(e)){lo(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,o,r,n]=e;return Yi(t,o,r,n)}else if(Ej(e))return lo(pM[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),pM[e];return e};var cp=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var er={value:null,addProjectionMetrics:null};function mM(e,t){let o=new Set,r=new Set,n=!1,a=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){i.has(d)&&(c.schedule(d),e()),l++,d(s)}let c={schedule:(d,f=!1,p=!1)=>{let m=p&&n?o:r;return f&&i.add(d),m.has(d)||m.add(d),d},cancel:d=>{r.delete(d),i.delete(d)},process:d=>{if(s=d,n){a=!0;return}n=!0,[o,r]=[r,o],o.forEach(u),t&&er.value&&er.value.frameloop[t].push(l),l=0,o.clear(),n=!1,a&&(a=!1,c.process(d))}};return c}var Aj=40;function Mh(e,t){let o=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},a=()=>o=!0,i=cp.reduce((y,C)=>(y[C]=mM(a,t?C:void 0),y),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:g}=i,m=()=>{let y=wo.useManualTiming?n.timestamp:performance.now();o=!1,wo.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(y-n.timestamp,Aj),1)),n.timestamp=y,n.isProcessing=!0,s.process(n),l.process(n),u.process(n),c.process(n),d.process(n),f.process(n),p.process(n),g.process(n),n.isProcessing=!1,o&&t&&(r=!1,e(m))},x=()=>{o=!0,r=!0,n.isProcessing||e(m)};return{schedule:cp.reduce((y,C)=>{let w=i[C];return y[C]=(b,S=!1,I=!1)=>(o||x(),w.schedule(b,S,I)),y},{}),cancel:y=>{for(let C=0;C<cp.length;C++)i[cp[C]].cancel(y)},state:n,steps:i}}var{schedule:Le,cancel:So,state:yt,steps:dp}=Mh(typeof requestAnimationFrame<"u"?requestAnimationFrame:gt,!0);var Eh;function Dj(){Eh=void 0}var Ct={now:()=>(Eh===void 0&&Ct.set(yt.isProcessing||wo.useManualTiming?yt.timestamp:performance.now()),Eh),set:e=>{Eh=e,queueMicrotask(Dj)}};var Tn={layout:0,mainThread:0,waapi:0};var gM=e=>t=>typeof t=="string"&&t.startsWith(e),dl=gM("--"),Nj=gM("var(--"),fl=e=>Nj(e)?Oj.test(e.split("/*")[0].trim()):!1,Oj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var ua={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ua={...ua,transform:e=>Kt(0,1,e)},fp={...ua,default:1};var Qi=e=>Math.round(e*1e5)/1e5;var tc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function hM(e){return e==null}var vM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var oc=(e,t)=>o=>!!(typeof o=="string"&&vM.test(o)&&o.startsWith(e)||t&&!hM(o)&&Object.prototype.hasOwnProperty.call(o,t)),Ah=(e,t,o)=>r=>{if(typeof r!="string")return r;let[n,a,i,s]=r.match(tc);return{[e]:parseFloat(n),[t]:parseFloat(a),[o]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}};var Fj=e=>Kt(0,255,e),w0={...ua,transform:e=>Math.round(Fj(e))},ca={test:oc("rgb","red"),parse:Ah("red","green","blue"),transform:({red:e,green:t,blue:o,alpha:r=1})=>"rgba("+w0.transform(e)+", "+w0.transform(t)+", "+w0.transform(o)+", "+Qi(Ua.transform(r))+")"};function _j(e){let t="",o="",r="",n="";return e.length>5?(t=e.substring(1,3),o=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),o=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,o+=o,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var pp={test:oc("#"),parse:_j,transform:ca.transform};var mp=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),kn=mp("deg"),bo=mp("%"),ue=mp("px"),S0=mp("vh"),b0=mp("vw"),Dh=(()=>({...bo,parse:e=>bo.parse(e)/100,transform:e=>bo.transform(e*100)}))();var Zi={test:oc("hsl","hue"),parse:Ah("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:o,alpha:r=1})=>"hsla("+Math.round(e)+", "+bo.transform(Qi(t))+", "+bo.transform(Qi(o))+", "+Qi(Ua.transform(r))+")"};var ut={test:e=>ca.test(e)||pp.test(e)||Zi.test(e),parse:e=>ca.test(e)?ca.parse(e):Zi.test(e)?Zi.parse(e):pp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ca.transform(e):Zi.transform(e),getAnimatableNone:e=>{let t=ut.parse(e);return t.alpha=0,ut.transform(t)}};var xM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Vj(e){return isNaN(e)&&typeof e=="string"&&(e.match(tc)?.length||0)+(e.match(xM)?.length||0)>0}var CM="number",wM="color",Bj="var",Hj="var(",yM="${}",Uj=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ji(e){let t=e.toString(),o=[],r={color:[],number:[],var:[]},n=[],a=0,s=t.replace(Uj,l=>(ut.test(l)?(r.color.push(a),n.push(wM),o.push(ut.parse(l))):l.startsWith(Hj)?(r.var.push(a),n.push(Bj),o.push(l)):(r.number.push(a),n.push(CM),o.push(parseFloat(l))),++a,yM)).split(yM);return{values:o,split:s,indexes:r,types:n}}function SM(e){return Ji(e).values}function bM(e){let{split:t,types:o}=Ji(e),r=t.length;return n=>{let a="";for(let i=0;i<r;i++)if(a+=t[i],n[i]!==void 0){let s=o[i];s===CM?a+=Qi(n[i]):s===wM?a+=ut.transform(n[i]):a+=n[i]}return a}}var zj=e=>typeof e=="number"?0:ut.test(e)?ut.getAnimatableNone(e):e;function Gj(e){let t=SM(e);return bM(e)(t.map(zj))}var Ro={test:Vj,parse:SM,createTransformer:bM,getAnimatableNone:Gj};function R0(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function RM({hue:e,saturation:t,lightness:o,alpha:r}){e/=360,t/=100,o/=100;let n=0,a=0,i=0;if(!t)n=a=i=o;else{let s=o<.5?o*(1+t):o+t-o*t,l=2*o-s;n=R0(l,s,e+1/3),a=R0(l,s,e),i=R0(l,s,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:r}}function rc(e,t){return o=>o>0?t:e}var ke=(e,t,o)=>e+(t-e)*o;var I0=(e,t,o)=>{let r=e*e,n=o*(t*t-r)+r;return n<0?0:Math.sqrt(n)},Wj=[pp,ca,Zi],jj=e=>Wj.find(t=>t.test(e));function IM(e){let t=jj(e);if(Ba(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let o=t.parse(e);return t===Zi&&(o=RM(o)),o}var P0=(e,t)=>{let o=IM(e),r=IM(t);if(!o||!r)return rc(e,t);let n={...o};return a=>(n.red=I0(o.red,r.red,a),n.green=I0(o.green,r.green,a),n.blue=I0(o.blue,r.blue,a),n.alpha=ke(o.alpha,r.alpha,a),ca.transform(n))};var Nh=new Set(["none","hidden"]);function PM(e,t){return Nh.has(e)?o=>o<=0?e:t:o=>o>=1?t:e}function qj(e,t){return o=>ke(e,t,o)}function Oh(e){return typeof e=="number"?qj:typeof e=="string"?fl(e)?rc:ut.test(e)?P0:Xj:Array.isArray(e)?LM:typeof e=="object"?ut.test(e)?P0:$j:rc}function LM(e,t){let o=[...e],r=o.length,n=e.map((a,i)=>Oh(a)(a,t[i]));return a=>{for(let i=0;i<r;i++)o[i]=n[i](a);return o}}function $j(e,t){let o={...e,...t},r={};for(let n in o)e[n]!==void 0&&t[n]!==void 0&&(r[n]=Oh(e[n])(e[n],t[n]));return n=>{for(let a in r)o[a]=r[a](n);return o}}function Kj(e,t){let o=[],r={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let a=t.types[n],i=e.indexes[a][r[a]],s=e.values[i]??0;o[n]=s,r[a]++}return o}var Xj=(e,t)=>{let o=Ro.createTransformer(t),r=Ji(e),n=Ji(t);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?Nh.has(e)&&!n.values.length||Nh.has(t)&&!r.values.length?PM(e,t):Ln(LM(Kj(r,n),n.values),o):(Ba(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),rc(e,t))};function Fh(e,t,o){return typeof e=="number"&&typeof t=="number"&&typeof o=="number"?ke(e,t,o):Oh(e)(e,t)}var TM=e=>{let t=({timestamp:o})=>e(o);return{start:(o=!0)=>Le.update(t,o),stop:()=>So(t),now:()=>yt.isProcessing?yt.timestamp:Ct.now()}};var _h=(e,t,o=10)=>{let r="",n=Math.max(Math.round(t/o),2);for(let a=0;a<n;a++)r+=Math.round(e(a/(n-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function nc(e){let t=0,o=50,r=e.next(t);for(;!r.done&&t<2e4;)t+=o,r=e.next(t);return t>=2e4?1/0:t}function gp(e,t=100,o){let r=o({...e,keyframes:[0,t]}),n=Math.min(nc(r),2e4);return{type:"keyframes",ease:a=>r.next(n*a).value/t,duration:Ht(n)}}var Yj=5;function Vh(e,t,o){let r=Math.max(t-Yj,0);return ep(o-e(r),t-r)}var nt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var T0=.001;function kM({duration:e=nt.duration,bounce:t=nt.bounce,velocity:o=nt.velocity,mass:r=nt.mass}){let n,a;Ba(e<=It(nt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=Kt(nt.minDamping,nt.maxDamping,i),e=Kt(nt.minDuration,nt.maxDuration,Ht(e)),i<1?(n=u=>{let c=u*i,d=c*e,f=c-o,p=Bh(u,i),g=Math.exp(-d);return T0-f/p*g},a=u=>{let d=u*i*e,f=d*o+o,p=Math.pow(i,2)*Math.pow(u,2)*e,g=Math.exp(-d),m=Bh(Math.pow(u,2),i);return(-n(u)+T0>0?-1:1)*((f-p)*g)/m}):(n=u=>{let c=Math.exp(-u*e),d=(u-o)*e+1;return-T0+c*d},a=u=>{let c=Math.exp(-u*e),d=(o-u)*(e*e);return c*d});let s=5/e,l=Zj(n,a,s);if(e=It(e),isNaN(l))return{stiffness:nt.stiffness,damping:nt.damping,duration:e};{let u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}var Qj=12;function Zj(e,t,o){let r=o;for(let n=1;n<Qj;n++)r=r-e(r)/t(r);return r}function Bh(e,t){return e*Math.sqrt(1-t*t)}var Jj=["duration","bounce"],e6=["stiffness","damping","mass"];function MM(e,t){return t.some(o=>e[o]!==void 0)}function t6(e){let t={velocity:nt.velocity,stiffness:nt.stiffness,damping:nt.damping,mass:nt.mass,isResolvedFromDuration:!1,...e};if(!MM(e,e6)&&MM(e,Jj))if(e.visualDuration){let o=e.visualDuration,r=2*Math.PI/(o*1.2),n=r*r,a=2*Kt(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:nt.mass,stiffness:n,damping:a}}else{let o=kM(e);t={...t,...o,mass:nt.mass},t.isResolvedFromDuration=!0}return t}function za(e=nt.visualDuration,t=nt.bounce){let o=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:n}=o,a=o.keyframes[0],i=o.keyframes[o.keyframes.length-1],s={done:!1,value:a},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=t6({...o,velocity:-Ht(o.velocity||0)}),g=f||0,m=u/(2*Math.sqrt(l*c)),x=i-a,h=Ht(Math.sqrt(l/c)),v=Math.abs(x)<5;r||(r=v?nt.restSpeed.granular:nt.restSpeed.default),n||(n=v?nt.restDelta.granular:nt.restDelta.default);let y;if(m<1){let w=Bh(h,m);y=b=>{let S=Math.exp(-m*h*b);return i-S*((g+m*h*x)/w*Math.sin(w*b)+x*Math.cos(w*b))}}else if(m===1)y=w=>i-Math.exp(-h*w)*(x+(g+h*x)*w);else{let w=h*Math.sqrt(m*m-1);y=b=>{let S=Math.exp(-m*h*b),I=Math.min(w*b,300);return i-S*((g+m*h*x)*Math.sinh(I)+w*x*Math.cosh(I))/w}}let C={calculatedDuration:p&&d||null,next:w=>{let b=y(w);if(p)s.done=w>=d;else{let S=w===0?g:0;m<1&&(S=w===0?It(g):Vh(y,w,b));let I=Math.abs(S)<=r,P=Math.abs(i-b)<=n;s.done=I&&P}return s.value=s.done?i:b,s},toString:()=>{let w=Math.min(nc(C),2e4),b=_h(S=>C.next(w*S).value,w,30);return w+"ms "+b},toTransition:()=>{}};return C}za.applyToOptions=e=>{let t=gp(e,100,za);return e.ease=t.ease,e.duration=It(t.duration),e.type="keyframes",e};function hp({keyframes:e,velocity:t=0,power:o=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d=e[0],f={done:!1,value:d},p=I=>s!==void 0&&I<s||l!==void 0&&I>l,g=I=>s===void 0?l:l===void 0||Math.abs(s-I)<Math.abs(l-I)?s:l,m=o*t,x=d+m,h=i===void 0?x:i(x);h!==x&&(m=h-d);let v=I=>-m*Math.exp(-I/r),y=I=>h+v(I),C=I=>{let P=v(I),T=y(I);f.done=Math.abs(P)<=u,f.value=f.done?h:T},w,b,S=I=>{p(f.value)&&(w=I,b=za({keyframes:[f.value,g(f.value)],velocity:Vh(y,I,f.value),damping:n,stiffness:a,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:I=>{let P=!1;return!b&&w===void 0&&(P=!0,C(I),S(I)),w!==void 0&&I>=w?b.next(I-w):(!P&&C(I),f)}}}function o6(e,t,o){let r=[],n=o||wo.mix||Fh,a=e.length-1;for(let i=0;i<a;i++){let s=n(e[i],e[i+1]);if(t){let l=Array.isArray(t)?t[i]||gt:t;s=Ln(l,s)}r.push(s)}return r}function Hh(e,t,{clamp:o=!0,ease:r,mixer:n}={}){let a=e.length;if(lo(a===t.length,"Both input and output ranges must be the same length","range-length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let i=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=o6(t,r,n),l=s.length,u=c=>{if(i&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);let f=Ur(e[d],e[d+1],c);return s[d](f)};return o?c=>u(Kt(e[0],e[a-1],c)):u}function vp(e,t){let o=e[e.length-1];for(let r=1;r<=t;r++){let n=Ur(0,t,r);e.push(ke(o,1,n))}}function xp(e){let t=[0];return vp(t,e.length-1),t}function EM(e,t){return e.map(o=>o*t)}function r6(e,t){return e.map(()=>t||ip).splice(0,e.length-1)}function pl({duration:e=300,keyframes:t,times:o,ease:r="easeInOut"}){let n=sp(r)?r.map(kh):kh(r),a={done:!1,value:t[0]},i=EM(o&&o.length===t.length?o:xp(t),e),s=Hh(i,t,{ease:Array.isArray(n)?n:r6(t,n)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}var n6=e=>e!==null;function ac(e,{repeat:t,repeatType:o="loop"},r,n=1){let a=e.filter(n6),s=n<0||t&&o!=="loop"&&t%2===1?0:a.length-1;return!s||r===void 0?a[s]:r}var a6={decay:hp,inertia:hp,tween:pl,keyframes:pl,spring:za};function Uh(e){typeof e.type=="string"&&(e.type=a6[e.type])}var es=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,o){return this.finished.then(t,o)}};var i6=e=>e/100,Ga=class extends es{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:o}=this.options;o&&o.updatedAt!==Ct.now()&&this.tick(Ct.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},Tn.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;Uh(t);let{type:o=pl,repeat:r=0,repeatDelay:n=0,repeatType:a,velocity:i=0}=t,{keyframes:s}=t,l=o||pl;l!==pl&&typeof s[0]!="number"&&(this.mixKeyframes=Ln(i6,Fh(s[0],s[1])),s=[0,100]);let u=l({...t,keyframes:s});a==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=nc(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=u}updateTime(t){let o=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(t,o=!1){let{generator:r,totalDuration:n,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);let{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:p,type:g,onUpdate:m,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),o?this.currentTime=t:this.updateTime(t);let h=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?h<0:h>n;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=n);let y=this.currentTime,C=r;if(d){let I=Math.min(this.currentTime,n)/s,P=Math.floor(I),T=I%1;!T&&I>=1&&(T=1),T===1&&P--,P=Math.min(P,d+1),!!(P%2)&&(f==="reverse"?(T=1-T,p&&(T-=p/s)):f==="mirror"&&(C=i)),y=Kt(0,1,T)*s}let w=v?{done:!1,value:c[0]}:C.next(y);a&&(w.value=a(w.value));let{done:b}=w;!v&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return S&&g!==hp&&(w.value=ac(c,this.options,x,this.speed)),m&&m(w.value),S&&this.finish(),w}then(t,o){return this.finished.then(t,o)}get duration(){return Ht(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Ht(t)}get time(){return Ht(this.currentTime)}set time(t){t=It(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ct.now());let o=this.playbackSpeed!==t;this.playbackSpeed=t,o&&(this.time=Ht(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=TM,startTime:o}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=o??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ct.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,Tn.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function AM(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var ml=e=>e*180/Math.PI,k0=e=>{let t=ml(Math.atan2(e[1],e[0]));return M0(t)},s6={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:k0,rotateZ:k0,skewX:e=>ml(Math.atan(e[1])),skewY:e=>ml(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},M0=e=>(e=e%360,e<0&&(e+=360),e),DM=k0,NM=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),OM=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),l6={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:NM,scaleY:OM,scale:e=>(NM(e)+OM(e))/2,rotateX:e=>M0(ml(Math.atan2(e[6],e[5]))),rotateY:e=>M0(ml(Math.atan2(-e[2],e[0]))),rotateZ:DM,rotate:DM,skewX:e=>ml(Math.atan(e[4])),skewY:e=>ml(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function yp(e){return e.includes("scale")?1:0}function Cp(e,t){if(!e||e==="none")return yp(t);let o=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,n;if(o)r=l6,n=o;else{let s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=s6,n=s}if(!n)return yp(t);let a=r[t],i=n[1].split(",").map(u6);return typeof a=="function"?a(i):i[a]}var E0=(e,t)=>{let{transform:o="none"}=getComputedStyle(e);return Cp(o,t)};function u6(e){return parseFloat(e.trim())}var Mn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xr=(()=>new Set(Mn))();var A0=e=>e===ua||e===ue,c6=new Set(["x","y","z"]),d6=Mn.filter(e=>!c6.has(e));function FM(e){let t=[];return d6.forEach(o=>{let r=e.getValue(o);r!==void 0&&(t.push([o,r.get()]),r.set(o.startsWith("scale")?1:0))}),t}var ts={width:({x:e},{paddingLeft:t="0",paddingRight:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),height:({y:e},{paddingTop:t="0",paddingBottom:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Cp(t,"x"),y:(e,{transform:t})=>Cp(t,"y")};ts.translateX=ts.x;ts.translateY=ts.y;var gl=new Set,D0=!1,N0=!1,O0=!1;function _M(){if(N0){let e=Array.from(gl).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),o=new Map;t.forEach(r=>{let n=FM(r);n.length&&(o.set(r,n),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let n=o.get(r);n&&n.forEach(([a,i])=>{r.getValue(a)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}N0=!1,D0=!1,gl.forEach(e=>e.complete(O0)),gl.clear()}function VM(){gl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(N0=!0)})}function F0(){O0=!0,VM(),_M(),O0=!1}var Wa=class{constructor(t,o,r,n,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=o,this.name=r,this.motionValue=n,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(gl.add(this),D0||(D0=!0,Le.read(VM),Le.resolveKeyframes(_M))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:o,element:r,motionValue:n}=this;if(t[0]===null){let a=n?.get(),i=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&o){let s=r.readValue(o,i);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=i),n&&a===void 0&&n.set(t[0])}AM(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),gl.delete(this)}cancel(){this.state==="scheduled"&&(gl.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var BM=e=>e.startsWith("--");function HM(e,t,o){BM(t)?e.style.setProperty(t,o):e.style[t]=o}var UM=cl(()=>window.ScrollTimeline!==void 0);var zM={};function GM(e,t){let o=cl(e);return()=>zM[t]??o()}var zh=GM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var hl=([e,t,o,r])=>`cubic-bezier(${e}, ${t}, ${o}, ${r})`;var _0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:hl([0,.65,.55,1]),circOut:hl([.55,0,1,.45]),backIn:hl([.31,.01,.66,-.59]),backOut:hl([.33,1.53,.69,.99])};function V0(e,t){if(e)return typeof e=="function"?zh()?_h(e,t):"ease-out":up(e)?hl(e):Array.isArray(e)?e.map(o=>V0(o,t)||_0.easeOut):_0[e]}function WM(e,t,o,{delay:r=0,duration:n=300,repeat:a=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u=void 0){let c={[t]:o};l&&(c.offset=l);let d=V0(s,n);Array.isArray(d)&&(c.easing=d),er.value&&Tn.waapi++;let f={delay:r,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"};u&&(f.pseudoElement=u);let p=e.animate(c,f);return er.value&&p.finished.finally(()=>{Tn.waapi--}),p}function vl(e){return typeof e=="function"&&"applyToOptions"in e}function jM({type:e,...t}){return vl(e)&&zh()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var Gh=class extends es{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:o,name:r,keyframes:n,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,lo(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=jM(t);this.animation=WM(o,r,n,u,a),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let c=ac(n,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(c):HM(o,r,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return Ht(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Ht(t)}get time(){return Ht(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=It(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&UM()?(this.animation.timeline=t,gt):o(this)}};var qM={anticipate:op,backInOut:tp,circInOut:ap};function f6(e){return e in qM}function $M(e){typeof e.ease=="string"&&f6(e.ease)&&(e.ease=qM[e.ease])}var KM=10,Wh=class extends Gh{constructor(t){$M(t),Uh(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:o,onUpdate:r,onComplete:n,element:a,...i}=this.options;if(!o)return;if(t!==void 0){o.set(t);return}let s=new Ga({...i,autoplay:!1}),l=It(this.finishedTime??this.time);o.setWithVelocity(s.sample(l-KM).value,s.sample(l).value,KM),s.stop()}};var B0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ro.test(e)||e==="0")&&!e.startsWith("url("));function p6(e){let t=e[0];if(e.length===1)return!0;for(let o=0;o<e.length;o++)if(e[o]!==t)return!0}function XM(e,t,o,r){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],i=B0(n,t),s=B0(a,t);return Ba(i===s,`You are trying to animate ${t} from "${n}" to "${a}". "${i?a:n}" is not an animatable value.`,"value-not-animatable"),!i||!s?!1:p6(e)||(o==="spring"||vl(o))&&r}function ic(e){e.duration=0,e.type="keyframes"}var m6=new Set(["opacity","clipPath","filter","transform"]),g6=cl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function YM(e){let{motionValue:t,name:o,repeatDelay:r,repeatType:n,damping:a,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return g6()&&o&&m6.has(o)&&(o!=="transform"||!u)&&!l&&!r&&n!=="mirror"&&a!==0&&i!=="inertia"}var h6=40,wp=class extends es{constructor({autoplay:t=!0,delay:o=0,type:r="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:i="loop",keyframes:s,name:l,motionValue:u,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ct.now();let f={autoplay:t,delay:o,type:r,repeat:n,repeatDelay:a,repeatType:i,name:l,motionValue:u,element:c,...d},p=c?.KeyframeResolver||Wa;this.keyframeResolver=new p(s,(g,m,x)=>this.onKeyframesResolved(g,m,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,o,r,n){this.keyframeResolver=void 0;let{name:a,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ct.now(),XM(t,a,i,s)||((wo.instantAnimations||!l)&&c?.(ac(t,r,o)),t[0]=t[t.length-1],ic(r),r.repeat=0);let f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>h6?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...r,keyframes:t},p=!u&&YM(f)?new Wh({...f,element:f.motionValue.owner.current}):new Ga(f);p.finished.then(()=>this.notifyFinished()).catch(gt),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,o){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),F0()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};var jh=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,o){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=o}attachTimeline(t){let o=this.animations.map(r=>r.attachTimeline(t));return()=>{o.forEach((r,n)=>{r&&r(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return QM(this.animations,"duration")}get iterationDuration(){return QM(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(o=>o[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function QM(e,t){let o=0;for(let r=0;r<e.length;r++){let n=e[r][t];n!==null&&n>o&&(o=n)}return o}var Sp=class extends jh{then(t,o){return this.finished.finally(t).then(()=>{})}};var v6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function x6(e){let t=v6.exec(e);if(!t)return[,];let[,o,r,n]=t;return[`--${o??r}`,n]}var y6=4;function H0(e,t,o=1){lo(o<=y6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,n]=x6(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let i=a.trim();return Qf(i)?parseFloat(i):i}return fl(n)?H0(n,t,o+1):n}function xl(e,t){return e?.[t]??e?.default??e}var bp=new Set(["width","height","top","left","right","bottom",...Mn]);var ZM={test:e=>e==="auto",parse:e=>e};var qh=e=>t=>t.test(e);var U0=[ua,ue,bo,kn,b0,S0,ZM],z0=e=>U0.find(qh(e));function JM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Jf(e):!0}var C6=new Set(["brightness","contrast","saturate","opacity"]);function w6(e){let[t,o]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=o.match(tc)||[];if(!r)return e;let n=o.replace(r,""),a=C6.has(t)?1:0;return r!==o&&(a*=100),t+"("+a+n+")"}var S6=/\b([a-z-]*)\(.*?\)/gu,Rp={...Ro,getAnimatableNone:e=>{let t=e.match(S6);return t?t.map(w6).join(" "):e}};var G0={...ua,transform:Math.round};var eE={rotate:kn,rotateX:kn,rotateY:kn,rotateZ:kn,scale:fp,scaleX:fp,scaleY:fp,scaleZ:fp,skew:kn,skewX:kn,skewY:kn,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:Ua,originX:Dh,originY:Dh,originZ:ue};var yl={borderWidth:ue,borderTopWidth:ue,borderRightWidth:ue,borderBottomWidth:ue,borderLeftWidth:ue,borderRadius:ue,radius:ue,borderTopLeftRadius:ue,borderTopRightRadius:ue,borderBottomRightRadius:ue,borderBottomLeftRadius:ue,width:ue,maxWidth:ue,height:ue,maxHeight:ue,top:ue,right:ue,bottom:ue,left:ue,padding:ue,paddingTop:ue,paddingRight:ue,paddingBottom:ue,paddingLeft:ue,margin:ue,marginTop:ue,marginRight:ue,marginBottom:ue,marginLeft:ue,backgroundPositionX:ue,backgroundPositionY:ue,...eE,zIndex:G0,fillOpacity:Ua,strokeOpacity:Ua,numOctaves:G0};var tE={...yl,color:ut,backgroundColor:ut,outlineColor:ut,fill:ut,stroke:ut,borderColor:ut,borderTopColor:ut,borderRightColor:ut,borderBottomColor:ut,borderLeftColor:ut,filter:Rp,WebkitFilter:Rp},Ip=e=>tE[e];function Pp(e,t){let o=Ip(e);return o!==Rp&&(o=Ro),o.getAnimatableNone?o.getAnimatableNone(t):void 0}var b6=new Set(["auto","none","0"]);function oE(e,t,o){let r=0,n;for(;r<e.length&&!n;){let a=e[r];typeof a=="string"&&!b6.has(a)&&Ji(a).values.length&&(n=e[r]),r++}if(n&&o)for(let a of t)e[a]=Pp(o,n)}var Lp=class extends Wa{constructor(t,o,r,n,a){super(t,o,r,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:o,name:r}=this;if(!o||!o.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),fl(u))){let c=H0(u,o.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!bp.has(r)||t.length!==2)return;let[n,a]=t,i=z0(n),s=z0(a);if(i!==s)if(A0(i)&&A0(s))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else ts[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:o}=this,r=[];for(let n=0;n<t.length;n++)(t[n]===null||JM(t[n]))&&r.push(n);r.length&&oE(t,r,o)}measureInitialState(){let{element:t,unresolvedKeyframes:o,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ts[r](t.measureViewportBox(),window.getComputedStyle(t.current)),o[0]=this.measuredOrigin;let n=o[o.length-1];n!==void 0&&t.getValue(r,n).jump(n,!1)}measureEndState(){let{element:t,name:o,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let n=t.getValue(o);n&&n.jump(this.measuredOrigin,!1);let a=r.length-1,i=r[a];r[a]=ts[o](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([s,l])=>{t.getValue(s).set(l)}),this.resolveNoneKeyframes()}};function Tp(e,t,o){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);let n=o?.[e]??r.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}var kp=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Mp(e){return Zf(e)&&"offsetHeight"in e}var rE=30,R6=e=>!isNaN(parseFloat(e)),Cl={current:void 0},$h=class{constructor(t,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{let n=Ct.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=o.owner}setCurrent(t){this.current=t,this.updatedAt=Ct.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=R6(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,o){this.events[t]||(this.events[t]=new Ha);let r=this.events[t].add(o);return t==="change"?()=>{r(),Le.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,o){this.passiveEffect=t,this.stopPassiveEffect=o}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,o,r){this.set(o),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,o=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Cl.current&&Cl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Ct.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>rE)return 0;let o=Math.min(this.updatedAt-this.prevUpdatedAt,rE);return ep(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(t){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=t(o),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function tr(e,t){return new $h(e,t)}var{schedule:wl,cancel:I6}=Mh(queueMicrotask,!1);var zr={x:!1,y:!1};function Kh(){return zr.x||zr.y}function W0(e){return e==="x"||e==="y"?zr[e]?null:(zr[e]=!0,()=>{zr[e]=!1}):zr.x||zr.y?null:(zr.x=zr.y=!0,()=>{zr.x=zr.y=!1})}function Xh(e,t){let o=Tp(e),r=new AbortController,n={passive:!0,...t,signal:r.signal};return[o,n,()=>r.abort()]}function nE(e){return!(e.pointerType==="touch"||Kh())}function j0(e,t,o={}){let[r,n,a]=Xh(e,o),i=s=>{if(!nE(s))return;let{target:l}=s,u=t(l,s);if(typeof u!="function"||!l)return;let c=d=>{nE(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,n)};return r.forEach(s=>{s.addEventListener("pointerenter",i,n)}),a}var q0=(e,t)=>t?e===t?!0:q0(e,t.parentElement):!1;var Sl=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var P6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function aE(e){return P6.has(e.tagName)||e.tabIndex!==-1}var sc=new WeakSet;function iE(e){return t=>{t.key==="Enter"&&e(t)}}function $0(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var sE=(e,t)=>{let o=e.currentTarget;if(!o)return;let r=iE(()=>{if(sc.has(o))return;$0(o,"down");let n=iE(()=>{$0(o,"up")}),a=()=>$0(o,"cancel");o.addEventListener("keyup",n,t),o.addEventListener("blur",a,t)});o.addEventListener("keydown",r,t),o.addEventListener("blur",()=>o.removeEventListener("keydown",r),t)};function lE(e){return Sl(e)&&!Kh()}function K0(e,t,o={}){let[r,n,a]=Xh(e,o),i=s=>{let l=s.currentTarget;if(!lE(s))return;sc.add(l);let u=t(l,s),c=(p,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),sc.has(l)&&sc.delete(l),lE(p)&&typeof u=="function"&&u(p,{success:g})},d=p=>{c(p,l===window||l===document||o.useGlobalTarget||q0(l,p.target))},f=p=>{c(p,!1)};window.addEventListener("pointerup",d,n),window.addEventListener("pointercancel",f,n)};return r.forEach(s=>{(o.useGlobalTarget?window:s).addEventListener("pointerdown",i,n),Mp(s)&&(s.addEventListener("focus",u=>sE(u,n)),!aE(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),a}function bl(e){return Zf(e)&&"ownerSVGElement"in e}function Ep(e){return bl(e)&&e.tagName==="svg"}function X0(...e){let t=!Array.isArray(e[0]),o=t?0:-1,r=e[0+o],n=e[1+o],a=e[2+o],i=e[3+o],s=Hh(n,a,i);return t?s(r):s}var Ve=e=>!!(e&&e.getVelocity);var L6=[...U0,ut,Ro],Y0=e=>L6.find(qh(e));var Yh=R(M(),1),ja=R(M(),1);var uE=R(M(),1),os=(0,uE.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var dE=R(M(),1);function cE(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function T6(...e){return t=>{let o=!1,r=e.map(n=>{let a=cE(n,t);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let n=0;n<r.length;n++){let a=r[n];typeof a=="function"?a():cE(e[n],null)}}}}function fE(...e){return dE.useCallback(T6(...e),e)}var Q0=class extends Yh.Component{getSnapshotBeforeUpdate(t){let o=this.props.childRef.current;if(o&&t.isPresent&&!this.props.isPresent){let r=o.offsetParent,n=Mp(r)&&r.offsetWidth||0,a=this.props.sizeRef.current;a.height=o.offsetHeight||0,a.width=o.offsetWidth||0,a.top=o.offsetTop,a.left=o.offsetLeft,a.right=n-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}};function mE({children:e,isPresent:t,anchorX:o,root:r}){let n=(0,ja.useId)(),a=(0,ja.useRef)(null),i=(0,ja.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,ja.useContext)(os),l=fE(a,e?.ref);return(0,ja.useInsertionEffect)(()=>{let{width:u,height:c,top:d,left:f,right:p}=i.current;if(t||!a.current||!u||!c)return;let g=o==="left"?`left: ${f}`:`right: ${p}`;a.current.dataset.motionPopId=n;let m=document.createElement("style");s&&(m.nonce=s);let x=r??document.head;return x.appendChild(m),m.sheet&&m.sheet.insertRule(`
11
+ `+a.stack}return{value:e,source:t,stack:n,digest:null}}function uC(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function jC(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var O5=typeof WeakMap=="function"?WeakMap:Map;function m1(e,t,o){o=Ma(-1,o),o.tag=3,o.payload={element:null};var r=t.value;return o.callback=function(){qg||(qg=!0,tw=r),jC(e,t)},o}function g1(e,t,o){o=Ma(-1,o),o.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var n=t.value;o.payload=function(){return r(n)},o.callback=function(){jC(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(o.callback=function(){jC(e,t),typeof r!="function"&&(Oi===null?Oi=new Set([this]):Oi.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),o}function PL(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new O5;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(o)||(n.add(o),e=X5.bind(null,e,t,o),t.then(e,e))}function LL(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function TL(e,t,o,r,n){return e.mode&1?(e.flags|=65536,e.lanes=n,e):(e===t?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(t=Ma(-1,1),t.tag=2,Ni(o,t,1))),o.lanes|=1),e)}var F5=Oa.ReactCurrentOwner,qo=!1;function Do(e,t,o,r){t.child=e===null?WT(t,null,o,r):Mu(t,e.child,o,r)}function kL(e,t,o,r,n){o=o.render;var a=t.ref;return Iu(t,n),r=Dw(e,t,o,r,a,n),o=Nw(),e!==null&&!qo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Na(e,t,n)):(st&&o&&ww(t),t.flags|=1,Do(e,t,r,n),t.child)}function ML(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!Ww(a)&&a.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=a,h1(e,t,a,r,n)):(e=Ig(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&n)){var i=a.memoizedProps;if(o=o.compare,o=o!==null?o:Jd,o(i,r)&&e.ref===t.ref)return Na(e,t,n)}return t.flags|=1,e=_i(a,r),e.ref=t.ref,e.return=t,t.child=e}function h1(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(Jd(a,r)&&e.ref===t.ref)if(qo=!1,t.pendingProps=r=a,(e.lanes&n)!==0)e.flags&131072&&(qo=!0);else return t.lanes=e.lanes,Na(e,t,n)}return qC(e,t,o,r,n)}function v1(e,t,o){var r=t.pendingProps,n=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ye(Cu,dr),dr|=o;else{if(!(o&1073741824))return e=a!==null?a.baseLanes|o:o,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ye(Cu,dr),dr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:o,Ye(Cu,dr),dr|=r}else a!==null?(r=a.baseLanes|o,t.memoizedState=null):r=o,Ye(Cu,dr),dr|=r;return Do(e,t,n,o),t.child}function x1(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function qC(e,t,o,r,n){var a=Ko(o)?Xs:xo.current;return a=Tu(t,a),Iu(t,n),o=Dw(e,t,o,r,a,n),r=Nw(),e!==null&&!qo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Na(e,t,n)):(st&&r&&ww(t),t.flags|=1,Do(e,t,o,n),t.child)}function EL(e,t,o,r,n){if(Ko(o)){var a=!0;Fg(t)}else a=!1;if(Iu(t,n),t.stateNode===null)Sg(e,t),p1(t,o,r),WC(t,o,r,n),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=o.contextType;typeof u=="object"&&u!==null?u=_r(u):(u=Ko(o)?Xs:xo.current,u=Tu(t,u));var c=o.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||l!==u)&&IL(t,i,r,u),Ii=!1;var f=t.memoizedState;i.state=f,Ug(t,r,i,n),l=t.memoizedState,s!==r||f!==l||$o.current||Ii?(typeof c=="function"&&(GC(t,o,c,r),l=t.memoizedState),(s=Ii||RL(t,o,s,r,f,l,u))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,qT(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:hn(t.type,s),i.props=u,d=t.pendingProps,f=i.context,l=o.contextType,typeof l=="object"&&l!==null?l=_r(l):(l=Ko(o)?Xs:xo.current,l=Tu(t,l));var p=o.getDerivedStateFromProps;(c=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==l)&&IL(t,i,r,l),Ii=!1,f=t.memoizedState,i.state=f,Ug(t,r,i,n);var g=t.memoizedState;s!==d||f!==g||$o.current||Ii?(typeof p=="function"&&(GC(t,o,p,r),g=t.memoizedState),(u=Ii||RL(t,o,u,r,f,g,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,g,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,g,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=l,r=u):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return $C(e,t,o,r,a,n)}function $C(e,t,o,r,n,a){x1(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return n&&hL(t,o,!1),Na(e,t,a);r=t.stateNode,F5.current=t;var s=i&&typeof o.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Mu(t,e.child,null,a),t.child=Mu(t,null,s,a)):Do(e,t,s,a),t.memoizedState=r.state,n&&hL(t,o,!0),t.child}function y1(e){var t=e.stateNode;t.pendingContext?gL(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gL(e,t.context,!1),kw(e,t.containerInfo)}function AL(e,t,o,r,n){return ku(),bw(n),t.flags|=256,Do(e,t,o,r),t.child}var KC={dehydrated:null,treeContext:null,retryLane:0};function XC(e){return{baseLanes:e,cachePool:null,transitions:null}}function C1(e,t,o){var r=t.pendingProps,n=ft.current,a=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(n&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),Ye(ft,n&1),e===null)return UC(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,a?(r=t.mode,a=t.child,i={mode:"hidden",children:i},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=ih(i,r,0,null),e=Ks(e,r,o,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=XC(o),t.memoizedState=KC,e):_w(t,i));if(n=e.memoizedState,n!==null&&(s=n.dehydrated,s!==null))return _5(e,t,i,r,s,n,o);if(a){a=r.fallback,i=t.mode,n=e.child,s=n.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==n?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=_i(n,l),r.subtreeFlags=n.subtreeFlags&14680064),s!==null?a=_i(s,a):(a=Ks(a,i,o,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,i=e.child.memoizedState,i=i===null?XC(o):{baseLanes:i.baseLanes|o,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~o,t.memoizedState=KC,r}return a=e.child,e=a.sibling,r=_i(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=o),r.return=t,r.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=r,t.memoizedState=null,r}function _w(e,t){return t=ih({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function pg(e,t,o,r){return r!==null&&bw(r),Mu(t,e.child,null,o),e=_w(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _5(e,t,o,r,n,a,i){if(o)return t.flags&256?(t.flags&=-257,r=uC(Error(q(422))),pg(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,n=t.mode,r=ih({mode:"visible",children:r.children},n,0,null),a=Ks(a,n,i,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Mu(t,e.child,null,i),t.child.memoizedState=XC(i),t.memoizedState=KC,a);if(!(t.mode&1))return pg(e,t,i,null);if(n.data==="$!"){if(r=n.nextSibling&&n.nextSibling.dataset,r)var s=r.dgst;return r=s,a=Error(q(419)),r=uC(a,r,void 0),pg(e,t,i,r)}if(s=(i&e.childLanes)!==0,qo||s){if(r=$t,r!==null){switch(i&-i){case 4:n=2;break;case 16:n=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}n=n&(r.suspendedLanes|i)?0:n,n!==0&&n!==a.retryLane&&(a.retryLane=n,Da(e,n),Cn(r,e,n,-1))}return Gw(),r=uC(Error(q(421))),pg(e,t,i,r)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=Y5.bind(null,e),n._reactRetry=t,null):(e=a.treeContext,fr=Di(n.nextSibling),pr=t,st=!0,xn=null,e!==null&&(Dr[Nr++]=Ta,Dr[Nr++]=ka,Dr[Nr++]=Ys,Ta=e.id,ka=e.overflow,Ys=t),t=_w(t,r.children),t.flags|=4096,t)}function DL(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),zC(e.return,t,o)}function cC(e,t,o,r,n){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:n}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=o,a.tailMode=n)}function w1(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;if(Do(e,t,r.children,o),r=ft.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&DL(e,o,t);else if(e.tag===19)DL(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ye(ft,r),!(t.mode&1))t.memoizedState=null;else switch(n){case"forwards":for(o=t.child,n=null;o!==null;)e=o.alternate,e!==null&&zg(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),cC(t,!1,n,o,a);break;case"backwards":for(o=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&zg(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}cC(t,!0,o,null,a);break;case"together":cC(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Sg(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Na(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Zs|=t.lanes,!(o&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(q(153));if(t.child!==null){for(e=t.child,o=_i(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=_i(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function V5(e,t,o){switch(t.tag){case 3:y1(t),ku();break;case 5:$T(t);break;case 1:Ko(t.type)&&Fg(t);break;case 4:kw(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,n=t.memoizedProps.value;Ye(Bg,r._currentValue),r._currentValue=n;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ye(ft,ft.current&1),t.flags|=128,null):o&t.child.childLanes?C1(e,t,o):(Ye(ft,ft.current&1),e=Na(e,t,o),e!==null?e.sibling:null);Ye(ft,ft.current&1);break;case 19:if(r=(o&t.childLanes)!==0,e.flags&128){if(r)return w1(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Ye(ft,ft.current),r)break;return null;case 22:case 23:return t.lanes=0,v1(e,t,o)}return Na(e,t,o)}var S1,YC,b1,R1;S1=function(e,t){for(var o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}};YC=function(){};b1=function(e,t,o,r){var n=e.memoizedProps;if(n!==r){e=t.stateNode,qs(na.current);var a=null;switch(o){case"input":n=xC(e,n),r=xC(e,r),a=[];break;case"select":n=mt({},n,{value:void 0}),r=mt({},r,{value:void 0}),a=[];break;case"textarea":n=wC(e,n),r=wC(e,r),a=[];break;default:typeof n.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ng)}bC(o,r);var i;o=null;for(u in n)if(!r.hasOwnProperty(u)&&n.hasOwnProperty(u)&&n[u]!=null)if(u==="style"){var s=n[u];for(i in s)s.hasOwnProperty(i)&&(o||(o={}),o[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(qd.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(s=n?.[u],r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(o||(o={}),o[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(o||(o={}),o[i]=l[i])}else o||(a||(a=[]),a.push(u,o)),o=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(qd.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&et("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}o&&(a=a||[]).push("style",o);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};R1=function(e,t,o,r){o!==r&&(t.flags|=4)};function Md(e,t){if(!st)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ho(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,r=0;if(t)for(var n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags&14680064,r|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=o,t}function B5(e,t,o){var r=t.pendingProps;switch(Sw(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ho(t),null;case 1:return Ko(t.type)&&Og(),ho(t),null;case 3:return r=t.stateNode,Eu(),tt($o),tt(xo),Ew(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(dg(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,xn!==null&&(nw(xn),xn=null))),YC(e,t),ho(t),null;case 5:Mw(t);var n=qs(nf.current);if(o=t.type,e!==null&&t.stateNode!=null)b1(e,t,o,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(q(166));return ho(t),null}if(e=qs(na.current),dg(t)){r=t.stateNode,o=t.type;var a=t.memoizedProps;switch(r[oa]=t,r[of]=a,e=(t.mode&1)!==0,o){case"dialog":et("cancel",r),et("close",r);break;case"iframe":case"object":case"embed":et("load",r);break;case"video":case"audio":for(n=0;n<Fd.length;n++)et(Fd[n],r);break;case"source":et("error",r);break;case"img":case"image":case"link":et("error",r),et("load",r);break;case"details":et("toggle",r);break;case"input":UP(r,a),et("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},et("invalid",r);break;case"textarea":GP(r,a),et("invalid",r)}bC(o,a),n=null;for(var i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="children"?typeof s=="string"?r.textContent!==s&&(a.suppressHydrationWarning!==!0&&cg(r.textContent,s,e),n=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&cg(r.textContent,s,e),n=["children",""+s]):qd.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&et("scroll",r)}switch(o){case"input":Zm(r),zP(r,a,!0);break;case"textarea":Zm(r),WP(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=Ng)}r=n,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ZL(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(o,{is:r.is}):(e=i.createElement(o),o==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,o),e[oa]=t,e[of]=r,S1(e,t,!1,!1),t.stateNode=e;e:{switch(i=RC(o,r),o){case"dialog":et("cancel",e),et("close",e),n=r;break;case"iframe":case"object":case"embed":et("load",e),n=r;break;case"video":case"audio":for(n=0;n<Fd.length;n++)et(Fd[n],e);n=r;break;case"source":et("error",e),n=r;break;case"img":case"image":case"link":et("error",e),et("load",e),n=r;break;case"details":et("toggle",e),n=r;break;case"input":UP(e,r),n=xC(e,r),et("invalid",e);break;case"option":n=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},n=mt({},r,{value:void 0}),et("invalid",e);break;case"textarea":GP(e,r),n=wC(e,r),et("invalid",e);break;default:n=r}bC(o,n),s=n;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?tT(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&JL(e,l)):a==="children"?typeof l=="string"?(o!=="textarea"||l!=="")&&$d(e,l):typeof l=="number"&&$d(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(qd.hasOwnProperty(a)?l!=null&&a==="onScroll"&&et("scroll",e):l!=null&&sw(e,a,l,i))}switch(o){case"input":Zm(e),zP(e,r,!1);break;case"textarea":Zm(e),WP(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Vi(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?wu(e,!!r.multiple,a,!1):r.defaultValue!=null&&wu(e,!!r.multiple,r.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=Ng)}switch(o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ho(t),null;case 6:if(e&&t.stateNode!=null)R1(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(q(166));if(o=qs(nf.current),qs(na.current),dg(t)){if(r=t.stateNode,o=t.memoizedProps,r[oa]=t,(a=r.nodeValue!==o)&&(e=pr,e!==null))switch(e.tag){case 3:cg(r.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&cg(r.nodeValue,o,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(o.nodeType===9?o:o.ownerDocument).createTextNode(r),r[oa]=t,t.stateNode=r}return ho(t),null;case 13:if(tt(ft),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(st&&fr!==null&&t.mode&1&&!(t.flags&128))zT(),ku(),t.flags|=98560,a=!1;else if(a=dg(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(q(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(q(317));a[oa]=t}else ku(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ho(t),a=!1}else xn!==null&&(nw(xn),xn=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=o,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ft.current&1?_t===0&&(_t=3):Gw())),t.updateQueue!==null&&(t.flags|=4),ho(t),null);case 4:return Eu(),YC(e,t),e===null&&ef(t.stateNode.containerInfo),ho(t),null;case 10:return Pw(t.type._context),ho(t),null;case 17:return Ko(t.type)&&Og(),ho(t),null;case 19:if(tt(ft),a=t.memoizedState,a===null)return ho(t),null;if(r=(t.flags&128)!==0,i=a.rendering,i===null)if(r)Md(a,!1);else{if(_t!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=zg(e),i!==null){for(t.flags|=128,Md(a,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=o,o=t.child;o!==null;)a=o,e=r,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Ye(ft,ft.current&1|2),t.child}e=e.sibling}a.tail!==null&&Rt()>Du&&(t.flags|=128,r=!0,Md(a,!1),t.lanes=4194304)}else{if(!r)if(e=zg(i),e!==null){if(t.flags|=128,r=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),Md(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!st)return ho(t),null}else 2*Rt()-a.renderingStartTime>Du&&o!==1073741824&&(t.flags|=128,r=!0,Md(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(o=a.last,o!==null?o.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Rt(),t.sibling=null,o=ft.current,Ye(ft,r?o&1|2:o&1),t):(ho(t),null);case 22:case 23:return zw(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?dr&1073741824&&(ho(t),t.subtreeFlags&6&&(t.flags|=8192)):ho(t),null;case 24:return null;case 25:return null}throw Error(q(156,t.tag))}function H5(e,t){switch(Sw(t),t.tag){case 1:return Ko(t.type)&&Og(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Eu(),tt($o),tt(xo),Ew(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Mw(t),null;case 13:if(tt(ft),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(q(340));ku()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tt(ft),null;case 4:return Eu(),null;case 10:return Pw(t.type._context),null;case 22:case 23:return zw(),null;case 24:return null;default:return null}}var mg=!1,vo=!1,U5=typeof WeakSet=="function"?WeakSet:Set,re=null;function yu(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(r){xt(e,t,r)}else o.current=null}function QC(e,t,o){try{o()}catch(r){xt(e,t,r)}}var NL=!1;function z5(e,t){if(NC=Eg,e=kT(),Cw(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var n=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{o.nodeType,a.nodeType}catch{o=null;break e}var i=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==o||n!==0&&d.nodeType!==3||(s=i+n),d!==a||r!==0&&d.nodeType!==3||(l=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===o&&++u===n&&(s=i),f===a&&++c===r&&(l=i),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}o=s===-1||l===-1?null:{start:s,end:l}}else o=null}o=o||{start:0,end:0}}else o=null;for(OC={focusedElem:e,selectionRange:o},Eg=!1,re=t;re!==null;)if(t=re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,re=e;else for(;re!==null;){t=re;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var m=g.memoizedProps,x=g.memoizedState,h=t.stateNode,v=h.getSnapshotBeforeUpdate(t.elementType===t.type?m:hn(t.type,m),x);h.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(q(163))}}catch(C){xt(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,re=e;break}re=t.return}return g=NL,NL=!1,g}function Gd(e,t,o){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do{if((n.tag&e)===e){var a=n.destroy;n.destroy=void 0,a!==void 0&&QC(t,o,a)}n=n.next}while(n!==r)}}function nh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var r=o.create;o.destroy=r()}o=o.next}while(o!==t)}}function ZC(e){var t=e.ref;if(t!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof t=="function"?t(e):t.current=e}}function I1(e){var t=e.alternate;t!==null&&(e.alternate=null,I1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[oa],delete t[of],delete t[VC],delete t[R5],delete t[I5])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function P1(e){return e.tag===5||e.tag===3||e.tag===4}function OL(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||P1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function JC(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Ng));else if(r!==4&&(e=e.child,e!==null))for(JC(e,t,o),e=e.sibling;e!==null;)JC(e,t,o),e=e.sibling}function ew(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ew(e,t,o),e=e.sibling;e!==null;)ew(e,t,o),e=e.sibling}var ro=null,vn=!1;function bi(e,t,o){for(o=o.child;o!==null;)L1(e,t,o),o=o.sibling}function L1(e,t,o){if(ra&&typeof ra.onCommitFiberUnmount=="function")try{ra.onCommitFiberUnmount(Yg,o)}catch{}switch(o.tag){case 5:vo||yu(o,t);case 6:var r=ro,n=vn;ro=null,bi(e,t,o),ro=r,vn=n,ro!==null&&(vn?(e=ro,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):ro.removeChild(o.stateNode));break;case 18:ro!==null&&(vn?(e=ro,o=o.stateNode,e.nodeType===8?rC(e.parentNode,o):e.nodeType===1&&rC(e,o),Qd(e)):rC(ro,o.stateNode));break;case 4:r=ro,n=vn,ro=o.stateNode.containerInfo,vn=!0,bi(e,t,o),ro=r,vn=n;break;case 0:case 11:case 14:case 15:if(!vo&&(r=o.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){n=r=r.next;do{var a=n,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&QC(o,t,i),n=n.next}while(n!==r)}bi(e,t,o);break;case 1:if(!vo&&(yu(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=o.memoizedProps,r.state=o.memoizedState,r.componentWillUnmount()}catch(s){xt(o,t,s)}bi(e,t,o);break;case 21:bi(e,t,o);break;case 22:o.mode&1?(vo=(r=vo)||o.memoizedState!==null,bi(e,t,o),vo=r):bi(e,t,o);break;default:bi(e,t,o)}}function FL(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new U5),t.forEach(function(r){var n=Q5.bind(null,e,r);o.has(r)||(o.add(r),r.then(n,n))})}}function gn(e,t){var o=t.deletions;if(o!==null)for(var r=0;r<o.length;r++){var n=o[r];try{var a=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:ro=s.stateNode,vn=!1;break e;case 3:ro=s.stateNode.containerInfo,vn=!0;break e;case 4:ro=s.stateNode.containerInfo,vn=!0;break e}s=s.return}if(ro===null)throw Error(q(160));L1(a,i,n),ro=null,vn=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(u){xt(n,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)T1(t,e),t=t.sibling}function T1(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gn(t,e),ea(e),r&4){try{Gd(3,e,e.return),nh(3,e)}catch(m){xt(e,e.return,m)}try{Gd(5,e,e.return)}catch(m){xt(e,e.return,m)}}break;case 1:gn(t,e),ea(e),r&512&&o!==null&&yu(o,o.return);break;case 5:if(gn(t,e),ea(e),r&512&&o!==null&&yu(o,o.return),e.flags&32){var n=e.stateNode;try{$d(n,"")}catch(m){xt(e,e.return,m)}}if(r&4&&(n=e.stateNode,n!=null)){var a=e.memoizedProps,i=o!==null?o.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&YL(n,a),RC(s,i);var u=RC(s,a);for(i=0;i<l.length;i+=2){var c=l[i],d=l[i+1];c==="style"?tT(n,d):c==="dangerouslySetInnerHTML"?JL(n,d):c==="children"?$d(n,d):sw(n,c,d,u)}switch(s){case"input":yC(n,a);break;case"textarea":QL(n,a);break;case"select":var f=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?wu(n,!!a.multiple,p,!1):f!==!!a.multiple&&(a.defaultValue!=null?wu(n,!!a.multiple,a.defaultValue,!0):wu(n,!!a.multiple,a.multiple?[]:"",!1))}n[of]=a}catch(m){xt(e,e.return,m)}}break;case 6:if(gn(t,e),ea(e),r&4){if(e.stateNode===null)throw Error(q(162));n=e.stateNode,a=e.memoizedProps;try{n.nodeValue=a}catch(m){xt(e,e.return,m)}}break;case 3:if(gn(t,e),ea(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{Qd(t.containerInfo)}catch(m){xt(e,e.return,m)}break;case 4:gn(t,e),ea(e);break;case 13:gn(t,e),ea(e),n=e.child,n.flags&8192&&(a=n.memoizedState!==null,n.stateNode.isHidden=a,!a||n.alternate!==null&&n.alternate.memoizedState!==null||(Hw=Rt())),r&4&&FL(e);break;case 22:if(c=o!==null&&o.memoizedState!==null,e.mode&1?(vo=(u=vo)||c,gn(t,e),vo=u):gn(t,e),ea(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(re=e,c=e.child;c!==null;){for(d=re=c;re!==null;){switch(f=re,p=f.child,f.tag){case 0:case 11:case 14:case 15:Gd(4,f,f.return);break;case 1:yu(f,f.return);var g=f.stateNode;if(typeof g.componentWillUnmount=="function"){r=f,o=f.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){xt(r,o,m)}}break;case 5:yu(f,f.return);break;case 22:if(f.memoizedState!==null){VL(d);continue}}p!==null?(p.return=f,re=p):VL(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{n=d.stateNode,u?(a=n.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(s=d.stateNode,l=d.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=eT("display",i))}catch(m){xt(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){xt(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:gn(t,e),ea(e),r&4&&FL(e);break;case 21:break;default:gn(t,e),ea(e)}}function ea(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(P1(o)){var r=o;break e}o=o.return}throw Error(q(160))}switch(r.tag){case 5:var n=r.stateNode;r.flags&32&&($d(n,""),r.flags&=-33);var a=OL(e);ew(e,a,n);break;case 3:case 4:var i=r.stateNode.containerInfo,s=OL(e);JC(e,s,i);break;default:throw Error(q(161))}}catch(l){xt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function G5(e,t,o){re=e,k1(e,t,o)}function k1(e,t,o){for(var r=(e.mode&1)!==0;re!==null;){var n=re,a=n.child;if(n.tag===22&&r){var i=n.memoizedState!==null||mg;if(!i){var s=n.alternate,l=s!==null&&s.memoizedState!==null||vo;s=mg;var u=vo;if(mg=i,(vo=l)&&!u)for(re=n;re!==null;)i=re,l=i.child,i.tag===22&&i.memoizedState!==null?BL(n):l!==null?(l.return=i,re=l):BL(n);for(;a!==null;)re=a,k1(a,t,o),a=a.sibling;re=n,mg=s,vo=u}_L(e,t,o)}else n.subtreeFlags&8772&&a!==null?(a.return=n,re=a):_L(e,t,o)}}function _L(e){for(;re!==null;){var t=re;if(t.flags&8772){var o=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:vo||nh(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!vo)if(o===null)r.componentDidMount();else{var n=t.elementType===t.type?o.memoizedProps:hn(t.type,o.memoizedProps);r.componentDidUpdate(n,o.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&wL(t,a,r);break;case 3:var i=t.updateQueue;if(i!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}wL(t,i,o)}break;case 5:var s=t.stateNode;if(o===null&&t.flags&4){o=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&o.focus();break;case"img":l.src&&(o.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Qd(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(q(163))}vo||t.flags&512&&ZC(t)}catch(f){xt(t,t.return,f)}}if(t===e){re=null;break}if(o=t.sibling,o!==null){o.return=t.return,re=o;break}re=t.return}}function VL(e){for(;re!==null;){var t=re;if(t===e){re=null;break}var o=t.sibling;if(o!==null){o.return=t.return,re=o;break}re=t.return}}function BL(e){for(;re!==null;){var t=re;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{nh(4,t)}catch(l){xt(t,o,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var n=t.return;try{r.componentDidMount()}catch(l){xt(t,n,l)}}var a=t.return;try{ZC(t)}catch(l){xt(t,a,l)}break;case 5:var i=t.return;try{ZC(t)}catch(l){xt(t,i,l)}}}catch(l){xt(t,t.return,l)}if(t===e){re=null;break}var s=t.sibling;if(s!==null){s.return=t.return,re=s;break}re=t.return}}var W5=Math.ceil,jg=Oa.ReactCurrentDispatcher,Vw=Oa.ReactCurrentOwner,Fr=Oa.ReactCurrentBatchConfig,Ee=0,$t=null,kt=null,no=0,dr=0,Cu=Ui(0),_t=0,uf=null,Zs=0,ah=0,Bw=0,Wd=null,jo=null,Hw=0,Du=1/0,Pa=null,qg=!1,tw=null,Oi=null,gg=!1,ki=null,$g=0,jd=0,ow=null,bg=-1,Rg=0;function No(){return Ee&6?Rt():bg!==-1?bg:bg=Rt()}function Fi(e){return e.mode&1?Ee&2&&no!==0?no&-no:L5.transition!==null?(Rg===0&&(Rg=pT()),Rg):(e=Ge,e!==0||(e=window.event,e=e===void 0?16:CT(e.type)),e):1}function Cn(e,t,o,r){if(50<jd)throw jd=0,ow=null,Error(q(185));cf(e,o,r),(!(Ee&2)||e!==$t)&&(e===$t&&(!(Ee&2)&&(ah|=o),_t===4&&Li(e,no)),Xo(e,r),o===1&&Ee===0&&!(t.mode&1)&&(Du=Rt()+500,th&&zi()))}function Xo(e,t){var o=e.callbackNode;k4(e,t);var r=Mg(e,e===$t?no:0);if(r===0)o!==null&&$P(o),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(o!=null&&$P(o),t===1)e.tag===0?P5(HL.bind(null,e)):BT(HL.bind(null,e)),S5(function(){!(Ee&6)&&zi()}),o=null;else{switch(mT(r)){case 1:o=fw;break;case 4:o=dT;break;case 16:o=kg;break;case 536870912:o=fT;break;default:o=kg}o=_1(o,M1.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function M1(e,t){if(bg=-1,Rg=0,Ee&6)throw Error(q(327));var o=e.callbackNode;if(Pu()&&e.callbackNode!==o)return null;var r=Mg(e,e===$t?no:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Kg(e,r);else{t=r;var n=Ee;Ee|=2;var a=A1();($t!==e||no!==t)&&(Pa=null,Du=Rt()+500,$s(e,t));do try{$5();break}catch(s){E1(e,s)}while(1);Iw(),jg.current=a,Ee=n,kt!==null?t=0:($t=null,no=0,t=_t)}if(t!==0){if(t===2&&(n=kC(e),n!==0&&(r=n,t=rw(e,n))),t===1)throw o=uf,$s(e,0),Li(e,r),Xo(e,Rt()),o;if(t===6)Li(e,r);else{if(n=e.current.alternate,!(r&30)&&!j5(n)&&(t=Kg(e,r),t===2&&(a=kC(e),a!==0&&(r=a,t=rw(e,a))),t===1))throw o=uf,$s(e,0),Li(e,r),Xo(e,Rt()),o;switch(e.finishedWork=n,e.finishedLanes=r,t){case 0:case 1:throw Error(q(345));case 2:Gs(e,jo,Pa);break;case 3:if(Li(e,r),(r&130023424)===r&&(t=Hw+500-Rt(),10<t)){if(Mg(e,0)!==0)break;if(n=e.suspendedLanes,(n&r)!==r){No(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=_C(Gs.bind(null,e,jo,Pa),t);break}Gs(e,jo,Pa);break;case 4:if(Li(e,r),(r&4194240)===r)break;for(t=e.eventTimes,n=-1;0<r;){var i=31-yn(r);a=1<<i,i=t[i],i>n&&(n=i),r&=~a}if(r=n,r=Rt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*W5(r/1960))-r,10<r){e.timeoutHandle=_C(Gs.bind(null,e,jo,Pa),r);break}Gs(e,jo,Pa);break;case 5:Gs(e,jo,Pa);break;default:throw Error(q(329))}}}return Xo(e,Rt()),e.callbackNode===o?M1.bind(null,e):null}function rw(e,t){var o=Wd;return e.current.memoizedState.isDehydrated&&($s(e,t).flags|=256),e=Kg(e,t),e!==2&&(t=jo,jo=o,t!==null&&nw(t)),e}function nw(e){jo===null?jo=e:jo.push.apply(jo,e)}function j5(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var r=0;r<o.length;r++){var n=o[r],a=n.getSnapshot;n=n.value;try{if(!wn(a(),n))return!1}catch{return!1}}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;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 Li(e,t){for(t&=~Bw,t&=~ah,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-yn(t),r=1<<o;e[o]=-1,t&=~r}}function HL(e){if(Ee&6)throw Error(q(327));Pu();var t=Mg(e,0);if(!(t&1))return Xo(e,Rt()),null;var o=Kg(e,t);if(e.tag!==0&&o===2){var r=kC(e);r!==0&&(t=r,o=rw(e,r))}if(o===1)throw o=uf,$s(e,0),Li(e,t),Xo(e,Rt()),o;if(o===6)throw Error(q(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Gs(e,jo,Pa),Xo(e,Rt()),null}function Uw(e,t){var o=Ee;Ee|=1;try{return e(t)}finally{Ee=o,Ee===0&&(Du=Rt()+500,th&&zi())}}function Js(e){ki!==null&&ki.tag===0&&!(Ee&6)&&Pu();var t=Ee;Ee|=1;var o=Fr.transition,r=Ge;try{if(Fr.transition=null,Ge=1,e)return e()}finally{Ge=r,Fr.transition=o,Ee=t,!(Ee&6)&&zi()}}function zw(){dr=Cu.current,tt(Cu)}function $s(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,w5(o)),kt!==null)for(o=kt.return;o!==null;){var r=o;switch(Sw(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Og();break;case 3:Eu(),tt($o),tt(xo),Ew();break;case 5:Mw(r);break;case 4:Eu();break;case 13:tt(ft);break;case 19:tt(ft);break;case 10:Pw(r.type._context);break;case 22:case 23:zw()}o=o.return}if($t=e,kt=e=_i(e.current,null),no=dr=t,_t=0,uf=null,Bw=ah=Zs=0,jo=Wd=null,js!==null){for(t=0;t<js.length;t++)if(o=js[t],r=o.interleaved,r!==null){o.interleaved=null;var n=r.next,a=o.pending;if(a!==null){var i=a.next;a.next=n,r.next=i}o.pending=r}js=null}return e}function E1(e,t){do{var o=kt;try{if(Iw(),Cg.current=Wg,Gg){for(var r=pt.memoizedState;r!==null;){var n=r.queue;n!==null&&(n.pending=null),r=r.next}Gg=!1}if(Qs=0,qt=Ft=pt=null,zd=!1,af=0,Vw.current=null,o===null||o.return===null){_t=1,uf=t,kt=null;break}e:{var a=e,i=o.return,s=o,l=t;if(t=no,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=LL(i);if(p!==null){p.flags&=-257,TL(p,i,s,a,t),p.mode&1&&PL(a,u,t),t=p,l=u;var g=t.updateQueue;if(g===null){var m=new Set;m.add(l),t.updateQueue=m}else g.add(l);break e}else{if(!(t&1)){PL(a,u,t),Gw();break e}l=Error(q(426))}}else if(st&&s.mode&1){var x=LL(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),TL(x,i,s,a,t),bw(Au(l,s));break e}}a=l=Au(l,s),_t!==4&&(_t=2),Wd===null?Wd=[a]:Wd.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var h=m1(a,l,t);CL(a,h);break e;case 1:s=l;var v=a.type,y=a.stateNode;if(!(a.flags&128)&&(typeof v.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Oi===null||!Oi.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var C=g1(a,s,t);CL(a,C);break e}}a=a.return}while(a!==null)}N1(o)}catch(w){t=w,kt===o&&o!==null&&(kt=o=o.return);continue}break}while(1)}function A1(){var e=jg.current;return jg.current=Wg,e===null?Wg:e}function Gw(){(_t===0||_t===3||_t===2)&&(_t=4),$t===null||!(Zs&268435455)&&!(ah&268435455)||Li($t,no)}function Kg(e,t){var o=Ee;Ee|=2;var r=A1();($t!==e||no!==t)&&(Pa=null,$s(e,t));do try{q5();break}catch(n){E1(e,n)}while(1);if(Iw(),Ee=o,jg.current=r,kt!==null)throw Error(q(261));return $t=null,no=0,_t}function q5(){for(;kt!==null;)D1(kt)}function $5(){for(;kt!==null&&!C4();)D1(kt)}function D1(e){var t=F1(e.alternate,e,dr);e.memoizedProps=e.pendingProps,t===null?N1(e):kt=t,Vw.current=null}function N1(e){var t=e;do{var o=t.alternate;if(e=t.return,t.flags&32768){if(o=H5(o,t),o!==null){o.flags&=32767,kt=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{_t=6,kt=null;return}}else if(o=B5(o,t,dr),o!==null){kt=o;return}if(t=t.sibling,t!==null){kt=t;return}kt=t=e}while(t!==null);_t===0&&(_t=5)}function Gs(e,t,o){var r=Ge,n=Fr.transition;try{Fr.transition=null,Ge=1,K5(e,t,o,r)}finally{Fr.transition=n,Ge=r}return null}function K5(e,t,o,r){do Pu();while(ki!==null);if(Ee&6)throw Error(q(327));o=e.finishedWork;var n=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(q(177));e.callbackNode=null,e.callbackPriority=0;var a=o.lanes|o.childLanes;if(M4(e,a),e===$t&&(kt=$t=null,no=0),!(o.subtreeFlags&2064)&&!(o.flags&2064)||gg||(gg=!0,_1(kg,function(){return Pu(),null})),a=(o.flags&15990)!==0,o.subtreeFlags&15990||a){a=Fr.transition,Fr.transition=null;var i=Ge;Ge=1;var s=Ee;Ee|=4,Vw.current=null,z5(e,o),T1(o,e),h5(OC),Eg=!!NC,OC=NC=null,e.current=o,G5(o,e,n),w4(),Ee=s,Ge=i,Fr.transition=a}else e.current=o;if(gg&&(gg=!1,ki=e,$g=n),a=e.pendingLanes,a===0&&(Oi=null),R4(o.stateNode,r),Xo(e,Rt()),t!==null)for(r=e.onRecoverableError,o=0;o<t.length;o++)n=t[o],r(n.value,{componentStack:n.stack,digest:n.digest});if(qg)throw qg=!1,e=tw,tw=null,e;return $g&1&&e.tag!==0&&Pu(),a=e.pendingLanes,a&1?e===ow?jd++:(jd=0,ow=e):jd=0,zi(),null}function Pu(){if(ki!==null){var e=mT($g),t=Fr.transition,o=Ge;try{if(Fr.transition=null,Ge=16>e?16:e,ki===null)var r=!1;else{if(e=ki,ki=null,$g=0,Ee&6)throw Error(q(331));var n=Ee;for(Ee|=4,re=e.current;re!==null;){var a=re,i=a.child;if(re.flags&16){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(re=u;re!==null;){var c=re;switch(c.tag){case 0:case 11:case 15:Gd(8,c,a)}var d=c.child;if(d!==null)d.return=c,re=d;else for(;re!==null;){c=re;var f=c.sibling,p=c.return;if(I1(c),c===u){re=null;break}if(f!==null){f.return=p,re=f;break}re=p}}}var g=a.alternate;if(g!==null){var m=g.child;if(m!==null){g.child=null;do{var x=m.sibling;m.sibling=null,m=x}while(m!==null)}}re=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,re=i;else e:for(;re!==null;){if(a=re,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Gd(9,a,a.return)}var h=a.sibling;if(h!==null){h.return=a.return,re=h;break e}re=a.return}}var v=e.current;for(re=v;re!==null;){i=re;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,re=y;else e:for(i=v;re!==null;){if(s=re,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:nh(9,s)}}catch(w){xt(s,s.return,w)}if(s===i){re=null;break e}var C=s.sibling;if(C!==null){C.return=s.return,re=C;break e}re=s.return}}if(Ee=n,zi(),ra&&typeof ra.onPostCommitFiberRoot=="function")try{ra.onPostCommitFiberRoot(Yg,e)}catch{}r=!0}return r}finally{Ge=o,Fr.transition=t}}return!1}function UL(e,t,o){t=Au(o,t),t=m1(e,t,1),e=Ni(e,t,1),t=No(),e!==null&&(cf(e,1,t),Xo(e,t))}function xt(e,t,o){if(e.tag===3)UL(e,e,o);else for(;t!==null;){if(t.tag===3){UL(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Oi===null||!Oi.has(r))){e=Au(o,e),e=g1(t,e,1),t=Ni(t,e,1),e=No(),t!==null&&(cf(t,1,e),Xo(t,e));break}}t=t.return}}function X5(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),t=No(),e.pingedLanes|=e.suspendedLanes&o,$t===e&&(no&o)===o&&(_t===4||_t===3&&(no&130023424)===no&&500>Rt()-Hw?$s(e,0):Bw|=o),Xo(e,t)}function O1(e,t){t===0&&(e.mode&1?(t=tg,tg<<=1,!(tg&130023424)&&(tg=4194304)):t=1);var o=No();e=Da(e,t),e!==null&&(cf(e,t,o),Xo(e,o))}function Y5(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),O1(e,o)}function Q5(e,t){var o=0;switch(e.tag){case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(o=n.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(q(314))}r!==null&&r.delete(t),O1(e,o)}var F1;F1=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||$o.current)qo=!0;else{if(!(e.lanes&o)&&!(t.flags&128))return qo=!1,V5(e,t,o);qo=!!(e.flags&131072)}else qo=!1,st&&t.flags&1048576&&HT(t,Vg,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Sg(e,t),e=t.pendingProps;var n=Tu(t,xo.current);Iu(t,o),n=Dw(null,t,r,e,n,o);var a=Nw();return t.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ko(r)?(a=!0,Fg(t)):a=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Tw(t),n.updater=rh,t.stateNode=n,n._reactInternals=t,WC(t,r,e,o),t=$C(null,t,r,!0,a,o)):(t.tag=0,st&&a&&ww(t),Do(null,t,n,o),t=t.child),t;case 16:r=t.elementType;e:{switch(Sg(e,t),e=t.pendingProps,n=r._init,r=n(r._payload),t.type=r,n=t.tag=J5(r),e=hn(r,e),n){case 0:t=qC(null,t,r,e,o);break e;case 1:t=EL(null,t,r,e,o);break e;case 11:t=kL(null,t,r,e,o);break e;case 14:t=ML(null,t,r,hn(r.type,e),o);break e}throw Error(q(306,r,""))}return t;case 0:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:hn(r,n),qC(e,t,r,n,o);case 1:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:hn(r,n),EL(e,t,r,n,o);case 3:e:{if(y1(t),e===null)throw Error(q(387));r=t.pendingProps,a=t.memoizedState,n=a.element,qT(e,t),Ug(t,r,null,o);var i=t.memoizedState;if(r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){n=Au(Error(q(423)),t),t=AL(e,t,r,o,n);break e}else if(r!==n){n=Au(Error(q(424)),t),t=AL(e,t,r,o,n);break e}else for(fr=Di(t.stateNode.containerInfo.firstChild),pr=t,st=!0,xn=null,o=WT(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(ku(),r===n){t=Na(e,t,o);break e}Do(e,t,r,o)}t=t.child}return t;case 5:return $T(t),e===null&&UC(t),r=t.type,n=t.pendingProps,a=e!==null?e.memoizedProps:null,i=n.children,FC(r,n)?i=null:a!==null&&FC(r,a)&&(t.flags|=32),x1(e,t),Do(e,t,i,o),t.child;case 6:return e===null&&UC(t),null;case 13:return C1(e,t,o);case 4:return kw(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Mu(t,null,r,o):Do(e,t,r,o),t.child;case 11:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:hn(r,n),kL(e,t,r,n,o);case 7:return Do(e,t,t.pendingProps,o),t.child;case 8:return Do(e,t,t.pendingProps.children,o),t.child;case 12:return Do(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(r=t.type._context,n=t.pendingProps,a=t.memoizedProps,i=n.value,Ye(Bg,r._currentValue),r._currentValue=i,a!==null)if(wn(a.value,i)){if(a.children===n.children&&!$o.current){t=Na(e,t,o);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){i=a.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=Ma(-1,o&-o),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=o,l=a.alternate,l!==null&&(l.lanes|=o),zC(a.return,o,t),s.lanes|=o;break}l=l.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(q(341));i.lanes|=o,s=i.alternate,s!==null&&(s.lanes|=o),zC(i,o,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Do(e,t,n.children,o),t=t.child}return t;case 9:return n=t.type,r=t.pendingProps.children,Iu(t,o),n=_r(n),r=r(n),t.flags|=1,Do(e,t,r,o),t.child;case 14:return r=t.type,n=hn(r,t.pendingProps),n=hn(r.type,n),ML(e,t,r,n,o);case 15:return h1(e,t,t.type,t.pendingProps,o);case 17:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:hn(r,n),Sg(e,t),t.tag=1,Ko(r)?(e=!0,Fg(t)):e=!1,Iu(t,o),p1(t,r,n),WC(t,r,n,o),$C(null,t,r,!0,e,o);case 19:return w1(e,t,o);case 22:return v1(e,t,o)}throw Error(q(156,t.tag))};function _1(e,t){return cT(e,t)}function Z5(e,t,o,r){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Or(e,t,o,r){return new Z5(e,t,o,r)}function Ww(e){return e=e.prototype,!(!e||!e.isReactComponent)}function J5(e){if(typeof e=="function")return Ww(e)?1:0;if(e!=null){if(e=e.$$typeof,e===uw)return 11;if(e===cw)return 14}return 2}function _i(e,t){var o=e.alternate;return o===null?(o=Or(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Ig(e,t,o,r,n,a){var i=2;if(r=e,typeof e=="function")Ww(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case cu:return Ks(o.children,n,a,t);case lw:i=8,n|=8;break;case mC:return e=Or(12,o,t,n|2),e.elementType=mC,e.lanes=a,e;case gC:return e=Or(13,o,t,n),e.elementType=gC,e.lanes=a,e;case hC:return e=Or(19,o,t,n),e.elementType=hC,e.lanes=a,e;case $L:return ih(o,n,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jL:i=10;break e;case qL:i=9;break e;case uw:i=11;break e;case cw:i=14;break e;case Ri:i=16,r=null;break e}throw Error(q(130,e==null?e:typeof e,""))}return t=Or(i,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function Ks(e,t,o,r){return e=Or(7,e,r,t),e.lanes=o,e}function ih(e,t,o,r){return e=Or(22,e,r,t),e.elementType=$L,e.lanes=o,e.stateNode={isHidden:!1},e}function dC(e,t,o){return e=Or(6,e,null,t),e.lanes=o,e}function fC(e,t,o){return t=Or(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function eG(e,t,o,r,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xy(0),this.expirationTimes=Xy(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xy(0),this.identifierPrefix=r,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function jw(e,t,o,r,n,a,i,s,l){return e=new eG(e,t,o,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Or(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Tw(a),e}function tG(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:uu,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}function V1(e){if(!e)return Bi;e=e._reactInternals;e:{if(tl(e)!==e||e.tag!==1)throw Error(q(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ko(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(q(171))}if(e.tag===1){var o=e.type;if(Ko(o))return VT(e,o,t)}return t}function B1(e,t,o,r,n,a,i,s,l){return e=jw(o,r,!0,e,n,a,i,s,l),e.context=V1(null),o=e.current,r=No(),n=Fi(o),a=Ma(r,n),a.callback=t??null,Ni(o,a,n),e.current.lanes=n,cf(e,n,r),Xo(e,r),e}function sh(e,t,o,r){var n=t.current,a=No(),i=Fi(n);return o=V1(o),t.context===null?t.context=o:t.pendingContext=o,t=Ma(a,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Ni(n,t,i),e!==null&&(Cn(e,n,i,a),yg(e,n,i)),i}function Xg(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function zL(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function qw(e,t){zL(e,t),(e=e.alternate)&&zL(e,t)}function oG(){return null}var H1=typeof reportError=="function"?reportError:function(e){console.error(e)};function $w(e){this._internalRoot=e}lh.prototype.render=$w.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(q(409));sh(e,t,null,null)};lh.prototype.unmount=$w.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Js(function(){sh(null,e,null,null)}),t[Aa]=null}};function lh(e){this._internalRoot=e}lh.prototype.unstable_scheduleHydration=function(e){if(e){var t=vT();e={blockedOn:null,target:e,priority:t};for(var o=0;o<Pi.length&&t!==0&&t<Pi[o].priority;o++);Pi.splice(o,0,e),o===0&&yT(e)}};function Kw(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function uh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function GL(){}function rG(e,t,o,r,n){if(n){if(typeof r=="function"){var a=r;r=function(){var u=Xg(i);a.call(u)}}var i=B1(t,r,e,0,null,!1,!1,"",GL);return e._reactRootContainer=i,e[Aa]=i.current,ef(e.nodeType===8?e.parentNode:e),Js(),i}for(;n=e.lastChild;)e.removeChild(n);if(typeof r=="function"){var s=r;r=function(){var u=Xg(l);s.call(u)}}var l=jw(e,0,!1,null,null,!1,!1,"",GL);return e._reactRootContainer=l,e[Aa]=l.current,ef(e.nodeType===8?e.parentNode:e),Js(function(){sh(t,l,o,r)}),l}function ch(e,t,o,r,n){var a=o._reactRootContainer;if(a){var i=a;if(typeof n=="function"){var s=n;n=function(){var l=Xg(i);s.call(l)}}sh(t,i,e,n)}else i=rG(o,t,e,n,r);return Xg(i)}gT=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=Od(t.pendingLanes);o!==0&&(pw(t,o|1),Xo(t,Rt()),!(Ee&6)&&(Du=Rt()+500,zi()))}break;case 13:Js(function(){var r=Da(e,1);if(r!==null){var n=No();Cn(r,e,1,n)}}),qw(e,1)}};mw=function(e){if(e.tag===13){var t=Da(e,134217728);if(t!==null){var o=No();Cn(t,e,134217728,o)}qw(e,134217728)}};hT=function(e){if(e.tag===13){var t=Fi(e),o=Da(e,t);if(o!==null){var r=No();Cn(o,e,t,r)}qw(e,t)}};vT=function(){return Ge};xT=function(e,t){var o=Ge;try{return Ge=e,t()}finally{Ge=o}};PC=function(e,t,o){switch(t){case"input":if(yC(e,o),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=eh(r);if(!n)throw Error(q(90));XL(r),yC(r,n)}}}break;case"textarea":QL(e,o);break;case"select":t=o.value,t!=null&&wu(e,!!o.multiple,t,!1)}};nT=Uw;aT=Js;var nG={usingClientEntryPoint:!1,Events:[ff,mu,eh,oT,rT,Uw]},Ed={findFiberByHostInstance:Ws,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},aG={bundleType:Ed.bundleType,version:Ed.version,rendererPackageName:Ed.rendererPackageName,rendererConfig:Ed.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Oa.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=lT(e),e===null?null:e.stateNode},findFiberByHostInstance:Ed.findFiberByHostInstance||oG,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Ad=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Ad.isDisabled&&Ad.supportsFiber))try{Yg=Ad.inject(aG),ra=Ad}catch{}var Ad;hr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nG;hr.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kw(t))throw Error(q(200));return tG(e,t,null,o)};hr.createRoot=function(e,t){if(!Kw(e))throw Error(q(299));var o=!1,r="",n=H1;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=jw(e,1,!1,null,null,o,!1,r,n),e[Aa]=t.current,ef(e.nodeType===8?e.parentNode:e),new $w(t)};hr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(q(188)):(e=Object.keys(e).join(","),Error(q(268,e)));return e=lT(t),e=e===null?null:e.stateNode,e};hr.flushSync=function(e){return Js(e)};hr.hydrate=function(e,t,o){if(!uh(t))throw Error(q(200));return ch(null,e,t,!0,o)};hr.hydrateRoot=function(e,t,o){if(!Kw(e))throw Error(q(405));var r=o!=null&&o.hydratedSources||null,n=!1,a="",i=H1;if(o!=null&&(o.unstable_strictMode===!0&&(n=!0),o.identifierPrefix!==void 0&&(a=o.identifierPrefix),o.onRecoverableError!==void 0&&(i=o.onRecoverableError)),t=B1(t,null,e,1,o??null,n,!1,a,i),e[Aa]=t.current,ef(e),r)for(e=0;e<r.length;e++)o=r[e],n=o._getVersion,n=n(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,n]:t.mutableSourceEagerHydrationData.push(o,n);return new lh(t)};hr.render=function(e,t,o){if(!uh(t))throw Error(q(200));return ch(null,e,t,!1,o)};hr.unmountComponentAtNode=function(e){if(!uh(e))throw Error(q(40));return e._reactRootContainer?(Js(function(){ch(null,null,e,!1,function(){e._reactRootContainer=null,e[Aa]=null})}),!0):!1};hr.unstable_batchedUpdates=Uw;hr.unstable_renderSubtreeIntoContainer=function(e,t,o,r){if(!uh(o))throw Error(q(200));if(e==null||e._reactInternals===void 0)throw Error(q(38));return ch(e,t,o,!1,r)};hr.version="18.3.1-next-f1338f8080-20240426"});var Fa=au((Gee,G1)=>{"use strict";function z1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(z1)}catch(e){console.error(e)}}z1(),G1.exports=U1()});var Vk=au(_k=>{"use strict";var Yu=M();function dj(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var fj=typeof Object.is=="function"?Object.is:dj,pj=Yu.useState,mj=Yu.useEffect,gj=Yu.useLayoutEffect,hj=Yu.useDebugValue;function vj(e,t){var o=t(),r=pj({inst:{value:o,getSnapshot:t}}),n=r[0].inst,a=r[1];return gj(function(){n.value=o,n.getSnapshot=t,d0(n)&&a({inst:n})},[e,o,t]),mj(function(){return d0(n)&&a({inst:n}),e(function(){d0(n)&&a({inst:n})})},[e]),hj(o),o}function d0(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!fj(e,o)}catch{return!0}}function xj(e,t){return t()}var yj=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?xj:vj;_k.useSyncExternalStore=Yu.useSyncExternalStore!==void 0?Yu.useSyncExternalStore:yj});var Hk=au((Jne,Bk)=>{"use strict";Bk.exports=Vk()});var Sh=R(M());var Qo=R(M(),1);var Mr=R(M(),1),Oy=R(N(),1);function CP(e,t){let o=Mr.createContext(t),r=a=>{let{children:i,...s}=a,l=Mr.useMemo(()=>s,Object.values(s));return(0,Oy.jsx)(o.Provider,{value:l,children:i})};r.displayName=e+"Provider";function n(a){let i=Mr.useContext(o);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,n]}function Oe(e,t=[]){let o=[];function r(a,i){let s=Mr.createContext(i),l=o.length;o=[...o,i];let u=d=>{let{scope:f,children:p,...g}=d,m=f?.[e]?.[l]||s,x=Mr.useMemo(()=>g,Object.values(g));return(0,Oy.jsx)(m.Provider,{value:x,children:p})};u.displayName=a+"Provider";function c(d,f){let p=f?.[e]?.[l]||s,g=Mr.useContext(p);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[u,c]}let n=()=>{let a=o.map(i=>Mr.createContext(i));return function(s){let l=s?.[e]||a;return Mr.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return n.scopeName=e,[r,Kz(n,...t)]}function Kz(...e){let t=e[0];if(e.length===1)return t;let o=()=>{let r=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){let i=r.reduce((s,{useScope:l,scopeName:u})=>{let d=l(a)[`__scope${u}`];return{...s,...d}},{});return Mr.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return o.scopeName=t.scopeName,o}var wi=R(M(),1);var SP=R(M(),1);function wP(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function cr(...e){return t=>{let o=!1,r=e.map(n=>{let a=wP(n,t);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let n=0;n<r.length;n++){let a=r[n];typeof a=="function"?a():wP(e[n],null)}}}}function de(...e){return SP.useCallback(cr(...e),e)}var Ot=R(M(),1);var iu=R(N(),1);function Wo(e){let t=Xz(e),o=Ot.forwardRef((r,n)=>{let{children:a,...i}=r,s=Ot.Children.toArray(a),l=s.find(Yz);if(l){let u=l.props.children,c=s.map(d=>d===l?Ot.Children.count(u)>1?Ot.Children.only(null):Ot.isValidElement(u)?u.props.children:null:d);return(0,iu.jsx)(t,{...i,ref:n,children:Ot.isValidElement(u)?Ot.cloneElement(u,void 0,c):null})}return(0,iu.jsx)(t,{...i,ref:n,children:a})});return o.displayName=`${e}.Slot`,o}var Gm=Wo("Slot");function Xz(e){let t=Ot.forwardRef((o,r)=>{let{children:n,...a}=o;if(Ot.isValidElement(n)){let i=Zz(n),s=Qz(a,n.props);return n.type!==Ot.Fragment&&(s.ref=r?cr(r,i):i),Ot.cloneElement(n,s)}return Ot.Children.count(n)>1?Ot.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bP=Symbol("radix.slottable");function RP(e){let t=({children:o})=>(0,iu.jsx)(iu.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=bP,t}function Yz(e){return Ot.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bP}function Qz(e,t){let o={...t};for(let r in t){let n=e[r],a=t[r];/^on[A-Z]/.test(r)?n&&a?o[r]=(...s)=>{let l=a(...s);return n(...s),l}:n&&(o[r]=n):r==="style"?o[r]={...n,...a}:r==="className"&&(o[r]=[n,a].filter(Boolean).join(" "))}return{...e,...o}}function Zz(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var Wm=R(N(),1),Jz=R(M(),1);var e4=R(N(),1);function Zn(e){let t=e+"CollectionProvider",[o,r]=Oe(t),[n,a]=o(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{let{scope:x,children:h}=m,v=wi.default.useRef(null),y=wi.default.useRef(new Map).current;return(0,Wm.jsx)(n,{scope:x,itemMap:y,collectionRef:v,children:h})};i.displayName=t;let s=e+"CollectionSlot",l=Wo(s),u=wi.default.forwardRef((m,x)=>{let{scope:h,children:v}=m,y=a(s,h),C=de(x,y.collectionRef);return(0,Wm.jsx)(l,{ref:C,children:v})});u.displayName=s;let c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Wo(c),p=wi.default.forwardRef((m,x)=>{let{scope:h,children:v,...y}=m,C=wi.default.useRef(null),w=de(x,C),b=a(c,h);return wi.default.useEffect(()=>(b.itemMap.set(C,{ref:C,...y}),()=>void b.itemMap.delete(C))),(0,Wm.jsx)(f,{[d]:"",ref:w,children:v})});p.displayName=c;function g(m){let x=a(e+"CollectionConsumer",m);return wi.default.useCallback(()=>{let v=x.collectionRef.current;if(!v)return[];let y=Array.from(v.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((b,S)=>y.indexOf(b.ref.current)-y.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},g,r]}var Nee=!!(typeof window<"u"&&window.document&&window.document.createElement);function W(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e?.(n),o===!1||!n.defaultPrevented)return t?.(n)}}var Er=R(M(),1);var IP=R(M(),1),_e=globalThis?.document?IP.useLayoutEffect:()=>{};var jm=R(M(),1);var t4=Er[" useInsertionEffect ".trim().toString()]||_e;function qe({prop:e,defaultProp:t,onChange:o=()=>{},caller:r}){let[n,a,i]=o4({defaultProp:t,onChange:o}),s=e!==void 0,l=s?e:n;{let c=Er.useRef(e!==void 0);Er.useEffect(()=>{let d=c.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,r])}let u=Er.useCallback(c=>{if(s){let d=r4(c)?c(e):c;d!==e&&i.current?.(d)}else a(c)},[s,e,a,i]);return[l,u]}function o4({defaultProp:e,onChange:t}){let[o,r]=Er.useState(e),n=Er.useRef(o),a=Er.useRef(t);return t4(()=>{a.current=t},[t]),Er.useEffect(()=>{n.current!==o&&(a.current?.(o),n.current=o)},[o,n]),[o,r,a]}function r4(e){return typeof e=="function"}var Vee=Symbol("RADIX:SYNC_STATE");var W1=R(M(),1),j1=R(Fa(),1);var q1=R(N(),1),iG=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$=iG.reduce((e,t)=>{let o=Wo(`Primitive.${t}`),r=W1.forwardRef((n,a)=>{let{asChild:i,...s}=n,l=i?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,q1.jsx)(l,{...s,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Fu(e,t){e&&j1.flushSync(()=>e.dispatchEvent(t))}var io=R(M(),1);var Yo=R(M(),1);var $1=R(M(),1);function sG(e,t){return $1.useReducer((o,r)=>t[o][r]??o,e)}var lt=e=>{let{present:t,children:o}=e,r=lG(t),n=typeof o=="function"?o({present:r.isPresent}):Yo.Children.only(o),a=de(r.ref,uG(n));return typeof o=="function"||r.isPresent?Yo.cloneElement(n,{ref:a}):null};lt.displayName="Presence";function lG(e){let[t,o]=Yo.useState(),r=Yo.useRef(null),n=Yo.useRef(e),a=Yo.useRef("none"),i=e?"mounted":"unmounted",[s,l]=sG(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Yo.useEffect(()=>{let u=dh(r.current);a.current=s==="mounted"?u:"none"},[s]),_e(()=>{let u=r.current,c=n.current;if(c!==e){let f=a.current,p=dh(u);e?l("MOUNT"):p==="none"||u?.display==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,l]),_e(()=>{if(t){let u,c=t.ownerDocument.defaultView??window,d=p=>{let m=dh(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&m&&(l("ANIMATION_END"),!n.current)){let x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=p=>{p.target===t&&(a.current=dh(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Yo.useCallback(u=>{r.current=u?getComputedStyle(u):null,o(u)},[])}}function dh(e){return e?.animationName||"none"}function uG(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var Xw=R(M(),1);var cG=Xw[" useId ".trim().toString()]||(()=>{}),dG=0;function Ae(e){let[t,o]=Xw.useState(cG());return _e(()=>{e||o(r=>r??String(dG++))},[e]),e||(t?`radix-${t}`:"")}var ol=R(N(),1),fh="Collapsible",[fG,Yw]=Oe(fh),[pG,Qw]=fG(fh),K1=io.forwardRef((e,t)=>{let{__scopeCollapsible:o,open:r,defaultOpen:n,disabled:a,onOpenChange:i,...s}=e,[l,u]=qe({prop:r,defaultProp:n??!1,onChange:i,caller:fh});return(0,ol.jsx)(pG,{scope:o,disabled:a,contentId:Ae(),open:l,onOpenToggle:io.useCallback(()=>u(c=>!c),[u]),children:(0,ol.jsx)($.div,{"data-state":Jw(l),"data-disabled":a?"":void 0,...s,ref:t})})});K1.displayName=fh;var X1="CollapsibleTrigger",Y1=io.forwardRef((e,t)=>{let{__scopeCollapsible:o,...r}=e,n=Qw(X1,o);return(0,ol.jsx)($.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":Jw(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...r,ref:t,onClick:W(e.onClick,n.onOpenToggle)})});Y1.displayName=X1;var Zw="CollapsibleContent",Q1=io.forwardRef((e,t)=>{let{forceMount:o,...r}=e,n=Qw(Zw,e.__scopeCollapsible);return(0,ol.jsx)(lt,{present:o||n.open,children:({present:a})=>(0,ol.jsx)(mG,{...r,ref:t,present:a})})});Q1.displayName=Zw;var mG=io.forwardRef((e,t)=>{let{__scopeCollapsible:o,present:r,children:n,...a}=e,i=Qw(Zw,o),[s,l]=io.useState(r),u=io.useRef(null),c=de(t,u),d=io.useRef(0),f=d.current,p=io.useRef(0),g=p.current,m=i.open||s,x=io.useRef(m),h=io.useRef(void 0);return io.useEffect(()=>{let v=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(v)},[]),_e(()=>{let v=u.current;if(v){h.current=h.current||{transitionDuration:v.style.transitionDuration,animationName:v.style.animationName},v.style.transitionDuration="0s",v.style.animationName="none";let y=v.getBoundingClientRect();d.current=y.height,p.current=y.width,x.current||(v.style.transitionDuration=h.current.transitionDuration,v.style.animationName=h.current.animationName),l(r)}},[i.open,r]),(0,ol.jsx)($.div,{"data-state":Jw(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!m,...a,ref:c,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:m&&n})});function Jw(e){return e?"open":"closed"}var ph=K1,_u=Y1,mf=Q1;var mh=R(M(),1),gG=R(N(),1),hG=mh.createContext(void 0);function aa(e){let t=mh.useContext(hG);return e||t||"ltr"}var Vt=R(N(),1),Sn="Accordion",vG=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[t0,xG,yG]=Zn(Sn),[hh,gte]=Oe(Sn,[yG,Yw]),o0=Yw(),J1=Qo.default.forwardRef((e,t)=>{let{type:o,...r}=e,n=r,a=r;return(0,Vt.jsx)(t0.Provider,{scope:e.__scopeAccordion,children:o==="multiple"?(0,Vt.jsx)(bG,{...a,ref:t}):(0,Vt.jsx)(SG,{...n,ref:t})})});J1.displayName=Sn;var[ek,CG]=hh(Sn),[tk,wG]=hh(Sn,{collapsible:!1}),SG=Qo.default.forwardRef((e,t)=>{let{value:o,defaultValue:r,onValueChange:n=()=>{},collapsible:a=!1,...i}=e,[s,l]=qe({prop:o,defaultProp:r??"",onChange:n,caller:Sn});return(0,Vt.jsx)(ek,{scope:e.__scopeAccordion,value:Qo.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:Qo.default.useCallback(()=>a&&l(""),[a,l]),children:(0,Vt.jsx)(tk,{scope:e.__scopeAccordion,collapsible:a,children:(0,Vt.jsx)(ok,{...i,ref:t})})})}),bG=Qo.default.forwardRef((e,t)=>{let{value:o,defaultValue:r,onValueChange:n=()=>{},...a}=e,[i,s]=qe({prop:o,defaultProp:r??[],onChange:n,caller:Sn}),l=Qo.default.useCallback(c=>s((d=[])=>[...d,c]),[s]),u=Qo.default.useCallback(c=>s((d=[])=>d.filter(f=>f!==c)),[s]);return(0,Vt.jsx)(ek,{scope:e.__scopeAccordion,value:i,onItemOpen:l,onItemClose:u,children:(0,Vt.jsx)(tk,{scope:e.__scopeAccordion,collapsible:!0,children:(0,Vt.jsx)(ok,{...a,ref:t})})})}),[RG,vh]=hh(Sn),ok=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,disabled:r,dir:n,orientation:a="vertical",...i}=e,s=Qo.default.useRef(null),l=de(s,t),u=xG(o),d=aa(n)==="ltr",f=W(e.onKeyDown,p=>{if(!vG.includes(p.key))return;let g=p.target,m=u().filter(I=>!I.ref.current?.disabled),x=m.findIndex(I=>I.ref.current===g),h=m.length;if(x===-1)return;p.preventDefault();let v=x,y=0,C=h-1,w=()=>{v=x+1,v>C&&(v=y)},b=()=>{v=x-1,v<y&&(v=C)};switch(p.key){case"Home":v=y;break;case"End":v=C;break;case"ArrowRight":a==="horizontal"&&(d?w():b());break;case"ArrowDown":a==="vertical"&&w();break;case"ArrowLeft":a==="horizontal"&&(d?b():w());break;case"ArrowUp":a==="vertical"&&b();break}let S=v%h;m[S].ref.current?.focus()});return(0,Vt.jsx)(RG,{scope:o,disabled:r,direction:n,orientation:a,children:(0,Vt.jsx)(t0.Slot,{scope:o,children:(0,Vt.jsx)($.div,{...i,"data-orientation":a,ref:l,onKeyDown:r?void 0:f})})})}),gh="AccordionItem",[IG,r0]=hh(gh),rk=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,value:r,...n}=e,a=vh(gh,o),i=CG(gh,o),s=o0(o),l=Ae(),u=r&&i.value.includes(r)||!1,c=a.disabled||e.disabled;return(0,Vt.jsx)(IG,{scope:o,open:u,disabled:c,triggerId:l,children:(0,Vt.jsx)(ph,{"data-orientation":a.orientation,"data-state":uk(u),...s,...n,ref:t,disabled:c,open:u,onOpenChange:d=>{d?i.onItemOpen(r):i.onItemClose(r)}})})});rk.displayName=gh;var nk="AccordionHeader",ak=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,...r}=e,n=vh(Sn,o),a=r0(nk,o);return(0,Vt.jsx)($.h3,{"data-orientation":n.orientation,"data-state":uk(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})});ak.displayName=nk;var e0="AccordionTrigger",ik=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,...r}=e,n=vh(Sn,o),a=r0(e0,o),i=wG(e0,o),s=o0(o);return(0,Vt.jsx)(t0.ItemSlot,{scope:o,children:(0,Vt.jsx)(_u,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:a.triggerId,...s,...r,ref:t})})});ik.displayName=e0;var sk="AccordionContent",lk=Qo.default.forwardRef((e,t)=>{let{__scopeAccordion:o,...r}=e,n=vh(Sn,o),a=r0(sk,o),i=o0(o);return(0,Vt.jsx)(mf,{role:"region","aria-labelledby":a.triggerId,"data-orientation":n.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});lk.displayName=sk;function uk(e){return e?"open":"closed"}var ck=J1,dk=rk,fk=ak,n0=ik,a0=lk;var yh=R(M());var pk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),LG=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,o,r)=>r?r.toUpperCase():o.toLowerCase()),i0=e=>{let t=LG(e);return t.charAt(0).toUpperCase()+t.slice(1)},xh=(...e)=>e.filter((t,o,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===o).join(" ").trim(),mk=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var gf=R(M());var gk={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"};var hk=(0,gf.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:n="",children:a,iconNode:i,...s},l)=>(0,gf.createElement)("svg",{ref:l,...gk,width:t,height:t,stroke:e,strokeWidth:r?Number(o)*24/Number(t):o,className:xh("lucide",n),...!a&&!mk(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,c])=>(0,gf.createElement)(u,c)),...Array.isArray(a)?a:[a]]));var H=(e,t)=>{let o=(0,yh.forwardRef)(({className:r,...n},a)=>(0,yh.createElement)(hk,{ref:a,iconNode:t,className:xh(`lucide-${pk(i0(e))}`,`lucide-${e}`,r),...n}));return o.displayName=i0(e),o};var TG=[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],hf=H("align-center",TG);var kG=[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]],vf=H("align-justify",kG);var MG=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],xf=H("align-left",MG);var EG=[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],yf=H("align-right",EG);var AG=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Vu=H("arrow-down",AG);var DG=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Cf=H("arrow-left",DG);var NG=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],wf=H("arrow-right",NG);var OG=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],Bu=H("arrow-up-down",OG);var FG=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Hu=H("arrow-up",FG);var _G=[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]],Sf=H("bold",_G);var VG=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],rl=H("calendar",VG);var BG=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],yo=H("check",BG);var HG=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ia=H("chevron-down",HG);var UG=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],bn=H("chevron-left",UG);var zG=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Fo=H("chevron-right",zG);var GG=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],bf=H("chevron-up",GG);var WG=[["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"}]],Rn=H("circle-alert",WG);var jG=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Gi=H("circle-check-big",jG);var qG=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],nl=H("circle",qG);var $G=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Rf=H("clock",$G);var KG=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],If=H("code",KG);var XG=[["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"}]],Pf=H("copy",XG);var YG=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Lf=H("credit-card",YG);var QG=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],Uu=H("crown",QG);var ZG=[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]],Tf=H("dot",ZG);var JG=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],sa=H("ellipsis",JG);var eW=[["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"}]],kf=H("external-link",eW);var tW=[["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"}]],al=H("eye",tW);var oW=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Mf=H("file-text",oW);var rW=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Ef=H("file",rW);var nW=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],Af=H("git-fork",nW);var aW=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],il=H("image",aW);var iW=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],zu=H("info",iW);var sW=[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]],Df=H("italic",sW);var lW=[["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"}]],Nf=H("link",lW);var uW=[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]],Of=H("list-ordered",uW);var cW=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],Ff=H("list",cW);var dW=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Bt=H("loader-circle",dW);var fW=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Gu=H("lock",fW);var pW=[["path",{d:"M5 12h14",key:"1ays0h"}]],_f=H("minus",pW);var mW=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],Vf=H("music",mW);var gW=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Wu=H("palette",gW);var hW=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Bf=H("phone",hW);var vW=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],Ch=H("pipette",vW);var xW=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Hf=H("quote",xW);var yW=[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],Uf=H("redo",yW);var CW=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],sl=H("search",CW);var wW=[["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"}]],Zo=H("square-pen",wW);var SW=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Wi=H("star",SW);var bW=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],zf=H("strikethrough",bW);var RW=[["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"}]],ji=H("triangle-alert",RW);var IW=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],Gf=H("underline",IW);var PW=[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]],Wf=H("undo",PW);var LW=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],jf=H("upload",LW);var TW=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],qf=H("video",TW);var kW=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],vr=H("x",kW);var MW=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],ju=H("zap",MW);var Pk=R(M());function vk(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=vk(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function wh(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=vk(e))&&(r&&(r+=" "),r+=t);return r}var u0="-",EW=e=>{let t=DW(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{let s=i.split(u0);return s[0]===""&&s.length!==1&&s.shift(),Ck(s,t)||AW(i)},getConflictingClassGroupIds:(i,s)=>{let l=o[i]||[];return s&&r[i]?[...l,...r[i]]:l}}},Ck=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),n=r?Ck(e.slice(1),r):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(u0);return t.validators.find(({validator:i})=>i(a))?.classGroupId},xk=/^\[(.+)\]$/,AW=e=>{if(xk.test(e)){let t=xk.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},DW=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return OW(Object.entries(e.classGroups),o).forEach(([a,i])=>{l0(i,r,a,t)}),r},l0=(e,t,o,r)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:yk(t,n);a.classGroupId=o;return}if(typeof n=="function"){if(NW(n)){l0(n(r),t,o,r);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([a,i])=>{l0(i,yk(t,a),o,r)})})},yk=(e,t)=>{let o=e;return t.split(u0).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},NW=e=>e.isThemeGetter,OW=(e,t)=>t?e.map(([o,r])=>{let n=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[o,n]}):e,FW=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,n=(a,i)=>{o.set(a,i),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let i=o.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return n(a,i),i},set(a,i){o.has(a)?o.set(a,i):n(a,i)}}},wk="!",_W=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,n=t[0],a=t.length,i=s=>{let l=[],u=0,c=0,d;for(let x=0;x<s.length;x++){let h=s[x];if(u===0){if(h===n&&(r||s.slice(x,x+a)===t)){l.push(s.slice(c,x)),c=x+a;continue}if(h==="/"){d=x;continue}}h==="["?u++:h==="]"&&u--}let f=l.length===0?s:s.substring(c),p=f.startsWith(wk),g=p?f.substring(1):f,m=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:m}};return o?s=>o({className:s,parseClassName:i}):i},VW=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},BW=e=>({cache:FW(e.cacheSize),parseClassName:_W(e),...EW(e)}),HW=/\s+/,UW=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(HW),s="";for(let l=i.length-1;l>=0;l-=1){let u=i[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=o(u),g=!!p,m=r(g?f.substring(0,p):f);if(!m){if(!g){s=u+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=u+(s.length>0?" "+s:s);continue}g=!1}let x=VW(c).join(":"),h=d?x+wk:x,v=h+m;if(a.includes(v))continue;a.push(v);let y=n(m,g);for(let C=0;C<y.length;++C){let w=y[C];a.push(h+w)}s=u+(s.length>0?" "+s:s)}return s};function zW(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Sk(t))&&(r&&(r+=" "),r+=o);return r}var Sk=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Sk(e[r]))&&(o&&(o+=" "),o+=t);return o};function GW(e,...t){let o,r,n,a=i;function i(l){let u=t.reduce((c,d)=>d(c),e());return o=BW(u),r=o.cache.get,n=o.cache.set,a=s,s(l)}function s(l){let u=r(l);if(u)return u;let c=UW(l,o);return n(l,c),c}return function(){return a(zW.apply(null,arguments))}}var ot=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},bk=/^\[(?:([a-z-]+):)?(.+)\]$/i,WW=/^\d+\/\d+$/,jW=new Set(["px","full","screen"]),qW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$W=/\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$/,KW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,XW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,YW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_a=e=>qu(e)||jW.has(e)||WW.test(e),qi=e=>$u(e,"length",nj),qu=e=>!!e&&!Number.isNaN(Number(e)),s0=e=>$u(e,"number",qu),$f=e=>!!e&&Number.isInteger(Number(e)),QW=e=>e.endsWith("%")&&qu(e.slice(0,-1)),Pe=e=>bk.test(e),$i=e=>qW.test(e),ZW=new Set(["length","size","percentage"]),JW=e=>$u(e,ZW,Rk),ej=e=>$u(e,"position",Rk),tj=new Set(["image","url"]),oj=e=>$u(e,tj,ij),rj=e=>$u(e,"",aj),Kf=()=>!0,$u=(e,t,o)=>{let r=bk.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},nj=e=>$W.test(e)&&!KW.test(e),Rk=()=>!1,aj=e=>XW.test(e),ij=e=>YW.test(e);var sj=()=>{let e=ot("colors"),t=ot("spacing"),o=ot("blur"),r=ot("brightness"),n=ot("borderColor"),a=ot("borderRadius"),i=ot("borderSpacing"),s=ot("borderWidth"),l=ot("contrast"),u=ot("grayscale"),c=ot("hueRotate"),d=ot("invert"),f=ot("gap"),p=ot("gradientColorStops"),g=ot("gradientColorStopPositions"),m=ot("inset"),x=ot("margin"),h=ot("opacity"),v=ot("padding"),y=ot("saturate"),C=ot("scale"),w=ot("sepia"),b=ot("skew"),S=ot("space"),I=ot("translate"),P=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto",Pe,t],E=()=>[Pe,t],_=()=>["",_a,qi],D=()=>["auto",qu,Pe],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],O=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",Pe],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ae=()=>[qu,Pe];return{cacheSize:500,separator:":",theme:{colors:[Kf],spacing:[_a,qi],blur:["none","",$i,Pe],brightness:ae(),borderColor:[e],borderRadius:["none","","full",$i,Pe],borderSpacing:E(),borderWidth:_(),contrast:ae(),grayscale:A(),hueRotate:ae(),invert:A(),gap:E(),gradientColorStops:[e],gradientColorStopPositions:[QW,qi],inset:k(),margin:k(),opacity:ae(),padding:E(),saturate:ae(),scale:ae(),sepia:A(),skew:ae(),space:E(),translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",Pe]}],container:["container"],columns:[{columns:[$i]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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"],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:[...z(),Pe]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$f,Pe]}],basis:[{basis:k()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Pe]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",$f,Pe]}],"grid-cols":[{"grid-cols":[Kf]}],"col-start-end":[{col:["auto",{span:["full",$f,Pe]},Pe]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Kf]}],"row-start-end":[{row:["auto",{span:[$f,Pe]},Pe]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Pe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Pe]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Pe,t]}],"min-w":[{"min-w":[Pe,t,"min","max","fit"]}],"max-w":[{"max-w":[Pe,t,"none","full","min","max","fit","prose",{screen:[$i]},$i]}],h:[{h:[Pe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Pe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Pe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Pe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",$i,qi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",s0]}],"font-family":[{font:[Kf]}],"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:["tighter","tight","normal","wide","wider","widest",Pe]}],"line-clamp":[{"line-clamp":["none",qu,s0]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_a,Pe]}],"list-image":[{"list-image":["none",Pe]}],"list-style-type":[{list:["none","disc","decimal",Pe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_a,qi]}],"underline-offset":[{"underline-offset":["auto",_a,Pe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),ej]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",JW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oj]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:F()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[_a,Pe]}],"outline-w":[{outline:[_a,qi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[_a,qi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$i,rj]}],"shadow-color":[{shadow:[Kf]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...O(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":O()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",$i,Pe]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Pe]}],duration:[{duration:ae()}],ease:[{ease:["linear","in","out","in-out",Pe]}],delay:[{delay:ae()}],animate:[{animate:["none","spin","ping","pulse","bounce",Pe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[$f,Pe]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Pe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",Pe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"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",Pe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_a,qi,s0]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}};var Ik=GW(sj);function L(...e){return Ik(wh(e))}function Xf(e){if(e==null||typeof e=="boolean")return"";if(typeof e=="string"||typeof e=="number")return String(e);if(Array.isArray(e))return e.map(Xf).filter(Boolean).join(" ").trim();if(Pk.isValidElement(e)){let t=e.props;return Xf(t.children)}return""}var Ki=R(N()),lj=ck,Lk=Sh.forwardRef(({className:e,...t},o)=>(0,Ki.jsx)(dk,{ref:o,className:L("moonui-theme","border-b border-gray-200 dark:border-gray-800",e),...t}));Lk.displayName="AccordionItem";var Tk=Sh.forwardRef(({className:e,children:t,...o},r)=>(0,Ki.jsx)(fk,{className:"flex",children:(0,Ki.jsxs)(n0,{ref:r,className:L("flex flex-1 items-center justify-between py-4 font-medium transition-all dark:text-gray-100","hover:underline hover:text-primary","[&[data-state=open]>svg]:rotate-180",e),...o,children:[t,(0,Ki.jsx)(ia,{className:"h-4 w-4 shrink-0 transition-transform duration-200 opacity-70 group-hover:opacity-100"})]})}));Tk.displayName=n0.displayName;var kk=Sh.forwardRef(({className:e,children:t,...o},r)=>(0,Ki.jsx)(a0,{ref:r,className:L("overflow-hidden text-sm text-gray-700 dark:text-gray-300 transition-all","data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...o,children:(0,Ki.jsx)("div",{className:"pb-4 pt-0",children:t})}));kk.displayName=a0.displayName;var Ku=R(M());var Mk=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ek=wh,K=(e,t)=>o=>{var r;if(t?.variants==null)return Ek(e,o?.class,o?.className);let{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(u=>{let c=o?.[u],d=a?.[u];if(c===null)return null;let f=Mk(c)||Mk(d);return n[u][f]}),s=o&&Object.entries(o).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...p}=c;return Object.entries(p).every(g=>{let[m,x]=g;return Array.isArray(x)?x.includes({...a,...s}[m]):{...a,...s}[m]===x})?[...u,d,f]:u},[]);return Ek(e,i,l,o?.class,o?.className)};var Va=R(N()),uj=K("relative w-full flex items-center gap-3 p-4 border text-foreground [&>svg]:shrink-0",{variants:{variant:{default:"bg-background text-foreground border-border",primary:"bg-primary/10 text-primary border-primary/30",success:"bg-success/10 text-success border-success/30",warning:"bg-warning/10 text-warning border-warning/30",error:"bg-destructive/10 text-destructive border-destructive/30",info:"bg-info/10 text-info border-info/30"},size:{sm:"py-2 text-xs",md:"py-3 text-sm",lg:"py-4 text-base",default:"py-3 text-sm"},radius:{none:"rounded-none",sm:"rounded-sm",default:"rounded-md",lg:"rounded-lg",full:"rounded-full"},withClose:{true:"pr-10"}},defaultVariants:{variant:"default",size:"md",radius:"default",withClose:!1}}),Ak=Ku.forwardRef(({className:e,variant:t="default",size:o,radius:r,hideIcon:n=!1,closable:a=!1,onClose:i,children:s,...l},u)=>{let c=Ku.useMemo(()=>{switch(t){case"success":return yo;case"warning":return ji;case"error":return Rn;case"info":return zu;default:return zu}},[t]);return(0,Va.jsxs)("div",{ref:u,role:"alert",className:L("moonui-theme",uj({variant:t,size:o,radius:r,withClose:a}),e),...l,children:[!n&&(0,Va.jsx)(c,{className:"h-5 w-5"}),(0,Va.jsx)("div",{className:"flex-1",children:s}),a&&i&&(0,Va.jsx)("button",{onClick:i,className:"absolute right-3 top-3 inline-flex h-6 w-6 items-center justify-center rounded-full opacity-70 transition-opacity hover:opacity-100","aria-label":"Close alert",children:(0,Va.jsx)(vr,{className:"h-4 w-4"})})]})});Ak.displayName="Alert";var Dk=Ku.forwardRef(({className:e,...t},o)=>(0,Va.jsx)("h5",{ref:o,className:L("moonui-theme","font-semibold leading-tight tracking-tight mb-1",e),...t}));Dk.displayName="AlertTitle";var Nk=Ku.forwardRef(({className:e,...t},o)=>(0,Va.jsx)("div",{ref:o,className:L("moonui-theme","text-sm leading-5 text-muted-foreground",e),...t}));Nk.displayName="AlertDescription";var Ok=R(M());var c0=R(N()),cj=K("relative overflow-hidden",{variants:{variant:{default:"bg-muted/10",ghost:"bg-transparent",outline:"border border-border",card:"bg-card shadow-sm"},radius:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}},defaultVariants:{variant:"default",radius:"md"}}),Fk=Ok.forwardRef(({className:e,variant:t,radius:o,ratio:r=16/9,style:n,children:a,...i},s)=>(0,c0.jsx)("div",{ref:s,className:L("moonui-theme",cj({variant:t,radius:o}),e),style:{position:"relative",paddingBottom:`${1/r*100}%`,...n},...i,children:(0,c0.jsx)("div",{className:"absolute inset-0",children:a})}));Fk.displayName="AspectRatio";var ll=R(M());var Br=R(M(),1);var Xu=R(M(),1);function rt(e){let t=Xu.useRef(e);return Xu.useEffect(()=>{t.current=e}),Xu.useMemo(()=>(...o)=>t.current?.(...o),[])}var Uk=R(Hk(),1);function zk(){return(0,Uk.useSyncExternalStore)(Cj,()=>!0,()=>!1)}function Cj(){return()=>{}}var Yf=R(N(),1),f0="Avatar",[wj,iae]=Oe(f0),[Sj,Wk]=wj(f0),jk=Br.forwardRef((e,t)=>{let{__scopeAvatar:o,...r}=e,[n,a]=Br.useState("idle");return(0,Yf.jsx)(Sj,{scope:o,imageLoadingStatus:n,onImageLoadingStatusChange:a,children:(0,Yf.jsx)($.span,{...r,ref:t})})});jk.displayName=f0;var qk="AvatarImage",$k=Br.forwardRef((e,t)=>{let{__scopeAvatar:o,src:r,onLoadingStatusChange:n=()=>{},...a}=e,i=Wk(qk,o),s=bj(r,a),l=rt(u=>{n(u),i.onImageLoadingStatusChange(u)});return _e(()=>{s!=="idle"&&l(s)},[s,l]),s==="loaded"?(0,Yf.jsx)($.img,{...a,ref:t,src:r}):null});$k.displayName=qk;var Kk="AvatarFallback",Xk=Br.forwardRef((e,t)=>{let{__scopeAvatar:o,delayMs:r,...n}=e,a=Wk(Kk,o),[i,s]=Br.useState(r===void 0);return Br.useEffect(()=>{if(r!==void 0){let l=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(l)}},[r]),i&&a.imageLoadingStatus!=="loaded"?(0,Yf.jsx)($.span,{...n,ref:t}):null});Xk.displayName=Kk;function Gk(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function bj(e,{referrerPolicy:t,crossOrigin:o}){let r=zk(),n=Br.useRef(null),a=(()=>r?(n.current||(n.current=new window.Image),n.current):null)(),[i,s]=Br.useState(()=>Gk(a,e));return _e(()=>{s(Gk(a,e))},[a,e]),_e(()=>{let l=d=>()=>{s(d)};if(!a)return;let u=l("loaded"),c=l("error");return a.addEventListener("load",u),a.addEventListener("error",c),t&&(a.referrerPolicy=t),typeof o=="string"&&(a.crossOrigin=o),()=>{a.removeEventListener("load",u),a.removeEventListener("error",c)}},[a,o,t]),i}var p0=jk,m0=$k,g0=Xk;var In=R(N()),Ij=K("relative flex shrink-0 overflow-hidden",{variants:{size:{xs:"h-6 w-6",sm:"h-8 w-8",md:"h-10 w-10",lg:"h-12 w-12",xl:"h-16 w-16","2xl":"h-20 w-20",default:"h-10 w-10"},radius:{default:"rounded-full",sm:"rounded-md",lg:"rounded-xl",full:"rounded-full",none:"rounded-none"},variant:{default:"",ring:"ring-2 ring-border",ringOffset:"ring-2 ring-border ring-offset-2 ring-offset-background",border:"border-2 border-border"}},defaultVariants:{size:"md",radius:"default",variant:"default"}}),h0=ll.forwardRef(({className:e,size:t,radius:o,variant:r,...n},a)=>(0,In.jsx)(p0,{ref:a,className:L("moonui-theme",Ij({size:t,radius:o,variant:r}),e),...n}));h0.displayName=p0.displayName;var Yk=ll.forwardRef(({className:e,alt:t="",...o},r)=>(0,In.jsx)(m0,{ref:r,alt:t,className:L("moonui-theme","aspect-square h-full w-full",e),...o}));Yk.displayName=m0.displayName;var v0=ll.forwardRef(({className:e,...t},o)=>(0,In.jsx)(g0,{ref:o,className:L("flex h-full w-full items-center justify-center bg-muted",e),...t}));v0.displayName=g0.displayName;var Qk=ll.forwardRef(({className:e,max:t,children:o,overlapOffset:r=-8,...n},a)=>{let i=ll.Children.toArray(o),s=t?i.slice(0,t):i,l=t?Math.max(0,i.length-t):0;return(0,In.jsx)("div",{ref:a,className:L("moonui-theme","flex items-center",e),...n,children:(0,In.jsxs)("div",{className:"flex",children:[s.map((u,c)=>(0,In.jsx)("div",{className:"relative",style:{marginLeft:c===0?0:`${r}px`,zIndex:s.length-c},children:u},c)),l>0&&(0,In.jsx)("div",{className:"relative z-0",style:{marginLeft:`${r}px`},children:(0,In.jsx)(h0,{variant:"border",children:(0,In.jsxs)(v0,{children:["+",l]})})})]})})});Qk.displayName="AvatarGroup";var Zk=R(M());var Co=R(N()),Jk=K(["inline-flex items-center justify-center gap-1.5","font-medium transition-colors duration-200","border focus:outline-none","focus-visible:ring-2 focus-visible:ring-offset-1","mr-2 mb-2 last:mr-0"],{variants:{variant:{primary:["border-transparent bg-primary text-primary-foreground","hover:bg-primary/90","focus-visible:ring-primary/30 dark:focus-visible:ring-primary/40","dark:bg-primary/90 dark:shadow-inner dark:shadow-primary/10"],secondary:["border-transparent bg-secondary text-secondary-foreground","hover:bg-gray-200 dark:hover:bg-gray-600","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:bg-gray-700/50 dark:text-gray-50 dark:shadow-inner dark:shadow-gray-950/10"],outline:["border-gray-200 dark:border-gray-600","bg-transparent text-foreground","hover:border-gray-300 dark:hover:border-gray-500","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:text-gray-100 dark:bg-transparent dark:backdrop-blur-sm"],destructive:["border-transparent bg-error text-white","hover:bg-error/90 dark:hover:bg-error/80","focus-visible:ring-error/30 dark:focus-visible:ring-error/25","dark:bg-error/90 dark:text-white dark:shadow-inner dark:shadow-error/10"],success:["border-transparent bg-success text-success-foreground","hover:bg-success/90 dark:hover:bg-success/80","focus-visible:ring-success/30 dark:focus-visible:ring-success/25","dark:bg-success/90 dark:text-success-foreground dark:shadow-inner dark:shadow-success/10"],warning:["border-transparent bg-warning text-warning-foreground","hover:bg-warning/90 dark:hover:bg-warning/80","focus-visible:ring-warning/30 dark:focus-visible:ring-warning/25","dark:bg-warning/90 dark:text-warning-foreground dark:shadow-inner dark:shadow-warning/10"],ghost:["border border-gray-200 bg-gray-50/50 text-gray-700","hover:bg-gray-100 dark:hover:bg-gray-800/60","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:border-gray-700 dark:bg-gray-800/30 dark:text-gray-300","transition-all duration-200"],pro:["border-transparent bg-gradient-to-r from-purple-600 to-pink-600 text-white","hover:from-purple-700 hover:to-pink-700","focus-visible:ring-purple-400/30 dark:focus-visible:ring-purple-500/40","shadow-md dark:shadow-lg dark:shadow-purple-500/10"],admin:["border-transparent bg-gradient-to-r from-purple-600 to-pink-600 text-white","hover:from-purple-700 hover:to-pink-700","focus-visible:ring-purple-400/30 dark:focus-visible:ring-purple-500/40","shadow-md dark:shadow-lg dark:shadow-purple-500/10"]},size:{sm:"h-5 px-2 text-xs",md:"h-6 px-3 text-sm",lg:"h-8 px-4 text-base"},radius:{default:"rounded-full",sm:"rounded-md",lg:"rounded-xl",none:"rounded-none"}},defaultVariants:{variant:"primary",size:"md",radius:"default"}}),Jo=Zk.forwardRef(({className:e,variant:t,size:o,radius:r,withDot:n,dotColor:a,removable:i,onRemove:s,removeLabel:l,leftIcon:u,rightIcon:c,noAutoSpacing:d,children:f,...p},g)=>{let m=u,x=f;return t==="pro"&&(m=u||(0,Co.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-3 h-3",children:[(0,Co.jsx)("path",{d:"M12 0L13.09 8.26L22 9L13.09 9.74L12 18L10.91 9.74L2 9L10.91 8.26L12 0Z",fill:"currentColor"}),(0,Co.jsx)("path",{d:"M19 5L19.5 7L21 7.5L19.5 8L19 10L18.5 8L17 7.5L18.5 7L19 5Z",fill:"currentColor"}),(0,Co.jsx)("path",{d:"M19 15L19.5 17L21 17.5L19.5 18L19 20L18.5 18L17 17.5L18.5 17L19 15Z",fill:"currentColor"})]}),x=f||"Pro"),t==="admin"&&(m=u||(0,Co.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-3 h-3",children:(0,Co.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",fill:"currentColor"})}),x=f||"Admin Pro"),(0,Co.jsxs)("div",{ref:g,className:L("moonui-theme",Jk({variant:t,size:o,radius:r}),d&&"mr-0 mb-0",e),"data-removable":i?"":void 0,...p,children:[n&&(0,Co.jsx)("span",{className:L("h-2 w-2 rounded-full",a||(t==="destructive"||t==="success"||t==="warning"?"bg-white":t==="secondary"?"bg-secondary-foreground":t==="outline"||t==="ghost"?"bg-foreground":t==="pro"||t==="admin"?"bg-white":"bg-primary-foreground")),"aria-hidden":"true"}),m&&(0,Co.jsx)("span",{className:"inline-flex shrink-0 items-center",children:m}),(0,Co.jsx)("span",{className:"inline-flex items-center",children:x}),c&&(0,Co.jsx)("span",{className:"inline-flex shrink-0 items-center",children:c}),i&&s&&(0,Co.jsx)("button",{type:"button",className:"ml-1 -mr-1 h-3.5 w-3.5 rounded-full inline-flex items-center justify-center hover:bg-black/10 dark:hover:bg-white/10",onClick:h=>{h.stopPropagation(),s()},"aria-label":l||(Xf(x)?`Remove ${Xf(x)}`:"Remove badge"),children:(0,Co.jsx)("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"opacity-70","aria-hidden":"true",children:(0,Co.jsx)("path",{d:"M0.799988 7.19999L7.19999 0.799988M0.799988 0.799988L7.19999 7.19999",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})});Jo.displayName="Badge";var Hr=R(M());var so=R(N()),Pj=K("flex items-center gap-1.5 text-sm",{variants:{variant:{default:"text-foreground transition-colors",muted:"text-muted-foreground transition-colors",ghost:"text-foreground/60 transition-colors"},size:{md:"text-sm",sm:"text-xs",lg:"text-base",default:"text-sm"}},defaultVariants:{variant:"default",size:"md"}}),eM=Hr.createContext(void 0),tM=Hr.forwardRef(({className:e,variant:t,size:o,separator:r,showHomeIcon:n,...a},i)=>(0,so.jsx)(eM.Provider,{value:r,children:(0,so.jsx)("nav",{ref:i,className:L("moonui-theme",Pj({variant:t,size:o}),e),"aria-label":"breadcrumb",...a})}));tM.displayName="Breadcrumb";var oM=Hr.forwardRef(({className:e,collapsed:t,collapsedWidth:o=3,...r},n)=>{let a=Hr.Children.toArray(r.children).filter(Boolean),i=a.length;if(t&&i>o){let s=a[0],l=a.slice(-2);return(0,so.jsxs)("ol",{ref:n,className:L("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...r,children:[s,(0,so.jsx)(x0,{}),l]})}return(0,so.jsx)("ol",{ref:n,className:L("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...r})});oM.displayName="BreadcrumbList";var rM=Hr.forwardRef(({className:e,isCurrent:t,href:o,asChild:r=!1,children:n,...a},i)=>{let s=r?Gm:o?"a":"span",l=!r&&o?{href:o}:{};return(0,so.jsx)("li",{ref:i,className:L("moonui-theme","inline-flex items-center gap-1.5",e),...a,children:(0,so.jsx)(s,{"aria-current":t?"page":void 0,className:L("transition-colors duration-200 hover:text-foreground",t?"font-medium text-foreground":"text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30"),...l,children:n})})});rM.displayName="BreadcrumbItem";var nM=({children:e,className:t,icon:o,...r})=>{let n=Hr.useContext(eM);return(0,so.jsx)("span",{role:"presentation","aria-hidden":"true",className:L("moonui-theme","text-muted-foreground opacity-70",t),...r,children:e||o||n||(0,so.jsx)(Fo,{className:"h-3.5 w-3.5"})})};nM.displayName="BreadcrumbSeparator";var x0=({className:e,icon:t,...o})=>(0,so.jsxs)("span",{role:"presentation",className:L("moonui-theme","flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200",e),...o,children:[(0,so.jsx)("span",{"aria-hidden":"true",className:"flex items-center",children:t||(0,so.jsx)(sa,{className:"h-4 w-4"})}),(0,so.jsx)("span",{className:"sr-only",children:"More pages"})]});x0.displayName="BreadcrumbEllipsis";var aM=Hr.forwardRef(({className:e,href:t,...o},r)=>(0,so.jsx)("a",{ref:r,href:t,className:L("transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30",e),...o}));aM.displayName="BreadcrumbLink";var iM=Hr.forwardRef(({className:e,...t},o)=>(0,so.jsx)("span",{ref:o,className:L("font-medium text-foreground dark:text-white dark:text-opacity-95",e),...t}));iM.displayName="BreadcrumbPage";var sM=R(M());var Rh=R(N()),bh=K(["inline-flex items-center justify-center gap-2 whitespace-nowrap","font-medium relative","transition-all duration-200 ease-out","transform active:scale-[0.98]","focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none disabled:transform-none"],{variants:{variant:{primary:["bg-primary text-primary-foreground","dark:bg-primary dark:text-primary-foreground","hover:bg-primary/90 dark:hover:bg-primary/90","active:bg-primary/80 dark:active:bg-primary/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],secondary:["bg-gray-100 text-gray-900","dark:bg-gray-800 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700","active:bg-gray-300 dark:active:bg-gray-600","border border-input","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","shadow-sm hover:shadow-md"],outline:["bg-background text-foreground","dark:bg-background dark:text-foreground","border border-input dark:border-input","hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground","active:bg-accent/80 dark:active:bg-accent/80","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],ghost:["text-gray-700","dark:text-gray-300","hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-gray-100","active:bg-gray-200 dark:active:bg-gray-700","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],destructive:["bg-destructive text-destructive-foreground","dark:bg-destructive dark:text-destructive-foreground","hover:bg-destructive/90 dark:hover:bg-destructive/90","active:bg-destructive/80 dark:active:bg-destructive/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],success:["bg-success text-success-foreground","dark:bg-success dark:text-success-foreground","hover:bg-success/90 dark:hover:bg-success/90","active:bg-success/80 dark:active:bg-success/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],link:["text-primary bg-transparent","underline-offset-4 hover:underline","hover:text-primary/80 active:text-primary/70","p-0 h-auto","transition-colors duration-200"],gradient:["bg-gradient-to-r from-purple-500 to-pink-500 text-white","hover:from-purple-600 hover:to-pink-600","active:from-purple-700 active:to-pink-700","shadow-xl shadow-purple-500/40","hover:shadow-2xl hover:shadow-purple-500/50","focus-visible:ring-purple-500/50","transition-all duration-300"],glow:["bg-blue-500 text-white","shadow-[0_0_30px_rgba(59,130,246,0.5)]","hover:shadow-[0_0_40px_rgba(59,130,246,0.7)]","active:shadow-[0_0_20px_rgba(59,130,246,0.4)]","hover:bg-blue-600","focus-visible:ring-blue-500/50","transition-all duration-300"],soft:["bg-primary/10 text-primary","hover:bg-primary/20","active:bg-primary/30","focus-visible:ring-primary/50","dark:bg-primary/20 dark:text-primary-foreground","dark:hover:bg-primary/30 dark:active:bg-primary/40","transition-colors duration-200"],glass:["bg-white/10 backdrop-blur-md text-foreground","border border-white/20","hover:bg-white/20 hover:border-white/30","active:bg-white/30","shadow-lg","focus-visible:ring-white/50","dark:bg-gray-800/10 dark:border-gray-700/20","dark:hover:bg-gray-800/20 dark:hover:border-gray-700/30","transition-all duration-200"],neon:["bg-transparent text-green-400","border-2 border-green-400","hover:bg-green-400 hover:text-gray-900","hover:shadow-[0_0_30px_rgba(74,222,128,0.6)]","active:shadow-[0_0_15px_rgba(74,222,128,0.4)]","focus-visible:ring-green-400/50","transition-all duration-300"]},size:{xs:"h-7 px-2.5 text-xs",sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-base",lg:"h-12 px-6 text-lg",xl:"h-14 px-8 text-xl",icon:"h-10 w-10 p-2","icon-sm":"h-8 w-8 p-1.5","icon-lg":"h-12 w-12 p-3"},rounded:{default:"rounded-xl",full:"rounded-full",none:"rounded-none",sm:"rounded-lg",lg:"rounded-2xl"},fullWidth:{true:"w-full"}},defaultVariants:{variant:"primary",size:"md",rounded:"default",fullWidth:!1}}),De=sM.forwardRef(({className:e,variant:t,size:o,rounded:r,fullWidth:n,asChild:a=!1,loading:i=!1,leftIcon:s,rightIcon:l,children:u,disabled:c,...d},f)=>(0,Rh.jsxs)("button",{className:L("moonui-theme",bh({variant:t,size:o,rounded:r,fullWidth:n,className:e})),ref:f,disabled:c||i,"aria-busy":i||void 0,"data-loading":i?"":void 0,...d,children:[i&&(0,Rh.jsx)(Bt,{className:"w-4 h-4 animate-spin","aria-hidden":"true"}),!i&&s,u,!i&&l]}));De.displayName="Button";var Cr=R(M());var Np=R(N(),1),da=R(M(),1);var lM=R(M(),1),Qu=(0,lM.createContext)({});var uM=R(M(),1);function la(e){let t=(0,uM.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Ih=R(M(),1);var Zu=typeof window<"u";var Ju=Zu?Ih.useLayoutEffect:Ih.useEffect;var Z0=R(N(),1),gE=R(M(),1),Ap=R(M(),1);var cM=R(M(),1),Xi=(0,cM.createContext)(null);var pE=R(N(),1);function ul(e,t){e.indexOf(t)===-1&&e.push(t)}function Pn(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var Kt=(e,t,o)=>o>t?t:o<e?e:o;var Ba=()=>{},lo=()=>{};var wo={};var Qf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Zf(e){return typeof e=="object"&&e!==null}var Jf=e=>/^0[^.\s]+$/u.test(e);function cl(e){let t;return()=>(t===void 0&&(t=e()),t)}var gt=e=>e;var Lj=(e,t)=>o=>t(e(o)),Ln=(...e)=>e.reduce(Lj);var Ur=(e,t,o)=>{let r=t-e;return r===0?1:(o-e)/r};var Ha=class{constructor(){this.subscriptions=[]}add(t){return ul(this.subscriptions,t),()=>Pn(this.subscriptions,t)}notify(t,o,r){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,o,r);else for(let a=0;a<n;a++){let i=this.subscriptions[a];i&&i(t,o,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var It=e=>e*1e3,Ht=e=>e/1e3;function ep(e,t){return t?e*(1e3/t):0}var dM=(e,t,o)=>{let r=t-e;return((o-e)%r+r)%r+e};var fM=(e,t,o)=>(((1-3*o+3*t)*e+(3*o-6*t))*e+3*t)*e,Tj=1e-7,kj=12;function Mj(e,t,o,r,n){let a,i,s=0;do i=t+(o-t)/2,a=fM(i,r,n)-e,a>0?o=i:t=i;while(Math.abs(a)>Tj&&++s<kj);return i}function Yi(e,t,o,r){if(e===t&&o===r)return gt;let n=a=>Mj(a,0,1,e,o);return a=>a===0||a===1?a:fM(n(a),t,r)}var Ph=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Lh=e=>t=>1-e(1-t);var Th=Yi(.33,1.53,.69,.99),ec=Lh(Th),tp=Ph(ec);var op=e=>(e*=2)<1?.5*ec(e):.5*(2-Math.pow(2,-10*(e-1)));var rp=e=>1-Math.sin(Math.acos(e)),np=Lh(rp),ap=Ph(rp);var y0=Yi(.42,0,1,1),C0=Yi(0,0,.58,1),ip=Yi(.42,0,.58,1);var sp=e=>Array.isArray(e)&&typeof e[0]!="number";function lp(e,t){return sp(e)?e[dM(0,e.length,t)]:e}var up=e=>Array.isArray(e)&&typeof e[0]=="number";var pM={linear:gt,easeIn:y0,easeInOut:ip,easeOut:C0,circIn:rp,circInOut:ap,circOut:np,backIn:ec,backInOut:tp,backOut:Th,anticipate:op},Ej=e=>typeof e=="string",kh=e=>{if(up(e)){lo(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,o,r,n]=e;return Yi(t,o,r,n)}else if(Ej(e))return lo(pM[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),pM[e];return e};var cp=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var er={value:null,addProjectionMetrics:null};function mM(e,t){let o=new Set,r=new Set,n=!1,a=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){i.has(d)&&(c.schedule(d),e()),l++,d(s)}let c={schedule:(d,f=!1,p=!1)=>{let m=p&&n?o:r;return f&&i.add(d),m.has(d)||m.add(d),d},cancel:d=>{r.delete(d),i.delete(d)},process:d=>{if(s=d,n){a=!0;return}n=!0,[o,r]=[r,o],o.forEach(u),t&&er.value&&er.value.frameloop[t].push(l),l=0,o.clear(),n=!1,a&&(a=!1,c.process(d))}};return c}var Aj=40;function Mh(e,t){let o=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},a=()=>o=!0,i=cp.reduce((y,C)=>(y[C]=mM(a,t?C:void 0),y),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:g}=i,m=()=>{let y=wo.useManualTiming?n.timestamp:performance.now();o=!1,wo.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(y-n.timestamp,Aj),1)),n.timestamp=y,n.isProcessing=!0,s.process(n),l.process(n),u.process(n),c.process(n),d.process(n),f.process(n),p.process(n),g.process(n),n.isProcessing=!1,o&&t&&(r=!1,e(m))},x=()=>{o=!0,r=!0,n.isProcessing||e(m)};return{schedule:cp.reduce((y,C)=>{let w=i[C];return y[C]=(b,S=!1,I=!1)=>(o||x(),w.schedule(b,S,I)),y},{}),cancel:y=>{for(let C=0;C<cp.length;C++)i[cp[C]].cancel(y)},state:n,steps:i}}var{schedule:Le,cancel:So,state:yt,steps:dp}=Mh(typeof requestAnimationFrame<"u"?requestAnimationFrame:gt,!0);var Eh;function Dj(){Eh=void 0}var Ct={now:()=>(Eh===void 0&&Ct.set(yt.isProcessing||wo.useManualTiming?yt.timestamp:performance.now()),Eh),set:e=>{Eh=e,queueMicrotask(Dj)}};var Tn={layout:0,mainThread:0,waapi:0};var gM=e=>t=>typeof t=="string"&&t.startsWith(e),dl=gM("--"),Nj=gM("var(--"),fl=e=>Nj(e)?Oj.test(e.split("/*")[0].trim()):!1,Oj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var ua={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ua={...ua,transform:e=>Kt(0,1,e)},fp={...ua,default:1};var Qi=e=>Math.round(e*1e5)/1e5;var tc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function hM(e){return e==null}var vM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var oc=(e,t)=>o=>!!(typeof o=="string"&&vM.test(o)&&o.startsWith(e)||t&&!hM(o)&&Object.prototype.hasOwnProperty.call(o,t)),Ah=(e,t,o)=>r=>{if(typeof r!="string")return r;let[n,a,i,s]=r.match(tc);return{[e]:parseFloat(n),[t]:parseFloat(a),[o]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}};var Fj=e=>Kt(0,255,e),w0={...ua,transform:e=>Math.round(Fj(e))},ca={test:oc("rgb","red"),parse:Ah("red","green","blue"),transform:({red:e,green:t,blue:o,alpha:r=1})=>"rgba("+w0.transform(e)+", "+w0.transform(t)+", "+w0.transform(o)+", "+Qi(Ua.transform(r))+")"};function _j(e){let t="",o="",r="",n="";return e.length>5?(t=e.substring(1,3),o=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),o=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,o+=o,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var pp={test:oc("#"),parse:_j,transform:ca.transform};var mp=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),kn=mp("deg"),bo=mp("%"),ue=mp("px"),S0=mp("vh"),b0=mp("vw"),Dh=(()=>({...bo,parse:e=>bo.parse(e)/100,transform:e=>bo.transform(e*100)}))();var Zi={test:oc("hsl","hue"),parse:Ah("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:o,alpha:r=1})=>"hsla("+Math.round(e)+", "+bo.transform(Qi(t))+", "+bo.transform(Qi(o))+", "+Qi(Ua.transform(r))+")"};var ut={test:e=>ca.test(e)||pp.test(e)||Zi.test(e),parse:e=>ca.test(e)?ca.parse(e):Zi.test(e)?Zi.parse(e):pp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ca.transform(e):Zi.transform(e),getAnimatableNone:e=>{let t=ut.parse(e);return t.alpha=0,ut.transform(t)}};var xM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Vj(e){return isNaN(e)&&typeof e=="string"&&(e.match(tc)?.length||0)+(e.match(xM)?.length||0)>0}var CM="number",wM="color",Bj="var",Hj="var(",yM="${}",Uj=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ji(e){let t=e.toString(),o=[],r={color:[],number:[],var:[]},n=[],a=0,s=t.replace(Uj,l=>(ut.test(l)?(r.color.push(a),n.push(wM),o.push(ut.parse(l))):l.startsWith(Hj)?(r.var.push(a),n.push(Bj),o.push(l)):(r.number.push(a),n.push(CM),o.push(parseFloat(l))),++a,yM)).split(yM);return{values:o,split:s,indexes:r,types:n}}function SM(e){return Ji(e).values}function bM(e){let{split:t,types:o}=Ji(e),r=t.length;return n=>{let a="";for(let i=0;i<r;i++)if(a+=t[i],n[i]!==void 0){let s=o[i];s===CM?a+=Qi(n[i]):s===wM?a+=ut.transform(n[i]):a+=n[i]}return a}}var zj=e=>typeof e=="number"?0:ut.test(e)?ut.getAnimatableNone(e):e;function Gj(e){let t=SM(e);return bM(e)(t.map(zj))}var Ro={test:Vj,parse:SM,createTransformer:bM,getAnimatableNone:Gj};function R0(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function RM({hue:e,saturation:t,lightness:o,alpha:r}){e/=360,t/=100,o/=100;let n=0,a=0,i=0;if(!t)n=a=i=o;else{let s=o<.5?o*(1+t):o+t-o*t,l=2*o-s;n=R0(l,s,e+1/3),a=R0(l,s,e),i=R0(l,s,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:r}}function rc(e,t){return o=>o>0?t:e}var ke=(e,t,o)=>e+(t-e)*o;var I0=(e,t,o)=>{let r=e*e,n=o*(t*t-r)+r;return n<0?0:Math.sqrt(n)},Wj=[pp,ca,Zi],jj=e=>Wj.find(t=>t.test(e));function IM(e){let t=jj(e);if(Ba(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let o=t.parse(e);return t===Zi&&(o=RM(o)),o}var P0=(e,t)=>{let o=IM(e),r=IM(t);if(!o||!r)return rc(e,t);let n={...o};return a=>(n.red=I0(o.red,r.red,a),n.green=I0(o.green,r.green,a),n.blue=I0(o.blue,r.blue,a),n.alpha=ke(o.alpha,r.alpha,a),ca.transform(n))};var Nh=new Set(["none","hidden"]);function PM(e,t){return Nh.has(e)?o=>o<=0?e:t:o=>o>=1?t:e}function qj(e,t){return o=>ke(e,t,o)}function Oh(e){return typeof e=="number"?qj:typeof e=="string"?fl(e)?rc:ut.test(e)?P0:Xj:Array.isArray(e)?LM:typeof e=="object"?ut.test(e)?P0:$j:rc}function LM(e,t){let o=[...e],r=o.length,n=e.map((a,i)=>Oh(a)(a,t[i]));return a=>{for(let i=0;i<r;i++)o[i]=n[i](a);return o}}function $j(e,t){let o={...e,...t},r={};for(let n in o)e[n]!==void 0&&t[n]!==void 0&&(r[n]=Oh(e[n])(e[n],t[n]));return n=>{for(let a in r)o[a]=r[a](n);return o}}function Kj(e,t){let o=[],r={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let a=t.types[n],i=e.indexes[a][r[a]],s=e.values[i]??0;o[n]=s,r[a]++}return o}var Xj=(e,t)=>{let o=Ro.createTransformer(t),r=Ji(e),n=Ji(t);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?Nh.has(e)&&!n.values.length||Nh.has(t)&&!r.values.length?PM(e,t):Ln(LM(Kj(r,n),n.values),o):(Ba(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),rc(e,t))};function Fh(e,t,o){return typeof e=="number"&&typeof t=="number"&&typeof o=="number"?ke(e,t,o):Oh(e)(e,t)}var TM=e=>{let t=({timestamp:o})=>e(o);return{start:(o=!0)=>Le.update(t,o),stop:()=>So(t),now:()=>yt.isProcessing?yt.timestamp:Ct.now()}};var _h=(e,t,o=10)=>{let r="",n=Math.max(Math.round(t/o),2);for(let a=0;a<n;a++)r+=Math.round(e(a/(n-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function nc(e){let t=0,o=50,r=e.next(t);for(;!r.done&&t<2e4;)t+=o,r=e.next(t);return t>=2e4?1/0:t}function gp(e,t=100,o){let r=o({...e,keyframes:[0,t]}),n=Math.min(nc(r),2e4);return{type:"keyframes",ease:a=>r.next(n*a).value/t,duration:Ht(n)}}var Yj=5;function Vh(e,t,o){let r=Math.max(t-Yj,0);return ep(o-e(r),t-r)}var nt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var T0=.001;function kM({duration:e=nt.duration,bounce:t=nt.bounce,velocity:o=nt.velocity,mass:r=nt.mass}){let n,a;Ba(e<=It(nt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=Kt(nt.minDamping,nt.maxDamping,i),e=Kt(nt.minDuration,nt.maxDuration,Ht(e)),i<1?(n=u=>{let c=u*i,d=c*e,f=c-o,p=Bh(u,i),g=Math.exp(-d);return T0-f/p*g},a=u=>{let d=u*i*e,f=d*o+o,p=Math.pow(i,2)*Math.pow(u,2)*e,g=Math.exp(-d),m=Bh(Math.pow(u,2),i);return(-n(u)+T0>0?-1:1)*((f-p)*g)/m}):(n=u=>{let c=Math.exp(-u*e),d=(u-o)*e+1;return-T0+c*d},a=u=>{let c=Math.exp(-u*e),d=(o-u)*(e*e);return c*d});let s=5/e,l=Zj(n,a,s);if(e=It(e),isNaN(l))return{stiffness:nt.stiffness,damping:nt.damping,duration:e};{let u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}var Qj=12;function Zj(e,t,o){let r=o;for(let n=1;n<Qj;n++)r=r-e(r)/t(r);return r}function Bh(e,t){return e*Math.sqrt(1-t*t)}var Jj=["duration","bounce"],e6=["stiffness","damping","mass"];function MM(e,t){return t.some(o=>e[o]!==void 0)}function t6(e){let t={velocity:nt.velocity,stiffness:nt.stiffness,damping:nt.damping,mass:nt.mass,isResolvedFromDuration:!1,...e};if(!MM(e,e6)&&MM(e,Jj))if(e.visualDuration){let o=e.visualDuration,r=2*Math.PI/(o*1.2),n=r*r,a=2*Kt(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:nt.mass,stiffness:n,damping:a}}else{let o=kM(e);t={...t,...o,mass:nt.mass},t.isResolvedFromDuration=!0}return t}function za(e=nt.visualDuration,t=nt.bounce){let o=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:n}=o,a=o.keyframes[0],i=o.keyframes[o.keyframes.length-1],s={done:!1,value:a},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=t6({...o,velocity:-Ht(o.velocity||0)}),g=f||0,m=u/(2*Math.sqrt(l*c)),x=i-a,h=Ht(Math.sqrt(l/c)),v=Math.abs(x)<5;r||(r=v?nt.restSpeed.granular:nt.restSpeed.default),n||(n=v?nt.restDelta.granular:nt.restDelta.default);let y;if(m<1){let w=Bh(h,m);y=b=>{let S=Math.exp(-m*h*b);return i-S*((g+m*h*x)/w*Math.sin(w*b)+x*Math.cos(w*b))}}else if(m===1)y=w=>i-Math.exp(-h*w)*(x+(g+h*x)*w);else{let w=h*Math.sqrt(m*m-1);y=b=>{let S=Math.exp(-m*h*b),I=Math.min(w*b,300);return i-S*((g+m*h*x)*Math.sinh(I)+w*x*Math.cosh(I))/w}}let C={calculatedDuration:p&&d||null,next:w=>{let b=y(w);if(p)s.done=w>=d;else{let S=w===0?g:0;m<1&&(S=w===0?It(g):Vh(y,w,b));let I=Math.abs(S)<=r,P=Math.abs(i-b)<=n;s.done=I&&P}return s.value=s.done?i:b,s},toString:()=>{let w=Math.min(nc(C),2e4),b=_h(S=>C.next(w*S).value,w,30);return w+"ms "+b},toTransition:()=>{}};return C}za.applyToOptions=e=>{let t=gp(e,100,za);return e.ease=t.ease,e.duration=It(t.duration),e.type="keyframes",e};function hp({keyframes:e,velocity:t=0,power:o=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d=e[0],f={done:!1,value:d},p=I=>s!==void 0&&I<s||l!==void 0&&I>l,g=I=>s===void 0?l:l===void 0||Math.abs(s-I)<Math.abs(l-I)?s:l,m=o*t,x=d+m,h=i===void 0?x:i(x);h!==x&&(m=h-d);let v=I=>-m*Math.exp(-I/r),y=I=>h+v(I),C=I=>{let P=v(I),T=y(I);f.done=Math.abs(P)<=u,f.value=f.done?h:T},w,b,S=I=>{p(f.value)&&(w=I,b=za({keyframes:[f.value,g(f.value)],velocity:Vh(y,I,f.value),damping:n,stiffness:a,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:I=>{let P=!1;return!b&&w===void 0&&(P=!0,C(I),S(I)),w!==void 0&&I>=w?b.next(I-w):(!P&&C(I),f)}}}function o6(e,t,o){let r=[],n=o||wo.mix||Fh,a=e.length-1;for(let i=0;i<a;i++){let s=n(e[i],e[i+1]);if(t){let l=Array.isArray(t)?t[i]||gt:t;s=Ln(l,s)}r.push(s)}return r}function Hh(e,t,{clamp:o=!0,ease:r,mixer:n}={}){let a=e.length;if(lo(a===t.length,"Both input and output ranges must be the same length","range-length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let i=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=o6(t,r,n),l=s.length,u=c=>{if(i&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);let f=Ur(e[d],e[d+1],c);return s[d](f)};return o?c=>u(Kt(e[0],e[a-1],c)):u}function vp(e,t){let o=e[e.length-1];for(let r=1;r<=t;r++){let n=Ur(0,t,r);e.push(ke(o,1,n))}}function xp(e){let t=[0];return vp(t,e.length-1),t}function EM(e,t){return e.map(o=>o*t)}function r6(e,t){return e.map(()=>t||ip).splice(0,e.length-1)}function pl({duration:e=300,keyframes:t,times:o,ease:r="easeInOut"}){let n=sp(r)?r.map(kh):kh(r),a={done:!1,value:t[0]},i=EM(o&&o.length===t.length?o:xp(t),e),s=Hh(i,t,{ease:Array.isArray(n)?n:r6(t,n)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}var n6=e=>e!==null;function ac(e,{repeat:t,repeatType:o="loop"},r,n=1){let a=e.filter(n6),s=n<0||t&&o!=="loop"&&t%2===1?0:a.length-1;return!s||r===void 0?a[s]:r}var a6={decay:hp,inertia:hp,tween:pl,keyframes:pl,spring:za};function Uh(e){typeof e.type=="string"&&(e.type=a6[e.type])}var es=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,o){return this.finished.then(t,o)}};var i6=e=>e/100,Ga=class extends es{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:o}=this.options;o&&o.updatedAt!==Ct.now()&&this.tick(Ct.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},Tn.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;Uh(t);let{type:o=pl,repeat:r=0,repeatDelay:n=0,repeatType:a,velocity:i=0}=t,{keyframes:s}=t,l=o||pl;l!==pl&&typeof s[0]!="number"&&(this.mixKeyframes=Ln(i6,Fh(s[0],s[1])),s=[0,100]);let u=l({...t,keyframes:s});a==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=nc(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=u}updateTime(t){let o=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(t,o=!1){let{generator:r,totalDuration:n,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);let{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:p,type:g,onUpdate:m,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),o?this.currentTime=t:this.updateTime(t);let h=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?h<0:h>n;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=n);let y=this.currentTime,C=r;if(d){let I=Math.min(this.currentTime,n)/s,P=Math.floor(I),T=I%1;!T&&I>=1&&(T=1),T===1&&P--,P=Math.min(P,d+1),!!(P%2)&&(f==="reverse"?(T=1-T,p&&(T-=p/s)):f==="mirror"&&(C=i)),y=Kt(0,1,T)*s}let w=v?{done:!1,value:c[0]}:C.next(y);a&&(w.value=a(w.value));let{done:b}=w;!v&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return S&&g!==hp&&(w.value=ac(c,this.options,x,this.speed)),m&&m(w.value),S&&this.finish(),w}then(t,o){return this.finished.then(t,o)}get duration(){return Ht(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Ht(t)}get time(){return Ht(this.currentTime)}set time(t){t=It(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ct.now());let o=this.playbackSpeed!==t;this.playbackSpeed=t,o&&(this.time=Ht(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=TM,startTime:o}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=o??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ct.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,Tn.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function AM(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var ml=e=>e*180/Math.PI,k0=e=>{let t=ml(Math.atan2(e[1],e[0]));return M0(t)},s6={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:k0,rotateZ:k0,skewX:e=>ml(Math.atan(e[1])),skewY:e=>ml(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},M0=e=>(e=e%360,e<0&&(e+=360),e),DM=k0,NM=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),OM=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),l6={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:NM,scaleY:OM,scale:e=>(NM(e)+OM(e))/2,rotateX:e=>M0(ml(Math.atan2(e[6],e[5]))),rotateY:e=>M0(ml(Math.atan2(-e[2],e[0]))),rotateZ:DM,rotate:DM,skewX:e=>ml(Math.atan(e[4])),skewY:e=>ml(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function yp(e){return e.includes("scale")?1:0}function Cp(e,t){if(!e||e==="none")return yp(t);let o=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,n;if(o)r=l6,n=o;else{let s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=s6,n=s}if(!n)return yp(t);let a=r[t],i=n[1].split(",").map(u6);return typeof a=="function"?a(i):i[a]}var E0=(e,t)=>{let{transform:o="none"}=getComputedStyle(e);return Cp(o,t)};function u6(e){return parseFloat(e.trim())}var Mn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xr=(()=>new Set(Mn))();var A0=e=>e===ua||e===ue,c6=new Set(["x","y","z"]),d6=Mn.filter(e=>!c6.has(e));function FM(e){let t=[];return d6.forEach(o=>{let r=e.getValue(o);r!==void 0&&(t.push([o,r.get()]),r.set(o.startsWith("scale")?1:0))}),t}var ts={width:({x:e},{paddingLeft:t="0",paddingRight:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),height:({y:e},{paddingTop:t="0",paddingBottom:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Cp(t,"x"),y:(e,{transform:t})=>Cp(t,"y")};ts.translateX=ts.x;ts.translateY=ts.y;var gl=new Set,D0=!1,N0=!1,O0=!1;function _M(){if(N0){let e=Array.from(gl).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),o=new Map;t.forEach(r=>{let n=FM(r);n.length&&(o.set(r,n),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let n=o.get(r);n&&n.forEach(([a,i])=>{r.getValue(a)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}N0=!1,D0=!1,gl.forEach(e=>e.complete(O0)),gl.clear()}function VM(){gl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(N0=!0)})}function F0(){O0=!0,VM(),_M(),O0=!1}var Wa=class{constructor(t,o,r,n,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=o,this.name=r,this.motionValue=n,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(gl.add(this),D0||(D0=!0,Le.read(VM),Le.resolveKeyframes(_M))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:o,element:r,motionValue:n}=this;if(t[0]===null){let a=n?.get(),i=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&o){let s=r.readValue(o,i);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=i),n&&a===void 0&&n.set(t[0])}AM(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),gl.delete(this)}cancel(){this.state==="scheduled"&&(gl.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var BM=e=>e.startsWith("--");function HM(e,t,o){BM(t)?e.style.setProperty(t,o):e.style[t]=o}var UM=cl(()=>window.ScrollTimeline!==void 0);var zM={};function GM(e,t){let o=cl(e);return()=>zM[t]??o()}var zh=GM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var hl=([e,t,o,r])=>`cubic-bezier(${e}, ${t}, ${o}, ${r})`;var _0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:hl([0,.65,.55,1]),circOut:hl([.55,0,1,.45]),backIn:hl([.31,.01,.66,-.59]),backOut:hl([.33,1.53,.69,.99])};function V0(e,t){if(e)return typeof e=="function"?zh()?_h(e,t):"ease-out":up(e)?hl(e):Array.isArray(e)?e.map(o=>V0(o,t)||_0.easeOut):_0[e]}function WM(e,t,o,{delay:r=0,duration:n=300,repeat:a=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u=void 0){let c={[t]:o};l&&(c.offset=l);let d=V0(s,n);Array.isArray(d)&&(c.easing=d),er.value&&Tn.waapi++;let f={delay:r,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"};u&&(f.pseudoElement=u);let p=e.animate(c,f);return er.value&&p.finished.finally(()=>{Tn.waapi--}),p}function vl(e){return typeof e=="function"&&"applyToOptions"in e}function jM({type:e,...t}){return vl(e)&&zh()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var Gh=class extends es{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:o,name:r,keyframes:n,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,lo(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=jM(t);this.animation=WM(o,r,n,u,a),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let c=ac(n,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(c):HM(o,r,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return Ht(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Ht(t)}get time(){return Ht(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=It(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&UM()?(this.animation.timeline=t,gt):o(this)}};var qM={anticipate:op,backInOut:tp,circInOut:ap};function f6(e){return e in qM}function $M(e){typeof e.ease=="string"&&f6(e.ease)&&(e.ease=qM[e.ease])}var KM=10,Wh=class extends Gh{constructor(t){$M(t),Uh(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:o,onUpdate:r,onComplete:n,element:a,...i}=this.options;if(!o)return;if(t!==void 0){o.set(t);return}let s=new Ga({...i,autoplay:!1}),l=It(this.finishedTime??this.time);o.setWithVelocity(s.sample(l-KM).value,s.sample(l).value,KM),s.stop()}};var B0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ro.test(e)||e==="0")&&!e.startsWith("url("));function p6(e){let t=e[0];if(e.length===1)return!0;for(let o=0;o<e.length;o++)if(e[o]!==t)return!0}function XM(e,t,o,r){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],i=B0(n,t),s=B0(a,t);return Ba(i===s,`You are trying to animate ${t} from "${n}" to "${a}". "${i?a:n}" is not an animatable value.`,"value-not-animatable"),!i||!s?!1:p6(e)||(o==="spring"||vl(o))&&r}function ic(e){e.duration=0,e.type="keyframes"}var m6=new Set(["opacity","clipPath","filter","transform"]),g6=cl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function YM(e){let{motionValue:t,name:o,repeatDelay:r,repeatType:n,damping:a,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return g6()&&o&&m6.has(o)&&(o!=="transform"||!u)&&!l&&!r&&n!=="mirror"&&a!==0&&i!=="inertia"}var h6=40,wp=class extends es{constructor({autoplay:t=!0,delay:o=0,type:r="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:i="loop",keyframes:s,name:l,motionValue:u,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ct.now();let f={autoplay:t,delay:o,type:r,repeat:n,repeatDelay:a,repeatType:i,name:l,motionValue:u,element:c,...d},p=c?.KeyframeResolver||Wa;this.keyframeResolver=new p(s,(g,m,x)=>this.onKeyframesResolved(g,m,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,o,r,n){this.keyframeResolver=void 0;let{name:a,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ct.now(),XM(t,a,i,s)||((wo.instantAnimations||!l)&&c?.(ac(t,r,o)),t[0]=t[t.length-1],ic(r),r.repeat=0);let f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>h6?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...r,keyframes:t},p=!u&&YM(f)?new Wh({...f,element:f.motionValue.owner.current}):new Ga(f);p.finished.then(()=>this.notifyFinished()).catch(gt),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,o){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),F0()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};var jh=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,o){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=o}attachTimeline(t){let o=this.animations.map(r=>r.attachTimeline(t));return()=>{o.forEach((r,n)=>{r&&r(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return QM(this.animations,"duration")}get iterationDuration(){return QM(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(o=>o[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function QM(e,t){let o=0;for(let r=0;r<e.length;r++){let n=e[r][t];n!==null&&n>o&&(o=n)}return o}var Sp=class extends jh{then(t,o){return this.finished.finally(t).then(()=>{})}};var v6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function x6(e){let t=v6.exec(e);if(!t)return[,];let[,o,r,n]=t;return[`--${o??r}`,n]}var y6=4;function H0(e,t,o=1){lo(o<=y6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,n]=x6(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let i=a.trim();return Qf(i)?parseFloat(i):i}return fl(n)?H0(n,t,o+1):n}function xl(e,t){return e?.[t]??e?.default??e}var bp=new Set(["width","height","top","left","right","bottom",...Mn]);var ZM={test:e=>e==="auto",parse:e=>e};var qh=e=>t=>t.test(e);var U0=[ua,ue,bo,kn,b0,S0,ZM],z0=e=>U0.find(qh(e));function JM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Jf(e):!0}var C6=new Set(["brightness","contrast","saturate","opacity"]);function w6(e){let[t,o]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=o.match(tc)||[];if(!r)return e;let n=o.replace(r,""),a=C6.has(t)?1:0;return r!==o&&(a*=100),t+"("+a+n+")"}var S6=/\b([a-z-]*)\(.*?\)/gu,Rp={...Ro,getAnimatableNone:e=>{let t=e.match(S6);return t?t.map(w6).join(" "):e}};var G0={...ua,transform:Math.round};var eE={rotate:kn,rotateX:kn,rotateY:kn,rotateZ:kn,scale:fp,scaleX:fp,scaleY:fp,scaleZ:fp,skew:kn,skewX:kn,skewY:kn,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:Ua,originX:Dh,originY:Dh,originZ:ue};var yl={borderWidth:ue,borderTopWidth:ue,borderRightWidth:ue,borderBottomWidth:ue,borderLeftWidth:ue,borderRadius:ue,radius:ue,borderTopLeftRadius:ue,borderTopRightRadius:ue,borderBottomRightRadius:ue,borderBottomLeftRadius:ue,width:ue,maxWidth:ue,height:ue,maxHeight:ue,top:ue,right:ue,bottom:ue,left:ue,padding:ue,paddingTop:ue,paddingRight:ue,paddingBottom:ue,paddingLeft:ue,margin:ue,marginTop:ue,marginRight:ue,marginBottom:ue,marginLeft:ue,backgroundPositionX:ue,backgroundPositionY:ue,...eE,zIndex:G0,fillOpacity:Ua,strokeOpacity:Ua,numOctaves:G0};var tE={...yl,color:ut,backgroundColor:ut,outlineColor:ut,fill:ut,stroke:ut,borderColor:ut,borderTopColor:ut,borderRightColor:ut,borderBottomColor:ut,borderLeftColor:ut,filter:Rp,WebkitFilter:Rp},Ip=e=>tE[e];function Pp(e,t){let o=Ip(e);return o!==Rp&&(o=Ro),o.getAnimatableNone?o.getAnimatableNone(t):void 0}var b6=new Set(["auto","none","0"]);function oE(e,t,o){let r=0,n;for(;r<e.length&&!n;){let a=e[r];typeof a=="string"&&!b6.has(a)&&Ji(a).values.length&&(n=e[r]),r++}if(n&&o)for(let a of t)e[a]=Pp(o,n)}var Lp=class extends Wa{constructor(t,o,r,n,a){super(t,o,r,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:o,name:r}=this;if(!o||!o.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),fl(u))){let c=H0(u,o.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!bp.has(r)||t.length!==2)return;let[n,a]=t,i=z0(n),s=z0(a);if(i!==s)if(A0(i)&&A0(s))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else ts[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:o}=this,r=[];for(let n=0;n<t.length;n++)(t[n]===null||JM(t[n]))&&r.push(n);r.length&&oE(t,r,o)}measureInitialState(){let{element:t,unresolvedKeyframes:o,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ts[r](t.measureViewportBox(),window.getComputedStyle(t.current)),o[0]=this.measuredOrigin;let n=o[o.length-1];n!==void 0&&t.getValue(r,n).jump(n,!1)}measureEndState(){let{element:t,name:o,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let n=t.getValue(o);n&&n.jump(this.measuredOrigin,!1);let a=r.length-1,i=r[a];r[a]=ts[o](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([s,l])=>{t.getValue(s).set(l)}),this.resolveNoneKeyframes()}};function Tp(e,t,o){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);let n=o?.[e]??r.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}var kp=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Mp(e){return Zf(e)&&"offsetHeight"in e}var rE=30,R6=e=>!isNaN(parseFloat(e)),Cl={current:void 0},$h=class{constructor(t,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{let n=Ct.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=o.owner}setCurrent(t){this.current=t,this.updatedAt=Ct.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=R6(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,o){this.events[t]||(this.events[t]=new Ha);let r=this.events[t].add(o);return t==="change"?()=>{r(),Le.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,o){this.passiveEffect=t,this.stopPassiveEffect=o}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,o,r){this.set(o),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,o=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Cl.current&&Cl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Ct.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>rE)return 0;let o=Math.min(this.updatedAt-this.prevUpdatedAt,rE);return ep(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(t){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=t(o),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function tr(e,t){return new $h(e,t)}var{schedule:wl,cancel:I6}=Mh(queueMicrotask,!1);var zr={x:!1,y:!1};function Kh(){return zr.x||zr.y}function W0(e){return e==="x"||e==="y"?zr[e]?null:(zr[e]=!0,()=>{zr[e]=!1}):zr.x||zr.y?null:(zr.x=zr.y=!0,()=>{zr.x=zr.y=!1})}function Xh(e,t){let o=Tp(e),r=new AbortController,n={passive:!0,...t,signal:r.signal};return[o,n,()=>r.abort()]}function nE(e){return!(e.pointerType==="touch"||Kh())}function j0(e,t,o={}){let[r,n,a]=Xh(e,o),i=s=>{if(!nE(s))return;let{target:l}=s,u=t(l,s);if(typeof u!="function"||!l)return;let c=d=>{nE(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,n)};return r.forEach(s=>{s.addEventListener("pointerenter",i,n)}),a}var q0=(e,t)=>t?e===t?!0:q0(e,t.parentElement):!1;var Sl=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var P6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function aE(e){return P6.has(e.tagName)||e.tabIndex!==-1}var sc=new WeakSet;function iE(e){return t=>{t.key==="Enter"&&e(t)}}function $0(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var sE=(e,t)=>{let o=e.currentTarget;if(!o)return;let r=iE(()=>{if(sc.has(o))return;$0(o,"down");let n=iE(()=>{$0(o,"up")}),a=()=>$0(o,"cancel");o.addEventListener("keyup",n,t),o.addEventListener("blur",a,t)});o.addEventListener("keydown",r,t),o.addEventListener("blur",()=>o.removeEventListener("keydown",r),t)};function lE(e){return Sl(e)&&!Kh()}function K0(e,t,o={}){let[r,n,a]=Xh(e,o),i=s=>{let l=s.currentTarget;if(!lE(s))return;sc.add(l);let u=t(l,s),c=(p,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),sc.has(l)&&sc.delete(l),lE(p)&&typeof u=="function"&&u(p,{success:g})},d=p=>{c(p,l===window||l===document||o.useGlobalTarget||q0(l,p.target))},f=p=>{c(p,!1)};window.addEventListener("pointerup",d,n),window.addEventListener("pointercancel",f,n)};return r.forEach(s=>{(o.useGlobalTarget?window:s).addEventListener("pointerdown",i,n),Mp(s)&&(s.addEventListener("focus",u=>sE(u,n)),!aE(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),a}function bl(e){return Zf(e)&&"ownerSVGElement"in e}function Ep(e){return bl(e)&&e.tagName==="svg"}function X0(...e){let t=!Array.isArray(e[0]),o=t?0:-1,r=e[0+o],n=e[1+o],a=e[2+o],i=e[3+o],s=Hh(n,a,i);return t?s(r):s}var Ve=e=>!!(e&&e.getVelocity);var L6=[...U0,ut,Ro],Y0=e=>L6.find(qh(e));var Yh=R(M(),1),ja=R(M(),1);var uE=R(M(),1),os=(0,uE.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var dE=R(M(),1);function cE(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function T6(...e){return t=>{let o=!1,r=e.map(n=>{let a=cE(n,t);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let n=0;n<r.length;n++){let a=r[n];typeof a=="function"?a():cE(e[n],null)}}}}function fE(...e){return dE.useCallback(T6(...e),e)}var Q0=class extends Yh.Component{getSnapshotBeforeUpdate(t){let o=this.props.childRef.current;if(o&&t.isPresent&&!this.props.isPresent){let r=o.offsetParent,n=Mp(r)&&r.offsetWidth||0,a=this.props.sizeRef.current;a.height=o.offsetHeight||0,a.width=o.offsetWidth||0,a.top=o.offsetTop,a.left=o.offsetLeft,a.right=n-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}};function mE({children:e,isPresent:t,anchorX:o,root:r}){let n=(0,ja.useId)(),a=(0,ja.useRef)(null),i=(0,ja.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,ja.useContext)(os),l=fE(a,e?.ref);return(0,ja.useInsertionEffect)(()=>{let{width:u,height:c,top:d,left:f,right:p}=i.current;if(t||!a.current||!u||!c)return;let g=o==="left"?`left: ${f}`:`right: ${p}`;a.current.dataset.motionPopId=n;let m=document.createElement("style");s&&(m.nonce=s);let x=r??document.head;return x.appendChild(m),m.sheet&&m.sheet.insertRule(`
12
12
  [data-motion-pop-id="${n}"] {
13
13
  position: absolute !important;
14
14
  width: ${u}px !important;