@moontra/moonui 4.1.0 → 5.0.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 Az,b as ou,c as R,d as tr,e as My,f as Bm,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{zy=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Md(e):""}function Xz(e){switch(e.tag){case 5:return Md(e.type);case 16:return Md("Lazy");case 13:return Md("Suspense");case 19:return Md("SuspenseList");case 0:case 2:case 15:return e=Gy(e.type,!1),e;case 11:return e=Gy(e.type.render,!1),e;case 1:return e=Gy(e.type,!0),e;default:return""}}function p0(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 lu:return"Fragment";case su:return"Portal";case c0:return"Profiler";case nw:return"StrictMode";case d0:return"Suspense";case f0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case HL:return(e.displayName||"Context")+".Consumer";case BL:return(e._context.displayName||"Context")+".Provider";case aw:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case iw:return t=e.displayName||null,t!==null?t:p0(e.type)||"Memo";case Si:t=e._payload,e=e._init;try{return p0(e(t))}catch{}}return null}function Yz(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 p0(t);case 8:return t===nw?"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 Fi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zL(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Qz(e){var t=zL(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){o=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(i){o=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Km(e){e._valueTracker||(e._valueTracker=Qz(e))}function GL(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=zL(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Sg(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 m0(e,t){var r=t.checked;return pt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function OP(e,t){var r=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;r=Fi(t.value!=null?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function WL(e,t){t=t.checked,t!=null&&ow(e,"checked",t,!1)}function g0(e,t){WL(e,t);var r=Fi(t.value),o=t.type;if(r!=null)o==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?h0(e,t.type,r):t.hasOwnProperty("defaultValue")&&h0(e,t.type,Fi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function FP(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function h0(e,t,r){(t!=="number"||Sg(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ed=Array.isArray;function yu(e,t,r,o){if(e=e.options,t){t={};for(var n=0;n<r.length;n++)t["$"+r[n]]=!0;for(r=0;r<e.length;r++)n=t.hasOwnProperty("$"+e[r].value),e[r].selected!==n&&(e[r].selected=n),n&&o&&(e[r].defaultSelected=!0)}else{for(r=""+Fi(r),t=null,n=0;n<e.length;n++){if(e[n].value===r){e[n].selected=!0,o&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function v0(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(q(91));return pt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function _P(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(q(92));if(Ed(r)){if(1<r.length)throw Error(q(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Fi(r)}}function jL(e,t){var r=Fi(t.value),o=Fi(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),o!=null&&(e.defaultValue=""+o)}function VP(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function qL(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 x0(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?qL(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Xm,$L=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,o,n){MSApp.execUnsafeLocalFunction(function(){return e(t,r,o,n)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Xm=Xm||document.createElement("div"),Xm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Xm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wd(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Nd={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},Zz=["Webkit","ms","Moz","O"];Object.keys(Nd).forEach(function(e){Zz.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nd[t]=Nd[e]})});function KL(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Nd.hasOwnProperty(e)&&Nd[e]?(""+t).trim():t+"px"}function XL(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=r.indexOf("--")===0,n=KL(r,t[r],o);r==="float"&&(r="cssFloat"),o?e.setProperty(r,n):e[r]=n}}var Jz=pt({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 y0(e,t){if(t){if(Jz[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 w0(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 C0=null;function sw(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var S0=null,wu=null,Cu=null;function BP(e){if(e=uf(e)){if(typeof S0!="function")throw Error(q(280));var t=e.stateNode;t&&(t=Yg(t),S0(e.stateNode,e.type,t))}}function YL(e){wu?Cu?Cu.push(e):Cu=[e]:wu=e}function QL(){if(wu){var e=wu,t=Cu;if(Cu=wu=null,BP(e),t)for(e=0;e<t.length;e++)BP(t[e])}}function ZL(e,t){return e(t)}function JL(){}var Wy=!1;function e1(e,t,r){if(Wy)return e(t,r);Wy=!0;try{return ZL(e,t,r)}finally{Wy=!1,(wu!==null||Cu!==null)&&(JL(),QL())}}function jd(e,t){var r=e.stateNode;if(r===null)return null;var o=Yg(r);if(o===null)return null;r=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(q(231,t,typeof r));return r}var b0=!1;if(Ta)try{au={},Object.defineProperty(au,"passive",{get:function(){b0=!0}}),window.addEventListener("test",au,au),window.removeEventListener("test",au,au)}catch{b0=!1}var au;function e4(e,t,r,o,n,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var Od=!1,bg=null,Rg=!1,R0=null,t4={onError:function(e){Od=!0,bg=e}};function r4(e,t,r,o,n,a,i,s,l){Od=!1,bg=null,e4.apply(t4,arguments)}function o4(e,t,r,o,n,a,i,s,l){if(r4.apply(this,arguments),Od){if(Od){var u=bg;Od=!1,bg=null}else throw Error(q(198));Rg||(Rg=!0,R0=u)}}function Zs(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function t1(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 HP(e){if(Zs(e)!==e)throw Error(q(188))}function n4(e){var t=e.alternate;if(!t){if(t=Zs(e),t===null)throw Error(q(188));return t!==e?null:e}for(var r=e,o=t;;){var n=r.return;if(n===null)break;var a=n.alternate;if(a===null){if(o=n.return,o!==null){r=o;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===r)return HP(n),e;if(a===o)return HP(n),t;a=a.sibling}throw Error(q(188))}if(r.return!==o.return)r=n,o=a;else{for(var i=!1,s=n.child;s;){if(s===r){i=!0,r=n,o=a;break}if(s===o){i=!0,o=n,r=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===r){i=!0,r=a,o=n;break}if(s===o){i=!0,o=a,r=n;break}s=s.sibling}if(!i)throw Error(q(189))}}if(r.alternate!==o)throw Error(q(190))}if(r.tag!==3)throw Error(q(188));return r.stateNode.current===r?e:t}function r1(e){return e=n4(e),e!==null?o1(e):null}function o1(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=o1(e);if(t!==null)return t;e=e.sibling}return null}var n1=mo.unstable_scheduleCallback,UP=mo.unstable_cancelCallback,a4=mo.unstable_shouldYield,i4=mo.unstable_requestPaint,St=mo.unstable_now,s4=mo.unstable_getCurrentPriorityLevel,lw=mo.unstable_ImmediatePriority,a1=mo.unstable_UserBlockingPriority,Ig=mo.unstable_NormalPriority,l4=mo.unstable_LowPriority,i1=mo.unstable_IdlePriority,qg=null,ta=null;function u4(e){if(ta&&typeof ta.onCommitFiberRoot=="function")try{ta.onCommitFiberRoot(qg,e,void 0,(e.current.flags&128)===128)}catch{}}var vn=Math.clz32?Math.clz32:f4,c4=Math.log,d4=Math.LN2;function f4(e){return e>>>=0,e===0?32:31-(c4(e)/d4|0)|0}var Ym=64,Qm=4194304;function Ad(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 Pg(e,t){var r=e.pendingLanes;if(r===0)return 0;var o=0,n=e.suspendedLanes,a=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~n;s!==0?o=Ad(s):(a&=i,a!==0&&(o=Ad(a)))}else i=r&~n,i!==0?o=Ad(i):a!==0&&(o=Ad(a));if(o===0)return 0;if(t!==0&&t!==o&&!(t&n)&&(n=o&-o,a=t&-t,n>=a||n===16&&(a&4194240)!==0))return t;if(o&4&&(o|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0<t;)r=31-vn(t),n=1<<r,o|=e[r],t&=~n;return o}function p4(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 m4(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-vn(a),s=1<<i,l=n[i];l===-1?(!(s&r)||s&o)&&(n[i]=p4(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function I0(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function s1(){var e=Ym;return Ym<<=1,!(Ym&4194240)&&(Ym=64),e}function jy(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function sf(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-vn(t),e[t]=r}function g4(e,t){var r=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 o=e.eventTimes;for(e=e.expirationTimes;0<r;){var n=31-vn(r),a=1<<n;t[n]=0,o[n]=-1,e[n]=-1,r&=~a}}function uw(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-vn(r),n=1<<o;n&t|e[o]&t&&(e[o]|=t),r&=~n}}var Ge=0;function l1(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var u1,cw,c1,d1,f1,P0=!1,Zm=[],Ti=null,ki=null,Mi=null,qd=new Map,$d=new Map,Ri=[],h4="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 zP(e,t){switch(e){case"focusin":case"focusout":Ti=null;break;case"dragenter":case"dragleave":ki=null;break;case"mouseover":case"mouseout":Mi=null;break;case"pointerover":case"pointerout":qd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$d.delete(t.pointerId)}}function bd(e,t,r,o,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:a,targetContainers:[n]},t!==null&&(t=uf(t),t!==null&&cw(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function v4(e,t,r,o,n){switch(t){case"focusin":return Ti=bd(Ti,e,t,r,o,n),!0;case"dragenter":return ki=bd(ki,e,t,r,o,n),!0;case"mouseover":return Mi=bd(Mi,e,t,r,o,n),!0;case"pointerover":var a=n.pointerId;return qd.set(a,bd(qd.get(a)||null,e,t,r,o,n)),!0;case"gotpointercapture":return a=n.pointerId,$d.set(a,bd($d.get(a)||null,e,t,r,o,n)),!0}return!1}function p1(e){var t=Us(e.target);if(t!==null){var r=Zs(t);if(r!==null){if(t=r.tag,t===13){if(t=t1(r),t!==null){e.blockedOn=t,f1(e.priority,function(){c1(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fg(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=L0(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r);C0=o,r.target.dispatchEvent(o),C0=null}else return t=uf(r),t!==null&&cw(t),e.blockedOn=r,!1;t.shift()}return!0}function GP(e,t,r){fg(e)&&r.delete(t)}function x4(){P0=!1,Ti!==null&&fg(Ti)&&(Ti=null),ki!==null&&fg(ki)&&(ki=null),Mi!==null&&fg(Mi)&&(Mi=null),qd.forEach(GP),$d.forEach(GP)}function Rd(e,t){e.blockedOn===t&&(e.blockedOn=null,P0||(P0=!0,mo.unstable_scheduleCallback(mo.unstable_NormalPriority,x4)))}function Kd(e){function t(n){return Rd(n,e)}if(0<Zm.length){Rd(Zm[0],e);for(var r=1;r<Zm.length;r++){var o=Zm[r];o.blockedOn===e&&(o.blockedOn=null)}}for(Ti!==null&&Rd(Ti,e),ki!==null&&Rd(ki,e),Mi!==null&&Rd(Mi,e),qd.forEach(t),$d.forEach(t),r=0;r<Ri.length;r++)o=Ri[r],o.blockedOn===e&&(o.blockedOn=null);for(;0<Ri.length&&(r=Ri[0],r.blockedOn===null);)p1(r),r.blockedOn===null&&Ri.shift()}var Su=Aa.ReactCurrentBatchConfig,Lg=!0;function y4(e,t,r,o){var n=Ge,a=Su.transition;Su.transition=null;try{Ge=1,dw(e,t,r,o)}finally{Ge=n,Su.transition=a}}function w4(e,t,r,o){var n=Ge,a=Su.transition;Su.transition=null;try{Ge=4,dw(e,t,r,o)}finally{Ge=n,Su.transition=a}}function dw(e,t,r,o){if(Lg){var n=L0(e,t,r,o);if(n===null)Zy(e,t,o,Tg,r),zP(e,o);else if(v4(n,e,t,r,o))o.stopPropagation();else if(zP(e,o),t&4&&-1<h4.indexOf(e)){for(;n!==null;){var a=uf(n);if(a!==null&&u1(a),a=L0(e,t,r,o),a===null&&Zy(e,t,o,Tg,r),a===n)break;n=a}n!==null&&o.stopPropagation()}else Zy(e,t,o,null,r)}}var Tg=null;function L0(e,t,r,o){if(Tg=null,e=sw(o),e=Us(e),e!==null)if(t=Zs(e),t===null)e=null;else if(r=t.tag,r===13){if(e=t1(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Tg=e,null}function m1(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 lw:return 1;case a1:return 4;case Ig:case l4:return 16;case i1:return 536870912;default:return 16}default:return 16}}var Pi=null,fw=null,pg=null;function g1(){if(pg)return pg;var e,t=fw,r=t.length,o,n="value"in Pi?Pi.value:Pi.textContent,a=n.length;for(e=0;e<r&&t[e]===n[e];e++);var i=r-e;for(o=1;o<=i&&t[r-o]===n[a-o];o++);return pg=n.slice(e,1<o?1-o:void 0)}function mg(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 Jm(){return!0}function WP(){return!1}function go(e){function t(r,o,n,a,i){this._reactName=r,this._targetInst=n,this.type=o,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Jm:WP,this.isPropagationStopped=WP,this}return pt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Jm)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Jm)},persist:function(){},isPersistent:Jm}),t}var Au={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pw=go(Au),lf=pt({},Au,{view:0,detail:0}),C4=go(lf),qy,$y,Id,$g=pt({},lf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mw,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!==Id&&(Id&&e.type==="mousemove"?(qy=e.screenX-Id.screenX,$y=e.screenY-Id.screenY):$y=qy=0,Id=e),qy)},movementY:function(e){return"movementY"in e?e.movementY:$y}}),jP=go($g),S4=pt({},$g,{dataTransfer:0}),b4=go(S4),R4=pt({},lf,{relatedTarget:0}),Ky=go(R4),I4=pt({},Au,{animationName:0,elapsedTime:0,pseudoElement:0}),P4=go(I4),L4=pt({},Au,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),T4=go(L4),k4=pt({},Au,{data:0}),qP=go(k4),M4={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},E4={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"},A4={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function D4(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=A4[e])?!!t[e]:!1}function mw(){return D4}var N4=pt({},lf,{key:function(e){if(e.key){var t=M4[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=mg(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?E4[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mw,charCode:function(e){return e.type==="keypress"?mg(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?mg(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),O4=go(N4),F4=pt({},$g,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$P=go(F4),_4=pt({},lf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mw}),V4=go(_4),B4=pt({},Au,{propertyName:0,elapsedTime:0,pseudoElement:0}),H4=go(B4),U4=pt({},$g,{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}),z4=go(U4),G4=[9,13,27,32],gw=Ta&&"CompositionEvent"in window,Fd=null;Ta&&"documentMode"in document&&(Fd=document.documentMode);var W4=Ta&&"TextEvent"in window&&!Fd,h1=Ta&&(!gw||Fd&&8<Fd&&11>=Fd),KP=String.fromCharCode(32),XP=!1;function v1(e,t){switch(e){case"keyup":return G4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function x1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var uu=!1;function j4(e,t){switch(e){case"compositionend":return x1(t);case"keypress":return t.which!==32?null:(XP=!0,KP);case"textInput":return e=t.data,e===KP&&XP?null:e;default:return null}}function q4(e,t){if(uu)return e==="compositionend"||!gw&&v1(e,t)?(e=g1(),pg=fw=Pi=null,uu=!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 h1&&t.locale!=="ko"?null:t.data;default:return null}}var $4={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 YP(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$4[e.type]:t==="textarea"}function y1(e,t,r,o){YL(o),t=kg(t,"onChange"),0<t.length&&(r=new pw("onChange","change",null,r,o),e.push({event:r,listeners:t}))}var _d=null,Xd=null;function K4(e){M1(e,0)}function Kg(e){var t=fu(e);if(GL(t))return e}function X4(e,t){if(e==="change")return t}var w1=!1;Ta&&(Ta?(tg="oninput"in document,tg||(Xy=document.createElement("div"),Xy.setAttribute("oninput","return;"),tg=typeof Xy.oninput=="function"),eg=tg):eg=!1,w1=eg&&(!document.documentMode||9<document.documentMode));var eg,tg,Xy;function QP(){_d&&(_d.detachEvent("onpropertychange",C1),Xd=_d=null)}function C1(e){if(e.propertyName==="value"&&Kg(Xd)){var t=[];y1(t,Xd,e,sw(e)),e1(K4,t)}}function Y4(e,t,r){e==="focusin"?(QP(),_d=t,Xd=r,_d.attachEvent("onpropertychange",C1)):e==="focusout"&&QP()}function Q4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Kg(Xd)}function Z4(e,t){if(e==="click")return Kg(t)}function J4(e,t){if(e==="input"||e==="change")return Kg(t)}function e5(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yn=typeof Object.is=="function"?Object.is:e5;function Yd(e,t){if(yn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var n=r[o];if(!u0.call(t,n)||!yn(e[n],t[n]))return!1}return!0}function ZP(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function JP(e,t){var r=ZP(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=t&&o>=t)return{node:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ZP(r)}}function S1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?S1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function b1(){for(var e=window,t=Sg();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Sg(e.document)}return t}function hw(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 t5(e){var t=b1(),r=e.focusedElem,o=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&S1(r.ownerDocument.documentElement,r)){if(o!==null&&hw(r)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var n=r.textContent.length,a=Math.min(o.start,n);o=o.end===void 0?a:Math.min(o.end,n),!e.extend&&a>o&&(n=o,o=a,a=n),n=JP(r,a);var i=JP(r,o);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>o?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var r5=Ta&&"documentMode"in document&&11>=document.documentMode,cu=null,T0=null,Vd=null,k0=!1;function eL(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;k0||cu==null||cu!==Sg(o)||(o=cu,"selectionStart"in o&&hw(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Vd&&Yd(Vd,o)||(Vd=o,o=kg(T0,"onSelect"),0<o.length&&(t=new pw("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=cu)))}function rg(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var du={animationend:rg("Animation","AnimationEnd"),animationiteration:rg("Animation","AnimationIteration"),animationstart:rg("Animation","AnimationStart"),transitionend:rg("Transition","TransitionEnd")},Yy={},R1={};Ta&&(R1=document.createElement("div").style,"AnimationEvent"in window||(delete du.animationend.animation,delete du.animationiteration.animation,delete du.animationstart.animation),"TransitionEvent"in window||delete du.transitionend.transition);function Xg(e){if(Yy[e])return Yy[e];if(!du[e])return e;var t=du[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in R1)return Yy[e]=t[r];return e}var I1=Xg("animationend"),P1=Xg("animationiteration"),L1=Xg("animationstart"),T1=Xg("transitionend"),k1=new Map,tL="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 Vi(e,t){k1.set(e,t),Qs(t,[e])}for(og=0;og<tL.length;og++)ng=tL[og],rL=ng.toLowerCase(),oL=ng[0].toUpperCase()+ng.slice(1),Vi(rL,"on"+oL);var ng,rL,oL,og;Vi(I1,"onAnimationEnd");Vi(P1,"onAnimationIteration");Vi(L1,"onAnimationStart");Vi("dblclick","onDoubleClick");Vi("focusin","onFocus");Vi("focusout","onBlur");Vi(T1,"onTransitionEnd");Iu("onMouseEnter",["mouseout","mouseover"]);Iu("onMouseLeave",["mouseout","mouseover"]);Iu("onPointerEnter",["pointerout","pointerover"]);Iu("onPointerLeave",["pointerout","pointerover"]);Qs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qs("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Qs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dd="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(" "),o5=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dd));function nL(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,o4(o,t,void 0,e),e.currentTarget=null}function M1(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var o=e[r],n=o.event;o=o.listeners;e:{var a=void 0;if(t)for(var i=o.length-1;0<=i;i--){var s=o[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&n.isPropagationStopped())break e;nL(n,s,u),a=l}else for(i=0;i<o.length;i++){if(s=o[i],l=s.instance,u=s.currentTarget,s=s.listener,l!==a&&n.isPropagationStopped())break e;nL(n,s,u),a=l}}}if(Rg)throw e=R0,Rg=!1,R0=null,e}function et(e,t){var r=t[N0];r===void 0&&(r=t[N0]=new Set);var o=e+"__bubble";r.has(o)||(E1(t,e,2,!1),r.add(o))}function Qy(e,t,r){var o=0;t&&(o|=4),E1(r,e,o,t)}var ag="_reactListening"+Math.random().toString(36).slice(2);function Qd(e){if(!e[ag]){e[ag]=!0,VL.forEach(function(r){r!=="selectionchange"&&(o5.has(r)||Qy(r,!1,e),Qy(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ag]||(t[ag]=!0,Qy("selectionchange",!1,t))}}function E1(e,t,r,o){switch(m1(t)){case 1:var n=y4;break;case 4:n=w4;break;default:n=dw}r=n.bind(null,t,r,e),n=void 0,!b0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),o?n!==void 0?e.addEventListener(t,r,{capture:!0,passive:n}):e.addEventListener(t,r,!0):n!==void 0?e.addEventListener(t,r,{passive:n}):e.addEventListener(t,r,!1)}function Zy(e,t,r,o,n){var a=o;if(!(t&1)&&!(t&2)&&o!==null)e:for(;;){if(o===null)return;var i=o.tag;if(i===3||i===4){var s=o.stateNode.containerInfo;if(s===n||s.nodeType===8&&s.parentNode===n)break;if(i===4)for(i=o.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=Us(s),i===null)return;if(l=i.tag,l===5||l===6){o=a=i;continue e}s=s.parentNode}}o=o.return}e1(function(){var u=a,c=sw(r),d=[];e:{var f=k1.get(e);if(f!==void 0){var p=pw,g=e;switch(e){case"keypress":if(mg(r)===0)break e;case"keydown":case"keyup":p=O4;break;case"focusin":g="focus",p=Ky;break;case"focusout":g="blur",p=Ky;break;case"beforeblur":case"afterblur":p=Ky;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=jP;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=b4;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=V4;break;case I1:case P1:case L1:p=P4;break;case T1:p=H4;break;case"scroll":p=C4;break;case"wheel":p=z4;break;case"copy":case"cut":case"paste":p=T4;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=$P}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 w=y.stateNode;if(y.tag===5&&w!==null&&(y=w,h!==null&&(w=jd(v,h),w!=null&&m.push(Zd(v,w,y)))),x)break;v=v.return}0<m.length&&(f=new p(f,g,null,r,c),d.push({event:f,listeners:m}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&r!==C0&&(g=r.relatedTarget||r.fromElement)&&(Us(g)||g[ka]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(g=r.relatedTarget||r.toElement,p=u,g=g?Us(g):null,g!==null&&(x=Zs(g),g!==x||g.tag!==5&&g.tag!==6)&&(g=null)):(p=null,g=u),p!==g)){if(m=jP,w="onMouseLeave",h="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(m=$P,w="onPointerLeave",h="onPointerEnter",v="pointer"),x=p==null?f:fu(p),y=g==null?f:fu(g),f=new m(w,v+"leave",p,r,c),f.target=x,f.relatedTarget=y,w=null,Us(c)===u&&(m=new m(h,v+"enter",g,r,c),m.target=y,m.relatedTarget=x,w=m),x=w,p&&g)t:{for(m=p,h=g,v=0,y=m;y;y=iu(y))v++;for(y=0,w=h;w;w=iu(w))y++;for(;0<v-y;)m=iu(m),v--;for(;0<y-v;)h=iu(h),y--;for(;v--;){if(m===h||h!==null&&m===h.alternate)break t;m=iu(m),h=iu(h)}m=null}else m=null;p!==null&&aL(d,f,p,m,!1),g!==null&&x!==null&&aL(d,x,g,m,!0)}}e:{if(f=u?fu(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var C=X4;else if(YP(f))if(w1)C=J4;else{C=Q4;var b=Y4}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=Z4);if(C&&(C=C(e,u))){y1(d,C,r,c);break e}b&&b(e,f,u),e==="focusout"&&(b=f._wrapperState)&&b.controlled&&f.type==="number"&&h0(f,"number",f.value)}switch(b=u?fu(u):window,e){case"focusin":(YP(b)||b.contentEditable==="true")&&(cu=b,T0=u,Vd=null);break;case"focusout":Vd=T0=cu=null;break;case"mousedown":k0=!0;break;case"contextmenu":case"mouseup":case"dragend":k0=!1,eL(d,r,c);break;case"selectionchange":if(r5)break;case"keydown":case"keyup":eL(d,r,c)}var S;if(gw)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 uu?v1(e,r)&&(I="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(I="onCompositionStart");I&&(h1&&r.locale!=="ko"&&(uu||I!=="onCompositionStart"?I==="onCompositionEnd"&&uu&&(S=g1()):(Pi=c,fw="value"in Pi?Pi.value:Pi.textContent,uu=!0)),b=kg(u,I),0<b.length&&(I=new qP(I,e,null,r,c),d.push({event:I,listeners:b}),S?I.data=S:(S=x1(r),S!==null&&(I.data=S)))),(S=W4?j4(e,r):q4(e,r))&&(u=kg(u,"onBeforeInput"),0<u.length&&(c=new qP("onBeforeInput","beforeinput",null,r,c),d.push({event:c,listeners:u}),c.data=S))}M1(d,t)})}function Zd(e,t,r){return{instance:e,listener:t,currentTarget:r}}function kg(e,t){for(var r=t+"Capture",o=[];e!==null;){var n=e,a=n.stateNode;n.tag===5&&a!==null&&(n=a,a=jd(e,r),a!=null&&o.unshift(Zd(e,a,n)),a=jd(e,t),a!=null&&o.push(Zd(e,a,n))),e=e.return}return o}function iu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function aL(e,t,r,o,n){for(var a=t._reactName,i=[];r!==null&&r!==o;){var s=r,l=s.alternate,u=s.stateNode;if(l!==null&&l===o)break;s.tag===5&&u!==null&&(s=u,n?(l=jd(r,a),l!=null&&i.unshift(Zd(r,l,s))):n||(l=jd(r,a),l!=null&&i.push(Zd(r,l,s)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var n5=/\r\n?/g,a5=/\u0000|\uFFFD/g;function iL(e){return(typeof e=="string"?e:""+e).replace(n5,`
9
9
  `).replace(a5,"")}function ig(e,t,r){if(t=iL(t),iL(e)!==t&&r)throw Error(q(425))}function Mg(){}var M0=null,E0=null;function A0(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 D0=typeof setTimeout=="function"?setTimeout:void 0,i5=typeof clearTimeout=="function"?clearTimeout:void 0,sL=typeof Promise=="function"?Promise:void 0,s5=typeof queueMicrotask=="function"?queueMicrotask:typeof sL<"u"?function(e){return sL.resolve(null).then(e).catch(l5)}:D0;function l5(e){setTimeout(function(){throw e})}function Jy(e,t){var r=t,o=0;do{var n=r.nextSibling;if(e.removeChild(r),n&&n.nodeType===8)if(r=n.data,r==="/$"){if(o===0){e.removeChild(n),Kd(t);return}o--}else r!=="$"&&r!=="$?"&&r!=="$!"||o++;r=n}while(r);Kd(t)}function Ei(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 lL(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Du=Math.random().toString(36).slice(2),ea="__reactFiber$"+Du,Jd="__reactProps$"+Du,ka="__reactContainer$"+Du,N0="__reactEvents$"+Du,u5="__reactListeners$"+Du,c5="__reactHandles$"+Du;function Us(e){var t=e[ea];if(t)return t;for(var r=e.parentNode;r;){if(t=r[ka]||r[ea]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=lL(e);e!==null;){if(r=e[ea])return r;e=lL(e)}return t}e=r,r=e.parentNode}return null}function uf(e){return e=e[ea]||e[ka],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fu(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(q(33))}function Yg(e){return e[Jd]||null}var O0=[],pu=-1;function Bi(e){return{current:e}}function tt(e){0>pu||(e.current=O0[pu],O0[pu]=null,pu--)}function Ye(e,t){pu++,O0[pu]=e.current,e.current=t}var _i={},mr=Bi(_i),qr=Bi(!1),qs=_i;function Pu(e,t){var r=e.type.contextTypes;if(!r)return _i;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var n={},a;for(a in r)n[a]=t[a];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n),n}function $r(e){return e=e.childContextTypes,e!=null}function Eg(){tt(qr),tt(mr)}function uL(e,t,r){if(mr.current!==_i)throw Error(q(168));Ye(mr,t),Ye(qr,r)}function A1(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return r;o=o.getChildContext();for(var n in o)if(!(n in t))throw Error(q(108,Yz(e)||"Unknown",n));return pt({},r,o)}function Ag(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_i,qs=mr.current,Ye(mr,e),Ye(qr,qr.current),!0}function cL(e,t,r){var o=e.stateNode;if(!o)throw Error(q(169));r?(e=A1(e,t,qs),o.__reactInternalMemoizedMergedChildContext=e,tt(qr),tt(mr),Ye(mr,e)):tt(qr),Ye(qr,r)}var Ra=null,Qg=!1,e0=!1;function D1(e){Ra===null?Ra=[e]:Ra.push(e)}function d5(e){Qg=!0,D1(e)}function Hi(){if(!e0&&Ra!==null){e0=!0;var e=0,t=Ge;try{var r=Ra;for(Ge=1;e<r.length;e++){var o=r[e];do o=o(!0);while(o!==null)}Ra=null,Qg=!1}catch(n){throw Ra!==null&&(Ra=Ra.slice(e+1)),n1(lw,Hi),n}finally{Ge=t,e0=!1}}return null}var mu=[],gu=0,Dg=null,Ng=0,Do=[],No=0,$s=null,Ia=1,Pa="";function Bs(e,t){mu[gu++]=Ng,mu[gu++]=Dg,Dg=e,Ng=t}function N1(e,t,r){Do[No++]=Ia,Do[No++]=Pa,Do[No++]=$s,$s=e;var o=Ia;e=Pa;var n=32-vn(o)-1;o&=~(1<<n),r+=1;var a=32-vn(t)+n;if(30<a){var i=n-n%5;a=(o&(1<<i)-1).toString(32),o>>=i,n-=i,Ia=1<<32-vn(t)+n|r<<n|o,Pa=a+e}else Ia=1<<a|r<<n|o,Pa=e}function vw(e){e.return!==null&&(Bs(e,1),N1(e,1,0))}function xw(e){for(;e===Dg;)Dg=mu[--gu],mu[gu]=null,Ng=mu[--gu],mu[gu]=null;for(;e===$s;)$s=Do[--No],Do[No]=null,Pa=Do[--No],Do[No]=null,Ia=Do[--No],Do[No]=null}var po=null,fo=null,it=!1,hn=null;function O1(e,t){var r=Oo(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function dL(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,po=e,fo=Ei(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,po=e,fo=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=$s!==null?{id:Ia,overflow:Pa}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Oo(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,po=e,fo=null,!0):!1;default:return!1}}function F0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function _0(e){if(it){var t=fo;if(t){var r=t;if(!dL(e,t)){if(F0(e))throw Error(q(418));t=Ei(r.nextSibling);var o=po;t&&dL(e,t)?O1(o,r):(e.flags=e.flags&-4097|2,it=!1,po=e)}}else{if(F0(e))throw Error(q(418));e.flags=e.flags&-4097|2,it=!1,po=e}}}function fL(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;po=e}function sg(e){if(e!==po)return!1;if(!it)return fL(e),it=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!A0(e.type,e.memoizedProps)),t&&(t=fo)){if(F0(e))throw F1(),Error(q(418));for(;t;)O1(e,t),t=Ei(t.nextSibling)}if(fL(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 r=e.data;if(r==="/$"){if(t===0){fo=Ei(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}fo=null}}else fo=po?Ei(e.stateNode.nextSibling):null;return!0}function F1(){for(var e=fo;e;)e=Ei(e.nextSibling)}function Lu(){fo=po=null,it=!1}function yw(e){hn===null?hn=[e]:hn.push(e)}var f5=Aa.ReactCurrentBatchConfig;function Pd(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(q(309));var o=r.stateNode}if(!o)throw Error(q(147,e));var n=o,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(!r._owner)throw Error(q(290,e))}return e}function lg(e,t){throw e=Object.prototype.toString.call(t),Error(q(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function pL(e){var t=e._init;return t(e._payload)}function _1(e){function t(h,v){if(e){var y=h.deletions;y===null?(h.deletions=[v],h.flags|=16):y.push(v)}}function r(h,v){if(!e)return null;for(;v!==null;)t(h,v),v=v.sibling;return null}function o(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=Oi(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,w){return v===null||v.tag!==6?(v=s0(y,h.mode,w),v.return=h,v):(v=n(v,y),v.return=h,v)}function l(h,v,y,w){var C=y.type;return C===lu?c(h,v,y.props.children,w,y.key):v!==null&&(v.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Si&&pL(C)===v.type)?(w=n(v,y.props),w.ref=Pd(h,v,y),w.return=h,w):(w=Cg(y.type,y.key,y.props,null,h.mode,w),w.ref=Pd(h,v,y),w.return=h,w)}function u(h,v,y,w){return v===null||v.tag!==4||v.stateNode.containerInfo!==y.containerInfo||v.stateNode.implementation!==y.implementation?(v=l0(y,h.mode,w),v.return=h,v):(v=n(v,y.children||[]),v.return=h,v)}function c(h,v,y,w,C){return v===null||v.tag!==7?(v=js(y,h.mode,w,C),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=s0(""+v,h.mode,y),v.return=h,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case $m:return y=Cg(v.type,v.key,v.props,null,h.mode,y),y.ref=Pd(h,null,v),y.return=h,y;case su:return v=l0(v,h.mode,y),v.return=h,v;case Si:var w=v._init;return d(h,w(v._payload),y)}if(Ed(v)||Sd(v))return v=js(v,h.mode,y,null),v.return=h,v;lg(h,v)}return null}function f(h,v,y,w){var C=v!==null?v.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return C!==null?null:s(h,v,""+y,w);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case $m:return y.key===C?l(h,v,y,w):null;case su:return y.key===C?u(h,v,y,w):null;case Si:return C=y._init,f(h,v,C(y._payload),w)}if(Ed(y)||Sd(y))return C!==null?null:c(h,v,y,w,null);lg(h,y)}return null}function p(h,v,y,w,C){if(typeof w=="string"&&w!==""||typeof w=="number")return h=h.get(y)||null,s(v,h,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case $m:return h=h.get(w.key===null?y:w.key)||null,l(v,h,w,C);case su:return h=h.get(w.key===null?y:w.key)||null,u(v,h,w,C);case Si:var b=w._init;return p(h,v,y,b(w._payload),C)}if(Ed(w)||Sd(w))return h=h.get(y)||null,c(v,h,w,C,null);lg(v,w)}return null}function g(h,v,y,w){for(var C=null,b=null,S=v,I=v=0,L=null;S!==null&&I<y.length;I++){S.index>I?(L=S,S=null):L=S.sibling;var T=f(h,S,y[I],w);if(T===null){S===null&&(S=L);break}e&&S&&T.alternate===null&&t(h,S),v=a(T,v,I),b===null?C=T:b.sibling=T,b=T,S=L}if(I===y.length)return r(h,S),it&&Bs(h,I),C;if(S===null){for(;I<y.length;I++)S=d(h,y[I],w),S!==null&&(v=a(S,v,I),b===null?C=S:b.sibling=S,b=S);return it&&Bs(h,I),C}for(S=o(h,S);I<y.length;I++)L=p(S,h,I,y[I],w),L!==null&&(e&&L.alternate!==null&&S.delete(L.key===null?I:L.key),v=a(L,v,I),b===null?C=L:b.sibling=L,b=L);return e&&S.forEach(function(k){return t(h,k)}),it&&Bs(h,I),C}function m(h,v,y,w){var C=Sd(y);if(typeof C!="function")throw Error(q(150));if(y=C.call(y),y==null)throw Error(q(151));for(var b=C=null,S=v,I=v=0,L=null,T=y.next();S!==null&&!T.done;I++,T=y.next()){S.index>I?(L=S,S=null):L=S.sibling;var k=f(h,S,T.value,w);if(k===null){S===null&&(S=L);break}e&&S&&k.alternate===null&&t(h,S),v=a(k,v,I),b===null?C=k:b.sibling=k,b=k,S=L}if(T.done)return r(h,S),it&&Bs(h,I),C;if(S===null){for(;!T.done;I++,T=y.next())T=d(h,T.value,w),T!==null&&(v=a(T,v,I),b===null?C=T:b.sibling=T,b=T);return it&&Bs(h,I),C}for(S=o(h,S);!T.done;I++,T=y.next())T=p(S,h,I,T.value,w),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?I:T.key),v=a(T,v,I),b===null?C=T:b.sibling=T,b=T);return e&&S.forEach(function(A){return t(h,A)}),it&&Bs(h,I),C}function x(h,v,y,w){if(typeof y=="object"&&y!==null&&y.type===lu&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case $m:e:{for(var C=y.key,b=v;b!==null;){if(b.key===C){if(C=y.type,C===lu){if(b.tag===7){r(h,b.sibling),v=n(b,y.props.children),v.return=h,h=v;break e}}else if(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Si&&pL(C)===b.type){r(h,b.sibling),v=n(b,y.props),v.ref=Pd(h,b,y),v.return=h,h=v;break e}r(h,b);break}else t(h,b);b=b.sibling}y.type===lu?(v=js(y.props.children,h.mode,w,y.key),v.return=h,h=v):(w=Cg(y.type,y.key,y.props,null,h.mode,w),w.ref=Pd(h,v,y),w.return=h,h=w)}return i(h);case su: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){r(h,v.sibling),v=n(v,y.children||[]),v.return=h,h=v;break e}else{r(h,v);break}else t(h,v);v=v.sibling}v=l0(y,h.mode,w),v.return=h,h=v}return i(h);case Si:return b=y._init,x(h,v,b(y._payload),w)}if(Ed(y))return g(h,v,y,w);if(Sd(y))return m(h,v,y,w);lg(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,v!==null&&v.tag===6?(r(h,v.sibling),v=n(v,y),v.return=h,h=v):(r(h,v),v=s0(y,h.mode,w),v.return=h,h=v),i(h)):r(h,v)}return x}var Tu=_1(!0),V1=_1(!1),Og=Bi(null),Fg=null,hu=null,ww=null;function Cw(){ww=hu=Fg=null}function Sw(e){var t=Og.current;tt(Og),e._currentValue=t}function V0(e,t,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}}function bu(e,t){Fg=e,ww=hu=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(jr=!0),e.firstContext=null)}function _o(e){var t=e._currentValue;if(ww!==e)if(e={context:e,memoizedValue:t,next:null},hu===null){if(Fg===null)throw Error(q(308));hu=e,Fg.dependencies={lanes:0,firstContext:e}}else hu=hu.next=e;return t}var zs=null;function bw(e){zs===null?zs=[e]:zs.push(e)}function B1(e,t,r,o){var n=t.interleaved;return n===null?(r.next=r,bw(t)):(r.next=n.next,n.next=r),t.interleaved=r,Ma(e,o)}function Ma(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var bi=!1;function Rw(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function H1(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 La(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ai(e,t,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,Ee&2){var n=o.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),o.pending=t,Ma(e,r)}return n=o.interleaved,n===null?(t.next=t,bw(o)):(t.next=n.next,n.next=t),o.interleaved=t,Ma(e,r)}function gg(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,uw(e,r)}}function mL(e,t){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var n=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?n=a=i:a=a.next=i,r=r.next}while(r!==null);a===null?n=a=t:a=a.next=t}else n=a=t;r={baseState:o.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:o.shared,effects:o.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function _g(e,t,r,o){var n=e.updateQueue;bi=!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((o&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=r,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=pt({},d,f);break e;case 2:bi=!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);Xs|=i,e.lanes=i,e.memoizedState=d}}function gL(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var o=e[t],n=o.callback;if(n!==null){if(o.callback=null,o=r,typeof n!="function")throw Error(q(191,n));n.call(o)}}}var cf={},ra=Bi(cf),ef=Bi(cf),tf=Bi(cf);function Gs(e){if(e===cf)throw Error(q(174));return e}function Iw(e,t){switch(Ye(tf,t),Ye(ef,e),Ye(ra,cf),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:x0(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=x0(t,e)}tt(ra),Ye(ra,t)}function ku(){tt(ra),tt(ef),tt(tf)}function U1(e){Gs(tf.current);var t=Gs(ra.current),r=x0(t,e.type);t!==r&&(Ye(ef,e),Ye(ra,r))}function Pw(e){ef.current===e&&(tt(ra),tt(ef))}var dt=Bi(0);function Vg(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.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 t0=[];function Lw(){for(var e=0;e<t0.length;e++)t0[e]._workInProgressVersionPrimary=null;t0.length=0}var hg=Aa.ReactCurrentDispatcher,r0=Aa.ReactCurrentBatchConfig,Ks=0,ft=null,Ot=null,jt=null,Bg=!1,Bd=!1,rf=0,p5=0;function dr(){throw Error(q(321))}function Tw(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!yn(e[r],t[r]))return!1;return!0}function kw(e,t,r,o,n,a){if(Ks=a,ft=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,hg.current=e===null||e.memoizedState===null?v5:x5,e=r(o,n),Bd){a=0;do{if(Bd=!1,rf=0,25<=a)throw Error(q(301));a+=1,jt=Ot=null,t.updateQueue=null,hg.current=y5,e=r(o,n)}while(Bd)}if(hg.current=Hg,t=Ot!==null&&Ot.next!==null,Ks=0,jt=Ot=ft=null,Bg=!1,t)throw Error(q(300));return e}function Mw(){var e=rf!==0;return rf=0,e}function Jn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return jt===null?ft.memoizedState=jt=e:jt=jt.next=e,jt}function Vo(){if(Ot===null){var e=ft.alternate;e=e!==null?e.memoizedState:null}else e=Ot.next;var t=jt===null?ft.memoizedState:jt.next;if(t!==null)jt=t,Ot=e;else{if(e===null)throw Error(q(310));Ot=e,e={memoizedState:Ot.memoizedState,baseState:Ot.baseState,baseQueue:Ot.baseQueue,queue:Ot.queue,next:null},jt===null?ft.memoizedState=jt=e:jt=jt.next=e}return jt}function of(e,t){return typeof t=="function"?t(e):t}function o0(e){var t=Vo(),r=t.queue;if(r===null)throw Error(q(311));r.lastRenderedReducer=e;var o=Ot,n=o.baseQueue,a=r.pending;if(a!==null){if(n!==null){var i=n.next;n.next=a.next,a.next=i}o.baseQueue=n=a,r.pending=null}if(n!==null){a=n.next,o=o.baseState;var s=i=null,l=null,u=a;do{var c=u.lane;if((Ks&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),o=u.hasEagerState?u.eagerState:e(o,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=d,i=o):l=l.next=d,ft.lanes|=c,Xs|=c}u=u.next}while(u!==null&&u!==a);l===null?i=o:l.next=s,yn(o,t.memoizedState)||(jr=!0),t.memoizedState=o,t.baseState=i,t.baseQueue=l,r.lastRenderedState=o}if(e=r.interleaved,e!==null){n=e;do a=n.lane,ft.lanes|=a,Xs|=a,n=n.next;while(n!==e)}else n===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function n0(e){var t=Vo(),r=t.queue;if(r===null)throw Error(q(311));r.lastRenderedReducer=e;var o=r.dispatch,n=r.pending,a=t.memoizedState;if(n!==null){r.pending=null;var i=n=n.next;do a=e(a,i.action),i=i.next;while(i!==n);yn(a,t.memoizedState)||(jr=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,o]}function z1(){}function G1(e,t){var r=ft,o=Vo(),n=t(),a=!yn(o.memoizedState,n);if(a&&(o.memoizedState=n,jr=!0),o=o.queue,Ew(q1.bind(null,r,o,e),[e]),o.getSnapshot!==t||a||jt!==null&&jt.memoizedState.tag&1){if(r.flags|=2048,nf(9,j1.bind(null,r,o,n,t),void 0,null),qt===null)throw Error(q(349));Ks&30||W1(r,t,n)}return n}function W1(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=ft.updateQueue,t===null?(t={lastEffect:null,stores:null},ft.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function j1(e,t,r,o){t.value=r,t.getSnapshot=o,$1(t)&&K1(e)}function q1(e,t,r){return r(function(){$1(t)&&K1(e)})}function $1(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!yn(e,r)}catch{return!0}}function K1(e){var t=Ma(e,1);t!==null&&xn(t,e,1,-1)}function hL(e){var t=Jn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:of,lastRenderedState:e},t.queue=e,e=e.dispatch=h5.bind(null,ft,e),[t.memoizedState,e]}function nf(e,t,r,o){return e={tag:e,create:t,destroy:r,deps:o,next:null},t=ft.updateQueue,t===null?(t={lastEffect:null,stores:null},ft.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e)),e}function X1(){return Vo().memoizedState}function vg(e,t,r,o){var n=Jn();ft.flags|=e,n.memoizedState=nf(1|t,r,void 0,o===void 0?null:o)}function Zg(e,t,r,o){var n=Vo();o=o===void 0?null:o;var a=void 0;if(Ot!==null){var i=Ot.memoizedState;if(a=i.destroy,o!==null&&Tw(o,i.deps)){n.memoizedState=nf(t,r,a,o);return}}ft.flags|=e,n.memoizedState=nf(1|t,r,a,o)}function vL(e,t){return vg(8390656,8,e,t)}function Ew(e,t){return Zg(2048,8,e,t)}function Y1(e,t){return Zg(4,2,e,t)}function Q1(e,t){return Zg(4,4,e,t)}function Z1(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 J1(e,t,r){return r=r!=null?r.concat([e]):null,Zg(4,4,Z1.bind(null,t,e),r)}function Aw(){}function eT(e,t){var r=Vo();t=t===void 0?null:t;var o=r.memoizedState;return o!==null&&t!==null&&Tw(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function tT(e,t){var r=Vo();t=t===void 0?null:t;var o=r.memoizedState;return o!==null&&t!==null&&Tw(t,o[1])?o[0]:(e=e(),r.memoizedState=[e,t],e)}function rT(e,t,r){return Ks&21?(yn(r,t)||(r=s1(),ft.lanes|=r,Xs|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,jr=!0),e.memoizedState=r)}function m5(e,t){var r=Ge;Ge=r!==0&&4>r?r:4,e(!0);var o=r0.transition;r0.transition={};try{e(!1),t()}finally{Ge=r,r0.transition=o}}function oT(){return Vo().memoizedState}function g5(e,t,r){var o=Ni(e);if(r={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null},nT(e))aT(t,r);else if(r=B1(e,t,r,o),r!==null){var n=Er();xn(r,e,o,n),iT(r,t,o)}}function h5(e,t,r){var o=Ni(e),n={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null};if(nT(e))aT(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,r);if(n.hasEagerState=!0,n.eagerState=s,yn(s,i)){var l=t.interleaved;l===null?(n.next=n,bw(t)):(n.next=l.next,l.next=n),t.interleaved=n;return}}catch{}finally{}r=B1(e,t,n,o),r!==null&&(n=Er(),xn(r,e,o,n),iT(r,t,o))}}function nT(e){var t=e.alternate;return e===ft||t!==null&&t===ft}function aT(e,t){Bd=Bg=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function iT(e,t,r){if(r&4194240){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,uw(e,r)}}var Hg={readContext:_o,useCallback:dr,useContext:dr,useEffect:dr,useImperativeHandle:dr,useInsertionEffect:dr,useLayoutEffect:dr,useMemo:dr,useReducer:dr,useRef:dr,useState:dr,useDebugValue:dr,useDeferredValue:dr,useTransition:dr,useMutableSource:dr,useSyncExternalStore:dr,useId:dr,unstable_isNewReconciler:!1},v5={readContext:_o,useCallback:function(e,t){return Jn().memoizedState=[e,t===void 0?null:t],e},useContext:_o,useEffect:vL,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,vg(4194308,4,Z1.bind(null,t,e),r)},useLayoutEffect:function(e,t){return vg(4194308,4,e,t)},useInsertionEffect:function(e,t){return vg(4,2,e,t)},useMemo:function(e,t){var r=Jn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var o=Jn();return t=r!==void 0?r(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=g5.bind(null,ft,e),[o.memoizedState,e]},useRef:function(e){var t=Jn();return e={current:e},t.memoizedState=e},useState:hL,useDebugValue:Aw,useDeferredValue:function(e){return Jn().memoizedState=e},useTransition:function(){var e=hL(!1),t=e[0];return e=m5.bind(null,e[1]),Jn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=ft,n=Jn();if(it){if(r===void 0)throw Error(q(407));r=r()}else{if(r=t(),qt===null)throw Error(q(349));Ks&30||W1(o,t,r)}n.memoizedState=r;var a={value:r,getSnapshot:t};return n.queue=a,vL(q1.bind(null,o,a,e),[e]),o.flags|=2048,nf(9,j1.bind(null,o,a,r,t),void 0,null),r},useId:function(){var e=Jn(),t=qt.identifierPrefix;if(it){var r=Pa,o=Ia;r=(o&~(1<<32-vn(o)-1)).toString(32)+r,t=":"+t+"R"+r,r=rf++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=p5++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},x5={readContext:_o,useCallback:eT,useContext:_o,useEffect:Ew,useImperativeHandle:J1,useInsertionEffect:Y1,useLayoutEffect:Q1,useMemo:tT,useReducer:o0,useRef:X1,useState:function(){return o0(of)},useDebugValue:Aw,useDeferredValue:function(e){var t=Vo();return rT(t,Ot.memoizedState,e)},useTransition:function(){var e=o0(of)[0],t=Vo().memoizedState;return[e,t]},useMutableSource:z1,useSyncExternalStore:G1,useId:oT,unstable_isNewReconciler:!1},y5={readContext:_o,useCallback:eT,useContext:_o,useEffect:Ew,useImperativeHandle:J1,useInsertionEffect:Y1,useLayoutEffect:Q1,useMemo:tT,useReducer:n0,useRef:X1,useState:function(){return n0(of)},useDebugValue:Aw,useDeferredValue:function(e){var t=Vo();return Ot===null?t.memoizedState=e:rT(t,Ot.memoizedState,e)},useTransition:function(){var e=n0(of)[0],t=Vo().memoizedState;return[e,t]},useMutableSource:z1,useSyncExternalStore:G1,useId:oT,unstable_isNewReconciler:!1};function mn(e,t){if(e&&e.defaultProps){t=pt({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function B0(e,t,r,o){t=e.memoizedState,r=r(o,t),r=r==null?t:pt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Jg={isMounted:function(e){return(e=e._reactInternals)?Zs(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var o=Er(),n=Ni(e),a=La(o,n);a.payload=t,r!=null&&(a.callback=r),t=Ai(e,a,n),t!==null&&(xn(t,e,n,o),gg(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=Er(),n=Ni(e),a=La(o,n);a.tag=1,a.payload=t,r!=null&&(a.callback=r),t=Ai(e,a,n),t!==null&&(xn(t,e,n,o),gg(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Er(),o=Ni(e),n=La(r,o);n.tag=2,t!=null&&(n.callback=t),t=Ai(e,n,o),t!==null&&(xn(t,e,o,r),gg(t,e,o))}};function xL(e,t,r,o,n,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,a,i):t.prototype&&t.prototype.isPureReactComponent?!Yd(r,o)||!Yd(n,a):!0}function sT(e,t,r){var o=!1,n=_i,a=t.contextType;return typeof a=="object"&&a!==null?a=_o(a):(n=$r(t)?qs:mr.current,o=t.contextTypes,a=(o=o!=null)?Pu(e,n):_i),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Jg,e.stateNode=t,t._reactInternals=e,o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),t}function yL(e,t,r,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==e&&Jg.enqueueReplaceState(t,t.state,null)}function H0(e,t,r,o){var n=e.stateNode;n.props=r,n.state=e.memoizedState,n.refs={},Rw(e);var a=t.contextType;typeof a=="object"&&a!==null?n.context=_o(a):(a=$r(t)?qs:mr.current,n.context=Pu(e,a)),n.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(B0(e,t,a,r),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&&Jg.enqueueReplaceState(n,n.state,null),_g(e,r,n,o),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308)}function Mu(e,t){try{var r="",o=t;do r+=Xz(o),o=o.return;while(o);var n=r}catch(a){n=`
10
10
  Error generating stack: `+a.message+`
11
- `+a.stack}return{value:e,source:t,stack:n,digest:null}}function a0(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function U0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var w5=typeof WeakMap=="function"?WeakMap:Map;function lT(e,t,r){r=La(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){zg||(zg=!0,Q0=o),U0(e,t)},r}function uT(e,t,r){r=La(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var n=t.value;r.payload=function(){return o(n)},r.callback=function(){U0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){U0(e,t),typeof o!="function"&&(Di===null?Di=new Set([this]):Di.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function wL(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new w5;var n=new Set;o.set(t,n)}else n=o.get(t),n===void 0&&(n=new Set,o.set(t,n));n.has(r)||(n.add(r),e=N5.bind(null,e,t,r),t.then(e,e))}function CL(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 SL(e,t,r,o,n){return e.mode&1?(e.flags|=65536,e.lanes=n,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=La(-1,1),t.tag=2,Ai(r,t,1))),r.lanes|=1),e)}var C5=Aa.ReactCurrentOwner,jr=!1;function Mr(e,t,r,o){t.child=e===null?V1(t,null,r,o):Tu(t,e.child,r,o)}function bL(e,t,r,o,n){r=r.render;var a=t.ref;return bu(t,n),o=kw(e,t,r,o,a,n),r=Mw(),e!==null&&!jr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Ea(e,t,n)):(it&&r&&vw(t),t.flags|=1,Mr(e,t,o,n),t.child)}function RL(e,t,r,o,n){if(e===null){var a=r.type;return typeof a=="function"&&!Hw(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,cT(e,t,a,o,n)):(e=Cg(r.type,null,o,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(r=r.compare,r=r!==null?r:Yd,r(i,o)&&e.ref===t.ref)return Ea(e,t,n)}return t.flags|=1,e=Oi(a,o),e.ref=t.ref,e.return=t,t.child=e}function cT(e,t,r,o,n){if(e!==null){var a=e.memoizedProps;if(Yd(a,o)&&e.ref===t.ref)if(jr=!1,t.pendingProps=o=a,(e.lanes&n)!==0)e.flags&131072&&(jr=!0);else return t.lanes=e.lanes,Ea(e,t,n)}return z0(e,t,r,o,n)}function dT(e,t,r){var o=t.pendingProps,n=o.children,a=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ye(xu,co),co|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ye(xu,co),co|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=a!==null?a.baseLanes:r,Ye(xu,co),co|=o}else a!==null?(o=a.baseLanes|r,t.memoizedState=null):o=r,Ye(xu,co),co|=o;return Mr(e,t,n,r),t.child}function fT(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function z0(e,t,r,o,n){var a=$r(r)?qs:mr.current;return a=Pu(t,a),bu(t,n),r=kw(e,t,r,o,a,n),o=Mw(),e!==null&&!jr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Ea(e,t,n)):(it&&o&&vw(t),t.flags|=1,Mr(e,t,r,n),t.child)}function IL(e,t,r,o,n){if($r(r)){var a=!0;Ag(t)}else a=!1;if(bu(t,n),t.stateNode===null)xg(e,t),sT(t,r,o),H0(t,r,o,n),o=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=r.contextType;typeof u=="object"&&u!==null?u=_o(u):(u=$r(r)?qs:mr.current,u=Pu(t,u));var c=r.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==o||l!==u)&&yL(t,i,o,u),bi=!1;var f=t.memoizedState;i.state=f,_g(t,o,i,n),l=t.memoizedState,s!==o||f!==l||qr.current||bi?(typeof c=="function"&&(B0(t,r,c,o),l=t.memoizedState),(s=bi||xL(t,r,s,o,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=o,t.memoizedState=l),i.props=o,i.state=l,i.context=u,o=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{i=t.stateNode,H1(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:mn(t.type,s),i.props=u,d=t.pendingProps,f=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=_o(l):(l=$r(r)?qs:mr.current,l=Pu(t,l));var p=r.getDerivedStateFromProps;(c=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==l)&&yL(t,i,o,l),bi=!1,f=t.memoizedState,i.state=f,_g(t,o,i,n);var g=t.memoizedState;s!==d||f!==g||qr.current||bi?(typeof p=="function"&&(B0(t,r,p,o),g=t.memoizedState),(u=bi||xL(t,r,u,o,f,g,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(o,g,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(o,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=o,t.memoizedState=g),i.props=o,i.state=g,i.context=l,o=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),o=!1)}return G0(e,t,r,o,a,n)}function G0(e,t,r,o,n,a){fT(e,t);var i=(t.flags&128)!==0;if(!o&&!i)return n&&cL(t,r,!1),Ea(e,t,a);o=t.stateNode,C5.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&i?(t.child=Tu(t,e.child,null,a),t.child=Tu(t,null,s,a)):Mr(e,t,s,a),t.memoizedState=o.state,n&&cL(t,r,!0),t.child}function pT(e){var t=e.stateNode;t.pendingContext?uL(e,t.pendingContext,t.pendingContext!==t.context):t.context&&uL(e,t.context,!1),Iw(e,t.containerInfo)}function PL(e,t,r,o,n){return Lu(),yw(n),t.flags|=256,Mr(e,t,r,o),t.child}var W0={dehydrated:null,treeContext:null,retryLane:0};function j0(e){return{baseLanes:e,cachePool:null,transitions:null}}function mT(e,t,r){var o=t.pendingProps,n=dt.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(dt,n&1),e===null)return _0(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=o.children,e=o.fallback,a?(o=t.mode,a=t.child,i={mode:"hidden",children:i},!(o&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=rh(i,o,0,null),e=js(e,o,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=j0(r),t.memoizedState=W0,e):Dw(t,i));if(n=e.memoizedState,n!==null&&(s=n.dehydrated,s!==null))return S5(e,t,i,o,s,n,r);if(a){a=o.fallback,i=t.mode,n=e.child,s=n.sibling;var l={mode:"hidden",children:o.children};return!(i&1)&&t.child!==n?(o=t.child,o.childLanes=0,o.pendingProps=l,t.deletions=null):(o=Oi(n,l),o.subtreeFlags=n.subtreeFlags&14680064),s!==null?a=Oi(s,a):(a=js(a,i,r,null),a.flags|=2),a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,i=e.child.memoizedState,i=i===null?j0(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~r,t.memoizedState=W0,o}return a=e.child,e=a.sibling,o=Oi(a,{mode:"visible",children:o.children}),!(t.mode&1)&&(o.lanes=r),o.return=t,o.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Dw(e,t){return t=rh({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ug(e,t,r,o){return o!==null&&yw(o),Tu(t,e.child,null,r),e=Dw(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function S5(e,t,r,o,n,a,i){if(r)return t.flags&256?(t.flags&=-257,o=a0(Error(q(422))),ug(e,t,i,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=o.fallback,n=t.mode,o=rh({mode:"visible",children:o.children},n,0,null),a=js(a,n,i,null),a.flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,t.mode&1&&Tu(t,e.child,null,i),t.child.memoizedState=j0(i),t.memoizedState=W0,a);if(!(t.mode&1))return ug(e,t,i,null);if(n.data==="$!"){if(o=n.nextSibling&&n.nextSibling.dataset,o)var s=o.dgst;return o=s,a=Error(q(419)),o=a0(a,o,void 0),ug(e,t,i,o)}if(s=(i&e.childLanes)!==0,jr||s){if(o=qt,o!==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&(o.suspendedLanes|i)?0:n,n!==0&&n!==a.retryLane&&(a.retryLane=n,Ma(e,n),xn(o,e,n,-1))}return Bw(),o=a0(Error(q(421))),ug(e,t,i,o)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=O5.bind(null,e),n._reactRetry=t,null):(e=a.treeContext,fo=Ei(n.nextSibling),po=t,it=!0,hn=null,e!==null&&(Do[No++]=Ia,Do[No++]=Pa,Do[No++]=$s,Ia=e.id,Pa=e.overflow,$s=t),t=Dw(t,o.children),t.flags|=4096,t)}function LL(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),V0(e.return,t,r)}function i0(e,t,r,o,n){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:n}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=o,a.tail=r,a.tailMode=n)}function gT(e,t,r){var o=t.pendingProps,n=o.revealOrder,a=o.tail;if(Mr(e,t,o.children,r),o=dt.current,o&2)o=o&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&&LL(e,r,t);else if(e.tag===19)LL(e,r,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}o&=1}if(Ye(dt,o),!(t.mode&1))t.memoizedState=null;else switch(n){case"forwards":for(r=t.child,n=null;r!==null;)e=r.alternate,e!==null&&Vg(e)===null&&(n=r),r=r.sibling;r=n,r===null?(n=t.child,t.child=null):(n=r.sibling,r.sibling=null),i0(t,!1,n,r,a);break;case"backwards":for(r=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Vg(e)===null){t.child=n;break}e=n.sibling,n.sibling=r,r=n,n=e}i0(t,!0,r,null,a);break;case"together":i0(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function xg(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ea(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Xs|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(q(153));if(t.child!==null){for(e=t.child,r=Oi(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Oi(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function b5(e,t,r){switch(t.tag){case 3:pT(t),Lu();break;case 5:U1(t);break;case 1:$r(t.type)&&Ag(t);break;case 4:Iw(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,n=t.memoizedProps.value;Ye(Og,o._currentValue),o._currentValue=n;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ye(dt,dt.current&1),t.flags|=128,null):r&t.child.childLanes?mT(e,t,r):(Ye(dt,dt.current&1),e=Ea(e,t,r),e!==null?e.sibling:null);Ye(dt,dt.current&1);break;case 19:if(o=(r&t.childLanes)!==0,e.flags&128){if(o)return gT(e,t,r);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Ye(dt,dt.current),o)break;return null;case 22:case 23:return t.lanes=0,dT(e,t,r)}return Ea(e,t,r)}var hT,q0,vT,xT;hT=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};q0=function(){};vT=function(e,t,r,o){var n=e.memoizedProps;if(n!==o){e=t.stateNode,Gs(ra.current);var a=null;switch(r){case"input":n=m0(e,n),o=m0(e,o),a=[];break;case"select":n=pt({},n,{value:void 0}),o=pt({},o,{value:void 0}),a=[];break;case"textarea":n=v0(e,n),o=v0(e,o),a=[];break;default:typeof n.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=Mg)}y0(r,o);var i;r=null;for(u in n)if(!o.hasOwnProperty(u)&&n.hasOwnProperty(u)&&n[u]!=null)if(u==="style"){var s=n[u];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Gd.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in o){var l=o[u];if(s=n?.[u],o.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(a||(a=[]),a.push(u,r)),r=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"&&(Gd.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&et("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};xT=function(e,t,r,o){r!==o&&(t.flags|=4)};function Ld(e,t){if(!it)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function fr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)for(var n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags&14680064,o|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags,o|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function R5(e,t,r){var o=t.pendingProps;switch(xw(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fr(t),null;case 1:return $r(t.type)&&Eg(),fr(t),null;case 3:return o=t.stateNode,ku(),tt(qr),tt(mr),Lw(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(sg(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,hn!==null&&(ew(hn),hn=null))),q0(e,t),fr(t),null;case 5:Pw(t);var n=Gs(tf.current);if(r=t.type,e!==null&&t.stateNode!=null)vT(e,t,r,o,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(q(166));return fr(t),null}if(e=Gs(ra.current),sg(t)){o=t.stateNode,r=t.type;var a=t.memoizedProps;switch(o[ea]=t,o[Jd]=a,e=(t.mode&1)!==0,r){case"dialog":et("cancel",o),et("close",o);break;case"iframe":case"object":case"embed":et("load",o);break;case"video":case"audio":for(n=0;n<Dd.length;n++)et(Dd[n],o);break;case"source":et("error",o);break;case"img":case"image":case"link":et("error",o),et("load",o);break;case"details":et("toggle",o);break;case"input":OP(o,a),et("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!a.multiple},et("invalid",o);break;case"textarea":_P(o,a),et("invalid",o)}y0(r,a),n=null;for(var i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="children"?typeof s=="string"?o.textContent!==s&&(a.suppressHydrationWarning!==!0&&ig(o.textContent,s,e),n=["children",s]):typeof s=="number"&&o.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&ig(o.textContent,s,e),n=["children",""+s]):Gd.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&et("scroll",o)}switch(r){case"input":Km(o),FP(o,a,!0);break;case"textarea":Km(o),VP(o);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(o.onclick=Mg)}o=n,t.updateQueue=o,o!==null&&(t.flags|=4)}else{i=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=qL(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=i.createElement(r,{is:o.is}):(e=i.createElement(r),r==="select"&&(i=e,o.multiple?i.multiple=!0:o.size&&(i.size=o.size))):e=i.createElementNS(e,r),e[ea]=t,e[Jd]=o,hT(e,t,!1,!1),t.stateNode=e;e:{switch(i=w0(r,o),r){case"dialog":et("cancel",e),et("close",e),n=o;break;case"iframe":case"object":case"embed":et("load",e),n=o;break;case"video":case"audio":for(n=0;n<Dd.length;n++)et(Dd[n],e);n=o;break;case"source":et("error",e),n=o;break;case"img":case"image":case"link":et("error",e),et("load",e),n=o;break;case"details":et("toggle",e),n=o;break;case"input":OP(e,o),n=m0(e,o),et("invalid",e);break;case"option":n=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},n=pt({},o,{value:void 0}),et("invalid",e);break;case"textarea":_P(e,o),n=v0(e,o),et("invalid",e);break;default:n=o}y0(r,n),s=n;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?XL(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&$L(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Wd(e,l):typeof l=="number"&&Wd(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Gd.hasOwnProperty(a)?l!=null&&a==="onScroll"&&et("scroll",e):l!=null&&ow(e,a,l,i))}switch(r){case"input":Km(e),FP(e,o,!1);break;case"textarea":Km(e),VP(e);break;case"option":o.value!=null&&e.setAttribute("value",""+Fi(o.value));break;case"select":e.multiple=!!o.multiple,a=o.value,a!=null?yu(e,!!o.multiple,a,!1):o.defaultValue!=null&&yu(e,!!o.multiple,o.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=Mg)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return fr(t),null;case 6:if(e&&t.stateNode!=null)xT(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(q(166));if(r=Gs(tf.current),Gs(ra.current),sg(t)){if(o=t.stateNode,r=t.memoizedProps,o[ea]=t,(a=o.nodeValue!==r)&&(e=po,e!==null))switch(e.tag){case 3:ig(o.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ig(o.nodeValue,r,(e.mode&1)!==0)}a&&(t.flags|=4)}else o=(r.nodeType===9?r:r.ownerDocument).createTextNode(o),o[ea]=t,t.stateNode=o}return fr(t),null;case 13:if(tt(dt),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(it&&fo!==null&&t.mode&1&&!(t.flags&128))F1(),Lu(),t.flags|=98560,a=!1;else if(a=sg(t),o!==null&&o.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[ea]=t}else Lu(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;fr(t),a=!1}else hn!==null&&(ew(hn),hn=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,t.mode&1&&(e===null||dt.current&1?Ft===0&&(Ft=3):Bw())),t.updateQueue!==null&&(t.flags|=4),fr(t),null);case 4:return ku(),q0(e,t),e===null&&Qd(t.stateNode.containerInfo),fr(t),null;case 10:return Sw(t.type._context),fr(t),null;case 17:return $r(t.type)&&Eg(),fr(t),null;case 19:if(tt(dt),a=t.memoizedState,a===null)return fr(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Ld(a,!1);else{if(Ft!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Vg(e),i!==null){for(t.flags|=128,Ld(a,!1),o=i.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;r!==null;)a=r,e=o,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}),r=r.sibling;return Ye(dt,dt.current&1|2),t.child}e=e.sibling}a.tail!==null&&St()>Eu&&(t.flags|=128,o=!0,Ld(a,!1),t.lanes=4194304)}else{if(!o)if(e=Vg(i),e!==null){if(t.flags|=128,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ld(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!it)return fr(t),null}else 2*St()-a.renderingStartTime>Eu&&r!==1073741824&&(t.flags|=128,o=!0,Ld(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=St(),t.sibling=null,r=dt.current,Ye(dt,o?r&1|2:r&1),t):(fr(t),null);case 22:case 23:return Vw(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?co&1073741824&&(fr(t),t.subtreeFlags&6&&(t.flags|=8192)):fr(t),null;case 24:return null;case 25:return null}throw Error(q(156,t.tag))}function I5(e,t){switch(xw(t),t.tag){case 1:return $r(t.type)&&Eg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ku(),tt(qr),tt(mr),Lw(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Pw(t),null;case 13:if(tt(dt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(q(340));Lu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tt(dt),null;case 4:return ku(),null;case 10:return Sw(t.type._context),null;case 22:case 23:return Vw(),null;case 24:return null;default:return null}}var cg=!1,pr=!1,P5=typeof WeakSet=="function"?WeakSet:Set,oe=null;function vu(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(o){vt(e,t,o)}else r.current=null}function $0(e,t,r){try{r()}catch(o){vt(e,t,o)}}var TL=!1;function L5(e,t){if(M0=Lg,e=b1(),hw(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var n=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==r||n!==0&&d.nodeType!==3||(s=i+n),d!==a||o!==0&&d.nodeType!==3||(l=i+o),d.nodeType===3&&(i+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===r&&++u===n&&(s=i),f===a&&++c===o&&(l=i),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(E0={focusedElem:e,selectionRange:r},Lg=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;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:mn(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(w){vt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return g=TL,TL=!1,g}function Hd(e,t,r){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var n=o=o.next;do{if((n.tag&e)===e){var a=n.destroy;n.destroy=void 0,a!==void 0&&$0(t,r,a)}n=n.next}while(n!==o)}}function eh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function K0(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function yT(e){var t=e.alternate;t!==null&&(e.alternate=null,yT(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ea],delete t[Jd],delete t[N0],delete t[u5],delete t[c5])),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 wT(e){return e.tag===5||e.tag===3||e.tag===4}function kL(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wT(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 X0(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Mg));else if(o!==4&&(e=e.child,e!==null))for(X0(e,t,r),e=e.sibling;e!==null;)X0(e,t,r),e=e.sibling}function Y0(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Y0(e,t,r),e=e.sibling;e!==null;)Y0(e,t,r),e=e.sibling}var rr=null,gn=!1;function Ci(e,t,r){for(r=r.child;r!==null;)CT(e,t,r),r=r.sibling}function CT(e,t,r){if(ta&&typeof ta.onCommitFiberUnmount=="function")try{ta.onCommitFiberUnmount(qg,r)}catch{}switch(r.tag){case 5:pr||vu(r,t);case 6:var o=rr,n=gn;rr=null,Ci(e,t,r),rr=o,gn=n,rr!==null&&(gn?(e=rr,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):rr.removeChild(r.stateNode));break;case 18:rr!==null&&(gn?(e=rr,r=r.stateNode,e.nodeType===8?Jy(e.parentNode,r):e.nodeType===1&&Jy(e,r),Kd(e)):Jy(rr,r.stateNode));break;case 4:o=rr,n=gn,rr=r.stateNode.containerInfo,gn=!0,Ci(e,t,r),rr=o,gn=n;break;case 0:case 11:case 14:case 15:if(!pr&&(o=r.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){n=o=o.next;do{var a=n,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&$0(r,t,i),n=n.next}while(n!==o)}Ci(e,t,r);break;case 1:if(!pr&&(vu(r,t),o=r.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(s){vt(r,t,s)}Ci(e,t,r);break;case 21:Ci(e,t,r);break;case 22:r.mode&1?(pr=(o=pr)||r.memoizedState!==null,Ci(e,t,r),pr=o):Ci(e,t,r);break;default:Ci(e,t,r)}}function ML(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new P5),t.forEach(function(o){var n=F5.bind(null,e,o);r.has(o)||(r.add(o),o.then(n,n))})}}function pn(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var n=r[o];try{var a=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:rr=s.stateNode,gn=!1;break e;case 3:rr=s.stateNode.containerInfo,gn=!0;break e;case 4:rr=s.stateNode.containerInfo,gn=!0;break e}s=s.return}if(rr===null)throw Error(q(160));CT(a,i,n),rr=null,gn=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(u){vt(n,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)ST(t,e),t=t.sibling}function ST(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pn(t,e),Zn(e),o&4){try{Hd(3,e,e.return),eh(3,e)}catch(m){vt(e,e.return,m)}try{Hd(5,e,e.return)}catch(m){vt(e,e.return,m)}}break;case 1:pn(t,e),Zn(e),o&512&&r!==null&&vu(r,r.return);break;case 5:if(pn(t,e),Zn(e),o&512&&r!==null&&vu(r,r.return),e.flags&32){var n=e.stateNode;try{Wd(n,"")}catch(m){vt(e,e.return,m)}}if(o&4&&(n=e.stateNode,n!=null)){var a=e.memoizedProps,i=r!==null?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&WL(n,a),w0(s,i);var u=w0(s,a);for(i=0;i<l.length;i+=2){var c=l[i],d=l[i+1];c==="style"?XL(n,d):c==="dangerouslySetInnerHTML"?$L(n,d):c==="children"?Wd(n,d):ow(n,c,d,u)}switch(s){case"input":g0(n,a);break;case"textarea":jL(n,a);break;case"select":var f=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?yu(n,!!a.multiple,p,!1):f!==!!a.multiple&&(a.defaultValue!=null?yu(n,!!a.multiple,a.defaultValue,!0):yu(n,!!a.multiple,a.multiple?[]:"",!1))}n[Jd]=a}catch(m){vt(e,e.return,m)}}break;case 6:if(pn(t,e),Zn(e),o&4){if(e.stateNode===null)throw Error(q(162));n=e.stateNode,a=e.memoizedProps;try{n.nodeValue=a}catch(m){vt(e,e.return,m)}}break;case 3:if(pn(t,e),Zn(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{Kd(t.containerInfo)}catch(m){vt(e,e.return,m)}break;case 4:pn(t,e),Zn(e);break;case 13:pn(t,e),Zn(e),n=e.child,n.flags&8192&&(a=n.memoizedState!==null,n.stateNode.isHidden=a,!a||n.alternate!==null&&n.alternate.memoizedState!==null||(Fw=St())),o&4&&ML(e);break;case 22:if(c=r!==null&&r.memoizedState!==null,e.mode&1?(pr=(u=pr)||c,pn(t,e),pr=u):pn(t,e),Zn(e),o&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(oe=e,c=e.child;c!==null;){for(d=oe=c;oe!==null;){switch(f=oe,p=f.child,f.tag){case 0:case 11:case 14:case 15:Hd(4,f,f.return);break;case 1:vu(f,f.return);var g=f.stateNode;if(typeof g.componentWillUnmount=="function"){o=f,r=f.return;try{t=o,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){vt(o,r,m)}}break;case 5:vu(f,f.return);break;case 22:if(f.memoizedState!==null){AL(d);continue}}p!==null?(p.return=f,oe=p):AL(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=KL("display",i))}catch(m){vt(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){vt(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:pn(t,e),Zn(e),o&4&&ML(e);break;case 21:break;default:pn(t,e),Zn(e)}}function Zn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(wT(r)){var o=r;break e}r=r.return}throw Error(q(160))}switch(o.tag){case 5:var n=o.stateNode;o.flags&32&&(Wd(n,""),o.flags&=-33);var a=kL(e);Y0(e,a,n);break;case 3:case 4:var i=o.stateNode.containerInfo,s=kL(e);X0(e,s,i);break;default:throw Error(q(161))}}catch(l){vt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function T5(e,t,r){oe=e,bT(e,t,r)}function bT(e,t,r){for(var o=(e.mode&1)!==0;oe!==null;){var n=oe,a=n.child;if(n.tag===22&&o){var i=n.memoizedState!==null||cg;if(!i){var s=n.alternate,l=s!==null&&s.memoizedState!==null||pr;s=cg;var u=pr;if(cg=i,(pr=l)&&!u)for(oe=n;oe!==null;)i=oe,l=i.child,i.tag===22&&i.memoizedState!==null?DL(n):l!==null?(l.return=i,oe=l):DL(n);for(;a!==null;)oe=a,bT(a,t,r),a=a.sibling;oe=n,cg=s,pr=u}EL(e,t,r)}else n.subtreeFlags&8772&&a!==null?(a.return=n,oe=a):EL(e,t,r)}}function EL(e){for(;oe!==null;){var t=oe;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:pr||eh(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!pr)if(r===null)o.componentDidMount();else{var n=t.elementType===t.type?r.memoizedProps:mn(t.type,r.memoizedProps);o.componentDidUpdate(n,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&gL(t,a,o);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}gL(t,i,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.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&&Kd(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(q(163))}pr||t.flags&512&&K0(t)}catch(f){vt(t,t.return,f)}}if(t===e){oe=null;break}if(r=t.sibling,r!==null){r.return=t.return,oe=r;break}oe=t.return}}function AL(e){for(;oe!==null;){var t=oe;if(t===e){oe=null;break}var r=t.sibling;if(r!==null){r.return=t.return,oe=r;break}oe=t.return}}function DL(e){for(;oe!==null;){var t=oe;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{eh(4,t)}catch(l){vt(t,r,l)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var n=t.return;try{o.componentDidMount()}catch(l){vt(t,n,l)}}var a=t.return;try{K0(t)}catch(l){vt(t,a,l)}break;case 5:var i=t.return;try{K0(t)}catch(l){vt(t,i,l)}}}catch(l){vt(t,t.return,l)}if(t===e){oe=null;break}var s=t.sibling;if(s!==null){s.return=t.return,oe=s;break}oe=t.return}}var k5=Math.ceil,Ug=Aa.ReactCurrentDispatcher,Nw=Aa.ReactCurrentOwner,Fo=Aa.ReactCurrentBatchConfig,Ee=0,qt=null,Tt=null,or=0,co=0,xu=Bi(0),Ft=0,af=null,Xs=0,th=0,Ow=0,Ud=null,Wr=null,Fw=0,Eu=1/0,ba=null,zg=!1,Q0=null,Di=null,dg=!1,Li=null,Gg=0,zd=0,Z0=null,yg=-1,wg=0;function Er(){return Ee&6?St():yg!==-1?yg:yg=St()}function Ni(e){return e.mode&1?Ee&2&&or!==0?or&-or:f5.transition!==null?(wg===0&&(wg=s1()),wg):(e=Ge,e!==0||(e=window.event,e=e===void 0?16:m1(e.type)),e):1}function xn(e,t,r,o){if(50<zd)throw zd=0,Z0=null,Error(q(185));sf(e,r,o),(!(Ee&2)||e!==qt)&&(e===qt&&(!(Ee&2)&&(th|=r),Ft===4&&Ii(e,or)),Kr(e,o),r===1&&Ee===0&&!(t.mode&1)&&(Eu=St()+500,Qg&&Hi()))}function Kr(e,t){var r=e.callbackNode;m4(e,t);var o=Pg(e,e===qt?or:0);if(o===0)r!==null&&UP(r),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(r!=null&&UP(r),t===1)e.tag===0?d5(NL.bind(null,e)):D1(NL.bind(null,e)),s5(function(){!(Ee&6)&&Hi()}),r=null;else{switch(l1(o)){case 1:r=lw;break;case 4:r=a1;break;case 16:r=Ig;break;case 536870912:r=i1;break;default:r=Ig}r=ET(r,RT.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function RT(e,t){if(yg=-1,wg=0,Ee&6)throw Error(q(327));var r=e.callbackNode;if(Ru()&&e.callbackNode!==r)return null;var o=Pg(e,e===qt?or:0);if(o===0)return null;if(o&30||o&e.expiredLanes||t)t=Wg(e,o);else{t=o;var n=Ee;Ee|=2;var a=PT();(qt!==e||or!==t)&&(ba=null,Eu=St()+500,Ws(e,t));do try{A5();break}catch(s){IT(e,s)}while(1);Cw(),Ug.current=a,Ee=n,Tt!==null?t=0:(qt=null,or=0,t=Ft)}if(t!==0){if(t===2&&(n=I0(e),n!==0&&(o=n,t=J0(e,n))),t===1)throw r=af,Ws(e,0),Ii(e,o),Kr(e,St()),r;if(t===6)Ii(e,o);else{if(n=e.current.alternate,!(o&30)&&!M5(n)&&(t=Wg(e,o),t===2&&(a=I0(e),a!==0&&(o=a,t=J0(e,a))),t===1))throw r=af,Ws(e,0),Ii(e,o),Kr(e,St()),r;switch(e.finishedWork=n,e.finishedLanes=o,t){case 0:case 1:throw Error(q(345));case 2:Hs(e,Wr,ba);break;case 3:if(Ii(e,o),(o&130023424)===o&&(t=Fw+500-St(),10<t)){if(Pg(e,0)!==0)break;if(n=e.suspendedLanes,(n&o)!==o){Er(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=D0(Hs.bind(null,e,Wr,ba),t);break}Hs(e,Wr,ba);break;case 4:if(Ii(e,o),(o&4194240)===o)break;for(t=e.eventTimes,n=-1;0<o;){var i=31-vn(o);a=1<<i,i=t[i],i>n&&(n=i),o&=~a}if(o=n,o=St()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*k5(o/1960))-o,10<o){e.timeoutHandle=D0(Hs.bind(null,e,Wr,ba),o);break}Hs(e,Wr,ba);break;case 5:Hs(e,Wr,ba);break;default:throw Error(q(329))}}}return Kr(e,St()),e.callbackNode===r?RT.bind(null,e):null}function J0(e,t){var r=Ud;return e.current.memoizedState.isDehydrated&&(Ws(e,t).flags|=256),e=Wg(e,t),e!==2&&(t=Wr,Wr=r,t!==null&&ew(t)),e}function ew(e){Wr===null?Wr=e:Wr.push.apply(Wr,e)}function M5(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var o=0;o<r.length;o++){var n=r[o],a=n.getSnapshot;n=n.value;try{if(!yn(a(),n))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 Ii(e,t){for(t&=~Ow,t&=~th,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-vn(t),o=1<<r;e[r]=-1,t&=~o}}function NL(e){if(Ee&6)throw Error(q(327));Ru();var t=Pg(e,0);if(!(t&1))return Kr(e,St()),null;var r=Wg(e,t);if(e.tag!==0&&r===2){var o=I0(e);o!==0&&(t=o,r=J0(e,o))}if(r===1)throw r=af,Ws(e,0),Ii(e,t),Kr(e,St()),r;if(r===6)throw Error(q(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Hs(e,Wr,ba),Kr(e,St()),null}function _w(e,t){var r=Ee;Ee|=1;try{return e(t)}finally{Ee=r,Ee===0&&(Eu=St()+500,Qg&&Hi())}}function Ys(e){Li!==null&&Li.tag===0&&!(Ee&6)&&Ru();var t=Ee;Ee|=1;var r=Fo.transition,o=Ge;try{if(Fo.transition=null,Ge=1,e)return e()}finally{Ge=o,Fo.transition=r,Ee=t,!(Ee&6)&&Hi()}}function Vw(){co=xu.current,tt(xu)}function Ws(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,i5(r)),Tt!==null)for(r=Tt.return;r!==null;){var o=r;switch(xw(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Eg();break;case 3:ku(),tt(qr),tt(mr),Lw();break;case 5:Pw(o);break;case 4:ku();break;case 13:tt(dt);break;case 19:tt(dt);break;case 10:Sw(o.type._context);break;case 22:case 23:Vw()}r=r.return}if(qt=e,Tt=e=Oi(e.current,null),or=co=t,Ft=0,af=null,Ow=th=Xs=0,Wr=Ud=null,zs!==null){for(t=0;t<zs.length;t++)if(r=zs[t],o=r.interleaved,o!==null){r.interleaved=null;var n=o.next,a=r.pending;if(a!==null){var i=a.next;a.next=n,o.next=i}r.pending=o}zs=null}return e}function IT(e,t){do{var r=Tt;try{if(Cw(),hg.current=Hg,Bg){for(var o=ft.memoizedState;o!==null;){var n=o.queue;n!==null&&(n.pending=null),o=o.next}Bg=!1}if(Ks=0,jt=Ot=ft=null,Bd=!1,rf=0,Nw.current=null,r===null||r.return===null){Ft=1,af=t,Tt=null;break}e:{var a=e,i=r.return,s=r,l=t;if(t=or,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=CL(i);if(p!==null){p.flags&=-257,SL(p,i,s,a,t),p.mode&1&&wL(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)){wL(a,u,t),Bw();break e}l=Error(q(426))}}else if(it&&s.mode&1){var x=CL(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),SL(x,i,s,a,t),yw(Mu(l,s));break e}}a=l=Mu(l,s),Ft!==4&&(Ft=2),Ud===null?Ud=[a]:Ud.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var h=lT(a,l,t);mL(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"&&(Di===null||!Di.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var w=uT(a,s,t);mL(a,w);break e}}a=a.return}while(a!==null)}TT(r)}catch(C){t=C,Tt===r&&r!==null&&(Tt=r=r.return);continue}break}while(1)}function PT(){var e=Ug.current;return Ug.current=Hg,e===null?Hg:e}function Bw(){(Ft===0||Ft===3||Ft===2)&&(Ft=4),qt===null||!(Xs&268435455)&&!(th&268435455)||Ii(qt,or)}function Wg(e,t){var r=Ee;Ee|=2;var o=PT();(qt!==e||or!==t)&&(ba=null,Ws(e,t));do try{E5();break}catch(n){IT(e,n)}while(1);if(Cw(),Ee=r,Ug.current=o,Tt!==null)throw Error(q(261));return qt=null,or=0,Ft}function E5(){for(;Tt!==null;)LT(Tt)}function A5(){for(;Tt!==null&&!a4();)LT(Tt)}function LT(e){var t=MT(e.alternate,e,co);e.memoizedProps=e.pendingProps,t===null?TT(e):Tt=t,Nw.current=null}function TT(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=I5(r,t),r!==null){r.flags&=32767,Tt=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ft=6,Tt=null;return}}else if(r=R5(r,t,co),r!==null){Tt=r;return}if(t=t.sibling,t!==null){Tt=t;return}Tt=t=e}while(t!==null);Ft===0&&(Ft=5)}function Hs(e,t,r){var o=Ge,n=Fo.transition;try{Fo.transition=null,Ge=1,D5(e,t,r,o)}finally{Fo.transition=n,Ge=o}return null}function D5(e,t,r,o){do Ru();while(Li!==null);if(Ee&6)throw Error(q(327));r=e.finishedWork;var n=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(q(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(g4(e,a),e===qt&&(Tt=qt=null,or=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||dg||(dg=!0,ET(Ig,function(){return Ru(),null})),a=(r.flags&15990)!==0,r.subtreeFlags&15990||a){a=Fo.transition,Fo.transition=null;var i=Ge;Ge=1;var s=Ee;Ee|=4,Nw.current=null,L5(e,r),ST(r,e),t5(E0),Lg=!!M0,E0=M0=null,e.current=r,T5(r,e,n),i4(),Ee=s,Ge=i,Fo.transition=a}else e.current=r;if(dg&&(dg=!1,Li=e,Gg=n),a=e.pendingLanes,a===0&&(Di=null),u4(r.stateNode,o),Kr(e,St()),t!==null)for(o=e.onRecoverableError,r=0;r<t.length;r++)n=t[r],o(n.value,{componentStack:n.stack,digest:n.digest});if(zg)throw zg=!1,e=Q0,Q0=null,e;return Gg&1&&e.tag!==0&&Ru(),a=e.pendingLanes,a&1?e===Z0?zd++:(zd=0,Z0=e):zd=0,Hi(),null}function Ru(){if(Li!==null){var e=l1(Gg),t=Fo.transition,r=Ge;try{if(Fo.transition=null,Ge=16>e?16:e,Li===null)var o=!1;else{if(e=Li,Li=null,Gg=0,Ee&6)throw Error(q(331));var n=Ee;for(Ee|=4,oe=e.current;oe!==null;){var a=oe,i=a.child;if(oe.flags&16){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(oe=u;oe!==null;){var c=oe;switch(c.tag){case 0:case 11:case 15:Hd(8,c,a)}var d=c.child;if(d!==null)d.return=c,oe=d;else for(;oe!==null;){c=oe;var f=c.sibling,p=c.return;if(yT(c),c===u){oe=null;break}if(f!==null){f.return=p,oe=f;break}oe=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)}}oe=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,oe=i;else e:for(;oe!==null;){if(a=oe,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Hd(9,a,a.return)}var h=a.sibling;if(h!==null){h.return=a.return,oe=h;break e}oe=a.return}}var v=e.current;for(oe=v;oe!==null;){i=oe;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,oe=y;else e:for(i=v;oe!==null;){if(s=oe,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:eh(9,s)}}catch(C){vt(s,s.return,C)}if(s===i){oe=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,oe=w;break e}oe=s.return}}if(Ee=n,Hi(),ta&&typeof ta.onPostCommitFiberRoot=="function")try{ta.onPostCommitFiberRoot(qg,e)}catch{}o=!0}return o}finally{Ge=r,Fo.transition=t}}return!1}function OL(e,t,r){t=Mu(r,t),t=lT(e,t,1),e=Ai(e,t,1),t=Er(),e!==null&&(sf(e,1,t),Kr(e,t))}function vt(e,t,r){if(e.tag===3)OL(e,e,r);else for(;t!==null;){if(t.tag===3){OL(t,e,r);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Di===null||!Di.has(o))){e=Mu(r,e),e=uT(t,e,1),t=Ai(t,e,1),e=Er(),t!==null&&(sf(t,1,e),Kr(t,e));break}}t=t.return}}function N5(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),t=Er(),e.pingedLanes|=e.suspendedLanes&r,qt===e&&(or&r)===r&&(Ft===4||Ft===3&&(or&130023424)===or&&500>St()-Fw?Ws(e,0):Ow|=r),Kr(e,t)}function kT(e,t){t===0&&(e.mode&1?(t=Qm,Qm<<=1,!(Qm&130023424)&&(Qm=4194304)):t=1);var r=Er();e=Ma(e,t),e!==null&&(sf(e,t,r),Kr(e,r))}function O5(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),kT(e,r)}function F5(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,n=e.memoizedState;n!==null&&(r=n.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(q(314))}o!==null&&o.delete(t),kT(e,r)}var MT;MT=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||qr.current)jr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return jr=!1,b5(e,t,r);jr=!!(e.flags&131072)}else jr=!1,it&&t.flags&1048576&&N1(t,Ng,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;xg(e,t),e=t.pendingProps;var n=Pu(t,mr.current);bu(t,r),n=kw(null,t,o,e,n,r);var a=Mw();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,$r(o)?(a=!0,Ag(t)):a=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Rw(t),n.updater=Jg,t.stateNode=n,n._reactInternals=t,H0(t,o,e,r),t=G0(null,t,o,!0,a,r)):(t.tag=0,it&&a&&vw(t),Mr(null,t,n,r),t=t.child),t;case 16:o=t.elementType;e:{switch(xg(e,t),e=t.pendingProps,n=o._init,o=n(o._payload),t.type=o,n=t.tag=V5(o),e=mn(o,e),n){case 0:t=z0(null,t,o,e,r);break e;case 1:t=IL(null,t,o,e,r);break e;case 11:t=bL(null,t,o,e,r);break e;case 14:t=RL(null,t,o,mn(o.type,e),r);break e}throw Error(q(306,o,""))}return t;case 0:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:mn(o,n),z0(e,t,o,n,r);case 1:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:mn(o,n),IL(e,t,o,n,r);case 3:e:{if(pT(t),e===null)throw Error(q(387));o=t.pendingProps,a=t.memoizedState,n=a.element,H1(e,t),_g(t,o,null,r);var i=t.memoizedState;if(o=i.element,a.isDehydrated)if(a={element:o,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){n=Mu(Error(q(423)),t),t=PL(e,t,o,r,n);break e}else if(o!==n){n=Mu(Error(q(424)),t),t=PL(e,t,o,r,n);break e}else for(fo=Ei(t.stateNode.containerInfo.firstChild),po=t,it=!0,hn=null,r=V1(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Lu(),o===n){t=Ea(e,t,r);break e}Mr(e,t,o,r)}t=t.child}return t;case 5:return U1(t),e===null&&_0(t),o=t.type,n=t.pendingProps,a=e!==null?e.memoizedProps:null,i=n.children,A0(o,n)?i=null:a!==null&&A0(o,a)&&(t.flags|=32),fT(e,t),Mr(e,t,i,r),t.child;case 6:return e===null&&_0(t),null;case 13:return mT(e,t,r);case 4:return Iw(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Tu(t,null,o,r):Mr(e,t,o,r),t.child;case 11:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:mn(o,n),bL(e,t,o,n,r);case 7:return Mr(e,t,t.pendingProps,r),t.child;case 8:return Mr(e,t,t.pendingProps.children,r),t.child;case 12:return Mr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,n=t.pendingProps,a=t.memoizedProps,i=n.value,Ye(Og,o._currentValue),o._currentValue=i,a!==null)if(yn(a.value,i)){if(a.children===n.children&&!qr.current){t=Ea(e,t,r);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===o){if(a.tag===1){l=La(-1,r&-r),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|=r,l=a.alternate,l!==null&&(l.lanes|=r),V0(a.return,r,t),s.lanes|=r;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|=r,s=i.alternate,s!==null&&(s.lanes|=r),V0(i,r,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}Mr(e,t,n.children,r),t=t.child}return t;case 9:return n=t.type,o=t.pendingProps.children,bu(t,r),n=_o(n),o=o(n),t.flags|=1,Mr(e,t,o,r),t.child;case 14:return o=t.type,n=mn(o,t.pendingProps),n=mn(o.type,n),RL(e,t,o,n,r);case 15:return cT(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:mn(o,n),xg(e,t),t.tag=1,$r(o)?(e=!0,Ag(t)):e=!1,bu(t,r),sT(t,o,n),H0(t,o,n,r),G0(null,t,o,!0,e,r);case 19:return gT(e,t,r);case 22:return dT(e,t,r)}throw Error(q(156,t.tag))};function ET(e,t){return n1(e,t)}function _5(e,t,r,o){this.tag=e,this.key=r,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Oo(e,t,r,o){return new _5(e,t,r,o)}function Hw(e){return e=e.prototype,!(!e||!e.isReactComponent)}function V5(e){if(typeof e=="function")return Hw(e)?1:0;if(e!=null){if(e=e.$$typeof,e===aw)return 11;if(e===iw)return 14}return 2}function Oi(e,t){var r=e.alternate;return r===null?(r=Oo(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Cg(e,t,r,o,n,a){var i=2;if(o=e,typeof e=="function")Hw(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case lu:return js(r.children,n,a,t);case nw:i=8,n|=8;break;case c0:return e=Oo(12,r,t,n|2),e.elementType=c0,e.lanes=a,e;case d0:return e=Oo(13,r,t,n),e.elementType=d0,e.lanes=a,e;case f0:return e=Oo(19,r,t,n),e.elementType=f0,e.lanes=a,e;case UL:return rh(r,n,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case BL:i=10;break e;case HL:i=9;break e;case aw:i=11;break e;case iw:i=14;break e;case Si:i=16,o=null;break e}throw Error(q(130,e==null?e:typeof e,""))}return t=Oo(i,r,t,n),t.elementType=e,t.type=o,t.lanes=a,t}function js(e,t,r,o){return e=Oo(7,e,o,t),e.lanes=r,e}function rh(e,t,r,o){return e=Oo(22,e,o,t),e.elementType=UL,e.lanes=r,e.stateNode={isHidden:!1},e}function s0(e,t,r){return e=Oo(6,e,null,t),e.lanes=r,e}function l0(e,t,r){return t=Oo(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function B5(e,t,r,o,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=jy(0),this.expirationTimes=jy(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jy(0),this.identifierPrefix=o,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function Uw(e,t,r,o,n,a,i,s,l){return e=new B5(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Oo(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rw(a),e}function H5(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:su,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}function AT(e){if(!e)return _i;e=e._reactInternals;e:{if(Zs(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($r(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(q(171))}if(e.tag===1){var r=e.type;if($r(r))return A1(e,r,t)}return t}function DT(e,t,r,o,n,a,i,s,l){return e=Uw(r,o,!0,e,n,a,i,s,l),e.context=AT(null),r=e.current,o=Er(),n=Ni(r),a=La(o,n),a.callback=t??null,Ai(r,a,n),e.current.lanes=n,sf(e,n,o),Kr(e,o),e}function oh(e,t,r,o){var n=t.current,a=Er(),i=Ni(n);return r=AT(r),t.context===null?t.context=r:t.pendingContext=r,t=La(a,i),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=Ai(n,t,i),e!==null&&(xn(e,n,i,a),gg(e,n,i)),i}function jg(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 FL(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function zw(e,t){FL(e,t),(e=e.alternate)&&FL(e,t)}function U5(){return null}var NT=typeof reportError=="function"?reportError:function(e){console.error(e)};function Gw(e){this._internalRoot=e}nh.prototype.render=Gw.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(q(409));oh(e,t,null,null)};nh.prototype.unmount=Gw.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ys(function(){oh(null,e,null,null)}),t[ka]=null}};function nh(e){this._internalRoot=e}nh.prototype.unstable_scheduleHydration=function(e){if(e){var t=d1();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Ri.length&&t!==0&&t<Ri[r].priority;r++);Ri.splice(r,0,e),r===0&&p1(e)}};function Ww(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ah(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function _L(){}function z5(e,t,r,o,n){if(n){if(typeof o=="function"){var a=o;o=function(){var u=jg(i);a.call(u)}}var i=DT(t,o,e,0,null,!1,!1,"",_L);return e._reactRootContainer=i,e[ka]=i.current,Qd(e.nodeType===8?e.parentNode:e),Ys(),i}for(;n=e.lastChild;)e.removeChild(n);if(typeof o=="function"){var s=o;o=function(){var u=jg(l);s.call(u)}}var l=Uw(e,0,!1,null,null,!1,!1,"",_L);return e._reactRootContainer=l,e[ka]=l.current,Qd(e.nodeType===8?e.parentNode:e),Ys(function(){oh(t,l,r,o)}),l}function ih(e,t,r,o,n){var a=r._reactRootContainer;if(a){var i=a;if(typeof n=="function"){var s=n;n=function(){var l=jg(i);s.call(l)}}oh(t,i,e,n)}else i=z5(r,t,e,n,o);return jg(i)}u1=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Ad(t.pendingLanes);r!==0&&(uw(t,r|1),Kr(t,St()),!(Ee&6)&&(Eu=St()+500,Hi()))}break;case 13:Ys(function(){var o=Ma(e,1);if(o!==null){var n=Er();xn(o,e,1,n)}}),zw(e,1)}};cw=function(e){if(e.tag===13){var t=Ma(e,134217728);if(t!==null){var r=Er();xn(t,e,134217728,r)}zw(e,134217728)}};c1=function(e){if(e.tag===13){var t=Ni(e),r=Ma(e,t);if(r!==null){var o=Er();xn(r,e,t,o)}zw(e,t)}};d1=function(){return Ge};f1=function(e,t){var r=Ge;try{return Ge=e,t()}finally{Ge=r}};S0=function(e,t,r){switch(t){case"input":if(g0(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var n=Yg(o);if(!n)throw Error(q(90));GL(o),g0(o,n)}}}break;case"textarea":jL(e,r);break;case"select":t=r.value,t!=null&&yu(e,!!r.multiple,t,!1)}};ZL=_w;JL=Ys;var G5={usingClientEntryPoint:!1,Events:[uf,fu,Yg,YL,QL,_w]},Td={findFiberByHostInstance:Us,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},W5={bundleType:Td.bundleType,version:Td.version,rendererPackageName:Td.rendererPackageName,rendererConfig:Td.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Aa.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=r1(e),e===null?null:e.stateNode},findFiberByHostInstance:Td.findFiberByHostInstance||U5,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(kd=__REACT_DEVTOOLS_GLOBAL_HOOK__,!kd.isDisabled&&kd.supportsFiber))try{qg=kd.inject(W5),ta=kd}catch{}var kd;ho.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G5;ho.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ww(t))throw Error(q(200));return H5(e,t,null,r)};ho.createRoot=function(e,t){if(!Ww(e))throw Error(q(299));var r=!1,o="",n=NT;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=Uw(e,1,!1,null,null,r,!1,o,n),e[ka]=t.current,Qd(e.nodeType===8?e.parentNode:e),new Gw(t)};ho.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=r1(t),e=e===null?null:e.stateNode,e};ho.flushSync=function(e){return Ys(e)};ho.hydrate=function(e,t,r){if(!ah(t))throw Error(q(200));return ih(null,e,t,!0,r)};ho.hydrateRoot=function(e,t,r){if(!Ww(e))throw Error(q(405));var o=r!=null&&r.hydratedSources||null,n=!1,a="",i=NT;if(r!=null&&(r.unstable_strictMode===!0&&(n=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=DT(t,null,e,1,r??null,n,!1,a,i),e[ka]=t.current,Qd(e),o)for(e=0;e<o.length;e++)r=o[e],n=r._getVersion,n=n(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,n]:t.mutableSourceEagerHydrationData.push(r,n);return new nh(t)};ho.render=function(e,t,r){if(!ah(t))throw Error(q(200));return ih(null,e,t,!1,r)};ho.unmountComponentAtNode=function(e){if(!ah(e))throw Error(q(40));return e._reactRootContainer?(Ys(function(){ih(null,null,e,!1,function(){e._reactRootContainer=null,e[ka]=null})}),!0):!1};ho.unstable_batchedUpdates=_w;ho.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!ah(r))throw Error(q(200));if(e==null||e._reactInternals===void 0)throw Error(q(38));return ih(e,t,r,!1,o)};ho.version="18.3.1-next-f1338f8080-20240426"});var Da=ou((Mee,_T)=>{"use strict";function FT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(FT)}catch(e){console.error(e)}}FT(),_T.exports=OT()});var Ek=ou(Mk=>{"use strict";var Ku=M();function YW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var QW=typeof Object.is=="function"?Object.is:YW,ZW=Ku.useState,JW=Ku.useEffect,ej=Ku.useLayoutEffect,tj=Ku.useDebugValue;function rj(e,t){var r=t(),o=ZW({inst:{value:r,getSnapshot:t}}),n=o[0].inst,a=o[1];return ej(function(){n.value=r,n.getSnapshot=t,sC(n)&&a({inst:n})},[e,r,t]),JW(function(){return sC(n)&&a({inst:n}),e(function(){sC(n)&&a({inst:n})})},[e]),tj(r),r}function sC(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!QW(e,r)}catch{return!0}}function oj(e,t){return t()}var nj=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?oj:rj;Mk.useSyncExternalStore=Ku.useSyncExternalStore!==void 0?Ku.useSyncExternalStore:nj});var Dk=ou((Hne,Ak)=>{"use strict";Ak.exports=Ek()});var xh=R(M());var Yr=R(M(),1);var Mo=R(M(),1),Ey=R(N(),1);function mP(e,t){let r=Mo.createContext(t),o=a=>{let{children:i,...s}=a,l=Mo.useMemo(()=>s,Object.values(s));return(0,Ey.jsx)(r.Provider,{value:l,children:i})};o.displayName=e+"Provider";function n(a){let i=Mo.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[o,n]}function Oe(e,t=[]){let r=[];function o(a,i){let s=Mo.createContext(i),l=r.length;r=[...r,i];let u=d=>{let{scope:f,children:p,...g}=d,m=f?.[e]?.[l]||s,x=Mo.useMemo(()=>g,Object.values(g));return(0,Ey.jsx)(m.Provider,{value:x,children:p})};u.displayName=a+"Provider";function c(d,f){let p=f?.[e]?.[l]||s,g=Mo.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=r.map(i=>Mo.createContext(i));return function(s){let l=s?.[e]||a;return Mo.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return n.scopeName=e,[o,Dz(n,...t)]}function Dz(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){let i=o.reduce((s,{useScope:l,scopeName:u})=>{let d=l(a)[`__scope${u}`];return{...s,...d}},{});return Mo.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var yi=R(M(),1);var hP=R(M(),1);function gP(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function lo(...e){return t=>{let r=!1,o=e.map(n=>{let a=gP(n,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let n=0;n<o.length;n++){let a=o[n];typeof a=="function"?a():gP(e[n],null)}}}}function de(...e){return hP.useCallback(lo(...e),e)}var Nt=R(M(),1);var nu=R(N(),1);function uo(e){let t=Nz(e),r=Nt.forwardRef((o,n)=>{let{children:a,...i}=o,s=Nt.Children.toArray(a),l=s.find(Oz);if(l){let u=l.props.children,c=s.map(d=>d===l?Nt.Children.count(u)>1?Nt.Children.only(null):Nt.isValidElement(u)?u.props.children:null:d);return(0,nu.jsx)(t,{...i,ref:n,children:Nt.isValidElement(u)?Nt.cloneElement(u,void 0,c):null})}return(0,nu.jsx)(t,{...i,ref:n,children:a})});return r.displayName=`${e}.Slot`,r}function Nz(e){let t=Nt.forwardRef((r,o)=>{let{children:n,...a}=r;if(Nt.isValidElement(n)){let i=_z(n),s=Fz(a,n.props);return n.type!==Nt.Fragment&&(s.ref=o?lo(o,i):i),Nt.cloneElement(n,s)}return Nt.Children.count(n)>1?Nt.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var vP=Symbol("radix.slottable");function xP(e){let t=({children:r})=>(0,nu.jsx)(nu.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=vP,t}function Oz(e){return Nt.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vP}function Fz(e,t){let r={...t};for(let o in t){let n=e[o],a=t[o];/^on[A-Z]/.test(o)?n&&a?r[o]=(...s)=>{let l=a(...s);return n(...s),l}:n&&(r[o]=n):o==="style"?r[o]={...n,...a}:o==="className"&&(r[o]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}function _z(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Hm=R(N(),1),Vz=R(M(),1);var Bz=R(N(),1);function Yn(e){let t=e+"CollectionProvider",[r,o]=Oe(t),[n,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{let{scope:x,children:h}=m,v=yi.default.useRef(null),y=yi.default.useRef(new Map).current;return(0,Hm.jsx)(n,{scope:x,itemMap:y,collectionRef:v,children:h})};i.displayName=t;let s=e+"CollectionSlot",l=uo(s),u=yi.default.forwardRef((m,x)=>{let{scope:h,children:v}=m,y=a(s,h),w=de(x,y.collectionRef);return(0,Hm.jsx)(l,{ref:w,children:v})});u.displayName=s;let c=e+"CollectionItemSlot",d="data-radix-collection-item",f=uo(c),p=yi.default.forwardRef((m,x)=>{let{scope:h,children:v,...y}=m,w=yi.default.useRef(null),C=de(x,w),b=a(c,h);return yi.default.useEffect(()=>(b.itemMap.set(w,{ref:w,...y}),()=>void b.itemMap.delete(w))),(0,Hm.jsx)(f,{[d]:"",ref:C,children:v})});p.displayName=c;function g(m){let x=a(e+"CollectionConsumer",m);return yi.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,o]}var Cee=!!(typeof window<"u"&&window.document&&window.document.createElement);function W(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),r===!1||!n.defaultPrevented)return t?.(n)}}var Eo=R(M(),1);var yP=R(M(),1),_e=globalThis?.document?yP.useLayoutEffect:()=>{};var Um=R(M(),1);var Hz=Eo[" useInsertionEffect ".trim().toString()]||_e;function qe({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){let[n,a,i]=Uz({defaultProp:t,onChange:r}),s=e!==void 0,l=s?e:n;{let c=Eo.useRef(e!==void 0);Eo.useEffect(()=>{let d=c.current;d!==s&&console.warn(`${o} 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,o])}let u=Eo.useCallback(c=>{if(s){let d=zz(c)?c(e):c;d!==e&&i.current?.(d)}else a(c)},[s,e,a,i]);return[l,u]}function Uz({defaultProp:e,onChange:t}){let[r,o]=Eo.useState(e),n=Eo.useRef(r),a=Eo.useRef(t);return Hz(()=>{a.current=t},[t]),Eo.useEffect(()=>{n.current!==r&&(a.current?.(r),n.current=r)},[r,n]),[r,o,a]}function zz(e){return typeof e=="function"}var Iee=Symbol("RADIX:SYNC_STATE");var VT=R(M(),1),BT=R(Da(),1);var HT=R(N(),1),j5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$=j5.reduce((e,t)=>{let r=uo(`Primitive.${t}`),o=VT.forwardRef((n,a)=>{let{asChild:i,...s}=n,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,HT.jsx)(l,{...s,ref:a})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Nu(e,t){e&&BT.flushSync(()=>e.dispatchEvent(t))}var ar=R(M(),1);var Xr=R(M(),1);var UT=R(M(),1);function q5(e,t){return UT.useReducer((r,o)=>t[r][o]??r,e)}var st=e=>{let{present:t,children:r}=e,o=$5(t),n=typeof r=="function"?r({present:o.isPresent}):Xr.Children.only(r),a=de(o.ref,K5(n));return typeof r=="function"||o.isPresent?Xr.cloneElement(n,{ref:a}):null};st.displayName="Presence";function $5(e){let[t,r]=Xr.useState(),o=Xr.useRef(null),n=Xr.useRef(e),a=Xr.useRef("none"),i=e?"mounted":"unmounted",[s,l]=q5(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Xr.useEffect(()=>{let u=sh(o.current);a.current=s==="mounted"?u:"none"},[s]),_e(()=>{let u=o.current,c=n.current;if(c!==e){let f=a.current,p=sh(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=sh(o.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=sh(o.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:Xr.useCallback(u=>{o.current=u?getComputedStyle(u):null,r(u)},[])}}function sh(e){return e?.animationName||"none"}function K5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var jw=R(M(),1);var X5=jw[" useId ".trim().toString()]||(()=>{}),Y5=0;function Ae(e){let[t,r]=jw.useState(X5());return _e(()=>{e||r(o=>o??String(Y5++))},[e]),e||(t?`radix-${t}`:"")}var Js=R(N(),1),lh="Collapsible",[Q5,qw]=Oe(lh),[Z5,$w]=Q5(lh),zT=ar.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:o,defaultOpen:n,disabled:a,onOpenChange:i,...s}=e,[l,u]=qe({prop:o,defaultProp:n??!1,onChange:i,caller:lh});return(0,Js.jsx)(Z5,{scope:r,disabled:a,contentId:Ae(),open:l,onOpenToggle:ar.useCallback(()=>u(c=>!c),[u]),children:(0,Js.jsx)($.div,{"data-state":Xw(l),"data-disabled":a?"":void 0,...s,ref:t})})});zT.displayName=lh;var GT="CollapsibleTrigger",WT=ar.forwardRef((e,t)=>{let{__scopeCollapsible:r,...o}=e,n=$w(GT,r);return(0,Js.jsx)($.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":Xw(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...o,ref:t,onClick:W(e.onClick,n.onOpenToggle)})});WT.displayName=GT;var Kw="CollapsibleContent",jT=ar.forwardRef((e,t)=>{let{forceMount:r,...o}=e,n=$w(Kw,e.__scopeCollapsible);return(0,Js.jsx)(st,{present:r||n.open,children:({present:a})=>(0,Js.jsx)(J5,{...o,ref:t,present:a})})});jT.displayName=Kw;var J5=ar.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:o,children:n,...a}=e,i=$w(Kw,r),[s,l]=ar.useState(o),u=ar.useRef(null),c=de(t,u),d=ar.useRef(0),f=d.current,p=ar.useRef(0),g=p.current,m=i.open||s,x=ar.useRef(m),h=ar.useRef(void 0);return ar.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(o)}},[i.open,o]),(0,Js.jsx)($.div,{"data-state":Xw(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 Xw(e){return e?"open":"closed"}var uh=zT,Ou=WT,df=jT;var ch=R(M(),1),eG=R(N(),1),tG=ch.createContext(void 0);function oa(e){let t=ch.useContext(tG);return e||t||"ltr"}var _t=R(N(),1),wn="Accordion",rG=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Qw,oG,nG]=Yn(wn),[fh,rte]=Oe(wn,[nG,qw]),Zw=qw(),$T=Yr.default.forwardRef((e,t)=>{let{type:r,...o}=e,n=o,a=o;return(0,_t.jsx)(Qw.Provider,{scope:e.__scopeAccordion,children:r==="multiple"?(0,_t.jsx)(lG,{...a,ref:t}):(0,_t.jsx)(sG,{...n,ref:t})})});$T.displayName=wn;var[KT,aG]=fh(wn),[XT,iG]=fh(wn,{collapsible:!1}),sG=Yr.default.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:n=()=>{},collapsible:a=!1,...i}=e,[s,l]=qe({prop:r,defaultProp:o??"",onChange:n,caller:wn});return(0,_t.jsx)(KT,{scope:e.__scopeAccordion,value:Yr.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:Yr.default.useCallback(()=>a&&l(""),[a,l]),children:(0,_t.jsx)(XT,{scope:e.__scopeAccordion,collapsible:a,children:(0,_t.jsx)(YT,{...i,ref:t})})})}),lG=Yr.default.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:n=()=>{},...a}=e,[i,s]=qe({prop:r,defaultProp:o??[],onChange:n,caller:wn}),l=Yr.default.useCallback(c=>s((d=[])=>[...d,c]),[s]),u=Yr.default.useCallback(c=>s((d=[])=>d.filter(f=>f!==c)),[s]);return(0,_t.jsx)(KT,{scope:e.__scopeAccordion,value:i,onItemOpen:l,onItemClose:u,children:(0,_t.jsx)(XT,{scope:e.__scopeAccordion,collapsible:!0,children:(0,_t.jsx)(YT,{...a,ref:t})})})}),[uG,ph]=fh(wn),YT=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:o,dir:n,orientation:a="vertical",...i}=e,s=Yr.default.useRef(null),l=de(s,t),u=oG(r),d=oa(n)==="ltr",f=W(e.onKeyDown,p=>{if(!rG.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,w=h-1,C=()=>{v=x+1,v>w&&(v=y)},b=()=>{v=x-1,v<y&&(v=w)};switch(p.key){case"Home":v=y;break;case"End":v=w;break;case"ArrowRight":a==="horizontal"&&(d?C():b());break;case"ArrowDown":a==="vertical"&&C();break;case"ArrowLeft":a==="horizontal"&&(d?b():C());break;case"ArrowUp":a==="vertical"&&b();break}let S=v%h;m[S].ref.current?.focus()});return(0,_t.jsx)(uG,{scope:r,disabled:o,direction:n,orientation:a,children:(0,_t.jsx)(Qw.Slot,{scope:r,children:(0,_t.jsx)($.div,{...i,"data-orientation":a,ref:l,onKeyDown:o?void 0:f})})})}),dh="AccordionItem",[cG,Jw]=fh(dh),QT=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,value:o,...n}=e,a=ph(dh,r),i=aG(dh,r),s=Zw(r),l=Ae(),u=o&&i.value.includes(o)||!1,c=a.disabled||e.disabled;return(0,_t.jsx)(cG,{scope:r,open:u,disabled:c,triggerId:l,children:(0,_t.jsx)(uh,{"data-orientation":a.orientation,"data-state":ok(u),...s,...n,ref:t,disabled:c,open:u,onOpenChange:d=>{d?i.onItemOpen(o):i.onItemClose(o)}})})});QT.displayName=dh;var ZT="AccordionHeader",JT=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ph(wn,r),a=Jw(ZT,r);return(0,_t.jsx)($.h3,{"data-orientation":n.orientation,"data-state":ok(a.open),"data-disabled":a.disabled?"":void 0,...o,ref:t})});JT.displayName=ZT;var Yw="AccordionTrigger",ek=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ph(wn,r),a=Jw(Yw,r),i=iG(Yw,r),s=Zw(r);return(0,_t.jsx)(Qw.ItemSlot,{scope:r,children:(0,_t.jsx)(Ou,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:a.triggerId,...s,...o,ref:t})})});ek.displayName=Yw;var tk="AccordionContent",rk=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ph(wn,r),a=Jw(tk,r),i=Zw(r);return(0,_t.jsx)(df,{role:"region","aria-labelledby":a.triggerId,"data-orientation":n.orientation,...i,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});rk.displayName=tk;function ok(e){return e?"open":"closed"}var nk=$T,ak=QT,ik=JT,eC=ek,tC=rk;var gh=R(M());var sk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fG=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,o)=>o?o.toUpperCase():r.toLowerCase()),rC=e=>{let t=fG(e);return t.charAt(0).toUpperCase()+t.slice(1)},mh=(...e)=>e.filter((t,r,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===r).join(" ").trim(),lk=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var ff=R(M());var uk={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 ck=(0,ff.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:n="",children:a,iconNode:i,...s},l)=>(0,ff.createElement)("svg",{ref:l,...uk,width:t,height:t,stroke:e,strokeWidth:o?Number(r)*24/Number(t):r,className:mh("lucide",n),...!a&&!lk(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,c])=>(0,ff.createElement)(u,c)),...Array.isArray(a)?a:[a]]));var H=(e,t)=>{let r=(0,gh.forwardRef)(({className:o,...n},a)=>(0,gh.createElement)(ck,{ref:a,iconNode:t,className:mh(`lucide-${sk(rC(e))}`,`lucide-${e}`,o),...n}));return r.displayName=rC(e),r};var pG=[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],pf=H("align-center",pG);var mG=[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]],mf=H("align-justify",mG);var gG=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],gf=H("align-left",gG);var hG=[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],hf=H("align-right",hG);var vG=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Fu=H("arrow-down",vG);var xG=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],vf=H("arrow-left",xG);var yG=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],xf=H("arrow-right",yG);var wG=[["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"}]],_u=H("arrow-up-down",wG);var CG=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Vu=H("arrow-up",CG);var SG=[["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"}]],yf=H("bold",SG);var bG=[["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"}]],el=H("calendar",bG);var RG=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],gr=H("check",RG);var IG=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],na=H("chevron-down",IG);var PG=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Cn=H("chevron-left",PG);var LG=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Dr=H("chevron-right",LG);var TG=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],wf=H("chevron-up",TG);var kG=[["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"}]],Sn=H("circle-alert",kG);var MG=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Ui=H("circle-check-big",MG);var EG=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],tl=H("circle",EG);var AG=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Cf=H("clock",AG);var DG=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Sf=H("code",DG);var NG=[["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"}]],bf=H("copy",NG);var OG=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Rf=H("credit-card",OG);var FG=[["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"}]],Bu=H("crown",FG);var _G=[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]],If=H("dot",_G);var VG=[["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"}]],aa=H("ellipsis",VG);var BG=[["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"}]],Pf=H("external-link",BG);var HG=[["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"}]],rl=H("eye",HG);var UG=[["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"}]],Lf=H("file-text",UG);var zG=[["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"}]],Tf=H("file",zG);var GG=[["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"}]],kf=H("git-fork",GG);var WG=[["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"}]],ol=H("image",WG);var jG=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Hu=H("info",jG);var qG=[["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"}]],Mf=H("italic",qG);var $G=[["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"}]],Ef=H("link",$G);var KG=[["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"}]],Af=H("list-ordered",KG);var XG=[["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"}]],Df=H("list",XG);var YG=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Vt=H("loader-circle",YG);var QG=[["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"}]],Uu=H("lock",QG);var ZG=[["path",{d:"M5 12h14",key:"1ays0h"}]],Nf=H("minus",ZG);var JG=[["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"}]],Of=H("music",JG);var eW=[["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"}]],zu=H("palette",eW);var tW=[["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"}]],Ff=H("phone",tW);var rW=[["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"}]],hh=H("pipette",rW);var oW=[["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"}]],_f=H("quote",oW);var nW=[["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"}]],Vf=H("redo",nW);var aW=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],nl=H("search",aW);var iW=[["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"}]],Qr=H("square-pen",iW);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"}]],zi=H("star",sW);var lW=[["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"}]],Bf=H("strikethrough",lW);var uW=[["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"}]],Gi=H("triangle-alert",uW);var cW=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],Hf=H("underline",cW);var dW=[["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"}]],Uf=H("undo",dW);var fW=[["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"}]],zf=H("upload",fW);var pW=[["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"}]],Gf=H("video",pW);var mW=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],vo=H("x",mW);var gW=[["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"}]],Gu=H("zap",gW);function dk(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=dk(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function vh(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=dk(e))&&(o&&(o+=" "),o+=t);return o}var aC="-",hW=e=>{let t=xW(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(aC);return s[0]===""&&s.length!==1&&s.shift(),mk(s,t)||vW(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&o[i]?[...l,...o[i]]:l}}},mk=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?mk(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(aC);return t.validators.find(({validator:i})=>i(a))?.classGroupId},fk=/^\[(.+)\]$/,vW=e=>{if(fk.test(e)){let t=fk.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},xW=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return wW(Object.entries(e.classGroups),r).forEach(([a,i])=>{nC(i,o,a,t)}),o},nC=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:pk(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(yW(n)){nC(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{nC(i,pk(t,a),r,o)})})},pk=(e,t)=>{let r=e;return t.split(aC).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},yW=e=>e.isThemeGetter,wW=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[r,n]}):e,CW=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}},gk="!",SW=e=>{let{separator:t,experimentalParseClassName:r}=e,o=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&&(o||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(gk),g=p?f.substring(1):f,m=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},bW=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},RW=e=>({cache:CW(e.cacheSize),parseClassName:SW(e),...hW(e)}),IW=/\s+/,PW=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(IW),s="";for(let l=i.length-1;l>=0;l-=1){let u=i[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=r(u),g=!!p,m=o(g?f.substring(0,p):f);if(!m){if(!g){s=u+(s.length>0?" "+s:s);continue}if(m=o(f),!m){s=u+(s.length>0?" "+s:s);continue}g=!1}let x=bW(c).join(":"),h=d?x+gk:x,v=h+m;if(a.includes(v))continue;a.push(v);let y=n(m,g);for(let w=0;w<y.length;++w){let C=y[w];a.push(h+C)}s=u+(s.length>0?" "+s:s)}return s};function LW(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=hk(t))&&(o&&(o+=" "),o+=r);return o}var hk=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=hk(e[o]))&&(r&&(r+=" "),r+=t);return r};function TW(e,...t){let r,o,n,a=i;function i(l){let u=t.reduce((c,d)=>d(c),e());return r=RW(u),o=r.cache.get,n=r.cache.set,a=s,s(l)}function s(l){let u=o(l);if(u)return u;let c=PW(l,r);return n(l,c),c}return function(){return a(LW.apply(null,arguments))}}var rt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},vk=/^\[(?:([a-z-]+):)?(.+)\]$/i,kW=/^\d+\/\d+$/,MW=new Set(["px","full","screen"]),EW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,AW=/\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$/,DW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,NW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,OW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Na=e=>Wu(e)||MW.has(e)||kW.test(e),Wi=e=>ju(e,"length",GW),Wu=e=>!!e&&!Number.isNaN(Number(e)),oC=e=>ju(e,"number",Wu),Wf=e=>!!e&&Number.isInteger(Number(e)),FW=e=>e.endsWith("%")&&Wu(e.slice(0,-1)),Pe=e=>vk.test(e),ji=e=>EW.test(e),_W=new Set(["length","size","percentage"]),VW=e=>ju(e,_W,xk),BW=e=>ju(e,"position",xk),HW=new Set(["image","url"]),UW=e=>ju(e,HW,jW),zW=e=>ju(e,"",WW),jf=()=>!0,ju=(e,t,r)=>{let o=vk.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},GW=e=>AW.test(e)&&!DW.test(e),xk=()=>!1,WW=e=>NW.test(e),jW=e=>OW.test(e);var qW=()=>{let e=rt("colors"),t=rt("spacing"),r=rt("blur"),o=rt("brightness"),n=rt("borderColor"),a=rt("borderRadius"),i=rt("borderSpacing"),s=rt("borderWidth"),l=rt("contrast"),u=rt("grayscale"),c=rt("hueRotate"),d=rt("invert"),f=rt("gap"),p=rt("gradientColorStops"),g=rt("gradientColorStopPositions"),m=rt("inset"),x=rt("margin"),h=rt("opacity"),v=rt("padding"),y=rt("saturate"),w=rt("scale"),C=rt("sepia"),b=rt("skew"),S=rt("space"),I=rt("translate"),L=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto",Pe,t],A=()=>[Pe,t],_=()=>["",Na,Wi],D=()=>["auto",Wu,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"],E=()=>["","0",Pe],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ae=()=>[Wu,Pe];return{cacheSize:500,separator:":",theme:{colors:[jf],spacing:[Na,Wi],blur:["none","",ji,Pe],brightness:ae(),borderColor:[e],borderRadius:["none","","full",ji,Pe],borderSpacing:A(),borderWidth:_(),contrast:ae(),grayscale:E(),hueRotate:ae(),invert:E(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[FW,Wi],inset:k(),margin:k(),opacity:ae(),padding:A(),saturate:ae(),scale:ae(),sepia:E(),skew:ae(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",Pe]}],container:["container"],columns:[{columns:[ji]}],"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:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],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",Wf,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:E()}],shrink:[{shrink:E()}],order:[{order:["first","last","none",Wf,Pe]}],"grid-cols":[{"grid-cols":[jf]}],"col-start-end":[{col:["auto",{span:["full",Wf,Pe]},Pe]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[jf]}],"row-start-end":[{row:["auto",{span:[Wf,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:[ji]},ji]}],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",ji,Wi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oC]}],"font-family":[{font:[jf]}],"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",Wu,oC]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Na,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",Na,Wi]}],"underline-offset":[{"underline-offset":["auto",Na,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:A()}],"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(),BW]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",VW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},UW]}],"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":[Na,Pe]}],"outline-w":[{outline:[Na,Wi]}],"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":[Na,Wi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ji,zW]}],"shadow-color":[{shadow:[jf]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...O(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":O()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ji,Pe]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"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":[C]}],"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:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Wf,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":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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:[Na,Wi,oC]}],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 yk=TW(qW);function P(...e){return yk(vh(e))}var qi=R(N()),$W=nk,wk=xh.forwardRef(({className:e,...t},r)=>(0,qi.jsx)(ak,{ref:r,className:P("moonui-theme","border-b border-gray-200 dark:border-gray-800",e),...t}));wk.displayName="AccordionItem";var Ck=xh.forwardRef(({className:e,children:t,...r},o)=>(0,qi.jsx)(ik,{className:"flex",children:(0,qi.jsxs)(eC,{ref:o,className:P("flex flex-1 items-center justify-between py-4 font-medium transition-all dark:text-gray-100","hover:underline hover:text-primary dark:hover:text-primary-400","[&[data-state=open]>svg]:rotate-180",e),...r,children:[t,(0,qi.jsx)(na,{className:"h-4 w-4 shrink-0 transition-transform duration-200 opacity-70 group-hover:opacity-100"})]})}));Ck.displayName=eC.displayName;var Sk=xh.forwardRef(({className:e,children:t,...r},o)=>(0,qi.jsx)(tC,{ref:o,className:P("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),...r,children:(0,qi.jsx)("div",{className:"pb-4 pt-0",children:t})}));Sk.displayName=tC.displayName;var qu=R(M());var bk=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Rk=vh,K=(e,t)=>r=>{var o;if(t?.variants==null)return Rk(e,r?.class,r?.className);let{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(u=>{let c=r?.[u],d=a?.[u];if(c===null)return null;let f=bk(c)||bk(d);return n[u][f]}),s=r&&Object.entries(r).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.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 Rk(e,i,l,r?.class,r?.className)};var Oa=R(N()),KW=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",default:"py-3 text-sm",lg:"py-4 text-base"},radius:{none:"rounded-none",sm:"rounded-sm",default:"rounded-md",lg:"rounded-lg",full:"rounded-full"},withClose:{true:"pr-10"}},defaultVariants:{variant:"default",size:"default",radius:"default",withClose:!1}}),Ik=qu.forwardRef(({className:e,variant:t="default",size:r,radius:o,hideIcon:n=!1,closable:a=!1,onClose:i,children:s,...l},u)=>{let c=qu.useMemo(()=>{switch(t){case"success":return gr;case"warning":return Gi;case"error":return Sn;case"info":return Hu;default:return Hu}},[t]);return(0,Oa.jsxs)("div",{ref:u,role:"alert",className:P("moonui-theme",KW({variant:t,size:r,radius:o,withClose:a}),e),...l,children:[!n&&(0,Oa.jsx)(c,{className:"h-5 w-5"}),(0,Oa.jsx)("div",{className:"flex-1",children:s}),a&&i&&(0,Oa.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,Oa.jsx)(vo,{className:"h-4 w-4"})})]})});Ik.displayName="Alert";var Pk=qu.forwardRef(({className:e,...t},r)=>(0,Oa.jsx)("h5",{ref:r,className:P("moonui-theme","font-semibold leading-tight tracking-tight mb-1",e),...t}));Pk.displayName="AlertTitle";var Lk=qu.forwardRef(({className:e,...t},r)=>(0,Oa.jsx)("div",{ref:r,className:P("moonui-theme","text-sm leading-5 text-muted-foreground",e),...t}));Lk.displayName="AlertDescription";var Tk=R(M());var iC=R(N()),XW=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"}}),kk=Tk.forwardRef(({className:e,variant:t,radius:r,ratio:o=16/9,style:n,children:a,...i},s)=>(0,iC.jsx)("div",{ref:s,className:P("moonui-theme",XW({variant:t,radius:r}),e),style:{position:"relative",paddingBottom:`${1/o*100}%`,...n},...i,children:(0,iC.jsx)("div",{className:"absolute inset-0",children:a})}));kk.displayName="AspectRatio";var al=R(M());var Bo=R(M(),1);var $u=R(M(),1);function ot(e){let t=$u.useRef(e);return $u.useEffect(()=>{t.current=e}),$u.useMemo(()=>(...r)=>t.current?.(...r),[])}var Nk=R(Dk(),1);function Ok(){return(0,Nk.useSyncExternalStore)(aj,()=>!0,()=>!1)}function aj(){return()=>{}}var qf=R(N(),1),lC="Avatar",[ij,$ne]=Oe(lC),[sj,_k]=ij(lC),Vk=Bo.forwardRef((e,t)=>{let{__scopeAvatar:r,...o}=e,[n,a]=Bo.useState("idle");return(0,qf.jsx)(sj,{scope:r,imageLoadingStatus:n,onImageLoadingStatusChange:a,children:(0,qf.jsx)($.span,{...o,ref:t})})});Vk.displayName=lC;var Bk="AvatarImage",Hk=Bo.forwardRef((e,t)=>{let{__scopeAvatar:r,src:o,onLoadingStatusChange:n=()=>{},...a}=e,i=_k(Bk,r),s=lj(o,a),l=ot(u=>{n(u),i.onImageLoadingStatusChange(u)});return _e(()=>{s!=="idle"&&l(s)},[s,l]),s==="loaded"?(0,qf.jsx)($.img,{...a,ref:t,src:o}):null});Hk.displayName=Bk;var Uk="AvatarFallback",zk=Bo.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:o,...n}=e,a=_k(Uk,r),[i,s]=Bo.useState(o===void 0);return Bo.useEffect(()=>{if(o!==void 0){let l=window.setTimeout(()=>s(!0),o);return()=>window.clearTimeout(l)}},[o]),i&&a.imageLoadingStatus!=="loaded"?(0,qf.jsx)($.span,{...n,ref:t}):null});zk.displayName=Uk;function Fk(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function lj(e,{referrerPolicy:t,crossOrigin:r}){let o=Ok(),n=Bo.useRef(null),a=(()=>o?(n.current||(n.current=new window.Image),n.current):null)(),[i,s]=Bo.useState(()=>Fk(a,e));return _e(()=>{s(Fk(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 r=="string"&&(a.crossOrigin=r),()=>{a.removeEventListener("load",u),a.removeEventListener("error",c)}},[a,r,t]),i}var uC=Vk,cC=Hk,dC=zk;var bn=R(N()),cj=K("relative flex shrink-0 overflow-hidden",{variants:{size:{default:"h-10 w-10",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"},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:"default",radius:"default",variant:"default"}}),fC=al.forwardRef(({className:e,size:t,radius:r,variant:o,...n},a)=>(0,bn.jsx)(uC,{ref:a,className:P("moonui-theme",cj({size:t,radius:r,variant:o}),e),...n}));fC.displayName=uC.displayName;var Gk=al.forwardRef(({className:e,...t},r)=>(0,bn.jsx)(cC,{ref:r,className:P("moonui-theme","aspect-square h-full w-full",e),...t}));Gk.displayName=cC.displayName;var pC=al.forwardRef(({className:e,...t},r)=>(0,bn.jsx)(dC,{ref:r,className:P("flex h-full w-full items-center justify-center bg-muted",e),...t}));pC.displayName=dC.displayName;var Wk=al.forwardRef(({className:e,max:t,children:r,overlapOffset:o=-8,...n},a)=>{let i=al.Children.toArray(r),s=t?i.slice(0,t):i,l=t?Math.max(0,i.length-t):0;return(0,bn.jsx)("div",{ref:a,className:P("moonui-theme","flex items-center",e),...n,children:(0,bn.jsxs)("div",{className:"flex",children:[s.map((u,c)=>(0,bn.jsx)("div",{className:"relative",style:{marginLeft:c===0?0:`${o}px`,zIndex:s.length-c},children:u},c)),l>0&&(0,bn.jsx)("div",{className:"relative z-0",style:{marginLeft:`${o}px`},children:(0,bn.jsx)(fC,{variant:"border",children:(0,bn.jsxs)(pC,{children:["+",l]})})})]})})});Wk.displayName="AvatarGroup";var jk=R(M());var hr=R(N()),qk=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-white","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-white dark:shadow-inner dark:shadow-success/10"],warning:["border-transparent bg-warning text-white","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-gray-900 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"}}),Zr=jk.forwardRef(({className:e,variant:t,size:r,radius:o,withDot:n,dotColor:a,removable:i,onRemove:s,leftIcon:l,rightIcon:u,noAutoSpacing:c,children:d,...f},p)=>{let g=l,m=d;return t==="pro"&&(g=l||(0,hr.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,hr.jsx)("path",{d:"M12 0L13.09 8.26L22 9L13.09 9.74L12 18L10.91 9.74L2 9L10.91 8.26L12 0Z",fill:"currentColor"}),(0,hr.jsx)("path",{d:"M19 5L19.5 7L21 7.5L19.5 8L19 10L18.5 8L17 7.5L18.5 7L19 5Z",fill:"currentColor"}),(0,hr.jsx)("path",{d:"M19 15L19.5 17L21 17.5L19.5 18L19 20L18.5 18L17 17.5L18.5 17L19 15Z",fill:"currentColor"})]}),m=d||"Pro"),t==="admin"&&(g=l||(0,hr.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,hr.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"})}),m=d||"Admin Pro"),(0,hr.jsxs)("div",{ref:p,className:P("moonui-theme",qk({variant:t,size:r,radius:o}),c&&"mr-0 mb-0",e),"data-removable":i?"":void 0,...f,children:[n&&(0,hr.jsx)("span",{className:P("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"}),g&&(0,hr.jsx)("span",{className:"inline-flex shrink-0 items-center",children:g}),(0,hr.jsx)("span",{className:"inline-flex items-center",children:m}),u&&(0,hr.jsx)("span",{className:"inline-flex shrink-0 items-center",children:u}),i&&s&&(0,hr.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:x=>{x.stopPropagation(),s()},"aria-label":"Remove badge",children:(0,hr.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,hr.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"})})})]})});Zr.displayName="Badge";var ia=R(M());var Nr=R(N()),dj=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:{default:"text-sm",sm:"text-xs",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),$k=ia.forwardRef(({className:e,variant:t,size:r,...o},n)=>(0,Nr.jsx)("nav",{ref:n,className:P("moonui-theme",dj({variant:t,size:r}),e),"aria-label":"breadcrumb",...o}));$k.displayName="Breadcrumb";var Kk=ia.forwardRef(({className:e,collapsed:t,collapsedWidth:r=3,...o},n)=>{let a=ia.Children.toArray(o.children).filter(Boolean),i=a.length;if(t&&i>r){let s=a[0],l=a.slice(-2);return(0,Nr.jsxs)("ol",{ref:n,className:P("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...o,children:[s,(0,Nr.jsx)(mC,{}),l]})}return(0,Nr.jsx)("ol",{ref:n,className:P("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...o})});Kk.displayName="BreadcrumbList";var Xk=ia.forwardRef(({className:e,isCurrent:t,href:r,asChild:o=!1,...n},a)=>{let i=o?ia.Fragment:r?"a":"span",s=o?{}:r?{href:r}:{};return(0,Nr.jsx)("li",{ref:a,className:P("moonui-theme","inline-flex items-center gap-1.5",e),"aria-current":t?"page":void 0,...n,children:(0,Nr.jsx)(i,{className:P("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"),...s,children:n.children})})});Xk.displayName="BreadcrumbItem";var Yk=({children:e,className:t,...r})=>(0,Nr.jsx)("span",{role:"presentation","aria-hidden":"true",className:P("moonui-theme","text-muted-foreground opacity-70",t),...r,children:e||(0,Nr.jsx)(Dr,{className:"h-3.5 w-3.5"})});Yk.displayName="BreadcrumbSeparator";var mC=({className:e,...t})=>(0,Nr.jsxs)("span",{role:"presentation","aria-hidden":"true",className:P("moonui-theme","flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200",e),...t,children:[(0,Nr.jsx)(aa,{className:"h-4 w-4"}),(0,Nr.jsx)("span",{className:"sr-only",children:"More pages"})]});mC.displayName="BreadcrumbEllipsis";var Qk=ia.forwardRef(({className:e,href:t,...r},o)=>(0,Nr.jsx)("a",{ref:o,href:t,className:P("transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30",e),...r}));Qk.displayName="BreadcrumbLink";var Zk=ia.forwardRef(({className:e,...t},r)=>(0,Nr.jsx)("span",{ref:r,className:P("font-medium text-foreground dark:text-white dark:text-opacity-95",e),...t}));Zk.displayName="BreadcrumbPage";var Jk=R(M());var wh=R(N()),yh=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-gray-200 dark:border-gray-700","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=Jk.forwardRef(({className:e,variant:t,size:r,rounded:o,fullWidth:n,asChild:a=!1,loading:i=!1,leftIcon:s,rightIcon:l,children:u,disabled:c,...d},f)=>(0,wh.jsxs)("button",{className:P("moonui-theme",yh({variant:t,size:r,rounded:o,fullWidth:n,className:e})),ref:f,disabled:c||i,"aria-busy":i||void 0,"data-loading":i?"":void 0,...d,children:[i&&(0,wh.jsx)(Vt,{className:"w-4 h-4 animate-spin","aria-hidden":"true"}),!i&&s,u,!i&&l]}));De.displayName="Button";var Ll=R(M());var Mp=R(N(),1),ca=R(M(),1);var eM=R(M(),1),Xu=(0,eM.createContext)({});var tM=R(M(),1);function sa(e){let t=(0,tM.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Ch=R(M(),1);var Yu=typeof window<"u";var Qu=Yu?Ch.useLayoutEffect:Ch.useEffect;var KC=R(N(),1),sE=R(M(),1),Tp=R(M(),1);var rM=R(M(),1),$i=(0,rM.createContext)(null);var aE=R(N(),1);function il(e,t){e.indexOf(t)===-1&&e.push(t)}function Rn(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var $t=(e,t,r)=>r>t?t:r<e?e:r;var Fa=()=>{},ir=()=>{};var vr={};var $f=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Kf(e){return typeof e=="object"&&e!==null}var Xf=e=>/^0[^.\s]+$/u.test(e);function sl(e){let t;return()=>(t===void 0&&(t=e()),t)}var mt=e=>e;var fj=(e,t)=>r=>t(e(r)),In=(...e)=>e.reduce(fj);var Ho=(e,t,r)=>{let o=t-e;return o===0?1:(r-e)/o};var _a=class{constructor(){this.subscriptions=[]}add(t){return il(this.subscriptions,t),()=>Rn(this.subscriptions,t)}notify(t,r,o){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,o);else for(let a=0;a<n;a++){let i=this.subscriptions[a];i&&i(t,r,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var bt=e=>e*1e3,Bt=e=>e/1e3;function Yf(e,t){return t?e*(1e3/t):0}var oM=(e,t,r)=>{let o=t-e;return((r-e)%o+o)%o+e};var nM=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,pj=1e-7,mj=12;function gj(e,t,r,o,n){let a,i,s=0;do i=t+(r-t)/2,a=nM(i,o,n)-e,a>0?r=i:t=i;while(Math.abs(a)>pj&&++s<mj);return i}function Ki(e,t,r,o){if(e===t&&r===o)return mt;let n=a=>gj(a,0,1,e,r);return a=>a===0||a===1?a:nM(n(a),t,o)}var Sh=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var bh=e=>t=>1-e(1-t);var Rh=Ki(.33,1.53,.69,.99),Zu=bh(Rh),Qf=Sh(Zu);var Zf=e=>(e*=2)<1?.5*Zu(e):.5*(2-Math.pow(2,-10*(e-1)));var Jf=e=>1-Math.sin(Math.acos(e)),ep=bh(Jf),tp=Sh(Jf);var gC=Ki(.42,0,1,1),hC=Ki(0,0,.58,1),rp=Ki(.42,0,.58,1);var op=e=>Array.isArray(e)&&typeof e[0]!="number";function np(e,t){return op(e)?e[oM(0,e.length,t)]:e}var ap=e=>Array.isArray(e)&&typeof e[0]=="number";var aM={linear:mt,easeIn:gC,easeInOut:rp,easeOut:hC,circIn:Jf,circInOut:tp,circOut:ep,backIn:Zu,backInOut:Qf,backOut:Rh,anticipate:Zf},hj=e=>typeof e=="string",Ih=e=>{if(ap(e)){ir(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,o,n]=e;return Ki(t,r,o,n)}else if(hj(e))return ir(aM[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),aM[e];return e};var ip=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var Jr={value:null,addProjectionMetrics:null};function iM(e,t){let r=new Set,o=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?r:o;return f&&i.add(d),m.has(d)||m.add(d),d},cancel:d=>{o.delete(d),i.delete(d)},process:d=>{if(s=d,n){a=!0;return}n=!0,[r,o]=[o,r],r.forEach(u),t&&Jr.value&&Jr.value.frameloop[t].push(l),l=0,r.clear(),n=!1,a&&(a=!1,c.process(d))}};return c}var vj=40;function Ph(e,t){let r=!1,o=!0,n={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,i=ip.reduce((y,w)=>(y[w]=iM(a,t?w:void 0),y),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:g}=i,m=()=>{let y=vr.useManualTiming?n.timestamp:performance.now();r=!1,vr.useManualTiming||(n.delta=o?1e3/60:Math.max(Math.min(y-n.timestamp,vj),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,r&&t&&(o=!1,e(m))},x=()=>{r=!0,o=!0,n.isProcessing||e(m)};return{schedule:ip.reduce((y,w)=>{let C=i[w];return y[w]=(b,S=!1,I=!1)=>(r||x(),C.schedule(b,S,I)),y},{}),cancel:y=>{for(let w=0;w<ip.length;w++)i[ip[w]].cancel(y)},state:n,steps:i}}var{schedule:Le,cancel:xr,state:xt,steps:sp}=Ph(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0);var Lh;function xj(){Lh=void 0}var yt={now:()=>(Lh===void 0&&yt.set(xt.isProcessing||vr.useManualTiming?xt.timestamp:performance.now()),Lh),set:e=>{Lh=e,queueMicrotask(xj)}};var Pn={layout:0,mainThread:0,waapi:0};var sM=e=>t=>typeof t=="string"&&t.startsWith(e),ll=sM("--"),yj=sM("var(--"),ul=e=>yj(e)?wj.test(e.split("/*")[0].trim()):!1,wj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var la={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Va={...la,transform:e=>$t(0,1,e)},lp={...la,default:1};var Xi=e=>Math.round(e*1e5)/1e5;var Ju=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function lM(e){return e==null}var uM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var ec=(e,t)=>r=>!!(typeof r=="string"&&uM.test(r)&&r.startsWith(e)||t&&!lM(r)&&Object.prototype.hasOwnProperty.call(r,t)),Th=(e,t,r)=>o=>{if(typeof o!="string")return o;let[n,a,i,s]=o.match(Ju);return{[e]:parseFloat(n),[t]:parseFloat(a),[r]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}};var Cj=e=>$t(0,255,e),vC={...la,transform:e=>Math.round(Cj(e))},ua={test:ec("rgb","red"),parse:Th("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:o=1})=>"rgba("+vC.transform(e)+", "+vC.transform(t)+", "+vC.transform(r)+", "+Xi(Va.transform(o))+")"};function Sj(e){let t="",r="",o="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),o=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),o=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,o+=o,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:n?parseInt(n,16)/255:1}}var up={test:ec("#"),parse:Sj,transform:ua.transform};var cp=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ln=cp("deg"),yr=cp("%"),ue=cp("px"),xC=cp("vh"),yC=cp("vw"),kh=(()=>({...yr,parse:e=>yr.parse(e)/100,transform:e=>yr.transform(e*100)}))();var Yi={test:ec("hsl","hue"),parse:Th("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+yr.transform(Xi(t))+", "+yr.transform(Xi(r))+", "+Xi(Va.transform(o))+")"};var lt={test:e=>ua.test(e)||up.test(e)||Yi.test(e),parse:e=>ua.test(e)?ua.parse(e):Yi.test(e)?Yi.parse(e):up.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ua.transform(e):Yi.transform(e),getAnimatableNone:e=>{let t=lt.parse(e);return t.alpha=0,lt.transform(t)}};var cM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function bj(e){return isNaN(e)&&typeof e=="string"&&(e.match(Ju)?.length||0)+(e.match(cM)?.length||0)>0}var fM="number",pM="color",Rj="var",Ij="var(",dM="${}",Pj=/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 Qi(e){let t=e.toString(),r=[],o={color:[],number:[],var:[]},n=[],a=0,s=t.replace(Pj,l=>(lt.test(l)?(o.color.push(a),n.push(pM),r.push(lt.parse(l))):l.startsWith(Ij)?(o.var.push(a),n.push(Rj),r.push(l)):(o.number.push(a),n.push(fM),r.push(parseFloat(l))),++a,dM)).split(dM);return{values:r,split:s,indexes:o,types:n}}function mM(e){return Qi(e).values}function gM(e){let{split:t,types:r}=Qi(e),o=t.length;return n=>{let a="";for(let i=0;i<o;i++)if(a+=t[i],n[i]!==void 0){let s=r[i];s===fM?a+=Xi(n[i]):s===pM?a+=lt.transform(n[i]):a+=n[i]}return a}}var Lj=e=>typeof e=="number"?0:lt.test(e)?lt.getAnimatableNone(e):e;function Tj(e){let t=mM(e);return gM(e)(t.map(Lj))}var wr={test:bj,parse:mM,createTransformer:gM,getAnimatableNone:Tj};function wC(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hM({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,t/=100,r/=100;let n=0,a=0,i=0;if(!t)n=a=i=r;else{let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=wC(l,s,e+1/3),a=wC(l,s,e),i=wC(l,s,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:o}}function tc(e,t){return r=>r>0?t:e}var ke=(e,t,r)=>e+(t-e)*r;var CC=(e,t,r)=>{let o=e*e,n=r*(t*t-o)+o;return n<0?0:Math.sqrt(n)},kj=[up,ua,Yi],Mj=e=>kj.find(t=>t.test(e));function vM(e){let t=Mj(e);if(Fa(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===Yi&&(r=hM(r)),r}var SC=(e,t)=>{let r=vM(e),o=vM(t);if(!r||!o)return tc(e,t);let n={...r};return a=>(n.red=CC(r.red,o.red,a),n.green=CC(r.green,o.green,a),n.blue=CC(r.blue,o.blue,a),n.alpha=ke(r.alpha,o.alpha,a),ua.transform(n))};var Mh=new Set(["none","hidden"]);function xM(e,t){return Mh.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function Ej(e,t){return r=>ke(e,t,r)}function Eh(e){return typeof e=="number"?Ej:typeof e=="string"?ul(e)?tc:lt.test(e)?SC:Nj:Array.isArray(e)?yM:typeof e=="object"?lt.test(e)?SC:Aj:tc}function yM(e,t){let r=[...e],o=r.length,n=e.map((a,i)=>Eh(a)(a,t[i]));return a=>{for(let i=0;i<o;i++)r[i]=n[i](a);return r}}function Aj(e,t){let r={...e,...t},o={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(o[n]=Eh(e[n])(e[n],t[n]));return n=>{for(let a in o)r[a]=o[a](n);return r}}function Dj(e,t){let r=[],o={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let a=t.types[n],i=e.indexes[a][o[a]],s=e.values[i]??0;r[n]=s,o[a]++}return r}var Nj=(e,t)=>{let r=wr.createTransformer(t),o=Qi(e),n=Qi(t);return o.indexes.var.length===n.indexes.var.length&&o.indexes.color.length===n.indexes.color.length&&o.indexes.number.length>=n.indexes.number.length?Mh.has(e)&&!n.values.length||Mh.has(t)&&!o.values.length?xM(e,t):In(yM(Dj(o,n),n.values),r):(Fa(!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"),tc(e,t))};function Ah(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?ke(e,t,r):Eh(e)(e,t)}var wM=e=>{let t=({timestamp:r})=>e(r);return{start:(r=!0)=>Le.update(t,r),stop:()=>xr(t),now:()=>xt.isProcessing?xt.timestamp:yt.now()}};var Dh=(e,t,r=10)=>{let o="",n=Math.max(Math.round(t/r),2);for(let a=0;a<n;a++)o+=Math.round(e(a/(n-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`};function rc(e){let t=0,r=50,o=e.next(t);for(;!o.done&&t<2e4;)t+=r,o=e.next(t);return t>=2e4?1/0:t}function dp(e,t=100,r){let o=r({...e,keyframes:[0,t]}),n=Math.min(rc(o),2e4);return{type:"keyframes",ease:a=>o.next(n*a).value/t,duration:Bt(n)}}var Oj=5;function Nh(e,t,r){let o=Math.max(t-Oj,0);return Yf(r-e(o),t-o)}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 RC=.001;function CM({duration:e=nt.duration,bounce:t=nt.bounce,velocity:r=nt.velocity,mass:o=nt.mass}){let n,a;Fa(e<=bt(nt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=$t(nt.minDamping,nt.maxDamping,i),e=$t(nt.minDuration,nt.maxDuration,Bt(e)),i<1?(n=u=>{let c=u*i,d=c*e,f=c-r,p=Oh(u,i),g=Math.exp(-d);return RC-f/p*g},a=u=>{let d=u*i*e,f=d*r+r,p=Math.pow(i,2)*Math.pow(u,2)*e,g=Math.exp(-d),m=Oh(Math.pow(u,2),i);return(-n(u)+RC>0?-1:1)*((f-p)*g)/m}):(n=u=>{let c=Math.exp(-u*e),d=(u-r)*e+1;return-RC+c*d},a=u=>{let c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});let s=5/e,l=_j(n,a,s);if(e=bt(e),isNaN(l))return{stiffness:nt.stiffness,damping:nt.damping,duration:e};{let u=Math.pow(l,2)*o;return{stiffness:u,damping:i*2*Math.sqrt(o*u),duration:e}}}var Fj=12;function _j(e,t,r){let o=r;for(let n=1;n<Fj;n++)o=o-e(o)/t(o);return o}function Oh(e,t){return e*Math.sqrt(1-t*t)}var Vj=["duration","bounce"],Bj=["stiffness","damping","mass"];function SM(e,t){return t.some(r=>e[r]!==void 0)}function Hj(e){let t={velocity:nt.velocity,stiffness:nt.stiffness,damping:nt.damping,mass:nt.mass,isResolvedFromDuration:!1,...e};if(!SM(e,Bj)&&SM(e,Vj))if(e.visualDuration){let r=e.visualDuration,o=2*Math.PI/(r*1.2),n=o*o,a=2*$t(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:nt.mass,stiffness:n,damping:a}}else{let r=CM(e);t={...t,...r,mass:nt.mass},t.isResolvedFromDuration=!0}return t}function Ba(e=nt.visualDuration,t=nt.bounce){let r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:o,restDelta:n}=r,a=r.keyframes[0],i=r.keyframes[r.keyframes.length-1],s={done:!1,value:a},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=Hj({...r,velocity:-Bt(r.velocity||0)}),g=f||0,m=u/(2*Math.sqrt(l*c)),x=i-a,h=Bt(Math.sqrt(l/c)),v=Math.abs(x)<5;o||(o=v?nt.restSpeed.granular:nt.restSpeed.default),n||(n=v?nt.restDelta.granular:nt.restDelta.default);let y;if(m<1){let C=Oh(h,m);y=b=>{let S=Math.exp(-m*h*b);return i-S*((g+m*h*x)/C*Math.sin(C*b)+x*Math.cos(C*b))}}else if(m===1)y=C=>i-Math.exp(-h*C)*(x+(g+h*x)*C);else{let C=h*Math.sqrt(m*m-1);y=b=>{let S=Math.exp(-m*h*b),I=Math.min(C*b,300);return i-S*((g+m*h*x)*Math.sinh(I)+C*x*Math.cosh(I))/C}}let w={calculatedDuration:p&&d||null,next:C=>{let b=y(C);if(p)s.done=C>=d;else{let S=C===0?g:0;m<1&&(S=C===0?bt(g):Nh(y,C,b));let I=Math.abs(S)<=o,L=Math.abs(i-b)<=n;s.done=I&&L}return s.value=s.done?i:b,s},toString:()=>{let C=Math.min(rc(w),2e4),b=Dh(S=>w.next(C*S).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}Ba.applyToOptions=e=>{let t=dp(e,100,Ba);return e.ease=t.ease,e.duration=bt(t.duration),e.type="keyframes",e};function fp({keyframes:e,velocity:t=0,power:r=.8,timeConstant:o=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=r*t,x=d+m,h=i===void 0?x:i(x);h!==x&&(m=h-d);let v=I=>-m*Math.exp(-I/o),y=I=>h+v(I),w=I=>{let L=v(I),T=y(I);f.done=Math.abs(L)<=u,f.value=f.done?h:T},C,b,S=I=>{p(f.value)&&(C=I,b=Ba({keyframes:[f.value,g(f.value)],velocity:Nh(y,I,f.value),damping:n,stiffness:a,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:I=>{let L=!1;return!b&&C===void 0&&(L=!0,w(I),S(I)),C!==void 0&&I>=C?b.next(I-C):(!L&&w(I),f)}}}function Uj(e,t,r){let o=[],n=r||vr.mix||Ah,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]||mt:t;s=In(l,s)}o.push(s)}return o}function Fh(e,t,{clamp:r=!0,ease:o,mixer:n}={}){let a=e.length;if(ir(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=Uj(t,o,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=Ho(e[d],e[d+1],c);return s[d](f)};return r?c=>u($t(e[0],e[a-1],c)):u}function pp(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let n=Ho(0,t,o);e.push(ke(r,1,n))}}function mp(e){let t=[0];return pp(t,e.length-1),t}function bM(e,t){return e.map(r=>r*t)}function zj(e,t){return e.map(()=>t||rp).splice(0,e.length-1)}function cl({duration:e=300,keyframes:t,times:r,ease:o="easeInOut"}){let n=op(o)?o.map(Ih):Ih(o),a={done:!1,value:t[0]},i=bM(r&&r.length===t.length?r:mp(t),e),s=Fh(i,t,{ease:Array.isArray(n)?n:zj(t,n)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}var Gj=e=>e!==null;function oc(e,{repeat:t,repeatType:r="loop"},o,n=1){let a=e.filter(Gj),s=n<0||t&&r!=="loop"&&t%2===1?0:a.length-1;return!s||o===void 0?a[s]:o}var Wj={decay:fp,inertia:fp,tween:cl,keyframes:cl,spring:Ba};function _h(e){typeof e.type=="string"&&(e.type=Wj[e.type])}var Zi=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}};var jj=e=>e/100,Ha=class extends Zi{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:r}=this.options;r&&r.updatedAt!==yt.now()&&this.tick(yt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},Pn.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;_h(t);let{type:r=cl,repeat:o=0,repeatDelay:n=0,repeatType:a,velocity:i=0}=t,{keyframes:s}=t,l=r||cl;l!==cl&&typeof s[0]!="number"&&(this.mixKeyframes=In(jj,Ah(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=rc(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(o+1)-n,this.generator=u}updateTime(t){let r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){let{generator:o,totalDuration:n,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return o.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)),r?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,w=o;if(d){let I=Math.min(this.currentTime,n)/s,L=Math.floor(I),T=I%1;!T&&I>=1&&(T=1),T===1&&L--,L=Math.min(L,d+1),!!(L%2)&&(f==="reverse"?(T=1-T,p&&(T-=p/s)):f==="mirror"&&(w=i)),y=$t(0,1,T)*s}let C=v?{done:!1,value:c[0]}:w.next(y);a&&(C.value=a(C.value));let{done:b}=C;!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!==fp&&(C.value=oc(c,this.options,x,this.speed)),m&&m(C.value),S&&this.finish(),C}then(t,r){return this.finished.then(t,r)}get duration(){return Bt(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Bt(t)}get time(){return Bt(this.currentTime)}set time(t){t=bt(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(yt.now());let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Bt(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=wM,startTime:r}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=r??o),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(yt.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,Pn.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 RM(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var dl=e=>e*180/Math.PI,IC=e=>{let t=dl(Math.atan2(e[1],e[0]));return PC(t)},qj={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:IC,rotateZ:IC,skewX:e=>dl(Math.atan(e[1])),skewY:e=>dl(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},PC=e=>(e=e%360,e<0&&(e+=360),e),IM=IC,PM=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),LM=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),$j={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:PM,scaleY:LM,scale:e=>(PM(e)+LM(e))/2,rotateX:e=>PC(dl(Math.atan2(e[6],e[5]))),rotateY:e=>PC(dl(Math.atan2(-e[2],e[0]))),rotateZ:IM,rotate:IM,skewX:e=>dl(Math.atan(e[4])),skewY:e=>dl(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function gp(e){return e.includes("scale")?1:0}function hp(e,t){if(!e||e==="none")return gp(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),o,n;if(r)o=$j,n=r;else{let s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=qj,n=s}if(!n)return gp(t);let a=o[t],i=n[1].split(",").map(Kj);return typeof a=="function"?a(i):i[a]}var LC=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return hp(r,t)};function Kj(e){return parseFloat(e.trim())}var Tn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xo=(()=>new Set(Tn))();var TC=e=>e===la||e===ue,Xj=new Set(["x","y","z"]),Yj=Tn.filter(e=>!Xj.has(e));function TM(e){let t=[];return Yj.forEach(r=>{let o=e.getValue(r);o!==void 0&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))}),t}var Ji={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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})=>hp(t,"x"),y:(e,{transform:t})=>hp(t,"y")};Ji.translateX=Ji.x;Ji.translateY=Ji.y;var fl=new Set,kC=!1,MC=!1,EC=!1;function kM(){if(MC){let e=Array.from(fl).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),r=new Map;t.forEach(o=>{let n=TM(o);n.length&&(r.set(o,n),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();let n=r.get(o);n&&n.forEach(([a,i])=>{o.getValue(a)?.set(i)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}MC=!1,kC=!1,fl.forEach(e=>e.complete(EC)),fl.clear()}function MM(){fl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(MC=!0)})}function AC(){EC=!0,MM(),kM(),EC=!1}var Ua=class{constructor(t,r,o,n,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=o,this.motionValue=n,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(fl.add(this),kC||(kC=!0,Le.read(MM),Le.resolveKeyframes(kM))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:o,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(o&&r){let s=o.readValue(r,i);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=i),n&&a===void 0&&n.set(t[0])}RM(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),fl.delete(this)}cancel(){this.state==="scheduled"&&(fl.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var EM=e=>e.startsWith("--");function AM(e,t,r){EM(t)?e.style.setProperty(t,r):e.style[t]=r}var DM=sl(()=>window.ScrollTimeline!==void 0);var NM={};function OM(e,t){let r=sl(e);return()=>NM[t]??r()}var Vh=OM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var pl=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`;var DC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:pl([0,.65,.55,1]),circOut:pl([.55,0,1,.45]),backIn:pl([.31,.01,.66,-.59]),backOut:pl([.33,1.53,.69,.99])};function NC(e,t){if(e)return typeof e=="function"?Vh()?Dh(e,t):"ease-out":ap(e)?pl(e):Array.isArray(e)?e.map(r=>NC(r,t)||DC.easeOut):DC[e]}function FM(e,t,r,{delay:o=0,duration:n=300,repeat:a=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u=void 0){let c={[t]:r};l&&(c.offset=l);let d=NC(s,n);Array.isArray(d)&&(c.easing=d),Jr.value&&Pn.waapi++;let f={delay:o,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 Jr.value&&p.finished.finally(()=>{Pn.waapi--}),p}function ml(e){return typeof e=="function"&&"applyToOptions"in e}function _M({type:e,...t}){return ml(e)&&Vh()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var Bh=class extends Zi{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:r,name:o,keyframes:n,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,ir(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=_M(t);this.animation=FM(r,o,n,u,a),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let c=oc(n,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(c):AM(r,o,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 Bt(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Bt(t)}get time(){return Bt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=bt(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:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&DM()?(this.animation.timeline=t,mt):r(this)}};var VM={anticipate:Zf,backInOut:Qf,circInOut:tp};function Qj(e){return e in VM}function BM(e){typeof e.ease=="string"&&Qj(e.ease)&&(e.ease=VM[e.ease])}var HM=10,Hh=class extends Bh{constructor(t){BM(t),_h(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:o,onComplete:n,element:a,...i}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}let s=new Ha({...i,autoplay:!1}),l=bt(this.finishedTime??this.time);r.setWithVelocity(s.sample(l-HM).value,s.sample(l).value,HM),s.stop()}};var OC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(wr.test(e)||e==="0")&&!e.startsWith("url("));function Zj(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function UM(e,t,r,o){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],i=OC(n,t),s=OC(a,t);return Fa(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:Zj(e)||(r==="spring"||ml(r))&&o}function nc(e){e.duration=0,e.type="keyframes"}var Jj=new Set(["opacity","clipPath","filter","transform"]),e6=sl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function zM(e){let{motionValue:t,name:r,repeatDelay:o,repeatType:n,damping:a,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return e6()&&r&&Jj.has(r)&&(r!=="transform"||!u)&&!l&&!o&&n!=="mirror"&&a!==0&&i!=="inertia"}var t6=40,vp=class extends Zi{constructor({autoplay:t=!0,delay:r=0,type:o="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=yt.now();let f={autoplay:t,delay:r,type:o,repeat:n,repeatDelay:a,repeatType:i,name:l,motionValue:u,element:c,...d},p=c?.KeyframeResolver||Ua;this.keyframeResolver=new p(s,(g,m,x)=>this.onKeyframesResolved(g,m,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,o,n){this.keyframeResolver=void 0;let{name:a,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:c}=o;this.resolvedAt=yt.now(),UM(t,a,i,s)||((vr.instantAnimations||!l)&&c?.(oc(t,o,r)),t[0]=t[t.length-1],nc(o),o.repeat=0);let f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>t6?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...o,keyframes:t},p=!u&&zM(f)?new Hh({...f,element:f.motionValue.owner.current}):new Ha(f);p.finished.then(()=>this.notifyFinished()).catch(mt),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,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),AC()),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 Uh=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,r){for(let o=0;o<this.animations.length;o++)this.animations[o][t]=r}attachTimeline(t){let r=this.animations.map(o=>o.attachTimeline(t));return()=>{r.forEach((o,n)=>{o&&o(),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 GM(this.animations,"duration")}get iterationDuration(){return GM(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(r=>r[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function GM(e,t){let r=0;for(let o=0;o<e.length;o++){let n=e[o][t];n!==null&&n>r&&(r=n)}return r}var xp=class extends Uh{then(t,r){return this.finished.finally(t).then(()=>{})}};var r6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function o6(e){let t=r6.exec(e);if(!t)return[,];let[,r,o,n]=t;return[`--${r??o}`,n]}var n6=4;function FC(e,t,r=1){ir(r<=n6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[o,n]=o6(e);if(!o)return;let a=window.getComputedStyle(t).getPropertyValue(o);if(a){let i=a.trim();return $f(i)?parseFloat(i):i}return ul(n)?FC(n,t,r+1):n}function gl(e,t){return e?.[t]??e?.default??e}var yp=new Set(["width","height","top","left","right","bottom",...Tn]);var WM={test:e=>e==="auto",parse:e=>e};var zh=e=>t=>t.test(e);var _C=[la,ue,yr,Ln,yC,xC,WM],VC=e=>_C.find(zh(e));function jM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Xf(e):!0}var a6=new Set(["brightness","contrast","saturate","opacity"]);function i6(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[o]=r.match(Ju)||[];if(!o)return e;let n=r.replace(o,""),a=a6.has(t)?1:0;return o!==r&&(a*=100),t+"("+a+n+")"}var s6=/\b([a-z-]*)\(.*?\)/gu,wp={...wr,getAnimatableNone:e=>{let t=e.match(s6);return t?t.map(i6).join(" "):e}};var BC={...la,transform:Math.round};var qM={rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:lp,scaleX:lp,scaleY:lp,scaleZ:lp,skew:Ln,skewX:Ln,skewY:Ln,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:Va,originX:kh,originY:kh,originZ:ue};var hl={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,...qM,zIndex:BC,fillOpacity:Va,strokeOpacity:Va,numOctaves:BC};var $M={...hl,color:lt,backgroundColor:lt,outlineColor:lt,fill:lt,stroke:lt,borderColor:lt,borderTopColor:lt,borderRightColor:lt,borderBottomColor:lt,borderLeftColor:lt,filter:wp,WebkitFilter:wp},Cp=e=>$M[e];function Sp(e,t){let r=Cp(e);return r!==wp&&(r=wr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var l6=new Set(["auto","none","0"]);function KM(e,t,r){let o=0,n;for(;o<e.length&&!n;){let a=e[o];typeof a=="string"&&!l6.has(a)&&Qi(a).values.length&&(n=e[o]),o++}if(n&&r)for(let a of t)e[a]=Sp(r,n)}var bp=class extends Ua{constructor(t,r,o,n,a){super(t,r,o,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),ul(u))){let c=FC(u,r.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!yp.has(o)||t.length!==2)return;let[n,a]=t,i=VC(n),s=VC(a);if(i!==s)if(TC(i)&&TC(s))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else Ji[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,o=[];for(let n=0;n<t.length;n++)(t[n]===null||jM(t[n]))&&o.push(n);o.length&&KM(t,o,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ji[o](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let n=r[r.length-1];n!==void 0&&t.getValue(o,n).jump(n,!1)}measureEndState(){let{element:t,name:r,unresolvedKeyframes:o}=this;if(!t||!t.current)return;let n=t.getValue(r);n&&n.jump(this.measuredOrigin,!1);let a=o.length-1,i=o[a];o[a]=Ji[r](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 Rp(e,t,r){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);let n=r?.[e]??o.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}var Ip=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Pp(e){return Kf(e)&&"offsetHeight"in e}var XM=30,u6=e=>!isNaN(parseFloat(e)),vl={current:void 0},Gh=class{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{let n=yt.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),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=r.owner}setCurrent(t){this.current=t,this.updatedAt=yt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=u6(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new _a);let o=this.events[t].add(r);return t==="change"?()=>{o(),Le.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,o){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&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 vl.current&&vl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=yt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>XM)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,XM);return Yf(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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 eo(e,t){return new Gh(e,t)}var{schedule:xl,cancel:c6}=Ph(queueMicrotask,!1);var Uo={x:!1,y:!1};function Wh(){return Uo.x||Uo.y}function HC(e){return e==="x"||e==="y"?Uo[e]?null:(Uo[e]=!0,()=>{Uo[e]=!1}):Uo.x||Uo.y?null:(Uo.x=Uo.y=!0,()=>{Uo.x=Uo.y=!1})}function jh(e,t){let r=Rp(e),o=new AbortController,n={passive:!0,...t,signal:o.signal};return[r,n,()=>o.abort()]}function YM(e){return!(e.pointerType==="touch"||Wh())}function UC(e,t,r={}){let[o,n,a]=jh(e,r),i=s=>{if(!YM(s))return;let{target:l}=s,u=t(l,s);if(typeof u!="function"||!l)return;let c=d=>{YM(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,n)};return o.forEach(s=>{s.addEventListener("pointerenter",i,n)}),a}var zC=(e,t)=>t?e===t?!0:zC(e,t.parentElement):!1;var yl=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var d6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function QM(e){return d6.has(e.tagName)||e.tabIndex!==-1}var ac=new WeakSet;function ZM(e){return t=>{t.key==="Enter"&&e(t)}}function GC(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var JM=(e,t)=>{let r=e.currentTarget;if(!r)return;let o=ZM(()=>{if(ac.has(r))return;GC(r,"down");let n=ZM(()=>{GC(r,"up")}),a=()=>GC(r,"cancel");r.addEventListener("keyup",n,t),r.addEventListener("blur",a,t)});r.addEventListener("keydown",o,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",o),t)};function eE(e){return yl(e)&&!Wh()}function WC(e,t,r={}){let[o,n,a]=jh(e,r),i=s=>{let l=s.currentTarget;if(!eE(s))return;ac.add(l);let u=t(l,s),c=(p,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),ac.has(l)&&ac.delete(l),eE(p)&&typeof u=="function"&&u(p,{success:g})},d=p=>{c(p,l===window||l===document||r.useGlobalTarget||zC(l,p.target))},f=p=>{c(p,!1)};window.addEventListener("pointerup",d,n),window.addEventListener("pointercancel",f,n)};return o.forEach(s=>{(r.useGlobalTarget?window:s).addEventListener("pointerdown",i,n),Pp(s)&&(s.addEventListener("focus",u=>JM(u,n)),!QM(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),a}function wl(e){return Kf(e)&&"ownerSVGElement"in e}function Lp(e){return wl(e)&&e.tagName==="svg"}function jC(...e){let t=!Array.isArray(e[0]),r=t?0:-1,o=e[0+r],n=e[1+r],a=e[2+r],i=e[3+r],s=Fh(n,a,i);return t?s(o):s}var Ve=e=>!!(e&&e.getVelocity);var f6=[..._C,lt,wr],qC=e=>f6.find(zh(e));var qh=R(M(),1),za=R(M(),1);var tE=R(M(),1),es=(0,tE.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var oE=R(M(),1);function rE(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function p6(...e){return t=>{let r=!1,o=e.map(n=>{let a=rE(n,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let n=0;n<o.length;n++){let a=o[n];typeof a=="function"?a():rE(e[n],null)}}}}function nE(...e){return oE.useCallback(p6(...e),e)}var $C=class extends qh.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let o=r.offsetParent,n=Pp(o)&&o.offsetWidth||0,a=this.props.sizeRef.current;a.height=r.offsetHeight||0,a.width=r.offsetWidth||0,a.top=r.offsetTop,a.left=r.offsetLeft,a.right=n-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}};function iE({children:e,isPresent:t,anchorX:r,root:o}){let n=(0,za.useId)(),a=(0,za.useRef)(null),i=(0,za.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,za.useContext)(es),l=nE(a,e?.ref);return(0,za.useInsertionEffect)(()=>{let{width:u,height:c,top:d,left:f,right:p}=i.current;if(t||!a.current||!u||!c)return;let g=r==="left"?`left: ${f}`:`right: ${p}`;a.current.dataset.motionPopId=n;let m=document.createElement("style");s&&(m.nonce=s);let x=o??document.head;return x.appendChild(m),m.sheet&&m.sheet.insertRule(`
11
+ `+a.stack}return{value:e,source:t,stack:n,digest:null}}function a0(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function U0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var w5=typeof WeakMap=="function"?WeakMap:Map;function lT(e,t,r){r=La(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){zg||(zg=!0,Q0=o),U0(e,t)},r}function uT(e,t,r){r=La(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var n=t.value;r.payload=function(){return o(n)},r.callback=function(){U0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){U0(e,t),typeof o!="function"&&(Di===null?Di=new Set([this]):Di.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function wL(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new w5;var n=new Set;o.set(t,n)}else n=o.get(t),n===void 0&&(n=new Set,o.set(t,n));n.has(r)||(n.add(r),e=N5.bind(null,e,t,r),t.then(e,e))}function CL(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 SL(e,t,r,o,n){return e.mode&1?(e.flags|=65536,e.lanes=n,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=La(-1,1),t.tag=2,Ai(r,t,1))),r.lanes|=1),e)}var C5=Aa.ReactCurrentOwner,jr=!1;function Mr(e,t,r,o){t.child=e===null?V1(t,null,r,o):Tu(t,e.child,r,o)}function bL(e,t,r,o,n){r=r.render;var a=t.ref;return bu(t,n),o=kw(e,t,r,o,a,n),r=Mw(),e!==null&&!jr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Ea(e,t,n)):(it&&r&&vw(t),t.flags|=1,Mr(e,t,o,n),t.child)}function RL(e,t,r,o,n){if(e===null){var a=r.type;return typeof a=="function"&&!Hw(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,cT(e,t,a,o,n)):(e=Cg(r.type,null,o,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(r=r.compare,r=r!==null?r:Yd,r(i,o)&&e.ref===t.ref)return Ea(e,t,n)}return t.flags|=1,e=Oi(a,o),e.ref=t.ref,e.return=t,t.child=e}function cT(e,t,r,o,n){if(e!==null){var a=e.memoizedProps;if(Yd(a,o)&&e.ref===t.ref)if(jr=!1,t.pendingProps=o=a,(e.lanes&n)!==0)e.flags&131072&&(jr=!0);else return t.lanes=e.lanes,Ea(e,t,n)}return z0(e,t,r,o,n)}function dT(e,t,r){var o=t.pendingProps,n=o.children,a=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ye(xu,co),co|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ye(xu,co),co|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=a!==null?a.baseLanes:r,Ye(xu,co),co|=o}else a!==null?(o=a.baseLanes|r,t.memoizedState=null):o=r,Ye(xu,co),co|=o;return Mr(e,t,n,r),t.child}function fT(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function z0(e,t,r,o,n){var a=$r(r)?qs:mr.current;return a=Pu(t,a),bu(t,n),r=kw(e,t,r,o,a,n),o=Mw(),e!==null&&!jr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Ea(e,t,n)):(it&&o&&vw(t),t.flags|=1,Mr(e,t,r,n),t.child)}function IL(e,t,r,o,n){if($r(r)){var a=!0;Ag(t)}else a=!1;if(bu(t,n),t.stateNode===null)xg(e,t),sT(t,r,o),H0(t,r,o,n),o=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=r.contextType;typeof u=="object"&&u!==null?u=_o(u):(u=$r(r)?qs:mr.current,u=Pu(t,u));var c=r.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==o||l!==u)&&yL(t,i,o,u),bi=!1;var f=t.memoizedState;i.state=f,_g(t,o,i,n),l=t.memoizedState,s!==o||f!==l||qr.current||bi?(typeof c=="function"&&(B0(t,r,c,o),l=t.memoizedState),(s=bi||xL(t,r,s,o,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=o,t.memoizedState=l),i.props=o,i.state=l,i.context=u,o=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{i=t.stateNode,H1(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:mn(t.type,s),i.props=u,d=t.pendingProps,f=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=_o(l):(l=$r(r)?qs:mr.current,l=Pu(t,l));var p=r.getDerivedStateFromProps;(c=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==l)&&yL(t,i,o,l),bi=!1,f=t.memoizedState,i.state=f,_g(t,o,i,n);var g=t.memoizedState;s!==d||f!==g||qr.current||bi?(typeof p=="function"&&(B0(t,r,p,o),g=t.memoizedState),(u=bi||xL(t,r,u,o,f,g,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(o,g,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(o,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=o,t.memoizedState=g),i.props=o,i.state=g,i.context=l,o=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),o=!1)}return G0(e,t,r,o,a,n)}function G0(e,t,r,o,n,a){fT(e,t);var i=(t.flags&128)!==0;if(!o&&!i)return n&&cL(t,r,!1),Ea(e,t,a);o=t.stateNode,C5.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&i?(t.child=Tu(t,e.child,null,a),t.child=Tu(t,null,s,a)):Mr(e,t,s,a),t.memoizedState=o.state,n&&cL(t,r,!0),t.child}function pT(e){var t=e.stateNode;t.pendingContext?uL(e,t.pendingContext,t.pendingContext!==t.context):t.context&&uL(e,t.context,!1),Iw(e,t.containerInfo)}function PL(e,t,r,o,n){return Lu(),yw(n),t.flags|=256,Mr(e,t,r,o),t.child}var W0={dehydrated:null,treeContext:null,retryLane:0};function j0(e){return{baseLanes:e,cachePool:null,transitions:null}}function mT(e,t,r){var o=t.pendingProps,n=dt.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(dt,n&1),e===null)return _0(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=o.children,e=o.fallback,a?(o=t.mode,a=t.child,i={mode:"hidden",children:i},!(o&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=rh(i,o,0,null),e=js(e,o,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=j0(r),t.memoizedState=W0,e):Dw(t,i));if(n=e.memoizedState,n!==null&&(s=n.dehydrated,s!==null))return S5(e,t,i,o,s,n,r);if(a){a=o.fallback,i=t.mode,n=e.child,s=n.sibling;var l={mode:"hidden",children:o.children};return!(i&1)&&t.child!==n?(o=t.child,o.childLanes=0,o.pendingProps=l,t.deletions=null):(o=Oi(n,l),o.subtreeFlags=n.subtreeFlags&14680064),s!==null?a=Oi(s,a):(a=js(a,i,r,null),a.flags|=2),a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,i=e.child.memoizedState,i=i===null?j0(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~r,t.memoizedState=W0,o}return a=e.child,e=a.sibling,o=Oi(a,{mode:"visible",children:o.children}),!(t.mode&1)&&(o.lanes=r),o.return=t,o.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Dw(e,t){return t=rh({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ug(e,t,r,o){return o!==null&&yw(o),Tu(t,e.child,null,r),e=Dw(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function S5(e,t,r,o,n,a,i){if(r)return t.flags&256?(t.flags&=-257,o=a0(Error(q(422))),ug(e,t,i,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=o.fallback,n=t.mode,o=rh({mode:"visible",children:o.children},n,0,null),a=js(a,n,i,null),a.flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,t.mode&1&&Tu(t,e.child,null,i),t.child.memoizedState=j0(i),t.memoizedState=W0,a);if(!(t.mode&1))return ug(e,t,i,null);if(n.data==="$!"){if(o=n.nextSibling&&n.nextSibling.dataset,o)var s=o.dgst;return o=s,a=Error(q(419)),o=a0(a,o,void 0),ug(e,t,i,o)}if(s=(i&e.childLanes)!==0,jr||s){if(o=qt,o!==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&(o.suspendedLanes|i)?0:n,n!==0&&n!==a.retryLane&&(a.retryLane=n,Ma(e,n),xn(o,e,n,-1))}return Bw(),o=a0(Error(q(421))),ug(e,t,i,o)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=O5.bind(null,e),n._reactRetry=t,null):(e=a.treeContext,fo=Ei(n.nextSibling),po=t,it=!0,hn=null,e!==null&&(Do[No++]=Ia,Do[No++]=Pa,Do[No++]=$s,Ia=e.id,Pa=e.overflow,$s=t),t=Dw(t,o.children),t.flags|=4096,t)}function LL(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),V0(e.return,t,r)}function i0(e,t,r,o,n){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:n}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=o,a.tail=r,a.tailMode=n)}function gT(e,t,r){var o=t.pendingProps,n=o.revealOrder,a=o.tail;if(Mr(e,t,o.children,r),o=dt.current,o&2)o=o&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&&LL(e,r,t);else if(e.tag===19)LL(e,r,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}o&=1}if(Ye(dt,o),!(t.mode&1))t.memoizedState=null;else switch(n){case"forwards":for(r=t.child,n=null;r!==null;)e=r.alternate,e!==null&&Vg(e)===null&&(n=r),r=r.sibling;r=n,r===null?(n=t.child,t.child=null):(n=r.sibling,r.sibling=null),i0(t,!1,n,r,a);break;case"backwards":for(r=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Vg(e)===null){t.child=n;break}e=n.sibling,n.sibling=r,r=n,n=e}i0(t,!0,r,null,a);break;case"together":i0(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function xg(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ea(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Xs|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(q(153));if(t.child!==null){for(e=t.child,r=Oi(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Oi(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function b5(e,t,r){switch(t.tag){case 3:pT(t),Lu();break;case 5:U1(t);break;case 1:$r(t.type)&&Ag(t);break;case 4:Iw(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,n=t.memoizedProps.value;Ye(Og,o._currentValue),o._currentValue=n;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ye(dt,dt.current&1),t.flags|=128,null):r&t.child.childLanes?mT(e,t,r):(Ye(dt,dt.current&1),e=Ea(e,t,r),e!==null?e.sibling:null);Ye(dt,dt.current&1);break;case 19:if(o=(r&t.childLanes)!==0,e.flags&128){if(o)return gT(e,t,r);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Ye(dt,dt.current),o)break;return null;case 22:case 23:return t.lanes=0,dT(e,t,r)}return Ea(e,t,r)}var hT,q0,vT,xT;hT=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};q0=function(){};vT=function(e,t,r,o){var n=e.memoizedProps;if(n!==o){e=t.stateNode,Gs(ra.current);var a=null;switch(r){case"input":n=m0(e,n),o=m0(e,o),a=[];break;case"select":n=pt({},n,{value:void 0}),o=pt({},o,{value:void 0}),a=[];break;case"textarea":n=v0(e,n),o=v0(e,o),a=[];break;default:typeof n.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=Mg)}y0(r,o);var i;r=null;for(u in n)if(!o.hasOwnProperty(u)&&n.hasOwnProperty(u)&&n[u]!=null)if(u==="style"){var s=n[u];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Gd.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in o){var l=o[u];if(s=n?.[u],o.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(a||(a=[]),a.push(u,r)),r=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"&&(Gd.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&et("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};xT=function(e,t,r,o){r!==o&&(t.flags|=4)};function Ld(e,t){if(!it)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function fr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)for(var n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags&14680064,o|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags,o|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function R5(e,t,r){var o=t.pendingProps;switch(xw(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fr(t),null;case 1:return $r(t.type)&&Eg(),fr(t),null;case 3:return o=t.stateNode,ku(),tt(qr),tt(mr),Lw(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(sg(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,hn!==null&&(ew(hn),hn=null))),q0(e,t),fr(t),null;case 5:Pw(t);var n=Gs(tf.current);if(r=t.type,e!==null&&t.stateNode!=null)vT(e,t,r,o,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(q(166));return fr(t),null}if(e=Gs(ra.current),sg(t)){o=t.stateNode,r=t.type;var a=t.memoizedProps;switch(o[ea]=t,o[Jd]=a,e=(t.mode&1)!==0,r){case"dialog":et("cancel",o),et("close",o);break;case"iframe":case"object":case"embed":et("load",o);break;case"video":case"audio":for(n=0;n<Dd.length;n++)et(Dd[n],o);break;case"source":et("error",o);break;case"img":case"image":case"link":et("error",o),et("load",o);break;case"details":et("toggle",o);break;case"input":OP(o,a),et("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!a.multiple},et("invalid",o);break;case"textarea":_P(o,a),et("invalid",o)}y0(r,a),n=null;for(var i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="children"?typeof s=="string"?o.textContent!==s&&(a.suppressHydrationWarning!==!0&&ig(o.textContent,s,e),n=["children",s]):typeof s=="number"&&o.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&ig(o.textContent,s,e),n=["children",""+s]):Gd.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&et("scroll",o)}switch(r){case"input":Km(o),FP(o,a,!0);break;case"textarea":Km(o),VP(o);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(o.onclick=Mg)}o=n,t.updateQueue=o,o!==null&&(t.flags|=4)}else{i=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=qL(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=i.createElement(r,{is:o.is}):(e=i.createElement(r),r==="select"&&(i=e,o.multiple?i.multiple=!0:o.size&&(i.size=o.size))):e=i.createElementNS(e,r),e[ea]=t,e[Jd]=o,hT(e,t,!1,!1),t.stateNode=e;e:{switch(i=w0(r,o),r){case"dialog":et("cancel",e),et("close",e),n=o;break;case"iframe":case"object":case"embed":et("load",e),n=o;break;case"video":case"audio":for(n=0;n<Dd.length;n++)et(Dd[n],e);n=o;break;case"source":et("error",e),n=o;break;case"img":case"image":case"link":et("error",e),et("load",e),n=o;break;case"details":et("toggle",e),n=o;break;case"input":OP(e,o),n=m0(e,o),et("invalid",e);break;case"option":n=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},n=pt({},o,{value:void 0}),et("invalid",e);break;case"textarea":_P(e,o),n=v0(e,o),et("invalid",e);break;default:n=o}y0(r,n),s=n;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?XL(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&$L(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Wd(e,l):typeof l=="number"&&Wd(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Gd.hasOwnProperty(a)?l!=null&&a==="onScroll"&&et("scroll",e):l!=null&&ow(e,a,l,i))}switch(r){case"input":Km(e),FP(e,o,!1);break;case"textarea":Km(e),VP(e);break;case"option":o.value!=null&&e.setAttribute("value",""+Fi(o.value));break;case"select":e.multiple=!!o.multiple,a=o.value,a!=null?yu(e,!!o.multiple,a,!1):o.defaultValue!=null&&yu(e,!!o.multiple,o.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=Mg)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return fr(t),null;case 6:if(e&&t.stateNode!=null)xT(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(q(166));if(r=Gs(tf.current),Gs(ra.current),sg(t)){if(o=t.stateNode,r=t.memoizedProps,o[ea]=t,(a=o.nodeValue!==r)&&(e=po,e!==null))switch(e.tag){case 3:ig(o.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ig(o.nodeValue,r,(e.mode&1)!==0)}a&&(t.flags|=4)}else o=(r.nodeType===9?r:r.ownerDocument).createTextNode(o),o[ea]=t,t.stateNode=o}return fr(t),null;case 13:if(tt(dt),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(it&&fo!==null&&t.mode&1&&!(t.flags&128))F1(),Lu(),t.flags|=98560,a=!1;else if(a=sg(t),o!==null&&o.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[ea]=t}else Lu(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;fr(t),a=!1}else hn!==null&&(ew(hn),hn=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,t.mode&1&&(e===null||dt.current&1?Ft===0&&(Ft=3):Bw())),t.updateQueue!==null&&(t.flags|=4),fr(t),null);case 4:return ku(),q0(e,t),e===null&&Qd(t.stateNode.containerInfo),fr(t),null;case 10:return Sw(t.type._context),fr(t),null;case 17:return $r(t.type)&&Eg(),fr(t),null;case 19:if(tt(dt),a=t.memoizedState,a===null)return fr(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Ld(a,!1);else{if(Ft!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Vg(e),i!==null){for(t.flags|=128,Ld(a,!1),o=i.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;r!==null;)a=r,e=o,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}),r=r.sibling;return Ye(dt,dt.current&1|2),t.child}e=e.sibling}a.tail!==null&&St()>Eu&&(t.flags|=128,o=!0,Ld(a,!1),t.lanes=4194304)}else{if(!o)if(e=Vg(i),e!==null){if(t.flags|=128,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ld(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!it)return fr(t),null}else 2*St()-a.renderingStartTime>Eu&&r!==1073741824&&(t.flags|=128,o=!0,Ld(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=St(),t.sibling=null,r=dt.current,Ye(dt,o?r&1|2:r&1),t):(fr(t),null);case 22:case 23:return Vw(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?co&1073741824&&(fr(t),t.subtreeFlags&6&&(t.flags|=8192)):fr(t),null;case 24:return null;case 25:return null}throw Error(q(156,t.tag))}function I5(e,t){switch(xw(t),t.tag){case 1:return $r(t.type)&&Eg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ku(),tt(qr),tt(mr),Lw(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Pw(t),null;case 13:if(tt(dt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(q(340));Lu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tt(dt),null;case 4:return ku(),null;case 10:return Sw(t.type._context),null;case 22:case 23:return Vw(),null;case 24:return null;default:return null}}var cg=!1,pr=!1,P5=typeof WeakSet=="function"?WeakSet:Set,oe=null;function vu(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(o){vt(e,t,o)}else r.current=null}function $0(e,t,r){try{r()}catch(o){vt(e,t,o)}}var TL=!1;function L5(e,t){if(M0=Lg,e=b1(),hw(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var n=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==r||n!==0&&d.nodeType!==3||(s=i+n),d!==a||o!==0&&d.nodeType!==3||(l=i+o),d.nodeType===3&&(i+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===r&&++u===n&&(s=i),f===a&&++c===o&&(l=i),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(E0={focusedElem:e,selectionRange:r},Lg=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;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:mn(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(w){vt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return g=TL,TL=!1,g}function Hd(e,t,r){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var n=o=o.next;do{if((n.tag&e)===e){var a=n.destroy;n.destroy=void 0,a!==void 0&&$0(t,r,a)}n=n.next}while(n!==o)}}function eh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function K0(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function yT(e){var t=e.alternate;t!==null&&(e.alternate=null,yT(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ea],delete t[Jd],delete t[N0],delete t[u5],delete t[c5])),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 wT(e){return e.tag===5||e.tag===3||e.tag===4}function kL(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wT(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 X0(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Mg));else if(o!==4&&(e=e.child,e!==null))for(X0(e,t,r),e=e.sibling;e!==null;)X0(e,t,r),e=e.sibling}function Y0(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Y0(e,t,r),e=e.sibling;e!==null;)Y0(e,t,r),e=e.sibling}var rr=null,gn=!1;function Ci(e,t,r){for(r=r.child;r!==null;)CT(e,t,r),r=r.sibling}function CT(e,t,r){if(ta&&typeof ta.onCommitFiberUnmount=="function")try{ta.onCommitFiberUnmount(qg,r)}catch{}switch(r.tag){case 5:pr||vu(r,t);case 6:var o=rr,n=gn;rr=null,Ci(e,t,r),rr=o,gn=n,rr!==null&&(gn?(e=rr,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):rr.removeChild(r.stateNode));break;case 18:rr!==null&&(gn?(e=rr,r=r.stateNode,e.nodeType===8?Jy(e.parentNode,r):e.nodeType===1&&Jy(e,r),Kd(e)):Jy(rr,r.stateNode));break;case 4:o=rr,n=gn,rr=r.stateNode.containerInfo,gn=!0,Ci(e,t,r),rr=o,gn=n;break;case 0:case 11:case 14:case 15:if(!pr&&(o=r.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){n=o=o.next;do{var a=n,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&$0(r,t,i),n=n.next}while(n!==o)}Ci(e,t,r);break;case 1:if(!pr&&(vu(r,t),o=r.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(s){vt(r,t,s)}Ci(e,t,r);break;case 21:Ci(e,t,r);break;case 22:r.mode&1?(pr=(o=pr)||r.memoizedState!==null,Ci(e,t,r),pr=o):Ci(e,t,r);break;default:Ci(e,t,r)}}function ML(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new P5),t.forEach(function(o){var n=F5.bind(null,e,o);r.has(o)||(r.add(o),o.then(n,n))})}}function pn(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var n=r[o];try{var a=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:rr=s.stateNode,gn=!1;break e;case 3:rr=s.stateNode.containerInfo,gn=!0;break e;case 4:rr=s.stateNode.containerInfo,gn=!0;break e}s=s.return}if(rr===null)throw Error(q(160));CT(a,i,n),rr=null,gn=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(u){vt(n,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)ST(t,e),t=t.sibling}function ST(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pn(t,e),Zn(e),o&4){try{Hd(3,e,e.return),eh(3,e)}catch(m){vt(e,e.return,m)}try{Hd(5,e,e.return)}catch(m){vt(e,e.return,m)}}break;case 1:pn(t,e),Zn(e),o&512&&r!==null&&vu(r,r.return);break;case 5:if(pn(t,e),Zn(e),o&512&&r!==null&&vu(r,r.return),e.flags&32){var n=e.stateNode;try{Wd(n,"")}catch(m){vt(e,e.return,m)}}if(o&4&&(n=e.stateNode,n!=null)){var a=e.memoizedProps,i=r!==null?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&WL(n,a),w0(s,i);var u=w0(s,a);for(i=0;i<l.length;i+=2){var c=l[i],d=l[i+1];c==="style"?XL(n,d):c==="dangerouslySetInnerHTML"?$L(n,d):c==="children"?Wd(n,d):ow(n,c,d,u)}switch(s){case"input":g0(n,a);break;case"textarea":jL(n,a);break;case"select":var f=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?yu(n,!!a.multiple,p,!1):f!==!!a.multiple&&(a.defaultValue!=null?yu(n,!!a.multiple,a.defaultValue,!0):yu(n,!!a.multiple,a.multiple?[]:"",!1))}n[Jd]=a}catch(m){vt(e,e.return,m)}}break;case 6:if(pn(t,e),Zn(e),o&4){if(e.stateNode===null)throw Error(q(162));n=e.stateNode,a=e.memoizedProps;try{n.nodeValue=a}catch(m){vt(e,e.return,m)}}break;case 3:if(pn(t,e),Zn(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{Kd(t.containerInfo)}catch(m){vt(e,e.return,m)}break;case 4:pn(t,e),Zn(e);break;case 13:pn(t,e),Zn(e),n=e.child,n.flags&8192&&(a=n.memoizedState!==null,n.stateNode.isHidden=a,!a||n.alternate!==null&&n.alternate.memoizedState!==null||(Fw=St())),o&4&&ML(e);break;case 22:if(c=r!==null&&r.memoizedState!==null,e.mode&1?(pr=(u=pr)||c,pn(t,e),pr=u):pn(t,e),Zn(e),o&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(oe=e,c=e.child;c!==null;){for(d=oe=c;oe!==null;){switch(f=oe,p=f.child,f.tag){case 0:case 11:case 14:case 15:Hd(4,f,f.return);break;case 1:vu(f,f.return);var g=f.stateNode;if(typeof g.componentWillUnmount=="function"){o=f,r=f.return;try{t=o,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){vt(o,r,m)}}break;case 5:vu(f,f.return);break;case 22:if(f.memoizedState!==null){AL(d);continue}}p!==null?(p.return=f,oe=p):AL(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=KL("display",i))}catch(m){vt(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){vt(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:pn(t,e),Zn(e),o&4&&ML(e);break;case 21:break;default:pn(t,e),Zn(e)}}function Zn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(wT(r)){var o=r;break e}r=r.return}throw Error(q(160))}switch(o.tag){case 5:var n=o.stateNode;o.flags&32&&(Wd(n,""),o.flags&=-33);var a=kL(e);Y0(e,a,n);break;case 3:case 4:var i=o.stateNode.containerInfo,s=kL(e);X0(e,s,i);break;default:throw Error(q(161))}}catch(l){vt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function T5(e,t,r){oe=e,bT(e,t,r)}function bT(e,t,r){for(var o=(e.mode&1)!==0;oe!==null;){var n=oe,a=n.child;if(n.tag===22&&o){var i=n.memoizedState!==null||cg;if(!i){var s=n.alternate,l=s!==null&&s.memoizedState!==null||pr;s=cg;var u=pr;if(cg=i,(pr=l)&&!u)for(oe=n;oe!==null;)i=oe,l=i.child,i.tag===22&&i.memoizedState!==null?DL(n):l!==null?(l.return=i,oe=l):DL(n);for(;a!==null;)oe=a,bT(a,t,r),a=a.sibling;oe=n,cg=s,pr=u}EL(e,t,r)}else n.subtreeFlags&8772&&a!==null?(a.return=n,oe=a):EL(e,t,r)}}function EL(e){for(;oe!==null;){var t=oe;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:pr||eh(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!pr)if(r===null)o.componentDidMount();else{var n=t.elementType===t.type?r.memoizedProps:mn(t.type,r.memoizedProps);o.componentDidUpdate(n,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&gL(t,a,o);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}gL(t,i,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.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&&Kd(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(q(163))}pr||t.flags&512&&K0(t)}catch(f){vt(t,t.return,f)}}if(t===e){oe=null;break}if(r=t.sibling,r!==null){r.return=t.return,oe=r;break}oe=t.return}}function AL(e){for(;oe!==null;){var t=oe;if(t===e){oe=null;break}var r=t.sibling;if(r!==null){r.return=t.return,oe=r;break}oe=t.return}}function DL(e){for(;oe!==null;){var t=oe;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{eh(4,t)}catch(l){vt(t,r,l)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var n=t.return;try{o.componentDidMount()}catch(l){vt(t,n,l)}}var a=t.return;try{K0(t)}catch(l){vt(t,a,l)}break;case 5:var i=t.return;try{K0(t)}catch(l){vt(t,i,l)}}}catch(l){vt(t,t.return,l)}if(t===e){oe=null;break}var s=t.sibling;if(s!==null){s.return=t.return,oe=s;break}oe=t.return}}var k5=Math.ceil,Ug=Aa.ReactCurrentDispatcher,Nw=Aa.ReactCurrentOwner,Fo=Aa.ReactCurrentBatchConfig,Ee=0,qt=null,Tt=null,or=0,co=0,xu=Bi(0),Ft=0,af=null,Xs=0,th=0,Ow=0,Ud=null,Wr=null,Fw=0,Eu=1/0,ba=null,zg=!1,Q0=null,Di=null,dg=!1,Li=null,Gg=0,zd=0,Z0=null,yg=-1,wg=0;function Er(){return Ee&6?St():yg!==-1?yg:yg=St()}function Ni(e){return e.mode&1?Ee&2&&or!==0?or&-or:f5.transition!==null?(wg===0&&(wg=s1()),wg):(e=Ge,e!==0||(e=window.event,e=e===void 0?16:m1(e.type)),e):1}function xn(e,t,r,o){if(50<zd)throw zd=0,Z0=null,Error(q(185));sf(e,r,o),(!(Ee&2)||e!==qt)&&(e===qt&&(!(Ee&2)&&(th|=r),Ft===4&&Ii(e,or)),Kr(e,o),r===1&&Ee===0&&!(t.mode&1)&&(Eu=St()+500,Qg&&Hi()))}function Kr(e,t){var r=e.callbackNode;m4(e,t);var o=Pg(e,e===qt?or:0);if(o===0)r!==null&&UP(r),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(r!=null&&UP(r),t===1)e.tag===0?d5(NL.bind(null,e)):D1(NL.bind(null,e)),s5(function(){!(Ee&6)&&Hi()}),r=null;else{switch(l1(o)){case 1:r=lw;break;case 4:r=a1;break;case 16:r=Ig;break;case 536870912:r=i1;break;default:r=Ig}r=ET(r,RT.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function RT(e,t){if(yg=-1,wg=0,Ee&6)throw Error(q(327));var r=e.callbackNode;if(Ru()&&e.callbackNode!==r)return null;var o=Pg(e,e===qt?or:0);if(o===0)return null;if(o&30||o&e.expiredLanes||t)t=Wg(e,o);else{t=o;var n=Ee;Ee|=2;var a=PT();(qt!==e||or!==t)&&(ba=null,Eu=St()+500,Ws(e,t));do try{A5();break}catch(s){IT(e,s)}while(1);Cw(),Ug.current=a,Ee=n,Tt!==null?t=0:(qt=null,or=0,t=Ft)}if(t!==0){if(t===2&&(n=I0(e),n!==0&&(o=n,t=J0(e,n))),t===1)throw r=af,Ws(e,0),Ii(e,o),Kr(e,St()),r;if(t===6)Ii(e,o);else{if(n=e.current.alternate,!(o&30)&&!M5(n)&&(t=Wg(e,o),t===2&&(a=I0(e),a!==0&&(o=a,t=J0(e,a))),t===1))throw r=af,Ws(e,0),Ii(e,o),Kr(e,St()),r;switch(e.finishedWork=n,e.finishedLanes=o,t){case 0:case 1:throw Error(q(345));case 2:Hs(e,Wr,ba);break;case 3:if(Ii(e,o),(o&130023424)===o&&(t=Fw+500-St(),10<t)){if(Pg(e,0)!==0)break;if(n=e.suspendedLanes,(n&o)!==o){Er(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=D0(Hs.bind(null,e,Wr,ba),t);break}Hs(e,Wr,ba);break;case 4:if(Ii(e,o),(o&4194240)===o)break;for(t=e.eventTimes,n=-1;0<o;){var i=31-vn(o);a=1<<i,i=t[i],i>n&&(n=i),o&=~a}if(o=n,o=St()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*k5(o/1960))-o,10<o){e.timeoutHandle=D0(Hs.bind(null,e,Wr,ba),o);break}Hs(e,Wr,ba);break;case 5:Hs(e,Wr,ba);break;default:throw Error(q(329))}}}return Kr(e,St()),e.callbackNode===r?RT.bind(null,e):null}function J0(e,t){var r=Ud;return e.current.memoizedState.isDehydrated&&(Ws(e,t).flags|=256),e=Wg(e,t),e!==2&&(t=Wr,Wr=r,t!==null&&ew(t)),e}function ew(e){Wr===null?Wr=e:Wr.push.apply(Wr,e)}function M5(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var o=0;o<r.length;o++){var n=r[o],a=n.getSnapshot;n=n.value;try{if(!yn(a(),n))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 Ii(e,t){for(t&=~Ow,t&=~th,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-vn(t),o=1<<r;e[r]=-1,t&=~o}}function NL(e){if(Ee&6)throw Error(q(327));Ru();var t=Pg(e,0);if(!(t&1))return Kr(e,St()),null;var r=Wg(e,t);if(e.tag!==0&&r===2){var o=I0(e);o!==0&&(t=o,r=J0(e,o))}if(r===1)throw r=af,Ws(e,0),Ii(e,t),Kr(e,St()),r;if(r===6)throw Error(q(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Hs(e,Wr,ba),Kr(e,St()),null}function _w(e,t){var r=Ee;Ee|=1;try{return e(t)}finally{Ee=r,Ee===0&&(Eu=St()+500,Qg&&Hi())}}function Ys(e){Li!==null&&Li.tag===0&&!(Ee&6)&&Ru();var t=Ee;Ee|=1;var r=Fo.transition,o=Ge;try{if(Fo.transition=null,Ge=1,e)return e()}finally{Ge=o,Fo.transition=r,Ee=t,!(Ee&6)&&Hi()}}function Vw(){co=xu.current,tt(xu)}function Ws(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,i5(r)),Tt!==null)for(r=Tt.return;r!==null;){var o=r;switch(xw(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Eg();break;case 3:ku(),tt(qr),tt(mr),Lw();break;case 5:Pw(o);break;case 4:ku();break;case 13:tt(dt);break;case 19:tt(dt);break;case 10:Sw(o.type._context);break;case 22:case 23:Vw()}r=r.return}if(qt=e,Tt=e=Oi(e.current,null),or=co=t,Ft=0,af=null,Ow=th=Xs=0,Wr=Ud=null,zs!==null){for(t=0;t<zs.length;t++)if(r=zs[t],o=r.interleaved,o!==null){r.interleaved=null;var n=o.next,a=r.pending;if(a!==null){var i=a.next;a.next=n,o.next=i}r.pending=o}zs=null}return e}function IT(e,t){do{var r=Tt;try{if(Cw(),hg.current=Hg,Bg){for(var o=ft.memoizedState;o!==null;){var n=o.queue;n!==null&&(n.pending=null),o=o.next}Bg=!1}if(Ks=0,jt=Ot=ft=null,Bd=!1,rf=0,Nw.current=null,r===null||r.return===null){Ft=1,af=t,Tt=null;break}e:{var a=e,i=r.return,s=r,l=t;if(t=or,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=CL(i);if(p!==null){p.flags&=-257,SL(p,i,s,a,t),p.mode&1&&wL(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)){wL(a,u,t),Bw();break e}l=Error(q(426))}}else if(it&&s.mode&1){var x=CL(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),SL(x,i,s,a,t),yw(Mu(l,s));break e}}a=l=Mu(l,s),Ft!==4&&(Ft=2),Ud===null?Ud=[a]:Ud.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var h=lT(a,l,t);mL(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"&&(Di===null||!Di.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var w=uT(a,s,t);mL(a,w);break e}}a=a.return}while(a!==null)}TT(r)}catch(C){t=C,Tt===r&&r!==null&&(Tt=r=r.return);continue}break}while(1)}function PT(){var e=Ug.current;return Ug.current=Hg,e===null?Hg:e}function Bw(){(Ft===0||Ft===3||Ft===2)&&(Ft=4),qt===null||!(Xs&268435455)&&!(th&268435455)||Ii(qt,or)}function Wg(e,t){var r=Ee;Ee|=2;var o=PT();(qt!==e||or!==t)&&(ba=null,Ws(e,t));do try{E5();break}catch(n){IT(e,n)}while(1);if(Cw(),Ee=r,Ug.current=o,Tt!==null)throw Error(q(261));return qt=null,or=0,Ft}function E5(){for(;Tt!==null;)LT(Tt)}function A5(){for(;Tt!==null&&!a4();)LT(Tt)}function LT(e){var t=MT(e.alternate,e,co);e.memoizedProps=e.pendingProps,t===null?TT(e):Tt=t,Nw.current=null}function TT(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=I5(r,t),r!==null){r.flags&=32767,Tt=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ft=6,Tt=null;return}}else if(r=R5(r,t,co),r!==null){Tt=r;return}if(t=t.sibling,t!==null){Tt=t;return}Tt=t=e}while(t!==null);Ft===0&&(Ft=5)}function Hs(e,t,r){var o=Ge,n=Fo.transition;try{Fo.transition=null,Ge=1,D5(e,t,r,o)}finally{Fo.transition=n,Ge=o}return null}function D5(e,t,r,o){do Ru();while(Li!==null);if(Ee&6)throw Error(q(327));r=e.finishedWork;var n=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(q(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(g4(e,a),e===qt&&(Tt=qt=null,or=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||dg||(dg=!0,ET(Ig,function(){return Ru(),null})),a=(r.flags&15990)!==0,r.subtreeFlags&15990||a){a=Fo.transition,Fo.transition=null;var i=Ge;Ge=1;var s=Ee;Ee|=4,Nw.current=null,L5(e,r),ST(r,e),t5(E0),Lg=!!M0,E0=M0=null,e.current=r,T5(r,e,n),i4(),Ee=s,Ge=i,Fo.transition=a}else e.current=r;if(dg&&(dg=!1,Li=e,Gg=n),a=e.pendingLanes,a===0&&(Di=null),u4(r.stateNode,o),Kr(e,St()),t!==null)for(o=e.onRecoverableError,r=0;r<t.length;r++)n=t[r],o(n.value,{componentStack:n.stack,digest:n.digest});if(zg)throw zg=!1,e=Q0,Q0=null,e;return Gg&1&&e.tag!==0&&Ru(),a=e.pendingLanes,a&1?e===Z0?zd++:(zd=0,Z0=e):zd=0,Hi(),null}function Ru(){if(Li!==null){var e=l1(Gg),t=Fo.transition,r=Ge;try{if(Fo.transition=null,Ge=16>e?16:e,Li===null)var o=!1;else{if(e=Li,Li=null,Gg=0,Ee&6)throw Error(q(331));var n=Ee;for(Ee|=4,oe=e.current;oe!==null;){var a=oe,i=a.child;if(oe.flags&16){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(oe=u;oe!==null;){var c=oe;switch(c.tag){case 0:case 11:case 15:Hd(8,c,a)}var d=c.child;if(d!==null)d.return=c,oe=d;else for(;oe!==null;){c=oe;var f=c.sibling,p=c.return;if(yT(c),c===u){oe=null;break}if(f!==null){f.return=p,oe=f;break}oe=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)}}oe=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,oe=i;else e:for(;oe!==null;){if(a=oe,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Hd(9,a,a.return)}var h=a.sibling;if(h!==null){h.return=a.return,oe=h;break e}oe=a.return}}var v=e.current;for(oe=v;oe!==null;){i=oe;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,oe=y;else e:for(i=v;oe!==null;){if(s=oe,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:eh(9,s)}}catch(C){vt(s,s.return,C)}if(s===i){oe=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,oe=w;break e}oe=s.return}}if(Ee=n,Hi(),ta&&typeof ta.onPostCommitFiberRoot=="function")try{ta.onPostCommitFiberRoot(qg,e)}catch{}o=!0}return o}finally{Ge=r,Fo.transition=t}}return!1}function OL(e,t,r){t=Mu(r,t),t=lT(e,t,1),e=Ai(e,t,1),t=Er(),e!==null&&(sf(e,1,t),Kr(e,t))}function vt(e,t,r){if(e.tag===3)OL(e,e,r);else for(;t!==null;){if(t.tag===3){OL(t,e,r);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Di===null||!Di.has(o))){e=Mu(r,e),e=uT(t,e,1),t=Ai(t,e,1),e=Er(),t!==null&&(sf(t,1,e),Kr(t,e));break}}t=t.return}}function N5(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),t=Er(),e.pingedLanes|=e.suspendedLanes&r,qt===e&&(or&r)===r&&(Ft===4||Ft===3&&(or&130023424)===or&&500>St()-Fw?Ws(e,0):Ow|=r),Kr(e,t)}function kT(e,t){t===0&&(e.mode&1?(t=Qm,Qm<<=1,!(Qm&130023424)&&(Qm=4194304)):t=1);var r=Er();e=Ma(e,t),e!==null&&(sf(e,t,r),Kr(e,r))}function O5(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),kT(e,r)}function F5(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,n=e.memoizedState;n!==null&&(r=n.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(q(314))}o!==null&&o.delete(t),kT(e,r)}var MT;MT=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||qr.current)jr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return jr=!1,b5(e,t,r);jr=!!(e.flags&131072)}else jr=!1,it&&t.flags&1048576&&N1(t,Ng,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;xg(e,t),e=t.pendingProps;var n=Pu(t,mr.current);bu(t,r),n=kw(null,t,o,e,n,r);var a=Mw();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,$r(o)?(a=!0,Ag(t)):a=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Rw(t),n.updater=Jg,t.stateNode=n,n._reactInternals=t,H0(t,o,e,r),t=G0(null,t,o,!0,a,r)):(t.tag=0,it&&a&&vw(t),Mr(null,t,n,r),t=t.child),t;case 16:o=t.elementType;e:{switch(xg(e,t),e=t.pendingProps,n=o._init,o=n(o._payload),t.type=o,n=t.tag=V5(o),e=mn(o,e),n){case 0:t=z0(null,t,o,e,r);break e;case 1:t=IL(null,t,o,e,r);break e;case 11:t=bL(null,t,o,e,r);break e;case 14:t=RL(null,t,o,mn(o.type,e),r);break e}throw Error(q(306,o,""))}return t;case 0:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:mn(o,n),z0(e,t,o,n,r);case 1:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:mn(o,n),IL(e,t,o,n,r);case 3:e:{if(pT(t),e===null)throw Error(q(387));o=t.pendingProps,a=t.memoizedState,n=a.element,H1(e,t),_g(t,o,null,r);var i=t.memoizedState;if(o=i.element,a.isDehydrated)if(a={element:o,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){n=Mu(Error(q(423)),t),t=PL(e,t,o,r,n);break e}else if(o!==n){n=Mu(Error(q(424)),t),t=PL(e,t,o,r,n);break e}else for(fo=Ei(t.stateNode.containerInfo.firstChild),po=t,it=!0,hn=null,r=V1(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Lu(),o===n){t=Ea(e,t,r);break e}Mr(e,t,o,r)}t=t.child}return t;case 5:return U1(t),e===null&&_0(t),o=t.type,n=t.pendingProps,a=e!==null?e.memoizedProps:null,i=n.children,A0(o,n)?i=null:a!==null&&A0(o,a)&&(t.flags|=32),fT(e,t),Mr(e,t,i,r),t.child;case 6:return e===null&&_0(t),null;case 13:return mT(e,t,r);case 4:return Iw(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Tu(t,null,o,r):Mr(e,t,o,r),t.child;case 11:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:mn(o,n),bL(e,t,o,n,r);case 7:return Mr(e,t,t.pendingProps,r),t.child;case 8:return Mr(e,t,t.pendingProps.children,r),t.child;case 12:return Mr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,n=t.pendingProps,a=t.memoizedProps,i=n.value,Ye(Og,o._currentValue),o._currentValue=i,a!==null)if(yn(a.value,i)){if(a.children===n.children&&!qr.current){t=Ea(e,t,r);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===o){if(a.tag===1){l=La(-1,r&-r),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|=r,l=a.alternate,l!==null&&(l.lanes|=r),V0(a.return,r,t),s.lanes|=r;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|=r,s=i.alternate,s!==null&&(s.lanes|=r),V0(i,r,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}Mr(e,t,n.children,r),t=t.child}return t;case 9:return n=t.type,o=t.pendingProps.children,bu(t,r),n=_o(n),o=o(n),t.flags|=1,Mr(e,t,o,r),t.child;case 14:return o=t.type,n=mn(o,t.pendingProps),n=mn(o.type,n),RL(e,t,o,n,r);case 15:return cT(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:mn(o,n),xg(e,t),t.tag=1,$r(o)?(e=!0,Ag(t)):e=!1,bu(t,r),sT(t,o,n),H0(t,o,n,r),G0(null,t,o,!0,e,r);case 19:return gT(e,t,r);case 22:return dT(e,t,r)}throw Error(q(156,t.tag))};function ET(e,t){return n1(e,t)}function _5(e,t,r,o){this.tag=e,this.key=r,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Oo(e,t,r,o){return new _5(e,t,r,o)}function Hw(e){return e=e.prototype,!(!e||!e.isReactComponent)}function V5(e){if(typeof e=="function")return Hw(e)?1:0;if(e!=null){if(e=e.$$typeof,e===aw)return 11;if(e===iw)return 14}return 2}function Oi(e,t){var r=e.alternate;return r===null?(r=Oo(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Cg(e,t,r,o,n,a){var i=2;if(o=e,typeof e=="function")Hw(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case lu:return js(r.children,n,a,t);case nw:i=8,n|=8;break;case c0:return e=Oo(12,r,t,n|2),e.elementType=c0,e.lanes=a,e;case d0:return e=Oo(13,r,t,n),e.elementType=d0,e.lanes=a,e;case f0:return e=Oo(19,r,t,n),e.elementType=f0,e.lanes=a,e;case UL:return rh(r,n,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case BL:i=10;break e;case HL:i=9;break e;case aw:i=11;break e;case iw:i=14;break e;case Si:i=16,o=null;break e}throw Error(q(130,e==null?e:typeof e,""))}return t=Oo(i,r,t,n),t.elementType=e,t.type=o,t.lanes=a,t}function js(e,t,r,o){return e=Oo(7,e,o,t),e.lanes=r,e}function rh(e,t,r,o){return e=Oo(22,e,o,t),e.elementType=UL,e.lanes=r,e.stateNode={isHidden:!1},e}function s0(e,t,r){return e=Oo(6,e,null,t),e.lanes=r,e}function l0(e,t,r){return t=Oo(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function B5(e,t,r,o,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=jy(0),this.expirationTimes=jy(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jy(0),this.identifierPrefix=o,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function Uw(e,t,r,o,n,a,i,s,l){return e=new B5(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Oo(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rw(a),e}function H5(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:su,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}function AT(e){if(!e)return _i;e=e._reactInternals;e:{if(Zs(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($r(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(q(171))}if(e.tag===1){var r=e.type;if($r(r))return A1(e,r,t)}return t}function DT(e,t,r,o,n,a,i,s,l){return e=Uw(r,o,!0,e,n,a,i,s,l),e.context=AT(null),r=e.current,o=Er(),n=Ni(r),a=La(o,n),a.callback=t??null,Ai(r,a,n),e.current.lanes=n,sf(e,n,o),Kr(e,o),e}function oh(e,t,r,o){var n=t.current,a=Er(),i=Ni(n);return r=AT(r),t.context===null?t.context=r:t.pendingContext=r,t=La(a,i),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=Ai(n,t,i),e!==null&&(xn(e,n,i,a),gg(e,n,i)),i}function jg(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 FL(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function zw(e,t){FL(e,t),(e=e.alternate)&&FL(e,t)}function U5(){return null}var NT=typeof reportError=="function"?reportError:function(e){console.error(e)};function Gw(e){this._internalRoot=e}nh.prototype.render=Gw.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(q(409));oh(e,t,null,null)};nh.prototype.unmount=Gw.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ys(function(){oh(null,e,null,null)}),t[ka]=null}};function nh(e){this._internalRoot=e}nh.prototype.unstable_scheduleHydration=function(e){if(e){var t=d1();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Ri.length&&t!==0&&t<Ri[r].priority;r++);Ri.splice(r,0,e),r===0&&p1(e)}};function Ww(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ah(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function _L(){}function z5(e,t,r,o,n){if(n){if(typeof o=="function"){var a=o;o=function(){var u=jg(i);a.call(u)}}var i=DT(t,o,e,0,null,!1,!1,"",_L);return e._reactRootContainer=i,e[ka]=i.current,Qd(e.nodeType===8?e.parentNode:e),Ys(),i}for(;n=e.lastChild;)e.removeChild(n);if(typeof o=="function"){var s=o;o=function(){var u=jg(l);s.call(u)}}var l=Uw(e,0,!1,null,null,!1,!1,"",_L);return e._reactRootContainer=l,e[ka]=l.current,Qd(e.nodeType===8?e.parentNode:e),Ys(function(){oh(t,l,r,o)}),l}function ih(e,t,r,o,n){var a=r._reactRootContainer;if(a){var i=a;if(typeof n=="function"){var s=n;n=function(){var l=jg(i);s.call(l)}}oh(t,i,e,n)}else i=z5(r,t,e,n,o);return jg(i)}u1=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Ad(t.pendingLanes);r!==0&&(uw(t,r|1),Kr(t,St()),!(Ee&6)&&(Eu=St()+500,Hi()))}break;case 13:Ys(function(){var o=Ma(e,1);if(o!==null){var n=Er();xn(o,e,1,n)}}),zw(e,1)}};cw=function(e){if(e.tag===13){var t=Ma(e,134217728);if(t!==null){var r=Er();xn(t,e,134217728,r)}zw(e,134217728)}};c1=function(e){if(e.tag===13){var t=Ni(e),r=Ma(e,t);if(r!==null){var o=Er();xn(r,e,t,o)}zw(e,t)}};d1=function(){return Ge};f1=function(e,t){var r=Ge;try{return Ge=e,t()}finally{Ge=r}};S0=function(e,t,r){switch(t){case"input":if(g0(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var n=Yg(o);if(!n)throw Error(q(90));GL(o),g0(o,n)}}}break;case"textarea":jL(e,r);break;case"select":t=r.value,t!=null&&yu(e,!!r.multiple,t,!1)}};ZL=_w;JL=Ys;var G5={usingClientEntryPoint:!1,Events:[uf,fu,Yg,YL,QL,_w]},Td={findFiberByHostInstance:Us,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},W5={bundleType:Td.bundleType,version:Td.version,rendererPackageName:Td.rendererPackageName,rendererConfig:Td.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Aa.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=r1(e),e===null?null:e.stateNode},findFiberByHostInstance:Td.findFiberByHostInstance||U5,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(kd=__REACT_DEVTOOLS_GLOBAL_HOOK__,!kd.isDisabled&&kd.supportsFiber))try{qg=kd.inject(W5),ta=kd}catch{}var kd;ho.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G5;ho.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ww(t))throw Error(q(200));return H5(e,t,null,r)};ho.createRoot=function(e,t){if(!Ww(e))throw Error(q(299));var r=!1,o="",n=NT;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=Uw(e,1,!1,null,null,r,!1,o,n),e[ka]=t.current,Qd(e.nodeType===8?e.parentNode:e),new Gw(t)};ho.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=r1(t),e=e===null?null:e.stateNode,e};ho.flushSync=function(e){return Ys(e)};ho.hydrate=function(e,t,r){if(!ah(t))throw Error(q(200));return ih(null,e,t,!0,r)};ho.hydrateRoot=function(e,t,r){if(!Ww(e))throw Error(q(405));var o=r!=null&&r.hydratedSources||null,n=!1,a="",i=NT;if(r!=null&&(r.unstable_strictMode===!0&&(n=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=DT(t,null,e,1,r??null,n,!1,a,i),e[ka]=t.current,Qd(e),o)for(e=0;e<o.length;e++)r=o[e],n=r._getVersion,n=n(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,n]:t.mutableSourceEagerHydrationData.push(r,n);return new nh(t)};ho.render=function(e,t,r){if(!ah(t))throw Error(q(200));return ih(null,e,t,!1,r)};ho.unmountComponentAtNode=function(e){if(!ah(e))throw Error(q(40));return e._reactRootContainer?(Ys(function(){ih(null,null,e,!1,function(){e._reactRootContainer=null,e[ka]=null})}),!0):!1};ho.unstable_batchedUpdates=_w;ho.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!ah(r))throw Error(q(200));if(e==null||e._reactInternals===void 0)throw Error(q(38));return ih(e,t,r,!1,o)};ho.version="18.3.1-next-f1338f8080-20240426"});var Da=ou((Mee,_T)=>{"use strict";function FT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(FT)}catch(e){console.error(e)}}FT(),_T.exports=OT()});var Ek=ou(Mk=>{"use strict";var Ku=M();function YW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var QW=typeof Object.is=="function"?Object.is:YW,ZW=Ku.useState,JW=Ku.useEffect,ej=Ku.useLayoutEffect,tj=Ku.useDebugValue;function rj(e,t){var r=t(),o=ZW({inst:{value:r,getSnapshot:t}}),n=o[0].inst,a=o[1];return ej(function(){n.value=r,n.getSnapshot=t,sC(n)&&a({inst:n})},[e,r,t]),JW(function(){return sC(n)&&a({inst:n}),e(function(){sC(n)&&a({inst:n})})},[e]),tj(r),r}function sC(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!QW(e,r)}catch{return!0}}function oj(e,t){return t()}var nj=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?oj:rj;Mk.useSyncExternalStore=Ku.useSyncExternalStore!==void 0?Ku.useSyncExternalStore:nj});var Dk=ou((Hne,Ak)=>{"use strict";Ak.exports=Ek()});var xh=R(M());var Yr=R(M(),1);var Mo=R(M(),1),Ey=R(N(),1);function mP(e,t){let r=Mo.createContext(t),o=a=>{let{children:i,...s}=a,l=Mo.useMemo(()=>s,Object.values(s));return(0,Ey.jsx)(r.Provider,{value:l,children:i})};o.displayName=e+"Provider";function n(a){let i=Mo.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[o,n]}function Oe(e,t=[]){let r=[];function o(a,i){let s=Mo.createContext(i),l=r.length;r=[...r,i];let u=d=>{let{scope:f,children:p,...g}=d,m=f?.[e]?.[l]||s,x=Mo.useMemo(()=>g,Object.values(g));return(0,Ey.jsx)(m.Provider,{value:x,children:p})};u.displayName=a+"Provider";function c(d,f){let p=f?.[e]?.[l]||s,g=Mo.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=r.map(i=>Mo.createContext(i));return function(s){let l=s?.[e]||a;return Mo.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return n.scopeName=e,[o,Dz(n,...t)]}function Dz(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){let i=o.reduce((s,{useScope:l,scopeName:u})=>{let d=l(a)[`__scope${u}`];return{...s,...d}},{});return Mo.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var yi=R(M(),1);var hP=R(M(),1);function gP(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function lo(...e){return t=>{let r=!1,o=e.map(n=>{let a=gP(n,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let n=0;n<o.length;n++){let a=o[n];typeof a=="function"?a():gP(e[n],null)}}}}function de(...e){return hP.useCallback(lo(...e),e)}var Nt=R(M(),1);var nu=R(N(),1);function uo(e){let t=Nz(e),r=Nt.forwardRef((o,n)=>{let{children:a,...i}=o,s=Nt.Children.toArray(a),l=s.find(Oz);if(l){let u=l.props.children,c=s.map(d=>d===l?Nt.Children.count(u)>1?Nt.Children.only(null):Nt.isValidElement(u)?u.props.children:null:d);return(0,nu.jsx)(t,{...i,ref:n,children:Nt.isValidElement(u)?Nt.cloneElement(u,void 0,c):null})}return(0,nu.jsx)(t,{...i,ref:n,children:a})});return r.displayName=`${e}.Slot`,r}function Nz(e){let t=Nt.forwardRef((r,o)=>{let{children:n,...a}=r;if(Nt.isValidElement(n)){let i=_z(n),s=Fz(a,n.props);return n.type!==Nt.Fragment&&(s.ref=o?lo(o,i):i),Nt.cloneElement(n,s)}return Nt.Children.count(n)>1?Nt.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var vP=Symbol("radix.slottable");function xP(e){let t=({children:r})=>(0,nu.jsx)(nu.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=vP,t}function Oz(e){return Nt.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vP}function Fz(e,t){let r={...t};for(let o in t){let n=e[o],a=t[o];/^on[A-Z]/.test(o)?n&&a?r[o]=(...s)=>{let l=a(...s);return n(...s),l}:n&&(r[o]=n):o==="style"?r[o]={...n,...a}:o==="className"&&(r[o]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}function _z(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Hm=R(N(),1),Vz=R(M(),1);var Bz=R(N(),1);function Yn(e){let t=e+"CollectionProvider",[r,o]=Oe(t),[n,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{let{scope:x,children:h}=m,v=yi.default.useRef(null),y=yi.default.useRef(new Map).current;return(0,Hm.jsx)(n,{scope:x,itemMap:y,collectionRef:v,children:h})};i.displayName=t;let s=e+"CollectionSlot",l=uo(s),u=yi.default.forwardRef((m,x)=>{let{scope:h,children:v}=m,y=a(s,h),w=de(x,y.collectionRef);return(0,Hm.jsx)(l,{ref:w,children:v})});u.displayName=s;let c=e+"CollectionItemSlot",d="data-radix-collection-item",f=uo(c),p=yi.default.forwardRef((m,x)=>{let{scope:h,children:v,...y}=m,w=yi.default.useRef(null),C=de(x,w),b=a(c,h);return yi.default.useEffect(()=>(b.itemMap.set(w,{ref:w,...y}),()=>void b.itemMap.delete(w))),(0,Hm.jsx)(f,{[d]:"",ref:C,children:v})});p.displayName=c;function g(m){let x=a(e+"CollectionConsumer",m);return yi.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,o]}var Cee=!!(typeof window<"u"&&window.document&&window.document.createElement);function W(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),r===!1||!n.defaultPrevented)return t?.(n)}}var Eo=R(M(),1);var yP=R(M(),1),_e=globalThis?.document?yP.useLayoutEffect:()=>{};var Um=R(M(),1);var Hz=Eo[" useInsertionEffect ".trim().toString()]||_e;function qe({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){let[n,a,i]=Uz({defaultProp:t,onChange:r}),s=e!==void 0,l=s?e:n;{let c=Eo.useRef(e!==void 0);Eo.useEffect(()=>{let d=c.current;d!==s&&console.warn(`${o} 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,o])}let u=Eo.useCallback(c=>{if(s){let d=zz(c)?c(e):c;d!==e&&i.current?.(d)}else a(c)},[s,e,a,i]);return[l,u]}function Uz({defaultProp:e,onChange:t}){let[r,o]=Eo.useState(e),n=Eo.useRef(r),a=Eo.useRef(t);return Hz(()=>{a.current=t},[t]),Eo.useEffect(()=>{n.current!==r&&(a.current?.(r),n.current=r)},[r,n]),[r,o,a]}function zz(e){return typeof e=="function"}var Iee=Symbol("RADIX:SYNC_STATE");var VT=R(M(),1),BT=R(Da(),1);var HT=R(N(),1),j5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$=j5.reduce((e,t)=>{let r=uo(`Primitive.${t}`),o=VT.forwardRef((n,a)=>{let{asChild:i,...s}=n,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,HT.jsx)(l,{...s,ref:a})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Nu(e,t){e&&BT.flushSync(()=>e.dispatchEvent(t))}var ar=R(M(),1);var Xr=R(M(),1);var UT=R(M(),1);function q5(e,t){return UT.useReducer((r,o)=>t[r][o]??r,e)}var st=e=>{let{present:t,children:r}=e,o=$5(t),n=typeof r=="function"?r({present:o.isPresent}):Xr.Children.only(r),a=de(o.ref,K5(n));return typeof r=="function"||o.isPresent?Xr.cloneElement(n,{ref:a}):null};st.displayName="Presence";function $5(e){let[t,r]=Xr.useState(),o=Xr.useRef(null),n=Xr.useRef(e),a=Xr.useRef("none"),i=e?"mounted":"unmounted",[s,l]=q5(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Xr.useEffect(()=>{let u=sh(o.current);a.current=s==="mounted"?u:"none"},[s]),_e(()=>{let u=o.current,c=n.current;if(c!==e){let f=a.current,p=sh(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=sh(o.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=sh(o.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:Xr.useCallback(u=>{o.current=u?getComputedStyle(u):null,r(u)},[])}}function sh(e){return e?.animationName||"none"}function K5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var jw=R(M(),1);var X5=jw[" useId ".trim().toString()]||(()=>{}),Y5=0;function Ae(e){let[t,r]=jw.useState(X5());return _e(()=>{e||r(o=>o??String(Y5++))},[e]),e||(t?`radix-${t}`:"")}var Js=R(N(),1),lh="Collapsible",[Q5,qw]=Oe(lh),[Z5,$w]=Q5(lh),zT=ar.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:o,defaultOpen:n,disabled:a,onOpenChange:i,...s}=e,[l,u]=qe({prop:o,defaultProp:n??!1,onChange:i,caller:lh});return(0,Js.jsx)(Z5,{scope:r,disabled:a,contentId:Ae(),open:l,onOpenToggle:ar.useCallback(()=>u(c=>!c),[u]),children:(0,Js.jsx)($.div,{"data-state":Xw(l),"data-disabled":a?"":void 0,...s,ref:t})})});zT.displayName=lh;var GT="CollapsibleTrigger",WT=ar.forwardRef((e,t)=>{let{__scopeCollapsible:r,...o}=e,n=$w(GT,r);return(0,Js.jsx)($.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":Xw(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...o,ref:t,onClick:W(e.onClick,n.onOpenToggle)})});WT.displayName=GT;var Kw="CollapsibleContent",jT=ar.forwardRef((e,t)=>{let{forceMount:r,...o}=e,n=$w(Kw,e.__scopeCollapsible);return(0,Js.jsx)(st,{present:r||n.open,children:({present:a})=>(0,Js.jsx)(J5,{...o,ref:t,present:a})})});jT.displayName=Kw;var J5=ar.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:o,children:n,...a}=e,i=$w(Kw,r),[s,l]=ar.useState(o),u=ar.useRef(null),c=de(t,u),d=ar.useRef(0),f=d.current,p=ar.useRef(0),g=p.current,m=i.open||s,x=ar.useRef(m),h=ar.useRef(void 0);return ar.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(o)}},[i.open,o]),(0,Js.jsx)($.div,{"data-state":Xw(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 Xw(e){return e?"open":"closed"}var uh=zT,Ou=WT,df=jT;var ch=R(M(),1),eG=R(N(),1),tG=ch.createContext(void 0);function oa(e){let t=ch.useContext(tG);return e||t||"ltr"}var _t=R(N(),1),wn="Accordion",rG=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Qw,oG,nG]=Yn(wn),[fh,rte]=Oe(wn,[nG,qw]),Zw=qw(),$T=Yr.default.forwardRef((e,t)=>{let{type:r,...o}=e,n=o,a=o;return(0,_t.jsx)(Qw.Provider,{scope:e.__scopeAccordion,children:r==="multiple"?(0,_t.jsx)(lG,{...a,ref:t}):(0,_t.jsx)(sG,{...n,ref:t})})});$T.displayName=wn;var[KT,aG]=fh(wn),[XT,iG]=fh(wn,{collapsible:!1}),sG=Yr.default.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:n=()=>{},collapsible:a=!1,...i}=e,[s,l]=qe({prop:r,defaultProp:o??"",onChange:n,caller:wn});return(0,_t.jsx)(KT,{scope:e.__scopeAccordion,value:Yr.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:Yr.default.useCallback(()=>a&&l(""),[a,l]),children:(0,_t.jsx)(XT,{scope:e.__scopeAccordion,collapsible:a,children:(0,_t.jsx)(YT,{...i,ref:t})})})}),lG=Yr.default.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:n=()=>{},...a}=e,[i,s]=qe({prop:r,defaultProp:o??[],onChange:n,caller:wn}),l=Yr.default.useCallback(c=>s((d=[])=>[...d,c]),[s]),u=Yr.default.useCallback(c=>s((d=[])=>d.filter(f=>f!==c)),[s]);return(0,_t.jsx)(KT,{scope:e.__scopeAccordion,value:i,onItemOpen:l,onItemClose:u,children:(0,_t.jsx)(XT,{scope:e.__scopeAccordion,collapsible:!0,children:(0,_t.jsx)(YT,{...a,ref:t})})})}),[uG,ph]=fh(wn),YT=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:o,dir:n,orientation:a="vertical",...i}=e,s=Yr.default.useRef(null),l=de(s,t),u=oG(r),d=oa(n)==="ltr",f=W(e.onKeyDown,p=>{if(!rG.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,w=h-1,C=()=>{v=x+1,v>w&&(v=y)},b=()=>{v=x-1,v<y&&(v=w)};switch(p.key){case"Home":v=y;break;case"End":v=w;break;case"ArrowRight":a==="horizontal"&&(d?C():b());break;case"ArrowDown":a==="vertical"&&C();break;case"ArrowLeft":a==="horizontal"&&(d?b():C());break;case"ArrowUp":a==="vertical"&&b();break}let S=v%h;m[S].ref.current?.focus()});return(0,_t.jsx)(uG,{scope:r,disabled:o,direction:n,orientation:a,children:(0,_t.jsx)(Qw.Slot,{scope:r,children:(0,_t.jsx)($.div,{...i,"data-orientation":a,ref:l,onKeyDown:o?void 0:f})})})}),dh="AccordionItem",[cG,Jw]=fh(dh),QT=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,value:o,...n}=e,a=ph(dh,r),i=aG(dh,r),s=Zw(r),l=Ae(),u=o&&i.value.includes(o)||!1,c=a.disabled||e.disabled;return(0,_t.jsx)(cG,{scope:r,open:u,disabled:c,triggerId:l,children:(0,_t.jsx)(uh,{"data-orientation":a.orientation,"data-state":ok(u),...s,...n,ref:t,disabled:c,open:u,onOpenChange:d=>{d?i.onItemOpen(o):i.onItemClose(o)}})})});QT.displayName=dh;var ZT="AccordionHeader",JT=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ph(wn,r),a=Jw(ZT,r);return(0,_t.jsx)($.h3,{"data-orientation":n.orientation,"data-state":ok(a.open),"data-disabled":a.disabled?"":void 0,...o,ref:t})});JT.displayName=ZT;var Yw="AccordionTrigger",ek=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ph(wn,r),a=Jw(Yw,r),i=iG(Yw,r),s=Zw(r);return(0,_t.jsx)(Qw.ItemSlot,{scope:r,children:(0,_t.jsx)(Ou,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:a.triggerId,...s,...o,ref:t})})});ek.displayName=Yw;var tk="AccordionContent",rk=Yr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ph(wn,r),a=Jw(tk,r),i=Zw(r);return(0,_t.jsx)(df,{role:"region","aria-labelledby":a.triggerId,"data-orientation":n.orientation,...i,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});rk.displayName=tk;function ok(e){return e?"open":"closed"}var nk=$T,ak=QT,ik=JT,eC=ek,tC=rk;var gh=R(M());var sk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fG=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,o)=>o?o.toUpperCase():r.toLowerCase()),rC=e=>{let t=fG(e);return t.charAt(0).toUpperCase()+t.slice(1)},mh=(...e)=>e.filter((t,r,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===r).join(" ").trim(),lk=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var ff=R(M());var uk={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 ck=(0,ff.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:n="",children:a,iconNode:i,...s},l)=>(0,ff.createElement)("svg",{ref:l,...uk,width:t,height:t,stroke:e,strokeWidth:o?Number(r)*24/Number(t):r,className:mh("lucide",n),...!a&&!lk(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,c])=>(0,ff.createElement)(u,c)),...Array.isArray(a)?a:[a]]));var H=(e,t)=>{let r=(0,gh.forwardRef)(({className:o,...n},a)=>(0,gh.createElement)(ck,{ref:a,iconNode:t,className:mh(`lucide-${sk(rC(e))}`,`lucide-${e}`,o),...n}));return r.displayName=rC(e),r};var pG=[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],pf=H("align-center",pG);var mG=[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]],mf=H("align-justify",mG);var gG=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],gf=H("align-left",gG);var hG=[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],hf=H("align-right",hG);var vG=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Fu=H("arrow-down",vG);var xG=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],vf=H("arrow-left",xG);var yG=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],xf=H("arrow-right",yG);var wG=[["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"}]],_u=H("arrow-up-down",wG);var CG=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Vu=H("arrow-up",CG);var SG=[["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"}]],yf=H("bold",SG);var bG=[["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"}]],el=H("calendar",bG);var RG=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],gr=H("check",RG);var IG=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],na=H("chevron-down",IG);var PG=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Cn=H("chevron-left",PG);var LG=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Dr=H("chevron-right",LG);var TG=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],wf=H("chevron-up",TG);var kG=[["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"}]],Sn=H("circle-alert",kG);var MG=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Ui=H("circle-check-big",MG);var EG=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],tl=H("circle",EG);var AG=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Cf=H("clock",AG);var DG=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Sf=H("code",DG);var NG=[["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"}]],bf=H("copy",NG);var OG=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Rf=H("credit-card",OG);var FG=[["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"}]],Bu=H("crown",FG);var _G=[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]],If=H("dot",_G);var VG=[["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"}]],aa=H("ellipsis",VG);var BG=[["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"}]],Pf=H("external-link",BG);var HG=[["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"}]],rl=H("eye",HG);var UG=[["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"}]],Lf=H("file-text",UG);var zG=[["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"}]],Tf=H("file",zG);var GG=[["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"}]],kf=H("git-fork",GG);var WG=[["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"}]],ol=H("image",WG);var jG=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Hu=H("info",jG);var qG=[["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"}]],Mf=H("italic",qG);var $G=[["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"}]],Ef=H("link",$G);var KG=[["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"}]],Af=H("list-ordered",KG);var XG=[["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"}]],Df=H("list",XG);var YG=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Vt=H("loader-circle",YG);var QG=[["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"}]],Uu=H("lock",QG);var ZG=[["path",{d:"M5 12h14",key:"1ays0h"}]],Nf=H("minus",ZG);var JG=[["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"}]],Of=H("music",JG);var eW=[["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"}]],zu=H("palette",eW);var tW=[["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"}]],Ff=H("phone",tW);var rW=[["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"}]],hh=H("pipette",rW);var oW=[["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"}]],_f=H("quote",oW);var nW=[["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"}]],Vf=H("redo",nW);var aW=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],nl=H("search",aW);var iW=[["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"}]],Qr=H("square-pen",iW);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"}]],zi=H("star",sW);var lW=[["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"}]],Bf=H("strikethrough",lW);var uW=[["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"}]],Gi=H("triangle-alert",uW);var cW=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],Hf=H("underline",cW);var dW=[["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"}]],Uf=H("undo",dW);var fW=[["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"}]],zf=H("upload",fW);var pW=[["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"}]],Gf=H("video",pW);var mW=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],vo=H("x",mW);var gW=[["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"}]],Gu=H("zap",gW);function dk(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=dk(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function vh(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=dk(e))&&(o&&(o+=" "),o+=t);return o}var aC="-",hW=e=>{let t=xW(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(aC);return s[0]===""&&s.length!==1&&s.shift(),mk(s,t)||vW(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&o[i]?[...l,...o[i]]:l}}},mk=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?mk(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(aC);return t.validators.find(({validator:i})=>i(a))?.classGroupId},fk=/^\[(.+)\]$/,vW=e=>{if(fk.test(e)){let t=fk.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},xW=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return wW(Object.entries(e.classGroups),r).forEach(([a,i])=>{nC(i,o,a,t)}),o},nC=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:pk(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(yW(n)){nC(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{nC(i,pk(t,a),r,o)})})},pk=(e,t)=>{let r=e;return t.split(aC).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},yW=e=>e.isThemeGetter,wW=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[r,n]}):e,CW=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}},gk="!",SW=e=>{let{separator:t,experimentalParseClassName:r}=e,o=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&&(o||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(gk),g=p?f.substring(1):f,m=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},bW=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},RW=e=>({cache:CW(e.cacheSize),parseClassName:SW(e),...hW(e)}),IW=/\s+/,PW=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(IW),s="";for(let l=i.length-1;l>=0;l-=1){let u=i[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=r(u),g=!!p,m=o(g?f.substring(0,p):f);if(!m){if(!g){s=u+(s.length>0?" "+s:s);continue}if(m=o(f),!m){s=u+(s.length>0?" "+s:s);continue}g=!1}let x=bW(c).join(":"),h=d?x+gk:x,v=h+m;if(a.includes(v))continue;a.push(v);let y=n(m,g);for(let w=0;w<y.length;++w){let C=y[w];a.push(h+C)}s=u+(s.length>0?" "+s:s)}return s};function LW(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=hk(t))&&(o&&(o+=" "),o+=r);return o}var hk=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=hk(e[o]))&&(r&&(r+=" "),r+=t);return r};function TW(e,...t){let r,o,n,a=i;function i(l){let u=t.reduce((c,d)=>d(c),e());return r=RW(u),o=r.cache.get,n=r.cache.set,a=s,s(l)}function s(l){let u=o(l);if(u)return u;let c=PW(l,r);return n(l,c),c}return function(){return a(LW.apply(null,arguments))}}var rt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},vk=/^\[(?:([a-z-]+):)?(.+)\]$/i,kW=/^\d+\/\d+$/,MW=new Set(["px","full","screen"]),EW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,AW=/\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$/,DW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,NW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,OW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Na=e=>Wu(e)||MW.has(e)||kW.test(e),Wi=e=>ju(e,"length",GW),Wu=e=>!!e&&!Number.isNaN(Number(e)),oC=e=>ju(e,"number",Wu),Wf=e=>!!e&&Number.isInteger(Number(e)),FW=e=>e.endsWith("%")&&Wu(e.slice(0,-1)),Pe=e=>vk.test(e),ji=e=>EW.test(e),_W=new Set(["length","size","percentage"]),VW=e=>ju(e,_W,xk),BW=e=>ju(e,"position",xk),HW=new Set(["image","url"]),UW=e=>ju(e,HW,jW),zW=e=>ju(e,"",WW),jf=()=>!0,ju=(e,t,r)=>{let o=vk.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},GW=e=>AW.test(e)&&!DW.test(e),xk=()=>!1,WW=e=>NW.test(e),jW=e=>OW.test(e);var qW=()=>{let e=rt("colors"),t=rt("spacing"),r=rt("blur"),o=rt("brightness"),n=rt("borderColor"),a=rt("borderRadius"),i=rt("borderSpacing"),s=rt("borderWidth"),l=rt("contrast"),u=rt("grayscale"),c=rt("hueRotate"),d=rt("invert"),f=rt("gap"),p=rt("gradientColorStops"),g=rt("gradientColorStopPositions"),m=rt("inset"),x=rt("margin"),h=rt("opacity"),v=rt("padding"),y=rt("saturate"),w=rt("scale"),C=rt("sepia"),b=rt("skew"),S=rt("space"),I=rt("translate"),L=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto",Pe,t],A=()=>[Pe,t],_=()=>["",Na,Wi],D=()=>["auto",Wu,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"],E=()=>["","0",Pe],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ae=()=>[Wu,Pe];return{cacheSize:500,separator:":",theme:{colors:[jf],spacing:[Na,Wi],blur:["none","",ji,Pe],brightness:ae(),borderColor:[e],borderRadius:["none","","full",ji,Pe],borderSpacing:A(),borderWidth:_(),contrast:ae(),grayscale:E(),hueRotate:ae(),invert:E(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[FW,Wi],inset:k(),margin:k(),opacity:ae(),padding:A(),saturate:ae(),scale:ae(),sepia:E(),skew:ae(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",Pe]}],container:["container"],columns:[{columns:[ji]}],"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:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],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",Wf,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:E()}],shrink:[{shrink:E()}],order:[{order:["first","last","none",Wf,Pe]}],"grid-cols":[{"grid-cols":[jf]}],"col-start-end":[{col:["auto",{span:["full",Wf,Pe]},Pe]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[jf]}],"row-start-end":[{row:["auto",{span:[Wf,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:[ji]},ji]}],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",ji,Wi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oC]}],"font-family":[{font:[jf]}],"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",Wu,oC]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Na,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",Na,Wi]}],"underline-offset":[{"underline-offset":["auto",Na,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:A()}],"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(),BW]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",VW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},UW]}],"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":[Na,Pe]}],"outline-w":[{outline:[Na,Wi]}],"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":[Na,Wi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ji,zW]}],"shadow-color":[{shadow:[jf]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...O(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":O()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ji,Pe]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"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":[C]}],"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:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Wf,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":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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:[Na,Wi,oC]}],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 yk=TW(qW);function P(...e){return yk(vh(e))}var qi=R(N()),$W=nk,wk=xh.forwardRef(({className:e,...t},r)=>(0,qi.jsx)(ak,{ref:r,className:P("moonui-theme","border-b border-gray-200 dark:border-gray-800",e),...t}));wk.displayName="AccordionItem";var Ck=xh.forwardRef(({className:e,children:t,...r},o)=>(0,qi.jsx)(ik,{className:"flex",children:(0,qi.jsxs)(eC,{ref:o,className:P("flex flex-1 items-center justify-between py-4 font-medium transition-all dark:text-gray-100","hover:underline hover:text-primary dark:hover:text-primary-400","[&[data-state=open]>svg]:rotate-180",e),...r,children:[t,(0,qi.jsx)(na,{className:"h-4 w-4 shrink-0 transition-transform duration-200 opacity-70 group-hover:opacity-100"})]})}));Ck.displayName=eC.displayName;var Sk=xh.forwardRef(({className:e,children:t,...r},o)=>(0,qi.jsx)(tC,{ref:o,className:P("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),...r,children:(0,qi.jsx)("div",{className:"pb-4 pt-0",children:t})}));Sk.displayName=tC.displayName;var qu=R(M());var bk=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Rk=vh,K=(e,t)=>r=>{var o;if(t?.variants==null)return Rk(e,r?.class,r?.className);let{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(u=>{let c=r?.[u],d=a?.[u];if(c===null)return null;let f=bk(c)||bk(d);return n[u][f]}),s=r&&Object.entries(r).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.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 Rk(e,i,l,r?.class,r?.className)};var Oa=R(N()),KW=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",default:"py-3 text-sm",lg:"py-4 text-base"},radius:{none:"rounded-none",sm:"rounded-sm",default:"rounded-md",lg:"rounded-lg",full:"rounded-full"},withClose:{true:"pr-10"}},defaultVariants:{variant:"default",size:"default",radius:"default",withClose:!1}}),Ik=qu.forwardRef(({className:e,variant:t="default",size:r,radius:o,hideIcon:n=!1,closable:a=!1,onClose:i,children:s,...l},u)=>{let c=qu.useMemo(()=>{switch(t){case"success":return gr;case"warning":return Gi;case"error":return Sn;case"info":return Hu;default:return Hu}},[t]);return(0,Oa.jsxs)("div",{ref:u,role:"alert",className:P("moonui-theme",KW({variant:t,size:r,radius:o,withClose:a}),e),...l,children:[!n&&(0,Oa.jsx)(c,{className:"h-5 w-5"}),(0,Oa.jsx)("div",{className:"flex-1",children:s}),a&&i&&(0,Oa.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,Oa.jsx)(vo,{className:"h-4 w-4"})})]})});Ik.displayName="Alert";var Pk=qu.forwardRef(({className:e,...t},r)=>(0,Oa.jsx)("h5",{ref:r,className:P("moonui-theme","font-semibold leading-tight tracking-tight mb-1",e),...t}));Pk.displayName="AlertTitle";var Lk=qu.forwardRef(({className:e,...t},r)=>(0,Oa.jsx)("div",{ref:r,className:P("moonui-theme","text-sm leading-5 text-muted-foreground",e),...t}));Lk.displayName="AlertDescription";var Tk=R(M());var iC=R(N()),XW=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"}}),kk=Tk.forwardRef(({className:e,variant:t,radius:r,ratio:o=16/9,style:n,children:a,...i},s)=>(0,iC.jsx)("div",{ref:s,className:P("moonui-theme",XW({variant:t,radius:r}),e),style:{position:"relative",paddingBottom:`${1/o*100}%`,...n},...i,children:(0,iC.jsx)("div",{className:"absolute inset-0",children:a})}));kk.displayName="AspectRatio";var al=R(M());var Bo=R(M(),1);var $u=R(M(),1);function ot(e){let t=$u.useRef(e);return $u.useEffect(()=>{t.current=e}),$u.useMemo(()=>(...r)=>t.current?.(...r),[])}var Nk=R(Dk(),1);function Ok(){return(0,Nk.useSyncExternalStore)(aj,()=>!0,()=>!1)}function aj(){return()=>{}}var qf=R(N(),1),lC="Avatar",[ij,$ne]=Oe(lC),[sj,_k]=ij(lC),Vk=Bo.forwardRef((e,t)=>{let{__scopeAvatar:r,...o}=e,[n,a]=Bo.useState("idle");return(0,qf.jsx)(sj,{scope:r,imageLoadingStatus:n,onImageLoadingStatusChange:a,children:(0,qf.jsx)($.span,{...o,ref:t})})});Vk.displayName=lC;var Bk="AvatarImage",Hk=Bo.forwardRef((e,t)=>{let{__scopeAvatar:r,src:o,onLoadingStatusChange:n=()=>{},...a}=e,i=_k(Bk,r),s=lj(o,a),l=ot(u=>{n(u),i.onImageLoadingStatusChange(u)});return _e(()=>{s!=="idle"&&l(s)},[s,l]),s==="loaded"?(0,qf.jsx)($.img,{...a,ref:t,src:o}):null});Hk.displayName=Bk;var Uk="AvatarFallback",zk=Bo.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:o,...n}=e,a=_k(Uk,r),[i,s]=Bo.useState(o===void 0);return Bo.useEffect(()=>{if(o!==void 0){let l=window.setTimeout(()=>s(!0),o);return()=>window.clearTimeout(l)}},[o]),i&&a.imageLoadingStatus!=="loaded"?(0,qf.jsx)($.span,{...n,ref:t}):null});zk.displayName=Uk;function Fk(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function lj(e,{referrerPolicy:t,crossOrigin:r}){let o=Ok(),n=Bo.useRef(null),a=(()=>o?(n.current||(n.current=new window.Image),n.current):null)(),[i,s]=Bo.useState(()=>Fk(a,e));return _e(()=>{s(Fk(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 r=="string"&&(a.crossOrigin=r),()=>{a.removeEventListener("load",u),a.removeEventListener("error",c)}},[a,r,t]),i}var uC=Vk,cC=Hk,dC=zk;var bn=R(N()),cj=K("relative flex shrink-0 overflow-hidden",{variants:{size:{default:"h-10 w-10",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"},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:"default",radius:"default",variant:"default"}}),fC=al.forwardRef(({className:e,size:t,radius:r,variant:o,...n},a)=>(0,bn.jsx)(uC,{ref:a,className:P("moonui-theme",cj({size:t,radius:r,variant:o}),e),...n}));fC.displayName=uC.displayName;var Gk=al.forwardRef(({className:e,...t},r)=>(0,bn.jsx)(cC,{ref:r,className:P("moonui-theme","aspect-square h-full w-full",e),...t}));Gk.displayName=cC.displayName;var pC=al.forwardRef(({className:e,...t},r)=>(0,bn.jsx)(dC,{ref:r,className:P("flex h-full w-full items-center justify-center bg-muted",e),...t}));pC.displayName=dC.displayName;var Wk=al.forwardRef(({className:e,max:t,children:r,overlapOffset:o=-8,...n},a)=>{let i=al.Children.toArray(r),s=t?i.slice(0,t):i,l=t?Math.max(0,i.length-t):0;return(0,bn.jsx)("div",{ref:a,className:P("moonui-theme","flex items-center",e),...n,children:(0,bn.jsxs)("div",{className:"flex",children:[s.map((u,c)=>(0,bn.jsx)("div",{className:"relative",style:{marginLeft:c===0?0:`${o}px`,zIndex:s.length-c},children:u},c)),l>0&&(0,bn.jsx)("div",{className:"relative z-0",style:{marginLeft:`${o}px`},children:(0,bn.jsx)(fC,{variant:"border",children:(0,bn.jsxs)(pC,{children:["+",l]})})})]})})});Wk.displayName="AvatarGroup";var jk=R(M());var hr=R(N()),qk=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"}}),Zr=jk.forwardRef(({className:e,variant:t,size:r,radius:o,withDot:n,dotColor:a,removable:i,onRemove:s,leftIcon:l,rightIcon:u,noAutoSpacing:c,children:d,...f},p)=>{let g=l,m=d;return t==="pro"&&(g=l||(0,hr.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,hr.jsx)("path",{d:"M12 0L13.09 8.26L22 9L13.09 9.74L12 18L10.91 9.74L2 9L10.91 8.26L12 0Z",fill:"currentColor"}),(0,hr.jsx)("path",{d:"M19 5L19.5 7L21 7.5L19.5 8L19 10L18.5 8L17 7.5L18.5 7L19 5Z",fill:"currentColor"}),(0,hr.jsx)("path",{d:"M19 15L19.5 17L21 17.5L19.5 18L19 20L18.5 18L17 17.5L18.5 17L19 15Z",fill:"currentColor"})]}),m=d||"Pro"),t==="admin"&&(g=l||(0,hr.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,hr.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"})}),m=d||"Admin Pro"),(0,hr.jsxs)("div",{ref:p,className:P("moonui-theme",qk({variant:t,size:r,radius:o}),c&&"mr-0 mb-0",e),"data-removable":i?"":void 0,...f,children:[n&&(0,hr.jsx)("span",{className:P("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"}),g&&(0,hr.jsx)("span",{className:"inline-flex shrink-0 items-center",children:g}),(0,hr.jsx)("span",{className:"inline-flex items-center",children:m}),u&&(0,hr.jsx)("span",{className:"inline-flex shrink-0 items-center",children:u}),i&&s&&(0,hr.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:x=>{x.stopPropagation(),s()},"aria-label":"Remove badge",children:(0,hr.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,hr.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"})})})]})});Zr.displayName="Badge";var ia=R(M());var Nr=R(N()),dj=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:{default:"text-sm",sm:"text-xs",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),$k=ia.forwardRef(({className:e,variant:t,size:r,...o},n)=>(0,Nr.jsx)("nav",{ref:n,className:P("moonui-theme",dj({variant:t,size:r}),e),"aria-label":"breadcrumb",...o}));$k.displayName="Breadcrumb";var Kk=ia.forwardRef(({className:e,collapsed:t,collapsedWidth:r=3,...o},n)=>{let a=ia.Children.toArray(o.children).filter(Boolean),i=a.length;if(t&&i>r){let s=a[0],l=a.slice(-2);return(0,Nr.jsxs)("ol",{ref:n,className:P("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...o,children:[s,(0,Nr.jsx)(mC,{}),l]})}return(0,Nr.jsx)("ol",{ref:n,className:P("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...o})});Kk.displayName="BreadcrumbList";var Xk=ia.forwardRef(({className:e,isCurrent:t,href:r,asChild:o=!1,...n},a)=>{let i=o?ia.Fragment:r?"a":"span",s=o?{}:r?{href:r}:{};return(0,Nr.jsx)("li",{ref:a,className:P("moonui-theme","inline-flex items-center gap-1.5",e),"aria-current":t?"page":void 0,...n,children:(0,Nr.jsx)(i,{className:P("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"),...s,children:n.children})})});Xk.displayName="BreadcrumbItem";var Yk=({children:e,className:t,...r})=>(0,Nr.jsx)("span",{role:"presentation","aria-hidden":"true",className:P("moonui-theme","text-muted-foreground opacity-70",t),...r,children:e||(0,Nr.jsx)(Dr,{className:"h-3.5 w-3.5"})});Yk.displayName="BreadcrumbSeparator";var mC=({className:e,...t})=>(0,Nr.jsxs)("span",{role:"presentation","aria-hidden":"true",className:P("moonui-theme","flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200",e),...t,children:[(0,Nr.jsx)(aa,{className:"h-4 w-4"}),(0,Nr.jsx)("span",{className:"sr-only",children:"More pages"})]});mC.displayName="BreadcrumbEllipsis";var Qk=ia.forwardRef(({className:e,href:t,...r},o)=>(0,Nr.jsx)("a",{ref:o,href:t,className:P("transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30",e),...r}));Qk.displayName="BreadcrumbLink";var Zk=ia.forwardRef(({className:e,...t},r)=>(0,Nr.jsx)("span",{ref:r,className:P("font-medium text-foreground dark:text-white dark:text-opacity-95",e),...t}));Zk.displayName="BreadcrumbPage";var Jk=R(M());var wh=R(N()),yh=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-gray-200 dark:border-gray-700","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=Jk.forwardRef(({className:e,variant:t,size:r,rounded:o,fullWidth:n,asChild:a=!1,loading:i=!1,leftIcon:s,rightIcon:l,children:u,disabled:c,...d},f)=>(0,wh.jsxs)("button",{className:P("moonui-theme",yh({variant:t,size:r,rounded:o,fullWidth:n,className:e})),ref:f,disabled:c||i,"aria-busy":i||void 0,"data-loading":i?"":void 0,...d,children:[i&&(0,wh.jsx)(Vt,{className:"w-4 h-4 animate-spin","aria-hidden":"true"}),!i&&s,u,!i&&l]}));De.displayName="Button";var Ll=R(M());var Mp=R(N(),1),ca=R(M(),1);var eM=R(M(),1),Xu=(0,eM.createContext)({});var tM=R(M(),1);function sa(e){let t=(0,tM.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Ch=R(M(),1);var Yu=typeof window<"u";var Qu=Yu?Ch.useLayoutEffect:Ch.useEffect;var KC=R(N(),1),sE=R(M(),1),Tp=R(M(),1);var rM=R(M(),1),$i=(0,rM.createContext)(null);var aE=R(N(),1);function il(e,t){e.indexOf(t)===-1&&e.push(t)}function Rn(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var $t=(e,t,r)=>r>t?t:r<e?e:r;var Fa=()=>{},ir=()=>{};var vr={};var $f=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Kf(e){return typeof e=="object"&&e!==null}var Xf=e=>/^0[^.\s]+$/u.test(e);function sl(e){let t;return()=>(t===void 0&&(t=e()),t)}var mt=e=>e;var fj=(e,t)=>r=>t(e(r)),In=(...e)=>e.reduce(fj);var Ho=(e,t,r)=>{let o=t-e;return o===0?1:(r-e)/o};var _a=class{constructor(){this.subscriptions=[]}add(t){return il(this.subscriptions,t),()=>Rn(this.subscriptions,t)}notify(t,r,o){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,o);else for(let a=0;a<n;a++){let i=this.subscriptions[a];i&&i(t,r,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var bt=e=>e*1e3,Bt=e=>e/1e3;function Yf(e,t){return t?e*(1e3/t):0}var oM=(e,t,r)=>{let o=t-e;return((r-e)%o+o)%o+e};var nM=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,pj=1e-7,mj=12;function gj(e,t,r,o,n){let a,i,s=0;do i=t+(r-t)/2,a=nM(i,o,n)-e,a>0?r=i:t=i;while(Math.abs(a)>pj&&++s<mj);return i}function Ki(e,t,r,o){if(e===t&&r===o)return mt;let n=a=>gj(a,0,1,e,r);return a=>a===0||a===1?a:nM(n(a),t,o)}var Sh=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var bh=e=>t=>1-e(1-t);var Rh=Ki(.33,1.53,.69,.99),Zu=bh(Rh),Qf=Sh(Zu);var Zf=e=>(e*=2)<1?.5*Zu(e):.5*(2-Math.pow(2,-10*(e-1)));var Jf=e=>1-Math.sin(Math.acos(e)),ep=bh(Jf),tp=Sh(Jf);var gC=Ki(.42,0,1,1),hC=Ki(0,0,.58,1),rp=Ki(.42,0,.58,1);var op=e=>Array.isArray(e)&&typeof e[0]!="number";function np(e,t){return op(e)?e[oM(0,e.length,t)]:e}var ap=e=>Array.isArray(e)&&typeof e[0]=="number";var aM={linear:mt,easeIn:gC,easeInOut:rp,easeOut:hC,circIn:Jf,circInOut:tp,circOut:ep,backIn:Zu,backInOut:Qf,backOut:Rh,anticipate:Zf},hj=e=>typeof e=="string",Ih=e=>{if(ap(e)){ir(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,o,n]=e;return Ki(t,r,o,n)}else if(hj(e))return ir(aM[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),aM[e];return e};var ip=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var Jr={value:null,addProjectionMetrics:null};function iM(e,t){let r=new Set,o=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?r:o;return f&&i.add(d),m.has(d)||m.add(d),d},cancel:d=>{o.delete(d),i.delete(d)},process:d=>{if(s=d,n){a=!0;return}n=!0,[r,o]=[o,r],r.forEach(u),t&&Jr.value&&Jr.value.frameloop[t].push(l),l=0,r.clear(),n=!1,a&&(a=!1,c.process(d))}};return c}var vj=40;function Ph(e,t){let r=!1,o=!0,n={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,i=ip.reduce((y,w)=>(y[w]=iM(a,t?w:void 0),y),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:g}=i,m=()=>{let y=vr.useManualTiming?n.timestamp:performance.now();r=!1,vr.useManualTiming||(n.delta=o?1e3/60:Math.max(Math.min(y-n.timestamp,vj),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,r&&t&&(o=!1,e(m))},x=()=>{r=!0,o=!0,n.isProcessing||e(m)};return{schedule:ip.reduce((y,w)=>{let C=i[w];return y[w]=(b,S=!1,I=!1)=>(r||x(),C.schedule(b,S,I)),y},{}),cancel:y=>{for(let w=0;w<ip.length;w++)i[ip[w]].cancel(y)},state:n,steps:i}}var{schedule:Le,cancel:xr,state:xt,steps:sp}=Ph(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0);var Lh;function xj(){Lh=void 0}var yt={now:()=>(Lh===void 0&&yt.set(xt.isProcessing||vr.useManualTiming?xt.timestamp:performance.now()),Lh),set:e=>{Lh=e,queueMicrotask(xj)}};var Pn={layout:0,mainThread:0,waapi:0};var sM=e=>t=>typeof t=="string"&&t.startsWith(e),ll=sM("--"),yj=sM("var(--"),ul=e=>yj(e)?wj.test(e.split("/*")[0].trim()):!1,wj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var la={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Va={...la,transform:e=>$t(0,1,e)},lp={...la,default:1};var Xi=e=>Math.round(e*1e5)/1e5;var Ju=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function lM(e){return e==null}var uM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var ec=(e,t)=>r=>!!(typeof r=="string"&&uM.test(r)&&r.startsWith(e)||t&&!lM(r)&&Object.prototype.hasOwnProperty.call(r,t)),Th=(e,t,r)=>o=>{if(typeof o!="string")return o;let[n,a,i,s]=o.match(Ju);return{[e]:parseFloat(n),[t]:parseFloat(a),[r]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}};var Cj=e=>$t(0,255,e),vC={...la,transform:e=>Math.round(Cj(e))},ua={test:ec("rgb","red"),parse:Th("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:o=1})=>"rgba("+vC.transform(e)+", "+vC.transform(t)+", "+vC.transform(r)+", "+Xi(Va.transform(o))+")"};function Sj(e){let t="",r="",o="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),o=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),o=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,o+=o,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:n?parseInt(n,16)/255:1}}var up={test:ec("#"),parse:Sj,transform:ua.transform};var cp=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ln=cp("deg"),yr=cp("%"),ue=cp("px"),xC=cp("vh"),yC=cp("vw"),kh=(()=>({...yr,parse:e=>yr.parse(e)/100,transform:e=>yr.transform(e*100)}))();var Yi={test:ec("hsl","hue"),parse:Th("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+yr.transform(Xi(t))+", "+yr.transform(Xi(r))+", "+Xi(Va.transform(o))+")"};var lt={test:e=>ua.test(e)||up.test(e)||Yi.test(e),parse:e=>ua.test(e)?ua.parse(e):Yi.test(e)?Yi.parse(e):up.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ua.transform(e):Yi.transform(e),getAnimatableNone:e=>{let t=lt.parse(e);return t.alpha=0,lt.transform(t)}};var cM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function bj(e){return isNaN(e)&&typeof e=="string"&&(e.match(Ju)?.length||0)+(e.match(cM)?.length||0)>0}var fM="number",pM="color",Rj="var",Ij="var(",dM="${}",Pj=/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 Qi(e){let t=e.toString(),r=[],o={color:[],number:[],var:[]},n=[],a=0,s=t.replace(Pj,l=>(lt.test(l)?(o.color.push(a),n.push(pM),r.push(lt.parse(l))):l.startsWith(Ij)?(o.var.push(a),n.push(Rj),r.push(l)):(o.number.push(a),n.push(fM),r.push(parseFloat(l))),++a,dM)).split(dM);return{values:r,split:s,indexes:o,types:n}}function mM(e){return Qi(e).values}function gM(e){let{split:t,types:r}=Qi(e),o=t.length;return n=>{let a="";for(let i=0;i<o;i++)if(a+=t[i],n[i]!==void 0){let s=r[i];s===fM?a+=Xi(n[i]):s===pM?a+=lt.transform(n[i]):a+=n[i]}return a}}var Lj=e=>typeof e=="number"?0:lt.test(e)?lt.getAnimatableNone(e):e;function Tj(e){let t=mM(e);return gM(e)(t.map(Lj))}var wr={test:bj,parse:mM,createTransformer:gM,getAnimatableNone:Tj};function wC(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hM({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,t/=100,r/=100;let n=0,a=0,i=0;if(!t)n=a=i=r;else{let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=wC(l,s,e+1/3),a=wC(l,s,e),i=wC(l,s,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:o}}function tc(e,t){return r=>r>0?t:e}var ke=(e,t,r)=>e+(t-e)*r;var CC=(e,t,r)=>{let o=e*e,n=r*(t*t-o)+o;return n<0?0:Math.sqrt(n)},kj=[up,ua,Yi],Mj=e=>kj.find(t=>t.test(e));function vM(e){let t=Mj(e);if(Fa(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===Yi&&(r=hM(r)),r}var SC=(e,t)=>{let r=vM(e),o=vM(t);if(!r||!o)return tc(e,t);let n={...r};return a=>(n.red=CC(r.red,o.red,a),n.green=CC(r.green,o.green,a),n.blue=CC(r.blue,o.blue,a),n.alpha=ke(r.alpha,o.alpha,a),ua.transform(n))};var Mh=new Set(["none","hidden"]);function xM(e,t){return Mh.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function Ej(e,t){return r=>ke(e,t,r)}function Eh(e){return typeof e=="number"?Ej:typeof e=="string"?ul(e)?tc:lt.test(e)?SC:Nj:Array.isArray(e)?yM:typeof e=="object"?lt.test(e)?SC:Aj:tc}function yM(e,t){let r=[...e],o=r.length,n=e.map((a,i)=>Eh(a)(a,t[i]));return a=>{for(let i=0;i<o;i++)r[i]=n[i](a);return r}}function Aj(e,t){let r={...e,...t},o={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(o[n]=Eh(e[n])(e[n],t[n]));return n=>{for(let a in o)r[a]=o[a](n);return r}}function Dj(e,t){let r=[],o={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let a=t.types[n],i=e.indexes[a][o[a]],s=e.values[i]??0;r[n]=s,o[a]++}return r}var Nj=(e,t)=>{let r=wr.createTransformer(t),o=Qi(e),n=Qi(t);return o.indexes.var.length===n.indexes.var.length&&o.indexes.color.length===n.indexes.color.length&&o.indexes.number.length>=n.indexes.number.length?Mh.has(e)&&!n.values.length||Mh.has(t)&&!o.values.length?xM(e,t):In(yM(Dj(o,n),n.values),r):(Fa(!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"),tc(e,t))};function Ah(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?ke(e,t,r):Eh(e)(e,t)}var wM=e=>{let t=({timestamp:r})=>e(r);return{start:(r=!0)=>Le.update(t,r),stop:()=>xr(t),now:()=>xt.isProcessing?xt.timestamp:yt.now()}};var Dh=(e,t,r=10)=>{let o="",n=Math.max(Math.round(t/r),2);for(let a=0;a<n;a++)o+=Math.round(e(a/(n-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`};function rc(e){let t=0,r=50,o=e.next(t);for(;!o.done&&t<2e4;)t+=r,o=e.next(t);return t>=2e4?1/0:t}function dp(e,t=100,r){let o=r({...e,keyframes:[0,t]}),n=Math.min(rc(o),2e4);return{type:"keyframes",ease:a=>o.next(n*a).value/t,duration:Bt(n)}}var Oj=5;function Nh(e,t,r){let o=Math.max(t-Oj,0);return Yf(r-e(o),t-o)}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 RC=.001;function CM({duration:e=nt.duration,bounce:t=nt.bounce,velocity:r=nt.velocity,mass:o=nt.mass}){let n,a;Fa(e<=bt(nt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=$t(nt.minDamping,nt.maxDamping,i),e=$t(nt.minDuration,nt.maxDuration,Bt(e)),i<1?(n=u=>{let c=u*i,d=c*e,f=c-r,p=Oh(u,i),g=Math.exp(-d);return RC-f/p*g},a=u=>{let d=u*i*e,f=d*r+r,p=Math.pow(i,2)*Math.pow(u,2)*e,g=Math.exp(-d),m=Oh(Math.pow(u,2),i);return(-n(u)+RC>0?-1:1)*((f-p)*g)/m}):(n=u=>{let c=Math.exp(-u*e),d=(u-r)*e+1;return-RC+c*d},a=u=>{let c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});let s=5/e,l=_j(n,a,s);if(e=bt(e),isNaN(l))return{stiffness:nt.stiffness,damping:nt.damping,duration:e};{let u=Math.pow(l,2)*o;return{stiffness:u,damping:i*2*Math.sqrt(o*u),duration:e}}}var Fj=12;function _j(e,t,r){let o=r;for(let n=1;n<Fj;n++)o=o-e(o)/t(o);return o}function Oh(e,t){return e*Math.sqrt(1-t*t)}var Vj=["duration","bounce"],Bj=["stiffness","damping","mass"];function SM(e,t){return t.some(r=>e[r]!==void 0)}function Hj(e){let t={velocity:nt.velocity,stiffness:nt.stiffness,damping:nt.damping,mass:nt.mass,isResolvedFromDuration:!1,...e};if(!SM(e,Bj)&&SM(e,Vj))if(e.visualDuration){let r=e.visualDuration,o=2*Math.PI/(r*1.2),n=o*o,a=2*$t(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:nt.mass,stiffness:n,damping:a}}else{let r=CM(e);t={...t,...r,mass:nt.mass},t.isResolvedFromDuration=!0}return t}function Ba(e=nt.visualDuration,t=nt.bounce){let r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:o,restDelta:n}=r,a=r.keyframes[0],i=r.keyframes[r.keyframes.length-1],s={done:!1,value:a},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=Hj({...r,velocity:-Bt(r.velocity||0)}),g=f||0,m=u/(2*Math.sqrt(l*c)),x=i-a,h=Bt(Math.sqrt(l/c)),v=Math.abs(x)<5;o||(o=v?nt.restSpeed.granular:nt.restSpeed.default),n||(n=v?nt.restDelta.granular:nt.restDelta.default);let y;if(m<1){let C=Oh(h,m);y=b=>{let S=Math.exp(-m*h*b);return i-S*((g+m*h*x)/C*Math.sin(C*b)+x*Math.cos(C*b))}}else if(m===1)y=C=>i-Math.exp(-h*C)*(x+(g+h*x)*C);else{let C=h*Math.sqrt(m*m-1);y=b=>{let S=Math.exp(-m*h*b),I=Math.min(C*b,300);return i-S*((g+m*h*x)*Math.sinh(I)+C*x*Math.cosh(I))/C}}let w={calculatedDuration:p&&d||null,next:C=>{let b=y(C);if(p)s.done=C>=d;else{let S=C===0?g:0;m<1&&(S=C===0?bt(g):Nh(y,C,b));let I=Math.abs(S)<=o,L=Math.abs(i-b)<=n;s.done=I&&L}return s.value=s.done?i:b,s},toString:()=>{let C=Math.min(rc(w),2e4),b=Dh(S=>w.next(C*S).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}Ba.applyToOptions=e=>{let t=dp(e,100,Ba);return e.ease=t.ease,e.duration=bt(t.duration),e.type="keyframes",e};function fp({keyframes:e,velocity:t=0,power:r=.8,timeConstant:o=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=r*t,x=d+m,h=i===void 0?x:i(x);h!==x&&(m=h-d);let v=I=>-m*Math.exp(-I/o),y=I=>h+v(I),w=I=>{let L=v(I),T=y(I);f.done=Math.abs(L)<=u,f.value=f.done?h:T},C,b,S=I=>{p(f.value)&&(C=I,b=Ba({keyframes:[f.value,g(f.value)],velocity:Nh(y,I,f.value),damping:n,stiffness:a,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:I=>{let L=!1;return!b&&C===void 0&&(L=!0,w(I),S(I)),C!==void 0&&I>=C?b.next(I-C):(!L&&w(I),f)}}}function Uj(e,t,r){let o=[],n=r||vr.mix||Ah,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]||mt:t;s=In(l,s)}o.push(s)}return o}function Fh(e,t,{clamp:r=!0,ease:o,mixer:n}={}){let a=e.length;if(ir(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=Uj(t,o,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=Ho(e[d],e[d+1],c);return s[d](f)};return r?c=>u($t(e[0],e[a-1],c)):u}function pp(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let n=Ho(0,t,o);e.push(ke(r,1,n))}}function mp(e){let t=[0];return pp(t,e.length-1),t}function bM(e,t){return e.map(r=>r*t)}function zj(e,t){return e.map(()=>t||rp).splice(0,e.length-1)}function cl({duration:e=300,keyframes:t,times:r,ease:o="easeInOut"}){let n=op(o)?o.map(Ih):Ih(o),a={done:!1,value:t[0]},i=bM(r&&r.length===t.length?r:mp(t),e),s=Fh(i,t,{ease:Array.isArray(n)?n:zj(t,n)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}var Gj=e=>e!==null;function oc(e,{repeat:t,repeatType:r="loop"},o,n=1){let a=e.filter(Gj),s=n<0||t&&r!=="loop"&&t%2===1?0:a.length-1;return!s||o===void 0?a[s]:o}var Wj={decay:fp,inertia:fp,tween:cl,keyframes:cl,spring:Ba};function _h(e){typeof e.type=="string"&&(e.type=Wj[e.type])}var Zi=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}};var jj=e=>e/100,Ha=class extends Zi{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:r}=this.options;r&&r.updatedAt!==yt.now()&&this.tick(yt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},Pn.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;_h(t);let{type:r=cl,repeat:o=0,repeatDelay:n=0,repeatType:a,velocity:i=0}=t,{keyframes:s}=t,l=r||cl;l!==cl&&typeof s[0]!="number"&&(this.mixKeyframes=In(jj,Ah(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=rc(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(o+1)-n,this.generator=u}updateTime(t){let r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){let{generator:o,totalDuration:n,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return o.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)),r?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,w=o;if(d){let I=Math.min(this.currentTime,n)/s,L=Math.floor(I),T=I%1;!T&&I>=1&&(T=1),T===1&&L--,L=Math.min(L,d+1),!!(L%2)&&(f==="reverse"?(T=1-T,p&&(T-=p/s)):f==="mirror"&&(w=i)),y=$t(0,1,T)*s}let C=v?{done:!1,value:c[0]}:w.next(y);a&&(C.value=a(C.value));let{done:b}=C;!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!==fp&&(C.value=oc(c,this.options,x,this.speed)),m&&m(C.value),S&&this.finish(),C}then(t,r){return this.finished.then(t,r)}get duration(){return Bt(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Bt(t)}get time(){return Bt(this.currentTime)}set time(t){t=bt(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(yt.now());let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Bt(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=wM,startTime:r}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=r??o),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(yt.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,Pn.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 RM(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var dl=e=>e*180/Math.PI,IC=e=>{let t=dl(Math.atan2(e[1],e[0]));return PC(t)},qj={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:IC,rotateZ:IC,skewX:e=>dl(Math.atan(e[1])),skewY:e=>dl(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},PC=e=>(e=e%360,e<0&&(e+=360),e),IM=IC,PM=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),LM=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),$j={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:PM,scaleY:LM,scale:e=>(PM(e)+LM(e))/2,rotateX:e=>PC(dl(Math.atan2(e[6],e[5]))),rotateY:e=>PC(dl(Math.atan2(-e[2],e[0]))),rotateZ:IM,rotate:IM,skewX:e=>dl(Math.atan(e[4])),skewY:e=>dl(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function gp(e){return e.includes("scale")?1:0}function hp(e,t){if(!e||e==="none")return gp(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),o,n;if(r)o=$j,n=r;else{let s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=qj,n=s}if(!n)return gp(t);let a=o[t],i=n[1].split(",").map(Kj);return typeof a=="function"?a(i):i[a]}var LC=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return hp(r,t)};function Kj(e){return parseFloat(e.trim())}var Tn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xo=(()=>new Set(Tn))();var TC=e=>e===la||e===ue,Xj=new Set(["x","y","z"]),Yj=Tn.filter(e=>!Xj.has(e));function TM(e){let t=[];return Yj.forEach(r=>{let o=e.getValue(r);o!==void 0&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))}),t}var Ji={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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})=>hp(t,"x"),y:(e,{transform:t})=>hp(t,"y")};Ji.translateX=Ji.x;Ji.translateY=Ji.y;var fl=new Set,kC=!1,MC=!1,EC=!1;function kM(){if(MC){let e=Array.from(fl).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),r=new Map;t.forEach(o=>{let n=TM(o);n.length&&(r.set(o,n),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();let n=r.get(o);n&&n.forEach(([a,i])=>{o.getValue(a)?.set(i)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}MC=!1,kC=!1,fl.forEach(e=>e.complete(EC)),fl.clear()}function MM(){fl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(MC=!0)})}function AC(){EC=!0,MM(),kM(),EC=!1}var Ua=class{constructor(t,r,o,n,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=o,this.motionValue=n,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(fl.add(this),kC||(kC=!0,Le.read(MM),Le.resolveKeyframes(kM))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:o,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(o&&r){let s=o.readValue(r,i);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=i),n&&a===void 0&&n.set(t[0])}RM(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),fl.delete(this)}cancel(){this.state==="scheduled"&&(fl.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var EM=e=>e.startsWith("--");function AM(e,t,r){EM(t)?e.style.setProperty(t,r):e.style[t]=r}var DM=sl(()=>window.ScrollTimeline!==void 0);var NM={};function OM(e,t){let r=sl(e);return()=>NM[t]??r()}var Vh=OM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var pl=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`;var DC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:pl([0,.65,.55,1]),circOut:pl([.55,0,1,.45]),backIn:pl([.31,.01,.66,-.59]),backOut:pl([.33,1.53,.69,.99])};function NC(e,t){if(e)return typeof e=="function"?Vh()?Dh(e,t):"ease-out":ap(e)?pl(e):Array.isArray(e)?e.map(r=>NC(r,t)||DC.easeOut):DC[e]}function FM(e,t,r,{delay:o=0,duration:n=300,repeat:a=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u=void 0){let c={[t]:r};l&&(c.offset=l);let d=NC(s,n);Array.isArray(d)&&(c.easing=d),Jr.value&&Pn.waapi++;let f={delay:o,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 Jr.value&&p.finished.finally(()=>{Pn.waapi--}),p}function ml(e){return typeof e=="function"&&"applyToOptions"in e}function _M({type:e,...t}){return ml(e)&&Vh()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var Bh=class extends Zi{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:r,name:o,keyframes:n,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,ir(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=_M(t);this.animation=FM(r,o,n,u,a),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let c=oc(n,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(c):AM(r,o,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 Bt(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Bt(t)}get time(){return Bt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=bt(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:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&DM()?(this.animation.timeline=t,mt):r(this)}};var VM={anticipate:Zf,backInOut:Qf,circInOut:tp};function Qj(e){return e in VM}function BM(e){typeof e.ease=="string"&&Qj(e.ease)&&(e.ease=VM[e.ease])}var HM=10,Hh=class extends Bh{constructor(t){BM(t),_h(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:o,onComplete:n,element:a,...i}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}let s=new Ha({...i,autoplay:!1}),l=bt(this.finishedTime??this.time);r.setWithVelocity(s.sample(l-HM).value,s.sample(l).value,HM),s.stop()}};var OC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(wr.test(e)||e==="0")&&!e.startsWith("url("));function Zj(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function UM(e,t,r,o){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],i=OC(n,t),s=OC(a,t);return Fa(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:Zj(e)||(r==="spring"||ml(r))&&o}function nc(e){e.duration=0,e.type="keyframes"}var Jj=new Set(["opacity","clipPath","filter","transform"]),e6=sl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function zM(e){let{motionValue:t,name:r,repeatDelay:o,repeatType:n,damping:a,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return e6()&&r&&Jj.has(r)&&(r!=="transform"||!u)&&!l&&!o&&n!=="mirror"&&a!==0&&i!=="inertia"}var t6=40,vp=class extends Zi{constructor({autoplay:t=!0,delay:r=0,type:o="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=yt.now();let f={autoplay:t,delay:r,type:o,repeat:n,repeatDelay:a,repeatType:i,name:l,motionValue:u,element:c,...d},p=c?.KeyframeResolver||Ua;this.keyframeResolver=new p(s,(g,m,x)=>this.onKeyframesResolved(g,m,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,o,n){this.keyframeResolver=void 0;let{name:a,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:c}=o;this.resolvedAt=yt.now(),UM(t,a,i,s)||((vr.instantAnimations||!l)&&c?.(oc(t,o,r)),t[0]=t[t.length-1],nc(o),o.repeat=0);let f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>t6?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...o,keyframes:t},p=!u&&zM(f)?new Hh({...f,element:f.motionValue.owner.current}):new Ha(f);p.finished.then(()=>this.notifyFinished()).catch(mt),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,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),AC()),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 Uh=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,r){for(let o=0;o<this.animations.length;o++)this.animations[o][t]=r}attachTimeline(t){let r=this.animations.map(o=>o.attachTimeline(t));return()=>{r.forEach((o,n)=>{o&&o(),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 GM(this.animations,"duration")}get iterationDuration(){return GM(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(r=>r[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function GM(e,t){let r=0;for(let o=0;o<e.length;o++){let n=e[o][t];n!==null&&n>r&&(r=n)}return r}var xp=class extends Uh{then(t,r){return this.finished.finally(t).then(()=>{})}};var r6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function o6(e){let t=r6.exec(e);if(!t)return[,];let[,r,o,n]=t;return[`--${r??o}`,n]}var n6=4;function FC(e,t,r=1){ir(r<=n6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[o,n]=o6(e);if(!o)return;let a=window.getComputedStyle(t).getPropertyValue(o);if(a){let i=a.trim();return $f(i)?parseFloat(i):i}return ul(n)?FC(n,t,r+1):n}function gl(e,t){return e?.[t]??e?.default??e}var yp=new Set(["width","height","top","left","right","bottom",...Tn]);var WM={test:e=>e==="auto",parse:e=>e};var zh=e=>t=>t.test(e);var _C=[la,ue,yr,Ln,yC,xC,WM],VC=e=>_C.find(zh(e));function jM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Xf(e):!0}var a6=new Set(["brightness","contrast","saturate","opacity"]);function i6(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[o]=r.match(Ju)||[];if(!o)return e;let n=r.replace(o,""),a=a6.has(t)?1:0;return o!==r&&(a*=100),t+"("+a+n+")"}var s6=/\b([a-z-]*)\(.*?\)/gu,wp={...wr,getAnimatableNone:e=>{let t=e.match(s6);return t?t.map(i6).join(" "):e}};var BC={...la,transform:Math.round};var qM={rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:lp,scaleX:lp,scaleY:lp,scaleZ:lp,skew:Ln,skewX:Ln,skewY:Ln,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:Va,originX:kh,originY:kh,originZ:ue};var hl={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,...qM,zIndex:BC,fillOpacity:Va,strokeOpacity:Va,numOctaves:BC};var $M={...hl,color:lt,backgroundColor:lt,outlineColor:lt,fill:lt,stroke:lt,borderColor:lt,borderTopColor:lt,borderRightColor:lt,borderBottomColor:lt,borderLeftColor:lt,filter:wp,WebkitFilter:wp},Cp=e=>$M[e];function Sp(e,t){let r=Cp(e);return r!==wp&&(r=wr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var l6=new Set(["auto","none","0"]);function KM(e,t,r){let o=0,n;for(;o<e.length&&!n;){let a=e[o];typeof a=="string"&&!l6.has(a)&&Qi(a).values.length&&(n=e[o]),o++}if(n&&r)for(let a of t)e[a]=Sp(r,n)}var bp=class extends Ua{constructor(t,r,o,n,a){super(t,r,o,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),ul(u))){let c=FC(u,r.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!yp.has(o)||t.length!==2)return;let[n,a]=t,i=VC(n),s=VC(a);if(i!==s)if(TC(i)&&TC(s))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else Ji[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,o=[];for(let n=0;n<t.length;n++)(t[n]===null||jM(t[n]))&&o.push(n);o.length&&KM(t,o,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ji[o](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let n=r[r.length-1];n!==void 0&&t.getValue(o,n).jump(n,!1)}measureEndState(){let{element:t,name:r,unresolvedKeyframes:o}=this;if(!t||!t.current)return;let n=t.getValue(r);n&&n.jump(this.measuredOrigin,!1);let a=o.length-1,i=o[a];o[a]=Ji[r](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 Rp(e,t,r){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);let n=r?.[e]??o.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}var Ip=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Pp(e){return Kf(e)&&"offsetHeight"in e}var XM=30,u6=e=>!isNaN(parseFloat(e)),vl={current:void 0},Gh=class{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{let n=yt.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),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=r.owner}setCurrent(t){this.current=t,this.updatedAt=yt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=u6(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new _a);let o=this.events[t].add(r);return t==="change"?()=>{o(),Le.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,o){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&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 vl.current&&vl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=yt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>XM)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,XM);return Yf(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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 eo(e,t){return new Gh(e,t)}var{schedule:xl,cancel:c6}=Ph(queueMicrotask,!1);var Uo={x:!1,y:!1};function Wh(){return Uo.x||Uo.y}function HC(e){return e==="x"||e==="y"?Uo[e]?null:(Uo[e]=!0,()=>{Uo[e]=!1}):Uo.x||Uo.y?null:(Uo.x=Uo.y=!0,()=>{Uo.x=Uo.y=!1})}function jh(e,t){let r=Rp(e),o=new AbortController,n={passive:!0,...t,signal:o.signal};return[r,n,()=>o.abort()]}function YM(e){return!(e.pointerType==="touch"||Wh())}function UC(e,t,r={}){let[o,n,a]=jh(e,r),i=s=>{if(!YM(s))return;let{target:l}=s,u=t(l,s);if(typeof u!="function"||!l)return;let c=d=>{YM(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,n)};return o.forEach(s=>{s.addEventListener("pointerenter",i,n)}),a}var zC=(e,t)=>t?e===t?!0:zC(e,t.parentElement):!1;var yl=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var d6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function QM(e){return d6.has(e.tagName)||e.tabIndex!==-1}var ac=new WeakSet;function ZM(e){return t=>{t.key==="Enter"&&e(t)}}function GC(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var JM=(e,t)=>{let r=e.currentTarget;if(!r)return;let o=ZM(()=>{if(ac.has(r))return;GC(r,"down");let n=ZM(()=>{GC(r,"up")}),a=()=>GC(r,"cancel");r.addEventListener("keyup",n,t),r.addEventListener("blur",a,t)});r.addEventListener("keydown",o,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",o),t)};function eE(e){return yl(e)&&!Wh()}function WC(e,t,r={}){let[o,n,a]=jh(e,r),i=s=>{let l=s.currentTarget;if(!eE(s))return;ac.add(l);let u=t(l,s),c=(p,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),ac.has(l)&&ac.delete(l),eE(p)&&typeof u=="function"&&u(p,{success:g})},d=p=>{c(p,l===window||l===document||r.useGlobalTarget||zC(l,p.target))},f=p=>{c(p,!1)};window.addEventListener("pointerup",d,n),window.addEventListener("pointercancel",f,n)};return o.forEach(s=>{(r.useGlobalTarget?window:s).addEventListener("pointerdown",i,n),Pp(s)&&(s.addEventListener("focus",u=>JM(u,n)),!QM(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),a}function wl(e){return Kf(e)&&"ownerSVGElement"in e}function Lp(e){return wl(e)&&e.tagName==="svg"}function jC(...e){let t=!Array.isArray(e[0]),r=t?0:-1,o=e[0+r],n=e[1+r],a=e[2+r],i=e[3+r],s=Fh(n,a,i);return t?s(o):s}var Ve=e=>!!(e&&e.getVelocity);var f6=[..._C,lt,wr],qC=e=>f6.find(zh(e));var qh=R(M(),1),za=R(M(),1);var tE=R(M(),1),es=(0,tE.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var oE=R(M(),1);function rE(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function p6(...e){return t=>{let r=!1,o=e.map(n=>{let a=rE(n,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let n=0;n<o.length;n++){let a=o[n];typeof a=="function"?a():rE(e[n],null)}}}}function nE(...e){return oE.useCallback(p6(...e),e)}var $C=class extends qh.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let o=r.offsetParent,n=Pp(o)&&o.offsetWidth||0,a=this.props.sizeRef.current;a.height=r.offsetHeight||0,a.width=r.offsetWidth||0,a.top=r.offsetTop,a.left=r.offsetLeft,a.right=n-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}};function iE({children:e,isPresent:t,anchorX:r,root:o}){let n=(0,za.useId)(),a=(0,za.useRef)(null),i=(0,za.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,za.useContext)(es),l=nE(a,e?.ref);return(0,za.useInsertionEffect)(()=>{let{width:u,height:c,top:d,left:f,right:p}=i.current;if(t||!a.current||!u||!c)return;let g=r==="left"?`left: ${f}`:`right: ${p}`;a.current.dataset.motionPopId=n;let m=document.createElement("style");s&&(m.nonce=s);let x=o??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;