";t3=t3.removeChild(t3.firstChild);break;case"select":t3="string"===typeof n2.is?a3.createElement("select",{is:n2.is}):a3.createElement("select");n2.multiple?t3.multiple=true:n2.size&&(t3.size=n2.size);break;default:t3="string"===typeof n2.is?a3.createElement(l2,{is:n2.is}):a3.createElement(l2)}}t3[It5]=e7;t3[ae7]=n2;t:for(a3=e7.child;null!==a3;){if(5===a3.tag||6===a3.tag)t3.appendChild(a3.stateNode);else if(4!==a3.tag&&27!==a3.tag&&null!==a3.child){a3.child.return=a3;a3=a3.child;continue}if(a3===e7)break t;for(;null===a3.sibling;){if(null===a3.return||a3.return===e7)break t;a3=a3.return}a3.sibling.return=a3.return;a3=a3.sibling}e7.stateNode=t3;t:switch(Pt4(t3,l2,n2),l2){case"button":case"input":case"select":case"textarea":t3=!!n2.autoFocus;break t;case"img":t3=true;break t;default:t3=false}t3&&ul2(e7)}}Bt4(e7);e7.flags&=-16777217;return null;case 6:if(t3&&null!=e7.stateNode)t3.memoizedProps!==n2&&ul2(e7);else{if("string"!==typeof n2&&null===e7.stateNode)throw Error(o6(166));t3=ut5.current;if(Ta2(e7)){t3=e7.stateNode;l2=e7.memoizedProps;n2=null;a3=ne7;if(null!==a3)switch(a3.tag){case 27:case 5:n2=a3.memoizedProps}t3[It5]=e7;t3=t3.nodeValue===l2||null!==n2&&true===n2.suppressHydrationWarning||vm(t3.nodeValue,l2)?true:false;t3||Pl2(e7)}else t3=hi2(t3).createTextNode(n2),t3[It5]=e7,e7.stateNode=t3}Bt4(e7);return null;case 13:n2=e7.memoizedState;if(null===t3||null!==t3.memoizedState&&null!==t3.memoizedState.dehydrated){a3=Ta2(e7);if(null!==n2&&null!==n2.dehydrated){if(null===t3){if(!a3)throw Error(o6(318));a3=e7.memoizedState;a3=null!==a3?a3.dehydrated:null;if(!a3)throw Error(o6(317));a3[It5]=e7}else Oa2(),0===(e7.flags&128)&&(e7.memoizedState=null),e7.flags|=4;Bt4(e7);a3=false}else a3=ts3(),null!==t3&&null!==t3.memoizedState&&(t3.memoizedState.hydrationErrors=a3),a3=true;if(!a3){if(e7.flags&256)return nl2(e7),e7;nl2(e7);return null}}nl2(e7);if(0!==(e7.flags&128))return e7.lanes=l2,e7;l2=null!==n2;t3=null!==t3&&null!==t3.memoizedState;if(l2){n2=e7.child;a3=null;null!==n2.alternate&&null!==n2.alternate.memoizedState&&null!==n2.alternate.memoizedState.cachePool&&(a3=n2.alternate.memoizedState.cachePool.pool);var c5=null;null!==n2.memoizedState&&null!==n2.memoizedState.cachePool&&(c5=n2.memoizedState.cachePool.pool);c5!==a3&&(n2.flags|=2048)}l2!==t3&&l2&&(e7.child.flags|=8192);ei2(e7,e7.updateQueue);Bt4(e7);return null;case 4:return le4(),null===t3&&Xr2(e7.stateNode.containerInfo),Bt4(e7),null;case 10:return el2(e7.type),Bt4(e7),null;case 19:$5(Qt4);a3=e7.memoizedState;if(null===a3)return Bt4(e7),null;n2=0!==(e7.flags&128);c5=a3.rendering;if(null===c5)if(n2)Ga2(a3,false);else{if(0!==qt5||null!==t3&&0!==(t3.flags&128))for(t3=e7.child;null!==t3;){c5=$u(t3);if(null!==c5){e7.flags|=128;Ga2(a3,false);t3=c5.updateQueue;e7.updateQueue=t3;ei2(e7,t3);e7.subtreeFlags=0;t3=l2;for(l2=e7.child;null!==l2;)$f(l2,t3),l2=l2.sibling;K4(Qt4,Qt4.current&1|2);return e7.child}t3=t3.sibling}null!==a3.tail&&qe6()>ai2&&(e7.flags|=128,n2=true,Ga2(a3,false),e7.lanes=4194304)}else{if(!n2)if(t3=$u(c5),null!==t3){if(e7.flags|=128,n2=true,t3=t3.updateQueue,e7.updateQueue=t3,ei2(e7,t3),Ga2(a3,true),null===a3.tail&&"hidden"===a3.tailMode&&!c5.alternate&&!Tt5)return Bt4(e7),null}else 2*qe6()-a3.renderingStartTime>ai2&&536870912!==l2&&(e7.flags|=128,n2=true,Ga2(a3,false),e7.lanes=4194304);a3.isBackwards?(c5.sibling=e7.child,e7.child=c5):(t3=a3.last,null!==t3?t3.sibling=c5:e7.child=c5,a3.last=c5)}if(null!==a3.tail)return e7=a3.tail,a3.rendering=e7,a3.tail=e7.sibling,a3.renderingStartTime=qe6(),e7.sibling=null,t3=Qt4.current,K4(Qt4,n2?t3&1|2:t3&1),e7;Bt4(e7);return null;case 22:case 23:return nl2(e7),Qc2(),n2=null!==e7.memoizedState,null!==t3?null!==t3.memoizedState!==n2&&(e7.flags|=8192):n2&&(e7.flags|=8192),n2?0!==(l2&536870912)&&0===(e7.flags&128)&&(Bt4(e7),e7.subtreeFlags&6&&(e7.flags|=8192)):Bt4(e7),l2=e7.updateQueue,null!==l2&&ei2(e7,l2.retryQueue),l2=null,null!==t3&&null!==t3.memoizedState&&null!==t3.memoizedState.cachePool&&(l2=t3.memoizedState.cachePool.pool),n2=null,null!==e7.memoizedState&&null!==e7.memoizedState.cachePool&&(n2=e7.memoizedState.cachePool.pool),n2!==l2&&(e7.flags|=2048),null!==t3&&$5(en3),null;case 24:return l2=null,null!==t3&&(l2=t3.memoizedState.cache),e7.memoizedState.cache!==l2&&(e7.flags|=2048),el2(Vt4),Bt4(e7),null;case 25:return null;case 30:return null}throw Error(o6(156,e7.tag))}__name(ry,"ry");i(ry,"completeWork");function oy(t3,e7){_c2(e7);switch(e7.tag){case 1:return t3=e7.flags,t3&65536?(e7.flags=t3&-65537|128,e7):null;case 3:return el2(Vt4),le4(),t3=e7.flags,0!==(t3&65536)&&0===(t3&128)?(e7.flags=t3&-65537|128,e7):null;case 26:case 27:case 5:return Be7(e7),null;case 13:nl2(e7);t3=e7.memoizedState;if(null!==t3&&null!==t3.dehydrated){if(null===e7.alternate)throw Error(o6(340));Oa2()}t3=e7.flags;return t3&65536?(e7.flags=t3&-65537|128,e7):null;case 19:return $5(Qt4),null;case 4:return le4(),null;case 10:return el2(e7.type),null;case 22:case 23:return nl2(e7),Qc2(),null!==t3&&$5(en3),t3=e7.flags,t3&65536?(e7.flags=t3&-65537|128,e7):null;case 24:return el2(Vt4),null;case 25:return null;default:return null}}__name(oy,"oy");i(oy,"unwindWork");function Ad(t3,e7){_c2(e7);switch(e7.tag){case 3:el2(Vt4);le4();break;case 26:case 27:case 5:Be7(e7);break;case 4:le4();break;case 13:nl2(e7);break;case 19:$5(Qt4);break;case 10:el2(e7.type);break;case 22:case 23:nl2(e7);Qc2();null!==t3&&$5(en3);break;case 24:el2(Vt4)}}__name(Ad,"Ad");i(Ad,"unwindInterruptedWork");function Xa2(t3,e7){try{var l2=e7.updateQueue,n2=null!==l2?l2.lastEffect:null;if(null!==n2){var a3=n2.next;l2=a3;do{if((l2.tag&t3)===t3){n2=void 0;var c5=l2.create,s2=l2.inst;n2=c5();s2.destroy=n2}l2=l2.next}while(l2!==a3)}}catch(m4){Dt5(e7,e7.return,m4)}}__name(Xa2,"Xa");i(Xa2,"commitHookEffectListMount");function Ol2(t3,e7,l2){try{var n2=e7.updateQueue,a3=null!==n2?n2.lastEffect:null;if(null!==a3){var c5=a3.next;n2=c5;do{if((n2.tag&t3)===t3){var s2=n2.inst,m4=s2.destroy;if(void 0!==m4){s2.destroy=void 0;a3=e7;var b=l2,M4=m4;try{M4()}catch(L2){Dt5(a3,b,L2)}}}n2=n2.next}while(n2!==c5)}}catch(L2){Dt5(e7,e7.return,L2)}}__name(Ol2,"Ol");i(Ol2,"commitHookEffectListUnmount");function Td(t3){var e7=t3.updateQueue;if(null!==e7){var l2=t3.stateNode;try{ss3(e7,l2)}catch(n2){Dt5(t3,t3.return,n2)}}}__name(Td,"Td");i(Td,"commitClassCallbacks");function Od(t3,e7,l2){l2.props=nn3(t3.type,t3.memoizedProps);l2.state=t3.memoizedState;try{l2.componentWillUnmount()}catch(n2){Dt5(t3,e7,n2)}}__name(Od,"Od");i(Od,"safelyCallComponentWillUnmount");function Va2(t3,e7){try{var l2=t3.ref;if(null!==l2){switch(t3.tag){case 26:case 27:case 5:var n2=t3.stateNode;break;case 30:n2=t3.stateNode;break;default:n2=t3.stateNode}"function"===typeof l2?t3.refCleanup=l2(n2):l2.current=n2}}catch(a3){Dt5(t3,e7,a3)}}__name(Va2,"Va");i(Va2,"safelyAttachRef");function Ge8(t3,e7){var l2=t3.ref,n2=t3.refCleanup;if(null!==l2)if("function"===typeof n2)try{n2()}catch(a3){Dt5(t3,e7,a3)}finally{t3.refCleanup=null,t3=t3.alternate,null!=t3&&(t3.refCleanup=null)}else if("function"===typeof l2)try{l2(null)}catch(a3){Dt5(t3,e7,a3)}else l2.current=null}__name(Ge8,"Ge");i(Ge8,"safelyDetachRef");function wd(t3){var e7=t3.type,l2=t3.memoizedProps,n2=t3.stateNode;try{t:switch(e7){case"button":case"input":case"select":case"textarea":l2.autoFocus&&n2.focus();break t;case"img":l2.src?n2.src=l2.src:l2.srcSet&&(n2.srcset=l2.srcSet)}}catch(a3){Dt5(t3,t3.return,a3)}}__name(wd,"wd");i(wd,"commitHostMount");function pr2(t3,e7,l2){try{var n2=t3.stateNode;_y(n2,t3.type,l2,e7);n2[ae7]=e7}catch(a3){Dt5(t3,t3.return,a3)}}__name(pr2,"pr");i(pr2,"commitHostUpdate");function Rd(t3){return 5===t3.tag||3===t3.tag||26===t3.tag||27===t3.tag&&Nl2(t3.type)||4===t3.tag}__name(Rd,"Rd");i(Rd,"isHostParent");function br2(t3){t:for(;;){for(;null===t3.sibling;){if(null===t3.return||Rd(t3.return))return null;t3=t3.return}t3.sibling.return=t3.return;for(t3=t3.sibling;5!==t3.tag&&6!==t3.tag&&18!==t3.tag;){if(27===t3.tag&&Nl2(t3.type))continue t;if(t3.flags&2)continue t;if(null===t3.child||4===t3.tag)continue t;else t3.child.return=t3,t3=t3.child}if(!(t3.flags&2))return t3.stateNode}}__name(br2,"br");i(br2,"getHostSibling");function Sr2(t3,e7,l2){var n2=t3.tag;if(5===n2||6===n2)t3=t3.stateNode,e7?(9===l2.nodeType?l2.body:"HTML"===l2.nodeName?l2.ownerDocument.body:l2).insertBefore(t3,e7):(e7=9===l2.nodeType?l2.body:"HTML"===l2.nodeName?l2.ownerDocument.body:l2,e7.appendChild(t3),l2=l2._reactRootContainer,null!==l2&&void 0!==l2||null!==e7.onclick||(e7.onclick=mi2));else if(4!==n2&&(27===n2&&Nl2(t3.type)&&(l2=t3.stateNode,e7=null),t3=t3.child,null!==t3))for(Sr2(t3,e7,l2),t3=t3.sibling;null!==t3;)Sr2(t3,e7,l2),t3=t3.sibling}__name(Sr2,"Sr");i(Sr2,"insertOrAppendPlacementNodeIntoContainer");function li2(t3,e7,l2){var n2=t3.tag;if(5===n2||6===n2)t3=t3.stateNode,e7?l2.insertBefore(t3,e7):l2.appendChild(t3);else if(4!==n2&&(27===n2&&Nl2(t3.type)&&(l2=t3.stateNode),t3=t3.child,null!==t3))for(li2(t3,e7,l2),t3=t3.sibling;null!==t3;)li2(t3,e7,l2),t3=t3.sibling}__name(li2,"li");i(li2,"insertOrAppendPlacementNode");function Md(t3){var e7=t3.stateNode,l2=t3.memoizedProps;try{for(var n2=t3.type,a3=e7.attributes;a3.length;)e7.removeAttributeNode(a3[0]);Pt4(e7,n2,l2);e7[It5]=t3;e7[ae7]=l2}catch(c5){Dt5(t3,t3.return,c5)}}__name(Md,"Md");i(Md,"commitHostSingletonAcquisition");var il2=false,jt4=false,Er2=false,zd="function"===typeof WeakSet?WeakSet:Set,Jt4=null;function fy(t3,e7){t3=t3.containerInfo;Zr2=Si2;t3=jf(t3);if(bc2(t3)){if("selectionStart"in t3)var l2={start:t3.selectionStart,end:t3.selectionEnd};else t:{l2=(l2=t3.ownerDocument)&&l2.defaultView||window;var n2=l2.getSelection&&l2.getSelection();if(n2&&0!==n2.rangeCount){l2=n2.anchorNode;var a3=n2.anchorOffset,c5=n2.focusNode;n2=n2.focusOffset;try{l2.nodeType,c5.nodeType}catch(nt6){l2=null;break t}var s2=0,m4=-1,b=-1,M4=0,L2=0,j4=t3,_2=null;e:for(;;){for(var N4;;){j4!==l2||0!==a3&&3!==j4.nodeType||(m4=s2+a3);j4!==c5||0!==n2&&3!==j4.nodeType||(b=s2+n2);3===j4.nodeType&&(s2+=j4.nodeValue.length);if(null===(N4=j4.firstChild))break;_2=j4;j4=N4}for(;;){if(j4===t3)break e;_2===l2&&++M4===a3&&(m4=s2);_2===c5&&++L2===n2&&(b=s2);if(null!==(N4=j4.nextSibling))break;j4=_2;_2=j4.parentNode}j4=N4}l2=-1===m4||-1===b?null:{start:m4,end:b}}else l2=null}l2=l2||{start:0,end:0}}else l2=null;kr2={focusedElem:t3,selectionRange:l2};Si2=false;for(Jt4=e7;null!==Jt4;)if(e7=Jt4,t3=e7.child,0!==(e7.subtreeFlags&1024)&&null!==t3)t3.return=e7,Jt4=t3;else for(;null!==Jt4;){e7=Jt4;c5=e7.alternate;t3=e7.flags;switch(e7.tag){case 0:break;case 11:case 15:break;case 1:if(0!==(t3&1024)&&null!==c5){t3=void 0;l2=e7;a3=c5.memoizedProps;c5=c5.memoizedState;n2=l2.stateNode;try{var it5=nn3(l2.type,a3,l2.elementType===l2.type);t3=n2.getSnapshotBeforeUpdate(it5,c5);n2.__reactInternalSnapshotBeforeUpdate=t3}catch(nt6){Dt5(l2,l2.return,nt6)}}break;case 3:if(0!==(t3&1024)){if(t3=e7.stateNode.containerInfo,l2=t3.nodeType,9===l2)Wr2(t3);else if(1===l2)switch(t3.nodeName){case"HEAD":case"HTML":case"BODY":Wr2(t3);break;default:t3.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(t3&1024))throw Error(o6(163))}t3=e7.sibling;if(null!==t3){t3.return=e7.return;Jt4=t3;break}Jt4=e7.return}}__name(fy,"fy");i(fy,"commitBeforeMutationEffects");function _d(t3,e7,l2){var n2=l2.flags;switch(l2.tag){case 0:case 11:case 15:wl2(t3,l2);n2&4&&Xa2(5,l2);break;case 1:wl2(t3,l2);if(n2&4)if(t3=l2.stateNode,null===e7)try{t3.componentDidMount()}catch(s2){Dt5(l2,l2.return,s2)}else{var a3=nn3(l2.type,e7.memoizedProps);e7=e7.memoizedState;try{t3.componentDidUpdate(a3,e7,t3.__reactInternalSnapshotBeforeUpdate)}catch(s2){Dt5(l2,l2.return,s2)}}n2&64&&Td(l2);n2&512&&Va2(l2,l2.return);break;case 3:wl2(t3,l2);if(n2&64&&(t3=l2.updateQueue,null!==t3)){e7=null;if(null!==l2.child)switch(l2.child.tag){case 27:case 5:e7=l2.child.stateNode;break;case 1:e7=l2.child.stateNode}try{ss3(t3,e7)}catch(s2){Dt5(l2,l2.return,s2)}}break;case 27:null===e7&&n2&4&&Md(l2);case 26:case 5:wl2(t3,l2);null===e7&&n2&4&&wd(l2);n2&512&&Va2(l2,l2.return);break;case 12:wl2(t3,l2);break;case 13:wl2(t3,l2);n2&4&&Nd(t3,l2);n2&64&&(t3=l2.memoizedState,null!==t3&&(t3=t3.dehydrated,null!==t3&&(l2=by.bind(null,l2),Ly(t3,l2))));break;case 22:n2=null!==l2.memoizedState||il2;if(!n2){e7=null!==e7&&null!==e7.memoizedState||jt4;a3=il2;var c5=jt4;il2=n2;(jt4=e7)&&!c5?Rl2(t3,l2,0!==(l2.subtreeFlags&8772)):wl2(t3,l2);il2=a3;jt4=c5}break;case 30:break;default:wl2(t3,l2)}}__name(_d,"_d");i(_d,"commitLayoutEffectOnFiber");function Cd(t3){var e7=t3.alternate;null!==e7&&(t3.alternate=null,Cd(e7));t3.child=null;t3.deletions=null;t3.sibling=null;5===t3.tag&&(e7=t3.stateNode,null!==e7&&tc2(e7));t3.stateNode=null;t3.return=null;t3.dependencies=null;t3.memoizedProps=null;t3.memoizedState=null;t3.pendingProps=null;t3.stateNode=null;t3.updateQueue=null}__name(Cd,"Cd");i(Cd,"detachFiberAfterEffects");var Ut3=null,ce5=false;function cl2(t3,e7,l2){for(l2=l2.child;null!==l2;)Dd(t3,e7,l2),l2=l2.sibling}__name(cl2,"cl");i(cl2,"recursivelyTraverseDeletionEffects");function Dd(t3,e7,l2){if(oe5&&"function"===typeof oe5.onCommitFiberUnmount)try{oe5.onCommitFiberUnmount(fa2,l2)}catch(c5){}switch(l2.tag){case 26:jt4||Ge8(l2,e7);cl2(t3,e7,l2);l2.memoizedState?l2.memoizedState.count--:l2.stateNode&&(l2=l2.stateNode,l2.parentNode.removeChild(l2));break;case 27:jt4||Ge8(l2,e7);var n2=Ut3,a3=ce5;Nl2(l2.type)&&(Ut3=l2.stateNode,ce5=false);cl2(t3,e7,l2);Pa2(l2.stateNode);Ut3=n2;ce5=a3;break;case 5:jt4||Ge8(l2,e7);case 6:n2=Ut3;a3=ce5;Ut3=null;cl2(t3,e7,l2);Ut3=n2;ce5=a3;if(null!==Ut3)if(ce5)try{(9===Ut3.nodeType?Ut3.body:"HTML"===Ut3.nodeName?Ut3.ownerDocument.body:Ut3).removeChild(l2.stateNode)}catch(c5){Dt5(l2,e7,c5)}else try{Ut3.removeChild(l2.stateNode)}catch(c5){Dt5(l2,e7,c5)}break;case 18:null!==Ut3&&(ce5?(t3=Ut3,Sm(9===t3.nodeType?t3.body:"HTML"===t3.nodeName?t3.ownerDocument.body:t3,l2.stateNode),iu2(t3)):Sm(Ut3,l2.stateNode));break;case 4:n2=Ut3;a3=ce5;Ut3=l2.stateNode.containerInfo;ce5=true;cl2(t3,e7,l2);Ut3=n2;ce5=a3;break;case 0:case 11:case 14:case 15:jt4||Ol2(2,l2,e7);jt4||Ol2(4,l2,e7);cl2(t3,e7,l2);break;case 1:jt4||(Ge8(l2,e7),n2=l2.stateNode,"function"===typeof n2.componentWillUnmount&&Od(l2,e7,n2));cl2(t3,e7,l2);break;case 21:cl2(t3,e7,l2);break;case 22:jt4=(n2=jt4)||null!==l2.memoizedState;cl2(t3,e7,l2);jt4=n2;break;default:cl2(t3,e7,l2)}}__name(Dd,"Dd");i(Dd,"commitDeletionEffectsOnFiber");function Nd(t3,e7){if(null===e7.memoizedState&&(t3=e7.alternate,null!==t3&&(t3=t3.memoizedState,null!==t3&&(t3=t3.dehydrated,null!==t3))))try{iu2(t3)}catch(l2){Dt5(e7,e7.return,l2)}}__name(Nd,"Nd");i(Nd,"commitSuspenseHydrationCallbacks");function sy(t3){switch(t3.tag){case 13:case 19:var e7=t3.stateNode;null===e7&&(e7=t3.stateNode=new zd);return e7;case 22:return t3=t3.stateNode,e7=t3._retryCache,null===e7&&(e7=t3._retryCache=new zd),e7;default:throw Error(o6(435,t3.tag))}}__name(sy,"sy");i(sy,"getRetryCache");function xr2(t3,e7){var l2=sy(t3);e7.forEach(function(n2){var a3=Sy.bind(null,t3,n2);l2.has(n2)||(l2.add(n2),n2.then(a3,a3))})}__name(xr2,"xr");i(xr2,"attachSuspenseRetryListeners");function me4(t3,e7){var l2=e7.deletions;if(null!==l2)for(var n2=0;n2 title"));Pt4(c5,n2,l2);c5[It5]=t3;kt4(c5);n2=c5;break t;case"link":var s2=Mm("link","href",a3).get(n2+(l2.href||""));if(s2){for(var m4=0;m4Ct4&&(s2=Ct4,Ct4=nt6,nt6=s2);var T3=qf(m4,nt6),x2=qf(m4,Ct4);if(T3&&x2&&(1!==N4.rangeCount||N4.anchorNode!==T3.node||N4.anchorOffset!==T3.offset||N4.focusNode!==x2.node||N4.focusOffset!==x2.offset)){var R4=j4.createRange();R4.setStart(T3.node,T3.offset);N4.removeAllRanges();nt6>Ct4?(N4.addRange(R4),N4.extend(x2.node,x2.offset)):(R4.setEnd(x2.node,x2.offset),N4.addRange(R4))}}}}j4=[];for(N4=m4;N4=N4.parentNode;)1===N4.nodeType&&j4.push({element:N4,left:N4.scrollLeft,top:N4.scrollTop});"function"===typeof m4.focus&&m4.focus();for(m4=0;m4l2?32:l2;C4.T=null;l2=_r2;_r2=null;var c5=Cl2,s2=Vn3;Ft4=0;Xn4=Cl2=null;Vn3=0;if(0!==(wt4&6))throw Error(o6(331));var m4=wt4;wt4|=4;Yd(c5.current);Bd(c5,c5.current,s2,l2);wt4=m4;Wa2(0,false);if(oe5&&"function"===typeof oe5.onPostCommitFiberRoot)try{oe5.onPostCommitFiberRoot(fa2,c5)}catch(b){}return true}finally{V3.p=a3,C4.T=n2,em(t3,e7)}}__name(lm,"lm");i(lm,"flushPassiveEffects");function nm(t3,e7,l2){e7=xe3(l2,e7);e7=or3(t3.stateNode,e7,2);t3=El2(t3,e7,2);null!==t3&&(da2(t3,2),Ve6(t3))}__name(nm,"nm");i(nm,"captureCommitPhaseErrorOnRoot");function Dt5(t3,e7,l2){if(3===t3.tag)nm(t3,t3,l2);else for(;null!==e7;){if(3===e7.tag){nm(e7,t3,l2);break}else if(1===e7.tag){var n2=e7.stateNode;if("function"===typeof e7.type.getDerivedStateFromError||"function"===typeof n2.componentDidCatch&&(null===_l2||!_l2.has(n2))){t3=xe3(l2,t3);l2=cd(2);n2=El2(e7,l2,2);null!==n2&&(rd(l2,n2,e7,t3),da2(n2,2),Ve6(n2));break}}e7=e7.return}}__name(Dt5,"Dt");i(Dt5,"captureCommitPhaseError");function Hr2(t3,e7,l2){var n2=t3.pingCache;if(null===n2){n2=t3.pingCache=new my;var a3=new Set;n2.set(e7,a3)}else a3=n2.get(e7),void 0===a3&&(a3=new Set,n2.set(e7,a3));a3.has(l2)||(Or2=true,a3.add(l2),t3=py.bind(null,t3,e7,l2),e7.then(t3,t3))}__name(Hr2,"Hr");i(Hr2,"attachPingListener");function py(t3,e7,l2){var n2=t3.pingCache;null!==n2&&n2.delete(e7);t3.pingedLanes|=t3.suspendedLanes&l2;t3.warmLanes&=~l2;Nt5===t3&&(bt6&l2)===l2&&(4===qt5||3===qt5&&(bt6&62914560)===bt6&&300>qe6()-Mr2?0===(wt4&2)&&Qn4(t3,0):wr2|=l2,Gn4===bt6&&(Gn4=0));Ve6(t3)}__name(py,"py");i(py,"pingSuspendedRoot");function am(t3,e7){0===e7&&(e7=Io2());t3=wn3(t3,e7);null!==t3&&(da2(t3,e7),Ve6(t3))}__name(am,"am");i(am,"retryTimedOutBoundary");function by(t3){var e7=t3.memoizedState,l2=0;null!==e7&&(l2=e7.retryLane);am(t3,l2)}__name(by,"by");i(by,"retryDehydratedSuspenseBoundary");function Sy(t3,e7){var l2=0;switch(t3.tag){case 13:var n2=t3.stateNode;var a3=t3.memoizedState;null!==a3&&(l2=a3.retryLane);break;case 19:n2=t3.stateNode;break;case 22:n2=t3.stateNode._retryCache;break;default:throw Error(o6(314))}null!==n2&&n2.delete(e7);am(t3,l2)}__name(Sy,"Sy");i(Sy,"resolveRetryWakeable");function Ey(t3,e7){return hl2(t3,e7)}__name(Ey,"Ey");i(Ey,"scheduleCallback$1");var oi2=null,kn3=null,Br2=false,fi2=false,Lr2=false,cn3=0;function Ve6(t3){t3!==kn3&&null===t3.next&&(null===kn3?oi2=kn3=t3:kn3=kn3.next=t3);fi2=true;Br2||(Br2=true,Ay())}__name(Ve6,"Ve");i(Ve6,"ensureRootIsScheduled");function Wa2(t3,e7){if(!Lr2&&fi2){Lr2=true;do{var l2=false;for(var n2=oi2;null!==n2;){if(0!==t3){var a3=n2.pendingLanes;if(0===a3)var c5=0;else{var s2=n2.suspendedLanes,m4=n2.pingedLanes;c5=(1<<31-fe5(42|t3)+1)-1;c5&=a3&~(s2&~m4);c5=c5&201326741?c5&201326741|1:c5?c5|2:0}0!==c5&&(l2=true,rm(n2,c5))}else c5=bt6,c5=gu(n2,n2===Nt5?c5:0,null!==n2.cancelPendingCommit||-1!==n2.timeoutHandle),0===(c5&3)||sa2(n2,c5)||(l2=true,rm(n2,c5));n2=n2.next}}while(l2);Lr2=false}}__name(Wa2,"Wa");i(Wa2,"flushSyncWorkAcrossRoots_impl");function xy(){um()}__name(xy,"xy");i(xy,"processRootScheduleInImmediateTask");function um(){fi2=Br2=false;var t3=0;0!==cn3&&(Cy()&&(t3=cn3),cn3=0);for(var e7=qe6(),l2=null,n2=oi2;null!==n2;){var a3=n2.next,c5=im(n2,e7);if(0===c5)n2.next=null,null===l2?oi2=a3:l2.next=a3,null===a3&&(kn3=l2);else if(l2=n2,0!==t3||0!==(c5&3))fi2=true;n2=a3}Wa2(t3)}__name(um,"um");i(um,"processRootScheduleInMicrotask");function im(t3,e7){for(var l2=t3.suspendedLanes,n2=t3.pingedLanes,a3=t3.expirationTimes,c5=t3.pendingLanes&-62914561;0n2){l2=n2;var s2=t3.ownerDocument;l2&1&&Pa2(s2.documentElement);l2&2&&Pa2(s2.body);if(l2&4)for(l2=s2.head,Pa2(l2),s2=l2.firstChild;s2;){var m4=s2.nextSibling,b=s2.nodeName;s2[ma2]||"SCRIPT"===b||"STYLE"===b||"LINK"===b&&"stylesheet"===s2.rel.toLowerCase()||l2.removeChild(s2);s2=m4}}if(0===a3){t3.removeChild(c5);iu2(e7);return}a3--}else"$"===l2||"$?"===l2||"$!"===l2?a3++:n2=l2.charCodeAt(0)-48;else n2=0;l2=c5}while(l2);iu2(e7)}__name(Sm,"Sm");i(Sm,"clearSuspenseBoundary");function Wr2(t3){var e7=t3.firstChild;e7&&10===e7.nodeType&&(e7=e7.nextSibling);for(;e7;){var l2=e7;e7=e7.nextSibling;switch(l2.nodeName){case"HTML":case"HEAD":case"BODY":Wr2(l2);tc2(l2);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===l2.rel.toLowerCase())continue}t3.removeChild(l2)}}__name(Wr2,"Wr");i(Wr2,"clearContainerSparingly");function Hy(t3,e7,l2,n2){for(;1===t3.nodeType;){var a3=l2;if(t3.nodeName.toLowerCase()!==e7.toLowerCase()){if(!n2&&("INPUT"!==t3.nodeName||"hidden"!==t3.type))break}else if(!n2)if("input"===e7&&"hidden"===t3.type){var c5=null==a3.name?null:""+a3.name;if("hidden"===a3.type&&t3.getAttribute("name")===c5)return t3}else return t3;else if(!t3[ma2])switch(e7){case"meta":if(!t3.hasAttribute("itemprop"))break;return t3;case"link":c5=t3.getAttribute("rel");if("stylesheet"===c5&&t3.hasAttribute("data-precedence"))break;else if(c5!==a3.rel||t3.getAttribute("href")!==(null==a3.href||""===a3.href?null:a3.href)||t3.getAttribute("crossorigin")!==(null==a3.crossOrigin?null:a3.crossOrigin)||t3.getAttribute("title")!==(null==a3.title?null:a3.title))break;return t3;case"style":if(t3.hasAttribute("data-precedence"))break;return t3;case"script":c5=t3.getAttribute("src");if((c5!==(null==a3.src?null:a3.src)||t3.getAttribute("type")!==(null==a3.type?null:a3.type)||t3.getAttribute("crossorigin")!==(null==a3.crossOrigin?null:a3.crossOrigin))&&c5&&t3.hasAttribute("async")&&!t3.hasAttribute("itemprop"))break;return t3;default:return t3}t3=Ce6(t3.nextSibling);if(null===t3)break}return null}__name(Hy,"Hy");i(Hy,"canHydrateInstance");function By(t3,e7,l2){if(""===e7)return null;for(;3!==t3.nodeType;){if((1!==t3.nodeType||"INPUT"!==t3.nodeName||"hidden"!==t3.type)&&!l2)return null;t3=Ce6(t3.nextSibling);if(null===t3)return null}return t3}__name(By,"By");i(By,"canHydrateTextInstance");function $r2(t3){return"$!"===t3.data||"$?"===t3.data&&"complete"===t3.ownerDocument.readyState}__name($r2,"$r");i($r2,"isSuspenseInstanceFallback");function Ly(t3,e7){var l2=t3.ownerDocument;if("$?"!==t3.data||"complete"===l2.readyState)e7();else{var n2=i(function(){e7();l2.removeEventListener("DOMContentLoaded",n2)},"listener");l2.addEventListener("DOMContentLoaded",n2);t3._reactRetry=n2}}__name(Ly,"Ly");i(Ly,"registerSuspenseInstanceRetry");function Ce6(t3){for(;null!=t3;t3=t3.nextSibling){var e7=t3.nodeType;if(1===e7||3===e7)break;if(8===e7){e7=t3.data;if("$"===e7||"$!"===e7||"$?"===e7||"F!"===e7||"F"===e7)break;if("/$"===e7)return null}}return t3}__name(Ce6,"Ce");i(Ce6,"getNextHydratable");var Fr2=null;function Em(t3){t3=t3.previousSibling;for(var e7=0;t3;){if(8===t3.nodeType){var l2=t3.data;if("$"===l2||"$!"===l2||"$?"===l2){if(0===e7)return t3;e7--}else"/$"===l2&&e7++}t3=t3.previousSibling}return null}__name(Em,"Em");i(Em,"getParentSuspenseInstance");function xm(t3,e7,l2){e7=hi2(l2);switch(t3){case"html":t3=e7.documentElement;if(!t3)throw Error(o6(452));return t3;case"head":t3=e7.head;if(!t3)throw Error(o6(453));return t3;case"body":t3=e7.body;if(!t3)throw Error(o6(454));return t3;default:throw Error(o6(451))}}__name(xm,"xm");i(xm,"resolveSingletonInstance");function Pa2(t3){for(var e7=t3.attributes;e7.length;)t3.removeAttributeNode(e7[0]);tc2(t3)}__name(Pa2,"Pa");i(Pa2,"releaseSingletonInstance");var Me6=new Map,Am=new Set;function vi2(t3){return"function"===typeof t3.getRootNode?t3.getRootNode():9===t3.nodeType?t3:t3.ownerDocument}__name(vi2,"vi");i(vi2,"getHoistableRoot");var ol2=V3.d;V3.d={f:qy,r:Yy,D:jy,C:Gy,L:Xy,m:Vy,X:Zy,S:Qy,M:ky};function qy(){var t3=ol2.f(),e7=ii2();return t3||e7}__name(qy,"qy");i(qy,"flushSyncWork");function Yy(t3){var e7=hn3(t3);null!==e7&&5===e7.tag&&"form"===e7.type?Vs2(e7):ol2.r(t3)}__name(Yy,"Yy");i(Yy,"requestFormReset");var Jn4="undefined"===typeof document?null:document;function Tm(t3,e7,l2){var n2=Jn4;if(n2&&"string"===typeof e7&&e7){var a3=Ee4(e7);a3='link[rel="'+t3+'"][href="'+a3+'"]';"string"===typeof l2&&(a3+='[crossorigin="'+l2+'"]');Am.has(a3)||(Am.add(a3),t3={rel:t3,crossOrigin:l2,href:e7},null===n2.querySelector(a3)&&(e7=n2.createElement("link"),Pt4(e7,"link",t3),kt4(e7),n2.head.appendChild(e7)))}}__name(Tm,"Tm");i(Tm,"preconnectAs");function jy(t3){ol2.D(t3);Tm("dns-prefetch",t3,null)}__name(jy,"jy");i(jy,"prefetchDNS");function Gy(t3,e7){ol2.C(t3,e7);Tm("preconnect",t3,e7)}__name(Gy,"Gy");i(Gy,"preconnect");function Xy(t3,e7,l2){ol2.L(t3,e7,l2);var n2=Jn4;if(n2&&t3&&e7){var a3='link[rel="preload"][as="'+Ee4(e7)+'"]';"image"===e7?l2&&l2.imageSrcSet?(a3+='[imagesrcset="'+Ee4(l2.imageSrcSet)+'"]',"string"===typeof l2.imageSizes&&(a3+='[imagesizes="'+Ee4(l2.imageSizes)+'"]')):a3+='[href="'+Ee4(t3)+'"]':a3+='[href="'+Ee4(t3)+'"]';var c5=a3;switch(e7){case"style":c5=Wn4(t3);break;case"script":c5=$n4(t3)}Me6.has(c5)||(t3=S4({rel:"preload",href:"image"===e7&&l2&&l2.imageSrcSet?void 0:t3,as:e7},l2),Me6.set(c5,t3),null!==n2.querySelector(a3)||"style"===e7&&n2.querySelector(Ia2(c5))||"script"===e7&&n2.querySelector(tu2(c5))||(e7=n2.createElement("link"),Pt4(e7,"link",t3),kt4(e7),n2.head.appendChild(e7)))}}__name(Xy,"Xy");i(Xy,"preload");function Vy(t3,e7){ol2.m(t3,e7);var l2=Jn4;if(l2&&t3){var n2=e7&&"string"===typeof e7.as?e7.as:"script",a3='link[rel="modulepreload"][as="'+Ee4(n2)+'"][href="'+Ee4(t3)+'"]',c5=a3;switch(n2){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c5=$n4(t3)}if(!Me6.has(c5)&&(t3=S4({rel:"modulepreload",href:t3},e7),Me6.set(c5,t3),null===l2.querySelector(a3))){switch(n2){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l2.querySelector(tu2(c5)))return}n2=l2.createElement("link");Pt4(n2,"link",t3);kt4(n2);l2.head.appendChild(n2)}}}__name(Vy,"Vy");i(Vy,"preloadModule");function Qy(t3,e7,l2){ol2.S(t3,e7,l2);var n2=Jn4;if(n2&&t3){var a3=vn3(n2).hoistableStyles,c5=Wn4(t3);e7=e7||"default";var s2=a3.get(c5);if(!s2){var m4={loading:0,preload:null};if(s2=n2.querySelector(Ia2(c5)))m4.loading=5;else{t3=S4({rel:"stylesheet",href:t3,"data-precedence":e7},l2);(l2=Me6.get(c5))&&Pr2(t3,l2);var b=s2=n2.createElement("link");kt4(b);Pt4(b,"link",t3);b._p=new Promise(function(M4,L2){b.onload=M4;b.onerror=L2});b.addEventListener("load",function(){m4.loading|=1});b.addEventListener("error",function(){m4.loading|=2});m4.loading|=4;gi2(s2,e7,n2)}s2={type:"stylesheet",instance:s2,count:1,state:m4};a3.set(c5,s2)}}}__name(Qy,"Qy");i(Qy,"preinitStyle");function Zy(t3,e7){ol2.X(t3,e7);var l2=Jn4;if(l2&&t3){var n2=vn3(l2).hoistableScripts,a3=$n4(t3),c5=n2.get(a3);c5||(c5=l2.querySelector(tu2(a3)),c5||(t3=S4({src:t3,async:true},e7),(e7=Me6.get(a3))&&Ir2(t3,e7),c5=l2.createElement("script"),kt4(c5),Pt4(c5,"link",t3),l2.head.appendChild(c5)),c5={type:"script",instance:c5,count:1,state:null},n2.set(a3,c5))}}__name(Zy,"Zy");i(Zy,"preinitScript");function ky(t3,e7){ol2.M(t3,e7);var l2=Jn4;if(l2&&t3){var n2=vn3(l2).hoistableScripts,a3=$n4(t3),c5=n2.get(a3);c5||(c5=l2.querySelector(tu2(a3)),c5||(t3=S4({src:t3,async:true,type:"module"},e7),(e7=Me6.get(a3))&&Ir2(t3,e7),c5=l2.createElement("script"),kt4(c5),Pt4(c5,"link",t3),l2.head.appendChild(c5)),c5={type:"script",instance:c5,count:1,state:null},n2.set(a3,c5))}}__name(ky,"ky");i(ky,"preinitModuleScript");function Om(t3,e7,l2,n2){var a3=(a3=ut5.current)?vi2(a3):null;if(!a3)throw Error(o6(446));switch(t3){case"meta":case"title":return null;case"style":return"string"===typeof l2.precedence&&"string"===typeof l2.href?(e7=Wn4(l2.href),l2=vn3(a3).hoistableStyles,n2=l2.get(e7),n2||(n2={type:"style",instance:null,count:0,state:null},l2.set(e7,n2)),n2):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===l2.rel&&"string"===typeof l2.href&&"string"===typeof l2.precedence){t3=Wn4(l2.href);var c5=vn3(a3).hoistableStyles,s2=c5.get(t3);s2||(a3=a3.ownerDocument||a3,s2={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c5.set(t3,s2),(c5=a3.querySelector(Ia2(t3)))&&!c5._p&&(s2.instance=c5,s2.state.loading=5),Me6.has(t3)||(l2={rel:"preload",as:"style",href:l2.href,crossOrigin:l2.crossOrigin,integrity:l2.integrity,media:l2.media,hrefLang:l2.hrefLang,referrerPolicy:l2.referrerPolicy},Me6.set(t3,l2),c5||Ky(a3,t3,l2,s2.state)));if(e7&&null===n2)throw Error(o6(528,""));return s2}if(e7&&null!==n2)throw Error(o6(529,""));return null;case"script":return e7=l2.async,l2=l2.src,"string"===typeof l2&&e7&&"function"!==typeof e7&&"symbol"!==typeof e7?(e7=$n4(l2),l2=vn3(a3).hoistableScripts,n2=l2.get(e7),n2||(n2={type:"script",instance:null,count:0,state:null},l2.set(e7,n2)),n2):{type:"void",instance:null,count:0,state:null};default:throw Error(o6(444,t3))}}__name(Om,"Om");i(Om,"getResource");function Wn4(t3){return'href="'+Ee4(t3)+'"'}__name(Wn4,"Wn");i(Wn4,"getStyleKey");function Ia2(t3){return'link[rel="stylesheet"]['+t3+"]"}__name(Ia2,"Ia");i(Ia2,"getStylesheetSelectorFromKey");function wm(t3){return S4({},t3,{"data-precedence":t3.precedence,precedence:null})}__name(wm,"wm");i(wm,"stylesheetPropsFromRawProps");function Ky(t3,e7,l2,n2){t3.querySelector('link[rel="preload"][as="style"]['+e7+"]")?n2.loading=1:(e7=t3.createElement("link"),n2.preload=e7,e7.addEventListener("load",function(){return n2.loading|=1}),e7.addEventListener("error",function(){return n2.loading|=2}),Pt4(e7,"link",l2),kt4(e7),t3.head.appendChild(e7))}__name(Ky,"Ky");i(Ky,"preloadStylesheet");function $n4(t3){return'[src="'+Ee4(t3)+'"]'}__name($n4,"$n");i($n4,"getScriptKey");function tu2(t3){return"script[async]"+t3}__name(tu2,"tu");i(tu2,"getScriptSelectorFromKey");function Rm(t3,e7,l2){e7.count++;if(null===e7.instance)switch(e7.type){case"style":var n2=t3.querySelector('style[data-href~="'+Ee4(l2.href)+'"]');if(n2)return e7.instance=n2,kt4(n2),n2;var a3=S4({},l2,{"data-href":l2.href,"data-precedence":l2.precedence,href:null,precedence:null});n2=(t3.ownerDocument||t3).createElement("style");kt4(n2);Pt4(n2,"style",a3);gi2(n2,l2.precedence,t3);return e7.instance=n2;case"stylesheet":a3=Wn4(l2.href);var c5=t3.querySelector(Ia2(a3));if(c5)return e7.state.loading|=4,e7.instance=c5,kt4(c5),c5;n2=wm(l2);(a3=Me6.get(a3))&&Pr2(n2,a3);c5=(t3.ownerDocument||t3).createElement("link");kt4(c5);var s2=c5;s2._p=new Promise(function(m4,b){s2.onload=m4;s2.onerror=b});Pt4(c5,"link",n2);e7.state.loading|=4;gi2(c5,l2.precedence,t3);return e7.instance=c5;case"script":c5=$n4(l2.src);if(a3=t3.querySelector(tu2(c5)))return e7.instance=a3,kt4(a3),a3;n2=l2;if(a3=Me6.get(c5))n2=S4({},l2),Ir2(n2,a3);t3=t3.ownerDocument||t3;a3=t3.createElement("script");kt4(a3);Pt4(a3,"link",n2);t3.head.appendChild(a3);return e7.instance=a3;case"void":return null;default:throw Error(o6(443,e7.type))}else"stylesheet"===e7.type&&0===(e7.state.loading&4)&&(n2=e7.instance,e7.state.loading|=4,gi2(n2,l2.precedence,t3));return e7.instance}__name(Rm,"Rm");i(Rm,"acquireResource");function gi2(t3,e7,l2){for(var n2=l2.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a3=n2.length?n2[n2.length-1]:null,c5=a3,s2=0;s2 title"):null)}__name(zm,"zm");i(zm,"mountHoistable");function Jy(t3,e7,l2){if(1===l2||null!=e7.itemProp)return false;switch(t3){case"meta":case"title":return true;case"style":if("string"!==typeof e7.precedence||"string"!==typeof e7.href||""===e7.href)break;return true;case"link":if("string"!==typeof e7.rel||"string"!==typeof e7.href||""===e7.href||e7.onLoad||e7.onError)break;switch(e7.rel){case"stylesheet":return t3=e7.disabled,"string"===typeof e7.precedence&&null==t3;default:return true}case"script":if(e7.async&&"function"!==typeof e7.async&&"symbol"!==typeof e7.async&&!e7.onLoad&&!e7.onError&&e7.src&&"string"===typeof e7.src)return true}return false}__name(Jy,"Jy");i(Jy,"isHostHoistableType");function _m(t3){return"stylesheet"===t3.type&&0===(t3.state.loading&3)?false:true}__name(_m,"_m");i(_m,"preloadResource");var eu2=null;function Wy(){}__name(Wy,"Wy");i(Wy,"noop");function $y(t3,e7,l2){if(null===eu2)throw Error(o6(475));var n2=eu2;if("stylesheet"===e7.type&&("string"!==typeof l2.media||false!==matchMedia(l2.media).matches)&&0===(e7.state.loading&4)){if(null===e7.instance){var a3=Wn4(l2.href),c5=t3.querySelector(Ia2(a3));if(c5){t3=c5._p;null!==t3&&"object"===typeof t3&&"function"===typeof t3.then&&(n2.count++,n2=pi2.bind(n2),t3.then(n2,n2));e7.state.loading|=4;e7.instance=c5;kt4(c5);return}c5=t3.ownerDocument||t3;l2=wm(l2);(a3=Me6.get(a3))&&Pr2(l2,a3);c5=c5.createElement("link");kt4(c5);var s2=c5;s2._p=new Promise(function(m4,b){s2.onload=m4;s2.onerror=b});Pt4(c5,"link",l2);e7.instance=c5}null===n2.stylesheets&&(n2.stylesheets=new Map);n2.stylesheets.set(e7,t3);(t3=e7.state.preload)&&0===(e7.state.loading&3)&&(n2.count++,e7=pi2.bind(n2),t3.addEventListener("load",e7),t3.addEventListener("error",e7))}}__name($y,"$y");i($y,"suspendResource");function Fy(){if(null===eu2)throw Error(o6(475));var t3=eu2;t3.stylesheets&&0===t3.count&&to3(t3,t3.stylesheets);return 0S4(w3,typeof w3==="string"?null:w3.state,H3===0?"default":void 0));let h3=p2(f==null?d2.length-1:f);let v2=De.Pop;let y4=null;function p2(w3){return Math.min(Math.max(w3,0),d2.length-1)}__name(p2,"p");i(p2,"clampIndex");function g(){return d2[h3]}__name(g,"g");i(g,"getCurrentLocation");function S4(w3,H3,O4){if(H3===void 0){H3=null}let U3=qi(d2?g().pathname:"/",w3,H3,O4);S0(U3.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w3));return U3}__name(S4,"S");i(S4,"createMemoryLocation");function A(w3){return typeof w3==="string"?w3:Lo(w3)}__name(A,"A");i(A,"createHref");let D3={get index(){return h3},get action(){return v2},get location(){return g()},createHref:A,createURL(w3){return new URL(A(w3),"http://localhost")},encodeLocation(w3){let H3=typeof w3==="string"?qo(w3):w3;return{pathname:H3.pathname||"",search:H3.search||"",hash:H3.hash||""}},push(w3,H3){v2=De.Push;let O4=S4(w3,H3);h3+=1;d2.splice(h3,d2.length,O4);if(o6&&y4){y4({action:v2,location:O4,delta:1})}},replace(w3,H3){v2=De.Replace;let O4=S4(w3,H3);d2[h3]=O4;if(o6&&y4){y4({action:v2,location:O4,delta:0})}},go(w3){v2=De.Pop;let H3=p2(h3+w3);let O4=d2[H3];h3=H3;if(y4){y4({action:v2,location:O4,delta:w3})}},listen(w3){y4=w3;return()=>{y4=null}}};return D3}__name(p0,"p0");i(p0,"createMemoryHistory");function b0(u6){if(u6===void 0){u6={}}function r3(o6,d2){let{pathname:h3,search:v2,hash:y4}=o6.location;return qi("",{pathname:h3,search:v2,hash:y4},d2.state&&d2.state.usr||null,d2.state&&d2.state.key||"default")}__name(r3,"r");i(r3,"createBrowserLocation");function f(o6,d2){return typeof d2==="string"?d2:Lo(d2)}__name(f,"f");i(f,"createBrowserHref");return x0(r3,f,null,u6)}__name(b0,"b0");i(b0,"createBrowserHistory");function Lh(u6,r3){if(u6===false||u6===null||typeof u6==="undefined"){throw new Error(r3)}}__name(Lh,"Lh");i(Lh,"invariant");function S0(u6,r3){if(!u6){if(typeof console!=="undefined")console.warn(r3);try{throw new Error(r3)}catch(f){}}}__name(S0,"S0");i(S0,"warning");function E0(){return Math.random().toString(36).substr(2,8)}__name(E0,"E0");i(E0,"createKey");function Im(u6,r3){return{usr:u6.state,key:u6.key,idx:r3}}__name(Im,"Im");i(Im,"getHistoryState");function qi(u6,r3,f,o6){if(f===void 0){f=null}let d2=Li({pathname:typeof u6==="string"?u6:u6.pathname,search:"",hash:""},typeof r3==="string"?qo(r3):r3,{state:f,key:r3&&r3.key||o6||E0()});return d2}__name(qi,"qi");i(qi,"createLocation");function Lo(u6){let{pathname:r3="/",search:f="",hash:o6=""}=u6;if(f&&f!=="?")r3+=f.charAt(0)==="?"?f:"?"+f;if(o6&&o6!=="#")r3+=o6.charAt(0)==="#"?o6:"#"+o6;return r3}__name(Lo,"Lo");i(Lo,"createPath");function qo(u6){let r3={};if(u6){let f=u6.indexOf("#");if(f>=0){r3.hash=u6.substr(f);u6=u6.substr(0,f)}let o6=u6.indexOf("?");if(o6>=0){r3.search=u6.substr(o6);u6=u6.substr(0,o6)}if(u6){r3.pathname=u6}}return r3}__name(qo,"qo");i(qo,"parsePath");function x0(u6,r3,f,o6){if(o6===void 0){o6={}}let{window:d2=document.defaultView,v5Compat:h3=false}=o6;let v2=d2.history;let y4=De.Pop;let p2=null;let g=S4();if(g==null){g=0;v2.replaceState(Li({},v2.state,{idx:g}),"")}function S4(){let U3=v2.state||{idx:null};return U3.idx}__name(S4,"S");i(S4,"getIndex");function A(){y4=De.Pop;let U3=S4();let Y7=U3==null?null:U3-g;g=U3;if(p2){p2({action:y4,location:O4.location,delta:Y7})}}__name(A,"A");i(A,"handlePop");function D3(U3,Y7){y4=De.Push;let Q7=qi(O4.location,U3,Y7);g=S4()+1;let Z6=Im(Q7,g);let k3=O4.createHref(Q7);try{v2.pushState(Z6,"",k3)}catch(X5){if(X5 instanceof DOMException&&X5.name==="DataCloneError"){throw X5}d2.location.assign(k3)}if(h3&&p2){p2({action:y4,location:O4.location,delta:1})}}__name(D3,"D");i(D3,"push");function w3(U3,Y7){y4=De.Replace;let Q7=qi(O4.location,U3,Y7);g=S4();let Z6=Im(Q7,g);let k3=O4.createHref(Q7);v2.replaceState(Z6,"",k3);if(h3&&p2){p2({action:y4,location:O4.location,delta:0})}}__name(w3,"w");i(w3,"replace");function H3(U3){let Y7=d2.location.origin!=="null"?d2.location.origin:d2.location.href;let Q7=typeof U3==="string"?U3:Lo(U3);Q7=Q7.replace(/ $/,"%20");Lh(Y7,"No window.location.(origin|href) available to create URL for href: "+Q7);return new URL(Q7,Y7)}__name(H3,"H");i(H3,"createURL");let O4={get action(){return y4},get location(){return u6(d2,v2)},listen(U3){if(p2){throw new Error("A history only accepts one active listener")}d2.addEventListener(Pm,A);p2=U3;return()=>{d2.removeEventListener(Pm,A);p2=null}},createHref(U3){return r3(d2,U3)},createURL:H3,encodeLocation(U3){let Y7=H3(U3);return{pathname:Y7.pathname,search:Y7.search,hash:Y7.hash}},push:D3,replace:w3,go(U3){return v2.go(U3)}};return O4}__name(x0,"x0");i(x0,"getUrlBasedHistory");var th;(function(u6){u6["data"]="data";u6["deferred"]="deferred";u6["redirect"]="redirect";u6["error"]="error"})(th||(th={}));function A0(u6,r3){if(r3==="/")return u6;if(!u6.toLowerCase().startsWith(r3.toLowerCase())){return null}let f=r3.endsWith("/")?r3.length-1:r3.length;let o6=u6.charAt(f);if(o6&&o6!=="/"){return null}return u6.slice(f)||"/"}__name(A0,"A0");i(A0,"stripBasename");var qh=["post","put","patch","delete"];new Set(qh);var T0=["get",...qh];new Set(T0);function wo(){wo=Object.assign?Object.assign.bind():function(u6){for(var r3=1;r3{S4&&eh?eh(()=>g(D3)):g(D3)},[g,S4]);z.useLayoutEffect(()=>y4.listen(A),[y4,A]);z.useEffect(()=>jh(h3),[h3]);return z.createElement(Gh,{basename:r3,children:f,location:p2.location,navigationType:p2.action,navigator:y4,future:h3})}__name(uS,"uS");i(uS,"MemoryRouter");function Gh(u6){let{basename:r3="/",children:f=null,location:o6,navigationType:d2=De.Pop,navigator:h3,static:v2=false,future:y4}=u6;!!w0()?Lh(false):void 0;let p2=r3.replace(/^/*/,"/");let g=z.useMemo(()=>({basename:p2,navigator:h3,static:v2,future:wo({v7_relativeSplatPath:false},y4)}),[p2,y4,h3,v2]);if(typeof o6==="string"){o6=qo(o6)}let{pathname:S4="/",search:A="",hash:D3="",state:w3=null,key:H3="default"}=o6;let O4=z.useMemo(()=>{let U3=A0(S4,p2);if(U3==null){return null}return{location:{pathname:U3,search:A,hash:D3,state:w3,key:H3},navigationType:d2}},[p2,S4,A,D3,w3,H3,d2]);if(O4==null){return null}return z.createElement(O0.Provider,{value:g},z.createElement(Yh.Provider,{children:f,value:O4}))}__name(Gh,"Gh");i(Gh,"Router");new Promise(()=>{});var M0="6";try{window.__reactRouterVersion=M0}catch(u6){}var z0="startTransition";var lh=Qi[z0];function iS(u6){let{basename:r3,children:f,future:o6,window:d2}=u6;let h3=z.useRef();if(h3.current==null){h3.current=b0({window:d2,v5Compat:true})}let v2=h3.current;let[y4,p2]=z.useState({action:v2.action,location:v2.location});let{v7_startTransition:g}=o6||{};let S4=z.useCallback(A=>{g&&lh?lh(()=>p2(A)):p2(A)},[p2,g]);z.useLayoutEffect(()=>v2.listen(S4),[v2,S4]);z.useEffect(()=>jh(o6),[o6]);return z.createElement(Gh,{basename:r3,children:f,location:y4.location,navigationType:y4.action,navigator:v2,future:o6})}__name(iS,"iS");i(iS,"BrowserRouter");var nh;(function(u6){u6["UseScrollRestoration"]="useScrollRestoration";u6["UseSubmit"]="useSubmit";u6["UseSubmitFetcher"]="useSubmitFetcher";u6["UseFetcher"]="useFetcher";u6["useViewTransitionState"]="useViewTransitionState"})(nh||(nh={}));var ah;(function(u6){u6["UseFetcher"]="useFetcher";u6["UseFetchers"]="useFetchers";u6["UseScrollRestoration"]="useScrollRestoration"})(ah||(ah={}));var cS=sl.forwardRef(({to:u6,newTab:r3=false,target:f,rel:o6,children:d2,...h3},v2)=>{const y4=r3?f??"_blank":f;const p2=r3?o6??"noopener noreferrer":o6;return Ht.jsx("a",{href:u6,target:y4,rel:p2,ref:v2,...h3,children:d2})});function uh(u6,r3){if(typeof u6==="function"){return u6(r3)}else if(u6!==null&&u6!==void 0){u6.current=r3}}__name(uh,"uh");i(uh,"setRef");function Xh(...u6){return r3=>{let f=false;const o6=u6.map(d2=>{const h3=uh(d2,r3);if(!f&&typeof h3=="function"){f=true}return h3});if(f){return()=>{for(let d2=0;d2{const{children:h3,...v2}=o6;const y4=z.Children.toArray(h3);const p2=y4.find(D0);if(p2){const g=p2.props.children;const S4=y4.map(A=>{if(A===p2){if(z.Children.count(g)>1)return z.Children.only(null);return z.isValidElement(g)?g.props.children:null}else{return A}});return Ht.jsx(r3,{...v2,ref:d2,children:z.isValidElement(g)?z.cloneElement(g,void 0,S4):null})}return Ht.jsx(r3,{...v2,ref:d2,children:h3})});f.displayName=`${u6}.Slot`;return f}__name(Yi,"Yi");i(Yi,"createSlot");var Vh=Yi("Slot");function _0(u6){const r3=z.forwardRef((f,o6)=>{const{children:d2,...h3}=f;if(z.isValidElement(d2)){const v2=U0(d2);const y4=N0(h3,d2.props);if(d2.type!==z.Fragment){y4.ref=o6?Xh(o6,v2):v2}return z.cloneElement(d2,y4)}return z.Children.count(d2)>1?z.Children.only(null):null});r3.displayName=`${u6}.SlotClone`;return r3}__name(_0,"_0");i(_0,"createSlotClone");var C0=Symbol("radix.slottable");function D0(u6){return z.isValidElement(u6)&&typeof u6.type==="function"&&"__radixId"in u6.type&&u6.type.__radixId===C0}__name(D0,"D0");i(D0,"isSlottable");function N0(u6,r3){const f={...r3};for(const o6 in r3){const d2=u6[o6];const h3=r3[o6];const v2=/^on[A-Z]/.test(o6);if(v2){if(d2&&h3){f[o6]=(...y4)=>{const p2=h3(...y4);d2(...y4);return p2}}else if(d2){f[o6]=d2}}else if(o6==="style"){f[o6]={...d2,...h3}}else if(o6==="className"){f[o6]=[d2,h3].filter(Boolean).join(" ")}}return{...u6,...f}}__name(N0,"N0");i(N0,"mergeProps");function U0(u6){let r3=Object.getOwnPropertyDescriptor(u6.props,"ref")?.get;let f=r3&&"isReactWarning"in r3&&r3.isReactWarning;if(f){return u6.ref}r3=Object.getOwnPropertyDescriptor(u6,"ref")?.get;f=r3&&"isReactWarning"in r3&&r3.isReactWarning;if(f){return u6.props.ref}return u6.props.ref||u6.ref}__name(U0,"U0");i(U0,"getElementRef");function Qh(u6){var r3,f,o6="";if("string"==typeof u6||"number"==typeof u6)o6+=u6;else if("object"==typeof u6)if(Array.isArray(u6)){var d2=u6.length;for(r3=0;r3typeof u6==="boolean"?`${u6}`:u6===0?"0":u6,"falsyToString");var ch=Zh;var kh=i((u6,r3)=>f=>{var o6;if((r3===null||r3===void 0?void 0:r3.variants)==null)return ch(u6,f===null||f===void 0?void 0:f.class,f===null||f===void 0?void 0:f.className);const{variants:d2,defaultVariants:h3}=r3;const v2=Object.keys(d2).map(g=>{const S4=f===null||f===void 0?void 0:f[g];const A=h3===null||h3===void 0?void 0:h3[g];if(S4===null)return null;const D3=ih(S4)||ih(A);return d2[g][D3]});const y4=f&&Object.entries(f).reduce((g,S4)=>{let[A,D3]=S4;if(D3===void 0){return g}g[A]=D3;return g},{});const p2=r3===null||r3===void 0?void 0:(o6=r3.compoundVariants)===null||o6===void 0?void 0:o6.reduce((g,S4)=>{let{class:A,className:D3,...w3}=S4;return Object.entries(w3).every(H3=>{let[O4,U3]=H3;return Array.isArray(U3)?U3.includes({...h3,...y4}[O4]):{...h3,...y4}[O4]===U3})?[...g,A,D3]:g},[]);return ch(u6,v2,p2,f===null||f===void 0?void 0:f.class,f===null||f===void 0?void 0:f.className)},"cva");var Yo="-";var H0=i(u6=>{const r3=L0(u6);const{conflictingClassGroups:f,conflictingClassGroupModifiers:o6}=u6;const d2=i(v2=>{const y4=v2.split(Yo);if(y4[0]===""&&y4.length!==1){y4.shift()}return Kh(y4,r3)||B0(v2)},"getClassGroupId");const h3=i((v2,y4)=>{const p2=f[v2]||[];if(y4&&o6[v2]){return[...p2,...o6[v2]]}return p2},"getConflictingClassGroupIds");return{getClassGroupId:d2,getConflictingClassGroupIds:h3}},"createClassGroupUtils");var Kh=i((u6,r3)=>{if(u6.length===0){return r3.classGroupId}const f=u6[0];const o6=r3.nextPart.get(f);const d2=o6?Kh(u6.slice(1),o6):void 0;if(d2){return d2}if(r3.validators.length===0){return void 0}const h3=u6.join(Yo);return r3.validators.find(({validator:v2})=>v2(h3))?.classGroupId},"getGroupRecursive");var rh=/^[(.+)]$/;var B0=i(u6=>{if(rh.test(u6)){const r3=rh.exec(u6)[1];const f=r3?.substring(0,r3.indexOf(":"));if(f){return"arbitrary.."+f}}},"getGroupIdForArbitraryProperty");var L0=i(u6=>{const{theme:r3,classGroups:f}=u6;const o6={nextPart:new Map,validators:[]};for(const d2 in f){Ro(f[d2],o6,d2,r3)}return o6},"createClassMap");var Ro=i((u6,r3,f,o6)=>{u6.forEach(d2=>{if(typeof d2==="string"){const h3=d2===""?r3:oh(r3,d2);h3.classGroupId=f;return}if(typeof d2==="function"){if(q0(d2)){Ro(d2(o6),r3,f,o6);return}r3.validators.push({validator:d2,classGroupId:f});return}Object.entries(d2).forEach(([h3,v2])=>{Ro(v2,oh(r3,h3),f,o6)})})},"processClassesRecursively");var oh=i((u6,r3)=>{let f=u6;r3.split(Yo).forEach(o6=>{if(!f.nextPart.has(o6)){f.nextPart.set(o6,{nextPart:new Map,validators:[]})}f=f.nextPart.get(o6)});return f},"getPart");var q0=i(u6=>u6.isThemeGetter,"isThemeGetter");var Y0=i(u6=>{if(u6<1){return{get:i(()=>void 0,"get"),set:i(()=>{},"set")}}let r3=0;let f=new Map;let o6=new Map;const d2=i((h3,v2)=>{f.set(h3,v2);r3++;if(r3>u6){r3=0;o6=f;f=new Map}},"update");return{get(h3){let v2=f.get(h3);if(v2!==void 0){return v2}if((v2=o6.get(h3))!==void 0){d2(h3,v2);return v2}},set(h3,v2){if(f.has(h3)){f.set(h3,v2)}else{d2(h3,v2)}}}},"createLruCache");var Mo="!";var zo=":";var j0=zo.length;var G0=i(u6=>{const{prefix:r3,experimentalParseClassName:f}=u6;let o6=i(d2=>{const h3=[];let v2=0;let y4=0;let p2=0;let g;for(let H3=0;H3p2?g-p2:void 0;return{modifiers:h3,hasImportantModifier:D3,baseClassName:A,maybePostfixModifierPosition:w3}},"parseClassName");if(r3){const d2=r3+zo;const h3=o6;o6=i(v2=>v2.startsWith(d2)?h3(v2.substring(d2.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:v2,maybePostfixModifierPosition:void 0},"parseClassName")}if(f){const d2=o6;o6=i(h3=>f({className:h3,parseClassName:d2}),"parseClassName")}return o6},"createParseClassName");var X0=i(u6=>{if(u6.endsWith(Mo)){return u6.substring(0,u6.length-1)}if(u6.startsWith(Mo)){return u6.substring(1)}return u6},"stripImportantModifier");var V0=i(u6=>{const r3=Object.fromEntries(u6.orderSensitiveModifiers.map(o6=>[o6,true]));const f=i(o6=>{if(o6.length<=1){return o6}const d2=[];let h3=[];o6.forEach(v2=>{const y4=v2[0]==="["||r3[v2];if(y4){d2.push(...h3.sort(),v2);h3=[]}else{h3.push(v2)}});d2.push(...h3.sort());return d2},"sortModifiers");return f},"createSortModifiers");var Q0=i(u6=>({cache:Y0(u6.cacheSize),parseClassName:G0(u6),sortModifiers:V0(u6),...H0(u6)}),"createConfigUtils");var Z0=/s+/;var k0=i((u6,r3)=>{const{parseClassName:f,getClassGroupId:o6,getConflictingClassGroupIds:d2,sortModifiers:h3}=r3;const v2=[];const y4=u6.trim().split(Z0);let p2="";for(let g=y4.length-1;g>=0;g-=1){const S4=y4[g];const{isExternal:A,modifiers:D3,hasImportantModifier:w3,baseClassName:H3,maybePostfixModifierPosition:O4}=f(S4);if(A){p2=S4+(p2.length>0?" "+p2:p2);continue}let U3=!!O4;let Y7=o6(U3?H3.substring(0,O4):H3);if(!Y7){if(!U3){p2=S4+(p2.length>0?" "+p2:p2);continue}Y7=o6(H3);if(!Y7){p2=S4+(p2.length>0?" "+p2:p2);continue}U3=false}const Q7=h3(D3).join(":");const Z6=w3?Q7+Mo:Q7;const k3=Z6+Y7;if(v2.includes(k3)){continue}v2.push(k3);const X5=d2(Y7,U3);for(let et5=0;et50?" "+p2:p2)}return p2},"mergeClassList");function K0(){let u6=0;let r3;let f;let o6="";while(u6{if(typeof u6==="string"){return u6}let r3;let f="";for(let o6=0;o6A(S4),u6());f=Q0(g);o6=f.cache.get;d2=f.cache.set;h3=y4;return y4(p2)}__name(v2,"v");i(v2,"initTailwindMerge");function y4(p2){const g=o6(p2);if(g){return g}const S4=k0(p2,f);d2(p2,S4);return S4}__name(y4,"y");i(y4,"tailwindMerge");return i(__name(function p2(){return h3(K0.apply(null,arguments))},"p"),"callTailwindMerge")}__name(J0,"J0");i(J0,"createTailwindMerge");var Zt=i(u6=>{const r3=i(f=>f[u6]||[],"themeGetter");r3.isThemeGetter=true;return r3},"fromTheme");var Wh=/^[(?:(w[w-]*):)?(.+)]$/i;var $h=/^((?:(w[w-]*):)?(.+))$/i;var W0=/^d+/d+$/;var $0=/^(d+(.d+)?)?(xs|sm|md|lg|xl)$/;var F0=/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$/;var P0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)(.+)$/;var I0=/^(inset_)?-?((d+)?.?(d+)[a-z]+|0)_-?((d+)?.?(d+)[a-z]+|0)/;var tp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)(.+)$/;var Fn=i(u6=>W0.test(u6),"isFraction");var dt=i(u6=>!!u6&&!Number.isNaN(Number(u6)),"isNumber");var Yl=i(u6=>!!u6&&Number.isInteger(Number(u6)),"isInteger");var ho=i(u6=>u6.endsWith("%")&&dt(u6.slice(0,-1)),"isPercent");var fl=i(u6=>$0.test(u6),"isTshirtSize");var ep=i(()=>true,"isAny");var lp=i(u6=>F0.test(u6)&&!P0.test(u6),"isLengthOnly");var Fh=i(()=>false,"isNever");var np=i(u6=>I0.test(u6),"isShadow");var ap=i(u6=>tp.test(u6),"isImage");var up=i(u6=>!I(u6)&&!tt(u6),"isAnyNonArbitrary");var ip=i(u6=>ia(u6,tv,Fh),"isArbitrarySize");var I=i(u6=>Wh.test(u6),"isArbitraryValue");var rn=i(u6=>ia(u6,ev,lp),"isArbitraryLength");var vo=i(u6=>ia(u6,sp,dt),"isArbitraryNumber");var fh=i(u6=>ia(u6,Ph,Fh),"isArbitraryPosition");var cp=i(u6=>ia(u6,Ih,ap),"isArbitraryImage");var Ri=i(u6=>ia(u6,lv,np),"isArbitraryShadow");var tt=i(u6=>$h.test(u6),"isArbitraryVariable");var ou=i(u6=>ca(u6,ev),"isArbitraryVariableLength");var rp=i(u6=>ca(u6,dp),"isArbitraryVariableFamilyName");var sh=i(u6=>ca(u6,Ph),"isArbitraryVariablePosition");var op=i(u6=>ca(u6,tv),"isArbitraryVariableSize");var fp=i(u6=>ca(u6,Ih),"isArbitraryVariableImage");var Mi=i(u6=>ca(u6,lv,true),"isArbitraryVariableShadow");var ia=i((u6,r3,f)=>{const o6=Wh.exec(u6);if(o6){if(o6[1]){return r3(o6[1])}return f(o6[2])}return false},"getIsArbitraryValue");var ca=i((u6,r3,f=false)=>{const o6=$h.exec(u6);if(o6){if(o6[1]){return r3(o6[1])}return f}return false},"getIsArbitraryVariable");var Ph=i(u6=>u6==="position"||u6==="percentage","isLabelPosition");var Ih=i(u6=>u6==="image"||u6==="url","isLabelImage");var tv=i(u6=>u6==="length"||u6==="size"||u6==="bg-size","isLabelSize");var ev=i(u6=>u6==="length","isLabelLength");var sp=i(u6=>u6==="number","isLabelNumber");var dp=i(u6=>u6==="family-name","isLabelFamilyName");var lv=i(u6=>u6==="shadow","isLabelShadow");var mp=i(()=>{const u6=Zt("color");const r3=Zt("font");const f=Zt("text");const o6=Zt("font-weight");const d2=Zt("tracking");const h3=Zt("leading");const v2=Zt("breakpoint");const y4=Zt("container");const p2=Zt("spacing");const g=Zt("radius");const S4=Zt("shadow");const A=Zt("inset-shadow");const D3=Zt("text-shadow");const w3=Zt("drop-shadow");const H3=Zt("blur");const O4=Zt("perspective");const U3=Zt("aspect");const Y7=Zt("ease");const Q7=Zt("animate");const Z6=i(()=>["auto","avoid","all","avoid-page","page","left","right","column"],"scaleBreak");const k3=i(()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],"scalePosition");const X5=i(()=>[...k3(),tt,I],"scalePositionWithArbitrary");const et5=i(()=>["auto","hidden","clip","visible","scroll"],"scaleOverflow");const W5=i(()=>["auto","contain","none"],"scaleOverscroll");const J6=i(()=>[tt,I,p2],"scaleUnambiguousSpacing");const rt6=i(()=>[Fn,"full","auto",...J6()],"scaleInset");const Et5=i(()=>[Yl,"none","subgrid",tt,I],"scaleGridTemplateColsRows");const Mt4=i(()=>["auto",{span:["full",Yl,tt,I]},Yl,tt,I],"scaleGridColRowStartAndEnd");const vt3=i(()=>[Yl,"auto",tt,I],"scaleGridColRowStartOrEnd");const Ot4=i(()=>["auto","min","max","fr",tt,I],"scaleGridAutoColsRows");const St3=i(()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],"scaleAlignPrimaryAxis");const gt4=i(()=>["start","end","center","stretch","center-safe","end-safe"],"scaleAlignSecondaryAxis");const C4=i(()=>["auto",...J6()],"scaleMargin");const V3=i(()=>[Fn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J6()],"scaleSizing");const B3=i(()=>[u6,tt,I],"scaleColor");const ct5=i(()=>[...k3(),sh,fh,{position:[tt,I]}],"scaleBgPosition");const E7=i(()=>["no-repeat",{repeat:["","x","y","space","round"]}],"scaleBgRepeat");const G6=i(()=>["auto","cover","contain",op,ip,{size:[tt,I]}],"scaleBgSize");const $5=i(()=>[ho,ou,rn],"scaleGradientStopPosition");const K4=i(()=>["","none","full",g,tt,I],"scaleRadius");const F4=i(()=>["",dt,ou,rn],"scaleBorderWidth");const ft4=i(()=>["solid","dashed","dotted","double"],"scaleLineStyle");const ut5=i(()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],"scaleBlendMode");const mt4=i(()=>[dt,ho,sh,fh],"scaleMaskImagePosition");const At4=i(()=>["","none",H3,tt,I],"scaleBlur");const le4=i(()=>["none",dt,tt,I],"scaleRotate");const He8=i(()=>["none",dt,tt,I],"scaleScale");const Be7=i(()=>[dt,tt,I],"scaleSkew");const Le8=i(()=>[Fn,"full",...J6()],"scaleTranslate");return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fl],breakpoint:[fl],color:[ep],container:[fl],"drop-shadow":[fl],ease:["in","out","in-out"],font:[up],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fl],shadow:[fl],spacing:["px",dt],text:[fl],"text-shadow":[fl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Fn,I,tt,U3]}],container:["container"],columns:[{columns:[dt,I,tt,y4]}],"break-after":[{"break-after":Z6()}],"break-before":[{"break-before":Z6()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:X5()}],overflow:[{overflow:et5()}],"overflow-x":[{"overflow-x":et5()}],"overflow-y":[{"overflow-y":et5()}],overscroll:[{overscroll:W5()}],"overscroll-x":[{"overscroll-x":W5()}],"overscroll-y":[{"overscroll-y":W5()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:rt6()}],"inset-x":[{"inset-x":rt6()}],"inset-y":[{"inset-y":rt6()}],start:[{start:rt6()}],end:[{end:rt6()}],top:[{top:rt6()}],right:[{right:rt6()}],bottom:[{bottom:rt6()}],left:[{left:rt6()}],visibility:["visible","invisible","collapse"],z:[{z:[Yl,"auto",tt,I]}],basis:[{basis:[Fn,"full","auto",y4,...J6()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,Fn,"auto","initial","none",I]}],grow:[{grow:["",dt,tt,I]}],shrink:[{shrink:["",dt,tt,I]}],order:[{order:[Yl,"first","last","none",tt,I]}],"grid-cols":[{"grid-cols":Et5()}],"col-start-end":[{col:Mt4()}],"col-start":[{"col-start":vt3()}],"col-end":[{"col-end":vt3()}],"grid-rows":[{"grid-rows":Et5()}],"row-start-end":[{row:Mt4()}],"row-start":[{"row-start":vt3()}],"row-end":[{"row-end":vt3()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ot4()}],"auto-rows":[{"auto-rows":Ot4()}],gap:[{gap:J6()}],"gap-x":[{"gap-x":J6()}],"gap-y":[{"gap-y":J6()}],"justify-content":[{justify:[...St3(),"normal"]}],"justify-items":[{"justify-items":[...gt4(),"normal"]}],"justify-self":[{"justify-self":["auto",...gt4()]}],"align-content":[{content:["normal",...St3()]}],"align-items":[{items:[...gt4(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...gt4(),{baseline:["","last"]}]}],"place-content":[{"place-content":St3()}],"place-items":[{"place-items":[...gt4(),"baseline"]}],"place-self":[{"place-self":["auto",...gt4()]}],p:[{p:J6()}],px:[{px:J6()}],py:[{py:J6()}],ps:[{ps:J6()}],pe:[{pe:J6()}],pt:[{pt:J6()}],pr:[{pr:J6()}],pb:[{pb:J6()}],pl:[{pl:J6()}],m:[{m:C4()}],mx:[{mx:C4()}],my:[{my:C4()}],ms:[{ms:C4()}],me:[{me:C4()}],mt:[{mt:C4()}],mr:[{mr:C4()}],mb:[{mb:C4()}],ml:[{ml:C4()}],"space-x":[{"space-x":J6()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J6()}],"space-y-reverse":["space-y-reverse"],size:[{size:V3()}],w:[{w:[y4,"screen",...V3()]}],"min-w":[{"min-w":[y4,"screen","none",...V3()]}],"max-w":[{"max-w":[y4,"screen","none","prose",{screen:[v2]},...V3()]}],h:[{h:["screen","lh",...V3()]}],"min-h":[{"min-h":["screen","lh","none",...V3()]}],"max-h":[{"max-h":["screen","lh",...V3()]}],"font-size":[{text:["base",f,ou,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o6,tt,vo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ho,I]}],"font-family":[{font:[rp,I,r3]}],"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:[d2,tt,I]}],"line-clamp":[{"line-clamp":[dt,"none",tt,vo]}],leading:[{leading:[h3,...J6()]}],"list-image":[{"list-image":["none",tt,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",tt,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B3()}],"text-color":[{text:B3()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ft4(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",tt,rn]}],"text-decoration-color":[{decoration:B3()}],"underline-offset":[{"underline-offset":[dt,"auto",tt,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:J6()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",tt,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",tt,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ct5()}],"bg-repeat":[{bg:E7()}],"bg-size":[{bg:G6()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Yl,tt,I],radial:["",tt,I],conic:[Yl,tt,I]},fp,cp]}],"bg-color":[{bg:B3()}],"gradient-from-pos":[{from:$5()}],"gradient-via-pos":[{via:$5()}],"gradient-to-pos":[{to:$5()}],"gradient-from":[{from:B3()}],"gradient-via":[{via:B3()}],"gradient-to":[{to:B3()}],rounded:[{rounded:K4()}],"rounded-s":[{"rounded-s":K4()}],"rounded-e":[{"rounded-e":K4()}],"rounded-t":[{"rounded-t":K4()}],"rounded-r":[{"rounded-r":K4()}],"rounded-b":[{"rounded-b":K4()}],"rounded-l":[{"rounded-l":K4()}],"rounded-ss":[{"rounded-ss":K4()}],"rounded-se":[{"rounded-se":K4()}],"rounded-ee":[{"rounded-ee":K4()}],"rounded-es":[{"rounded-es":K4()}],"rounded-tl":[{"rounded-tl":K4()}],"rounded-tr":[{"rounded-tr":K4()}],"rounded-br":[{"rounded-br":K4()}],"rounded-bl":[{"rounded-bl":K4()}],"border-w":[{border:F4()}],"border-w-x":[{"border-x":F4()}],"border-w-y":[{"border-y":F4()}],"border-w-s":[{"border-s":F4()}],"border-w-e":[{"border-e":F4()}],"border-w-t":[{"border-t":F4()}],"border-w-r":[{"border-r":F4()}],"border-w-b":[{"border-b":F4()}],"border-w-l":[{"border-l":F4()}],"divide-x":[{"divide-x":F4()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":F4()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ft4(),"hidden","none"]}],"divide-style":[{divide:[...ft4(),"hidden","none"]}],"border-color":[{border:B3()}],"border-color-x":[{"border-x":B3()}],"border-color-y":[{"border-y":B3()}],"border-color-s":[{"border-s":B3()}],"border-color-e":[{"border-e":B3()}],"border-color-t":[{"border-t":B3()}],"border-color-r":[{"border-r":B3()}],"border-color-b":[{"border-b":B3()}],"border-color-l":[{"border-l":B3()}],"divide-color":[{divide:B3()}],"outline-style":[{outline:[...ft4(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,tt,I]}],"outline-w":[{outline:["",dt,ou,rn]}],"outline-color":[{outline:B3()}],shadow:[{shadow:["","none",S4,Mi,Ri]}],"shadow-color":[{shadow:B3()}],"inset-shadow":[{"inset-shadow":["none",A,Mi,Ri]}],"inset-shadow-color":[{"inset-shadow":B3()}],"ring-w":[{ring:F4()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B3()}],"ring-offset-w":[{"ring-offset":[dt,rn]}],"ring-offset-color":[{"ring-offset":B3()}],"inset-ring-w":[{"inset-ring":F4()}],"inset-ring-color":[{"inset-ring":B3()}],"text-shadow":[{"text-shadow":["none",D3,Mi,Ri]}],"text-shadow-color":[{"text-shadow":B3()}],opacity:[{opacity:[dt,tt,I]}],"mix-blend":[{"mix-blend":[...ut5(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ut5()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[dt]}],"mask-image-linear-from-pos":[{"mask-linear-from":mt4()}],"mask-image-linear-to-pos":[{"mask-linear-to":mt4()}],"mask-image-linear-from-color":[{"mask-linear-from":B3()}],"mask-image-linear-to-color":[{"mask-linear-to":B3()}],"mask-image-t-from-pos":[{"mask-t-from":mt4()}],"mask-image-t-to-pos":[{"mask-t-to":mt4()}],"mask-image-t-from-color":[{"mask-t-from":B3()}],"mask-image-t-to-color":[{"mask-t-to":B3()}],"mask-image-r-from-pos":[{"mask-r-from":mt4()}],"mask-image-r-to-pos":[{"mask-r-to":mt4()}],"mask-image-r-from-color":[{"mask-r-from":B3()}],"mask-image-r-to-color":[{"mask-r-to":B3()}],"mask-image-b-from-pos":[{"mask-b-from":mt4()}],"mask-image-b-to-pos":[{"mask-b-to":mt4()}],"mask-image-b-from-color":[{"mask-b-from":B3()}],"mask-image-b-to-color":[{"mask-b-to":B3()}],"mask-image-l-from-pos":[{"mask-l-from":mt4()}],"mask-image-l-to-pos":[{"mask-l-to":mt4()}],"mask-image-l-from-color":[{"mask-l-from":B3()}],"mask-image-l-to-color":[{"mask-l-to":B3()}],"mask-image-x-from-pos":[{"mask-x-from":mt4()}],"mask-image-x-to-pos":[{"mask-x-to":mt4()}],"mask-image-x-from-color":[{"mask-x-from":B3()}],"mask-image-x-to-color":[{"mask-x-to":B3()}],"mask-image-y-from-pos":[{"mask-y-from":mt4()}],"mask-image-y-to-pos":[{"mask-y-to":mt4()}],"mask-image-y-from-color":[{"mask-y-from":B3()}],"mask-image-y-to-color":[{"mask-y-to":B3()}],"mask-image-radial":[{"mask-radial":[tt,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":mt4()}],"mask-image-radial-to-pos":[{"mask-radial-to":mt4()}],"mask-image-radial-from-color":[{"mask-radial-from":B3()}],"mask-image-radial-to-color":[{"mask-radial-to":B3()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k3()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":mt4()}],"mask-image-conic-to-pos":[{"mask-conic-to":mt4()}],"mask-image-conic-from-color":[{"mask-conic-from":B3()}],"mask-image-conic-to-color":[{"mask-conic-to":B3()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ct5()}],"mask-repeat":[{mask:E7()}],"mask-size":[{mask:G6()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",tt,I]}],filter:[{filter:["","none",tt,I]}],blur:[{blur:At4()}],brightness:[{brightness:[dt,tt,I]}],contrast:[{contrast:[dt,tt,I]}],"drop-shadow":[{"drop-shadow":["","none",w3,Mi,Ri]}],"drop-shadow-color":[{"drop-shadow":B3()}],grayscale:[{grayscale:["",dt,tt,I]}],"hue-rotate":[{"hue-rotate":[dt,tt,I]}],invert:[{invert:["",dt,tt,I]}],saturate:[{saturate:[dt,tt,I]}],sepia:[{sepia:["",dt,tt,I]}],"backdrop-filter":[{"backdrop-filter":["","none",tt,I]}],"backdrop-blur":[{"backdrop-blur":At4()}],"backdrop-brightness":[{"backdrop-brightness":[dt,tt,I]}],"backdrop-contrast":[{"backdrop-contrast":[dt,tt,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,tt,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,tt,I]}],"backdrop-invert":[{"backdrop-invert":["",dt,tt,I]}],"backdrop-opacity":[{"backdrop-opacity":[dt,tt,I]}],"backdrop-saturate":[{"backdrop-saturate":[dt,tt,I]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,tt,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":J6()}],"border-spacing-x":[{"border-spacing-x":J6()}],"border-spacing-y":[{"border-spacing-y":J6()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",tt,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",tt,I]}],ease:[{ease:["linear","initial",Y7,tt,I]}],delay:[{delay:[dt,tt,I]}],animate:[{animate:["none",Q7,tt,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[O4,tt,I]}],"perspective-origin":[{"perspective-origin":X5()}],rotate:[{rotate:le4()}],"rotate-x":[{"rotate-x":le4()}],"rotate-y":[{"rotate-y":le4()}],"rotate-z":[{"rotate-z":le4()}],scale:[{scale:He8()}],"scale-x":[{"scale-x":He8()}],"scale-y":[{"scale-y":He8()}],"scale-z":[{"scale-z":He8()}],"scale-3d":["scale-3d"],skew:[{skew:Be7()}],"skew-x":[{"skew-x":Be7()}],"skew-y":[{"skew-y":Be7()}],transform:[{transform:[tt,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:X5()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Le8()}],"translate-x":[{"translate-x":Le8()}],"translate-y":[{"translate-y":Le8()}],"translate-z":[{"translate-z":Le8()}],"translate-none":["translate-none"],accent:[{accent:B3()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B3()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",tt,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":J6()}],"scroll-mx":[{"scroll-mx":J6()}],"scroll-my":[{"scroll-my":J6()}],"scroll-ms":[{"scroll-ms":J6()}],"scroll-me":[{"scroll-me":J6()}],"scroll-mt":[{"scroll-mt":J6()}],"scroll-mr":[{"scroll-mr":J6()}],"scroll-mb":[{"scroll-mb":J6()}],"scroll-ml":[{"scroll-ml":J6()}],"scroll-p":[{"scroll-p":J6()}],"scroll-px":[{"scroll-px":J6()}],"scroll-py":[{"scroll-py":J6()}],"scroll-ps":[{"scroll-ps":J6()}],"scroll-pe":[{"scroll-pe":J6()}],"scroll-pt":[{"scroll-pt":J6()}],"scroll-pr":[{"scroll-pr":J6()}],"scroll-pb":[{"scroll-pb":J6()}],"scroll-pl":[{"scroll-pl":J6()}],"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",tt,I]}],fill:[{fill:["none",...B3()]}],"stroke-w":[{stroke:[dt,ou,rn,vo]}],stroke:[{stroke:["none",...B3()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},"getDefaultConfig");var hp=J0(mp);function nv(...u6){return hp(Zh(u6))}__name(nv,"nv");i(nv,"cn");function rS(u6){if(!u6)return u6;const r3=document.createElement("textarea");r3.innerHTML=u6;const f=r3.value;r3.remove();return f}__name(rS,"rS");i(rS,"decodeHtmlEntities");var vp=kh("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function oS({className:u6,variant:r3,asChild:f=false,...o6}){const d2=f?Vh:"span";return Ht.jsx(d2,{"data-slot":"badge",className:nv(vp({variant:r3}),u6),...o6})}__name(oS,"oS");i(oS,"Badge");var gp=kh("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function fS({className:u6,variant:r3,size:f,asChild:o6=false,...d2}){const h3=o6?Vh:"button";return Ht.jsx(h3,{"data-slot":"button",className:nv(gp({variant:r3,size:f,className:u6})),...d2})}__name(fS,"fS");i(fS,"Button");function go(u6,r3,{checkForDefaultPrevented:f=true}={}){return i(__name(function o6(d2){u6?.(d2);if(f===false||!d2.defaultPrevented){return r3?.(d2)}},"o"),"handleEvent")}__name(go,"go");i(go,"composeEventHandlers");function sS(u6,r3){const f=z.createContext(r3);const o6=i(h3=>{const{children:v2,...y4}=h3;const p2=z.useMemo(()=>y4,Object.values(y4));return Ht.jsx(f.Provider,{value:p2,children:v2})},"Provider");o6.displayName=u6+"Provider";function d2(h3){const v2=z.useContext(f);if(v2)return v2;if(r3!==void 0)return r3;throw new Error(``${h3}` must be used within `${u6}``)}__name(d2,"d");i(d2,"useContext2");return[o6,d2]}__name(sS,"sS");i(sS,"createContext2");function av(u6,r3=[]){let f=[];function o6(h3,v2){const y4=z.createContext(v2);const p2=f.length;f=[...f,v2];const g=i(A=>{const{scope:D3,children:w3,...H3}=A;const O4=D3?.[u6]?.[p2]||y4;const U3=z.useMemo(()=>H3,Object.values(H3));return Ht.jsx(O4.Provider,{value:U3,children:w3})},"Provider");g.displayName=h3+"Provider";function S4(A,D3){const w3=D3?.[u6]?.[p2]||y4;const H3=z.useContext(w3);if(H3)return H3;if(v2!==void 0)return v2;throw new Error(``${A}` must be used within `${h3}``)}__name(S4,"S");i(S4,"useContext2");return[g,S4]}__name(o6,"o");i(o6,"createContext3");const d2=i(()=>{const h3=f.map(v2=>{return z.createContext(v2)});return i(__name(function v2(y4){const p2=y4?.[u6]||h3;return z.useMemo(()=>({[`__scope${u6}`]:{...y4,[u6]:p2}}),[y4,p2])},"v"),"useScope")},"createScope");d2.scopeName=u6;return[o6,yp(d2,...r3)]}__name(av,"av");i(av,"createContextScope");function yp(...u6){const r3=u6[0];if(u6.length===1)return r3;const f=i(()=>{const o6=u6.map(d2=>({useScope:d2(),scopeName:d2.scopeName}));return i(__name(function d2(h3){const v2=o6.reduce((y4,{useScope:p2,scopeName:g})=>{const S4=p2(h3);const A=S4[`__scope${g}`];return{...y4,...A}},{});return z.useMemo(()=>({[`__scope${r3.scopeName}`]:v2}),[v2])},"d"),"useComposedScopes")},"createScope");f.scopeName=r3.scopeName;return f}__name(yp,"yp");i(yp,"composeContextScopes");var na=globalThis?.document?z.useLayoutEffect:()=>{};var pp=Qi[" useInsertionEffect ".trim().toString()]||na;function dS({prop:u6,defaultProp:r3,onChange:f=i(()=>{},"onChange"),caller:o6}){const[d2,h3,v2]=bp({defaultProp:r3,onChange:f});const y4=u6!==void 0;const p2=y4?u6:d2;{const S4=z.useRef(u6!==void 0);z.useEffect(()=>{const A=S4.current;if(A!==y4){const D3=A?"controlled":"uncontrolled";const w3=y4?"controlled":"uncontrolled";console.warn(`${o6} is changing from ${D3} to ${w3}. 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.`)}S4.current=y4},[y4,o6])}const g=z.useCallback(S4=>{if(y4){const A=Sp(S4)?S4(u6):S4;if(A!==u6){v2.current?.(A)}}else{h3(S4)}},[y4,u6,h3,v2]);return[p2,g]}__name(dS,"dS");i(dS,"useControllableState");function bp({defaultProp:u6,onChange:r3}){const[f,o6]=z.useState(u6);const d2=z.useRef(f);const h3=z.useRef(r3);pp(()=>{h3.current=r3},[r3]);z.useEffect(()=>{if(d2.current!==f){h3.current?.(f);d2.current=f}},[f,d2]);return[f,o6,h3]}__name(bp,"bp");i(bp,"useUncontrolledState");function Sp(u6){return typeof u6==="function"}__name(Sp,"Sp");i(Sp,"isFunction");var Ep=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"];var sn=Ep.reduce((u6,r3)=>{const f=Yi(`Primitive.${r3}`);const o6=z.forwardRef((d2,h3)=>{const{asChild:v2,...y4}=d2;const p2=v2?f:r3;if(typeof window!=="undefined"){window[Symbol.for("radix-ui")]=true}return Ht.jsx(p2,{...y4,ref:h3})});o6.displayName=`Primitive.${r3}`;return{...u6,[r3]:o6}},{});function xp(u6,r3){if(u6)Bo.flushSync(()=>u6.dispatchEvent(r3))}__name(xp,"xp");i(xp,"dispatchDiscreteCustomEvent");function mS(u6){const r3=u6+"CollectionProvider";const[f,o6]=av(r3);const[d2,h3]=f(r3,{collectionRef:{current:null},itemMap:new Map});const v2=i(O4=>{const{scope:U3,children:Y7}=O4;const Q7=sl.useRef(null);const Z6=sl.useRef(new Map).current;return Ht.jsx(d2,{scope:U3,itemMap:Z6,collectionRef:Q7,children:Y7})},"CollectionProvider");v2.displayName=r3;const y4=u6+"CollectionSlot";const p2=Yi(y4);const g=sl.forwardRef((O4,U3)=>{const{scope:Y7,children:Q7}=O4;const Z6=h3(y4,Y7);const k3=on(U3,Z6.collectionRef);return Ht.jsx(p2,{ref:k3,children:Q7})});g.displayName=y4;const S4=u6+"CollectionItemSlot";const A="data-radix-collection-item";const D3=Yi(S4);const w3=sl.forwardRef((O4,U3)=>{const{scope:Y7,children:Q7,...Z6}=O4;const k3=sl.useRef(null);const X5=on(U3,k3);const et5=h3(S4,Y7);sl.useEffect(()=>{et5.itemMap.set(k3,{ref:k3,...Z6});return()=>void et5.itemMap.delete(k3)});return Ht.jsx(D3,{...{[A]:""},ref:X5,children:Q7})});w3.displayName=S4;function H3(O4){const U3=h3(u6+"CollectionConsumer",O4);const Y7=sl.useCallback(()=>{const Q7=U3.collectionRef.current;if(!Q7)return[];const Z6=Array.from(Q7.querySelectorAll(`[${A}]`));const k3=Array.from(U3.itemMap.values());const X5=k3.sort((et5,W5)=>Z6.indexOf(et5.ref.current)-Z6.indexOf(W5.ref.current));return X5},[U3.collectionRef,U3.itemMap]);return Y7}__name(H3,"H");i(H3,"useCollection");return[{Provider:v2,Slot:g,ItemSlot:w3},H3,o6]}__name(mS,"mS");i(mS,"createCollection");var Ap=z.createContext(void 0);function hS(u6){const r3=z.useContext(Ap);return u6||r3||"ltr"}__name(hS,"hS");i(hS,"useDirection");function aa(u6){const r3=z.useRef(u6);z.useEffect(()=>{r3.current=u6});return z.useMemo(()=>(...f)=>r3.current?.(...f),[])}__name(aa,"aa");i(aa,"useCallbackRef$1");function Tp(u6,r3=globalThis?.document){const f=aa(u6);z.useEffect(()=>{const o6=i(d2=>{if(d2.key==="Escape"){f(d2)}},"handleKeyDown");r3.addEventListener("keydown",o6,{capture:true});return()=>r3.removeEventListener("keydown",o6,{capture:true})},[f,r3])}__name(Tp,"Tp");i(Tp,"useEscapeKeydown");var Op="DismissableLayer";var _o="dismissableLayer.update";var wp="dismissableLayer.pointerDownOutside";var Rp="dismissableLayer.focusOutside";var dh;var uv=z.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set});var Mp=z.forwardRef((u6,r3)=>{const{disableOutsidePointerEvents:f=false,onEscapeKeyDown:o6,onPointerDownOutside:d2,onFocusOutside:h3,onInteractOutside:v2,onDismiss:y4,...p2}=u6;const g=z.useContext(uv);const[S4,A]=z.useState(null);const D3=S4?.ownerDocument??globalThis?.document;const[,w3]=z.useState({});const H3=on(r3,W5=>A(W5));const O4=Array.from(g.layers);const[U3]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1);const Y7=O4.indexOf(U3);const Q7=S4?O4.indexOf(S4):-1;const Z6=g.layersWithOutsidePointerEventsDisabled.size>0;const k3=Q7>=Y7;const X5=Cp(W5=>{const J6=W5.target;const rt6=[...g.branches].some(Et5=>Et5.contains(J6));if(!k3||rt6)return;d2?.(W5);v2?.(W5);if(!W5.defaultPrevented)y4?.()},D3);const et5=Dp(W5=>{const J6=W5.target;const rt6=[...g.branches].some(Et5=>Et5.contains(J6));if(rt6)return;h3?.(W5);v2?.(W5);if(!W5.defaultPrevented)y4?.()},D3);Tp(W5=>{const J6=Q7===g.layers.size-1;if(!J6)return;o6?.(W5);if(!W5.defaultPrevented&&y4){W5.preventDefault();y4()}},D3);z.useEffect(()=>{if(!S4)return;if(f){if(g.layersWithOutsidePointerEventsDisabled.size===0){dh=D3.body.style.pointerEvents;D3.body.style.pointerEvents="none"}g.layersWithOutsidePointerEventsDisabled.add(S4)}g.layers.add(S4);mh();return()=>{if(f&&g.layersWithOutsidePointerEventsDisabled.size===1){D3.body.style.pointerEvents=dh}}},[S4,D3,f,g]);z.useEffect(()=>{return()=>{if(!S4)return;g.layers.delete(S4);g.layersWithOutsidePointerEventsDisabled.delete(S4);mh()}},[S4,g]);z.useEffect(()=>{const W5=i(()=>w3({}),"handleUpdate");document.addEventListener(_o,W5);return()=>document.removeEventListener(_o,W5)},[]);return Ht.jsx(sn.div,{...p2,ref:H3,style:{pointerEvents:Z6?k3?"auto":"none":void 0,...u6.style},onFocusCapture:go(u6.onFocusCapture,et5.onFocusCapture),onBlurCapture:go(u6.onBlurCapture,et5.onBlurCapture),onPointerDownCapture:go(u6.onPointerDownCapture,X5.onPointerDownCapture)})});Mp.displayName=Op;var zp="DismissableLayerBranch";var _p=z.forwardRef((u6,r3)=>{const f=z.useContext(uv);const o6=z.useRef(null);const d2=on(r3,o6);z.useEffect(()=>{const h3=o6.current;if(h3){f.branches.add(h3);return()=>{f.branches.delete(h3)}}},[f.branches]);return Ht.jsx(sn.div,{...u6,ref:d2})});_p.displayName=zp;function Cp(u6,r3=globalThis?.document){const f=aa(u6);const o6=z.useRef(false);const d2=z.useRef(()=>{});z.useEffect(()=>{const h3=i(y4=>{if(y4.target&&!o6.current){let p2=i(function(){iv(wp,f,g,{discrete:true})},"handleAndDispatchPointerDownOutsideEvent2");const g={originalEvent:y4};if(y4.pointerType==="touch"){r3.removeEventListener("click",d2.current);d2.current=p2;r3.addEventListener("click",d2.current,{once:true})}else{p2()}}else{r3.removeEventListener("click",d2.current)}o6.current=false},"handlePointerDown");const v2=window.setTimeout(()=>{r3.addEventListener("pointerdown",h3)},0);return()=>{window.clearTimeout(v2);r3.removeEventListener("pointerdown",h3);r3.removeEventListener("click",d2.current)}},[r3,f]);return{onPointerDownCapture:i(()=>o6.current=true,"onPointerDownCapture")}}__name(Cp,"Cp");i(Cp,"usePointerDownOutside");function Dp(u6,r3=globalThis?.document){const f=aa(u6);const o6=z.useRef(false);z.useEffect(()=>{const d2=i(h3=>{if(h3.target&&!o6.current){const v2={originalEvent:h3};iv(Rp,f,v2,{discrete:false})}},"handleFocus");r3.addEventListener("focusin",d2);return()=>r3.removeEventListener("focusin",d2)},[r3,f]);return{onFocusCapture:i(()=>o6.current=true,"onFocusCapture"),onBlurCapture:i(()=>o6.current=false,"onBlurCapture")}}__name(Dp,"Dp");i(Dp,"useFocusOutside");function mh(){const u6=new CustomEvent(_o);document.dispatchEvent(u6)}__name(mh,"mh");i(mh,"dispatchUpdate");function iv(u6,r3,f,{discrete:o6}){const d2=f.originalEvent.target;const h3=new CustomEvent(u6,{bubbles:false,cancelable:true,detail:f});if(r3)d2.addEventListener(u6,r3,{once:true});if(o6){xp(d2,h3)}else{d2.dispatchEvent(h3)}}__name(iv,"iv");i(iv,"handleAndDispatchCustomEvent");var yo=0;function vS(){z.useEffect(()=>{const u6=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",u6[0]??hh());document.body.insertAdjacentElement("beforeend",u6[1]??hh());yo++;return()=>{if(yo===1){document.querySelectorAll("[data-radix-focus-guard]").forEach(r3=>r3.remove())}yo--}},[])}__name(vS,"vS");i(vS,"useFocusGuards");function hh(){const u6=document.createElement("span");u6.setAttribute("data-radix-focus-guard","");u6.tabIndex=0;u6.style.outline="none";u6.style.opacity="0";u6.style.position="fixed";u6.style.pointerEvents="none";return u6}__name(hh,"hh");i(hh,"createFocusGuard");var po="focusScope.autoFocusOnMount";var bo="focusScope.autoFocusOnUnmount";var vh={bubbles:false,cancelable:true};var Np="FocusScope";var Up=z.forwardRef((u6,r3)=>{const{loop:f=false,trapped:o6=false,onMountAutoFocus:d2,onUnmountAutoFocus:h3,...v2}=u6;const[y4,p2]=z.useState(null);const g=aa(d2);const S4=aa(h3);const A=z.useRef(null);const D3=on(r3,O4=>p2(O4));const w3=z.useRef({paused:false,pause(){this.paused=true},resume(){this.paused=false}}).current;z.useEffect(()=>{if(o6){let O4=i(function(Z6){if(w3.paused||!y4)return;const k3=Z6.target;if(y4.contains(k3)){A.current=k3}else{jl(A.current,{select:true})}},"handleFocusIn2"),U3=i(function(Z6){if(w3.paused||!y4)return;const k3=Z6.relatedTarget;if(k3===null)return;if(!y4.contains(k3)){jl(A.current,{select:true})}},"handleFocusOut2"),Y7=i(function(Z6){const k3=document.activeElement;if(k3!==document.body)return;for(const X5 of Z6){if(X5.removedNodes.length>0)jl(y4)}},"handleMutations2");document.addEventListener("focusin",O4);document.addEventListener("focusout",U3);const Q7=new MutationObserver(Y7);if(y4)Q7.observe(y4,{childList:true,subtree:true});return()=>{document.removeEventListener("focusin",O4);document.removeEventListener("focusout",U3);Q7.disconnect()}}},[o6,y4,w3.paused]);z.useEffect(()=>{if(y4){yh.add(w3);const O4=document.activeElement;const U3=y4.contains(O4);if(!U3){const Y7=new CustomEvent(po,vh);y4.addEventListener(po,g);y4.dispatchEvent(Y7);if(!Y7.defaultPrevented){Hp(jp(cv(y4)),{select:true});if(document.activeElement===O4){jl(y4)}}}return()=>{y4.removeEventListener(po,g);setTimeout(()=>{const Y7=new CustomEvent(bo,vh);y4.addEventListener(bo,S4);y4.dispatchEvent(Y7);if(!Y7.defaultPrevented){jl(O4??document.body,{select:true})}y4.removeEventListener(bo,S4);yh.remove(w3)},0)}}},[y4,g,S4,w3]);const H3=z.useCallback(O4=>{if(!f&&!o6)return;if(w3.paused)return;const U3=O4.key==="Tab"&&!O4.altKey&&!O4.ctrlKey&&!O4.metaKey;const Y7=document.activeElement;if(U3&&Y7){const Q7=O4.currentTarget;const[Z6,k3]=Bp(Q7);const X5=Z6&&k3;if(!X5){if(Y7===Q7)O4.preventDefault()}else{if(!O4.shiftKey&&Y7===k3){O4.preventDefault();if(f)jl(Z6,{select:true})}else if(O4.shiftKey&&Y7===Z6){O4.preventDefault();if(f)jl(k3,{select:true})}}}},[f,o6,w3.paused]);return Ht.jsx(sn.div,{tabIndex:-1,...v2,ref:D3,onKeyDown:H3})});Up.displayName=Np;function Hp(u6,{select:r3=false}={}){const f=document.activeElement;for(const o6 of u6){jl(o6,{select:r3});if(document.activeElement!==f)return}}__name(Hp,"Hp");i(Hp,"focusFirst");function Bp(u6){const r3=cv(u6);const f=gh(r3,u6);const o6=gh(r3.reverse(),u6);return[f,o6]}__name(Bp,"Bp");i(Bp,"getTabbableEdges");function cv(u6){const r3=[];const f=document.createTreeWalker(u6,NodeFilter.SHOW_ELEMENT,{acceptNode:i(o6=>{const d2=o6.tagName==="INPUT"&&o6.type==="hidden";if(o6.disabled||o6.hidden||d2)return NodeFilter.FILTER_SKIP;return o6.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(f.nextNode())r3.push(f.currentNode);return r3}__name(cv,"cv");i(cv,"getTabbableCandidates");function gh(u6,r3){for(const f of u6){if(!Lp(f,{upTo:r3}))return f}}__name(gh,"gh");i(gh,"findVisible");function Lp(u6,{upTo:r3}){if(getComputedStyle(u6).visibility==="hidden")return true;while(u6){if(r3!==void 0&&u6===r3)return false;if(getComputedStyle(u6).display==="none")return true;u6=u6.parentElement}return false}__name(Lp,"Lp");i(Lp,"isHidden");function qp(u6){return u6 instanceof HTMLInputElement&&"select"in u6}__name(qp,"qp");i(qp,"isSelectableInput");function jl(u6,{select:r3=false}={}){if(u6&&u6.focus){const f=document.activeElement;u6.focus({preventScroll:true});if(u6!==f&&qp(u6)&&r3)u6.select()}}__name(jl,"jl");i(jl,"focus");var yh=Yp();function Yp(){let u6=[];return{add(r3){const f=u6[0];if(r3!==f){f?.pause()}u6=ph(u6,r3);u6.unshift(r3)},remove(r3){u6=ph(u6,r3);u6[0]?.resume()}}}__name(Yp,"Yp");i(Yp,"createFocusScopesStack");function ph(u6,r3){const f=[...u6];const o6=f.indexOf(r3);if(o6!==-1){f.splice(o6,1)}return f}__name(ph,"ph");i(ph,"arrayRemove");function jp(u6){return u6.filter(r3=>r3.tagName!=="A")}__name(jp,"jp");i(jp,"removeLinks");var Gp=Qi[" useId ".trim().toString()]||(()=>void 0);var Xp=0;function gS(u6){const[r3,f]=z.useState(Gp());na(()=>{f(o6=>o6??String(Xp++))},[u6]);return u6||(r3?`radix-${r3}`:"")}__name(gS,"gS");i(gS,"useId");var Vp=["top","right","bottom","left"];var Gl=Math.min;var pe=Math.max;var ji=Math.round;var zi=Math.floor;var ke=i(u6=>({x:u6,y:u6}),"createCoords");var Qp={left:"right",right:"left",bottom:"top",top:"bottom"};var Zp={start:"end",end:"start"};function Co(u6,r3,f){return pe(u6,Gl(r3,f))}__name(Co,"Co");i(Co,"clamp");function dl(u6,r3){return typeof u6==="function"?u6(r3):u6}__name(dl,"dl");i(dl,"evaluate");function ml(u6){return u6.split("-")[0]}__name(ml,"ml");i(ml,"getSide");function ra(u6){return u6.split("-")[1]}__name(ra,"ra");i(ra,"getAlignment");function jo(u6){return u6==="x"?"y":"x"}__name(jo,"jo");i(jo,"getOppositeAxis");function Go(u6){return u6==="y"?"height":"width"}__name(Go,"Go");i(Go,"getAxisLength");var kp=new Set(["top","bottom"]);function Ze(u6){return kp.has(ml(u6))?"y":"x"}__name(Ze,"Ze");i(Ze,"getSideAxis");function Xo(u6){return jo(Ze(u6))}__name(Xo,"Xo");i(Xo,"getAlignmentAxis");function Kp(u6,r3,f){if(f===void 0){f=false}const o6=ra(u6);const d2=Xo(u6);const h3=Go(d2);let v2=d2==="x"?o6===(f?"end":"start")?"right":"left":o6==="start"?"bottom":"top";if(r3.reference[h3]>r3.floating[h3]){v2=Gi(v2)}return[v2,Gi(v2)]}__name(Kp,"Kp");i(Kp,"getAlignmentSides");function Jp(u6){const r3=Gi(u6);return[Do(u6),r3,Do(r3)]}__name(Jp,"Jp");i(Jp,"getExpandedPlacements");function Do(u6){return u6.replace(/start|end/g,r3=>Zp[r3])}__name(Do,"Do");i(Do,"getOppositeAlignmentPlacement");var bh=["left","right"];var Sh=["right","left"];var Wp=["top","bottom"];var $p=["bottom","top"];function Fp(u6,r3,f){switch(u6){case"top":case"bottom":if(f)return r3?Sh:bh;return r3?bh:Sh;case"left":case"right":return r3?Wp:$p;default:return[]}}__name(Fp,"Fp");i(Fp,"getSideList");function Pp(u6,r3,f,o6){const d2=ra(u6);let h3=Fp(ml(u6),f==="start",o6);if(d2){h3=h3.map(v2=>v2+"-"+d2);if(r3){h3=h3.concat(h3.map(Do))}}return h3}__name(Pp,"Pp");i(Pp,"getOppositeAxisPlacements");function Gi(u6){return u6.replace(/left|right|bottom|top/g,r3=>Qp[r3])}__name(Gi,"Gi");i(Gi,"getOppositePlacement");function Ip(u6){return{top:0,right:0,bottom:0,left:0,...u6}}__name(Ip,"Ip");i(Ip,"expandPaddingObject");function rv(u6){return typeof u6!=="number"?Ip(u6):{top:u6,right:u6,bottom:u6,left:u6}}__name(rv,"rv");i(rv,"getPaddingObject");function Xi(u6){const{x:r3,y:f,width:o6,height:d2}=u6;return{width:o6,height:d2,top:f,left:r3,right:r3+o6,bottom:f+d2,x:r3,y:f}}__name(Xi,"Xi");i(Xi,"rectToClientRect");function Eh(u6,r3,f){let{reference:o6,floating:d2}=u6;const h3=Ze(r3);const v2=Xo(r3);const y4=Go(v2);const p2=ml(r3);const g=h3==="y";const S4=o6.x+o6.width/2-d2.width/2;const A=o6.y+o6.height/2-d2.height/2;const D3=o6[y4]/2-d2[y4]/2;let w3;switch(p2){case"top":w3={x:S4,y:o6.y-d2.height};break;case"bottom":w3={x:S4,y:o6.y+o6.height};break;case"right":w3={x:o6.x+o6.width,y:A};break;case"left":w3={x:o6.x-d2.width,y:A};break;default:w3={x:o6.x,y:o6.y}}switch(ra(r3)){case"start":w3[v2]-=D3*(f&&g?-1:1);break;case"end":w3[v2]+=D3*(f&&g?-1:1);break}return w3}__name(Eh,"Eh");i(Eh,"computeCoordsFromPlacement");var tb=i(async(u6,r3,f)=>{const{placement:o6="bottom",strategy:d2="absolute",middleware:h3=[],platform:v2}=f;const y4=h3.filter(Boolean);const p2=await(v2.isRTL==null?void 0:v2.isRTL(r3));let g=await v2.getElementRects({reference:u6,floating:r3,strategy:d2});let{x:S4,y:A}=Eh(g,o6,p2);let D3=o6;let w3={};let H3=0;for(let O4=0;O4({name:"arrow",options:u6,async fn(r3){const{x:f,y:o6,placement:d2,rects:h3,platform:v2,elements:y4,middlewareData:p2}=r3;const{element:g,padding:S4=0}=dl(u6,r3)||{};if(g==null){return{}}const A=rv(S4);const D3={x:f,y:o6};const w3=Xo(d2);const H3=Go(w3);const O4=await v2.getDimensions(g);const U3=w3==="y";const Y7=U3?"top":"left";const Q7=U3?"bottom":"right";const Z6=U3?"clientHeight":"clientWidth";const k3=h3.reference[H3]+h3.reference[w3]-D3[w3]-h3.floating[H3];const X5=D3[w3]-h3.reference[w3];const et5=await(v2.getOffsetParent==null?void 0:v2.getOffsetParent(g));let W5=et5?et5[Z6]:0;if(!W5||!await(v2.isElement==null?void 0:v2.isElement(et5))){W5=y4.floating[Z6]||h3.floating[H3]}const J6=k3/2-X5/2;const rt6=W5/2-O4[H3]/2-1;const Et5=Gl(A[Y7],rt6);const Mt4=Gl(A[Q7],rt6);const vt3=Et5;const Ot4=W5-O4[H3]-Mt4;const St3=W5/2-O4[H3]/2+J6;const gt4=Co(vt3,St3,Ot4);const C4=!p2.arrow&&ra(d2)!=null&&St3!==gt4&&h3.reference[H3]/2-(St3St3<=0)){var Mt4,vt3;const St3=(((Mt4=h3.flip)==null?void 0:Mt4.index)||0)+1;const gt4=W5[St3];if(gt4){const V3=A==="alignment"?Q7!==Ze(gt4):false;if(!V3||Et5.every(B3=>B3.overflows[0]>0&&Ze(B3.placement)===Q7)){return{data:{index:St3,overflows:Et5},reset:{placement:gt4}}}}let C4=(vt3=Et5.filter(V3=>V3.overflows[0]<=0).sort((V3,B3)=>V3.overflows[1]-B3.overflows[1])[0])==null?void 0:vt3.placement;if(!C4){switch(w3){case"bestFit":{var Ot4;const V3=(Ot4=Et5.filter(B3=>{if(et5){const ct5=Ze(B3.placement);return ct5===Q7||ct5==="y"}return true}).map(B3=>[B3.placement,B3.overflows.filter(ct5=>ct5>0).reduce((ct5,E7)=>ct5+E7,0)]).sort((B3,ct5)=>B3[1]-ct5[1])[0])==null?void 0:Ot4[0];if(V3){C4=V3}break}case"initialPlacement":C4=y4;break}}if(d2!==C4){return{reset:{placement:C4}}}}return{}}}},"flip$2");function xh(u6,r3){return{top:u6.top-r3.height,right:u6.right-r3.width,bottom:u6.bottom-r3.height,left:u6.left-r3.width}}__name(xh,"xh");i(xh,"getSideOffsets");function Ah(u6){return Vp.some(r3=>u6[r3]>=0)}__name(Ah,"Ah");i(Ah,"isAnySideFullyClipped");var nb=i(function(u6){if(u6===void 0){u6={}}return{name:"hide",options:u6,async fn(r3){const{rects:f}=r3;const{strategy:o6="referenceHidden",...d2}=dl(u6,r3);switch(o6){case"referenceHidden":{const h3=await fu(r3,{...d2,elementContext:"reference"});const v2=xh(h3,f.reference);return{data:{referenceHiddenOffsets:v2,referenceHidden:Ah(v2)}}}case"escaped":{const h3=await fu(r3,{...d2,altBoundary:true});const v2=xh(h3,f.floating);return{data:{escapedOffsets:v2,escaped:Ah(v2)}}}default:{return{}}}}}},"hide$2");var ov=new Set(["left","top"]);async function ab(u6,r3){const{placement:f,platform:o6,elements:d2}=u6;const h3=await(o6.isRTL==null?void 0:o6.isRTL(d2.floating));const v2=ml(f);const y4=ra(f);const p2=Ze(f)==="y";const g=ov.has(v2)?-1:1;const S4=h3&&p2?-1:1;const A=dl(r3,u6);let{mainAxis:D3,crossAxis:w3,alignmentAxis:H3}=typeof A==="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};if(y4&&typeof H3==="number"){w3=y4==="end"?H3*-1:H3}return p2?{x:w3*S4,y:D3*g}:{x:D3*g,y:w3*S4}}__name(ab,"ab");i(ab,"convertValueToCoords");var ub=i(function(u6){if(u6===void 0){u6=0}return{name:"offset",options:u6,async fn(r3){var f,o6;const{x:d2,y:h3,placement:v2,middlewareData:y4}=r3;const p2=await ab(r3,u6);if(v2===((f=y4.offset)==null?void 0:f.placement)&&(o6=y4.arrow)!=null&&o6.alignmentOffset){return{}}return{x:d2+p2.x,y:h3+p2.y,data:{...p2,placement:v2}}}}},"offset$2");var ib=i(function(u6){if(u6===void 0){u6={}}return{name:"shift",options:u6,async fn(r3){const{x:f,y:o6,placement:d2}=r3;const{mainAxis:h3=true,crossAxis:v2=false,limiter:y4={fn:i(U3=>{let{x:Y7,y:Q7}=U3;return{x:Y7,y:Q7}},"fn")},...p2}=dl(u6,r3);const g={x:f,y:o6};const S4=await fu(r3,p2);const A=Ze(ml(d2));const D3=jo(A);let w3=g[D3];let H3=g[A];if(h3){const U3=D3==="y"?"top":"left";const Y7=D3==="y"?"bottom":"right";const Q7=w3+S4[U3];const Z6=w3-S4[Y7];w3=Co(Q7,w3,Z6)}if(v2){const U3=A==="y"?"top":"left";const Y7=A==="y"?"bottom":"right";const Q7=H3+S4[U3];const Z6=H3-S4[Y7];H3=Co(Q7,H3,Z6)}const O4=y4.fn({...r3,[D3]:w3,[A]:H3});return{...O4,data:{x:O4.x-f,y:O4.y-o6,enabled:{[D3]:h3,[A]:v2}}}}}},"shift$2");var cb=i(function(u6){if(u6===void 0){u6={}}return{options:u6,fn(r3){const{x:f,y:o6,placement:d2,rects:h3,middlewareData:v2}=r3;const{offset:y4=0,mainAxis:p2=true,crossAxis:g=true}=dl(u6,r3);const S4={x:f,y:o6};const A=Ze(d2);const D3=jo(A);let w3=S4[D3];let H3=S4[A];const O4=dl(y4,r3);const U3=typeof O4==="number"?{mainAxis:O4,crossAxis:0}:{mainAxis:0,crossAxis:0,...O4};if(p2){const Z6=D3==="y"?"height":"width";const k3=h3.reference[D3]-h3.floating[Z6]+U3.mainAxis;const X5=h3.reference[D3]+h3.reference[Z6]-U3.mainAxis;if(w3X5){w3=X5}}if(g){var Y7,Q7;const Z6=D3==="y"?"width":"height";const k3=ov.has(ml(d2));const X5=h3.reference[A]-h3.floating[Z6]+(k3?((Y7=v2.offset)==null?void 0:Y7[A])||0:0)+(k3?0:U3.crossAxis);const et5=h3.reference[A]+h3.reference[Z6]+(k3?0:((Q7=v2.offset)==null?void 0:Q7[A])||0)-(k3?U3.crossAxis:0);if(H3et5){H3=et5}}return{[D3]:w3,[A]:H3}}}},"limitShift$2");var rb=i(function(u6){if(u6===void 0){u6={}}return{name:"size",options:u6,async fn(r3){var f,o6;const{placement:d2,rects:h3,platform:v2,elements:y4}=r3;const{apply:p2=i(()=>{},"apply"),...g}=dl(u6,r3);const S4=await fu(r3,g);const A=ml(d2);const D3=ra(d2);const w3=Ze(d2)==="y";const{width:H3,height:O4}=h3.floating;let U3;let Y7;if(A==="top"||A==="bottom"){U3=A;Y7=D3===(await(v2.isRTL==null?void 0:v2.isRTL(y4.floating))?"start":"end")?"left":"right"}else{Y7=A;U3=D3==="end"?"top":"bottom"}const Q7=O4-S4.top-S4.bottom;const Z6=H3-S4.left-S4.right;const k3=Gl(O4-S4[U3],Q7);const X5=Gl(H3-S4[Y7],Z6);const et5=!r3.middlewareData.shift;let W5=k3;let J6=X5;if((f=r3.middlewareData.shift)!=null&&f.enabled.x){J6=Z6}if((o6=r3.middlewareData.shift)!=null&&o6.enabled.y){W5=Q7}if(et5&&!D3){const Et5=pe(S4.left,0);const Mt4=pe(S4.right,0);const vt3=pe(S4.top,0);const Ot4=pe(S4.bottom,0);if(w3){J6=H3-2*(Et5!==0||Mt4!==0?Et5+Mt4:pe(S4.left,S4.right))}else{W5=O4-2*(vt3!==0||Ot4!==0?vt3+Ot4:pe(S4.top,S4.bottom))}}await p2({...r3,availableWidth:J6,availableHeight:W5});const rt6=await v2.getDimensions(y4.floating);if(H3!==rt6.width||O4!==rt6.height){return{reset:{rects:true}}}return{}}}},"size$2");function Zi(){return typeof window!=="undefined"}__name(Zi,"Zi");i(Zi,"hasWindow");function oa(u6){if(fv(u6)){return(u6.nodeName||"").toLowerCase()}return"#document"}__name(oa,"oa");i(oa,"getNodeName");function be(u6){var r3;return(u6==null||(r3=u6.ownerDocument)==null?void 0:r3.defaultView)||window}__name(be,"be");i(be,"getWindow");function Je(u6){var r3;return(r3=(fv(u6)?u6.ownerDocument:u6.document)||window.document)==null?void 0:r3.documentElement}__name(Je,"Je");i(Je,"getDocumentElement");function fv(u6){if(!Zi()){return false}return u6 instanceof Node||u6 instanceof be(u6).Node}__name(fv,"fv");i(fv,"isNode");function Ne(u6){if(!Zi()){return false}return u6 instanceof Element||u6 instanceof be(u6).Element}__name(Ne,"Ne");i(Ne,"isElement");function Ke(u6){if(!Zi()){return false}return u6 instanceof HTMLElement||u6 instanceof be(u6).HTMLElement}__name(Ke,"Ke");i(Ke,"isHTMLElement");function Th(u6){if(!Zi()||typeof ShadowRoot==="undefined"){return false}return u6 instanceof ShadowRoot||u6 instanceof be(u6).ShadowRoot}__name(Th,"Th");i(Th,"isShadowRoot");var ob=new Set(["inline","contents"]);function du(u6){const{overflow:r3,overflowX:f,overflowY:o6,display:d2}=Ue(u6);return/auto|scroll|overlay|hidden|clip/.test(r3+o6+f)&&!ob.has(d2)}__name(du,"du");i(du,"isOverflowElement");var fb=new Set(["table","td","th"]);function sb(u6){return fb.has(oa(u6))}__name(sb,"sb");i(sb,"isTableElement");var db=[":popover-open",":modal"];function ki(u6){return db.some(r3=>{try{return u6.matches(r3)}catch(f){return false}})}__name(ki,"ki");i(ki,"isTopLayer");var mb=["transform","translate","scale","rotate","perspective"];var hb=["transform","translate","scale","rotate","perspective","filter"];var vb=["paint","layout","strict","content"];function Vo(u6){const r3=Qo();const f=Ne(u6)?Ue(u6):u6;return mb.some(o6=>f[o6]?f[o6]!=="none":false)||(f.containerType?f.containerType!=="normal":false)||!r3&&(f.backdropFilter?f.backdropFilter!=="none":false)||!r3&&(f.filter?f.filter!=="none":false)||hb.some(o6=>(f.willChange||"").includes(o6))||vb.some(o6=>(f.contain||"").includes(o6))}__name(Vo,"Vo");i(Vo,"isContainingBlock");function gb(u6){let r3=Xl(u6);while(Ke(r3)&&!ua(r3)){if(Vo(r3)){return r3}else if(ki(r3)){return null}r3=Xl(r3)}return null}__name(gb,"gb");i(gb,"getContainingBlock");function Qo(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}__name(Qo,"Qo");i(Qo,"isWebKit");var yb=new Set(["html","body","#document"]);function ua(u6){return yb.has(oa(u6))}__name(ua,"ua");i(ua,"isLastTraversableNode");function Ue(u6){return be(u6).getComputedStyle(u6)}__name(Ue,"Ue");i(Ue,"getComputedStyle$1");function Ki(u6){if(Ne(u6)){return{scrollLeft:u6.scrollLeft,scrollTop:u6.scrollTop}}return{scrollLeft:u6.scrollX,scrollTop:u6.scrollY}}__name(Ki,"Ki");i(Ki,"getNodeScroll");function Xl(u6){if(oa(u6)==="html"){return u6}const r3=u6.assignedSlot||u6.parentNode||Th(u6)&&u6.host||Je(u6);return Th(r3)?r3.host:r3}__name(Xl,"Xl");i(Xl,"getParentNode");function sv(u6){const r3=Xl(u6);if(ua(r3)){return u6.ownerDocument?u6.ownerDocument.body:u6.body}if(Ke(r3)&&du(r3)){return r3}return sv(r3)}__name(sv,"sv");i(sv,"getNearestOverflowAncestor");function su(u6,r3,f){var o6;if(r3===void 0){r3=[]}if(f===void 0){f=true}const d2=sv(u6);const h3=d2===((o6=u6.ownerDocument)==null?void 0:o6.body);const v2=be(d2);if(h3){const y4=No(v2);return r3.concat(v2,v2.visualViewport||[],du(d2)?d2:[],y4&&f?su(y4):[])}return r3.concat(d2,su(d2,[],f))}__name(su,"su");i(su,"getOverflowAncestors");function No(u6){return u6.parent&&Object.getPrototypeOf(u6.parent)?u6.frameElement:null}__name(No,"No");i(No,"getFrameElement");function dv(u6){const r3=Ue(u6);let f=parseFloat(r3.width)||0;let o6=parseFloat(r3.height)||0;const d2=Ke(u6);const h3=d2?u6.offsetWidth:f;const v2=d2?u6.offsetHeight:o6;const y4=ji(f)!==h3||ji(o6)!==v2;if(y4){f=h3;o6=v2}return{width:f,height:o6,$:y4}}__name(dv,"dv");i(dv,"getCssDimensions");function Zo(u6){return!Ne(u6)?u6.contextElement:u6}__name(Zo,"Zo");i(Zo,"unwrapElement");function ea(u6){const r3=Zo(u6);if(!Ke(r3)){return ke(1)}const f=r3.getBoundingClientRect();const{width:o6,height:d2,$:h3}=dv(r3);let v2=(h3?ji(f.width):f.width)/o6;let y4=(h3?ji(f.height):f.height)/d2;if(!v2||!Number.isFinite(v2)){v2=1}if(!y4||!Number.isFinite(y4)){y4=1}return{x:v2,y:y4}}__name(ea,"ea");i(ea,"getScale");var pb=ke(0);function mv(u6){const r3=be(u6);if(!Qo()||!r3.visualViewport){return pb}return{x:r3.visualViewport.offsetLeft,y:r3.visualViewport.offsetTop}}__name(mv,"mv");i(mv,"getVisualOffsets");function bb(u6,r3,f){if(r3===void 0){r3=false}if(!f||r3&&f!==be(u6)){return false}return r3}__name(bb,"bb");i(bb,"shouldAddVisualOffsets");function fn(u6,r3,f,o6){if(r3===void 0){r3=false}if(f===void 0){f=false}const d2=u6.getBoundingClientRect();const h3=Zo(u6);let v2=ke(1);if(r3){if(o6){if(Ne(o6)){v2=ea(o6)}}else{v2=ea(u6)}}const y4=bb(h3,f,o6)?mv(h3):ke(0);let p2=(d2.left+y4.x)/v2.x;let g=(d2.top+y4.y)/v2.y;let S4=d2.width/v2.x;let A=d2.height/v2.y;if(h3){const D3=be(h3);const w3=o6&&Ne(o6)?be(o6):o6;let H3=D3;let O4=No(H3);while(O4&&o6&&w3!==H3){const U3=ea(O4);const Y7=O4.getBoundingClientRect();const Q7=Ue(O4);const Z6=Y7.left+(O4.clientLeft+parseFloat(Q7.paddingLeft))*U3.x;const k3=Y7.top+(O4.clientTop+parseFloat(Q7.paddingTop))*U3.y;p2*=U3.x;g*=U3.y;S4*=U3.x;A*=U3.y;p2+=Z6;g+=k3;H3=be(O4);O4=No(H3)}}return Xi({width:S4,height:A,x:p2,y:g})}__name(fn,"fn");i(fn,"getBoundingClientRect");function ko(u6,r3){const f=Ki(u6).scrollLeft;if(!r3){return fn(Je(u6)).left+f}return r3.left+f}__name(ko,"ko");i(ko,"getWindowScrollBarX");function hv(u6,r3,f){if(f===void 0){f=false}const o6=u6.getBoundingClientRect();const d2=o6.left+r3.scrollLeft-(f?0:ko(u6,o6));const h3=o6.top+r3.scrollTop;return{x:d2,y:h3}}__name(hv,"hv");i(hv,"getHTMLOffset");function Sb(u6){let{elements:r3,rect:f,offsetParent:o6,strategy:d2}=u6;const h3=d2==="fixed";const v2=Je(o6);const y4=r3?ki(r3.floating):false;if(o6===v2||y4&&h3){return f}let p2={scrollLeft:0,scrollTop:0};let g=ke(1);const S4=ke(0);const A=Ke(o6);if(A||!A&&!h3){if(oa(o6)!=="body"||du(v2)){p2=Ki(o6)}if(Ke(o6)){const w3=fn(o6);g=ea(o6);S4.x=w3.x+o6.clientLeft;S4.y=w3.y+o6.clientTop}}const D3=v2&&!A&&!h3?hv(v2,p2,true):ke(0);return{width:f.width*g.x,height:f.height*g.y,x:f.x*g.x-p2.scrollLeft*g.x+S4.x+D3.x,y:f.y*g.y-p2.scrollTop*g.y+S4.y+D3.y}}__name(Sb,"Sb");i(Sb,"convertOffsetParentRelativeRectToViewportRelativeRect");function Eb(u6){return Array.from(u6.getClientRects())}__name(Eb,"Eb");i(Eb,"getClientRects");function xb(u6){const r3=Je(u6);const f=Ki(u6);const o6=u6.ownerDocument.body;const d2=pe(r3.scrollWidth,r3.clientWidth,o6.scrollWidth,o6.clientWidth);const h3=pe(r3.scrollHeight,r3.clientHeight,o6.scrollHeight,o6.clientHeight);let v2=-f.scrollLeft+ko(u6);const y4=-f.scrollTop;if(Ue(o6).direction==="rtl"){v2+=pe(r3.clientWidth,o6.clientWidth)-d2}return{width:d2,height:h3,x:v2,y:y4}}__name(xb,"xb");i(xb,"getDocumentRect");function Ab(u6,r3){const f=be(u6);const o6=Je(u6);const d2=f.visualViewport;let h3=o6.clientWidth;let v2=o6.clientHeight;let y4=0;let p2=0;if(d2){h3=d2.width;v2=d2.height;const g=Qo();if(!g||g&&r3==="fixed"){y4=d2.offsetLeft;p2=d2.offsetTop}}return{width:h3,height:v2,x:y4,y:p2}}__name(Ab,"Ab");i(Ab,"getViewportRect");var Tb=new Set(["absolute","fixed"]);function Ob(u6,r3){const f=fn(u6,true,r3==="fixed");const o6=f.top+u6.clientTop;const d2=f.left+u6.clientLeft;const h3=Ke(u6)?ea(u6):ke(1);const v2=u6.clientWidth*h3.x;const y4=u6.clientHeight*h3.y;const p2=d2*h3.x;const g=o6*h3.y;return{width:v2,height:y4,x:p2,y:g}}__name(Ob,"Ob");i(Ob,"getInnerBoundingClientRect");function Oh(u6,r3,f){let o6;if(r3==="viewport"){o6=Ab(u6,f)}else if(r3==="document"){o6=xb(Je(u6))}else if(Ne(r3)){o6=Ob(r3,f)}else{const d2=mv(u6);o6={x:r3.x-d2.x,y:r3.y-d2.y,width:r3.width,height:r3.height}}return Xi(o6)}__name(Oh,"Oh");i(Oh,"getClientRectFromClippingAncestor");function vv(u6,r3){const f=Xl(u6);if(f===r3||!Ne(f)||ua(f)){return false}return Ue(f).position==="fixed"||vv(f,r3)}__name(vv,"vv");i(vv,"hasFixedPositionAncestor");function wb(u6,r3){const f=r3.get(u6);if(f){return f}let o6=su(u6,[],false).filter(y4=>Ne(y4)&&oa(y4)!=="body");let d2=null;const h3=Ue(u6).position==="fixed";let v2=h3?Xl(u6):u6;while(Ne(v2)&&!ua(v2)){const y4=Ue(v2);const p2=Vo(v2);if(!p2&&y4.position==="fixed"){d2=null}const g=h3?!p2&&!d2:!p2&&y4.position==="static"&&!!d2&&Tb.has(d2.position)||du(v2)&&!p2&&vv(u6,v2);if(g){o6=o6.filter(S4=>S4!==v2)}else{d2=y4}v2=Xl(v2)}r3.set(u6,o6);return o6}__name(wb,"wb");i(wb,"getClippingElementAncestors");function Rb(u6){let{element:r3,boundary:f,rootBoundary:o6,strategy:d2}=u6;const h3=f==="clippingAncestors"?ki(r3)?[]:wb(r3,this._c):[].concat(f);const v2=[...h3,o6];const y4=v2[0];const p2=v2.reduce((g,S4)=>{const A=Oh(r3,S4,d2);g.top=pe(A.top,g.top);g.right=Gl(A.right,g.right);g.bottom=Gl(A.bottom,g.bottom);g.left=pe(A.left,g.left);return g},Oh(r3,y4,d2));return{width:p2.right-p2.left,height:p2.bottom-p2.top,x:p2.left,y:p2.top}}__name(Rb,"Rb");i(Rb,"getClippingRect");function Mb(u6){const{width:r3,height:f}=dv(u6);return{width:r3,height:f}}__name(Mb,"Mb");i(Mb,"getDimensions");function zb(u6,r3,f){const o6=Ke(r3);const d2=Je(r3);const h3=f==="fixed";const v2=fn(u6,true,h3,r3);let y4={scrollLeft:0,scrollTop:0};const p2=ke(0);function g(){p2.x=ko(d2)}__name(g,"g");i(g,"setLeftRTLScrollbarOffset");if(o6||!o6&&!h3){if(oa(r3)!=="body"||du(d2)){y4=Ki(r3)}if(o6){const w3=fn(r3,true,h3,r3);p2.x=w3.x+r3.clientLeft;p2.y=w3.y+r3.clientTop}else if(d2){g()}}if(h3&&!o6&&d2){g()}const S4=d2&&!o6&&!h3?hv(d2,y4):ke(0);const A=v2.left+y4.scrollLeft-p2.x-S4.x;const D3=v2.top+y4.scrollTop-p2.y-S4.y;return{x:A,y:D3,width:v2.width,height:v2.height}}__name(zb,"zb");i(zb,"getRectRelativeToOffsetParent");function So(u6){return Ue(u6).position==="static"}__name(So,"So");i(So,"isStaticPositioned");function wh(u6,r3){if(!Ke(u6)||Ue(u6).position==="fixed"){return null}if(r3){return r3(u6)}let f=u6.offsetParent;if(Je(u6)===f){f=f.ownerDocument.body}return f}__name(wh,"wh");i(wh,"getTrueOffsetParent");function gv(u6,r3){const f=be(u6);if(ki(u6)){return f}if(!Ke(u6)){let d2=Xl(u6);while(d2&&!ua(d2)){if(Ne(d2)&&!So(d2)){return d2}d2=Xl(d2)}return f}let o6=wh(u6,r3);while(o6&&sb(o6)&&So(o6)){o6=wh(o6,r3)}if(o6&&ua(o6)&&So(o6)&&!Vo(o6)){return f}return o6||gb(u6)||f}__name(gv,"gv");i(gv,"getOffsetParent");var _b=i(async function(u6){const r3=this.getOffsetParent||gv;const f=this.getDimensions;const o6=await f(u6.floating);return{reference:zb(u6.reference,await r3(u6.floating),u6.strategy),floating:{x:0,y:0,width:o6.width,height:o6.height}}},"getElementRects");function Cb(u6){return Ue(u6).direction==="rtl"}__name(Cb,"Cb");i(Cb,"isRTL");var Db={convertOffsetParentRelativeRectToViewportRelativeRect:Sb,getDocumentElement:Je,getClippingRect:Rb,getOffsetParent:gv,getElementRects:_b,getClientRects:Eb,getDimensions:Mb,getScale:ea,isElement:Ne,isRTL:Cb};function yv(u6,r3){return u6.x===r3.x&&u6.y===r3.y&&u6.width===r3.width&&u6.height===r3.height}__name(yv,"yv");i(yv,"rectsAreEqual");function Nb(u6,r3){let f=null;let o6;const d2=Je(u6);function h3(){var y4;clearTimeout(o6);(y4=f)==null||y4.disconnect();f=null}__name(h3,"h");i(h3,"cleanup");function v2(y4,p2){if(y4===void 0){y4=false}if(p2===void 0){p2=1}h3();const g=u6.getBoundingClientRect();const{left:S4,top:A,width:D3,height:w3}=g;if(!y4){r3()}if(!D3||!w3){return}const H3=zi(A);const O4=zi(d2.clientWidth-(S4+D3));const U3=zi(d2.clientHeight-(A+w3));const Y7=zi(S4);const Q7=-H3+"px "+-O4+"px "+-U3+"px "+-Y7+"px";const Z6={rootMargin:Q7,threshold:pe(0,Gl(1,p2))||1};let k3=true;function X5(et5){const W5=et5[0].intersectionRatio;if(W5!==p2){if(!k3){return v2()}if(!W5){o6=setTimeout(()=>{v2(false,1e-7)},1e3)}else{v2(false,W5)}}if(W5===1&&!yv(g,u6.getBoundingClientRect())){v2()}k3=false}__name(X5,"X");i(X5,"handleObserve");try{f=new IntersectionObserver(X5,{...Z6,root:d2.ownerDocument})}catch(et5){f=new IntersectionObserver(X5,Z6)}f.observe(u6)}__name(v2,"v");i(v2,"refresh");v2(true);return h3}__name(Nb,"Nb");i(Nb,"observeMove");function Ub(u6,r3,f,o6){if(o6===void 0){o6={}}const{ancestorScroll:d2=true,ancestorResize:h3=true,elementResize:v2=typeof ResizeObserver==="function",layoutShift:y4=typeof IntersectionObserver==="function",animationFrame:p2=false}=o6;const g=Zo(u6);const S4=d2||h3?[...g?su(g):[],...su(r3)]:[];S4.forEach(Y7=>{d2&&Y7.addEventListener("scroll",f,{passive:true});h3&&Y7.addEventListener("resize",f)});const A=g&&y4?Nb(g,f):null;let D3=-1;let w3=null;if(v2){w3=new ResizeObserver(Y7=>{let[Q7]=Y7;if(Q7&&Q7.target===g&&w3){w3.unobserve(r3);cancelAnimationFrame(D3);D3=requestAnimationFrame(()=>{var Z6;(Z6=w3)==null||Z6.observe(r3)})}f()});if(g&&!p2){w3.observe(g)}w3.observe(r3)}let H3;let O4=p2?fn(u6):null;if(p2){U3()}function U3(){const Y7=fn(u6);if(O4&&!yv(O4,Y7)){f()}O4=Y7;H3=requestAnimationFrame(U3)}__name(U3,"U");i(U3,"frameLoop");f();return()=>{var Y7;S4.forEach(Q7=>{d2&&Q7.removeEventListener("scroll",f);h3&&Q7.removeEventListener("resize",f)});A==null||A();(Y7=w3)==null||Y7.disconnect();w3=null;if(p2){cancelAnimationFrame(H3)}}}__name(Ub,"Ub");i(Ub,"autoUpdate");var Hb=ub;var Bb=ib;var Lb=lb;var qb=rb;var Yb=nb;var Rh=eb;var jb=cb;var Gb=i((u6,r3,f)=>{const o6=new Map;const d2={platform:Db,...f};const h3={...d2.platform,_c:o6};return tb(u6,r3,{...d2,platform:h3})},"computePosition");var Xb=typeof document!=="undefined";var Vb=i(__name(function u(){},"u"),"noop");var Ui=Xb?z.useLayoutEffect:Vb;function Vi(u6,r3){if(u6===r3){return true}if(typeof u6!==typeof r3){return false}if(typeof u6==="function"&&u6.toString()===r3.toString()){return true}let f;let o6;let d2;if(u6&&r3&&typeof u6==="object"){if(Array.isArray(u6)){f=u6.length;if(f!==r3.length)return false;for(o6=f;o6--!==0;){if(!Vi(u6[o6],r3[o6])){return false}}return true}d2=Object.keys(u6);f=d2.length;if(f!==Object.keys(r3).length){return false}for(o6=f;o6--!==0;){if(!{}.hasOwnProperty.call(r3,d2[o6])){return false}}for(o6=f;o6--!==0;){const h3=d2[o6];if(h3==="_owner"&&u6.$$typeof){continue}if(!Vi(u6[h3],r3[h3])){return false}}return true}return u6!==u6&&r3!==r3}__name(Vi,"Vi");i(Vi,"deepEqual");function pv(u6){if(typeof window==="undefined"){return 1}const r3=u6.ownerDocument.defaultView||window;return r3.devicePixelRatio||1}__name(pv,"pv");i(pv,"getDPR");function Mh(u6,r3){const f=pv(u6);return Math.round(r3*f)/f}__name(Mh,"Mh");i(Mh,"roundByDPR");function Eo(u6){const r3=z.useRef(u6);Ui(()=>{r3.current=u6});return r3}__name(Eo,"Eo");i(Eo,"useLatestRef");function Qb(u6){if(u6===void 0){u6={}}const{placement:r3="bottom",strategy:f="absolute",middleware:o6=[],platform:d2,elements:{reference:h3,floating:v2}={},transform:y4=true,whileElementsMounted:p2,open:g}=u6;const[S4,A]=z.useState({x:0,y:0,strategy:f,placement:r3,middlewareData:{},isPositioned:false});const[D3,w3]=z.useState(o6);if(!Vi(D3,o6)){w3(o6)}const[H3,O4]=z.useState(null);const[U3,Y7]=z.useState(null);const Q7=z.useCallback(B3=>{if(B3!==et5.current){et5.current=B3;O4(B3)}},[]);const Z6=z.useCallback(B3=>{if(B3!==W5.current){W5.current=B3;Y7(B3)}},[]);const k3=h3||H3;const X5=v2||U3;const et5=z.useRef(null);const W5=z.useRef(null);const J6=z.useRef(S4);const rt6=p2!=null;const Et5=Eo(p2);const Mt4=Eo(d2);const vt3=Eo(g);const Ot4=z.useCallback(()=>{if(!et5.current||!W5.current){return}const B3={placement:r3,strategy:f,middleware:D3};if(Mt4.current){B3.platform=Mt4.current}Gb(et5.current,W5.current,B3).then(ct5=>{const E7={...ct5,isPositioned:vt3.current!==false};if(St3.current&&!Vi(J6.current,E7)){J6.current=E7;Bo.flushSync(()=>{A(E7)})}})},[D3,r3,f,Mt4,vt3]);Ui(()=>{if(g===false&&J6.current.isPositioned){J6.current.isPositioned=false;A(B3=>({...B3,isPositioned:false}))}},[g]);const St3=z.useRef(false);Ui(()=>{St3.current=true;return()=>{St3.current=false}},[]);Ui(()=>{if(k3)et5.current=k3;if(X5)W5.current=X5;if(k3&&X5){if(Et5.current){return Et5.current(k3,X5,Ot4)}Ot4()}},[k3,X5,Ot4,Et5,rt6]);const gt4=z.useMemo(()=>({reference:et5,floating:W5,setReference:Q7,setFloating:Z6}),[Q7,Z6]);const C4=z.useMemo(()=>({reference:k3,floating:X5}),[k3,X5]);const V3=z.useMemo(()=>{const B3={position:f,left:0,top:0};if(!C4.floating){return B3}const ct5=Mh(C4.floating,S4.x);const E7=Mh(C4.floating,S4.y);if(y4){return{...B3,transform:"translate("+ct5+"px, "+E7+"px)",...pv(C4.floating)>=1.5&&{willChange:"transform"}}}return{position:f,left:ct5,top:E7}},[f,y4,C4.floating,S4.x,S4.y]);return z.useMemo(()=>({...S4,update:Ot4,refs:gt4,elements:C4,floatingStyles:V3}),[S4,Ot4,gt4,C4,V3])}__name(Qb,"Qb");i(Qb,"useFloating");var Zb=i(u6=>{function r3(f){return{}.hasOwnProperty.call(f,"current")}__name(r3,"r");i(r3,"isRef");return{name:"arrow",options:u6,fn(f){const{element:o6,padding:d2}=typeof u6==="function"?u6(f):u6;if(o6&&r3(o6)){if(o6.current!=null){return Rh({element:o6.current,padding:d2}).fn(f)}return{}}if(o6){return Rh({element:o6,padding:d2}).fn(f)}return{}}}},"arrow$1");var kb=i((u6,r3)=>({...Hb(u6),options:[u6,r3]}),"offset");var Kb=i((u6,r3)=>({...Bb(u6),options:[u6,r3]}),"shift");var Jb=i((u6,r3)=>({...jb(u6),options:[u6,r3]}),"limitShift");var Wb=i((u6,r3)=>({...Lb(u6),options:[u6,r3]}),"flip");var $b=i((u6,r3)=>({...qb(u6),options:[u6,r3]}),"size");var Fb=i((u6,r3)=>({...Yb(u6),options:[u6,r3]}),"hide");var Pb=i((u6,r3)=>({...Zb(u6),options:[u6,r3]}),"arrow");var Ib="Arrow";var bv=z.forwardRef((u6,r3)=>{const{children:f,width:o6=10,height:d2=5,...h3}=u6;return Ht.jsx(sn.svg,{...h3,ref:r3,width:o6,height:d2,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:u6.asChild?f:Ht.jsx("polygon",{points:"0,0 30,0 15,10"})})});bv.displayName=Ib;var t1=bv;function e1(u6){const[r3,f]=z.useState(void 0);na(()=>{if(u6){f({width:u6.offsetWidth,height:u6.offsetHeight});const o6=new ResizeObserver(d2=>{if(!Array.isArray(d2)){return}if(!d2.length){return}const h3=d2[0];let v2;let y4;if("borderBoxSize"in h3){const p2=h3["borderBoxSize"];const g=Array.isArray(p2)?p2[0]:p2;v2=g["inlineSize"];y4=g["blockSize"]}else{v2=u6.offsetWidth;y4=u6.offsetHeight}f({width:v2,height:y4})});o6.observe(u6,{box:"border-box"});return()=>o6.unobserve(u6)}else{f(void 0)}},[u6]);return r3}__name(e1,"e1");i(e1,"useSize");var Ko="Popper";var[Sv,yS]=av(Ko);var[l1,Ev]=Sv(Ko);var xv=i(u6=>{const{__scopePopper:r3,children:f}=u6;const[o6,d2]=z.useState(null);return Ht.jsx(l1,{scope:r3,anchor:o6,onAnchorChange:d2,children:f})},"Popper");xv.displayName=Ko;var Av="PopperAnchor";var Tv=z.forwardRef((u6,r3)=>{const{__scopePopper:f,virtualRef:o6,...d2}=u6;const h3=Ev(Av,f);const v2=z.useRef(null);const y4=on(r3,v2);z.useEffect(()=>{h3.onAnchorChange(o6?.current||v2.current)});return o6?null:Ht.jsx(sn.div,{...d2,ref:y4})});Tv.displayName=Av;var Jo="PopperContent";var[n1,a1]=Sv(Jo);var Ov=z.forwardRef((u6,r3)=>{const{__scopePopper:f,side:o6="bottom",sideOffset:d2=0,align:h3="center",alignOffset:v2=0,arrowPadding:y4=0,avoidCollisions:p2=true,collisionBoundary:g=[],collisionPadding:S4=0,sticky:A="partial",hideWhenDetached:D3=false,updatePositionStrategy:w3="optimized",onPlaced:H3,...O4}=u6;const U3=Ev(Jo,f);const[Y7,Q7]=z.useState(null);const Z6=on(r3,mt4=>Q7(mt4));const[k3,X5]=z.useState(null);const et5=e1(k3);const W5=et5?.width??0;const J6=et5?.height??0;const rt6=o6+(h3!=="center"?"-"+h3:"");const Et5=typeof S4==="number"?S4:{top:0,right:0,bottom:0,left:0,...S4};const Mt4=Array.isArray(g)?g:[g];const vt3=Mt4.length>0;const Ot4={padding:Et5,boundary:Mt4.filter(i1),altBoundary:vt3};const{refs:St3,floatingStyles:gt4,placement:C4,isPositioned:V3,middlewareData:B3}=Qb({strategy:"fixed",placement:rt6,whileElementsMounted:i((...mt4)=>{const At4=Ub(...mt4,{animationFrame:w3==="always"});return At4},"whileElementsMounted"),elements:{reference:U3.anchor},middleware:[kb({mainAxis:d2+J6,alignmentAxis:v2}),p2&&Kb({mainAxis:true,crossAxis:false,limiter:A==="partial"?Jb():void 0,...Ot4}),p2&&Wb({...Ot4}),$b({...Ot4,apply:i(({elements:mt4,rects:At4,availableWidth:le4,availableHeight:He8})=>{const{width:Be7,height:Le8}=At4.reference;const hl2=mt4.floating.style;hl2.setProperty("--radix-popper-available-width",`${le4}px`);hl2.setProperty("--radix-popper-available-height",`${He8}px`);hl2.setProperty("--radix-popper-anchor-width",`${Be7}px`);hl2.setProperty("--radix-popper-anchor-height",`${Le8}px`)},"apply")}),k3&&Pb({element:k3,padding:y4}),c1({arrowWidth:W5,arrowHeight:J6}),D3&&Fb({strategy:"referenceHidden",...Ot4})]});const[ct5,E7]=Mv(C4);const G6=aa(H3);na(()=>{if(V3){G6?.()}},[V3,G6]);const $5=B3.arrow?.x;const K4=B3.arrow?.y;const F4=B3.arrow?.centerOffset!==0;const[ft4,ut5]=z.useState();na(()=>{if(Y7)ut5(window.getComputedStyle(Y7).zIndex)},[Y7]);return Ht.jsx("div",{ref:St3.setFloating,"data-radix-popper-content-wrapper":"",style:{...gt4,transform:V3?gt4.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ft4,["--radix-popper-transform-origin"]:[B3.transformOrigin?.x,B3.transformOrigin?.y].join(" "),...B3.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:u6.dir,children:Ht.jsx(n1,{scope:f,placedSide:ct5,onArrowChange:X5,arrowX:$5,arrowY:K4,shouldHideArrow:F4,children:Ht.jsx(sn.div,{"data-side":ct5,"data-align":E7,...O4,ref:Z6,style:{...O4.style,animation:!V3?"none":void 0}})})})});Ov.displayName=Jo;var wv="PopperArrow";var u1={top:"bottom",right:"left",bottom:"top",left:"right"};var Rv=z.forwardRef(i(__name(function u2(r3,f){const{__scopePopper:o6,...d2}=r3;const h3=a1(wv,o6);const v2=u1[h3.placedSide];return Ht.jsx("span",{ref:h3.onArrowChange,style:{position:"absolute",left:h3.arrowX,top:h3.arrowY,[v2]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[h3.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:`rotate(180deg)`,left:"translateY(50%) rotate(-90deg) translateX(50%)"}[h3.placedSide],visibility:h3.shouldHideArrow?"hidden":void 0},children:Ht.jsx(t1,{...d2,ref:f,style:{...d2.style,display:"block"}})})},"u"),"PopperArrow2"));Rv.displayName=wv;function i1(u6){return u6!==null}__name(i1,"i1");i(i1,"isNotNull");var c1=i(u6=>({name:"transformOrigin",options:u6,fn(r3){const{placement:f,rects:o6,middlewareData:d2}=r3;const h3=d2.arrow?.centerOffset!==0;const v2=h3;const y4=v2?0:u6.arrowWidth;const p2=v2?0:u6.arrowHeight;const[g,S4]=Mv(f);const A={start:"0%",center:"50%",end:"100%"}[S4];const D3=(d2.arrow?.x??0)+y4/2;const w3=(d2.arrow?.y??0)+p2/2;let H3="";let O4="";if(g==="bottom"){H3=v2?A:`${D3}px`;O4=`${-p2}px`}else if(g==="top"){H3=v2?A:`${D3}px`;O4=`${o6.floating.height+p2}px`}else if(g==="right"){H3=`${-p2}px`;O4=v2?A:`${w3}px`}else if(g==="left"){H3=`${o6.floating.width+p2}px`;O4=v2?A:`${w3}px`}return{data:{x:H3,y:O4}}}}),"transformOrigin");function Mv(u6){const[r3,f="center"]=u6.split("-");return[r3,f]}__name(Mv,"Mv");i(Mv,"getSideAndAlignFromPlacement");var pS=xv;var bS=Tv;var SS=Ov;var ES=Rv;var r1="Portal";var o1=z.forwardRef((u6,r3)=>{const{container:f,...o6}=u6;const[d2,h3]=z.useState(false);na(()=>h3(true),[]);const v2=f||d2&&globalThis?.document?.body;return v2?y0.createPortal(Ht.jsx(sn.div,{...o6,ref:r3}),v2):null});o1.displayName=r1;var f1=i(function(u6){if(typeof document==="undefined"){return null}var r3=Array.isArray(u6)?u6[0]:u6;return r3.ownerDocument.body},"getDefaultParent");var Pn=new WeakMap;var _i=new WeakMap;var Ci={};var xo=0;var zv=i(function(u6){return u6&&(u6.host||zv(u6.parentNode))},"unwrapHost");var s1=i(function(u6,r3){return r3.map(function(f){if(u6.contains(f)){return f}var o6=zv(f);if(o6&&u6.contains(o6)){return o6}console.error("aria-hidden",f,"in not contained inside",u6,". Doing nothing");return null}).filter(function(f){return Boolean(f)})},"correctTargets");var d1=i(function(u6,r3,f,o6){var d2=s1(r3,Array.isArray(u6)?u6:[u6]);if(!Ci[f]){Ci[f]=new WeakMap}var h3=Ci[f];var v2=[];var y4=new Set;var p2=new Set(d2);var g=i(function(A){if(!A||y4.has(A)){return}y4.add(A);g(A.parentNode)},"keep");d2.forEach(g);var S4=i(function(A){if(!A||p2.has(A)){return}Array.prototype.forEach.call(A.children,function(D3){if(y4.has(D3)){S4(D3)}else{try{var w3=D3.getAttribute(o6);var H3=w3!==null&&w3!=="false";var O4=(Pn.get(D3)||0)+1;var U3=(h3.get(D3)||0)+1;Pn.set(D3,O4);h3.set(D3,U3);v2.push(D3);if(O4===1&&H3){_i.set(D3,true)}if(U3===1){D3.setAttribute(f,"true")}if(!H3){D3.setAttribute(o6,"true")}}catch(Y7){console.error("aria-hidden: cannot operate on ",D3,Y7)}}})},"deep");S4(r3);y4.clear();xo++;return function(){v2.forEach(function(A){var D3=Pn.get(A)-1;var w3=h3.get(A)-1;Pn.set(A,D3);h3.set(A,w3);if(!D3){if(!_i.has(A)){A.removeAttribute(o6)}_i.delete(A)}if(!w3){A.removeAttribute(f)}});xo--;if(!xo){Pn=new WeakMap;Pn=new WeakMap;_i=new WeakMap;Ci={}}}},"applyAttributeToOthers");var xS=i(function(u6,r3,f){if(f===void 0){f="data-aria-hidden"}var o6=Array.from(Array.isArray(u6)?u6:[u6]);var d2=f1(u6);if(!d2){return function(){return null}}o6.push.apply(o6,Array.from(d2.querySelectorAll("[aria-live], script")));return d1(o6,d2,f,"aria-hidden")},"hideOthers");var Qe=i(function(){Qe=Object.assign||i(__name(function u6(r3){for(var f,o6=1,d2=arguments.length;o6y4){return true}}o6=o6.parentNode}while(o6&&o6!==f.body);return false},"locationCouldBeScrolled");var Y1=i(function(u6){var r3=u6.scrollTop,f=u6.scrollHeight,o6=u6.clientHeight;return[r3,f,o6]},"getVScrollVariables");var j1=i(function(u6){var r3=u6.scrollLeft,f=u6.scrollWidth,o6=u6.clientWidth;return[r3,f,o6]},"getHScrollVariables");var Hv=i(function(u6,r3){return u6==="v"?L1(r3):q1(r3)},"elementCouldBeScrolled");var Bv=i(function(u6,r3){return u6==="v"?Y1(r3):j1(r3)},"getScrollVariables");var G1=i(function(u6,r3){return u6==="h"&&r3==="rtl"?-1:1},"getDirectionFactor");var X1=i(function(u6,r3,f,o6,d2){var h3=G1(u6,window.getComputedStyle(r3).direction);var v2=h3*o6;var y4=f.target;var p2=r3.contains(y4);var g=false;var S4=v2>0;var A=0;var D3=0;do{if(!y4){break}var w3=Bv(u6,y4),H3=w3[0],O4=w3[1],U3=w3[2];var Y7=O4-U3-h3*H3;if(H3||Y7){if(Hv(u6,y4)){A+=Y7;D3+=H3}}var Q7=y4.parentNode;y4=Q7&&Q7.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Q7.host:Q7}while(!p2&&y4!==document.body||p2&&(r3.contains(y4)||r3===y4));if(S4&&(Math.abs(A)<1||false)){g=true}else if(!S4&&(Math.abs(D3)<1||false)){g=true}return g},"handleScroll");var Ni=i(function(u6){return"changedTouches"in u6?[u6.changedTouches[0].clientX,u6.changedTouches[0].clientY]:[0,0]},"getTouchXY");var Dh=i(function(u6){return[u6.deltaX,u6.deltaY]},"getDeltaXY");var Nh=i(function(u6){return u6&&"current"in u6?u6.current:u6},"extractRef");var V1=i(function(u6,r3){return u6[0]===r3[0]&&u6[1]===r3[1]},"deltaCompare");var Q1=i(function(u6){return"n .block-interactivity-".concat(u6," {pointer-events: none;}n .allow-interactivity-").concat(u6," {pointer-events: all;}n")},"generateStyle");var Z1=0;var ta=[];function k1(u6){var r3=z.useRef([]);var f=z.useRef([0,0]);var o6=z.useRef();var d2=z.useState(Z1++)[0];var h3=z.useState(Nv)[0];var v2=z.useRef(u6);z.useEffect(function(){v2.current=u6},[u6]);z.useEffect(function(){if(u6.inert){document.body.classList.add("block-interactivity-".concat(d2));var O4=m1([u6.lockRef.current],(u6.shards||[]).map(Nh),true).filter(Boolean);O4.forEach(function(U3){return U3.classList.add("allow-interactivity-".concat(d2))});return function(){document.body.classList.remove("block-interactivity-".concat(d2));O4.forEach(function(U3){return U3.classList.remove("allow-interactivity-".concat(d2))})}}return},[u6.inert,u6.lockRef.current,u6.shards]);var y4=z.useCallback(function(O4,U3){if("touches"in O4&&O4.touches.length===2||O4.type==="wheel"&&O4.ctrlKey){return!v2.current.allowPinchZoom}var Y7=Ni(O4);var Q7=f.current;var Z6="deltaX"in O4?O4.deltaX:Q7[0]-Y7[0];var k3="deltaY"in O4?O4.deltaY:Q7[1]-Y7[1];var X5;var et5=O4.target;var W5=Math.abs(Z6)>Math.abs(k3)?"h":"v";if("touches"in O4&&W5==="h"&&et5.type==="range"){return false}var J6=Ch(W5,et5);if(!J6){return true}if(J6){X5=W5}else{X5=W5==="v"?"h":"v";J6=Ch(W5,et5)}if(!J6){return false}if(!o6.current&&"changedTouches"in O4&&(Z6||k3)){o6.current=X5}if(!X5){return true}var rt6=o6.current||X5;return X1(rt6,U3,O4,rt6==="h"?Z6:k3)},[]);var p2=z.useCallback(function(O4){var U3=O4;if(!ta.length||ta[ta.length-1]!==h3){return}var Y7="deltaY"in U3?Dh(U3):Ni(U3);var Q7=r3.current.filter(function(X5){return X5.name===U3.type&&(X5.target===U3.target||U3.target===X5.shadowParent)&&V1(X5.delta,Y7)})[0];if(Q7&&Q7.should){if(U3.cancelable){U3.preventDefault()}return}if(!Q7){var Z6=(v2.current.shards||[]).map(Nh).filter(Boolean).filter(function(X5){return X5.contains(U3.target)});var k3=Z6.length>0?y4(U3,Z6[0]):!v2.current.noIsolation;if(k3){if(U3.cancelable){U3.preventDefault()}}}},[]);var g=z.useCallback(function(O4,U3,Y7,Q7){var Z6={name:O4,delta:U3,target:Y7,should:Q7,shadowParent:K1(Y7)};r3.current.push(Z6);setTimeout(function(){r3.current=r3.current.filter(function(k3){return k3!==Z6})},1)},[]);var S4=z.useCallback(function(O4){f.current=Ni(O4);o6.current=void 0},[]);var A=z.useCallback(function(O4){g(O4.type,Dh(O4),O4.target,y4(O4,u6.lockRef.current))},[]);var D3=z.useCallback(function(O4){g(O4.type,Ni(O4),O4.target,y4(O4,u6.lockRef.current))},[]);z.useEffect(function(){ta.push(h3);u6.setCallbacks({onScrollCapture:A,onWheelCapture:A,onTouchMoveCapture:D3});document.addEventListener("wheel",p2,In);document.addEventListener("touchmove",p2,In);document.addEventListener("touchstart",S4,In);return function(){ta=ta.filter(function(O4){return O4!==h3});document.removeEventListener("wheel",p2,In);document.removeEventListener("touchmove",p2,In);document.removeEventListener("touchstart",S4,In)}},[]);var w3=u6.removeScrollBar,H3=u6.inert;return z.createElement(z.Fragment,null,H3?z.createElement(h3,{styles:Q1(d2)}):null,w3?z.createElement(H1,{noRelative:u6.noRelative,gapMode:u6.gapMode}):null)}__name(k1,"k1");i(k1,"RemoveScrollSideCar");function K1(u6){var r3=null;while(u6!==null){if(u6 instanceof ShadowRoot){r3=u6.host;u6=u6.host}u6=u6.parentNode}return r3}__name(K1,"K1");i(K1,"getOutermostShadowParent");var J1=x1(Dv,k1);var W1=z.forwardRef(function(u6,r3){return z.createElement(Ji,Qe({},u6,{ref:r3,sideCar:J1}))});W1.classNames=Ji.classNames;var $1=i(u6=>u6.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),"toKebabCase");var F1=i(u6=>u6.replace(/^([A-Z])|[s-_]+(w)/g,(r3,f,o6)=>o6?o6.toUpperCase():f.toLowerCase()),"toCamelCase");var Uh=i(u6=>{const r3=F1(u6);return r3.charAt(0).toUpperCase()+r3.slice(1)},"toPascalCase");var Lv=i((...u6)=>u6.filter((r3,f,o6)=>{return Boolean(r3)&&r3.trim()!==""&&o6.indexOf(r3)===f}).join(" ").trim(),"mergeClasses");var P1=i(u6=>{for(const r3 in u6){if(r3.startsWith("aria-")||r3==="role"||r3==="title"){return true}}},"hasA11yProp");var I1={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 tS=z.forwardRef(({color:u6="currentColor",size:r3=24,strokeWidth:f=2,absoluteStrokeWidth:o6,className:d2="",children:h3,iconNode:v2,...y4},p2)=>z.createElement("svg",{ref:p2,...I1,width:r3,height:r3,stroke:u6,strokeWidth:o6?Number(f)*24/Number(r3):f,className:Lv("lucide",d2),...!h3&&!P1(y4)&&{"aria-hidden":"true"},...y4},[...v2.map(([g,S4])=>z.createElement(g,S4)),...Array.isArray(h3)?h3:[h3]]));var qv=i((u6,r3)=>{const f=z.forwardRef(({className:o6,...d2},h3)=>z.createElement(tS,{ref:h3,iconNode:r3,className:Lv(`lucide-${$1(Uh(u6))}`,`lucide-${u6}`,o6),...d2}));f.displayName=Uh(u6);return f},"createLucideIcon");var eS=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]];var AS=qv("chevron-down",eS);var lS=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]];var TS=qv("chevron-up",lS);var ye=Object.defineProperty;var c=__name((e7,t3)=>ye(e7,"name",{value:t3,configurable:true}),"c");function Me(e7,t3){return z.useReducer((o6,n2)=>{const a3=t3[o6][n2];return a3??o6},e7)}__name(Me,"Me");c(Me,"useStateMachine");var j=c(e7=>{const{present:t3,children:o6}=e7;const n2=je(t3);const a3=typeof o6==="function"?o6({present:n2.isPresent}):z.Children.only(o6);const r3=on(n2.ref,ke2(a3));const u6=typeof o6==="function";return u6||n2.isPresent?z.cloneElement(a3,{ref:r3}):null},"Presence");j.displayName="Presence";function je(e7){const[t3,o6]=z.useState();const n2=z.useRef(null);const a3=z.useRef(e7);const r3=z.useRef("none");const u6=e7?"mounted":"unmounted";const[d2,p2]=Me(u6,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});z.useEffect(()=>{const l2=S(n2.current);r3.current=d2==="mounted"?l2:"none"},[d2]);na(()=>{const l2=n2.current;const f=a3.current;const m4=f!==e7;if(m4){const N4=r3.current;const h3=S(l2);if(e7){p2("MOUNT")}else if(h3==="none"||l2?.display==="none"){p2("UNMOUNT")}else{const I3=N4!==h3;if(f&&I3){p2("ANIMATION_OUT")}else{p2("UNMOUNT")}}a3.current=e7}},[e7,p2]);na(()=>{if(t3){let l2;const f=t3.ownerDocument.defaultView??window;const m4=c(h3=>{const I3=S(n2.current);const _2=I3.includes(h3.animationName);if(h3.target===t3&&_2){p2("ANIMATION_END");if(!a3.current){const g=t3.style.animationFillMode;t3.style.animationFillMode="forwards";l2=f.setTimeout(()=>{if(t3.style.animationFillMode==="forwards"){t3.style.animationFillMode=g}})}}},"handleAnimationEnd");const N4=c(h3=>{if(h3.target===t3){r3.current=S(n2.current)}},"handleAnimationStart");t3.addEventListener("animationstart",N4);t3.addEventListener("animationcancel",m4);t3.addEventListener("animationend",m4);return()=>{f.clearTimeout(l2);t3.removeEventListener("animationstart",N4);t3.removeEventListener("animationcancel",m4);t3.removeEventListener("animationend",m4)}}else{p2("ANIMATION_END")}},[t3,p2]);return{isPresent:["mounted","unmountSuspended"].includes(d2),ref:z.useCallback(l2=>{n2.current=l2?getComputedStyle(l2):null;o6(l2)},[])}}__name(je,"je");c(je,"usePresence");function S(e7){return e7?.animationName||"none"}__name(S,"S");c(S,"getAnimationName");function ke2(e7){let t3=Object.getOwnPropertyDescriptor(e7.props,"ref")?.get;let o6=t3&&"isReactWarning"in t3&&t3.isReactWarning;if(o6){return e7.ref}t3=Object.getOwnPropertyDescriptor(e7,"ref")?.get;o6=t3&&"isReactWarning"in t3&&t3.isReactWarning;if(o6){return e7.props.ref}return e7.props.ref||e7.ref}__name(ke2,"ke");c(ke2,"getElementRef");var U="rovingFocusGroup.onEntryFocus";var Le={bubbles:false,cancelable:true};var F="RovingFocusGroup";var[W,X,Ge]=mS(F);var[Ue2,xt]=av(F,[Ge]);var[We,Ke2]=Ue2(F);var Z=z.forwardRef((e7,t3)=>{return Ht.jsx(W.Provider,{scope:e7.__scopeRovingFocusGroup,children:Ht.jsx(W.Slot,{scope:e7.__scopeRovingFocusGroup,children:Ht.jsx(Be,{...e7,ref:t3})})})});Z.displayName=F;var Be=z.forwardRef((e7,t3)=>{const{__scopeRovingFocusGroup:o6,orientation:n2,loop:a3=false,dir:r3,currentTabStopId:u6,defaultCurrentTabStopId:d2,onCurrentTabStopIdChange:p2,onEntryFocus:l2,preventScrollOnEntryFocus:f=false,...m4}=e7;const N4=z.useRef(null);const h3=on(t3,N4);const I3=hS(r3);const[_2,g]=dS({prop:u6,defaultProp:d2??null,onChange:p2,caller:F});const[y4,O4]=z.useState(false);const x2=aa(l2);const D3=X(o6);const L2=z.useRef(false);const[he4,z5]=z.useState(0);z.useEffect(()=>{const v2=N4.current;if(v2){v2.addEventListener(U,x2);return()=>v2.removeEventListener(U,x2)}},[x2]);return Ht.jsx(We,{scope:o6,orientation:n2,dir:I3,loop:a3,currentTabStopId:_2,onItemFocus:z.useCallback(v2=>g(v2),[g]),onItemShiftTab:z.useCallback(()=>O4(true),[]),onFocusableItemAdd:z.useCallback(()=>z5(v2=>v2+1),[]),onFocusableItemRemove:z.useCallback(()=>z5(v2=>v2-1),[]),children:Ht.jsx(sn.div,{tabIndex:y4||he4===0?-1:0,"data-orientation":n2,...m4,ref:h3,style:{outline:"none",...e7.style},onMouseDown:go(e7.onMouseDown,()=>{L2.current=true}),onFocus:go(e7.onFocus,v2=>{const xe3=!L2.current;if(v2.target===v2.currentTarget&&xe3&&!y4){const V3=new CustomEvent(U,Le);v2.currentTarget.dispatchEvent(V3);if(!V3.defaultPrevented){const G6=D3().filter(C4=>C4.focusable);const be4=G6.find(C4=>C4.active);const Re4=G6.find(C4=>C4.id===_2);const Ne7=[be4,Re4,...G6].filter(Boolean);const Ie7=Ne7.map(C4=>C4.ref.current);te(Ie7,f)}}L2.current=false}),onBlur:go(e7.onBlur,()=>O4(false))})})});var Q="RovingFocusGroupItem";var ee2=z.forwardRef((e7,t3)=>{const{__scopeRovingFocusGroup:o6,focusable:n2=true,active:a3=false,tabStopId:r3,children:u6,...d2}=e7;const p2=gS();const l2=r3||p2;const f=Ke2(Q,o6);const m4=f.currentTabStopId===l2;const N4=X(o6);const{onFocusableItemAdd:h3,onFocusableItemRemove:I3,currentTabStopId:_2}=f;z.useEffect(()=>{if(n2){h3();return()=>I3()}},[n2,h3,I3]);return Ht.jsx(W.ItemSlot,{scope:o6,id:l2,focusable:n2,active:a3,children:Ht.jsx(sn.span,{tabIndex:m4?0:-1,"data-orientation":f.orientation,...d2,ref:t3,onMouseDown:go(e7.onMouseDown,g=>{if(!n2)g.preventDefault();else f.onItemFocus(l2)}),onFocus:go(e7.onFocus,()=>f.onItemFocus(l2)),onKeyDown:go(e7.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){f.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const y4=Ve(g,f.orientation,f.dir);if(y4!==void 0){if(g.metaKey||g.ctrlKey||g.altKey||g.shiftKey)return;g.preventDefault();const O4=N4().filter(D3=>D3.focusable);let x2=O4.map(D3=>D3.ref.current);if(y4==="last")x2.reverse();else if(y4==="prev"||y4==="next"){if(y4==="prev")x2.reverse();const D3=x2.indexOf(g.currentTarget);x2=f.loop?He(x2,D3+1):x2.slice(D3+1)}setTimeout(()=>te(x2))}}),children:typeof u6==="function"?u6({isCurrentTabStop:m4,hasTabStop:_2!=null}):u6})})});ee2.displayName=Q;var $e={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ze(e7,t3){if(t3!=="rtl")return e7;return e7==="ArrowLeft"?"ArrowRight":e7==="ArrowRight"?"ArrowLeft":e7}__name(ze,"ze");c(ze,"getDirectionAwareKey");function Ve(e7,t3,o6){const n2=ze(e7.key,o6);if(t3==="vertical"&&["ArrowLeft","ArrowRight"].includes(n2))return void 0;if(t3==="horizontal"&&["ArrowUp","ArrowDown"].includes(n2))return void 0;return $e[n2]}__name(Ve,"Ve");c(Ve,"getFocusIntent");function te(e7,t3=false){const o6=document.activeElement;for(const n2 of e7){if(n2===o6)return;n2.focus({preventScroll:t3});if(document.activeElement!==o6)return}}__name(te,"te");c(te,"focusFirst");function He(e7,t3){return e7.map((o6,n2)=>e7[(t3+n2)%e7.length])}__name(He,"He");c(He,"wrapArray");var bt=Z;var Rt=ee2;var Ye=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]];var Nt=qv("chevron-right",Ye);var qe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]];var Je2=qv("x",qe);function It({className:e7,type:t3,...o6}){return Ht.jsx("input",{type:t3,"data-slot":"input",className:nv("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e7),...o6})}__name(It,"It");c(It,"Input");var k="Dialog";var[oe,yt]=av(k);var[Xe,R]=oe(k);var ne=c(e7=>{const{__scopeDialog:t3,children:o6,open:n2,defaultOpen:a3,onOpenChange:r3,modal:u6=true}=e7;const d2=z.useRef(null);const p2=z.useRef(null);const[l2,f]=dS({prop:n2,defaultProp:a3??false,onChange:r3,caller:k});return Ht.jsx(Xe,{scope:t3,triggerRef:d2,contentRef:p2,contentId:gS(),titleId:gS(),descriptionId:gS(),open:l2,onOpenChange:f,onOpenToggle:z.useCallback(()=>f(m4=>!m4),[f]),modal:u6,children:o6})},"Dialog");ne.displayName=k;var re="DialogTrigger";var ae=z.forwardRef((e7,t3)=>{const{__scopeDialog:o6,...n2}=e7;const a3=R(re,o6);const r3=on(t3,a3.triggerRef);return Ht.jsx(sn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a3.open,"aria-controls":a3.contentId,"data-state":$(a3.open),...n2,ref:r3,onClick:go(e7.onClick,a3.onOpenToggle)})});ae.displayName=re;var K="DialogPortal";var[Ze2,se]=oe(K,{forceMount:void 0});var ie=c(e7=>{const{__scopeDialog:t3,forceMount:o6,children:n2,container:a3}=e7;const r3=R(K,t3);return Ht.jsx(Ze2,{scope:t3,forceMount:o6,children:z.Children.map(n2,u6=>Ht.jsx(j,{present:o6||r3.open,children:Ht.jsx(o1,{asChild:true,container:a3,children:u6})}))})},"DialogPortal");ie.displayName=K;var M="DialogOverlay";var ce=z.forwardRef((e7,t3)=>{const o6=se(M,e7.__scopeDialog);const{forceMount:n2=o6.forceMount,...a3}=e7;const r3=R(M,e7.__scopeDialog);return r3.modal?Ht.jsx(j,{present:n2||r3.open,children:Ht.jsx(et,{...a3,ref:t3})}):null});ce.displayName=M;var Qe2=Yi("DialogOverlay.RemoveScroll");var et=z.forwardRef((e7,t3)=>{const{__scopeDialog:o6,...n2}=e7;const a3=R(M,o6);return Ht.jsx(W1,{as:Qe2,allowPinchZoom:true,shards:[a3.contentRef],children:Ht.jsx(sn.div,{"data-state":$(a3.open),...n2,ref:t3,style:{pointerEvents:"auto",...n2.style}})})});var E="DialogContent";var le=z.forwardRef((e7,t3)=>{const o6=se(E,e7.__scopeDialog);const{forceMount:n2=o6.forceMount,...a3}=e7;const r3=R(E,e7.__scopeDialog);return Ht.jsx(j,{present:n2||r3.open,children:r3.modal?Ht.jsx(tt2,{...a3,ref:t3}):Ht.jsx(ot2,{...a3,ref:t3})})});le.displayName=E;var tt2=z.forwardRef((e7,t3)=>{const o6=R(E,e7.__scopeDialog);const n2=z.useRef(null);const a3=on(t3,o6.contentRef,n2);z.useEffect(()=>{const r3=n2.current;if(r3)return xS(r3)},[]);return Ht.jsx(ue,{...e7,ref:a3,trapFocus:o6.open,disableOutsidePointerEvents:true,onCloseAutoFocus:go(e7.onCloseAutoFocus,r3=>{r3.preventDefault();o6.triggerRef.current?.focus()}),onPointerDownOutside:go(e7.onPointerDownOutside,r3=>{const u6=r3.detail.originalEvent;const d2=u6.button===0&&u6.ctrlKey===true;const p2=u6.button===2||d2;if(p2)r3.preventDefault()}),onFocusOutside:go(e7.onFocusOutside,r3=>r3.preventDefault())})});var ot2=z.forwardRef((e7,t3)=>{const o6=R(E,e7.__scopeDialog);const n2=z.useRef(false);const a3=z.useRef(false);return Ht.jsx(ue,{...e7,ref:t3,trapFocus:false,disableOutsidePointerEvents:false,onCloseAutoFocus:c(r3=>{e7.onCloseAutoFocus?.(r3);if(!r3.defaultPrevented){if(!n2.current)o6.triggerRef.current?.focus();r3.preventDefault()}n2.current=false;a3.current=false},"onCloseAutoFocus"),onInteractOutside:c(r3=>{e7.onInteractOutside?.(r3);if(!r3.defaultPrevented){n2.current=true;if(r3.detail.originalEvent.type==="pointerdown"){a3.current=true}}const u6=r3.target;const d2=o6.triggerRef.current?.contains(u6);if(d2)r3.preventDefault();if(r3.detail.originalEvent.type==="focusin"&&a3.current){r3.preventDefault()}},"onInteractOutside")})});var ue=z.forwardRef((e7,t3)=>{const{__scopeDialog:o6,trapFocus:n2,onOpenAutoFocus:a3,onCloseAutoFocus:r3,...u6}=e7;const d2=R(E,o6);const p2=z.useRef(null);const l2=on(t3,p2);vS();return Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(Up,{asChild:true,loop:true,trapped:n2,onMountAutoFocus:a3,onUnmountAutoFocus:r3,children:Ht.jsx(Mp,{role:"dialog",id:d2.contentId,"aria-describedby":d2.descriptionId,"aria-labelledby":d2.titleId,"data-state":$(d2.open),...u6,ref:l2,onDismiss:c(()=>d2.onOpenChange(false),"onDismiss")})}),Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(rt,{titleId:d2.titleId}),Ht.jsx(st,{contentRef:p2,descriptionId:d2.descriptionId})]})]})});var B="DialogTitle";var de=z.forwardRef((e7,t3)=>{const{__scopeDialog:o6,...n2}=e7;const a3=R(B,o6);return Ht.jsx(sn.h2,{id:a3.titleId,...n2,ref:t3})});de.displayName=B;var fe="DialogDescription";var nt=z.forwardRef((e7,t3)=>{const{__scopeDialog:o6,...n2}=e7;const a3=R(fe,o6);return Ht.jsx(sn.p,{id:a3.descriptionId,...n2,ref:t3})});nt.displayName=fe;var pe2="DialogClose";var ge=z.forwardRef((e7,t3)=>{const{__scopeDialog:o6,...n2}=e7;const a3=R(pe2,o6);return Ht.jsx(sn.button,{type:"button",...n2,ref:t3,onClick:go(e7.onClick,()=>a3.onOpenChange(false))})});ge.displayName=pe2;function $(e7){return e7?"open":"closed"}__name($,"$");c($,"getState");var me="DialogTitleWarning";var[Dt,ve]=sS(me,{contentName:E,titleName:B,docsSlug:"dialog"});var rt=c(({titleId:e7})=>{const t3=ve(me);const o6=``${t3.contentName}` requires a `${t3.titleName}` for the component to be accessible for screen reader users.
If you want to hide the `${t3.titleName}`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t3.docsSlug}`;z.useEffect(()=>{if(e7){const n2=document.getElementById(e7);if(!n2)console.error(o6)}},[o6,e7]);return null},"TitleWarning");var at="DialogDescriptionWarning";var st=c(({contentRef:e7,descriptionId:t3})=>{const o6=ve(at);const n2=`Warning: Missing `Description` or `aria-describedby={undefined}` for {${o6.contentName}}.`;z.useEffect(()=>{const a3=e7.current?.getAttribute("aria-describedby");if(t3&&a3){const r3=document.getElementById(t3);if(!r3)console.warn(n2)}},[n2,e7,t3]);return null},"DescriptionWarning");var it=ne;var ct=ae;var lt=ie;var ut=ce;var dt2=le;var ft=de;var pt=ge;function Ct({...e7}){return Ht.jsx(it,{"data-slot":"sheet",...e7})}__name(Ct,"Ct");c(Ct,"Sheet");function Et({...e7}){return Ht.jsx(ct,{"data-slot":"sheet-trigger",...e7})}__name(Et,"Et");c(Et,"SheetTrigger");function gt({...e7}){return Ht.jsx(lt,{"data-slot":"sheet-portal",...e7})}__name(gt,"gt");c(gt,"SheetPortal");function mt({className:e7,...t3}){return Ht.jsx(ut,{"data-slot":"sheet-overlay",className:nv("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e7),...t3})}__name(mt,"mt");c(mt,"SheetOverlay");function Tt({className:e7,children:t3,side:o6="right",...n2}){return Ht.jsxs(gt,{children:[Ht.jsx(mt,{}),Ht.jsxs(dt2,{"data-slot":"sheet-content",className:nv("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",o6==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",o6==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",o6==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o6==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e7),...n2,children:[t3,Ht.jsxs(pt,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[Ht.jsx(Je2,{className:"size-4"}),Ht.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}__name(Tt,"Tt");c(Tt,"SheetContent");function _t({className:e7,...t3}){return Ht.jsx("div",{"data-slot":"sheet-header",className:nv("flex flex-col gap-1.5 p-4",e7),...t3})}__name(_t,"_t");c(_t,"SheetHeader");function wt({className:e7,...t3}){return Ht.jsx(ft,{"data-slot":"sheet-title",className:nv("text-foreground font-semibold",e7),...t3})}__name(wt,"wt");c(wt,"SheetTitle");var bt2=Object.defineProperty;var u3=__name((t3,o6)=>bt2(t3,"name",{value:o6,configurable:true}),"u");var re2=["Enter"," "];var Wt=["ArrowDown","PageUp","Home"];var Ie=["ArrowUp","PageDown","End"];var zt=[...Wt,...Ie];var Vt={ltr:[...re2,"ArrowRight"],rtl:[...re2,"ArrowLeft"]};var Xt={ltr:["ArrowLeft"],rtl:["ArrowRight"]};var U2="Menu";var[T,Yt,qt]=mS(U2);var[S2,Ae]=av(U2,[qt,yS,xt]);var X2=yS();var ke3=xt();var[Qt,E2]=S2(U2);var[Jt,G]=S2(U2);var Te=u3(t3=>{const{__scopeMenu:o6,open:n2=false,children:r3,dir:s2,onOpenChange:c5,modal:i5=true}=t3;const d2=X2(o6);const[f,m4]=z.useState(null);const x2=z.useRef(false);const l2=aa(c5);const h3=hS(s2);z.useEffect(()=>{const w3=u3(()=>{x2.current=true;document.addEventListener("pointerdown",v2,{capture:true,once:true});document.addEventListener("pointermove",v2,{capture:true,once:true})},"handleKeyDown");const v2=u3(()=>x2.current=false,"handlePointer");document.addEventListener("keydown",w3,{capture:true});return()=>{document.removeEventListener("keydown",w3,{capture:true});document.removeEventListener("pointerdown",v2,{capture:true});document.removeEventListener("pointermove",v2,{capture:true})}},[]);return Ht.jsx(pS,{...d2,children:Ht.jsx(Qt,{scope:o6,open:n2,onOpenChange:l2,content:f,onContentChange:m4,children:Ht.jsx(Jt,{scope:o6,onClose:z.useCallback(()=>l2(false),[l2]),isUsingKeyboardRef:x2,dir:h3,modal:i5,children:r3})})})},"Menu$1");Te.displayName=U2;var Zt2="MenuAnchor";var se2=z.forwardRef((t3,o6)=>{const{__scopeMenu:n2,...r3}=t3;const s2=X2(n2);return Ht.jsx(bS,{...s2,...r3,ref:o6})});se2.displayName=Zt2;var ae2="MenuPortal";var[en,Oe]=S2(ae2,{forceMount:void 0});var Le2=u3(t3=>{const{__scopeMenu:o6,forceMount:n2,children:r3,container:s2}=t3;const c5=E2(ae2,o6);return Ht.jsx(en,{scope:o6,forceMount:n2,children:Ht.jsx(j,{present:n2||c5.open,children:Ht.jsx(o1,{asChild:true,container:s2,children:r3})})})},"MenuPortal");Le2.displayName=ae2;var y="MenuContent";var[tn,ie2]=S2(y);var Be2=z.forwardRef((t3,o6)=>{const n2=Oe(y,t3.__scopeMenu);const{forceMount:r3=n2.forceMount,...s2}=t3;const c5=E2(y,t3.__scopeMenu);const i5=G(y,t3.__scopeMenu);return Ht.jsx(T.Provider,{scope:t3.__scopeMenu,children:Ht.jsx(j,{present:r3||c5.open,children:Ht.jsx(T.Slot,{scope:t3.__scopeMenu,children:i5.modal?Ht.jsx(nn,{...s2,ref:o6}):Ht.jsx(on2,{...s2,ref:o6})})})})});var nn=z.forwardRef((t3,o6)=>{const n2=E2(y,t3.__scopeMenu);const r3=z.useRef(null);const s2=on(o6,r3);z.useEffect(()=>{const c5=r3.current;if(c5)return xS(c5)},[]);return Ht.jsx(ce2,{...t3,ref:s2,trapFocus:n2.open,disableOutsidePointerEvents:n2.open,disableOutsideScroll:true,onFocusOutside:go(t3.onFocusOutside,c5=>c5.preventDefault(),{checkForDefaultPrevented:false}),onDismiss:u3(()=>n2.onOpenChange(false),"onDismiss")})});var on2=z.forwardRef((t3,o6)=>{const n2=E2(y,t3.__scopeMenu);return Ht.jsx(ce2,{...t3,ref:o6,trapFocus:false,disableOutsidePointerEvents:false,disableOutsideScroll:false,onDismiss:u3(()=>n2.onOpenChange(false),"onDismiss")})});var rn2=Yi("MenuContent.ScrollLock");var ce2=z.forwardRef((t3,o6)=>{const{__scopeMenu:n2,loop:r3=false,trapFocus:s2,onOpenAutoFocus:c5,onCloseAutoFocus:i5,disableOutsidePointerEvents:d2,onEntryFocus:f,onEscapeKeyDown:m4,onPointerDownOutside:x2,onFocusOutside:l2,onInteractOutside:h3,onDismiss:w3,disableOutsideScroll:v2,...N4}=t3;const C4=E2(y,n2);const _2=G(y,n2);const Q7=X2(n2);const pt4=ke3(n2);const pe5=Yt(n2);const[xt4,xe3]=z.useState(null);const K4=z.useRef(null);const ft4=on(o6,K4,C4.onContentChange);const $5=z.useRef(0);const H3=z.useRef("");const mt4=z.useRef(0);const J6=z.useRef(null);const fe5=z.useRef("right");const Z6=z.useRef(0);const ht3=v2?W1:z.Fragment;const gt4=v2?{as:rn2,allowPinchZoom:true}:void 0;const vt3=u3(p2=>{const F4=H3.current+p2;const R4=pe5().filter(j4=>!j4.disabled);const I3=document.activeElement;const ee8=R4.find(j4=>j4.ref.current===I3)?.textValue;const te4=R4.map(j4=>j4.textValue);const ne7=gn(te4,F4,ee8);const A=R4.find(j4=>j4.textValue===ne7)?.ref.current;u3(__name(function j4(me4){H3.current=me4;window.clearTimeout($5.current);if(me4!=="")$5.current=window.setTimeout(()=>j4(""),1e3)},"j"),"updateSearch")(F4);if(A){setTimeout(()=>A.focus())}},"handleTypeaheadSearch");z.useEffect(()=>{return()=>window.clearTimeout($5.current)},[]);vS();const P4=z.useCallback(p2=>{const F4=fe5.current===J6.current?.side;return F4&&bn(p2,J6.current?.area)},[]);return Ht.jsx(tn,{scope:n2,searchRef:H3,onItemEnter:z.useCallback(p2=>{if(P4(p2))p2.preventDefault()},[P4]),onItemLeave:z.useCallback(p2=>{if(P4(p2))return;K4.current?.focus();xe3(null)},[P4]),onTriggerLeave:z.useCallback(p2=>{if(P4(p2))p2.preventDefault()},[P4]),pointerGraceTimerRef:mt4,onPointerGraceIntentChange:z.useCallback(p2=>{J6.current=p2},[]),children:Ht.jsx(ht3,{...gt4,children:Ht.jsx(Up,{asChild:true,trapped:s2,onMountAutoFocus:go(c5,p2=>{p2.preventDefault();K4.current?.focus({preventScroll:true})}),onUnmountAutoFocus:i5,children:Ht.jsx(Mp,{asChild:true,disableOutsidePointerEvents:d2,onEscapeKeyDown:m4,onPointerDownOutside:x2,onFocusOutside:l2,onInteractOutside:h3,onDismiss:w3,children:Ht.jsx(bt,{asChild:true,...pt4,dir:_2.dir,orientation:"vertical",loop:r3,currentTabStopId:xt4,onCurrentTabStopIdChange:xe3,onEntryFocus:go(f,p2=>{if(!_2.isUsingKeyboardRef.current)p2.preventDefault()}),preventScrollOnEntryFocus:true,children:Ht.jsx(SS,{role:"menu","aria-orientation":"vertical","data-state":tt3(C4.open),"data-radix-menu-content":"",dir:_2.dir,...Q7,...N4,ref:ft4,style:{outline:"none",...N4.style},onKeyDown:go(N4.onKeyDown,p2=>{const F4=p2.target;const R4=F4.closest("[data-radix-menu-content]")===p2.currentTarget;const I3=p2.ctrlKey||p2.altKey||p2.metaKey;const ee8=p2.key.length===1;if(R4){if(p2.key==="Tab")p2.preventDefault();if(!I3&&ee8)vt3(p2.key)}const te4=K4.current;if(p2.target!==te4)return;if(!zt.includes(p2.key))return;p2.preventDefault();const ne7=pe5().filter(j4=>!j4.disabled);const A=ne7.map(j4=>j4.ref.current);if(Ie.includes(p2.key))A.reverse();mn(A)}),onBlur:go(t3.onBlur,p2=>{if(!p2.currentTarget.contains(p2.target)){window.clearTimeout($5.current);H3.current=""}}),onPointerMove:go(t3.onPointerMove,O(p2=>{const F4=p2.target;const R4=Z6.current!==p2.clientX;if(p2.currentTarget.contains(F4)&&R4){const I3=p2.clientX>Z6.current?"right":"left";fe5.current=I3;Z6.current=p2.clientX}}))})})})})})})});Be2.displayName=y;var sn2="MenuGroup";var le2=z.forwardRef((t3,o6)=>{const{__scopeMenu:n2,...r3}=t3;return Ht.jsx(sn.div,{role:"group",...r3,ref:o6})});le2.displayName=sn2;var an="MenuLabel";var Ue3=z.forwardRef((t3,o6)=>{const{__scopeMenu:n2,...r3}=t3;return Ht.jsx(sn.div,{...r3,ref:o6})});Ue3.displayName=an;var W2="MenuItem";var we="menu.itemSelect";var Y=z.forwardRef((t3,o6)=>{const{disabled:n2=false,onSelect:r3,...s2}=t3;const c5=z.useRef(null);const i5=G(W2,t3.__scopeMenu);const d2=ie2(W2,t3.__scopeMenu);const f=on(o6,c5);const m4=z.useRef(false);const x2=u3(()=>{const l2=c5.current;if(!n2&&l2){const h3=new CustomEvent(we,{bubbles:true,cancelable:true});l2.addEventListener(we,w3=>r3?.(w3),{once:true});xp(l2,h3);if(h3.defaultPrevented){m4.current=false}else{i5.onClose()}}},"handleSelect");return Ht.jsx(Ge2,{...s2,ref:f,disabled:n2,onClick:go(t3.onClick,x2),onPointerDown:u3(l2=>{t3.onPointerDown?.(l2);m4.current=true},"onPointerDown"),onPointerUp:go(t3.onPointerUp,l2=>{if(!m4.current)l2.currentTarget?.click()}),onKeyDown:go(t3.onKeyDown,l2=>{const h3=d2.searchRef.current!=="";if(n2||h3&&l2.key===" ")return;if(re2.includes(l2.key)){l2.currentTarget.click();l2.preventDefault()}})})});Y.displayName=W2;var Ge2=z.forwardRef((t3,o6)=>{const{__scopeMenu:n2,disabled:r3=false,textValue:s2,...c5}=t3;const i5=ie2(W2,n2);const d2=ke3(n2);const f=z.useRef(null);const m4=on(o6,f);const[x2,l2]=z.useState(false);const[h3,w3]=z.useState("");z.useEffect(()=>{const v2=f.current;if(v2){w3((v2.textContent??"").trim())}},[c5.children]);return Ht.jsx(T.ItemSlot,{scope:n2,disabled:r3,textValue:s2??h3,children:Ht.jsx(Rt,{asChild:true,...d2,focusable:!r3,children:Ht.jsx(sn.div,{role:"menuitem","data-highlighted":x2?"":void 0,"aria-disabled":r3||void 0,"data-disabled":r3?"":void 0,...c5,ref:m4,onPointerMove:go(t3.onPointerMove,O(v2=>{if(r3){i5.onItemLeave(v2)}else{i5.onItemEnter(v2);if(!v2.defaultPrevented){const N4=v2.currentTarget;N4.focus({preventScroll:true})}}})),onPointerLeave:go(t3.onPointerLeave,O(v2=>i5.onItemLeave(v2))),onFocus:go(t3.onFocus,()=>l2(true)),onBlur:go(t3.onBlur,()=>l2(false))})})})});var cn="MenuCheckboxItem";var Ke3=z.forwardRef((t3,o6)=>{const{checked:n2=false,onCheckedChange:r3,...s2}=t3;return Ht.jsx(Ve2,{scope:t3.__scopeMenu,checked:n2,children:Ht.jsx(Y,{role:"menuitemcheckbox","aria-checked":z2(n2)?"mixed":n2,...s2,ref:o6,"data-state":ue2(n2),onSelect:go(s2.onSelect,()=>r3?.(z2(n2)?true:!n2),{checkForDefaultPrevented:false})})})});Ke3.displayName=cn;var $e2="MenuRadioGroup";var[ln,dn]=S2($e2,{value:void 0,onValueChange:u3(()=>{},"onValueChange")});var He2=z.forwardRef((t3,o6)=>{const{value:n2,onValueChange:r3,...s2}=t3;const c5=aa(r3);return Ht.jsx(ln,{scope:t3.__scopeMenu,value:n2,onValueChange:c5,children:Ht.jsx(le2,{...s2,ref:o6})})});He2.displayName=$e2;var We2="MenuRadioItem";var ze2=z.forwardRef((t3,o6)=>{const{value:n2,...r3}=t3;const s2=dn(We2,t3.__scopeMenu);const c5=n2===s2.value;return Ht.jsx(Ve2,{scope:t3.__scopeMenu,checked:c5,children:Ht.jsx(Y,{role:"menuitemradio","aria-checked":c5,...r3,ref:o6,"data-state":ue2(c5),onSelect:go(r3.onSelect,()=>s2.onValueChange?.(n2),{checkForDefaultPrevented:false})})})});ze2.displayName=We2;var de2="MenuItemIndicator";var[Ve2,un]=S2(de2,{checked:false});var Xe2=z.forwardRef((t3,o6)=>{const{__scopeMenu:n2,forceMount:r3,...s2}=t3;const c5=un(de2,n2);return Ht.jsx(j,{present:r3||z2(c5.checked)||c5.checked===true,children:Ht.jsx(sn.span,{...s2,ref:o6,"data-state":ue2(c5.checked)})})});Xe2.displayName=de2;var pn="MenuSeparator";var Ye2=z.forwardRef((t3,o6)=>{const{__scopeMenu:n2,...r3}=t3;return Ht.jsx(sn.div,{role:"separator","aria-orientation":"horizontal",...r3,ref:o6})});Ye2.displayName=pn;var xn="MenuArrow";var qe2=z.forwardRef((t3,o6)=>{const{__scopeMenu:n2,...r3}=t3;const s2=X2(n2);return Ht.jsx(ES,{...s2,...r3,ref:o6})});qe2.displayName=xn;var fn2="MenuSub";var[Ro2,Qe3]=S2(fn2);var k2="MenuSubTrigger";var Je3=z.forwardRef((t3,o6)=>{const n2=E2(k2,t3.__scopeMenu);const r3=G(k2,t3.__scopeMenu);const s2=Qe3(k2,t3.__scopeMenu);const c5=ie2(k2,t3.__scopeMenu);const i5=z.useRef(null);const{pointerGraceTimerRef:d2,onPointerGraceIntentChange:f}=c5;const m4={__scopeMenu:t3.__scopeMenu};const x2=z.useCallback(()=>{if(i5.current)window.clearTimeout(i5.current);i5.current=null},[]);z.useEffect(()=>x2,[x2]);z.useEffect(()=>{const l2=d2.current;return()=>{window.clearTimeout(l2);f(null)}},[d2,f]);return Ht.jsx(se2,{asChild:true,...m4,children:Ht.jsx(Ge2,{id:s2.triggerId,"aria-haspopup":"menu","aria-expanded":n2.open,"aria-controls":s2.contentId,"data-state":tt3(n2.open),...t3,ref:Xh(o6,s2.onTriggerChange),onClick:u3(l2=>{t3.onClick?.(l2);if(t3.disabled||l2.defaultPrevented)return;l2.currentTarget.focus();if(!n2.open)n2.onOpenChange(true)},"onClick"),onPointerMove:go(t3.onPointerMove,O(l2=>{c5.onItemEnter(l2);if(l2.defaultPrevented)return;if(!t3.disabled&&!n2.open&&!i5.current){c5.onPointerGraceIntentChange(null);i5.current=window.setTimeout(()=>{n2.onOpenChange(true);x2()},100)}})),onPointerLeave:go(t3.onPointerLeave,O(l2=>{x2();const h3=n2.content?.getBoundingClientRect();if(h3){const w3=n2.content?.dataset.side;const v2=w3==="right";const N4=v2?-5:5;const C4=h3[v2?"left":"right"];const _2=h3[v2?"right":"left"];c5.onPointerGraceIntentChange({area:[{x:l2.clientX+N4,y:l2.clientY},{x:C4,y:h3.top},{x:_2,y:h3.top},{x:_2,y:h3.bottom},{x:C4,y:h3.bottom}],side:w3});window.clearTimeout(d2.current);d2.current=window.setTimeout(()=>c5.onPointerGraceIntentChange(null),300)}else{c5.onTriggerLeave(l2);if(l2.defaultPrevented)return;c5.onPointerGraceIntentChange(null)}})),onKeyDown:go(t3.onKeyDown,l2=>{const h3=c5.searchRef.current!=="";if(t3.disabled||h3&&l2.key===" ")return;if(Vt[r3.dir].includes(l2.key)){n2.onOpenChange(true);n2.content?.focus();l2.preventDefault()}})})})});Je3.displayName=k2;var Ze3="MenuSubContent";var et2=z.forwardRef((t3,o6)=>{const n2=Oe(y,t3.__scopeMenu);const{forceMount:r3=n2.forceMount,...s2}=t3;const c5=E2(y,t3.__scopeMenu);const i5=G(y,t3.__scopeMenu);const d2=Qe3(Ze3,t3.__scopeMenu);const f=z.useRef(null);const m4=on(o6,f);return Ht.jsx(T.Provider,{scope:t3.__scopeMenu,children:Ht.jsx(j,{present:r3||c5.open,children:Ht.jsx(T.Slot,{scope:t3.__scopeMenu,children:Ht.jsx(ce2,{id:d2.contentId,"aria-labelledby":d2.triggerId,...s2,ref:m4,align:"start",side:i5.dir==="rtl"?"left":"right",disableOutsidePointerEvents:false,disableOutsideScroll:false,trapFocus:false,onOpenAutoFocus:u3(x2=>{if(i5.isUsingKeyboardRef.current)f.current?.focus();x2.preventDefault()},"onOpenAutoFocus"),onCloseAutoFocus:u3(x2=>x2.preventDefault(),"onCloseAutoFocus"),onFocusOutside:go(t3.onFocusOutside,x2=>{if(x2.target!==d2.trigger)c5.onOpenChange(false)}),onEscapeKeyDown:go(t3.onEscapeKeyDown,x2=>{i5.onClose();x2.preventDefault()}),onKeyDown:go(t3.onKeyDown,x2=>{const l2=x2.currentTarget.contains(x2.target);const h3=Xt[i5.dir].includes(x2.key);if(l2&&h3){c5.onOpenChange(false);d2.trigger?.focus();x2.preventDefault()}})})})})})});et2.displayName=Ze3;function tt3(t3){return t3?"open":"closed"}__name(tt3,"tt");u3(tt3,"getOpenState");function z2(t3){return t3==="indeterminate"}__name(z2,"z");u3(z2,"isIndeterminate");function ue2(t3){return z2(t3)?"indeterminate":t3?"checked":"unchecked"}__name(ue2,"ue");u3(ue2,"getCheckedState");function mn(t3){const o6=document.activeElement;for(const n2 of t3){if(n2===o6)return;n2.focus();if(document.activeElement!==o6)return}}__name(mn,"mn");u3(mn,"focusFirst");function hn(t3,o6){return t3.map((n2,r3)=>t3[(o6+r3)%t3.length])}__name(hn,"hn");u3(hn,"wrapArray");function gn(t3,o6,n2){const r3=o6.length>1&&Array.from(o6).every(m4=>m4===o6[0]);const s2=r3?o6[0]:o6;const c5=n2?t3.indexOf(n2):-1;let i5=hn(t3,Math.max(c5,0));const d2=s2.length===1;if(d2)i5=i5.filter(m4=>m4!==n2);const f=i5.find(m4=>m4.toLowerCase().startsWith(s2.toLowerCase()));return f!==n2?f:void 0}__name(gn,"gn");u3(gn,"getNextMatch");function vn(t3,o6){const{x:n2,y:r3}=t3;let s2=false;for(let c5=0,i5=o6.length-1;c5r3!==h3>r3&&n2<(l2-m4)*(r3-x2)/(h3-x2)+m4;if(w3)s2=!s2}return s2}__name(vn,"vn");u3(vn,"isPointInPolygon");function bn(t3,o6){if(!o6)return false;const n2={x:t3.clientX,y:t3.clientY};return vn(n2,o6)}__name(bn,"bn");u3(bn,"isPointerInGraceArea");function O(t3){return o6=>o6.pointerType==="mouse"?t3(o6):void 0}__name(O,"O");u3(O,"whenMouse");var wn=Te;var Mn=se2;var jn=Le2;var yn=Be2;var Cn=le2;var Nn=Ue3;var _n=Y;var Fn2=Ke3;var Rn=He2;var Sn=ze2;var En=Xe2;var Pn2=Ye2;var Dn=qe2;var In2=Je3;var An=et2;var q="DropdownMenu";var[kn,So2]=av(q,[Ae]);var M2=Ae();var[Tn,nt2]=kn(q);var ot3=u3(t3=>{const{__scopeDropdownMenu:o6,children:n2,dir:r3,open:s2,defaultOpen:c5,onOpenChange:i5,modal:d2=true}=t3;const f=M2(o6);const m4=z.useRef(null);const[x2,l2]=dS({prop:s2,defaultProp:c5??false,onChange:i5,caller:q});return Ht.jsx(Tn,{scope:o6,triggerId:gS(),triggerRef:m4,contentId:gS(),open:x2,onOpenChange:l2,onOpenToggle:z.useCallback(()=>l2(h3=>!h3),[l2]),modal:d2,children:Ht.jsx(wn,{...f,open:x2,onOpenChange:l2,dir:r3,modal:d2,children:n2})})},"DropdownMenu$1");ot3.displayName=q;var rt2="DropdownMenuTrigger";var st2=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,disabled:r3=false,...s2}=t3;const c5=nt2(rt2,n2);const i5=M2(n2);return Ht.jsx(Mn,{asChild:true,...i5,children:Ht.jsx(sn.button,{type:"button",id:c5.triggerId,"aria-haspopup":"menu","aria-expanded":c5.open,"aria-controls":c5.open?c5.contentId:void 0,"data-state":c5.open?"open":"closed","data-disabled":r3?"":void 0,disabled:r3,...s2,ref:Xh(o6,c5.triggerRef),onPointerDown:go(t3.onPointerDown,d2=>{if(!r3&&d2.button===0&&d2.ctrlKey===false){c5.onOpenToggle();if(!c5.open)d2.preventDefault()}}),onKeyDown:go(t3.onKeyDown,d2=>{if(r3)return;if(["Enter"," "].includes(d2.key))c5.onOpenToggle();if(d2.key==="ArrowDown")c5.onOpenChange(true);if(["Enter"," ","ArrowDown"].includes(d2.key))d2.preventDefault()})})})});st2.displayName=rt2;var On="DropdownMenuPortal";var at2=u3(t3=>{const{__scopeDropdownMenu:o6,...n2}=t3;const r3=M2(o6);return Ht.jsx(jn,{...r3,...n2})},"DropdownMenuPortal");at2.displayName=On;var it2="DropdownMenuContent";var ct2=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=nt2(it2,n2);const c5=M2(n2);const i5=z.useRef(false);return Ht.jsx(yn,{id:s2.contentId,"aria-labelledby":s2.triggerId,...c5,...r3,ref:o6,onCloseAutoFocus:go(t3.onCloseAutoFocus,d2=>{if(!i5.current)s2.triggerRef.current?.focus();i5.current=false;d2.preventDefault()}),onInteractOutside:go(t3.onInteractOutside,d2=>{const f=d2.detail.originalEvent;const m4=f.button===0&&f.ctrlKey===true;const x2=f.button===2||m4;if(!s2.modal||x2)i5.current=true}),style:{...t3.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})});ct2.displayName=it2;var Ln="DropdownMenuGroup";var Bn=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(Cn,{...s2,...r3,ref:o6})});Bn.displayName=Ln;var Un="DropdownMenuLabel";var Gn=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(Nn,{...s2,...r3,ref:o6})});Gn.displayName=Un;var Kn="DropdownMenuItem";var lt2=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(_n,{...s2,...r3,ref:o6})});lt2.displayName=Kn;var $n="DropdownMenuCheckboxItem";var Hn=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(Fn2,{...s2,...r3,ref:o6})});Hn.displayName=$n;var Wn="DropdownMenuRadioGroup";var zn=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(Rn,{...s2,...r3,ref:o6})});zn.displayName=Wn;var Vn="DropdownMenuRadioItem";var Xn=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(Sn,{...s2,...r3,ref:o6})});Xn.displayName=Vn;var Yn="DropdownMenuItemIndicator";var qn=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(En,{...s2,...r3,ref:o6})});qn.displayName=Yn;var Qn="DropdownMenuSeparator";var Jn=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(Pn2,{...s2,...r3,ref:o6})});Jn.displayName=Qn;var Zn="DropdownMenuArrow";var eo=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(Dn,{...s2,...r3,ref:o6})});eo.displayName=Zn;var to="DropdownMenuSubTrigger";var no=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(In2,{...s2,...r3,ref:o6})});no.displayName=to;var oo2="DropdownMenuSubContent";var ro2=z.forwardRef((t3,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t3;const s2=M2(n2);return Ht.jsx(An,{...s2,...r3,ref:o6,style:{...t3.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})});ro2.displayName=oo2;var so2=ot3;var ao=st2;var io=at2;var co2=ct2;var lo=lt2;var uo=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]];var po2=qv("heart",uo);var xo2=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]];var Me2=qv("menu",xo2);var fo2=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]];var mo2=qv("package",fo2);var ho2=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]];var go2=qv("shopping-bag",ho2);var vo2=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]];var bo2=qv("user",vo2);function je2({...t3}){return Ht.jsx(so2,{"data-slot":"dropdown-menu",...t3})}__name(je2,"je");u3(je2,"DropdownMenu");function ye2({...t3}){return Ht.jsx(ao,{"data-slot":"dropdown-menu-trigger",...t3})}__name(ye2,"ye");u3(ye2,"DropdownMenuTrigger");function Ce({className:t3,sideOffset:o6=4,...n2}){return Ht.jsx(io,{children:Ht.jsx(co2,{"data-slot":"dropdown-menu-content",sideOffset:o6,className:nv("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t3),...n2})})}__name(Ce,"Ce");u3(Ce,"DropdownMenuContent");function Ne2({className:t3,inset:o6,variant:n2="default",...r3}){return Ht.jsx(lo,{"data-slot":"dropdown-menu-item","data-inset":o6,"data-variant":n2,className:nv("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t3),...r3})}__name(Ne2,"Ne");u3(Ne2,"DropdownMenuItem");var dt3=u3(t3=>{return{id:String(t3.id),label:rS(String(t3.title)),href:t3.resolved_url,children:Array.isArray(t3.children)?t3.children.map(dt3):void 0}},"createMenuItem");var ut2=z.createContext(null);var wo2=u3(()=>{const t3=z.useContext(ut2);if(!t3){throw new Error("useMenu must be used within a MenuProvider")}return t3},"useMenu");var Mo2=u3(({children:t3,menu_id:o6,...n2})=>{const[r3,s2]=z.useState([]);const[c5,i5]=z.useState(true);const[d2,f]=z.useState(null);const[m4,x2]=z.useState(false);const l2=z.useRef(null);const h3=z.useCallback(()=>{const C4="Failed to fetch menu items";f(C4)},[]);const w3=u3(async C4=>{if(m4)return;i5(true);x2(true);f(null);try{const _2=await wvcClient.getMenuItems({menuId:parseInt(o6)});const Q7=_2.map(dt3);s2(Q7)}catch{h3()}finally{i5(false);x2(false)}},"fetchMenuItems");z.useEffect(()=>{l2.current=new AbortController;w3(l2.current.signal);const C4=u3(()=>{v2()},"handleMenuRefresh");window.addEventListener("WVC_MENU_REFRESH",C4);return()=>{if(l2.current){l2.current.abort()}window.removeEventListener("WVC_MENU_REFRESH",C4)}},[]);const v2=u3(async()=>{if(l2.current){l2.current.abort()}l2.current=new AbortController;await w3(l2.current.signal)},"refetch");const N4={menuItems:r3,loading:c5,error:d2,refetch:v2,isRefetching:m4};return Ht.jsx(ut2.Provider,{value:N4,children:Ht.jsx("div",{...n2,"data-wvc-dynamic":"MenuProvider","data-wvc-menu_id":o6,children:t3})})},"WordpressMenuProvider");var jo2=Mo2;var yo2=[{label:"Home",href:"/",active:true},{label:"Shop",href:"/shop",hasDropdown:true,dropdownItems:[{label:"Fibre Filler",href:"/shop/fibre-filler"},{label:"Liquid Rubber",href:"/shop/liquid-rubber"},{label:"Primers",href:"/shop/primers"},{label:"Wall and Roof Paint",href:"/shop/wall-and-roof-paint"}]},{label:"Waterproofing Solutions",href:"/waterproofing-solutions"},{label:"How It Works",href:"/how-it-works"},{label:"Applications",href:"/applications"},{label:"Help & Advice",href:"/help-advice"},{label:"About us",href:"/about-us"},{label:"Contact",href:"/contact"}];var _e=[{label:"Shop Liquid Rubber",href:"/shop/liquid-rubber"},{label:"Shop Fibre Filler",href:"/shop/fibre-filler"},{label:"Shop Primers",href:"/shop/primers"},{label:"Shop Wall & Roof Paint",href:"/shop/wall-and-roof-paint"},{label:"Seamless Liquid Rubber Waterproofing",href:"/shop/liquid-rubber"},{label:"Reinforce Cracks, Joints & Leak Points",href:"/shop/fibre-filler"},{label:"Prepare Surfaces for Stronger Adhesion",href:"/shop/primers"},{label:"Durable Wall & Roof Protection That Lasts",href:"/shop/wall-and-roof-paint"}];function Co2(){const[t3,o6]=z.useState("");const[n2,r3]=z.useState(false);const{menuItems:s2}=wo2();const c5=s2&&s2.length>0?s2.map(i5=>({label:i5.label||i5.title||"",href:i5.href||i5.url||"#",dropdownItems:i5.children?.map(d2=>({label:d2.label||d2.title||"",href:d2.href||d2.url||"#"})),hasDropdown:Boolean(i5.children&&i5.children.length>0),active:false})):yo2;return Ht.jsxs("header",{id:"header",className:"w-full bg-white text-[#4B5563] relative z-50 overflow-visible",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:[Ht.jsx("section",{className:"w-full bg-white border-b border-[#EBEFF5]",children:Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 py-4 md:py-6 flex flex-wrap items-center justify-between gap-4",children:[Ht.jsx("div",{className:"flex-shrink-0 flex items-center",children:Ht.jsx(cS,{to:"https://teal-sparrow-432062.hostingersite.com",className:"inline-block","aria-label":"U-Proof Home",children:Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",alt:"U-Proof Waterproofing Solutions Logo",className:"w-auto h-8 md:h-12 max-w-[200px] object-contain"})})}),Ht.jsx("div",{className:"hidden md:flex flex-1 max-w-[500px] mx-4 items-center",children:Ht.jsxs("div",{className:"relative w-full",children:[Ht.jsx("div",{className:"absolute inset-y-0 left-0 pl-3.5 flex items-center pointer-events-none text-[#0046BE]",children:Ht.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 26 26","aria-hidden":"true",className:"stroke-[#0046BE]",children:[Ht.jsx("circle",{cx:"11.35",cy:"11.35",r:"6",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"}),Ht.jsx("line",{x1:"15.59",y1:"15.59",x2:"20.65",y2:"20.65",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"})]})}),Ht.jsx(It,{type:"text",placeholder:"Find product",value:t3,onChange:u3(i5=>o6(i5.target.value),"onChange"),className:"w-full bg-[#EDF0F2] border-[#F3F4F6] text-[#6F7C8E] text-[15px] pl-10 pr-4 h-11 rounded focus-visible:ring-1 focus-visible:ring-[#0071A2] placeholder:text-[#6F7C8E]"})]})}),Ht.jsxs("div",{className:"flex items-center gap-4 md:gap-6",children:[Ht.jsxs(cS,{to:"/wishlist",className:"group flex items-center gap-2 text-left","aria-label":"Wishlist Products",children:[Ht.jsxs("div",{className:"relative w-10 h-10 rounded-lg border border-[#EDF0F2] flex items-center justify-center text-[#111827] group-hover:border-[#FFD401] transition-colors",children:[Ht.jsx(po2,{className:"w-5 h-5 text-[#333333] stroke-[1.5]"}),Ht.jsx(oS,{className:"absolute -top-2 -right-2 bg-[#FFC501] text-[#4B5563] text-[11px] font-bold h-4 min-w-[16px] px-1 rounded-full flex items-center justify-center p-0 border-none",children:"0"})]}),Ht.jsxs("div",{className:"hidden lg:flex flex-col leading-tight",children:[Ht.jsx("span",{className:"text-[11px] text-[#757575] font-normal",children:"Wishlist"}),Ht.jsx("span",{className:"text-sm font-semibold text-[#111827] group-hover:text-[#FFC501] transition-colors",children:"Products"})]})]}),Ht.jsxs(cS,{to:"/my-account",className:"group flex items-center gap-2 text-left","aria-label":"My Account",children:[Ht.jsx("div",{className:"relative w-10 h-10 rounded-lg border border-[#EDF0F2] flex items-center justify-center text-[#111827] group-hover:border-[#FFD401] transition-colors",children:Ht.jsx(bo2,{className:"w-5 h-5 text-[#333333] stroke-[1.5]"})}),Ht.jsxs("div",{className:"hidden lg:flex flex-col leading-tight",children:[Ht.jsx("span",{className:"text-[11px] text-[#757575] font-normal",children:"Account"}),Ht.jsx("span",{className:"text-sm font-semibold text-[#111827] group-hover:text-[#FFC501] transition-colors",children:"Sign in"})]})]}),Ht.jsxs(cS,{to:"/cart",className:"group flex items-center gap-2 text-left","aria-label":"Shopping Cart",children:[Ht.jsxs("div",{className:"relative w-10 h-10 rounded-lg border border-[#EDF0F2] flex items-center justify-center text-[#111827] group-hover:border-[#FFD401] transition-colors",children:[Ht.jsx(go2,{className:"w-5 h-5 text-[#333333] stroke-[1.5]"}),Ht.jsx(oS,{className:"absolute -top-2 -right-2 bg-[#FFC501] text-[#4B5563] text-[11px] font-bold h-4 min-w-[16px] px-1 rounded-full flex items-center justify-center p-0 border-none",children:"0"})]}),Ht.jsx("div",{className:"hidden lg:flex flex-col leading-tight",children:Ht.jsx("span",{className:"text-sm font-semibold text-[#111827] group-hover:text-[#FFC501] transition-colors",children:"R0,00"})})]}),Ht.jsxs(Ct,{open:n2,onOpenChange:r3,children:[Ht.jsx(Et,{asChild:true,children:Ht.jsxs(fS,{variant:"outline",size:"icon",className:"lg:hidden h-10 w-10 rounded-lg border border-[#EDF0F2]",children:[Ht.jsx(Me2,{className:"w-5 h-5 text-[#111827]"}),Ht.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),Ht.jsxs(Tt,{side:"right",className:"w-[300px] sm:w-[360px] p-0",children:[Ht.jsx(_t,{className:"p-4 border-b border-[#EDF0F2] text-left",children:Ht.jsx(wt,{className:"text-lg font-bold text-[#111827]",children:"Menu"})}),Ht.jsxs("div",{className:"p-4 space-y-4 overflow-y-auto max-h-[calc(100vh-80px)]",children:[Ht.jsxs("div",{className:"relative w-full",children:[Ht.jsx(It,{type:"text",placeholder:"Find product",className:"w-full bg-[#EDF0F2] border-[#F3F4F6] text-[14px] pl-9 h-10"}),Ht.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:Ht.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 26 26",className:"stroke-[#0046BE]","aria-hidden":"true",children:[Ht.jsx("circle",{cx:"11.35",cy:"11.35",r:"6",fill:"none",strokeWidth:"2"}),Ht.jsx("line",{x1:"15.59",y1:"15.59",x2:"20.65",y2:"20.65",fill:"none",strokeWidth:"2"})]})})]}),Ht.jsxs("div",{className:"pt-2",children:[Ht.jsx("p",{className:"text-xs uppercase font-bold text-gray-400 mb-2",children:"Categories"}),Ht.jsx("div",{className:"space-y-1",children:_e.slice(0,4).map(i5=>Ht.jsxs(cS,{to:i5.href,onClick:u3(()=>r3(false),"onClick"),className:"flex items-center justify-between py-2 text-sm text-[#111827] hover:text-[#0071A2] font-medium",children:[Ht.jsx("span",{children:i5.label}),Ht.jsx(Nt,{className:"w-4 h-4 text-gray-400"})]},i5.label))})]}),Ht.jsx("hr",{className:"border-[#EDF0F2]"}),Ht.jsxs("div",{children:[Ht.jsx("p",{className:"text-xs uppercase font-bold text-gray-400 mb-2",children:"Navigation"}),Ht.jsx("div",{className:"space-y-1",children:c5.map(i5=>Ht.jsx(cS,{to:i5.href,onClick:u3(()=>r3(false),"onClick"),className:`block py-2 text-sm font-semibold transition-colors ${i5.active?"text-[#0071A2]":"text-[#14181F] hover:text-[#0071A2]"}`,children:i5.label},i5.label))})]})]})]})]})]})]})}),Ht.jsx("nav",{"aria-label":"Main Navigation",className:"hidden lg:block w-full bg-white border-t border-[#EDF0F2] shadow-[0_16px_32px_-4px_rgba(12,12,13,0.08)] relative z-40",style:{boxShadow:"rgba(12, 12, 13, 0.08) 0px 16px 32px -4px"},children:Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 flex items-stretch justify-start",children:[Ht.jsx("div",{className:"flex items-stretch flex-1 overflow-x-auto scrollbar-none",children:c5.map(i5=>{if(i5.hasDropdown&&i5.dropdownItems&&i5.dropdownItems.length>0){return Ht.jsxs(je2,{children:[Ht.jsx(ye2,{asChild:true,children:Ht.jsxs("button",{type:"button",className:"h-[59px] px-5 flex items-center gap-1 text-[14.4px] font-semibold text-[#14181F] hover:bg-[#0071A2] hover:text-white border-r border-[#EDF0F2] transition-colors cursor-pointer outline-none",children:[Ht.jsx("span",{children:i5.label}),Ht.jsx(AS,{className:"w-3.5 h-3.5 opacity-70"})]})}),Ht.jsx(Ce,{align:"start",className:"w-[220px] bg-white p-2 rounded-md shadow-lg border border-[#EDF0F2]",children:i5.dropdownItems.map(d2=>Ht.jsx(Ne2,{asChild:true,children:Ht.jsx(cS,{to:d2.href,className:"block py-2 px-3 text-sm font-medium text-[#111827] hover:bg-[#F3F4F6] rounded",children:d2.label})},d2.label))})]},i5.label)}return Ht.jsx(cS,{to:i5.href,className:`h-[59px] px-5 flex items-center justify-center text-[14.4px] font-semibold border-r border-[#EDF0F2] transition-colors whitespace-nowrap ${i5.active?"bg-[#0071A2] text-white":"text-[#14181F] hover:bg-[#0071A2] hover:text-white"}`,style:i5.active?{backgroundColor:"rgb(0, 113, 162)",color:"#FFFFFF"}:void 0,children:i5.label},i5.label)})})]})})]})}__name(Co2,"Co");u3(Co2,"HeaderContent");function Eo2(){return Ht.jsx(jo2,{menu_id:"16",children:Ht.jsx(Co2,{})})}__name(Eo2,"Eo");u3(Eo2,"Header");function Po(){const t3=u3(()=>{window.scrollTo({top:0,behavior:"smooth"})},"scrollToTop");return Ht.jsx("footer",{id:"mfn-footer-template",className:"w-full bg-white text-[#4B5563]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:Ht.jsxs("div",{className:"w-full max-w-[1260px] mx-auto px-4 md:px-6 pt-16 pb-8",children:[Ht.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-8 lg:gap-12 items-start",children:[Ht.jsxs("div",{className:"md:col-span-5 lg:col-span-5 flex flex-col space-y-4 pr-0 lg:pr-8",children:[Ht.jsx(cS,{to:"https://teal-sparrow-432062.hostingersite.com",className:"inline-block mb-2 w-fit",children:Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",alt:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",className:"w-[228px] h-auto object-contain"})}),Ht.jsx("p",{className:"text-[#4B5563] text-[16px] font-normal leading-[24px]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"U-Proof supplies high-performance waterproofing products designed to protect roofs, walls, gutters, concrete, metal and exposed surfaces from leaks, weather damage and long-term deterioration."}),Ht.jsx("p",{className:"text-[#4B5563] text-[16px] font-normal leading-[24px]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"Built for South African conditions, our waterproofing range is suitable for homeowners, contractors, builders and property maintenance teams."})]}),Ht.jsxs("div",{className:"md:col-span-7 lg:col-span-7 grid grid-cols-1 sm:grid-cols-3 gap-8",children:[Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Shop Products"}),Ht.jsx("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:Ht.jsx("li",{children:Ht.jsx(cS,{to:"/products",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Products"})})})]}),Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Solutions"}),Ht.jsxs("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:[Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/roof-waterproofing",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Roof Waterproofing"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/metal-roof-protection",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Metal Roof Protection"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/concrete-waterproofing",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Concrete Waterproofing"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/gutters-flashings",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Gutters & Flashings"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/balconies-terraces",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Balconies & Terraces"})})]})]}),Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Legal"}),Ht.jsxs("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:[Ht.jsx("li",{children:Ht.jsx(cS,{to:"/terms-conditions",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Terms & Conditions"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/privacy-policy",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Privacy Policy"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/about-us",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"About us"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/contact",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Contact"})})]})]})]})]}),Ht.jsxs("div",{className:"mt-12 py-[25px] border-t border-b border-[#EDF0F2] flex items-center justify-between",children:[Ht.jsxs("div",{className:"flex items-center gap-1.5 sm:gap-2",children:[Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Visa.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Maestro.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Mastercard.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/PayPal.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"})]}),Ht.jsx(fS,{variant:"ghost",size:"icon",onClick:t3,className:"text-[#4B5563] hover:text-[#FFC501] hover:bg-transparent h-8 w-8 p-0","aria-label":"Back to top",children:Ht.jsx(TS,{className:"w-5 h-5"})})]}),Ht.jsxs("div",{className:"pt-6 text-center text-[14px] leading-[22px] text-[#7A838F]",children:["xA9 2026 U-Proof | All Rights Reserved |"," ",Ht.jsx(cS,{to:"/privacy-policy",className:"text-[#7A838F] hover:text-[#FFC501] transition-colors duration-150",children:"Privacy Policy"})]})]})})}__name(Po,"Po");u3(Po,"Footer");var eo2=Object.defineProperty;var i2=__name((t3,e7)=>eo2(t3,"name",{value:e7,configurable:true}),"i");var Si=z.createContext({});function no2(t3){const e7=z.useRef(null);if(e7.current===null){e7.current=t3()}return e7.current}__name(no2,"no");i2(no2,"useConstant");var ln2=typeof window!=="undefined";var so3=ln2?z.useLayoutEffect:z.useEffect;var cn2=z.createContext(null);function un2(t3,e7){if(t3.indexOf(e7)===-1)t3.push(e7)}__name(un2,"un");i2(un2,"addUniqueItem");function hn2(t3,e7){const n2=t3.indexOf(e7);if(n2>-1)t3.splice(n2,1)}__name(hn2,"hn");i2(hn2,"removeItem");var q2=i2((t3,e7,n2)=>{if(n2>e7)return e7;if(n2{},"invariant");var _={};var wi=i2(t3=>/^-?(?:d+(?:.d+)?|.d+)$/u.test(t3),"isNumericalString");function Ai(t3){return typeof t3==="object"&&t3!==null}__name(Ai,"Ai");i2(Ai,"isObject");var Vi2=i2(t3=>/^0[^.s]+$/u.test(t3),"isZeroValueString");function dn2(t3){let e7;return()=>{if(e7===void 0)e7=t3();return e7}}__name(dn2,"dn");i2(dn2,"memo");var H=i2(t3=>t3,"noop");var io2=i2((t3,e7)=>n2=>e7(t3(n2)),"combineFunctions");var jt=i2((...t3)=>t3.reduce(io2),"pipe");var Ct2=i2((t3,e7,n2)=>{const s2=e7-t3;return s2===0?1:(n2-t3)/s2},"progress");var In3=class In4{static{__name(this,"In")}constructor(){this.subscriptions=[]}add(e7){un2(this.subscriptions,e7);return()=>hn2(this.subscriptions,e7)}notify(e7,n2,s2){const r3=this.subscriptions.length;if(!r3)return;if(r3===1){this.subscriptions[0](e7,n2,s2)}else{for(let o6=0;o6t3*1e3,"secondsToMilliseconds");var $2=i2(t3=>t3/1e3,"millisecondsToSeconds");function Ci2(t3,e7){return e7?t3*(1e3/e7):0}__name(Ci2,"Ci");i2(Ci2,"velocityPerSecond");var Di=i2((t3,e7,n2)=>(((1-3*n2+3*e7)*t3+(3*n2-6*e7))*t3+3*e7)*t3,"calcBezier");var ro3=1e-7;var oo3=12;function ao2(t3,e7,n2,s2,r3){let o6;let c5;let a3=0;do{c5=e7+(n2-e7)/2;o6=Di(c5,s2,r3)-t3;if(o6>0){n2=c5}else{e7=c5}}while(Math.abs(o6)>ro3&&++a3ao2(o6,0,1,t3,n2),"getTForX");return o6=>o6===0||o6===1?o6:Di(r3(o6),e7,s2)}__name(Ot,"Ot");i2(Ot,"cubicBezier");var Mi2=i2(t3=>e7=>e7<=.5?t3(2*e7)/2:(2-t3(2*(1-e7)))/2,"mirrorEasing");var Ri2=i2(t3=>e7=>1-t3(1-e7),"reverseEasing");var Ei=Ot(.33,1.53,.69,.99);var mn2=Ri2(Ei);var Li2=Mi2(mn2);var ki2=i2(t3=>(t3*=2)<1?.5*mn2(t3):.5*(2-Math.pow(2,-10*(t3-1))),"anticipate");var pn2=i2(t3=>1-Math.sin(Math.acos(t3)),"circIn");var Bi2=Ri2(pn2);var Fi=Mi2(pn2);var lo2=Ot(.42,0,1,1);var co3=Ot(0,0,.58,1);var Ii=Ot(.42,0,.58,1);var uo2=i2(t3=>{return Array.isArray(t3)&&typeof t3[0]!=="number"},"isEasingArray");var ji2=i2(t3=>Array.isArray(t3)&&typeof t3[0]==="number","isBezierDefinition");var ho3={linear:H,easeIn:lo2,easeInOut:Ii,easeOut:co3,circIn:pn2,circInOut:Fi,circOut:Bi2,backIn:mn2,backInOut:Li2,backOut:Ei,anticipate:ki2};var fo3=i2(t3=>{return typeof t3==="string"},"isValidEasing");var fs=i2(t3=>{if(ji2(t3)){fn3(t3.length===4);const[e7,n2,s2,r3]=t3;return Ot(e7,n2,s2,r3)}else if(fo3(t3)){return ho3[t3]}return t3},"easingDefinitionToFunction");var Kt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function mo3(t3,e7){let n2=new Set;let s2=new Set;let r3=false;let o6=false;const c5=new WeakSet;let a3={delta:0,timestamp:0,isProcessing:false};function l2(u6){if(c5.has(u6)){h3.schedule(u6);t3()}u6(a3)}__name(l2,"l");i2(l2,"triggerCallback");const h3={schedule:i2((u6,f=false,d2=false)=>{const m4=d2&&r3;const p2=m4?n2:s2;if(f)c5.add(u6);if(!p2.has(u6))p2.add(u6);return u6},"schedule"),cancel:i2(u6=>{s2.delete(u6);c5.delete(u6)},"cancel"),process:i2(u6=>{a3=u6;if(r3){o6=true;return}r3=true;[n2,s2]=[s2,n2];n2.forEach(l2);n2.clear();r3=false;if(o6){o6=false;h3.process(u6)}},"process")};return h3}__name(mo3,"mo");i2(mo3,"createRenderStep");var po3=40;function Oi(t3,e7){let n2=false;let s2=true;const r3={delta:0,timestamp:0,isProcessing:false};const o6=i2(()=>n2=true,"flagRunNextFrame");const c5=Kt.reduce((y4,w3)=>{y4[w3]=mo3(o6);return y4},{});const{setup:a3,read:l2,resolveKeyframes:h3,preUpdate:u6,update:f,preRender:d2,render:m4,postRender:p2}=c5;const v2=i2(()=>{const y4=_.useManualTiming?r3.timestamp:performance.now();n2=false;if(!_.useManualTiming){r3.delta=s2?1e3/60:Math.max(Math.min(y4-r3.timestamp,po3),1)}r3.timestamp=y4;r3.isProcessing=true;a3.process(r3);l2.process(r3);h3.process(r3);u6.process(r3);f.process(r3);d2.process(r3);m4.process(r3);p2.process(r3);r3.isProcessing=false;if(n2&&e7){s2=false;t3(v2)}},"processBatch");const T3=i2(()=>{n2=true;s2=true;if(!r3.isProcessing){t3(v2)}},"wake");const g=Kt.reduce((y4,w3)=>{const b=c5[w3];y4[w3]=(V3,L2=false,A=false)=>{if(!n2)T3();return b.schedule(V3,L2,A)};return y4},{});const x2=i2(y4=>{for(let w3=0;w3{if(Ht2===void 0){O2.set(B2.isProcessing||_.useManualTiming?B2.timestamp:performance.now())}return Ht2},"now"),set:i2(t3=>{Ht2=t3;queueMicrotask(go3)},"set")};var Ni2=i2(t3=>e7=>typeof e7==="string"&&e7.startsWith(t3),"checkStringStartsWith");var gn2=Ni2("--");var yo3=Ni2("var(--");var yn2=i2(t3=>{const e7=yo3(t3);if(!e7)return false;return vo3.test(t3.split("/*")[0].trim())},"isCSSVariableToken");var vo3=/var(--(?:[w-]+s*|[w-]+s*,(?:s*[^)(s]|s*((?:[^)(]|([^)(]*))*))+s*))$/iu;var yt2={test:i2(t3=>typeof t3==="number","test"),parse:parseFloat,transform:i2(t3=>t3,"transform")};var Mt={...yt2,transform:i2(t3=>q2(0,1,t3),"transform")};var Wt2={...yt2,default:1};var bt3=i2(t3=>Math.round(t3*1e5)/1e5,"sanitize");var vn2=/-?(?:d+(?:.d+)?|.d+)/gu;function To2(t3){return t3==null}__name(To2,"To");i2(To2,"isNullish");var xo3=/^(?:#[da-f]{3,8}|(?:rgb|hsl)a?((?:-?[d.]+%?[,s]+){2}-?[d.]+%?s*(?:[,/]s*)?(?:bd+(?:.d+)?|.d+)?%?))$/iu;var Tn2=i2((t3,e7)=>n2=>{return Boolean(typeof n2==="string"&&xo3.test(n2)&&n2.startsWith(t3)||e7&&!To2(n2)&&Object.prototype.hasOwnProperty.call(n2,e7))},"isColorString");var Ui2=i2((t3,e7,n2)=>s2=>{if(typeof s2!=="string")return s2;const[r3,o6,c5,a3]=s2.match(vn2);return{[t3]:parseFloat(r3),[e7]:parseFloat(o6),[n2]:parseFloat(c5),alpha:a3!==void 0?parseFloat(a3):1}},"splitColor");var Po2=i2(t3=>q2(0,255,t3),"clampRgbUnit");var re3={...yt2,transform:i2(t3=>Math.round(Po2(t3)),"transform")};var it3={test:Tn2("rgb","red"),parse:Ui2("red","green","blue"),transform:i2(({red:t3,green:e7,blue:n2,alpha:s2=1})=>"rgba("+re3.transform(t3)+", "+re3.transform(e7)+", "+re3.transform(n2)+", "+bt3(Mt.transform(s2))+")","transform")};function bo3(t3){let e7="";let n2="";let s2="";let r3="";if(t3.length>5){e7=t3.substring(1,3);n2=t3.substring(3,5);s2=t3.substring(5,7);r3=t3.substring(7,9)}else{e7=t3.substring(1,2);n2=t3.substring(2,3);s2=t3.substring(3,4);r3=t3.substring(4,5);e7+=e7;n2+=n2;s2+=s2;r3+=r3}return{red:parseInt(e7,16),green:parseInt(n2,16),blue:parseInt(s2,16),alpha:r3?parseInt(r3,16)/255:1}}__name(bo3,"bo");i2(bo3,"parseHex");var xe={test:Tn2("#"),parse:bo3,transform:it3.transform};var Nt2=i2(t3=>({test:i2(e7=>typeof e7==="string"&&e7.endsWith(t3)&&e7.split(" ").length===1,"test"),parse:parseFloat,transform:i2(e7=>`${e7}${t3}`,"transform")}),"createUnitType");var Z2=Nt2("deg");var Y2=Nt2("%");var P=Nt2("px");var So3=Nt2("vh");var wo3=Nt2("vw");var ds=(()=>({...Y2,parse:i2(t3=>Y2.parse(t3)/100,"parse"),transform:i2(t3=>Y2.transform(t3*100),"transform")}))();var ct3={test:Tn2("hsl","hue"),parse:Ui2("hue","saturation","lightness"),transform:i2(({hue:t3,saturation:e7,lightness:n2,alpha:s2=1})=>{return"hsla("+Math.round(t3)+", "+Y2.transform(bt3(e7))+", "+Y2.transform(bt3(n2))+", "+bt3(Mt.transform(s2))+")"},"transform")};var E3={test:i2(t3=>it3.test(t3)||xe.test(t3)||ct3.test(t3),"test"),parse:i2(t3=>{if(it3.test(t3)){return it3.parse(t3)}else if(ct3.test(t3)){return ct3.parse(t3)}else{return xe.parse(t3)}},"parse"),transform:i2(t3=>{return typeof t3==="string"?t3:t3.hasOwnProperty("red")?it3.transform(t3):ct3.transform(t3)},"transform"),getAnimatableNone:i2(t3=>{const e7=E3.parse(t3);e7.alpha=0;return E3.transform(e7)},"getAnimatableNone")};var Ao2=/(?:#[da-f]{3,8}|(?:rgb|hsl)a?((?:-?[d.]+%?[,s]+){2}-?[d.]+%?s*(?:[,/]s*)?(?:bd+(?:.d+)?|.d+)?%?))/giu;function Vo2(t3){return isNaN(t3)&&typeof t3==="string"&&(t3.match(vn2)?.length||0)+(t3.match(Ao2)?.length||0)>0}__name(Vo2,"Vo");i2(Vo2,"test");var Ki2="number";var Wi="color";var Co3="var";var Do2="var(";var ms="${}";var Mo3=/vars*(s*--(?:[w-]+s*|[w-]+s*,(?:s*[^)(s]|s*((?:[^)(]|([^)(]*))*))+s*))|#[da-f]{3,8}|(?:rgb|hsl)a?((?:-?[d.]+%?[,s]+){2}-?[d.]+%?s*(?:[,/]s*)?(?:bd+(?:.d+)?|.d+)?%?)|-?(?:d+(?:.d+)?|.d+)/giu;function Rt2(t3){const e7=t3.toString();const n2=[];const s2={color:[],number:[],var:[]};const r3=[];let o6=0;const c5=e7.replace(Mo3,l2=>{if(E3.test(l2)){s2.color.push(o6);r3.push(Wi);n2.push(E3.parse(l2))}else if(l2.startsWith(Do2)){s2.var.push(o6);r3.push(Co3);n2.push(l2)}else{s2.number.push(o6);r3.push(Ki2);n2.push(parseFloat(l2))}++o6;return ms});const a3=c5.split(ms);return{values:n2,split:a3,indexes:s2,types:r3}}__name(Rt2,"Rt");i2(Rt2,"analyseComplexValue");function $i(t3){return Rt2(t3).values}__name($i,"$i");i2($i,"parseComplexValue");function Hi2(t3){const{split:e7,types:n2}=Rt2(t3);const s2=e7.length;return r3=>{let o6="";for(let c5=0;c5typeof t3==="number"?0:E3.test(t3)?E3.getAnimatableNone(t3):t3,"convertNumbersToZero");function Eo3(t3){const e7=$i(t3);const n2=Hi2(t3);return n2(e7.map(Ro3))}__name(Eo3,"Eo");i2(Eo3,"getAnimatableNone$1");var J={test:Vo2,parse:$i,createTransformer:Hi2,getAnimatableNone:Eo3};function oe2(t3,e7,n2){if(n2<0)n2+=1;if(n2>1)n2-=1;if(n2<1/6)return t3+(e7-t3)*6*n2;if(n2<1/2)return e7;if(n2<2/3)return t3+(e7-t3)*(2/3-n2)*6;return t3}__name(oe2,"oe");i2(oe2,"hueToRgb");function Lo2({hue:t3,saturation:e7,lightness:n2,alpha:s2}){t3/=360;e7/=100;n2/=100;let r3=0;let o6=0;let c5=0;if(!e7){r3=o6=c5=n2}else{const a3=n2<.5?n2*(1+e7):n2+e7-n2*e7;const l2=2*n2-a3;r3=oe2(l2,a3,t3+1/3);o6=oe2(l2,a3,t3);c5=oe2(l2,a3,t3-1/3)}return{red:Math.round(r3*255),green:Math.round(o6*255),blue:Math.round(c5*255),alpha:s2}}__name(Lo2,"Lo");i2(Lo2,"hslaToRgba");function Gt(t3,e7){return n2=>n2>0?e7:t3}__name(Gt,"Gt");i2(Gt,"mixImmediate");var D=i2((t3,e7,n2)=>{return t3+(e7-t3)*n2},"mixNumber$1");var ae3=i2((t3,e7,n2)=>{const s2=t3*t3;const r3=n2*(e7*e7-s2)+s2;return r3<0?0:Math.sqrt(r3)},"mixLinearColor");var ko2=[xe,it3,ct3];var Bo2=i2(t3=>ko2.find(e7=>e7.test(t3)),"getColorType");function ps(t3){const e7=Bo2(t3);if(!Boolean(e7))return false;let n2=e7.parse(t3);if(e7===ct3){n2=Lo2(n2)}return n2}__name(ps,"ps");i2(ps,"asRGBA");var gs=i2((t3,e7)=>{const n2=ps(t3);const s2=ps(e7);if(!n2||!s2){return Gt(t3,e7)}const r3={...n2};return o6=>{r3.red=ae3(n2.red,s2.red,o6);r3.green=ae3(n2.green,s2.green,o6);r3.blue=ae3(n2.blue,s2.blue,o6);r3.alpha=D(n2.alpha,s2.alpha,o6);return it3.transform(r3)}},"mixColor");var Pe=new Set(["none","hidden"]);function Fo(t3,e7){if(Pe.has(t3)){return n2=>n2<=0?t3:e7}else{return n2=>n2>=1?e7:t3}}__name(Fo,"Fo");i2(Fo,"mixVisibility");function Io(t3,e7){return n2=>D(t3,e7,n2)}__name(Io,"Io");i2(Io,"mixNumber");function xn2(t3){if(typeof t3==="number"){return Io}else if(typeof t3==="string"){return yn2(t3)?Gt:E3.test(t3)?gs:No2}else if(Array.isArray(t3)){return zi2}else if(typeof t3==="object"){return E3.test(t3)?gs:jo3}return Gt}__name(xn2,"xn");i2(xn2,"getMixer");function zi2(t3,e7){const n2=[...t3];const s2=n2.length;const r3=t3.map((o6,c5)=>xn2(o6)(o6,e7[c5]));return o6=>{for(let c5=0;c5{for(const o6 in s2){n2[o6]=s2[o6](r3)}return n2}}__name(jo3,"jo");i2(jo3,"mixObject");function Oo2(t3,e7){const n2=[];const s2={color:0,var:0,number:0};for(let r3=0;r3{const n2=J.createTransformer(e7);const s2=Rt2(t3);const r3=Rt2(e7);const o6=s2.indexes.var.length===r3.indexes.var.length&&s2.indexes.color.length===r3.indexes.color.length&&s2.indexes.number.length>=r3.indexes.number.length;if(o6){if(Pe.has(t3)&&!r3.values.length||Pe.has(e7)&&!s2.values.length){return Fo(t3,e7)}return jt(zi2(Oo2(s2,r3),r3.values),n2)}else{return Gt(t3,e7)}},"mixComplex");function Xi2(t3,e7,n2){if(typeof t3==="number"&&typeof e7==="number"&&typeof n2==="number"){return D(t3,e7,n2)}const s2=xn2(t3);return s2(t3,e7)}__name(Xi2,"Xi");i2(Xi2,"mix");var Uo2=i2(t3=>{const e7=i2(({timestamp:n2})=>t3(n2),"passTimestamp");return{start:i2((n2=true)=>C.update(e7,n2),"start"),stop:i2(()=>Q2(e7),"stop"),now:i2(()=>B2.isProcessing?B2.timestamp:O2.now(),"now")}},"frameloopDriver");var Yi2=i2((t3,e7,n2=10)=>{let s2="";const r3=Math.max(Math.round(e7/n2),2);for(let o6=0;o6=qt2?Infinity:e7}__name(Pn3,"Pn");i2(Pn3,"calcGeneratorDuration");function Ko2(t3,e7=100,n2){const s2=n2({...t3,keyframes:[0,e7]});const r3=Math.min(Pn3(s2),qt2);return{type:"keyframes",ease:i2(o6=>{return s2.next(r3*o6).value/e7},"ease"),duration:$2(r3)}}__name(Ko2,"Ko");i2(Ko2,"createGeneratorEasing");var Wo=5;function Gi2(t3,e7,n2){const s2=Math.max(e7-Wo,0);return Ci2(n2-t3(s2),e7-s2)}__name(Gi2,"Gi");i2(Gi2,"calcGeneratorVelocity");var M3={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 le3=.001;function $o({duration:t3=M3.duration,bounce:e7=M3.bounce,velocity:n2=M3.velocity,mass:s2=M3.mass}){let r3;let o6;let c5=1-e7;c5=q2(M3.minDamping,M3.maxDamping,c5);t3=q2(M3.minDuration,M3.maxDuration,$2(t3));if(c5<1){r3=i2(h3=>{const u6=h3*c5;const f=u6*t3;const d2=u6-n2;const m4=be2(h3,c5);const p2=Math.exp(-f);return le3-d2/m4*p2},"envelope");o6=i2(h3=>{const u6=h3*c5;const f=u6*t3;const d2=f*n2+n2;const m4=Math.pow(c5,2)*Math.pow(h3,2)*t3;const p2=Math.exp(-f);const v2=be2(Math.pow(h3,2),c5);const T3=-r3(h3)+le3>0?-1:1;return T3*((d2-m4)*p2)/v2},"derivative")}else{r3=i2(h3=>{const u6=Math.exp(-h3*t3);const f=(h3-n2)*t3+1;return-le3+u6*f},"envelope");o6=i2(h3=>{const u6=Math.exp(-h3*t3);const f=(n2-h3)*(t3*t3);return u6*f},"derivative")}const a3=5/t3;const l2=zo2(r3,o6,a3);t3=X3(t3);if(isNaN(l2)){return{stiffness:M3.stiffness,damping:M3.damping,duration:t3}}else{const h3=Math.pow(l2,2)*s2;return{stiffness:h3,damping:c5*2*Math.sqrt(s2*h3),duration:t3}}}__name($o,"$o");i2($o,"findSpring");var Ho2=12;function zo2(t3,e7,n2){let s2=n2;for(let r3=1;r3t3[n2]!==void 0)}__name(ys,"ys");i2(ys,"isSpringType");function Go2(t3){let e7={velocity:M3.velocity,stiffness:M3.stiffness,damping:M3.damping,mass:M3.mass,isResolvedFromDuration:false,...t3};if(!ys(t3,Yo2)&&ys(t3,Xo2)){if(t3.visualDuration){const n2=t3.visualDuration;const s2=2*Math.PI/(n2*1.2);const r3=s2*s2;const o6=2*q2(.05,1,1-(t3.bounce||0))*Math.sqrt(r3);e7={...e7,mass:M3.mass,stiffness:r3,damping:o6}}else{const n2=$o(t3);e7={...e7,...n2,mass:M3.mass};e7.isResolvedFromDuration=true}}return e7}__name(Go2,"Go");i2(Go2,"getSpringOptions");function _t2(t3=M3.visualDuration,e7=M3.bounce){const n2=typeof t3!=="object"?{visualDuration:t3,keyframes:[0,1],bounce:e7}:t3;let{restSpeed:s2,restDelta:r3}=n2;const o6=n2.keyframes[0];const c5=n2.keyframes[n2.keyframes.length-1];const a3={done:false,value:o6};const{stiffness:l2,damping:h3,mass:u6,duration:f,velocity:d2,isResolvedFromDuration:m4}=Go2({...n2,velocity:-$2(n2.velocity||0)});const p2=d2||0;const v2=h3/(2*Math.sqrt(l2*u6));const T3=c5-o6;const g=$2(Math.sqrt(l2/u6));const x2=Math.abs(T3)<5;s2||(s2=x2?M3.restSpeed.granular:M3.restSpeed.default);r3||(r3=x2?M3.restDelta.granular:M3.restDelta.default);let y4;if(v2<1){const b=be2(g,v2);y4=i2(V3=>{const L2=Math.exp(-v2*g*V3);return c5-L2*((p2+v2*g*T3)/b*Math.sin(b*V3)+T3*Math.cos(b*V3))},"resolveSpring")}else if(v2===1){y4=i2(b=>c5-Math.exp(-g*b)*(T3+(p2+g*T3)*b),"resolveSpring")}else{const b=g*Math.sqrt(v2*v2-1);y4=i2(V3=>{const L2=Math.exp(-v2*g*V3);const A=Math.min(b*V3,300);return c5-L2*((p2+v2*g*T3)*Math.sinh(A)+b*T3*Math.cosh(A))/b},"resolveSpring")}const w3={calculatedDuration:m4?f||null:null,next:i2(b=>{const V3=y4(b);if(!m4){let L2=b===0?p2:0;if(v2<1){L2=b===0?X3(p2):Gi2(y4,b,V3)}const A=Math.abs(L2)<=s2;const j4=Math.abs(c5-V3)<=r3;a3.done=A&&j4}else{a3.done=b>=f}a3.value=a3.done?c5:V3;return a3},"next"),toString:i2(()=>{const b=Math.min(Pn3(w3),qt2);const V3=Yi2(L2=>w3.next(b*L2).value,b,30);return b+"ms "+V3},"toString"),toTransition:i2(()=>{},"toTransition")};return w3}__name(_t2,"_t");i2(_t2,"spring");_t2.applyToOptions=t3=>{const e7=Ko2(t3,100,_t2);t3.ease=e7.ease;t3.duration=X3(e7.duration);t3.type="keyframes";return t3};function Se({keyframes:t3,velocity:e7=0,power:n2=.8,timeConstant:s2=325,bounceDamping:r3=10,bounceStiffness:o6=500,modifyTarget:c5,min:a3,max:l2,restDelta:h3=.5,restSpeed:u6}){const f=t3[0];const d2={done:false,value:f};const m4=i2(A=>a3!==void 0&&Al2,"isOutOfBounds");const p2=i2(A=>{if(a3===void 0)return l2;if(l2===void 0)return a3;return Math.abs(a3-A)-v2*Math.exp(-A/s2),"calcDelta");const y4=i2(A=>g+x2(A),"calcLatest");const w3=i2(A=>{const j4=x2(A);const N4=y4(A);d2.done=Math.abs(j4)<=h3;d2.value=d2.done?g:N4},"applyFriction");let b;let V3;const L2=i2(A=>{if(!m4(d2.value))return;b=A;V3=_t2({keyframes:[d2.value,p2(d2.value)],velocity:Gi2(y4,A,d2.value),damping:r3,stiffness:o6,restDelta:h3,restSpeed:u6})},"checkCatchBoundary");L2(0);return{calculatedDuration:null,next:i2(A=>{let j4=false;if(!V3&&b===void 0){j4=true;w3(A);L2(A)}if(b!==void 0&&A>=b){return V3.next(A-b)}else{!j4&&w3(A);return d2}},"next")}}__name(Se,"Se");i2(Se,"inertia");function qo2(t3,e7,n2){const s2=[];const r3=n2||_.mix||Xi2;const o6=t3.length-1;for(let c5=0;c5e7[0];if(o6===2&&e7[0]===e7[1])return()=>e7[1];const c5=t3[0]===t3[1];if(t3[0]>t3[o6-1]){t3=[...t3].reverse();e7=[...e7].reverse()}const a3=qo2(e7,s2,r3);const l2=a3.length;const h3=i2(u6=>{if(c5&&u61){for(;fh3(q2(t3[0],t3[o6-1],u6)):h3}__name(_o2,"_o");i2(_o2,"interpolate");function Zo2(t3,e7){const n2=t3[t3.length-1];for(let s2=1;s2<=e7;s2++){const r3=Ct2(0,e7,s2);t3.push(D(n2,1,r3))}}__name(Zo2,"Zo");i2(Zo2,"fillOffset");function Qo2(t3){const e7=[0];Zo2(e7,t3.length-1);return e7}__name(Qo2,"Qo");i2(Qo2,"defaultOffset");function Jo2(t3,e7){return t3.map(n2=>n2*e7)}__name(Jo2,"Jo");i2(Jo2,"convertOffsetToTimes");function ta2(t3,e7){return t3.map(()=>e7||Ii).splice(0,t3.length-1)}__name(ta2,"ta");i2(ta2,"defaultEasing");function St({duration:t3=300,keyframes:e7,times:n2,ease:s2="easeInOut"}){const r3=uo2(s2)?s2.map(fs):fs(s2);const o6={done:false,value:e7[0]};const c5=Jo2(n2&&n2.length===e7.length?n2:Qo2(e7),t3);const a3=_o2(c5,e7,{ease:Array.isArray(r3)?r3:ta2(e7,r3)});return{calculatedDuration:t3,next:i2(l2=>{o6.value=a3(l2);o6.done=l2>=t3;return o6},"next")}}__name(St,"St");i2(St,"keyframes");var ea2=i2(t3=>t3!==null,"isNotNull$1");function bn2(t3,{repeat:e7,repeatType:n2="loop"},s2,r3=1){const o6=t3.filter(ea2);const c5=r3<0||e7&&n2!=="loop"&&e7%2===1;const a3=c5?0:o6.length-1;return!a3||s2===void 0?o6[a3]:s2}__name(bn2,"bn");i2(bn2,"getFinalKeyframe$1");var na2={decay:Se,inertia:Se,tween:St,keyframes:St,spring:_t2};function qi2(t3){if(typeof t3.type==="string"){t3.type=na2[t3.type]}}__name(qi2,"qi");i2(qi2,"replaceTransitionType");var jn2=class jn3{static{__name(this,"jn")}constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e7=>{this.resolve=e7})}notifyFinished(){this.resolve()}then(e7,n2){return this.finished.then(e7,n2)}};i2(jn2,"WithPromise");var Et2=jn2;var sa=i2(t3=>t3/100,"percentToProgress");var On2=class On3 extends Et2{static{__name(this,"On")}constructor(e7){super();this.state="idle";this.startTime=null;this.isStopped=false;this.currentTime=0;this.holdTime=null;this.playbackSpeed=1;this.stop=()=>{const{motionValue:n2}=this.options;if(n2&&n2.updatedAt!==O2.now()){this.tick(O2.now())}this.isStopped=true;if(this.state==="idle")return;this.teardown();this.options.onStop?.()};this.options=e7;this.initAnimation();this.play();if(e7.autoplay===false)this.pause()}initAnimation(){const{options:e7}=this;qi2(e7);const{type:n2=St,repeat:s2=0,repeatDelay:r3=0,repeatType:o6,velocity:c5=0}=e7;let{keyframes:a3}=e7;const l2=n2||St;if(l2!==St&&typeof a3[0]!=="number"){this.mixKeyframes=jt(sa,Xi2(a3[0],a3[1]));a3=[0,100]}const h3=l2({...e7,keyframes:a3});if(o6==="mirror"){this.mirroredGenerator=l2({...e7,keyframes:[...a3].reverse(),velocity:-c5})}if(h3.calculatedDuration===null){h3.calculatedDuration=Pn3(h3)}const{calculatedDuration:u6}=h3;this.calculatedDuration=u6;this.resolvedDuration=u6+r3;this.totalDuration=this.resolvedDuration*(s2+1)-r3;this.generator=h3}updateTime(e7){const n2=Math.round(e7-this.startTime)*this.playbackSpeed;if(this.holdTime!==null){this.currentTime=this.holdTime}else{this.currentTime=n2}}tick(e7,n2=false){const{generator:s2,totalDuration:r3,mixKeyframes:o6,mirroredGenerator:c5,resolvedDuration:a3,calculatedDuration:l2}=this;if(this.startTime===null)return s2.next(0);const{delay:h3=0,keyframes:u6,repeat:f,repeatType:d2,repeatDelay:m4,type:p2,onUpdate:v2,finalKeyframe:T3}=this.options;if(this.speed>0){this.startTime=Math.min(this.startTime,e7)}else if(this.speed<0){this.startTime=Math.min(e7-r3/this.speed,this.startTime)}if(n2){this.currentTime=e7}else{this.updateTime(e7)}const g=this.currentTime-h3*(this.playbackSpeed>=0?1:-1);const x2=this.playbackSpeed>=0?g<0:g>r3;this.currentTime=Math.max(g,0);if(this.state==="finished"&&this.holdTime===null){this.currentTime=r3}let y4=this.currentTime;let w3=s2;if(f){const A=Math.min(this.currentTime,r3)/a3;let j4=Math.floor(A);let N4=A%1;if(!N4&&A>=1){N4=1}N4===1&&j4--;j4=Math.min(j4,f+1);const tt6=Boolean(j4%2);if(tt6){if(d2==="reverse"){N4=1-N4;if(m4){N4-=m4/a3}}else if(d2==="mirror"){w3=c5}}y4=q2(0,1,N4)*a3}const b=x2?{done:false,value:u6[0]}:w3.next(y4);if(o6){b.value=o6(b.value)}let{done:V3}=b;if(!x2&&l2!==null){V3=this.playbackSpeed>=0?this.currentTime>=r3:this.currentTime<=0}const L2=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&V3);if(L2&&p2!==Se){b.value=bn2(u6,this.options,T3,this.speed)}if(v2){v2(b.value)}if(L2){this.finish()}return b}then(e7,n2){return this.finished.then(e7,n2)}get duration(){return $2(this.calculatedDuration)}get iterationDuration(){const{delay:e7=0}=this.options||{};return this.duration+$2(e7)}get time(){return $2(this.currentTime)}set time(e7){e7=X3(e7);this.currentTime=e7;if(this.startTime===null||this.holdTime!==null||this.playbackSpeed===0){this.holdTime=e7}else if(this.driver){this.startTime=this.driver.now()-e7/this.playbackSpeed}this.driver?.start(false)}get speed(){return this.playbackSpeed}set speed(e7){this.updateTime(O2.now());const n2=this.playbackSpeed!==e7;this.playbackSpeed=e7;if(n2){this.time=$2(this.currentTime)}}play(){if(this.isStopped)return;const{driver:e7=Uo2,startTime:n2}=this.options;if(!this.driver){this.driver=e7(r3=>this.tick(r3))}this.options.onPlay?.();const s2=this.driver.now();if(this.state==="finished"){this.updateFinished();this.startTime=s2}else if(this.holdTime!==null){this.startTime=s2-this.holdTime}else if(!this.startTime){this.startTime=n2??s2}if(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(O2.now());this.holdTime=this.currentTime}complete(){if(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}stopDriver(){if(!this.driver)return;this.driver.stop();this.driver=void 0}sample(e7){this.startTime=0;return this.tick(e7,true)}attachTimeline(e7){if(this.options.allowFlatten){this.options.type="keyframes";this.options.ease="linear";this.initAnimation()}this.driver?.stop();return e7.observe(this)}};i2(On2,"JSAnimation");var Lt=On2;function ia2(t3){for(let e7=1;e7t3*180/Math.PI,"radToDeg");var we2=i2(t3=>{const e7=rt3(Math.atan2(t3[1],t3[0]));return Ae2(e7)},"rotate");var ra2={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i2(t3=>(Math.abs(t3[0])+Math.abs(t3[3]))/2,"scale"),rotate:we2,rotateZ:we2,skewX:i2(t3=>rt3(Math.atan(t3[1])),"skewX"),skewY:i2(t3=>rt3(Math.atan(t3[2])),"skewY"),skew:i2(t3=>(Math.abs(t3[1])+Math.abs(t3[2]))/2,"skew")};var Ae2=i2(t3=>{t3=t3%360;if(t3<0)t3+=360;return t3},"rebaseAngle");var vs=we2;var Ts=i2(t3=>Math.sqrt(t3[0]*t3[0]+t3[1]*t3[1]),"scaleX");var xs=i2(t3=>Math.sqrt(t3[4]*t3[4]+t3[5]*t3[5]),"scaleY");var oa2={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ts,scaleY:xs,scale:i2(t3=>(Ts(t3)+xs(t3))/2,"scale"),rotateX:i2(t3=>Ae2(rt3(Math.atan2(t3[6],t3[5]))),"rotateX"),rotateY:i2(t3=>Ae2(rt3(Math.atan2(-t3[2],t3[0]))),"rotateY"),rotateZ:vs,rotate:vs,skewX:i2(t3=>rt3(Math.atan(t3[4])),"skewX"),skewY:i2(t3=>rt3(Math.atan(t3[1])),"skewY"),skew:i2(t3=>(Math.abs(t3[1])+Math.abs(t3[4]))/2,"skew")};function Ve3(t3){return t3.includes("scale")?1:0}__name(Ve3,"Ve");i2(Ve3,"defaultTransformValue");function Ce2(t3,e7){if(!t3||t3==="none"){return Ve3(e7)}const n2=t3.match(/^matrix3d(([-d.es,]+))$/u);let s2;let r3;if(n2){s2=oa2;r3=n2}else{const a3=t3.match(/^matrix(([-d.es,]+))$/u);s2=ra2;r3=a3}if(!r3){return Ve3(e7)}const o6=s2[e7];const c5=r3[1].split(",").map(la2);return typeof o6==="function"?o6(c5):c5[o6]}__name(Ce2,"Ce");i2(Ce2,"parseValueFromTransform");var aa2=i2((t3,e7)=>{const{transform:n2="none"}=getComputedStyle(t3);return Ce2(n2,e7)},"readTransformValue");function la2(t3){return parseFloat(t3.trim())}__name(la2,"la");i2(la2,"convertTransformToNumber");var vt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];var Tt2=(()=>new Set(vt))();var Ps=i2(t3=>t3===yt2||t3===P,"isNumOrPxType");var ca2=new Set(["x","y","z"]);var ua2=vt.filter(t3=>!ca2.has(t3));function ha(t3){const e7=[];ua2.forEach(n2=>{const s2=t3.getValue(n2);if(s2!==void 0){e7.push([n2,s2.get()]);s2.set(n2.startsWith("scale")?1:0)}});return e7}__name(ha,"ha");i2(ha,"removeNonTranslationalTransform");var ot4={width:i2(({x:t3},{paddingLeft:e7="0",paddingRight:n2="0"})=>t3.max-t3.min-parseFloat(e7)-parseFloat(n2),"width"),height:i2(({y:t3},{paddingTop:e7="0",paddingBottom:n2="0"})=>t3.max-t3.min-parseFloat(e7)-parseFloat(n2),"height"),top:i2((t3,{top:e7})=>parseFloat(e7),"top"),left:i2((t3,{left:e7})=>parseFloat(e7),"left"),bottom:i2(({y:t3},{top:e7})=>parseFloat(e7)+(t3.max-t3.min),"bottom"),right:i2(({x:t3},{left:e7})=>parseFloat(e7)+(t3.max-t3.min),"right"),x:i2((t3,{transform:e7})=>Ce2(e7,"x"),"x"),y:i2((t3,{transform:e7})=>Ce2(e7,"y"),"y")};ot4.translateX=ot4.x;ot4.translateY=ot4.y;var at3=new Set;var De2=false;var Me3=false;var Re=false;function _i2(){if(Me3){const t3=Array.from(at3).filter(s2=>s2.needsMeasurement);const e7=new Set(t3.map(s2=>s2.element));const n2=new Map;e7.forEach(s2=>{const r3=ha(s2);if(!r3.length)return;n2.set(s2,r3);s2.render()});t3.forEach(s2=>s2.measureInitialState());e7.forEach(s2=>{s2.render();const r3=n2.get(s2);if(r3){r3.forEach(([o6,c5])=>{s2.getValue(o6)?.set(c5)})}});t3.forEach(s2=>s2.measureEndState());t3.forEach(s2=>{if(s2.suspendedScrollY!==void 0){window.scrollTo(0,s2.suspendedScrollY)}})}Me3=false;De2=false;at3.forEach(t3=>t3.complete(Re));at3.clear()}__name(_i2,"_i");i2(_i2,"measureAllKeyframes");function Zi2(){at3.forEach(t3=>{t3.readKeyframes();if(t3.needsMeasurement){Me3=true}})}__name(Zi2,"Zi");i2(Zi2,"readAllKeyframes");function fa(){Re=true;Zi2();_i2();Re=false}__name(fa,"fa");i2(fa,"flushKeyframeResolvers");var Nn2=class Nn3{static{__name(this,"Nn")}constructor(e7,n2,s2,r3,o6,c5=false){this.state="pending";this.isAsync=false;this.needsMeasurement=false;this.unresolvedKeyframes=[...e7];this.onComplete=n2;this.name=s2;this.motionValue=r3;this.element=o6;this.isAsync=c5}scheduleResolve(){this.state="scheduled";if(this.isAsync){at3.add(this);if(!De2){De2=true;C.read(Zi2);C.resolveKeyframes(_i2)}}else{this.readKeyframes();this.complete()}}readKeyframes(){const{unresolvedKeyframes:e7,name:n2,element:s2,motionValue:r3}=this;if(e7[0]===null){const o6=r3?.get();const c5=e7[e7.length-1];if(o6!==void 0){e7[0]=o6}else if(s2&&n2){const a3=s2.readValue(n2,c5);if(a3!==void 0&&a3!==null){e7[0]=a3}}if(e7[0]===void 0){e7[0]=c5}if(r3&&o6===void 0){r3.set(e7[0])}}ia2(e7)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e7=false){this.state="complete";this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e7);at3.delete(this)}cancel(){if(this.state==="scheduled"){at3.delete(this);this.state="pending"}}resume(){if(this.state==="pending")this.scheduleResolve()}};i2(Nn2,"KeyframeResolver");var kt=Nn2;var da=i2(t3=>t3.startsWith("--"),"isCSSVar");function ma(t3,e7,n2){da(e7)?t3.style.setProperty(e7,n2):t3.style[e7]=n2}__name(ma,"ma");i2(ma,"setStyle");var pa=dn2(()=>window.ScrollTimeline!==void 0);var ga={};function ya(t3,e7){const n2=dn2(t3);return()=>ga[e7]??n2()}__name(ya,"ya");i2(ya,"memoSupports");var Qi2=ya(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t3){return false}return true},"linearEasing");var Pt=i2(([t3,e7,n2,s2])=>`cubic-bezier(${t3}, ${e7}, ${n2}, ${s2})`,"cubicBezierAsString");var bs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Pt([0,.65,.55,1]),circOut:Pt([.55,0,1,.45]),backIn:Pt([.31,.01,.66,-.59]),backOut:Pt([.33,1.53,.69,.99])};function Ji2(t3,e7){if(!t3){return void 0}else if(typeof t3==="function"){return Qi2()?Yi2(t3,e7):"ease-out"}else if(ji2(t3)){return Pt(t3)}else if(Array.isArray(t3)){return t3.map(n2=>Ji2(n2,e7)||bs.easeOut)}else{return bs[t3]}}__name(Ji2,"Ji");i2(Ji2,"mapEasingToNativeEasing");function va(t3,e7,n2,{delay:s2=0,duration:r3=300,repeat:o6=0,repeatType:c5="loop",ease:a3="easeOut",times:l2}={},h3=void 0){const u6={[e7]:n2};if(l2)u6.offset=l2;const f=Ji2(a3,r3);if(Array.isArray(f))u6.easing=f;const d2={delay:s2,duration:r3,easing:!Array.isArray(f)?f:"linear",fill:"both",iterations:o6+1,direction:c5==="reverse"?"alternate":"normal"};if(h3)d2.pseudoElement=h3;const m4=t3.animate(u6,d2);return m4}__name(va,"va");i2(va,"startWaapiAnimation");function tr(t3){return typeof t3==="function"&&"applyToOptions"in t3}__name(tr,"tr");i2(tr,"isGenerator");function Ta({type:t3,...e7}){if(tr(t3)&&Qi2()){return t3.applyToOptions(e7)}else{e7.duration??(e7.duration=300);e7.ease??(e7.ease="easeOut")}return e7}__name(Ta,"Ta");i2(Ta,"applyGeneratorOptions");var Un2=class Un3 extends Et2{static{__name(this,"Un")}constructor(e7){super();this.finishedTime=null;this.isStopped=false;if(!e7)return;const{element:n2,name:s2,keyframes:r3,pseudoElement:o6,allowFlatten:c5=false,finalKeyframe:a3,onComplete:l2}=e7;this.isPseudoElement=Boolean(o6);this.allowFlatten=c5;this.options=e7;fn3(typeof e7.type!=="string");const h3=Ta(e7);this.animation=va(n2,s2,r3,h3,o6);if(h3.autoplay===false){this.animation.pause()}this.animation.onfinish=()=>{this.finishedTime=this.time;if(!o6){const u6=bn2(r3,this.options,a3,this.speed);if(this.updateMotionValue){this.updateMotionValue(u6)}else{ma(n2,s2,u6)}this.animation.cancel()}l2?.();this.notifyFinished()}}play(){if(this.isStopped)return;this.animation.play();if(this.state==="finished"){this.updateFinished()}}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e7){}}stop(){if(this.isStopped)return;this.isStopped=true;const{state:e7}=this;if(e7==="idle"||e7==="finished"){return}if(this.updateMotionValue){this.updateMotionValue()}else{this.commitStyles()}if(!this.isPseudoElement)this.cancel()}commitStyles(){if(!this.isPseudoElement){this.animation.commitStyles?.()}}get duration(){const e7=this.animation.effect?.getComputedTiming?.().duration||0;return $2(Number(e7))}get iterationDuration(){const{delay:e7=0}=this.options||{};return this.duration+$2(e7)}get time(){return $2(Number(this.animation.currentTime)||0)}set time(e7){this.finishedTime=null;this.animation.currentTime=X3(e7)}get speed(){return this.animation.playbackRate}set speed(e7){if(e7<0)this.finishedTime=null;this.animation.playbackRate=e7}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e7){this.animation.startTime=e7}attachTimeline({timeline:e7,observe:n2}){if(this.allowFlatten){this.animation.effect?.updateTiming({easing:"linear"})}this.animation.onfinish=null;if(e7&&pa()){this.animation.timeline=e7;return H}else{return n2(this)}}};i2(Un2,"NativeAnimation");var Ee=Un2;var er={anticipate:ki2,backInOut:Li2,circInOut:Fi};function xa(t3){return t3 in er}__name(xa,"xa");i2(xa,"isUnsupportedEase");function Pa(t3){if(typeof t3.ease==="string"&&xa(t3.ease)){t3.ease=er[t3.ease]}}__name(Pa,"Pa");i2(Pa,"replaceStringEasing");var Ss=10;var Kn2=class Kn3 extends Ee{static{__name(this,"Kn")}constructor(e7){Pa(e7);qi2(e7);super(e7);if(e7.startTime){this.startTime=e7.startTime}this.options=e7}updateMotionValue(e7){const{motionValue:n2,onUpdate:s2,onComplete:r3,element:o6,...c5}=this.options;if(!n2)return;if(e7!==void 0){n2.set(e7);return}const a3=new Lt({...c5,autoplay:false});const l2=X3(this.finishedTime??this.time);n2.setWithVelocity(a3.sample(l2-Ss).value,a3.sample(l2).value,Ss);a3.stop()}};i2(Kn2,"NativeAnimationExtended");var Le3=Kn2;var ws=i2((t3,e7)=>{if(e7==="zIndex")return false;if(typeof t3==="number"||Array.isArray(t3))return true;if(typeof t3==="string"&&(J.test(t3)||t3==="0")&&!t3.startsWith("url(")){return true}return false},"isAnimatable");function ba(t3){const e7=t3[0];if(t3.length===1)return true;for(let n2=0;n2Object.hasOwnProperty.call(Element.prototype,"animate"));function Va(t3){const{motionValue:e7,name:n2,repeatDelay:s2,repeatType:r3,damping:o6,type:c5}=t3;const a3=e7?.owner?.current;if(!(a3 instanceof HTMLElement)){return false}const{onUpdate:l2,transformTemplate:h3}=e7.owner.getProps();return Aa()&&n2&&wa.has(n2)&&(n2!=="transform"||!h3)&&!l2&&!s2&&r3!=="mirror"&&o6!==0&&c5!=="inertia"}__name(Va,"Va");i2(Va,"supportsBrowserAnimation");var Ca=40;var Wn2=class Wn3 extends Et2{static{__name(this,"Wn")}constructor({autoplay:e7=true,delay:n2=0,type:s2="keyframes",repeat:r3=0,repeatDelay:o6=0,repeatType:c5="loop",keyframes:a3,name:l2,motionValue:h3,element:u6,...f}){super();this.stop=()=>{if(this._animation){this._animation.stop();this.stopTimeline?.()}this.keyframeResolver?.cancel()};this.createdAt=O2.now();const d2={autoplay:e7,delay:n2,type:s2,repeat:r3,repeatDelay:o6,repeatType:c5,name:l2,motionValue:h3,element:u6,...f};const m4=u6?.KeyframeResolver||kt;this.keyframeResolver=new m4(a3,(p2,v2,T3)=>this.onKeyframesResolved(p2,v2,d2,!T3),l2,h3,u6);this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e7,n2,s2,r3){this.keyframeResolver=void 0;const{name:o6,type:c5,velocity:a3,delay:l2,isHandoff:h3,onUpdate:u6}=s2;this.resolvedAt=O2.now();if(!Sa(e7,o6,c5,a3)){if(_.instantAnimations||!l2){u6?.(bn2(e7,s2,n2))}e7[0]=e7[e7.length-1];ke4(s2);s2.repeat=0}const f=r3?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>Ca?this.resolvedAt:this.createdAt:void 0;const d2={startTime:f,finalKeyframe:n2,...s2,keyframes:e7};const m4=!h3&&Va(d2)?new Le3({...d2,element:d2.motionValue.owner.current}):new Lt(d2);m4.finished.then(()=>this.notifyFinished()).catch(H);if(this.pendingTimeline){this.stopTimeline=m4.attachTimeline(this.pendingTimeline);this.pendingTimeline=void 0}this._animation=m4}get finished(){if(!this._animation){return this._finished}else{return this.animation.finished}}then(e7,n2){return this.finished.finally(e7).then(()=>{})}get animation(){if(!this._animation){this.keyframeResolver?.resume();fa()}return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e7){this.animation.time=e7}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e7){this.animation.speed=e7}get startTime(){return this.animation.startTime}attachTimeline(e7){if(this._animation){this.stopTimeline=this.animation.attachTimeline(e7)}else{this.pendingTimeline=e7}return()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){if(this._animation){this.animation.cancel()}this.keyframeResolver?.cancel()}};i2(Wn2,"AsyncMotionValueAnimation");var Be3=Wn2;var Da=/^var(--(?:([w-]+)|([w-]+), ?([a-zA-Zd ()%#.,-]+)))/u;function Ma(t3){const e7=Da.exec(t3);if(!e7)return[,];const[,n2,s2,r3]=e7;return[`--${n2??s2}`,r3]}__name(Ma,"Ma");i2(Ma,"parseCSSVariable");function nr(t3,e7,n2=1){const[s2,r3]=Ma(t3);if(!s2)return;const o6=window.getComputedStyle(e7).getPropertyValue(s2);if(o6){const c5=o6.trim();return wi(c5)?parseFloat(c5):c5}return yn2(r3)?nr(r3,e7,n2+1):r3}__name(nr,"nr");i2(nr,"getVariableValue");function Sn2(t3,e7){return t3?.[e7]??t3?.["default"]??t3}__name(Sn2,"Sn");i2(Sn2,"getValueTransition");var sr=new Set(["width","height","top","left","right","bottom",...vt]);var Ra={test:i2(t3=>t3==="auto","test"),parse:i2(t3=>t3,"parse")};var ir=i2(t3=>e7=>e7.test(t3),"testValueType");var rr=[yt2,P,Y2,Z2,wo3,So3,Ra];var As=i2(t3=>rr.find(ir(t3)),"findDimensionValueType");function Ea(t3){if(typeof t3==="number"){return t3===0}else if(t3!==null){return t3==="none"||t3==="0"||Vi2(t3)}else{return true}}__name(Ea,"Ea");i2(Ea,"isNone");var La=new Set(["brightness","contrast","saturate","opacity"]);function ka(t3){const[e7,n2]=t3.slice(0,-1).split("(");if(e7==="drop-shadow")return t3;const[s2]=n2.match(vn2)||[];if(!s2)return t3;const r3=n2.replace(s2,"");let o6=La.has(e7)?1:0;if(s2!==n2)o6*=100;return e7+"("+o6+r3+")"}__name(ka,"ka");i2(ka,"applyDefaultFilter");var Ba=/b([a-z-]*)(.*?)/gu;var Fe={...J,getAnimatableNone:i2(t3=>{const e7=t3.match(Ba);return e7?e7.map(ka).join(" "):t3},"getAnimatableNone")};var Vs={...yt2,transform:Math.round};var Fa={rotate:Z2,rotateX:Z2,rotateY:Z2,rotateZ:Z2,scale:Wt2,scaleX:Wt2,scaleY:Wt2,scaleZ:Wt2,skew:Z2,skewX:Z2,skewY:Z2,distance:P,translateX:P,translateY:P,translateZ:P,x:P,y:P,z:P,perspective:P,transformPerspective:P,opacity:Mt,originX:ds,originY:ds,originZ:P};var wn2={borderWidth:P,borderTopWidth:P,borderRightWidth:P,borderBottomWidth:P,borderLeftWidth:P,borderRadius:P,radius:P,borderTopLeftRadius:P,borderTopRightRadius:P,borderBottomRightRadius:P,borderBottomLeftRadius:P,width:P,maxWidth:P,height:P,maxHeight:P,top:P,right:P,bottom:P,left:P,padding:P,paddingTop:P,paddingRight:P,paddingBottom:P,paddingLeft:P,margin:P,marginTop:P,marginRight:P,marginBottom:P,marginLeft:P,backgroundPositionX:P,backgroundPositionY:P,...Fa,zIndex:Vs,fillOpacity:Mt,strokeOpacity:Mt,numOctaves:Vs};var Ia={...wn2,color:E3,backgroundColor:E3,outlineColor:E3,fill:E3,stroke:E3,borderColor:E3,borderTopColor:E3,borderRightColor:E3,borderBottomColor:E3,borderLeftColor:E3,filter:Fe,WebkitFilter:Fe};var or=i2(t3=>Ia[t3],"getDefaultValueType");function ar(t3,e7){let n2=or(t3);if(n2!==Fe)n2=J;return n2.getAnimatableNone?n2.getAnimatableNone(e7):void 0}__name(ar,"ar");i2(ar,"getAnimatableNone");var ja=new Set(["auto","none","0"]);function Oa(t3,e7,n2){let s2=0;let r3=void 0;while(s2{e7.getValue(a3).set(l2)})}this.resolveNoneKeyframes()}};i2($n2,"DOMKeyframesResolver");var Ie2=$n2;function Na(t3,e7,n2){if(t3 instanceof EventTarget){return[t3]}else if(typeof t3==="string"){let s2=document;const r3=n2?.[t3]??s2.querySelectorAll(t3);return r3?Array.from(r3):[]}return Array.from(t3)}__name(Na,"Na");i2(Na,"resolveElements");var lr=i2((t3,e7)=>{return e7&&typeof t3==="number"?e7.transform(t3):t3},"getValueAsType");function Ua(t3){return Ai(t3)&&"offsetHeight"in t3}__name(Ua,"Ua");i2(Ua,"isHTMLElement");var Cs=30;var Ka=i2(t3=>{return!isNaN(parseFloat(t3))},"isFloat");var Hn2=class Hn3{static{__name(this,"Hn")}constructor(e7,n2={}){this.canTrackVelocity=null;this.events={};this.updateAndNotify=s2=>{const r3=O2.now();if(this.updatedAt!==r3){this.setPrevFrameValue()}this.prev=this.current;this.setCurrent(s2);if(this.current!==this.prev){this.events.change?.notify(this.current);if(this.dependents){for(const o6 of this.dependents){o6.dirty()}}}};this.hasAnimated=false;this.setCurrent(e7);this.owner=n2.owner}setCurrent(e7){this.current=e7;this.updatedAt=O2.now();if(this.canTrackVelocity===null&&e7!==void 0){this.canTrackVelocity=Ka(this.current)}}setPrevFrameValue(e7=this.current){this.prevFrameValue=e7;this.prevUpdatedAt=this.updatedAt}onChange(e7){return this.on("change",e7)}on(e7,n2){if(!this.events[e7]){this.events[e7]=new Dt2}const s2=this.events[e7].add(n2);if(e7==="change"){return()=>{s2();C.read(()=>{if(!this.events.change.getSize()){this.stop()}})}}return s2}clearListeners(){for(const e7 in this.events){this.events[e7].clear()}}attach(e7,n2){this.passiveEffect=e7;this.stopPassiveEffect=n2}set(e7){if(!this.passiveEffect){this.updateAndNotify(e7)}else{this.passiveEffect(e7,this.updateAndNotify)}}setWithVelocity(e7,n2,s2){this.set(n2);this.prev=void 0;this.prevFrameValue=e7;this.prevUpdatedAt=this.updatedAt-s2}jump(e7,n2=true){this.updateAndNotify(e7);this.prev=e7;this.prevUpdatedAt=this.prevFrameValue=void 0;n2&&this.stop();if(this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e7){if(!this.dependents){this.dependents=new Set}this.dependents.add(e7)}removeDependent(e7){if(this.dependents){this.dependents.delete(e7)}}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e7=O2.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e7-this.updatedAt>Cs){return 0}const n2=Math.min(this.updatedAt-this.prevUpdatedAt,Cs);return Ci2(parseFloat(this.current)-parseFloat(this.prevFrameValue),n2)}start(e7){this.stop();return new Promise(n2=>{this.hasAnimated=true;this.animation=e7(n2);if(this.events.animationStart){this.events.animationStart.notify()}}).then(()=>{if(this.events.animationComplete){this.events.animationComplete.notify()}this.clearAnimation()})}stop(){if(this.animation){this.animation.stop();if(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();if(this.stopPassiveEffect){this.stopPassiveEffect()}}};i2(Hn2,"MotionValue");var je3=Hn2;function pt2(t3,e7){return new je3(t3,e7)}__name(pt2,"pt");i2(pt2,"motionValue");var{schedule:An2}=Oi(queueMicrotask,false);var z3={x:false,y:false};function cr(){return z3.x||z3.y}__name(cr,"cr");i2(cr,"isDragActive");function Wa(t3){if(t3==="x"||t3==="y"){if(z3[t3]){return null}else{z3[t3]=true;return()=>{z3[t3]=false}}}else{if(z3.x||z3.y){return null}else{z3.x=z3.y=true;return()=>{z3.x=z3.y=false}}}}__name(Wa,"Wa");i2(Wa,"setDragLock");function ur(t3,e7){const n2=Na(t3);const s2=new AbortController;const r3={passive:true,...e7,signal:s2.signal};const o6=i2(()=>s2.abort(),"cancel");return[n2,r3,o6]}__name(ur,"ur");i2(ur,"setupGesture");function Ds(t3){return!(t3.pointerType==="touch"||cr())}__name(Ds,"Ds");i2(Ds,"isValidHover");function $a(t3,e7,n2={}){const[s2,r3,o6]=ur(t3,n2);const c5=i2(a3=>{if(!Ds(a3))return;const{target:l2}=a3;const h3=e7(l2,a3);if(typeof h3!=="function"||!l2)return;const u6=i2(f=>{if(!Ds(f))return;h3(f);l2.removeEventListener("pointerleave",u6)},"onPointerLeave");l2.addEventListener("pointerleave",u6,r3)},"onPointerEnter");s2.forEach(a3=>{a3.addEventListener("pointerenter",c5,r3)});return o6}__name($a,"$a");i2($a,"hover");var hr=i2((t3,e7)=>{if(!e7){return false}else if(t3===e7){return true}else{return hr(t3,e7.parentElement)}},"isNodeOrChild");var Vn2=i2(t3=>{if(t3.pointerType==="mouse"){return typeof t3.button!=="number"||t3.button<=0}else{return t3.isPrimary!==false}},"isPrimaryPointer");var Ha=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function za(t3){return Ha.has(t3.tagName)||t3.tabIndex!==-1}__name(za,"za");i2(za,"isElementKeyboardAccessible");var zt2=new WeakSet;function Ms(t3){return e7=>{if(e7.key!=="Enter")return;t3(e7)}}__name(Ms,"Ms");i2(Ms,"filterEvents");function ce3(t3,e7){t3.dispatchEvent(new PointerEvent("pointer"+e7,{isPrimary:true,bubbles:true}))}__name(ce3,"ce");i2(ce3,"firePointerEvent");var Xa=i2((t3,e7)=>{const n2=t3.currentTarget;if(!n2)return;const s2=Ms(()=>{if(zt2.has(n2))return;ce3(n2,"down");const r3=Ms(()=>{ce3(n2,"up")});const o6=i2(()=>ce3(n2,"cancel"),"handleBlur");n2.addEventListener("keyup",r3,e7);n2.addEventListener("blur",o6,e7)});n2.addEventListener("keydown",s2,e7);n2.addEventListener("blur",()=>n2.removeEventListener("keydown",s2),e7)},"enableKeyboardPress");function Rs(t3){return Vn2(t3)&&!cr()}__name(Rs,"Rs");i2(Rs,"isValidPressEvent");function Ya(t3,e7,n2={}){const[s2,r3,o6]=ur(t3,n2);const c5=i2(a3=>{const l2=a3.currentTarget;if(!Rs(a3))return;zt2.add(l2);const h3=e7(l2,a3);const u6=i2((m4,p2)=>{window.removeEventListener("pointerup",f);window.removeEventListener("pointercancel",d2);if(zt2.has(l2)){zt2.delete(l2)}if(!Rs(m4)){return}if(typeof h3==="function"){h3(m4,{success:p2})}},"onPointerEnd");const f=i2(m4=>{u6(m4,l2===window||l2===document||n2.useGlobalTarget||hr(l2,m4.target))},"onPointerUp");const d2=i2(m4=>{u6(m4,false)},"onPointerCancel");window.addEventListener("pointerup",f,r3);window.addEventListener("pointercancel",d2,r3)},"startPress");s2.forEach(a3=>{const l2=n2.useGlobalTarget?window:a3;l2.addEventListener("pointerdown",c5,r3);if(Ua(a3)){a3.addEventListener("focus",h3=>Xa(h3,r3));if(!za(a3)&&!a3.hasAttribute("tabindex")){a3.tabIndex=0}}});return o6}__name(Ya,"Ya");i2(Ya,"press");function fr(t3){return Ai(t3)&&"ownerSVGElement"in t3}__name(fr,"fr");i2(fr,"isSVGElement");function Ga(t3){return fr(t3)&&t3.tagName==="svg"}__name(Ga,"Ga");i2(Ga,"isSVGSVGElement");var F2=i2(t3=>Boolean(t3&&t3.getVelocity),"isMotionValue");var qa=[...rr,E3,J];var _a=i2(t3=>qa.find(ir(t3)),"findValueType");var dr=z.createContext({transformPagePoint:i2(t3=>t3,"transformPagePoint"),isStatic:false,reducedMotion:"never"});function Za(t3=true){const e7=z.useContext(cn2);if(e7===null)return[true,null];const{isPresent:n2,onExitComplete:s2,register:r3}=e7;const o6=z.useId();z.useEffect(()=>{if(t3){return r3(o6)}},[t3]);const c5=z.useCallback(()=>t3&&s2&&s2(o6),[o6,s2,t3]);return!n2&&s2?[false,c5]:[true]}__name(Za,"Za");i2(Za,"usePresence");var mr=z.createContext({strict:false});var Es={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};var gt2={};for(const t3 in Es){gt2[t3]={isEnabled:i2(e7=>Es[t3].some(n2=>!!e7[n2]),"isEnabled")}}function Qa(t3){for(const e7 in t3){gt2[e7]={...gt2[e7],...t3[e7]}}}__name(Qa,"Qa");i2(Qa,"loadFeatures");var Ja=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Zt3(t3){return t3.startsWith("while")||t3.startsWith("drag")&&t3!=="draggable"||t3.startsWith("layout")||t3.startsWith("onTap")||t3.startsWith("onPan")||t3.startsWith("onLayout")||Ja.has(t3)}__name(Zt3,"Zt");i2(Zt3,"isValidMotionProp");var pr=i2(t3=>!Zt3(t3),"shouldForward");function tl(t3){if(typeof t3!=="function")return;pr=i2(e7=>e7.startsWith("on")?!Zt3(e7):t3(e7),"shouldForward")}__name(tl,"tl");i2(tl,"loadExternalIsValidProp");try{tl(__require("@emotion/is-prop-valid").default)}catch{}function el(t3,e7,n2){const s2={};for(const r3 in t3){if(r3==="values"&&typeof t3.values==="object")continue;if(pr(r3)||n2===true&&Zt3(r3)||!e7&&!Zt3(r3)||t3["draggable"]&&r3.startsWith("onDrag")){s2[r3]=t3[r3]}}return s2}__name(el,"el");i2(el,"filterProps");var ee3=z.createContext({});function ne2(t3){return t3!==null&&typeof t3==="object"&&typeof t3.start==="function"}__name(ne2,"ne");i2(ne2,"isAnimationControls");function Bt(t3){return typeof t3==="string"||Array.isArray(t3)}__name(Bt,"Bt");i2(Bt,"isVariantLabel");var Cn2=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];var Dn2=["initial",...Cn2];function se3(t3){return ne2(t3.animate)||Dn2.some(e7=>Bt(t3[e7]))}__name(se3,"se");i2(se3,"isControllingVariants");function gr(t3){return Boolean(se3(t3)||t3.variants)}__name(gr,"gr");i2(gr,"isVariantNode");function nl(t3,e7){if(se3(t3)){const{initial:n2,animate:s2}=t3;return{initial:n2===false||Bt(n2)?n2:void 0,animate:Bt(s2)?s2:void 0}}return t3.inherit!==false?e7:{}}__name(nl,"nl");i2(nl,"getCurrentTreeVariants");function sl2(t3){const{initial:e7,animate:n2}=nl(t3,z.useContext(ee3));return z.useMemo(()=>({initial:e7,animate:n2}),[Ls(e7),Ls(n2)])}__name(sl2,"sl");i2(sl2,"useCreateMotionContext");function Ls(t3){return Array.isArray(t3)?t3.join(" "):t3}__name(Ls,"Ls");i2(Ls,"variantLabelsAsDependency");var Ft={};function il(t3){for(const e7 in t3){Ft[e7]=t3[e7];if(gn2(e7)){Ft[e7].isCSSVariable=true}}}__name(il,"il");i2(il,"addScaleCorrector");function yr(t3,{layout:e7,layoutId:n2}){return Tt2.has(t3)||t3.startsWith("origin")||(e7||n2!==void 0)&&(!!Ft[t3]||t3==="opacity")}__name(yr,"yr");i2(yr,"isForcedMotionValue");var rl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};var ol=vt.length;function al(t3,e7,n2){let s2="";let r3=true;for(let o6=0;o6({style:{},transform:{},transformOrigin:{},vars:{}}),"createHtmlRenderState");function vr(t3,e7,n2){for(const s2 in e7){if(!F2(e7[s2])&&!yr(s2,n2)){t3[s2]=e7[s2]}}}__name(vr,"vr");i2(vr,"copyRawValuesOnly");function ll({transformTemplate:t3},e7){return z.useMemo(()=>{const n2=Rn2();Mn2(n2,e7,t3);return Object.assign({},n2.vars,n2.style)},[e7])}__name(ll,"ll");i2(ll,"useInitialMotionValues");function cl(t3,e7){const n2=t3.style||{};const s2={};vr(s2,n2,t3);Object.assign(s2,ll(t3,e7));return s2}__name(cl,"cl");i2(cl,"useStyle");function ul(t3,e7){const n2={};const s2=cl(t3,e7);if(t3.drag&&t3.dragListener!==false){n2.draggable=false;s2.userSelect=s2.WebkitUserSelect=s2.WebkitTouchCallout="none";s2.touchAction=t3.drag===true?"none":`pan-${t3.drag==="x"?"y":"x"}`}if(t3.tabIndex===void 0&&(t3.onTap||t3.onTapStart||t3.whileTap)){n2.tabIndex=0}n2.style=s2;return n2}__name(ul,"ul");i2(ul,"useHTMLProps");var hl={offset:"stroke-dashoffset",array:"stroke-dasharray"};var fl2={offset:"strokeDashoffset",array:"strokeDasharray"};function dl2(t3,e7,n2=1,s2=0,r3=true){t3.pathLength=1;const o6=r3?hl:fl2;t3[o6.offset]=P.transform(-s2);const c5=P.transform(e7);const a3=P.transform(n2);t3[o6.array]=`${c5} ${a3}`}__name(dl2,"dl");i2(dl2,"buildSVGPath");function Tr(t3,{attrX:e7,attrY:n2,attrScale:s2,pathLength:r3,pathSpacing:o6=1,pathOffset:c5=0,...a3},l2,h3,u6){Mn2(t3,a3,h3);if(l2){if(t3.style.viewBox){t3.attrs.viewBox=t3.style.viewBox}return}t3.attrs=t3.style;t3.style={};const{attrs:f,style:d2}=t3;if(f.transform){d2.transform=f.transform;delete f.transform}if(d2.transform||f.transformOrigin){d2.transformOrigin=f.transformOrigin??"50% 50%";delete f.transformOrigin}if(d2.transform){d2.transformBox=u6?.transformBox??"fill-box";delete f.transformBox}if(e7!==void 0)f.x=e7;if(n2!==void 0)f.y=n2;if(s2!==void 0)f.scale=s2;if(r3!==void 0){dl2(f,r3,o6,c5,false)}}__name(Tr,"Tr");i2(Tr,"buildSVGAttrs");var xr=i2(()=>({...Rn2(),attrs:{}}),"createSvgRenderState");var Pr=i2(t3=>typeof t3==="string"&&t3.toLowerCase()==="svg","isSVGTag");function ml2(t3,e7,n2,s2){const r3=z.useMemo(()=>{const o6=xr();Tr(o6,e7,Pr(s2),t3.transformTemplate,t3.style);return{...o6.attrs,style:{...o6.style}}},[e7]);if(t3.style){const o6={};vr(o6,t3.style,t3);r3.style={...o6,...r3.style}}return r3}__name(ml2,"ml");i2(ml2,"useSVGProps");var pl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function En2(t3){if(typeof t3!=="string"||t3.includes("-")){return false}else if(pl.indexOf(t3)>-1||/[A-Z]/u.test(t3)){return true}return false}__name(En2,"En");i2(En2,"isSVGComponent");function gl(t3,e7,n2,{latestValues:s2},r3,o6=false){const c5=En2(t3)?ml2:ul;const a3=c5(e7,s2,r3,t3);const l2=el(e7,typeof t3==="string",o6);const h3=t3!==z.Fragment?{...l2,...a3,ref:n2}:{};const{children:u6}=e7;const f=z.useMemo(()=>F2(u6)?u6.get():u6,[u6]);return z.createElement(t3,{...h3,children:f})}__name(gl,"gl");i2(gl,"useRender");function ks(t3){const e7=[{},{}];t3?.values.forEach((n2,s2)=>{e7[0][s2]=n2.get();e7[1][s2]=n2.getVelocity()});return e7}__name(ks,"ks");i2(ks,"getValueState");function Ln2(t3,e7,n2,s2){if(typeof e7==="function"){const[r3,o6]=ks(s2);e7=e7(n2!==void 0?n2:t3.custom,r3,o6)}if(typeof e7==="string"){e7=t3.variants&&t3.variants[e7]}if(typeof e7==="function"){const[r3,o6]=ks(s2);e7=e7(n2!==void 0?n2:t3.custom,r3,o6)}return e7}__name(Ln2,"Ln");i2(Ln2,"resolveVariantFromProps");function Xt2(t3){return F2(t3)?t3.get():t3}__name(Xt2,"Xt");i2(Xt2,"resolveMotionValue");function yl({scrapeMotionValuesFromProps:t3,createRenderState:e7},n2,s2,r3){const o6={latestValues:vl(n2,s2,r3,t3),renderState:e7()};return o6}__name(yl,"yl");i2(yl,"makeState");function vl(t3,e7,n2,s2){const r3={};const o6=s2(t3,{});for(const d2 in o6){r3[d2]=Xt2(o6[d2])}let{initial:c5,animate:a3}=t3;const l2=se3(t3);const h3=gr(t3);if(e7&&h3&&!l2&&t3.inherit!==false){if(c5===void 0)c5=e7.initial;if(a3===void 0)a3=e7.animate}let u6=n2?n2.initial===false:false;u6=u6||c5===false;const f=u6?a3:c5;if(f&&typeof f!=="boolean"&&!ne2(f)){const d2=Array.isArray(f)?f:[f];for(let m4=0;m4(e7,n2)=>{const s2=z.useContext(ee3);const r3=z.useContext(cn2);const o6=i2(()=>yl(t3,e7,s2,r3),"make");return n2?o6():no2(o6)},"makeUseVisualState");function kn2(t3,e7,n2){const{style:s2}=t3;const r3={};for(const o6 in s2){if(F2(s2[o6])||e7.style&&F2(e7.style[o6])||yr(o6,t3)||n2?.getValue(o6)?.liveStyle!==void 0){r3[o6]=s2[o6]}}return r3}__name(kn2,"kn");i2(kn2,"scrapeMotionValuesFromProps$1");var Tl=br({scrapeMotionValuesFromProps:kn2,createRenderState:Rn2});function Sr(t3,e7,n2){const s2=kn2(t3,e7,n2);for(const r3 in t3){if(F2(t3[r3])||F2(e7[r3])){const o6=vt.indexOf(r3)!==-1?"attr"+r3.charAt(0).toUpperCase()+r3.substring(1):r3;s2[o6]=t3[r3]}}return s2}__name(Sr,"Sr");i2(Sr,"scrapeMotionValuesFromProps");var xl=br({scrapeMotionValuesFromProps:Sr,createRenderState:xr});var Pl=Symbol.for("motionComponentSymbol");function ut3(t3){return t3&&typeof t3==="object"&&Object.prototype.hasOwnProperty.call(t3,"current")}__name(ut3,"ut");i2(ut3,"isRefObject");function bl(t3,e7,n2){return z.useCallback(s2=>{if(s2){t3.onMount&&t3.onMount(s2)}if(e7){if(s2){e7.mount(s2)}else{e7.unmount()}}if(n2){if(typeof n2==="function"){n2(s2)}else if(ut3(n2)){n2.current=s2}}},[e7])}__name(bl,"bl");i2(bl,"useMotionRef");var Bn2=i2(t3=>t3.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),"camelToDash");var Sl="framerAppearId";var wr="data-"+Bn2(Sl);var Ar=z.createContext({});function wl(t3,e7,n2,s2,r3){const{visualElement:o6}=z.useContext(ee3);const c5=z.useContext(mr);const a3=z.useContext(cn2);const l2=z.useContext(dr).reducedMotion;const h3=z.useRef(null);s2=s2||c5.renderer;if(!h3.current&&s2){h3.current=s2(t3,{visualState:e7,parent:o6,props:n2,presenceContext:a3,blockInitialAnimation:a3?a3.initial===false:false,reducedMotionConfig:l2})}const u6=h3.current;const f=z.useContext(Ar);if(u6&&!u6.projection&&r3&&(u6.type==="html"||u6.type==="svg")){Al(h3.current,n2,r3,f)}const d2=z.useRef(false);z.useInsertionEffect(()=>{if(u6&&d2.current){u6.update(n2,a3)}});const m4=n2[wr];const p2=z.useRef(Boolean(m4)&&!window.MotionHandoffIsComplete?.(m4)&&window.MotionHasOptimisedAnimation?.(m4));so3(()=>{if(!u6)return;d2.current=true;window.MotionIsMounted=true;u6.updateFeatures();u6.scheduleRenderMicrotask();if(p2.current&&u6.animationState){u6.animationState.animateChanges()}});z.useEffect(()=>{if(!u6)return;if(!p2.current&&u6.animationState){u6.animationState.animateChanges()}if(p2.current){queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m4)});p2.current=false}u6.enteringChildren=void 0});return u6}__name(wl,"wl");i2(wl,"useVisualElement");function Al(t3,e7,n2,s2){const{layoutId:r3,layout:o6,drag:c5,dragConstraints:a3,layoutScroll:l2,layoutRoot:h3,layoutCrossfade:u6}=e7;t3.projection=new n2(t3.latestValues,e7["data-framer-portal-id"]?void 0:Vr(t3.parent));t3.projection.setOptions({layoutId:r3,layout:o6,alwaysMeasureLayout:Boolean(c5)||a3&&ut3(a3),visualElement:t3,animationType:typeof o6==="string"?o6:"both",initialPromotionConfig:s2,crossfade:u6,layoutScroll:l2,layoutRoot:h3})}__name(Al,"Al");i2(Al,"createProjectionNode$1");function Vr(t3){if(!t3)return void 0;return t3.options.allowProjection!==false?t3.projection:Vr(t3.parent)}__name(Vr,"Vr");i2(Vr,"getClosestProjectingNode");function ue3(t3,{forwardMotionProps:e7=false}={},n2,s2){n2&&Qa(n2);const r3=En2(t3)?xl:Tl;function o6(a3,l2){let h3;const u6={...z.useContext(dr),...a3,layoutId:Vl(a3)};const{isStatic:f}=u6;const d2=sl2(a3);const m4=r3(a3,f);if(!f&&ln2){Cl();const p2=Dl(u6);h3=p2.MeasureLayout;d2.visualElement=wl(t3,m4,u6,s2,p2.ProjectionNode)}return Ht.jsxs(ee3.Provider,{value:d2,children:[h3&&d2.visualElement?Ht.jsx(h3,{visualElement:d2.visualElement,...u6}):null,gl(t3,a3,bl(m4,d2.visualElement,l2),m4,f,e7)]})}__name(o6,"o");i2(o6,"MotionDOMComponent");o6.displayName=`motion.${typeof t3==="string"?t3:`create(${t3.displayName??t3.name??""})`}`;const c5=z.forwardRef(o6);c5[Pl]=t3;return c5}__name(ue3,"ue");i2(ue3,"createMotionComponent");function Vl({layoutId:t3}){const e7=z.useContext(Si).id;return e7&&t3!==void 0?e7+"-"+t3:t3}__name(Vl,"Vl");i2(Vl,"useLayoutId");function Cl(t3,e7){z.useContext(mr).strict}__name(Cl,"Cl");i2(Cl,"useStrictMode");function Dl(t3){const{drag:e7,layout:n2}=gt2;if(!e7&&!n2)return{};const s2={...e7,...n2};return{MeasureLayout:e7?.isEnabled(t3)||n2?.isEnabled(t3)?s2.MeasureLayout:void 0,ProjectionNode:s2.ProjectionNode}}__name(Dl,"Dl");i2(Dl,"getProjectionFunctionality");function Ml(t3,e7){if(typeof Proxy==="undefined"){return ue3}const n2=new Map;const s2=i2((o6,c5)=>{return ue3(o6,c5,t3,e7)},"factory");const r3=i2((o6,c5)=>{return s2(o6,c5)},"deprecatedFactoryFunction");return new Proxy(r3,{get:i2((o6,c5)=>{if(c5==="create")return s2;if(!n2.has(c5)){n2.set(c5,ue3(c5,void 0,t3,e7))}return n2.get(c5)},"get")})}__name(Ml,"Ml");i2(Ml,"createMotionProxy");function Cr({top:t3,left:e7,right:n2,bottom:s2}){return{x:{min:e7,max:n2},y:{min:t3,max:s2}}}__name(Cr,"Cr");i2(Cr,"convertBoundingBoxToBox");function Rl({x:t3,y:e7}){return{top:e7.min,right:t3.max,bottom:e7.max,left:t3.min}}__name(Rl,"Rl");i2(Rl,"convertBoxToBoundingBox");function El(t3,e7){if(!e7)return t3;const n2=e7({x:t3.left,y:t3.top});const s2=e7({x:t3.right,y:t3.bottom});return{top:n2.y,left:n2.x,bottom:s2.y,right:s2.x}}__name(El,"El");i2(El,"transformBoxPoints");function he(t3){return t3===void 0||t3===1}__name(he,"he");i2(he,"isIdentityScale");function Oe2({scale:t3,scaleX:e7,scaleY:n2}){return!he(t3)||!he(e7)||!he(n2)}__name(Oe2,"Oe");i2(Oe2,"hasScale");function st3(t3){return Oe2(t3)||Dr(t3)||t3.z||t3.rotate||t3.rotateX||t3.rotateY||t3.skewX||t3.skewY}__name(st3,"st");i2(st3,"hasTransform");function Dr(t3){return Bs(t3.x)||Bs(t3.y)}__name(Dr,"Dr");i2(Dr,"has2DTranslate");function Bs(t3){return t3&&t3!=="0%"}__name(Bs,"Bs");i2(Bs,"is2DTranslate");function Qt2(t3,e7,n2){const s2=t3-n2;const r3=e7*s2;return n2+r3}__name(Qt2,"Qt");i2(Qt2,"scalePoint");function Fs(t3,e7,n2,s2,r3){if(r3!==void 0){t3=Qt2(t3,r3,s2)}return Qt2(t3,n2,s2)+e7}__name(Fs,"Fs");i2(Fs,"applyPointDelta");function Ne3(t3,e7=0,n2=1,s2,r3){t3.min=Fs(t3.min,e7,n2,s2,r3);t3.max=Fs(t3.max,e7,n2,s2,r3)}__name(Ne3,"Ne");i2(Ne3,"applyAxisDelta");function Mr(t3,{x:e7,y:n2}){Ne3(t3.x,e7.translate,e7.scale,e7.originPoint);Ne3(t3.y,n2.translate,n2.scale,n2.originPoint)}__name(Mr,"Mr");i2(Mr,"applyBoxDelta");var Is=.999999999999;var js=1.0000000000001;function Ll(t3,e7,n2,s2=false){const r3=n2.length;if(!r3)return;e7.x=e7.y=1;let o6;let c5;for(let a3=0;a3Is){e7.x=1}if(e7.yIs){e7.y=1}}__name(Ll,"Ll");i2(Ll,"applyTreeDeltas");function ht(t3,e7){t3.min=t3.min+e7;t3.max=t3.max+e7}__name(ht,"ht");i2(ht,"translateAxis");function Os(t3,e7,n2,s2,r3=.5){const o6=D(t3.min,t3.max,r3);Ne3(t3,e7,n2,o6,s2)}__name(Os,"Os");i2(Os,"transformAxis");function ft2(t3,e7){Os(t3.x,e7.x,e7.scaleX,e7.scale,e7.originX);Os(t3.y,e7.y,e7.scaleY,e7.scale,e7.originY)}__name(ft2,"ft");i2(ft2,"transformBox");function Rr(t3,e7){return Cr(El(t3.getBoundingClientRect(),e7))}__name(Rr,"Rr");i2(Rr,"measureViewportBox");function kl(t3,e7,n2){const s2=Rr(t3,n2);const{scroll:r3}=e7;if(r3){ht(s2.x,r3.offset.x);ht(s2.y,r3.offset.y)}return s2}__name(kl,"kl");i2(kl,"measurePageBox");var Ns=i2(()=>({translate:0,scale:1,origin:0,originPoint:0}),"createAxisDelta");var dt4=i2(()=>({x:Ns(),y:Ns()}),"createDelta");var Us=i2(()=>({min:0,max:0}),"createAxis");var R2=i2(()=>({x:Us(),y:Us()}),"createBox");var Ue4={current:null};var Er={current:false};function Bl(){Er.current=true;if(!ln2)return;if(window.matchMedia){const t3=window.matchMedia("(prefers-reduced-motion)");const e7=i2(()=>Ue4.current=t3.matches,"setReducedMotionPreferences");t3.addEventListener("change",e7);e7()}else{Ue4.current=false}}__name(Bl,"Bl");i2(Bl,"initPrefersReducedMotion");var Fl=new WeakMap;function Il(t3,e7,n2){for(const s2 in e7){const r3=e7[s2];const o6=n2[s2];if(F2(r3)){t3.addValue(s2,r3)}else if(F2(o6)){t3.addValue(s2,pt2(r3,{owner:t3}))}else if(o6!==r3){if(t3.hasValue(s2)){const c5=t3.getValue(s2);if(c5.liveStyle===true){c5.jump(r3)}else if(!c5.hasAnimated){c5.set(r3)}}else{const c5=t3.getStaticValue(s2);t3.addValue(s2,pt2(c5!==void 0?c5:r3,{owner:t3}))}}}for(const s2 in n2){if(e7[s2]===void 0)t3.removeValue(s2)}return e7}__name(Il,"Il");i2(Il,"updateMotionValuesFromProps");var Ks=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];var zn2=class zn3{static{__name(this,"zn")}scrapeMotionValuesFromProps(e7,n2,s2){return{}}constructor({parent:e7,props:n2,presenceContext:s2,reducedMotionConfig:r3,blockInitialAnimation:o6,visualState:c5},a3={}){this.current=null;this.children=new Set;this.isVariantNode=false;this.isControllingVariants=false;this.shouldReduceMotion=null;this.values=new Map;this.KeyframeResolver=kt;this.features={};this.valueSubscriptions=new Map;this.prevMotionValues={};this.events={};this.propEventSubscriptions={};this.notifyUpdate=()=>this.notify("Update",this.latestValues);this.render=()=>{if(!this.current)return;this.triggerBuild();this.renderInstance(this.current,this.renderState,this.props.style,this.projection)};this.renderScheduledAt=0;this.scheduleRender=()=>{const d2=O2.now();if(this.renderScheduledAtthis.bindToMotionValue(s2,n2));if(!Er.current){Bl()}this.shouldReduceMotion=this.reducedMotionConfig==="never"?false:this.reducedMotionConfig==="always"?true:Ue4.current;this.parent?.addChild(this);this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount();Q2(this.notifyUpdate);Q2(this.render);this.valueSubscriptions.forEach(e7=>e7());this.valueSubscriptions.clear();this.removeFromVariantTree&&this.removeFromVariantTree();this.parent?.removeChild(this);for(const e7 in this.events){this.events[e7].clear()}for(const e7 in this.features){const n2=this.features[e7];if(n2){n2.unmount();n2.isMounted=false}}this.current=null}addChild(e7){this.children.add(e7);this.enteringChildren??(this.enteringChildren=new Set);this.enteringChildren.add(e7)}removeChild(e7){this.children.delete(e7);this.enteringChildren&&this.enteringChildren.delete(e7)}bindToMotionValue(e7,n2){if(this.valueSubscriptions.has(e7)){this.valueSubscriptions.get(e7)()}const s2=Tt2.has(e7);if(s2&&this.onBindTransform){this.onBindTransform()}const r3=n2.on("change",c5=>{this.latestValues[e7]=c5;this.props.onUpdate&&C.preRender(this.notifyUpdate);if(s2&&this.projection){this.projection.isTransformDirty=true}this.scheduleRender()});let o6;if(window.MotionCheckAppearSync){o6=window.MotionCheckAppearSync(this,e7,n2)}this.valueSubscriptions.set(e7,()=>{r3();if(o6)o6();if(n2.owner)n2.stop()})}sortNodePosition(e7){if(!this.current||!this.sortInstanceNodePosition||this.type!==e7.type){return 0}return this.sortInstanceNodePosition(this.current,e7.current)}updateFeatures(){let e7="animation";for(e7 in gt2){const n2=gt2[e7];if(!n2)continue;const{isEnabled:s2,Feature:r3}=n2;if(!this.features[e7]&&r3&&s2(this.props)){this.features[e7]=new r3(this)}if(this.features[e7]){const o6=this.features[e7];if(o6.isMounted){o6.update()}else{o6.mount();o6.isMounted=true}}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):R2()}getStaticValue(e7){return this.latestValues[e7]}setStaticValue(e7,n2){this.latestValues[e7]=n2}update(e7,n2){if(e7.transformTemplate||this.props.transformTemplate){this.scheduleRender()}this.prevProps=this.props;this.props=e7;this.prevPresenceContext=this.presenceContext;this.presenceContext=n2;for(let s2=0;s2n2.variantChildren.delete(e7)}}addValue(e7,n2){const s2=this.values.get(e7);if(n2!==s2){if(s2)this.removeValue(e7);this.bindToMotionValue(e7,n2);this.values.set(e7,n2);this.latestValues[e7]=n2.get()}}removeValue(e7){this.values.delete(e7);const n2=this.valueSubscriptions.get(e7);if(n2){n2();this.valueSubscriptions.delete(e7)}delete this.latestValues[e7];this.removeValueFromRenderState(e7,this.renderState)}hasValue(e7){return this.values.has(e7)}getValue(e7,n2){if(this.props.values&&this.props.values[e7]){return this.props.values[e7]}let s2=this.values.get(e7);if(s2===void 0&&n2!==void 0){s2=pt2(n2===null?void 0:n2,{owner:this});this.addValue(e7,s2)}return s2}readValue(e7,n2){let s2=this.latestValues[e7]!==void 0||!this.current?this.latestValues[e7]:this.getBaseTargetFromProps(this.props,e7)??this.readValueFromInstance(this.current,e7,this.options);if(s2!==void 0&&s2!==null){if(typeof s2==="string"&&(wi(s2)||Vi2(s2))){s2=parseFloat(s2)}else if(!_a(s2)&&J.test(n2)){s2=ar(e7,n2)}this.setBaseTarget(e7,F2(s2)?s2.get():s2)}return F2(s2)?s2.get():s2}setBaseTarget(e7,n2){this.baseTarget[e7]=n2}getBaseTarget(e7){const{initial:n2}=this.props;let s2;if(typeof n2==="string"||typeof n2==="object"){const o6=Ln2(this.props,n2,this.presenceContext?.custom);if(o6){s2=o6[e7]}}if(n2&&s2!==void 0){return s2}const r3=this.getBaseTargetFromProps(this.props,e7);if(r3!==void 0&&!F2(r3))return r3;return this.initialValues[e7]!==void 0&&s2===void 0?void 0:this.baseTarget[e7]}on(e7,n2){if(!this.events[e7]){this.events[e7]=new Dt2}return this.events[e7].add(n2)}notify(e7,...n2){if(this.events[e7]){this.events[e7].notify(...n2)}}scheduleRenderMicrotask(){An2.render(this.render)}};i2(zn2,"VisualElement");var Ke4=zn2;var Xn2=class Xn3 extends Ke4{static{__name(this,"Xn")}constructor(){super(...arguments);this.KeyframeResolver=Ie2}sortInstanceNodePosition(e7,n2){return e7.compareDocumentPosition(n2)&2?1:-1}getBaseTargetFromProps(e7,n2){return e7.style?e7.style[n2]:void 0}removeValueFromRenderState(e7,{vars:n2,style:s2}){delete n2[e7];delete s2[e7]}handleChildMotionValue(){if(this.childSubscription){this.childSubscription();delete this.childSubscription}const{children:e7}=this.props;if(F2(e7)){this.childSubscription=e7.on("change",n2=>{if(this.current){this.current.textContent=`${n2}`}})}}};i2(Xn2,"DOMVisualElement");var Jt2=Xn2;function Lr(t3,{style:e7,vars:n2},s2,r3){const o6=t3.style;let c5;for(c5 in e7){o6[c5]=e7[c5]}r3?.applyProjectionStyles(o6,s2);for(c5 in n2){o6.setProperty(c5,n2[c5])}}__name(Lr,"Lr");i2(Lr,"renderHTML");function jl2(t3){return window.getComputedStyle(t3)}__name(jl2,"jl");i2(jl2,"getComputedStyle$1");var Yn2=class Yn3 extends Jt2{static{__name(this,"Yn")}constructor(){super(...arguments);this.type="html";this.renderInstance=Lr}readValueFromInstance(e7,n2){if(Tt2.has(n2)){return this.projection?.isProjecting?Ve3(n2):aa2(e7,n2)}else{const s2=jl2(e7);const r3=(gn2(n2)?s2.getPropertyValue(n2):s2[n2])||0;return typeof r3==="string"?r3.trim():r3}}measureInstanceViewportBox(e7,{transformPagePoint:n2}){return Rr(e7,n2)}build(e7,n2,s2){Mn2(e7,n2,s2.transformTemplate)}scrapeMotionValuesFromProps(e7,n2,s2){return kn2(e7,n2,s2)}};i2(Yn2,"HTMLVisualElement");var We3=Yn2;var kr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ol(t3,e7,n2,s2){Lr(t3,e7,void 0,s2);for(const r3 in e7.attrs){t3.setAttribute(!kr.has(r3)?Bn2(r3):r3,e7.attrs[r3])}}__name(Ol,"Ol");i2(Ol,"renderSVG");var Gn2=class Gn3 extends Jt2{static{__name(this,"Gn")}constructor(){super(...arguments);this.type="svg";this.isSVGTag=false;this.measureInstanceViewportBox=R2}getBaseTargetFromProps(e7,n2){return e7[n2]}readValueFromInstance(e7,n2){if(Tt2.has(n2)){const s2=or(n2);return s2?s2.default||0:0}n2=!kr.has(n2)?Bn2(n2):n2;return e7.getAttribute(n2)}scrapeMotionValuesFromProps(e7,n2,s2){return Sr(e7,n2,s2)}build(e7,n2,s2){Tr(e7,n2,this.isSVGTag,s2.transformTemplate,s2.style)}renderInstance(e7,n2,s2,r3){Ol(e7,n2,s2,r3)}mount(e7){this.isSVGTag=Pr(e7.tagName);super.mount(e7)}};i2(Gn2,"SVGVisualElement");var $e3=Gn2;var Nl=i2((t3,e7)=>{return En2(t3)?new $e3(e7):new We3(e7,{allowProjection:t3!==z.Fragment})},"createDomVisualElement");function mt2(t3,e7,n2){const s2=t3.getProps();return Ln2(s2,e7,n2!==void 0?n2:s2.custom,t3)}__name(mt2,"mt");i2(mt2,"resolveVariant");var He3=i2(t3=>{return Array.isArray(t3)},"isKeyframesTarget");function Ul(t3,e7,n2){if(t3.hasValue(e7)){t3.getValue(e7).set(n2)}else{t3.addValue(e7,pt2(n2))}}__name(Ul,"Ul");i2(Ul,"setMotionValue");function Kl(t3){return He3(t3)?t3[t3.length-1]||0:t3}__name(Kl,"Kl");i2(Kl,"resolveFinalValueInKeyframes");function Wl(t3,e7){const n2=mt2(t3,e7);let{transitionEnd:s2={},transition:r3={},...o6}=n2||{};o6={...o6,...s2};for(const c5 in o6){const a3=Kl(o6[c5]);Ul(t3,c5,a3)}}__name(Wl,"Wl");i2(Wl,"setTarget");function $l(t3){return Boolean(F2(t3)&&t3.add)}__name($l,"$l");i2($l,"isWillChangeMotionValue");function ze3(t3,e7){const n2=t3.getValue("willChange");if($l(n2)){return n2.add(e7)}else if(!n2&&_.WillChange){const s2=new _.WillChange("auto");t3.addValue("willChange",s2);s2.add(e7)}}__name(ze3,"ze");i2(ze3,"addValueToWillChange");function Br(t3){return t3.props[wr]}__name(Br,"Br");i2(Br,"getOptimisedAppearId");var Hl=i2(t3=>t3!==null,"isNotNull");function zl(t3,{repeat:e7,repeatType:n2="loop"},s2){const r3=t3.filter(Hl);const o6=e7&&n2!=="loop"&&e7%2===1?0:r3.length-1;return r3[o6]}__name(zl,"zl");i2(zl,"getFinalKeyframe");var Xl2={type:"spring",stiffness:500,damping:25,restSpeed:10};var Yl2=i2(t3=>({type:"spring",stiffness:550,damping:t3===0?2*Math.sqrt(550):30,restSpeed:10}),"criticallyDampedSpring");var Gl2={type:"keyframes",duration:.8};var ql={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var _l=i2((t3,{keyframes:e7})=>{if(e7.length>2){return Gl2}else if(Tt2.has(t3)){return t3.startsWith("scale")?Yl2(e7[1]):Xl2}return ql},"getDefaultTransition");function Zl({when:t3,delay:e7,delayChildren:n2,staggerChildren:s2,staggerDirection:r3,repeat:o6,repeatType:c5,repeatDelay:a3,from:l2,elapsed:h3,...u6}){return!!Object.keys(u6).length}__name(Zl,"Zl");i2(Zl,"isTransitionDefined");var Fn3=i2((t3,e7,n2,s2={},r3,o6)=>c5=>{const a3=Sn2(s2,t3)||{};const l2=a3.delay||s2.delay||0;let{elapsed:h3=0}=s2;h3=h3-X3(l2);const u6={keyframes:Array.isArray(n2)?n2:[null,n2],ease:"easeOut",velocity:e7.getVelocity(),...a3,delay:-h3,onUpdate:i2(d2=>{e7.set(d2);a3.onUpdate&&a3.onUpdate(d2)},"onUpdate"),onComplete:i2(()=>{c5();a3.onComplete&&a3.onComplete()},"onComplete"),name:t3,motionValue:e7,element:o6?void 0:r3};if(!Zl(a3)){Object.assign(u6,_l(t3,u6))}u6.duration&&(u6.duration=X3(u6.duration));u6.repeatDelay&&(u6.repeatDelay=X3(u6.repeatDelay));if(u6.from!==void 0){u6.keyframes[0]=u6.from}let f=false;if(u6.type===false||u6.duration===0&&!u6.repeatDelay){ke4(u6);if(u6.delay===0){f=true}}if(_.instantAnimations||_.skipAnimations){f=true;ke4(u6);u6.delay=0}u6.allowFlatten=!a3.type&&!a3.ease;if(f&&!o6&&e7.get()!==void 0){const d2=zl(u6.keyframes,a3);if(d2!==void 0){C.update(()=>{u6.onUpdate(d2);u6.onComplete()});return}}return a3.isSync?new Lt(u6):new Be3(u6)},"animateMotionValue");function Ql({protectedKeys:t3,needsAnimating:e7},n2){const s2=t3.hasOwnProperty(n2)&&e7[n2]!==true;e7[n2]=false;return s2}__name(Ql,"Ql");i2(Ql,"shouldBlockAnimation");function Fr(t3,e7,{delay:n2=0,transitionOverride:s2,type:r3}={}){let{transition:o6=t3.getDefaultTransition(),transitionEnd:c5,...a3}=e7;if(s2)o6=s2;const l2=[];const h3=r3&&t3.animationState&&t3.animationState.getState()[r3];for(const u6 in a3){const f=t3.getValue(u6,t3.latestValues[u6]??null);const d2=a3[u6];if(d2===void 0||h3&&Ql(h3,u6)){continue}const m4={delay:n2,...Sn2(o6||{},u6)};const p2=f.get();if(p2!==void 0&&!f.isAnimating&&!Array.isArray(d2)&&d2===p2&&!m4.velocity){continue}let v2=false;if(window.MotionHandoffAnimation){const g=Br(t3);if(g){const x2=window.MotionHandoffAnimation(g,u6,C);if(x2!==null){m4.startTime=x2;v2=true}}}ze3(t3,u6);f.start(Fn3(u6,f,d2,t3.shouldReduceMotion&&sr.has(u6)?{type:false}:m4,t3,v2));const T3=f.animation;if(T3){l2.push(T3)}}if(c5){Promise.all(l2).then(()=>{C.update(()=>{c5&&Wl(t3,c5)})})}return l2}__name(Fr,"Fr");i2(Fr,"animateTarget");function Ir(t3,e7,n2,s2=0,r3=1){const o6=Array.from(t3).sort((h3,u6)=>h3.sortNodePosition(u6)).indexOf(e7);const c5=t3.size;const a3=(c5-1)*s2;const l2=typeof n2==="function";return l2?n2(o6,c5):r3===1?o6*s2:a3-o6*s2}__name(Ir,"Ir");i2(Ir,"calcChildStagger");function Xe3(t3,e7,n2={}){const s2=mt2(t3,e7,n2.type==="exit"?t3.presenceContext?.custom:void 0);let{transition:r3=t3.getDefaultTransition()||{}}=s2||{};if(n2.transitionOverride){r3=n2.transitionOverride}const o6=s2?()=>Promise.all(Fr(t3,s2,n2)):()=>Promise.resolve();const c5=t3.variantChildren&&t3.variantChildren.size?(l2=0)=>{const{delayChildren:h3=0,staggerChildren:u6,staggerDirection:f}=r3;return Jl(t3,e7,l2,h3,u6,f,n2)}:()=>Promise.resolve();const{when:a3}=r3;if(a3){const[l2,h3]=a3==="beforeChildren"?[o6,c5]:[c5,o6];return l2().then(()=>h3())}else{return Promise.all([o6(),c5(n2.delay)])}}__name(Xe3,"Xe");i2(Xe3,"animateVariant");function Jl(t3,e7,n2=0,s2=0,r3=0,o6=1,c5){const a3=[];for(const l2 of t3.variantChildren){l2.notify("AnimationStart",e7);a3.push(Xe3(l2,e7,{...c5,delay:n2+(typeof s2==="function"?0:s2)+Ir(t3.variantChildren,l2,s2,r3,o6)}).then(()=>l2.notify("AnimationComplete",e7)))}return Promise.all(a3)}__name(Jl,"Jl");i2(Jl,"animateChildren");function tc(t3,e7,n2={}){t3.notify("AnimationStart",e7);let s2;if(Array.isArray(e7)){const r3=e7.map(o6=>Xe3(t3,o6,n2));s2=Promise.all(r3)}else if(typeof e7==="string"){s2=Xe3(t3,e7,n2)}else{const r3=typeof e7==="function"?mt2(t3,e7,n2.custom):e7;s2=Promise.all(Fr(t3,r3,n2))}return s2.then(()=>{t3.notify("AnimationComplete",e7)})}__name(tc,"tc");i2(tc,"animateVisualElement");function jr(t3,e7){if(!Array.isArray(e7))return false;const n2=e7.length;if(n2!==t3.length)return false;for(let s2=0;s2Promise.all(e7.map(({animation:n2,options:s2})=>tc(t3,n2,s2)))}__name(ic,"ic");i2(ic,"animateList");function rc(t3){let e7=ic(t3);let n2=Ws();let s2=true;const r3=i2(l2=>(h3,u6)=>{const f=mt2(t3,u6,l2==="exit"?t3.presenceContext?.custom:void 0);if(f){const{transition:d2,transitionEnd:m4,...p2}=f;h3={...h3,...p2,...m4}}return h3},"buildResolvedTypeValues");function o6(l2){e7=l2(t3)}__name(o6,"o");i2(o6,"setAnimateFunction");function c5(l2){const{props:h3}=t3;const u6=Or(t3.parent)||{};const f=[];const d2=new Set;let m4={};let p2=Infinity;for(let T3=0;T3p2&&w3;let j4=false;const N4=Array.isArray(y4)?y4:[y4];let tt6=N4.reduce(r3(g),{});if(b===false)tt6={};const{prevResolvedValues:cs={}}=x2;const Qr={...cs,...tt6};const us=i2(k3=>{A=true;if(d2.has(k3)){j4=true;d2.delete(k3)}x2.needsAnimating[k3]=true;const U3=t3.getValue(k3);if(U3)U3.liveStyle=false},"markToAnimate");for(const k3 in Qr){const U3=tt6[k3];const et5=cs[k3];if(m4.hasOwnProperty(k3))continue;let lt4=false;if(He3(U3)&&He3(et5)){lt4=!jr(U3,et5)}else{lt4=U3!==et5}if(lt4){if(U3!==void 0&&U3!==null){us(k3)}else{d2.add(k3)}}else if(U3!==void 0&&d2.has(k3)){us(k3)}else{x2.protectedKeys[k3]=true}}x2.prevProp=y4;x2.prevResolvedValues=tt6;if(x2.isActive){m4={...m4,...tt6}}if(s2&&t3.blockInitialAnimation){A=false}const hs=V3&&L2;const Jr=!hs||j4;if(A&&Jr){f.push(...N4.map(k3=>{const U3={type:g};if(typeof k3==="string"&&s2&&!hs&&t3.manuallyAnimateOnMount&&t3.parent){const{parent:et5}=t3;const lt4=mt2(et5,k3);if(et5.enteringChildren&<4){const{delayChildren:to3}=lt4.transition||{};U3.delay=Ir(et5.enteringChildren,t3,to3)}}return{animation:k3,options:U3}}))}}if(d2.size){const T3={};if(typeof h3.initial!=="boolean"){const g=mt2(t3,Array.isArray(h3.initial)?h3.initial[0]:h3.initial);if(g&&g.transition){T3.transition=g.transition}}d2.forEach(g=>{const x2=t3.getBaseTarget(g);const y4=t3.getValue(g);if(y4)y4.liveStyle=true;T3[g]=x2??null});f.push({animation:T3})}let v2=Boolean(f.length);if(s2&&(h3.initial===false||h3.initial===h3.animate)&&!t3.manuallyAnimateOnMount){v2=false}s2=false;return v2?e7(f):Promise.resolve()}__name(c5,"c");i2(c5,"animateChanges");function a3(l2,h3){if(n2[l2].isActive===h3)return Promise.resolve();t3.variantChildren?.forEach(f=>f.animationState?.setActive(l2,h3));n2[l2].isActive=h3;const u6=c5(l2);for(const f in n2){n2[f].protectedKeys={}}return u6}__name(a3,"a");i2(a3,"setActive");return{animateChanges:c5,setActive:a3,setAnimateFunction:o6,getState:i2(()=>n2,"getState"),reset:i2(()=>{n2=Ws()},"reset")}}__name(rc,"rc");i2(rc,"createAnimationState");function oc(t3,e7){if(typeof e7==="string"){return e7!==t3}else if(Array.isArray(e7)){return!jr(e7,t3)}return false}__name(oc,"oc");i2(oc,"checkVariantsDidChange");function nt3(t3=false){return{isActive:t3,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}__name(nt3,"nt");i2(nt3,"createTypeState");function Ws(){return{animate:nt3(true),whileInView:nt3(),whileHover:nt3(),whileTap:nt3(),whileDrag:nt3(),whileFocus:nt3(),exit:nt3()}}__name(Ws,"Ws");i2(Ws,"createState");var qn2=class qn3{static{__name(this,"qn")}constructor(e7){this.isMounted=false;this.node=e7}update(){}};i2(qn2,"Feature");var G2=qn2;var _n2=class _n3 extends G2{static{__name(this,"_n")}constructor(e7){super(e7);e7.animationState||(e7.animationState=rc(e7))}updateAnimationControlsSubscription(){const{animate:e7}=this.node.getProps();if(ne2(e7)){this.unmountControls=e7.subscribe(this.node)}}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e7}=this.node.getProps();const{animate:n2}=this.node.prevProps||{};if(e7!==n2){this.updateAnimationControlsSubscription()}}unmount(){this.node.animationState.reset();this.unmountControls?.()}};i2(_n2,"AnimationFeature");var Ye3=_n2;var ac=0;var Zn2=class Zn3 extends G2{static{__name(this,"Zn")}constructor(){super(...arguments);this.id=ac++}update(){if(!this.node.presenceContext)return;const{isPresent:e7,onExitComplete:n2}=this.node.presenceContext;const{isPresent:s2}=this.node.prevPresenceContext||{};if(!this.node.animationState||e7===s2){return}const r3=this.node.animationState.setActive("exit",!e7);if(n2&&!e7){r3.then(()=>{n2(this.id)})}}mount(){const{register:e7,onExitComplete:n2}=this.node.presenceContext||{};if(n2){n2(this.id)}if(e7){this.unmount=e7(this.id)}}unmount(){}};i2(Zn2,"ExitAnimationFeature");var Ge3=Zn2;var lc={animation:{Feature:Ye3},exit:{Feature:Ge3}};function It2(t3,e7,n2,s2={passive:true}){t3.addEventListener(e7,n2,s2);return()=>t3.removeEventListener(e7,n2)}__name(It2,"It");i2(It2,"addDomEvent");function Ut(t3){return{point:{x:t3.pageX,y:t3.pageY}}}__name(Ut,"Ut");i2(Ut,"extractEventInfo");var cc=i2(t3=>{return e7=>Vn2(e7)&&t3(e7,Ut(e7))},"addPointerInfo");function wt2(t3,e7,n2,s2){return It2(t3,e7,cc(n2),s2)}__name(wt2,"wt");i2(wt2,"addPointerEvent");var Nr=1e-4;var uc=1-Nr;var hc=1+Nr;var Ur=.01;var fc=0-Ur;var dc=0+Ur;function I2(t3){return t3.max-t3.min}__name(I2,"I");i2(I2,"calcLength");function mc(t3,e7,n2){return Math.abs(t3-e7)<=n2}__name(mc,"mc");i2(mc,"isNear");function $s(t3,e7,n2,s2=.5){t3.origin=s2;t3.originPoint=D(e7.min,e7.max,t3.origin);t3.scale=I2(n2)/I2(e7);t3.translate=D(n2.min,n2.max,t3.origin)-t3.originPoint;if(t3.scale>=uc&&t3.scale<=hc||isNaN(t3.scale)){t3.scale=1}if(t3.translate>=fc&&t3.translate<=dc||isNaN(t3.translate)){t3.translate=0}}__name($s,"$s");i2($s,"calcAxisDelta");function At(t3,e7,n2,s2){$s(t3.x,e7.x,n2.x,s2?s2.originX:void 0);$s(t3.y,e7.y,n2.y,s2?s2.originY:void 0)}__name(At,"At");i2(At,"calcBoxDelta");function Hs(t3,e7,n2){t3.min=n2.min+e7.min;t3.max=t3.min+I2(e7)}__name(Hs,"Hs");i2(Hs,"calcRelativeAxis");function pc(t3,e7,n2){Hs(t3.x,e7.x,n2.x);Hs(t3.y,e7.y,n2.y)}__name(pc,"pc");i2(pc,"calcRelativeBox");function zs(t3,e7,n2){t3.min=e7.min-n2.min;t3.max=t3.min+I2(e7)}__name(zs,"zs");i2(zs,"calcRelativeAxisPosition");function Vt2(t3,e7,n2){zs(t3.x,e7.x,n2.x);zs(t3.y,e7.y,n2.y)}__name(Vt2,"Vt");i2(Vt2,"calcRelativePosition");function W3(t3){return[t3("x"),t3("y")]}__name(W3,"W");i2(W3,"eachAxis");var Kr=i2(({current:t3})=>{return t3?t3.ownerDocument.defaultView:null},"getContextWindow");var Xs=i2((t3,e7)=>Math.abs(t3-e7),"distance");function gc(t3,e7){const n2=Xs(t3.x,e7.x);const s2=Xs(t3.y,e7.y);return Math.sqrt(n2**2+s2**2)}__name(gc,"gc");i2(gc,"distance2D");var Qn2=class Qn3{static{__name(this,"Qn")}constructor(e7,n2,{transformPagePoint:s2,contextWindow:r3=window,dragSnapToOrigin:o6=false,distanceThreshold:c5=3}={}){this.startEvent=null;this.lastMoveEvent=null;this.lastMoveEventInfo=null;this.handlers={};this.contextWindow=window;this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d2=de3(this.lastMoveEventInfo,this.history);const m4=this.startEvent!==null;const p2=gc(d2.offset,{x:0,y:0})>=this.distanceThreshold;if(!m4&&!p2)return;const{point:v2}=d2;const{timestamp:T3}=B2;this.history.push({...v2,timestamp:T3});const{onStart:g,onMove:x2}=this.handlers;if(!m4){g&&g(this.lastMoveEvent,d2);this.startEvent=this.lastMoveEvent}x2&&x2(this.lastMoveEvent,d2)};this.handlePointerMove=(d2,m4)=>{this.lastMoveEvent=d2;this.lastMoveEventInfo=fe2(m4,this.transformPagePoint);C.update(this.updatePoint,true)};this.handlePointerUp=(d2,m4)=>{this.end();const{onEnd:p2,onSessionEnd:v2,resumeAnimation:T3}=this.handlers;if(this.dragSnapToOrigin)T3&&T3();if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=de3(d2.type==="pointercancel"?this.lastMoveEventInfo:fe2(m4,this.transformPagePoint),this.history);if(this.startEvent&&p2){p2(d2,g)}v2&&v2(d2,g)};if(!Vn2(e7))return;this.dragSnapToOrigin=o6;this.handlers=n2;this.transformPagePoint=s2;this.distanceThreshold=c5;this.contextWindow=r3||window;const a3=Ut(e7);const l2=fe2(a3,this.transformPagePoint);const{point:h3}=l2;const{timestamp:u6}=B2;this.history=[{...h3,timestamp:u6}];const{onSessionStart:f}=n2;f&&f(e7,de3(l2,this.history));this.removeListeners=jt(wt2(this.contextWindow,"pointermove",this.handlePointerMove),wt2(this.contextWindow,"pointerup",this.handlePointerUp),wt2(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e7){this.handlers=e7}end(){this.removeListeners&&this.removeListeners();Q2(this.updatePoint)}};i2(Qn2,"PanSession");var te2=Qn2;function fe2(t3,e7){return e7?{point:e7(t3.point)}:t3}__name(fe2,"fe");i2(fe2,"transformPoint");function Ys(t3,e7){return{x:t3.x-e7.x,y:t3.y-e7.y}}__name(Ys,"Ys");i2(Ys,"subtractPoint");function de3({point:t3},e7){return{point:t3,delta:Ys(t3,Wr(e7)),offset:Ys(t3,yc(e7)),velocity:vc(e7,.1)}}__name(de3,"de");i2(de3,"getPanInfo");function yc(t3){return t3[0]}__name(yc,"yc");i2(yc,"startDevicePoint");function Wr(t3){return t3[t3.length-1]}__name(Wr,"Wr");i2(Wr,"lastDevicePoint");function vc(t3,e7){if(t3.length<2){return{x:0,y:0}}let n2=t3.length-1;let s2=null;const r3=Wr(t3);while(n2>=0){s2=t3[n2];if(r3.timestamp-s2.timestamp>X3(e7)){break}n2--}if(!s2){return{x:0,y:0}}const o6=$2(r3.timestamp-s2.timestamp);if(o6===0){return{x:0,y:0}}const c5={x:(r3.x-s2.x)/o6,y:(r3.y-s2.y)/o6};if(c5.x===Infinity){c5.x=0}if(c5.y===Infinity){c5.y=0}return c5}__name(vc,"vc");i2(vc,"getVelocity");function Tc(t3,{min:e7,max:n2},s2){if(e7!==void 0&&t3n2){t3=s2?D(n2,t3,s2.max):Math.min(t3,n2)}return t3}__name(Tc,"Tc");i2(Tc,"applyConstraints");function Gs(t3,e7,n2){return{min:e7!==void 0?t3.min+e7:void 0,max:n2!==void 0?t3.max+n2-(t3.max-t3.min):void 0}}__name(Gs,"Gs");i2(Gs,"calcRelativeAxisConstraints");function xc(t3,{top:e7,left:n2,bottom:s2,right:r3}){return{x:Gs(t3.x,n2,r3),y:Gs(t3.y,e7,s2)}}__name(xc,"xc");i2(xc,"calcRelativeConstraints");function qs(t3,e7){let n2=e7.min-t3.min;let s2=e7.max-t3.max;if(e7.max-e7.mins2){n2=Ct2(e7.min,e7.max-s2,t3.min)}else if(s2>r3){n2=Ct2(t3.min,t3.max-r3,e7.min)}return q2(0,1,n2)}__name(bc,"bc");i2(bc,"calcOrigin");function Sc(t3,e7){const n2={};if(e7.min!==void 0){n2.min=e7.min-t3.min}if(e7.max!==void 0){n2.max=e7.max-t3.min}return n2}__name(Sc,"Sc");i2(Sc,"rebaseAxisConstraints");var qe3=.35;function wc(t3=qe3){if(t3===false){t3=0}else if(t3===true){t3=qe3}return{x:_s(t3,"left","right"),y:_s(t3,"top","bottom")}}__name(wc,"wc");i2(wc,"resolveDragElastic");function _s(t3,e7,n2){return{min:Zs(t3,e7),max:Zs(t3,n2)}}__name(_s,"_s");i2(_s,"resolveAxisElastic");function Zs(t3,e7){return typeof t3==="number"?t3:t3[e7]||0}__name(Zs,"Zs");i2(Zs,"resolvePointElastic");var Ac=new WeakMap;var Jn2=class Jn3{static{__name(this,"Jn")}constructor(e7){this.openDragLock=null;this.isDragging=false;this.currentDirection=null;this.originPoint={x:0,y:0};this.constraints=false;this.hasMutatedConstraints=false;this.elastic=R2();this.latestPointerEvent=null;this.latestPanInfo=null;this.visualElement=e7}start(e7,{snapToCursor:n2=false,distanceThreshold:s2}={}){const{presenceContext:r3}=this.visualElement;if(r3&&r3.isPresent===false)return;const o6=i2(f=>{const{dragSnapToOrigin:d2}=this.getProps();d2?this.pauseAnimation():this.stopAnimation();if(n2){this.snapToCursor(Ut(f).point)}},"onSessionStart");const c5=i2((f,d2)=>{const{drag:m4,dragPropagation:p2,onDragStart:v2}=this.getProps();if(m4&&!p2){if(this.openDragLock)this.openDragLock();this.openDragLock=Wa(m4);if(!this.openDragLock)return}this.latestPointerEvent=f;this.latestPanInfo=d2;this.isDragging=true;this.currentDirection=null;this.resolveConstraints();if(this.visualElement.projection){this.visualElement.projection.isAnimationBlocked=true;this.visualElement.projection.target=void 0}W3(g=>{let x2=this.getAxisMotionValue(g).get()||0;if(Y2.test(x2)){const{projection:y4}=this.visualElement;if(y4&&y4.layout){const w3=y4.layout.layoutBox[g];if(w3){const b=I2(w3);x2=b*(parseFloat(x2)/100)}}}this.originPoint[g]=x2});if(v2){C.postRender(()=>v2(f,d2))}ze3(this.visualElement,"transform");const{animationState:T3}=this.visualElement;T3&&T3.setActive("whileDrag",true)},"onStart");const a3=i2((f,d2)=>{this.latestPointerEvent=f;this.latestPanInfo=d2;const{dragPropagation:m4,dragDirectionLock:p2,onDirectionLock:v2,onDrag:T3}=this.getProps();if(!m4&&!this.openDragLock)return;const{offset:g}=d2;if(p2&&this.currentDirection===null){this.currentDirection=Vc(g);if(this.currentDirection!==null){v2&&v2(this.currentDirection)}return}this.updateAxis("x",d2.point,g);this.updateAxis("y",d2.point,g);this.visualElement.render();T3&&T3(f,d2)},"onMove");const l2=i2((f,d2)=>{this.latestPointerEvent=f;this.latestPanInfo=d2;this.stop(f,d2);this.latestPointerEvent=null;this.latestPanInfo=null},"onSessionEnd");const h3=i2(()=>W3(f=>this.getAnimationState(f)==="paused"&&this.getAxisMotionValue(f).animation?.play()),"resumeAnimation");const{dragSnapToOrigin:u6}=this.getProps();this.panSession=new te2(e7,{onSessionStart:o6,onStart:c5,onMove:a3,onSessionEnd:l2,resumeAnimation:h3},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u6,distanceThreshold:s2,contextWindow:Kr(this.visualElement)})}stop(e7,n2){const s2=e7||this.latestPointerEvent;const r3=n2||this.latestPanInfo;const o6=this.isDragging;this.cancel();if(!o6||!r3||!s2)return;const{velocity:c5}=r3;this.startAnimation(c5);const{onDragEnd:a3}=this.getProps();if(a3){C.postRender(()=>a3(s2,r3))}}cancel(){this.isDragging=false;const{projection:e7,animationState:n2}=this.visualElement;if(e7){e7.isAnimationBlocked=false}this.panSession&&this.panSession.end();this.panSession=void 0;const{dragPropagation:s2}=this.getProps();if(!s2&&this.openDragLock){this.openDragLock();this.openDragLock=null}n2&&n2.setActive("whileDrag",false)}updateAxis(e7,n2,s2){const{drag:r3}=this.getProps();if(!s2||!$t(e7,r3,this.currentDirection))return;const o6=this.getAxisMotionValue(e7);let c5=this.originPoint[e7]+s2[e7];if(this.constraints&&this.constraints[e7]){c5=Tc(c5,this.constraints[e7],this.elastic[e7])}o6.set(c5)}resolveConstraints(){const{dragConstraints:e7,dragElastic:n2}=this.getProps();const s2=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(false):this.visualElement.projection?.layout;const r3=this.constraints;if(e7&&ut3(e7)){if(!this.constraints){this.constraints=this.resolveRefConstraints()}}else{if(e7&&s2){this.constraints=xc(s2.layoutBox,e7)}else{this.constraints=false}}this.elastic=wc(n2);if(r3!==this.constraints&&s2&&this.constraints&&!this.hasMutatedConstraints){W3(o6=>{if(this.constraints!==false&&this.getAxisMotionValue(o6)){this.constraints[o6]=Sc(s2.layoutBox[o6],this.constraints[o6])}})}}resolveRefConstraints(){const{dragConstraints:e7,onMeasureDragConstraints:n2}=this.getProps();if(!e7||!ut3(e7))return false;const s2=e7.current;const{projection:r3}=this.visualElement;if(!r3||!r3.layout)return false;const o6=kl(s2,r3.root,this.visualElement.getTransformPagePoint());let c5=Pc(r3.layout.layoutBox,o6);if(n2){const a3=n2(Rl(c5));this.hasMutatedConstraints=!!a3;if(a3){c5=Cr(a3)}}return c5}startAnimation(e7){const{drag:n2,dragMomentum:s2,dragElastic:r3,dragTransition:o6,dragSnapToOrigin:c5,onDragTransitionEnd:a3}=this.getProps();const l2=this.constraints||{};const h3=W3(u6=>{if(!$t(u6,n2,this.currentDirection)){return}let f=l2&&l2[u6]||{};if(c5)f={min:0,max:0};const d2=r3?200:1e6;const m4=r3?40:1e7;const p2={type:"inertia",velocity:s2?e7[u6]:0,bounceStiffness:d2,bounceDamping:m4,timeConstant:750,restDelta:1,restSpeed:10,...o6,...f};return this.startAxisValueAnimation(u6,p2)});return Promise.all(h3).then(a3)}startAxisValueAnimation(e7,n2){const s2=this.getAxisMotionValue(e7);ze3(this.visualElement,e7);return s2.start(Fn3(e7,s2,0,n2,this.visualElement,false))}stopAnimation(){W3(e7=>this.getAxisMotionValue(e7).stop())}pauseAnimation(){W3(e7=>this.getAxisMotionValue(e7).animation?.pause())}getAnimationState(e7){return this.getAxisMotionValue(e7).animation?.state}getAxisMotionValue(e7){const n2=`_drag${e7.toUpperCase()}`;const s2=this.visualElement.getProps();const r3=s2[n2];return r3?r3:this.visualElement.getValue(e7,(s2.initial?s2.initial[e7]:void 0)||0)}snapToCursor(e7){W3(n2=>{const{drag:s2}=this.getProps();if(!$t(n2,s2,this.currentDirection))return;const{projection:r3}=this.visualElement;const o6=this.getAxisMotionValue(n2);if(r3&&r3.layout){const{min:c5,max:a3}=r3.layout.layoutBox[n2];o6.set(e7[n2]-D(c5,a3,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e7,dragConstraints:n2}=this.getProps();const{projection:s2}=this.visualElement;if(!ut3(n2)||!s2||!this.constraints)return;this.stopAnimation();const r3={x:0,y:0};W3(c5=>{const a3=this.getAxisMotionValue(c5);if(a3&&this.constraints!==false){const l2=a3.get();r3[c5]=bc({min:l2,max:l2},this.constraints[c5])}});const{transformTemplate:o6}=this.visualElement.getProps();this.visualElement.current.style.transform=o6?o6({},""):"none";s2.root&&s2.root.updateScroll();s2.updateLayout();this.resolveConstraints();W3(c5=>{if(!$t(c5,e7,null))return;const a3=this.getAxisMotionValue(c5);const{min:l2,max:h3}=this.constraints[c5];a3.set(D(l2,h3,r3[c5]))})}addListeners(){if(!this.visualElement.current)return;Ac.set(this.visualElement,this);const e7=this.visualElement.current;const n2=wt2(e7,"pointerdown",l2=>{const{drag:h3,dragListener:u6=true}=this.getProps();h3&&u6&&this.start(l2)});const s2=i2(()=>{const{dragConstraints:l2}=this.getProps();if(ut3(l2)&&l2.current){this.constraints=this.resolveRefConstraints()}},"measureDragConstraints");const{projection:r3}=this.visualElement;const o6=r3.addEventListener("measure",s2);if(r3&&!r3.layout){r3.root&&r3.root.updateScroll();r3.updateLayout()}C.read(s2);const c5=It2(window,"resize",()=>this.scalePositionWithinConstraints());const a3=r3.addEventListener("didUpdate",({delta:l2,hasLayoutChanged:h3})=>{if(this.isDragging&&h3){W3(u6=>{const f=this.getAxisMotionValue(u6);if(!f)return;this.originPoint[u6]+=l2[u6].translate;f.set(f.get()+l2[u6].translate)});this.visualElement.render()}});return()=>{c5();n2();o6();a3&&a3()}}getProps(){const e7=this.visualElement.getProps();const{drag:n2=false,dragDirectionLock:s2=false,dragPropagation:r3=false,dragConstraints:o6=false,dragElastic:c5=qe3,dragMomentum:a3=true}=e7;return{...e7,drag:n2,dragDirectionLock:s2,dragPropagation:r3,dragConstraints:o6,dragElastic:c5,dragMomentum:a3}}};i2(Jn2,"VisualElementDragControls");var _e2=Jn2;function $t(t3,e7,n2){return(e7===true||e7===t3)&&(n2===null||n2===t3)}__name($t,"$t");i2($t,"shouldDrag");function Vc(t3,e7=10){let n2=null;if(Math.abs(t3.y)>e7){n2="y"}else if(Math.abs(t3.x)>e7){n2="x"}return n2}__name(Vc,"Vc");i2(Vc,"getCurrentDirection");var ts=class ts2 extends G2{static{__name(this,"ts")}constructor(e7){super(e7);this.removeGroupControls=H;this.removeListeners=H;this.controls=new _e2(e7)}mount(){const{dragControls:e7}=this.node.getProps();if(e7){this.removeGroupControls=e7.subscribe(this.controls)}this.removeListeners=this.controls.addListeners()||H}unmount(){this.removeGroupControls();this.removeListeners()}};i2(ts,"DragGesture");var Ze4=ts;var Qs=i2(t3=>(e7,n2)=>{if(t3){C.postRender(()=>t3(e7,n2))}},"asyncHandler");var es=class es2 extends G2{static{__name(this,"es")}constructor(){super(...arguments);this.removePointerDownListener=H}onPointerDown(e7){this.session=new te2(e7,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kr(this.node)})}createPanHandlers(){const{onPanSessionStart:e7,onPanStart:n2,onPan:s2,onPanEnd:r3}=this.node.getProps();return{onSessionStart:Qs(e7),onStart:Qs(n2),onMove:s2,onEnd:i2((o6,c5)=>{delete this.session;if(r3){C.postRender(()=>r3(o6,c5))}},"onEnd")}}mount(){this.removePointerDownListener=wt2(this.node.current,"pointerdown",e7=>this.onPointerDown(e7))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener();this.session&&this.session.end()}};i2(es,"PanGesture");var Qe4=es;var Yt2={hasAnimatedSinceResize:true,hasEverUpdated:false};function Js(t3,e7){if(e7.max===e7.min)return 0;return t3/(e7.max-e7.min)*100}__name(Js,"Js");i2(Js,"pixelsToPercent");var xt2={correct:i2((t3,e7)=>{if(!e7.target)return t3;if(typeof t3==="string"){if(P.test(t3)){t3=parseFloat(t3)}else{return t3}}const n2=Js(t3,e7.target.x);const s2=Js(t3,e7.target.y);return`${n2}% ${s2}%`},"correct")};var Cc={correct:i2((t3,{treeScale:e7,projectionDelta:n2})=>{const s2=t3;const r3=J.parse(t3);if(r3.length>5)return s2;const o6=J.createTransformer(t3);const c5=typeof r3[0]!=="number"?1:0;const a3=n2.x.scale*e7.x;const l2=n2.y.scale*e7.y;r3[0+c5]/=a3;r3[1+c5]/=l2;const h3=D(a3,l2,.5);if(typeof r3[2+c5]==="number")r3[2+c5]/=h3;if(typeof r3[3+c5]==="number")r3[3+c5]/=h3;return o6(r3)},"correct")};var me2=false;var ns=class ns2 extends z.Component{static{__name(this,"ns")}componentDidMount(){const{visualElement:e7,layoutGroup:n2,switchLayoutGroup:s2,layoutId:r3}=this.props;const{projection:o6}=e7;il(Dc);if(o6){if(n2.group)n2.group.add(o6);if(s2&&s2.register&&r3){s2.register(o6)}if(me2){o6.root.didUpdate()}o6.addEventListener("animationComplete",()=>{this.safeToRemove()});o6.setOptions({...o6.options,onExitComplete:i2(()=>this.safeToRemove(),"onExitComplete")})}Yt2.hasEverUpdated=true}getSnapshotBeforeUpdate(e7){const{layoutDependency:n2,visualElement:s2,drag:r3,isPresent:o6}=this.props;const{projection:c5}=s2;if(!c5)return null;c5.isPresent=o6;me2=true;if(r3||e7.layoutDependency!==n2||n2===void 0||e7.isPresent!==o6){c5.willUpdate()}else{this.safeToRemove()}if(e7.isPresent!==o6){if(o6){c5.promote()}else if(!c5.relegate()){C.postRender(()=>{const a3=c5.getStack();if(!a3||!a3.members.length){this.safeToRemove()}})}}return null}componentDidUpdate(){const{projection:e7}=this.props.visualElement;if(e7){e7.root.didUpdate();An2.postRender(()=>{if(!e7.currentAnimation&&e7.isLead()){this.safeToRemove()}})}}componentWillUnmount(){const{visualElement:e7,layoutGroup:n2,switchLayoutGroup:s2}=this.props;const{projection:r3}=e7;me2=true;if(r3){r3.scheduleCheckAfterUnmount();if(n2&&n2.group)n2.group.remove(r3);if(s2&&s2.deregister)s2.deregister(r3)}}safeToRemove(){const{safeToRemove:e7}=this.props;e7&&e7()}render(){return null}};i2(ns,"MeasureLayoutWithContext");var Je4=ns;function $r(t3){const[e7,n2]=Za();const s2=z.useContext(Si);return Ht.jsx(Je4,{...t3,layoutGroup:s2,switchLayoutGroup:z.useContext(Ar),isPresent:e7,safeToRemove:n2})}__name($r,"$r");i2($r,"MeasureLayout");var Dc={borderRadius:{...xt2,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xt2,borderTopRightRadius:xt2,borderBottomLeftRadius:xt2,borderBottomRightRadius:xt2,boxShadow:Cc};function Mc(t3,e7,n2){const s2=F2(t3)?t3:pt2(t3);s2.start(Fn3("",s2,e7,n2));return s2.animation}__name(Mc,"Mc");i2(Mc,"animateSingleValue");var Rc=i2((t3,e7)=>t3.depth-e7.depth,"compareByDepth");var ss=class ss2{static{__name(this,"ss")}constructor(){this.children=[];this.isDirty=false}add(e7){un2(this.children,e7);this.isDirty=true}remove(e7){hn2(this.children,e7);this.isDirty=true}forEach(e7){this.isDirty&&this.children.sort(Rc);this.isDirty=false;this.children.forEach(e7)}};i2(ss,"FlatTree");var tn2=ss;function Ec(t3,e7){const n2=O2.now();const s2=i2(({timestamp:r3})=>{const o6=r3-n2;if(o6>=e7){Q2(s2);t3(o6-e7)}},"checkElapsed");C.setup(s2,true);return()=>Q2(s2)}__name(Ec,"Ec");i2(Ec,"delay");var Hr=["TopLeft","TopRight","BottomLeft","BottomRight"];var Lc=Hr.length;var ti=i2(t3=>typeof t3==="string"?parseFloat(t3):t3,"asNumber");var ei=i2(t3=>typeof t3==="number"||P.test(t3),"isPx");function kc(t3,e7,n2,s2,r3,o6){if(r3){t3.opacity=D(0,n2.opacity??1,Bc(s2));t3.opacityExit=D(e7.opacity??1,0,Fc(s2))}else if(o6){t3.opacity=D(e7.opacity??1,n2.opacity??1,s2)}for(let c5=0;c5{if(s2e7)return 1;return n2(Ct2(t3,e7,s2))}}__name(zr,"zr");i2(zr,"compress");function si(t3,e7){t3.min=e7.min;t3.max=e7.max}__name(si,"si");i2(si,"copyAxisInto");function K2(t3,e7){si(t3.x,e7.x);si(t3.y,e7.y)}__name(K2,"K");i2(K2,"copyBoxInto");function ii(t3,e7){t3.translate=e7.translate;t3.scale=e7.scale;t3.originPoint=e7.originPoint;t3.origin=e7.origin}__name(ii,"ii");i2(ii,"copyAxisDeltaInto");function ri(t3,e7,n2,s2,r3){t3-=e7;t3=Qt2(t3,1/n2,s2);if(r3!==void 0){t3=Qt2(t3,1/r3,s2)}return t3}__name(ri,"ri");i2(ri,"removePointDelta");function Ic(t3,e7=0,n2=1,s2=.5,r3,o6=t3,c5=t3){if(Y2.test(e7)){e7=parseFloat(e7);const l2=D(c5.min,c5.max,e7/100);e7=l2-c5.min}if(typeof e7!=="number")return;let a3=D(o6.min,o6.max,s2);if(t3===o6)a3-=e7;t3.min=ri(t3.min,e7,n2,a3,r3);t3.max=ri(t3.max,e7,n2,a3,r3)}__name(Ic,"Ic");i2(Ic,"removeAxisDelta");function oi(t3,e7,[n2,s2,r3],o6,c5){Ic(t3,e7[n2],e7[s2],e7[r3],e7.scale,o6,c5)}__name(oi,"oi");i2(oi,"removeAxisTransforms");var jc=["x","scaleX","originX"];var Oc=["y","scaleY","originY"];function ai(t3,e7,n2,s2){oi(t3.x,e7,jc,n2?n2.x:void 0,s2?s2.x:void 0);oi(t3.y,e7,Oc,n2?n2.y:void 0,s2?s2.y:void 0)}__name(ai,"ai");i2(ai,"removeBoxTransforms");function li(t3){return t3.translate===0&&t3.scale===1}__name(li,"li");i2(li,"isAxisDeltaZero");function Xr(t3){return li(t3.x)&&li(t3.y)}__name(Xr,"Xr");i2(Xr,"isDeltaZero");function ci(t3,e7){return t3.min===e7.min&&t3.max===e7.max}__name(ci,"ci");i2(ci,"axisEquals");function Nc(t3,e7){return ci(t3.x,e7.x)&&ci(t3.y,e7.y)}__name(Nc,"Nc");i2(Nc,"boxEquals");function ui(t3,e7){return Math.round(t3.min)===Math.round(e7.min)&&Math.round(t3.max)===Math.round(e7.max)}__name(ui,"ui");i2(ui,"axisEqualsRounded");function Yr(t3,e7){return ui(t3.x,e7.x)&&ui(t3.y,e7.y)}__name(Yr,"Yr");i2(Yr,"boxEqualsRounded");function hi(t3){return I2(t3.x)/I2(t3.y)}__name(hi,"hi");i2(hi,"aspectRatio");function fi(t3,e7){return t3.translate===e7.translate&&t3.scale===e7.scale&&t3.originPoint===e7.originPoint}__name(fi,"fi");i2(fi,"axisDeltaEquals");var is=class is2{static{__name(this,"is")}constructor(){this.members=[]}add(e7){un2(this.members,e7);e7.scheduleRender()}remove(e7){hn2(this.members,e7);if(e7===this.prevLead){this.prevLead=void 0}if(e7===this.lead){const n2=this.members[this.members.length-1];if(n2){this.promote(n2)}}}relegate(e7){const n2=this.members.findIndex(r3=>e7===r3);if(n2===0)return false;let s2;for(let r3=n2;r3>=0;r3--){const o6=this.members[r3];if(o6.isPresent!==false){s2=o6;break}}if(s2){this.promote(s2);return true}else{return false}}promote(e7,n2){const s2=this.lead;if(e7===s2)return;this.prevLead=s2;this.lead=e7;e7.show();if(s2){s2.instance&&s2.scheduleRender();e7.scheduleRender();e7.resumeFrom=s2;if(n2){e7.resumeFrom.preserveOpacity=true}if(s2.snapshot){e7.snapshot=s2.snapshot;e7.snapshot.latestValues=s2.animationValues||s2.latestValues}if(e7.root&&e7.root.isUpdating){e7.isLayoutDirty=true}const{crossfade:r3}=e7.options;if(r3===false){s2.hide()}}}exitAnimationComplete(){this.members.forEach(e7=>{const{options:n2,resumingFrom:s2}=e7;n2.onExitComplete&&n2.onExitComplete();if(s2){s2.options.onExitComplete&&s2.options.onExitComplete()}})}scheduleRender(){this.members.forEach(e7=>{e7.instance&&e7.scheduleRender(false)})}removeLeadSnapshot(){if(this.lead&&this.lead.snapshot){this.lead.snapshot=void 0}}};i2(is,"NodeStack");var en2=is;function Uc(t3,e7,n2){let s2="";const r3=t3.x.translate/e7.x;const o6=t3.y.translate/e7.y;const c5=n2?.z||0;if(r3||o6||c5){s2=`translate3d(${r3}px, ${o6}px, ${c5}px) `}if(e7.x!==1||e7.y!==1){s2+=`scale(${1/e7.x}, ${1/e7.y}) `}if(n2){const{transformPerspective:h3,rotate:u6,rotateX:f,rotateY:d2,skewX:m4,skewY:p2}=n2;if(h3)s2=`perspective(${h3}px) ${s2}`;if(u6)s2+=`rotate(${u6}deg) `;if(f)s2+=`rotateX(${f}deg) `;if(d2)s2+=`rotateY(${d2}deg) `;if(m4)s2+=`skewX(${m4}deg) `;if(p2)s2+=`skewY(${p2}deg) `}const a3=t3.x.scale*e7.x;const l2=t3.y.scale*e7.y;if(a3!==1||l2!==1){s2+=`scale(${a3}, ${l2})`}return s2||"none"}__name(Uc,"Uc");i2(Uc,"buildProjectionTransform");var pe3=["","X","Y","Z"];var Kc=1e3;var Wc=0;function ge2(t3,e7,n2,s2){const{latestValues:r3}=e7;if(r3[t3]){n2[t3]=r3[t3];e7.setStaticValue(t3,0);if(s2){s2[t3]=0}}}__name(ge2,"ge");i2(ge2,"resetDistortingTransform");function Gr(t3){t3.hasCheckedOptimisedAppear=true;if(t3.root===t3)return;const{visualElement:e7}=t3.options;if(!e7)return;const n2=Br(e7);if(window.MotionHasOptimisedAnimation(n2,"transform")){const{layout:r3,layoutId:o6}=t3.options;window.MotionCancelOptimisedAnimation(n2,"transform",C,!(r3||o6))}const{parent:s2}=t3;if(s2&&!s2.hasCheckedOptimisedAppear){Gr(s2)}}__name(Gr,"Gr");i2(Gr,"cancelTreeOptimisedTransformAnimations");function qr({attachResizeListener:t3,defaultParent:e7,measureScroll:n2,checkIsScrollRoot:s2,resetTransform:r3}){var o6;return o6=class{static{__name(this,"o")}constructor(a3={},l2=e7?.()){this.id=Wc++;this.animationId=0;this.animationCommitId=0;this.children=new Set;this.options={};this.isTreeAnimating=false;this.isAnimationBlocked=false;this.isLayoutDirty=false;this.isProjectionDirty=false;this.isSharedProjectionDirty=false;this.isTransformDirty=false;this.updateManuallyBlocked=false;this.updateBlockedByResize=false;this.isUpdating=false;this.isSVG=false;this.needsReset=false;this.shouldResetTransform=false;this.hasCheckedOptimisedAppear=false;this.treeScale={x:1,y:1};this.eventHandlers=new Map;this.hasTreeAnimated=false;this.updateScheduled=false;this.scheduleUpdate=()=>this.update();this.projectionUpdateScheduled=false;this.checkUpdateFailed=()=>{if(this.isUpdating){this.isUpdating=false;this.clearAllSnapshots()}};this.updateProjection=()=>{this.projectionUpdateScheduled=false;this.nodes.forEach(zc);this.nodes.forEach(qc);this.nodes.forEach(_c);this.nodes.forEach(Xc)};this.resolvedRelativeTargetAt=0;this.hasProjected=false;this.isVisible=true;this.animationProgress=0;this.sharedNodes=new Map;this.latestValues=a3;this.root=l2?l2.root||l2:this;this.path=l2?[...l2.path,l2]:[];this.parent=l2;this.depth=l2?l2.depth+1:0;for(let h3=0;h3this.root.updateBlockedByResize=false,"resizeUnblockUpdate");C.read(()=>{d2=window.innerWidth});t3(a3,()=>{const p2=window.innerWidth;if(p2===d2)return;d2=p2;this.root.updateBlockedByResize=true;f&&f();f=Ec(m4,250);if(Yt2.hasAnimatedSinceResize){Yt2.hasAnimatedSinceResize=false;this.nodes.forEach(pi)}})}if(l2){this.root.registerSharedNode(l2,this)}if(this.options.animate!==false&&u6&&(l2||h3)){this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d2,hasRelativeLayoutChanged:m4,layout:p2})=>{if(this.isTreeAnimationBlocked()){this.target=void 0;this.relativeTarget=void 0;return}const v2=this.options.transition||u6.getDefaultTransition()||eu;const{onLayoutAnimationStart:T3,onLayoutAnimationComplete:g}=u6.getProps();const x2=!this.targetLayout||!Yr(this.targetLayout,p2);const y4=!d2&&m4;if(this.options.layoutRoot||this.resumeFrom||y4||d2&&(x2||!this.currentAnimation)){if(this.resumeFrom){this.resumingFrom=this.resumeFrom;this.resumingFrom.resumingFrom=void 0}const w3={...Sn2(v2,"layout"),onPlay:T3,onComplete:g};if(u6.shouldReduceMotion||this.options.layoutRoot){w3.delay=0;w3.type=false}this.startAnimation(w3);this.setAnimationOrigin(f,y4)}else{if(!d2){pi(this)}if(this.isLead()&&this.options.onExitComplete){this.options.onExitComplete()}}this.targetLayout=p2})}}unmount(){this.options.layoutId&&this.willUpdate();this.root.nodes.remove(this);const a3=this.getStack();a3&&a3.remove(this);this.parent&&this.parent.children.delete(this);this.instance=void 0;this.eventHandlers.clear();Q2(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=true}unblockUpdate(){this.updateManuallyBlocked=false}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||false}startUpdate(){if(this.isUpdateBlocked())return;this.isUpdating=true;this.nodes&&this.nodes.forEach(Zc);this.animationId++}getTransformTemplate(){const{visualElement:a3}=this.options;return a3&&a3.getProps().transformTemplate}willUpdate(a3=true){this.root.hasTreeAnimated=true;if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear){Gr(this)}!this.root.isUpdating&&this.root.startUpdate();if(this.isLayoutDirty)return;this.isLayoutDirty=true;for(let f=0;f{if(this.isLayoutDirty){this.root.didUpdate()}else{this.root.checkUpdateFailed()}})}updateSnapshot(){if(this.snapshot||!this.instance)return;this.snapshot=this.measure();if(this.snapshot&&!I2(this.snapshot.measuredBox.x)&&!I2(this.snapshot.measuredBox.y)){this.snapshot=void 0}}updateLayout(){if(!this.instance)return;this.updateScroll();if(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty){return}if(this.resumeFrom&&!this.resumeFrom.instance){for(let h3=0;h3{const V3=b/1e3;gi(d2.x,a3.x,V3);gi(d2.y,a3.y,V3);this.setTargetDelta(d2);if(this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){Vt2(m4,this.layout.layoutBox,this.relativeParent.layout.layoutBox);Jc(this.relativeTarget,this.relativeTargetOrigin,m4,V3);if(w3&&Nc(this.relativeTarget,w3)){this.isProjectionDirty=false}if(!w3)w3=R2();K2(w3,this.relativeTarget)}if(T3){this.animationValues=f;kc(f,u6,this.latestValues,V3,y4,x2)}this.root.scheduleUpdateProjection();this.scheduleRender();this.animationProgress=V3};this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a3){this.notifyListeners("animationStart");this.currentAnimation?.stop();this.resumingFrom?.currentAnimation?.stop();if(this.pendingAnimation){Q2(this.pendingAnimation);this.pendingAnimation=void 0}this.pendingAnimation=C.update(()=>{Yt2.hasAnimatedSinceResize=true;this.motionValue||(this.motionValue=pt2(0));this.currentAnimation=Mc(this.motionValue,[0,1e3],{...a3,velocity:0,isSync:true,onUpdate:i2(l2=>{this.mixTargetDelta(l2);a3.onUpdate&&a3.onUpdate(l2)},"onUpdate"),onStop:i2(()=>{},"onStop"),onComplete:i2(()=>{a3.onComplete&&a3.onComplete();this.completeAnimation()},"onComplete")});if(this.resumingFrom){this.resumingFrom.currentAnimation=this.currentAnimation}this.pendingAnimation=void 0})}completeAnimation(){if(this.resumingFrom){this.resumingFrom.currentAnimation=void 0;this.resumingFrom.preserveOpacity=void 0}const a3=this.getStack();a3&&a3.exitAnimationComplete();this.resumingFrom=this.currentAnimation=this.animationValues=void 0;this.notifyListeners("animationComplete")}finishAnimation(){if(this.currentAnimation){this.mixTargetDelta&&this.mixTargetDelta(Kc);this.currentAnimation.stop()}this.completeAnimation()}applyTransformsToTarget(){const a3=this.getLead();let{targetWithTransforms:l2,target:h3,layout:u6,latestValues:f}=a3;if(!l2||!h3||!u6)return;if(this!==a3&&this.layout&&u6&&_r(this.options.animationType,this.layout.layoutBox,u6.layoutBox)){h3=this.target||R2();const d2=I2(this.layout.layoutBox.x);h3.x.min=a3.target.x.min;h3.x.max=h3.x.min+d2;const m4=I2(this.layout.layoutBox.y);h3.y.min=a3.target.y.min;h3.y.max=h3.y.min+m4}K2(l2,h3);ft2(l2,f);At(this.projectionDeltaWithTransform,this.layoutCorrected,l2,f)}registerSharedNode(a3,l2){if(!this.sharedNodes.has(a3)){this.sharedNodes.set(a3,new en2)}const h3=this.sharedNodes.get(a3);h3.add(l2);const u6=l2.options.initialPromotionConfig;l2.promote({transition:u6?u6.transition:void 0,preserveFollowOpacity:u6&&u6.shouldPreserveFollowOpacity?u6.shouldPreserveFollowOpacity(l2):void 0})}isLead(){const a3=this.getStack();return a3?a3.lead===this:true}getLead(){const{layoutId:a3}=this.options;return a3?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a3}=this.options;return a3?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a3}=this.options;if(a3)return this.root.sharedNodes.get(a3)}promote({needsReset:a3,transition:l2,preserveFollowOpacity:h3}={}){const u6=this.getStack();if(u6)u6.promote(this,h3);if(a3){this.projectionDelta=void 0;this.needsReset=true}if(l2)this.setOptions({transition:l2})}relegate(){const a3=this.getStack();if(a3){return a3.relegate(this)}else{return false}}resetSkewAndRotation(){const{visualElement:a3}=this.options;if(!a3)return;let l2=false;const{latestValues:h3}=a3;if(h3.z||h3.rotate||h3.rotateX||h3.rotateY||h3.rotateZ||h3.skewX||h3.skewY){l2=true}if(!l2)return;const u6={};if(h3.z){ge2("z",a3,u6,this.animationValues)}for(let f=0;fa3.currentAnimation?.stop());this.root.nodes.forEach(di);this.root.sharedNodes.clear()}},i2(o6,"ProjectionNode"),o6}__name(qr,"qr");i2(qr,"createProjectionNode");function $c(t3){t3.updateLayout()}__name($c,"$c");i2($c,"updateLayout");function Hc(t3){const e7=t3.resumeFrom?.snapshot||t3.snapshot;if(t3.isLead()&&t3.layout&&e7&&t3.hasListeners("didUpdate")){const{layoutBox:n2,measuredBox:s2}=t3.layout;const{animationType:r3}=t3.options;const o6=e7.source!==t3.layout.source;if(r3==="size"){W3(u6=>{const f=o6?e7.measuredBox[u6]:e7.layoutBox[u6];const d2=I2(f);f.min=n2[u6].min;f.max=f.min+d2})}else if(_r(r3,e7.layoutBox,n2)){W3(u6=>{const f=o6?e7.measuredBox[u6]:e7.layoutBox[u6];const d2=I2(n2[u6]);f.max=f.min+d2;if(t3.relativeTarget&&!t3.currentAnimation){t3.isProjectionDirty=true;t3.relativeTarget[u6].max=t3.relativeTarget[u6].min+d2}})}const c5=dt4();At(c5,n2,e7.layoutBox);const a3=dt4();if(o6){At(a3,t3.applyTransform(s2,true),e7.measuredBox)}else{At(a3,n2,e7.layoutBox)}const l2=!Xr(c5);let h3=false;if(!t3.resumeFrom){const u6=t3.getClosestProjectingParent();if(u6&&!u6.resumeFrom){const{snapshot:f,layout:d2}=u6;if(f&&d2){const m4=R2();Vt2(m4,e7.layoutBox,f.layoutBox);const p2=R2();Vt2(p2,n2,d2.layoutBox);if(!Yr(m4,p2)){h3=true}if(u6.options.layoutRoot){t3.relativeTarget=p2;t3.relativeTargetOrigin=m4;t3.relativeParent=u6}}}}t3.notifyListeners("didUpdate",{layout:n2,snapshot:e7,delta:a3,layoutDelta:c5,hasLayoutChanged:l2,hasRelativeLayoutChanged:h3})}else if(t3.isLead()){const{onExitComplete:n2}=t3.options;n2&&n2()}t3.options.transition=void 0}__name(Hc,"Hc");i2(Hc,"notifyLayoutUpdate");function zc(t3){if(!t3.parent)return;if(!t3.isProjecting()){t3.isProjectionDirty=t3.parent.isProjectionDirty}t3.isSharedProjectionDirty||(t3.isSharedProjectionDirty=Boolean(t3.isProjectionDirty||t3.parent.isProjectionDirty||t3.parent.isSharedProjectionDirty));t3.isTransformDirty||(t3.isTransformDirty=t3.parent.isTransformDirty)}__name(zc,"zc");i2(zc,"propagateDirtyNodes");function Xc(t3){t3.isProjectionDirty=t3.isSharedProjectionDirty=t3.isTransformDirty=false}__name(Xc,"Xc");i2(Xc,"cleanDirtyNodes");function Yc(t3){t3.clearSnapshot()}__name(Yc,"Yc");i2(Yc,"clearSnapshot");function di(t3){t3.clearMeasurements()}__name(di,"di");i2(di,"clearMeasurements");function mi(t3){t3.isLayoutDirty=false}__name(mi,"mi");i2(mi,"clearIsLayoutDirty");function Gc(t3){const{visualElement:e7}=t3.options;if(e7&&e7.getProps().onBeforeLayoutMeasure){e7.notify("BeforeLayoutMeasure")}t3.resetTransform()}__name(Gc,"Gc");i2(Gc,"resetTransformStyle");function pi(t3){t3.finishAnimation();t3.targetDelta=t3.relativeTarget=t3.target=void 0;t3.isProjectionDirty=true}__name(pi,"pi");i2(pi,"finishAnimation");function qc(t3){t3.resolveTargetDelta()}__name(qc,"qc");i2(qc,"resolveTargetDelta");function _c(t3){t3.calcProjection()}__name(_c,"_c");i2(_c,"calcProjection");function Zc(t3){t3.resetSkewAndRotation()}__name(Zc,"Zc");i2(Zc,"resetSkewAndRotation");function Qc(t3){t3.removeLeadSnapshot()}__name(Qc,"Qc");i2(Qc,"removeLeadSnapshots");function gi(t3,e7,n2){t3.translate=D(e7.translate,0,n2);t3.scale=D(e7.scale,1,n2);t3.origin=e7.origin;t3.originPoint=e7.originPoint}__name(gi,"gi");i2(gi,"mixAxisDelta");function yi(t3,e7,n2,s2){t3.min=D(e7.min,n2.min,s2);t3.max=D(e7.max,n2.max,s2)}__name(yi,"yi");i2(yi,"mixAxis");function Jc(t3,e7,n2,s2){yi(t3.x,e7.x,n2.x,s2);yi(t3.y,e7.y,n2.y,s2)}__name(Jc,"Jc");i2(Jc,"mixBox");function tu(t3){return t3.animationValues&&t3.animationValues.opacityExit!==void 0}__name(tu,"tu");i2(tu,"hasOpacityCrossfade");var eu={duration:.45,ease:[.4,0,.1,1]};var vi=i2(t3=>typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t3),"userAgentContains");var Ti=vi("applewebkit/")&&!vi("chrome/")?Math.round:H;function xi(t3){t3.min=Ti(t3.min);t3.max=Ti(t3.max)}__name(xi,"xi");i2(xi,"roundAxis");function nu(t3){xi(t3.x);xi(t3.y)}__name(nu,"nu");i2(nu,"roundBox");function _r(t3,e7,n2){return t3==="position"||t3==="preserve-aspect"&&!mc(hi(e7),hi(n2),.2)}__name(_r,"_r");i2(_r,"shouldAnimatePositionOnly");function su2(t3){return t3!==t3.root&&t3.scroll?.wasRoot}__name(su2,"su");i2(su2,"checkNodeWasScrollRoot");var iu=qr({attachResizeListener:i2((t3,e7)=>It2(t3,"resize",e7),"attachResizeListener"),measureScroll:i2(()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),"measureScroll"),checkIsScrollRoot:i2(()=>true,"checkIsScrollRoot")});var ye3={current:void 0};var Zr=qr({measureScroll:i2(t3=>({x:t3.scrollLeft,y:t3.scrollTop}),"measureScroll"),defaultParent:i2(()=>{if(!ye3.current){const t3=new iu({});t3.mount(window);t3.setOptions({layoutScroll:true});ye3.current=t3}return ye3.current},"defaultParent"),resetTransform:i2((t3,e7)=>{t3.style.transform=e7!==void 0?e7:"none"},"resetTransform"),checkIsScrollRoot:i2(t3=>Boolean(window.getComputedStyle(t3).position==="fixed"),"checkIsScrollRoot")});var ru2={pan:{Feature:Qe4},drag:{Feature:Ze4,ProjectionNode:Zr,MeasureLayout:$r}};function Pi(t3,e7,n2){const{props:s2}=t3;if(t3.animationState&&s2.whileHover){t3.animationState.setActive("whileHover",n2==="Start")}const r3="onHover"+n2;const o6=s2[r3];if(o6){C.postRender(()=>o6(e7,Ut(e7)))}}__name(Pi,"Pi");i2(Pi,"handleHoverEvent");var rs=class rs2 extends G2{static{__name(this,"rs")}mount(){const{current:e7}=this.node;if(!e7)return;this.unmount=$a(e7,(n2,s2)=>{Pi(this.node,s2,"Start");return r3=>Pi(this.node,r3,"End")})}unmount(){}};i2(rs,"HoverGesture");var nn2=rs;var os=class os2 extends G2{static{__name(this,"os")}constructor(){super(...arguments);this.isActive=false}onFocus(){let e7=false;try{e7=this.node.current.matches(":focus-visible")}catch(n2){e7=true}if(!e7||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",true);this.isActive=true}onBlur(){if(!this.isActive||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",false);this.isActive=false}mount(){this.unmount=jt(It2(this.node.current,"focus",()=>this.onFocus()),It2(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};i2(os,"FocusGesture");var sn3=os;function bi(t3,e7,n2){const{props:s2}=t3;if(t3.current instanceof HTMLButtonElement&&t3.current.disabled){return}if(t3.animationState&&s2.whileTap){t3.animationState.setActive("whileTap",n2==="Start")}const r3="onTap"+(n2==="End"?"":n2);const o6=s2[r3];if(o6){C.postRender(()=>o6(e7,Ut(e7)))}}__name(bi,"bi");i2(bi,"handlePressEvent");var as=class as2 extends G2{static{__name(this,"as")}mount(){const{current:e7}=this.node;if(!e7)return;this.unmount=Ya(e7,(n2,s2)=>{bi(this.node,s2,"Start");return(r3,{success:o6})=>bi(this.node,r3,o6?"End":"Cancel")},{useGlobalTarget:this.node.props.globalTapTarget})}unmount(){}};i2(as,"PressGesture");var rn3=as;var on3=new WeakMap;var ve2=new WeakMap;var ou2=i2(t3=>{const e7=on3.get(t3.target);e7&&e7(t3)},"fireObserverCallback");var au=i2(t3=>{t3.forEach(ou2)},"fireAllObserverCallbacks");function lu({root:t3,...e7}){const n2=t3||document;if(!ve2.has(n2)){ve2.set(n2,{})}const s2=ve2.get(n2);const r3=JSON.stringify(e7);if(!s2[r3]){s2[r3]=new IntersectionObserver(au,{root:t3,...e7})}return s2[r3]}__name(lu,"lu");i2(lu,"initIntersectionObserver");function cu2(t3,e7,n2){const s2=lu(e7);on3.set(t3,n2);s2.observe(t3);return()=>{on3.delete(t3);s2.unobserve(t3)}}__name(cu2,"cu");i2(cu2,"observeIntersection");var uu={some:0,all:1};var ls=class ls2 extends G2{static{__name(this,"ls")}constructor(){super(...arguments);this.hasEnteredView=false;this.isInView=false}startObserver(){this.unmount();const{viewport:e7={}}=this.node.getProps();const{root:n2,margin:s2,amount:r3="some",once:o6}=e7;const c5={root:n2?n2.current:void 0,rootMargin:s2,threshold:typeof r3==="number"?r3:uu[r3]};const a3=i2(l2=>{const{isIntersecting:h3}=l2;if(this.isInView===h3)return;this.isInView=h3;if(o6&&!h3&&this.hasEnteredView){return}else if(h3){this.hasEnteredView=true}if(this.node.animationState){this.node.animationState.setActive("whileInView",h3)}const{onViewportEnter:u6,onViewportLeave:f}=this.node.getProps();const d2=h3?u6:f;d2&&d2(l2)},"onIntersectionUpdate");return cu2(this.node.current,c5,a3)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver==="undefined")return;const{props:e7,prevProps:n2}=this.node;const s2=["amount","margin","root"].some(hu(e7,n2));if(s2){this.startObserver()}}unmount(){}};i2(ls,"InViewFeature");var an2=ls;function hu({viewport:t3={}},{viewport:e7={}}={}){return n2=>t3[n2]!==e7[n2]}__name(hu,"hu");i2(hu,"hasViewportOptionChanged");var fu2={inView:{Feature:an2},tap:{Feature:rn3},focus:{Feature:sn3},hover:{Feature:nn2}};var du2={layout:{ProjectionNode:Zr,MeasureLayout:$r}};var mu={...lc,...fu2,...ru2,...du2};var yu=Ml(mu,Nl);var t=Object.defineProperty;var o=__name((e7,r3)=>t(e7,"name",{value:r3,configurable:true}),"o");function p(){!Er.current&&Bl();const[e7]=z.useState(Ue4.current);return e7}__name(p,"p");o(p,"useReducedMotion");var e=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]];var l=qv("sparkles",e);var o2=[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]];var e2=qv("droplets",o2);var e3=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]];var o3=qv("shield-check",e3);var e4=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]];var h=qv("sun",e4);var r=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]];var c2=qv("arrow-right",r);var i3=Object.defineProperty;var r2=__name((e7,a3)=>i3(e7,"name",{value:a3,configurable:true}),"r");var u4=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]];var h2=qv("loader",u4);var m="Label";var d=z.forwardRef((e7,a3)=>{return Ht.jsx(sn.label,{...e7,ref:a3,onMouseDown:r2(t3=>{const s2=t3.target;if(s2.closest("button, input, select, textarea"))return;e7.onMouseDown?.(t3);if(!t3.defaultPrevented&&t3.detail>1)t3.preventDefault()},"onMouseDown")})});d.displayName=m;var y2=d;function x({className:e7,...a3}){return Ht.jsx(y2,{"data-slot":"label",className:nv("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e7),...a3})}__name(x,"x");r2(x,"Label");var o4=Object.defineProperty;var i4=__name((T3,t3)=>o4(T3,"name",{value:t3,configurable:true}),"i");var n=["wp:featuredmedia","wp:term"];var R3=[];var s={DROPDOWN:"dropdown",CHECKBOXES:"checkboxes",RANGE:"range"};var D2={"taxonomy":s.CHECKBOXES,"attribute":s.DROPDOWN,"price":s.RANGE,"meta":s.DROPDOWN};var E4=class E5{static{__name(this,"E")}static defaultViewType(t3){return D2[t3]??s.DROPDOWN}constructor(t3){this.key=t3.key;this.label=t3.label;this.type=t3.type;this.viewType=t3.viewType??E5.defaultViewType(t3.type);this.options=t3.options??[]}toJSON(){return{key:this.key,label:this.label,type:this.type,viewType:this.viewType,options:this.options}}static fromJSON(t3){return new E5(t3)}};i4(E4,"EcommerceFilterParam");E4.TAXONOMY="taxonomy";E4.ATTRIBUTE="attribute";E4.PRICE="price";E4.META="meta";var e5=E4;var Te2=Object.defineProperty;var a=__name((e7,t3)=>Te2(e7,"name",{value:t3,configurable:true}),"a");var fe3=["category","tag","product_cat","product_tag","product_brand"];var w=class w2{static{__name(this,"w")}constructor(t3){this.query=null;this.query_vars={};this.tax_query=null;this.meta_query=false;this.date_query=false;this.queried_object=null;this.queried_object_id=null;this.is_single=false;this.is_preview=false;this.is_page=false;this.is_archive=false;this.is_date=false;this.is_year=false;this.is_month=false;this.is_day=false;this.is_time=false;this.is_author=false;this.is_category=false;this.is_tag=false;this.is_tax=false;this.is_search=false;this.is_feed=false;this.is_comment_feed=false;this.is_trackback=false;this.is_home=false;this.is_privacy_policy=false;this.is_404=false;this.is_embed=false;this.is_paged=false;this.is_admin=false;this.is_attachment=false;this.is_singular=false;this.is_robots=false;this.is_favicon=false;this.is_posts_page=false;this.is_post_type_archive=false;this.thumbnails_cached=false;this.query_vars_hash=false;this.query_vars_changed=true;this.allow_query_attachment_by_filename=false;this.stopwords=null;this.query_cache_key="";if(t3){let s2;if(typeof t3==="string"){try{s2=JSON.parse(t3);this.query=s2}catch{this.query={};s2={}}}else{s2=t3;this.query=t3}this.query_vars={...this.query};if("tax_query"in s2){this.tax_query=s2.tax_query}if("meta_query"in s2){this.meta_query=s2.meta_query}if("date_query"in s2){this.date_query=s2.date_query}}this.query_vars_hash=false;this.query_vars_changed=true;this.query_cache_key=""}init_query_flags(){this.is_single=false;this.is_preview=false;this.is_page=false;this.is_archive=false;this.is_date=false;this.is_year=false;this.is_month=false;this.is_day=false;this.is_time=false;this.is_author=false;this.is_category=false;this.is_tag=false;this.is_tax=false;this.is_search=false;this.is_feed=false;this.is_comment_feed=false;this.is_trackback=false;this.is_home=false;this.is_privacy_policy=false;this.is_404=false;this.is_embed=false;this.is_paged=false;this.is_admin=false;this.is_attachment=false;this.is_singular=false;this.is_robots=false;this.is_favicon=false;this.is_posts_page=false;this.is_post_type_archive=false}init(){this.query=null;this.query_vars={};this.queried_object=null;this.queried_object_id=null;this.tax_query=null;this.meta_query=false;this.date_query=false;this.query_vars_hash=false;this.query_vars_changed=true;this.query_cache_key="";this.init_query_flags()}get(t3,s2=""){if(this.query_vars[t3]!==void 0){return this.query_vars[t3]}return s2}set(t3,s2){this.query_vars[t3]=s2;this.query_vars_changed=true}parse_query_vars(){this.query_vars=this.fill_query_vars(this.query_vars);const t3=this.get("post_type");const s2=Array.isArray(t3)?t3.length>0?String(t3[0]):"post":t3?String(t3):"post";let r3=[...fe3];let c5=[];if(typeof wvcClient!=="undefined"&&wvcClient){const u6=wvcClient.get_allowed_taxonomies?.(s2);if(Array.isArray(u6)&&u6.length>0){r3=[...new Set([...fe3,...u6])]}const i5=wvcClient.get_allowed_meta?.(s2);if(Array.isArray(i5)&&i5.length>0){c5=i5}}const o6=new Set(["error","m","p","post_parent","subpost","subpost_id","attachment","attachment_id","name","pagename","page_id","second","minute","hour","day","monthnum","year","w","category_name","tag","cat","tag_id","author","author_name","feed","tb","paged","meta_key","meta_value","preview","s","sentence","title","menu_order","category__in","category__not_in","category__and","post__in","post__not_in","post_name__in","tag__in","tag__not_in","tag__and","tag_slug__in","tag_slug__and","post_parent__in","post_parent__not_in","author__in","author__not_in","search_columns","post_type","post_status","posts_per_page","posts_per_archive_page","nopaging","offset","order","orderby","ignore_sticky_posts","suppress_filters","no_found_rows","per_page","page","search","status","slug","include","exclude","type","parent","min_price","max_price"]);for(const u6 in this.query_vars){const i5=this.query_vars[u6];if(i5===void 0||i5===null||i5===""||o6.has(u6)){continue}if(!r3.includes(u6)&&!c5.includes(u6));}const _2=r3.filter(u6=>c5.includes(u6));if(_2.length>0&&typeof console!=="undefined"&&console.warn){console.warn(`WP_Query: Name collision detected between taxonomies and meta fields for post_type "${s2}": ${_2.join(", ")}. Taxonomies will take precedence. To use as meta fields, remove from allowed taxonomies or use meta_query directly.`)}const l2=[];const g=[];for(const u6 of r3){const i5=this.query_vars[u6];if(i5!==void 0&&i5!==null&&i5!==""){const y4=Array.isArray(i5)?i5:[i5];if(y4.length>0&&y4.some(m4=>m4!==null&&m4!==void 0&&m4!=="")){l2.push({taxonomy:u6,field:"term_id",terms:y4.filter(m4=>m4!==null&&m4!==void 0&&m4!==""),operator:"IN"});g.push(u6)}}}if(l2.length>0){if(this.tax_query&&typeof this.tax_query==="object"){let i5=[];let y4="AND";if(Array.isArray(this.tax_query)){const d2=this.tax_query;if(d2.length>0&&"relation"in(d2[0]||{})){y4=d2[0].relation||"AND";i5=d2.slice(1)}else{i5=d2}}else{const d2=this.tax_query;y4=d2.relation||"AND";i5=Object.keys(d2).filter(S4=>S4!=="relation"&&!isNaN(Number(S4))).sort((S4,O4)=>Number(S4)-Number(O4)).map(S4=>d2[S4]).filter(S4=>S4&&typeof S4==="object")}const m4=new Set(l2.map(d2=>d2.taxonomy).filter(d2=>typeof d2==="string"&&d2.length>0));const h3=i5.filter(d2=>{const S4=d2?.taxonomy;return!(typeof S4==="string"&&m4.has(S4))});const q5=[...h3,...l2];if(q5.length===1){this.tax_query=q5}else{this.tax_query={relation:y4,...q5.reduce((d2,S4,O4)=>({...d2,[String(O4)]:S4}),{})}}}else{if(l2.length===1){this.tax_query=l2}else{this.tax_query={relation:"AND",...l2.reduce((i5,y4,m4)=>({...i5,[String(m4)]:y4}),{})}}}const u6={};for(const i5 in this.query_vars){if(!g.includes(i5)){u6[i5]=this.query_vars[i5]}}this.query_vars=u6}const f=[];const T3=[];if(this.query_vars.meta_key!==void 0&&this.query_vars.meta_key!==null&&this.query_vars.meta_key!==""){const u6=String(this.query_vars.meta_key);const i5=this.query_vars.meta_value;if(i5!==void 0&&i5!==null&&i5!==""){f.push({key:u6,value:i5,compare:"="});T3.push("meta_key","meta_value")}}for(const u6 of c5){if(g.includes(u6)){continue}const i5=this.query_vars[u6];if(i5!==void 0&&i5!==null&&i5!==""){f.push({key:u6,value:i5,compare:"="});T3.push(u6)}}if(f.length>0){if(this.meta_query&&typeof this.meta_query==="object"){let i5=[];let y4="AND";if(Array.isArray(this.meta_query)){const h3=this.meta_query;if(h3.length>0&&"relation"in(h3[0]||{})){y4=h3[0].relation||"AND";i5=h3.slice(1)}else{i5=h3}}else{const h3=this.meta_query;y4=h3.relation||"AND";i5=Object.keys(h3).filter(q5=>q5!=="relation"&&!isNaN(Number(q5))).sort((q5,d2)=>Number(q5)-Number(d2)).map(q5=>h3[q5]).filter(q5=>q5&&typeof q5==="object")}const m4=[...i5,...f];if(m4.length===1){this.meta_query=m4}else{this.meta_query={relation:y4,...m4.reduce((h3,q5,d2)=>({...h3,[String(d2)]:q5}),{})}}}else{if(f.length===1){this.meta_query=f}else{this.meta_query={relation:"AND",...f.reduce((i5,y4,m4)=>({...i5,[String(m4)]:y4}),{})}}}const u6={};for(const i5 in this.query_vars){if(!T3.includes(i5)){u6[i5]=this.query_vars[i5]}}this.query_vars=u6}const E7=this.generate_query_vars_hash(this.query_vars);if(E7!==this.query_vars_hash){this.query_vars_changed=true;this.query_vars_hash=E7}}generate_query_vars_hash(t3){try{const s2=JSON.stringify(t3);let r3=0;for(let c5=0;c5{if(!e7)return void 0;if(typeof e7==="string")return e7;if(typeof e7==="object"&&typeof e7.rendered==="string"){return e7.rendered}return void 0},"safeExtractText");var $e4=a(e7=>{const t3=e7?.prices??{};const s2=t3?.currency_minor_unit!=null;const r3=s2?Number(t3.currency_minor_unit):0;const c5=r3>0?Math.pow(10,r3):1;const o6=a(M4=>{if(M4==null||M4==="")return void 0;return Number(M4)/c5},"toMajor");const _2=t3?.regular_price??e7?.price;const l2=t3?.sale_price??e7?.discounted_price;const g=o6(_2)??0;const f=o6(l2)??g;let T3;let E7;if(t3?.price_range){T3=o6(t3.price_range.min_amount);E7=o6(t3.price_range.max_amount)}const u6=t3?.currency_code?String(t3.currency_code):"USD";const i5=t3?.currency_symbol?rS(String(t3.currency_symbol)):"$";const y4=t3?.currency_prefix!=null?rS(String(t3.currency_prefix)):void 0;const m4=t3?.currency_suffix!=null?rS(String(t3.currency_suffix)):void 0;const h3=t3?.currency_decimal_separator?String(t3.currency_decimal_separator):".";const q5=t3?.currency_thousand_separator!=null?String(t3.currency_thousand_separator):",";const d2=a(M4=>{const V3=s2?r3:2;const[R4,B3]=M4.toFixed(V3).split(".");const A=R4.replace(/B(?=(d{3})+(?!d))/g,q5||"");const p2=B3?`${A}${h3}${B3}`:A;const P4=y4??i5??"";const F4=m4??"";return`${P4}${p2}${F4}`},"formatAmount");const S4=d2(g);const O4=d2(f);const $5=e7?.on_sale!=null?Boolean(e7.on_sale):f{if(!Array.isArray(e7))return[];return e7.map(t3=>({id:t3?.id??t3?.term_id,name:rS(String(t3?.name??t3?.label??"")),slug:String(t3?.slug??t3?.value??""),default:Boolean(t3?.default)})).filter(t3=>t3.name&&t3.slug)},"normalizeAttributeTerms");var Ve4=a(e7=>{const t3=e7?.attributes;if(!Array.isArray(t3)||t3.length===0)return void 0;const s2=t3.filter(r3=>r3&&(r3.variation===true||r3.has_variations===true||Array.isArray(r3.terms))).map(r3=>({id:r3?.id,name:rS(String(r3?.name??"")),taxonomy:r3?.taxonomy?String(r3.taxonomy):void 0,has_variations:Boolean(r3?.variation??r3?.has_variations??true),terms:De3(r3?.terms??[])})).filter(r3=>r3.name&&r3.terms.length>0);return s2.length>0?s2:void 0},"normalizeAttributes");var Le4=a(e7=>{if(!Array.isArray(e7?.variations)||e7.variations.length===0)return void 0;const t3=e7.variations.map(s2=>{if(typeof s2==="number"||typeof s2==="string"){return{id:s2,attributes:[]}}return{id:s2?.id??s2?.variation_id,attributes:Array.isArray(s2?.attributes)?s2.attributes.map(r3=>({name:String(r3?.name??""),value:String(r3?.value??"")})):[]}}).filter(s2=>s2.id!=null);return t3.length>0?t3:void 0},"normalizeVariationRefs");var he2=a(e7=>{if(Array.isArray(e7?.attributes)&&e7.attributes.length>0){return e7.attributes.map(c5=>({name:String(c5?.name??c5?.id??""),value:String(c5?.value??"")})).filter(c5=>c5.name&&c5.value)}const t3=[];const s2=String(e7?.permalink??e7?.link??"");if(s2){try{const c5=new URL(s2,"http://localhost");c5.searchParams.forEach((o6,_2)=>{if(_2.startsWith("attribute_")){t3.push({name:_2.slice("attribute_".length),value:o6})}})}catch{}}if(t3.length>0){return t3}const r3=e7?.variation;if(typeof r3==="string"&&r3.trim()){for(const c5 of r3.split(",")){const o6=c5.indexOf(":");if(o6===-1)continue;const _2=c5.slice(0,o6).trim();const l2=c5.slice(o6+1).trim();if(_2&&l2){t3.push({name:_2,value:l2})}}}return t3},"extractVariationAttributePairs");var Qe5=a(e7=>{const t3=e7;if(t3.variation_attribute_values?.length){return t3.variation_attribute_values}const s2=e7?.attributes;if(Array.isArray(s2)&&s2.length>0&&s2[0]&&typeof s2[0]==="object"&&"value"in s2[0]){return s2.map(r3=>({name:String(r3?.name??""),value:String(r3?.value??"")}))}return he2(e7)},"getVariationAttributePairs");var Be4=a(e7=>{const t3=String(e7?.type??e7?.product_type??"simple").toLowerCase();if(t3==="variable"||t3==="variation"||t3==="external"||t3==="grouped"){return t3}return"simple"},"resolveProductType");var He4=a(e7=>{if(typeof e7?.product_url==="string"&&e7.product_url.trim()){return e7.product_url.trim()}if(typeof e7?.external_url==="string"&&e7.external_url.trim()){return e7.external_url.trim()}const t3=e7?.add_to_cart?.url;if(typeof t3==="string"&&t3.trim()){return t3.trim()}return void 0},"resolveExternalProductUrl");var Ue5=a(e7=>{if(typeof e7?.button_text==="string"&&e7.button_text.trim()){return e7.button_text.trim()}const t3=e7?.add_to_cart;if(!t3||typeof t3!=="object"){return void 0}for(const s2 of["text","single_text","description"]){const r3=t3[s2];if(typeof r3==="string"&&r3.trim()){return r3.trim()}}return void 0},"resolveExternalButtonText");var G3=a((e7,t3)=>({id:Number(e7?.id??0),name:rS(String(e7?.name??"")),slug:String(e7?.slug??""),taxonomy:String(e7?.taxonomy??t3??""),link:e7?.link}),"mapTerm");var me3=a(e7=>{const t3=rS(J2(e7?.title)??e7?.post_title??String(e7?.title||e7?.name||"Untitled"));const s2=J2(e7?.short_description)??J2(e7?.excerpt)??e7?.post_excerpt??void 0;const r3=J2(e7?.long_description)??J2(e7?.description)??J2(e7?.content)??e7?.post_content??s2??void 0;const c5=e7?.resolved_url||e7?.link||e7?.permalink||e7?.url||void 0;const o6=(Array.isArray(e7?.gallery_image_urls)?e7.gallery_image_urls:Array.isArray(e7?.images)?e7.images.map(A=>A?.src):[]).filter(A=>typeof A==="string"&&A.length>0);const _2=e7?._embedded?.["wp:featuredmedia"]?.[0]?.source_url??o6[0]??e7?.images?.[0]?.src??e7?.featured_media_url??e7?.featured_image_url??void 0;let l2=[];if(Array.isArray(e7?.categories)&&e7.categories.length>0){l2=e7.categories.map(A=>G3(A,"product_cat"))}else{const A=e7?._embedded?.["wp:term"];if(Array.isArray(A)){l2=A.reduce((p2,P4)=>p2.concat(P4),[]).filter(p2=>p2&&p2.taxonomy==="product_cat").map(p2=>G3(p2))}}let g=[];if(Array.isArray(e7?.tags)&&e7.tags.length>0){g=e7.tags.map(A=>G3(A,"product_tag"))}else{const A=e7?._embedded?.["wp:term"];if(Array.isArray(A)){g=A.reduce((p2,P4)=>p2.concat(P4),[]).filter(p2=>p2&&p2.taxonomy==="product_tag").map(p2=>G3(p2))}}let f=void 0;if(e7?.meta){const A=e7?.type||"product";const p2=`wvc_${A}_`;const P4={};Object.keys(e7.meta).forEach(F4=>{if(F4.startsWith(p2)){const X5=F4.replace(p2,"");P4[X5]=e7.meta[F4]}});if(Object.keys(P4).length>0){f=P4}}const{price:T3,discounted_price:E7,price_min:u6,price_max:i5,currency_code:y4,currency_symbol:m4,currency_prefix:h3,currency_suffix:q5,on_sale:d2,formatted_price:S4,formatted_discounted_price:O4}=$e4(e7);const $5=Be4(e7);const M4=Ve4(e7);const V3=Le4(e7);const R4=$5==="variation"?he2(e7):void 0;const B3=e7?.is_in_stock!=null?Boolean(e7.is_in_stock):e7?.stock_status?String(e7.stock_status)!=="outofstock":true;return{id:String(e7?.id??e7?.ID),title:String(t3),slug:e7?.slug,short_description:typeof s2==="string"?s2:void 0,long_description:typeof r3==="string"?r3:void 0,link:c5,date:e7?.date||e7?.post_date||void 0,featured_image_url:_2,gallery_image_urls:o6.length>0?o6:_2?[_2]:[],categories:l2&&l2.length?l2:[],tags:g&&g.length?g:[],customFields:f,price:T3,discounted_price:E7,currency_code:y4,currency_symbol:m4,currency_prefix:h3,currency_suffix:q5,on_sale:d2,formatted_price:S4,formatted_discounted_price:O4,type:$5,virtual:Boolean(e7?.virtual),downloadable:Boolean(e7?.downloadable),product_url:He4(e7),button_text:Ue5(e7),attributes:M4,variations:V3,price_min:u6,price_max:i5,price_html:typeof e7?.price_html==="string"?e7.price_html:void 0,is_purchasable:e7?.is_purchasable??e7?.purchasable??void 0,is_in_stock:B3,stock_status:e7?.stock_status?String(e7.stock_status):void 0,parent_id:e7?.parent??e7?.parent_id??void 0,...R4?.length?{variation_attribute_values:R4}:{}}},"normalizeEcommerceProduct");var ne3=a(e7=>e7.type==="variable"||Boolean(e7.attributes?.length&&e7.attributes.some(t3=>t3.terms.length>0)),"isVariableProduct");var Ie3=a(e7=>e7.type==="external","isExternalProduct");var Je5=a(e7=>{if(e7.formatted_discounted_price||e7.formatted_price){return e7.formatted_discounted_price??e7.formatted_price??""}if(ne3(e7)&&e7.price_min!=null&&e7.price_max!=null&&e7.price_min!==e7.price_max){const o6=e7.currency_prefix??e7.currency_symbol??"$";const _2=e7.currency_suffix??"";const l2=a(g=>`${o6}${g.toFixed(2)}${_2}`,"format");return`${l2(e7.price_min)} u2013 ${l2(e7.price_max)}`}const t3=e7.discounted_price??e7.price;const s2=e7.price;const r3=e7.currency_prefix??e7.currency_symbol??"$";const c5=e7.currency_suffix??"";if(t3!=null&&s2!=null&&t3e7.replace(/]*class="[^"]*screen-reader-text[^"]*"[^>]*>[sS]*?/gi,"").trim(),"stripScreenReaderText");var Ke5=a(e7=>{const t3=e7.price_html?.trim();if(!t3)return void 0;let s2=t3;if(t3.includes("<")||t3.includes(">")||t3.includes("&")){s2=t3.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'")}const r3=We4(s2);return r3||void 0},"getProductPriceHtml");var ae4=a(e7=>(e7.attributes??[]).filter(t3=>t3.terms.length>0),"getVariationAttributeKeys");var oe3=a(e7=>e7.taxonomy||e7.name,"getAttributeSelectionKey");var et3=a(e7=>{const t3={};for(const s2 of ae4(e7)){const r3=s2.terms.find(c5=>c5.default);if(r3?.slug){t3[oe3(s2)]=r3.slug}}return t3},"getDefaultAttributeSelection");var tt4=a((e7,t3)=>{const s2=ae4(e7);if(s2.length===0)return false;return s2.every(r3=>{const c5=oe3(r3);return Boolean(t3[c5])})},"isAttributeSelectionComplete");var Q3=a(e7=>rS(e7).trim().toLowerCase(),"normalizeAttributeValue");var ze4=a((e7,t3,s2)=>{const r3=ae4(t3);if(r3.length===0)return false;const c5=Qe5(e7);if(c5.length===0)return false;return r3.every(o6=>{const _2=oe3(o6);const l2=Q3(s2[_2]??"");if(!l2)return false;const g=o6.terms.find(u6=>Q3(u6.slug)===l2||Q3(u6.name)===l2);const f=g?.name??s2[_2];const T3=g?.slug??s2[_2];const E7=c5.find(u6=>{const i5=Q3(String(u6?.name??""));const y4=Q3(String(u6?.value??""));const m4=Q3(o6.name);const h3=Q3(o6.taxonomy??"");const q5=i5===m4||i5===h3||h3&&i5===h3.replace(/^pa_/,"");return q5&&(y4===l2||y4===Q3(f)||y4===Q3(T3))});return Boolean(E7)})},"variationMatchesSelection");var st4=a((e7,t3,s2)=>{for(const r3 of e7){if(ze4(r3,t3,s2)){return r3}}return null},"findMatchingVariation");var rt4=a(async e7=>{const t3=String(e7.id);if(se4.has(t3)){return se4.get(t3)}const s2=(e7.variations??[]).map(f=>Number(f.id)).filter(f=>!Number.isNaN(f));const r3=Number(e7.id);const c5={type:"variation",parent:r3,post_parent:r3,per_page:100,post_type:"product"};if(s2.length>0){c5.include=s2}const o6=new j2(c5);o6.parse_query_vars();const _2={type:"variation",parent:r3};let l2=[];if(typeof wvcClient!=="undefined"&&wvcClient?.get_wp_query_results){const f=await wvcClient.get_wp_query_results(o6.toJSON(),_2,false);l2=f?.posts??[]}else if(typeof wvcClient!=="undefined"&&wvcClient?.getStoreProducts){const f=await wvcClient.getStoreProducts(c5);l2=Array.isArray(f)?f:f?.products??[]}const g=l2.map(f=>me3(f));se4.set(t3,g);return g},"fetchProductVariations");var ge3=z.createContext(null);var it4=a(()=>{const e7=z.useContext(ge3);if(!e7)throw new Error("useEcommerceProducts must be used within a WordPressEcommerceProductsProvider");return{...e7,products:e7.posts}},"useEcommerceProducts");var nt4=a(({productId:e7,product:t3,variationId:s2,className:r3,text:c5="Add to Cart",loadingText:o6="Adding...",icon:_2,showQuantity:l2=true,minQuantity:g=1,maxQuantity:f=99,buttonClassName:T3,quantityClassName:E7,variant:u6="default",size:i5="default",disabled:y4=false,...m4})=>{const[h3,q5]=z.useState(g);const[d2,S4]=z.useState(false);const[O4,$5]=z.useState(null);const[M4,V3]=z.useState(null);if(t3&&Ie3(t3)){const p2=t3.product_url;if(!p2){return null}const P4=t3.button_text?.trim()||"Buy product";return Ht.jsx("div",{className:nv("flex flex-col gap-2",r3),...m4,children:Ht.jsx("div",{className:"flex items-center gap-2",children:Ht.jsx(fS,{asChild:true,className:nv("flex-1 gap-2",T3,y4&&"pointer-events-none opacity-50"),variant:u6,size:i5,children:Ht.jsxs("a",{href:p2,target:"_blank",rel:"noopener noreferrer",onClick:a(F4=>F4.stopPropagation(),"onClick"),children:[_2,P4]})})})})}if(t3&&ne3(t3)&&s2==null){if(!t3.link){return null}return Ht.jsx("div",{className:nv("flex flex-col gap-2",r3),...m4,children:Ht.jsx("div",{className:"flex items-center gap-2",children:Ht.jsx(fS,{asChild:true,className:nv("flex-1 gap-2",T3,y4&&"pointer-events-none opacity-50"),variant:u6,size:i5,children:Ht.jsxs(cS,{to:t3.link,onClick:a(p2=>p2.stopPropagation(),"onClick"),children:[_2,"Choose variant"]})})})})}const R4=a(()=>q5(Math.max(g,h3-1)),"decrement");const B3=a(()=>q5(Math.min(f,h3+1)),"increment");const A=a(async()=>{S4(true);$5(null);V3(null);try{if(wvcClient?.cart?.addToCart){const p2=s2!=null?Number(s2):Number(e7);const P4=await wvcClient.cart.addToCart({id:p2,quantity:h3});if(P4?.success){document.dispatchEvent(new Event("wvc_cart_updated"));V3(P4.message||"Product added to cart!");setTimeout(()=>V3(null),3e3)}else{$5(P4?.message||"Failed to add product to cart")}}else{console.error("wvcClient.cart.addToCart is not available");$5("Cart functionality unavailable")}}catch(p2){console.error("Add to cart error:",p2);$5(p2.message||"Failed to add product.")}finally{S4(false)}},"handleAddToCart");return Ht.jsxs("div",{className:nv("flex flex-col gap-2",r3),...m4,children:[Ht.jsxs("div",{className:"flex items-center gap-2",children:[l2&&Ht.jsxs("div",{className:nv("flex items-center border rounded-md",E7),children:[Ht.jsx("button",{className:"px-3 py-1 hover:bg-gray-100 disabled:opacity-50",onClick:R4,disabled:d2||y4||h3<=g,type:"button",children:"-"}),Ht.jsx("span",{className:"px-2 py-1 min-w-[2rem] text-center",children:h3}),Ht.jsx("button",{className:"px-3 py-1 hover:bg-gray-100 disabled:opacity-50",onClick:B3,disabled:d2||y4||h3>=f,type:"button",children:"+"})]}),Ht.jsx(fS,{onClick:A,disabled:d2||y4,className:nv("flex-1 gap-2",T3),variant:u6,size:i5,children:d2?Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(h2,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),o6]}):Ht.jsxs(Ht.Fragment,{children:[_2,c5]})})]}),M4&&Ht.jsx("p",{className:"text-sm text-green-600 animate-in fade-in slide-in-from-top-1 [&_a]:underline [&_a]:font-medium",dangerouslySetInnerHTML:{__html:M4}}),O4&&Ht.jsx("p",{className:"text-sm text-red-600 animate-in fade-in slide-in-from-top-1 [&_a]:underline [&_a]:font-medium",dangerouslySetInnerHTML:{__html:O4}})]})},"AddToCartButton");var re4=new Set;var ie4=new Set;var de4=a(()=>{ie4.forEach(e7=>e7())},"notify");var at4=a(e7=>{re4.add(e7);de4();return()=>{re4.delete(e7);de4()}},"suppressVariableParentPrice");var ye4=a(e7=>re4.has(e7),"isVariableParentPriceSuppressed");var Ge4=a(e7=>{ie4.add(e7);return()=>{ie4.delete(e7)}},"subscribeVariableParentPriceSuppressed");var ot5=a(({product:e7,as:t3="span",className:s2,...r3})=>{const[c5,o6]=z.useState(()=>ye4(e7.id));z.useLayoutEffect(()=>{const g=a(()=>o6(ye4(e7.id)),"sync");g();return Ge4(g)},[e7.id]);if(ne3(e7)&&c5){return null}const _2=Ke5(e7);if(_2){return Ht.jsx(t3,{className:nv("product-price",s2),dangerouslySetInnerHTML:{__html:_2},...r3})}const l2=e7.formatted_discounted_price??e7.formatted_price??Je5(e7);if(!l2){return null}if(e7.on_sale&&e7.formatted_price){return Ht.jsxs(t3,{className:nv("product-price flex items-baseline gap-2",s2),...r3,children:[Ht.jsx("span",{className:"text-muted-foreground line-through",children:e7.formatted_price}),Ht.jsx("span",{children:l2})]})}return Ht.jsx(t3,{className:nv("product-price",s2),...r3,children:l2})},"ProductPrice");var ct4=a(({children:e7,postType:t3="product",wp_query:s2,...r3})=>{const c5=z.useMemo(()=>{if(s2===null){return null}let n2;if(s2 instanceof j2){n2=s2}else if(s2&&typeof s2==="object"){n2=new j2(s2)}else{n2=new j2({})}if(!n2.get("post_type")){n2.set("post_type",t3)}return n2},[s2,t3]);const[o6,_2]=z.useState(c5);const[l2,g]=z.useState(n);const[f,T3]=z.useState(R3);const E7=z.useMemo(()=>{return o6?.query_vars||{}},[o6]);const[u6,i5]=z.useState([]);const[y4,m4]=z.useState(s2!==null);const[h3,q5]=z.useState(false);const[d2,S4]=z.useState(null);const[O4,$5]=z.useState(0);const[M4,V3]=z.useState(0);const R4=z.useRef(null);const B3=z.useRef(`products-provider-${Math.random().toString(36).slice(2,10)}`);const A=z.useRef("");const p2=z.useRef(0);const P4=z.useRef(false);let F4;if(s2===null){F4="null"}else if(s2 instanceof j2){F4=s2.getHash()}else if(s2&&typeof s2==="object"){try{F4=JSON.stringify(s2)}catch{F4=""}}else{F4=""}z.useEffect(()=>{P4.current=false;if(s2===null){_2(null)}else if(s2 instanceof j2){if(!s2.get("post_type")){s2.set("post_type",t3)}_2(s2)}else if(s2&&typeof s2==="object"){const n2=new j2(s2);if(!n2.get("post_type")){n2.set("post_type",t3)}_2(n2)}else{const n2=new j2({});n2.set("post_type",t3);_2(n2)}},[F4,t3]);const X5=a(n2=>{const b=n2?.message??String(n2);S4(b)},"handleError");const pe5=z.useMemo(()=>{if(!o6)return true;if(o6.is_single){return true}return true},[o6]);const ve3=[o6?.getHash()||JSON.stringify(E7),JSON.stringify(l2),JSON.stringify(f)];const W5=a(n2=>{const b=Boolean(n2?.refresh);const k3=Boolean(n2?.flushCache);if(b&&h3)return Promise.resolve();S4(null);if(b)q5(true);else m4(true);const C4=++p2.current;let N4;if(n2?.wp_query instanceof j2){N4=n2.wp_query}else if(n2?.wp_query&&typeof n2.wp_query==="object"){const I3=o6||new j2({});const z5={...I3.query_vars,...n2.wp_query};N4=new j2(z5)}else{N4=o6||new j2({})}N4.parse_query_vars();const D3=N4.get("post_type");const ue5=D3&&typeof D3==="string"?D3:Array.isArray(D3)&&D3.length>0&&typeof D3[0]==="string"?D3[0]:t3;N4.set("post_type",ue5);const le4=n2?.embeds??l2;const _e4=n2?.fields??f;const Ee4=JSON.stringify({query:N4.toJSON(),postType:ue5,embeds:le4,fields:_e4,append:Boolean(n2?.append),refresh:b});const ee8=`${B3.current}:${Ee4}`;A.current=ee8;return wvcClient.get_wp_query_results(N4.toJSON(),{embeds:le4,fields:_e4},k3).then(I3=>{if(A.current!==ee8){return}const z5=(I3?.posts??[]).map(me3);i5(Ce6=>n2?.append?[...Ce6,...z5]:z5);$5(Number(I3?.total??0));V3(Number(I3?.total_pages??0))}).catch(I3=>{if(A.current!==ee8){return}X5(I3)}).finally(()=>{if(C4!==p2.current){return}q5(false);m4(false)})},"fetch");z.useEffect(()=>{if(P4.current){P4.current=false;return}if(!o6){if(R4.current){R4.current.abort();R4.current=null}i5([]);$5(0);V3(0);S4(null);m4(false);q5(false);return}W5()},ve3);z.useEffect(()=>{const n2=a(()=>{ce5(true)},"handleProductsRefresh");window.addEventListener("WVC_PRODUCTS_REFRESH",n2);return()=>{if(R4.current){R4.current.abort()}window.removeEventListener("WVC_PRODUCTS_REFRESH",n2)}},[]);const ce5=a((n2=false)=>{if(R4.current){R4.current.abort()}R4.current=new AbortController;return W5({refresh:true,flushCache:n2})},"refetch");const xe3=a(n2=>{P4.current=false;_2(b=>{if(typeof n2==="function"){return n2(b)}else{return n2}})},"setWPQuery");const qe6=a(n2=>{P4.current=false;_2(b=>{const k3=b||new j2({});const C4=typeof n2==="function"?void 0:n2;const N4=typeof n2==="function"?n2(k3.query_vars):{...k3.query_vars,...n2};const D3=new j2(N4);if(b){if(!(C4&&"tax_query"in C4))D3.tax_query=b.tax_query;if(!(C4&&"meta_query"in C4))D3.meta_query=b.meta_query;if(!(C4&&"date_query"in C4))D3.date_query=b.date_query}return D3})},"setQuery");const be4=a(n2=>{g(b=>typeof n2==="function"?n2(b):n2)},"setEmbeds");const Se5=a(n2=>{T3(b=>typeof n2==="function"?n2(b):n2)},"setFields");const U3=Number(E7?.paged??E7?.page??1)||1;const K4=U3<(M4||0);const Y7=U3>1;const Z6=a(n2=>{P4.current=false;const b=Math.max(1,Math.floor(n2||1));_2(k3=>{const C4={...k3?.query_vars??{},paged:b};const N4=new j2(C4);if(k3){N4.tax_query=k3.tax_query;N4.meta_query=k3.meta_query;N4.date_query=k3.date_query}return N4})},"setPage");const Ae6=a((n2,b)=>{P4.current=false;_2(k3=>{const C4={...k3?.query_vars??{},orderby:n2,order:b,paged:1};const N4=new j2(C4);if(k3){N4.tax_query=k3.tax_query;N4.meta_query=k3.meta_query;N4.date_query=k3.date_query}return N4})},"setSorting");const Pe4=a(()=>K4&&Z6(U3+1),"nextPage");const Ne7=a(()=>Y7&&Z6(U3-1),"prevPage");const je6=a(async()=>{if(!K4||h3)return;const n2=U3+1;await W5({wp_query:{paged:n2},append:true,refresh:true});P4.current=true;_2(b=>{if(!b)return new j2({paged:n2});const k3={...b.query_vars,paged:n2};const C4=new j2(k3);if(b){C4.tax_query=b.tax_query;C4.meta_query=b.meta_query;C4.date_query=b.date_query}return C4})},"loadMore");const ke7=z.useMemo(()=>({posts:u6,total:O4,totalPages:M4,loading:y4,isRefetching:h3,error:d2,wp_query:o6,query:E7,embeds:l2,fields:f,setWPQuery:xe3,setQuery:qe6,setEmbeds:be4,setFields:Se5,hasNext:K4,hasPrev:Y7,currentPage:U3,setPage:Z6,nextPage:Pe4,prevPage:Ne7,loadMore:je6,setSorting:Ae6,refetch:ce5,fetch:W5}),[u6,O4,M4,y4,h3,d2,o6,E7,l2,f,K4,Y7,U3]);return Ht.jsx(ge3.Provider,{value:ke7,children:Ht.jsx("div",{...r3,"data-wvc-dynamic":"EcommerceProductsProvider",children:pe5&&e7})})},"WordPressEcommerceProductsProvider");var e6=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]];var t2=qv("check",e6);var rt5=Object.defineProperty;var v=__name((e7,o6)=>rt5(e7,"name",{value:o6,configurable:true}),"v");function Ne4(e7,[o6,t3]){return Math.min(t3,Math.max(o6,e7))}__name(Ne4,"Ne");v(Ne4,"clamp");function yt3(e7){const o6=z.useRef({value:e7,previous:e7});return z.useMemo(()=>{if(o6.current.value!==e7){o6.current.previous=o6.current.value;o6.current.value=e7}return o6.current.previous},[e7])}__name(yt3,"yt");v(yt3,"usePrevious");var je4=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});var It3="VisuallyHidden";var bt4=z.forwardRef((e7,o6)=>{return Ht.jsx(sn.span,{...e7,ref:o6,style:{...je4,...e7.style}})});bt4.displayName=It3;var Tt3=[" ","Enter","ArrowUp","ArrowDown"];var Pt2=[" ","Enter"];var Q4="Select";var[de5,ue4,Nt3]=mS(Q4);var[ne4,po4]=av(Q4,[Nt3,yS]);var pe4=yS();var[Et3,Y3]=ne4(Q4);var[_t3,Rt3]=ne4(Q4);var Me4=v(e7=>{const{__scopeSelect:o6,children:t3,open:c5,defaultOpen:l2,onOpenChange:u6,value:s2,defaultValue:a3,onValueChange:i5,dir:p2,name:x2,autoComplete:y4,disabled:E7,required:P4,form:I3}=e7;const d2=pe4(o6);const[h3,S4]=z.useState(null);const[m4,g]=z.useState(null);const[z5,A]=z.useState(false);const re8=hS(p2);const[_2,D3]=dS({prop:c5,defaultProp:l2??false,onChange:u6,caller:Q4});const[W5,X5]=dS({prop:s2,defaultProp:a3,onChange:i5,caller:Q4});const B3=z.useRef(null);const V3=h3?I3||!!h3.closest("form"):true;const[K4,H3]=z.useState(new Set);const F4=Array.from(K4).map(R4=>R4.props.value).join(";");return Ht.jsx(pS,{...d2,children:Ht.jsxs(Et3,{required:P4,scope:o6,trigger:h3,onTriggerChange:S4,valueNode:m4,onValueNodeChange:g,valueNodeHasChildren:z5,onValueNodeHasChildrenChange:A,contentId:gS(),value:W5,onValueChange:X5,open:_2,onOpenChange:D3,dir:re8,triggerPointerDownPosRef:B3,disabled:E7,children:[Ht.jsx(de5.Provider,{scope:o6,children:Ht.jsx(_t3,{scope:e7.__scopeSelect,onNativeOptionAdd:z.useCallback(R4=>{H3(k3=>new Set(k3).add(R4))},[]),onNativeOptionRemove:z.useCallback(R4=>{H3(k3=>{const U3=new Set(k3);U3.delete(R4);return U3})},[]),children:t3})}),V3?Ht.jsxs(et4,{"aria-hidden":true,required:P4,tabIndex:-1,name:x2,autoComplete:y4,value:W5,onChange:v(R4=>X5(R4.target.value),"onChange"),disabled:E7,form:I3,children:[W5===void 0?Ht.jsx("option",{value:""}):null,Array.from(K4)]},F4):null]})})},"Select$1");Me4.displayName=Q4;var Ae3="SelectTrigger";var Oe3=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,disabled:c5=false,...l2}=e7;const u6=pe4(t3);const s2=Y3(Ae3,t3);const a3=s2.disabled||c5;const i5=on(o6,s2.onTriggerChange);const p2=ue4(t3);const x2=z.useRef("touch");const[y4,E7,P4]=ot6(d2=>{const h3=p2().filter(g=>!g.disabled);const S4=h3.find(g=>g.value===s2.value);const m4=nt5(h3,d2,S4);if(m4!==void 0){s2.onValueChange(m4.value)}});const I3=v(d2=>{if(!a3){s2.onOpenChange(true);P4()}if(d2){s2.triggerPointerDownPosRef.current={x:Math.round(d2.pageX),y:Math.round(d2.pageY)}}},"handleOpen");return Ht.jsx(bS,{asChild:true,...u6,children:Ht.jsx(sn.button,{type:"button",role:"combobox","aria-controls":s2.contentId,"aria-expanded":s2.open,"aria-required":s2.required,"aria-autocomplete":"none",dir:s2.dir,"data-state":s2.open?"open":"closed",disabled:a3,"data-disabled":a3?"":void 0,"data-placeholder":tt5(s2.value)?"":void 0,...l2,ref:i5,onClick:go(l2.onClick,d2=>{d2.currentTarget.focus();if(x2.current!=="mouse"){I3(d2)}}),onPointerDown:go(l2.onPointerDown,d2=>{x2.current=d2.pointerType;const h3=d2.target;if(h3.hasPointerCapture(d2.pointerId)){h3.releasePointerCapture(d2.pointerId)}if(d2.button===0&&d2.ctrlKey===false&&d2.pointerType==="mouse"){I3(d2);d2.preventDefault()}}),onKeyDown:go(l2.onKeyDown,d2=>{const h3=y4.current!=="";const S4=d2.ctrlKey||d2.altKey||d2.metaKey;if(!S4&&d2.key.length===1)E7(d2.key);if(h3&&d2.key===" ")return;if(Tt3.includes(d2.key)){I3();d2.preventDefault()}})})})});Oe3.displayName=Ae3;var De4="SelectValue";var ke5=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,className:c5,style:l2,children:u6,placeholder:s2="",...a3}=e7;const i5=Y3(De4,t3);const{onValueNodeHasChildrenChange:p2}=i5;const x2=u6!==void 0;const y4=on(o6,i5.onValueNodeChange);na(()=>{p2(x2)},[p2,x2]);return Ht.jsx(sn.span,{...a3,ref:y4,style:{pointerEvents:"none"},children:tt5(i5.value)?Ht.jsx(Ht.Fragment,{children:s2}):u6})});ke5.displayName=De4;var jt2="SelectIcon";var Le5=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,children:c5,...l2}=e7;return Ht.jsx(sn.span,{"aria-hidden":true,...l2,ref:o6,children:c5||"u25BC"})});Le5.displayName=jt2;var Mt2="SelectPortal";var Be5=v(e7=>{return Ht.jsx(o1,{asChild:true,...e7})},"SelectPortal");Be5.displayName=Mt2;var ee4="SelectContent";var Ve5=z.forwardRef((e7,o6)=>{const t3=Y3(ee4,e7.__scopeSelect);const[c5,l2]=z.useState();na(()=>{l2(new DocumentFragment)},[]);if(!t3.open){const u6=c5;return u6?Bo.createPortal(Ht.jsx(He5,{scope:e7.__scopeSelect,children:Ht.jsx(de5.Slot,{scope:e7.__scopeSelect,children:Ht.jsx("div",{children:e7.children})})}),u6):null}return Ht.jsx(Fe2,{...e7,ref:o6})});Ve5.displayName=ee4;var O3=10;var[He5,q3]=ne4(ee4);var At2="SelectContentImpl";var Ot2=Yi("SelectContent.RemoveScroll");var Fe2=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,position:c5="item-aligned",onCloseAutoFocus:l2,onEscapeKeyDown:u6,onPointerDownOutside:s2,side:a3,sideOffset:i5,align:p2,alignOffset:x2,arrowPadding:y4,collisionBoundary:E7,collisionPadding:P4,sticky:I3,hideWhenDetached:d2,avoidCollisions:h3,...S4}=e7;const m4=Y3(ee4,t3);const[g,z5]=z.useState(null);const[A,re8]=z.useState(null);const _2=on(o6,f=>z5(f));const[D3,W5]=z.useState(null);const[X5,B3]=z.useState(null);const V3=ue4(t3);const[K4,H3]=z.useState(false);const F4=z.useRef(false);z.useEffect(()=>{if(g)return xS(g)},[g]);vS();const R4=z.useCallback(f=>{const[b,...j4]=V3().map(T3=>T3.ref.current);const[w3]=j4.slice(-1);const C4=document.activeElement;for(const T3 of f){if(T3===C4)return;T3?.scrollIntoView({block:"nearest"});if(T3===b&&A)A.scrollTop=0;if(T3===w3&&A)A.scrollTop=A.scrollHeight;T3?.focus();if(document.activeElement!==C4)return}},[V3,A]);const k3=z.useCallback(()=>R4([D3,g]),[R4,D3,g]);z.useEffect(()=>{if(K4){k3()}},[K4,k3]);const{onOpenChange:U3,triggerPointerDownPosRef:G6}=m4;z.useEffect(()=>{if(g){let f={x:0,y:0};const b=v(w3=>{f={x:Math.abs(Math.round(w3.pageX)-(G6.current?.x??0)),y:Math.abs(Math.round(w3.pageY)-(G6.current?.y??0))}},"handlePointerMove");const j4=v(w3=>{if(f.x<=10&&f.y<=10){w3.preventDefault()}else{if(!g.contains(w3.target)){U3(false)}}document.removeEventListener("pointermove",b);G6.current=null},"handlePointerUp");if(G6.current!==null){document.addEventListener("pointermove",b);document.addEventListener("pointerup",j4,{capture:true,once:true})}return()=>{document.removeEventListener("pointermove",b);document.removeEventListener("pointerup",j4,{capture:true})}}},[g,U3,G6]);z.useEffect(()=>{const f=v(()=>U3(false),"close");window.addEventListener("blur",f);window.addEventListener("resize",f);return()=>{window.removeEventListener("blur",f);window.removeEventListener("resize",f)}},[U3]);const[fe5,le4]=ot6(f=>{const b=V3().filter(C4=>!C4.disabled);const j4=b.find(C4=>C4.ref.current===document.activeElement);const w3=nt5(b,f,j4);if(w3){setTimeout(()=>w3.ref.current.focus())}});const me4=z.useCallback((f,b,j4)=>{const w3=!F4.current&&!j4;const C4=m4.value!==void 0&&m4.value===b;if(C4||w3){W5(f);if(w3)F4.current=true}},[m4.value]);const he4=z.useCallback(()=>g?.focus(),[g]);const te4=z.useCallback((f,b,j4)=>{const w3=!F4.current&&!j4;const C4=m4.value!==void 0&&m4.value===b;if(C4||w3){B3(f)}},[m4.value]);const ce5=c5==="popper"?Se2:Ue6;const se7=ce5===Se2?{side:a3,sideOffset:i5,align:p2,alignOffset:x2,arrowPadding:y4,collisionBoundary:E7,collisionPadding:P4,sticky:I3,hideWhenDetached:d2,avoidCollisions:h3}:{};return Ht.jsx(He5,{scope:t3,content:g,viewport:A,onViewportChange:re8,itemRefCallback:me4,selectedItem:D3,onItemLeave:he4,itemTextRefCallback:te4,focusSelectedItem:k3,selectedItemText:X5,position:c5,isPositioned:K4,searchRef:fe5,children:Ht.jsx(W1,{as:Ot2,allowPinchZoom:true,children:Ht.jsx(Up,{asChild:true,trapped:m4.open,onMountAutoFocus:v(f=>{f.preventDefault()},"onMountAutoFocus"),onUnmountAutoFocus:go(l2,f=>{m4.trigger?.focus({preventScroll:true});f.preventDefault()}),children:Ht.jsx(Mp,{asChild:true,disableOutsidePointerEvents:true,onEscapeKeyDown:u6,onPointerDownOutside:s2,onFocusOutside:v(f=>f.preventDefault(),"onFocusOutside"),onDismiss:v(()=>m4.onOpenChange(false),"onDismiss"),children:Ht.jsx(ce5,{role:"listbox",id:m4.contentId,"data-state":m4.open?"open":"closed",dir:m4.dir,onContextMenu:v(f=>f.preventDefault(),"onContextMenu"),...S4,...se7,onPlaced:v(()=>H3(true),"onPlaced"),ref:_2,style:{display:"flex",flexDirection:"column",outline:"none",...S4.style},onKeyDown:go(S4.onKeyDown,f=>{const b=f.ctrlKey||f.altKey||f.metaKey;if(f.key==="Tab")f.preventDefault();if(!b&&f.key.length===1)le4(f.key);if(["ArrowUp","ArrowDown","Home","End"].includes(f.key)){const j4=V3().filter(C4=>!C4.disabled);let w3=j4.map(C4=>C4.ref.current);if(["ArrowUp","End"].includes(f.key)){w3=w3.slice().reverse()}if(["ArrowUp","ArrowDown"].includes(f.key)){const C4=f.target;const T3=w3.indexOf(C4);w3=w3.slice(T3+1)}setTimeout(()=>R4(w3));f.preventDefault()}})})})})})})});Fe2.displayName=At2;var Dt3="SelectItemAlignedPosition";var Ue6=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,onPlaced:c5,...l2}=e7;const u6=Y3(ee4,t3);const s2=q3(ee4,t3);const[a3,i5]=z.useState(null);const[p2,x2]=z.useState(null);const y4=on(o6,_2=>x2(_2));const E7=ue4(t3);const P4=z.useRef(false);const I3=z.useRef(true);const{viewport:d2,selectedItem:h3,selectedItemText:S4,focusSelectedItem:m4}=s2;const g=z.useCallback(()=>{if(u6.trigger&&u6.valueNode&&a3&&p2&&d2&&h3&&S4){const _2=u6.trigger.getBoundingClientRect();const D3=p2.getBoundingClientRect();const W5=u6.valueNode.getBoundingClientRect();const X5=S4.getBoundingClientRect();if(u6.dir!=="rtl"){const C4=X5.left-D3.left;const T3=W5.left-C4;const Z6=_2.left-T3;const J6=_2.width+Z6;const ve3=Math.max(J6,D3.width);const ge5=window.innerWidth-O3;const xe3=Ne4(T3,[O3,Math.max(O3,ge5-ve3)]);a3.style.minWidth=J6+"px";a3.style.left=xe3+"px"}else{const C4=D3.right-X5.right;const T3=window.innerWidth-W5.right-C4;const Z6=window.innerWidth-_2.right-T3;const J6=_2.width+Z6;const ve3=Math.max(J6,D3.width);const ge5=window.innerWidth-O3;const xe3=Ne4(T3,[O3,Math.max(O3,ge5-ve3)]);a3.style.minWidth=J6+"px";a3.style.right=xe3+"px"}const B3=E7();const V3=window.innerHeight-O3*2;const K4=d2.scrollHeight;const H3=window.getComputedStyle(p2);const F4=parseInt(H3.borderTopWidth,10);const R4=parseInt(H3.paddingTop,10);const k3=parseInt(H3.borderBottomWidth,10);const U3=parseInt(H3.paddingBottom,10);const G6=F4+R4+K4+U3+k3;const fe5=Math.min(h3.offsetHeight*5,G6);const le4=window.getComputedStyle(d2);const me4=parseInt(le4.paddingTop,10);const he4=parseInt(le4.paddingBottom,10);const te4=_2.top+_2.height/2-O3;const ce5=V3-te4;const se7=h3.offsetHeight/2;const f=h3.offsetTop+se7;const b=F4+R4+f;const j4=G6-b;const w3=b<=te4;if(w3){const C4=B3.length>0&&h3===B3[B3.length-1].ref.current;a3.style.bottom="0px";const T3=p2.clientHeight-d2.offsetTop-d2.offsetHeight;const Z6=Math.max(ce5,se7+(C4?he4:0)+T3+k3);const J6=b+Z6;a3.style.height=J6+"px"}else{const C4=B3.length>0&&h3===B3[0].ref.current;a3.style.top="0px";const T3=Math.max(te4,F4+d2.offsetTop+(C4?me4:0)+se7);const Z6=T3+j4;a3.style.height=Z6+"px";d2.scrollTop=b-te4+d2.offsetTop}a3.style.margin=`${O3}px 0`;a3.style.minHeight=fe5+"px";a3.style.maxHeight=V3+"px";c5?.();requestAnimationFrame(()=>P4.current=true)}},[E7,u6.trigger,u6.valueNode,a3,p2,d2,h3,S4,u6.dir,c5]);na(()=>g(),[g]);const[z5,A]=z.useState();na(()=>{if(p2)A(window.getComputedStyle(p2).zIndex)},[p2]);const re8=z.useCallback(_2=>{if(_2&&I3.current===true){g();m4?.();I3.current=false}},[g,m4]);return Ht.jsx(Lt2,{scope:t3,contentWrapper:a3,shouldExpandOnScrollRef:P4,onScrollButtonChange:re8,children:Ht.jsx("div",{ref:i5,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:z5},children:Ht.jsx(sn.div,{...l2,ref:y4,style:{boxSizing:"border-box",maxHeight:"100%",...l2.style}})})})});Ue6.displayName=Dt3;var kt2="SelectPopperPosition";var Se2=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,align:c5="start",collisionPadding:l2=O3,...u6}=e7;const s2=pe4(t3);return Ht.jsx(SS,{...s2,...u6,ref:o6,align:c5,collisionPadding:l2,style:{boxSizing:"border-box",...u6.style,...{"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}})});Se2.displayName=kt2;var[Lt2,Te3]=ne4(ee4,{});var we3="SelectViewport";var ze5=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,nonce:c5,...l2}=e7;const u6=q3(we3,t3);const s2=Te3(we3,t3);const a3=on(o6,u6.onViewportChange);const i5=z.useRef(0);return Ht.jsxs(Ht.Fragment,{children:[Ht.jsx("style",{dangerouslySetInnerHTML:{__html:`[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`},nonce:c5}),Ht.jsx(de5.Slot,{scope:t3,children:Ht.jsx(sn.div,{"data-radix-select-viewport":"",role:"presentation",...l2,ref:a3,style:{position:"relative",flex:1,overflow:"hidden auto",...l2.style},onScroll:go(l2.onScroll,p2=>{const x2=p2.currentTarget;const{contentWrapper:y4,shouldExpandOnScrollRef:E7}=s2;if(E7?.current&&y4){const P4=Math.abs(i5.current-x2.scrollTop);if(P4>0){const I3=window.innerHeight-O3*2;const d2=parseFloat(y4.style.minHeight);const h3=parseFloat(y4.style.height);const S4=Math.max(d2,h3);if(S40?z5:0;y4.style.justifyContent="flex-end"}}}}i5.current=x2.scrollTop})})})]})});ze5.displayName=we3;var We5="SelectGroup";var[Bt2,Vt3]=ne4(We5);var Ht3=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,...c5}=e7;const l2=gS();return Ht.jsx(Bt2,{scope:t3,id:l2,children:Ht.jsx(sn.div,{role:"group","aria-labelledby":l2,...c5,ref:o6})})});Ht3.displayName=We5;var Ke6="SelectLabel";var Ft2=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,...c5}=e7;const l2=Vt3(Ke6,t3);return Ht.jsx(sn.div,{id:l2.id,...c5,ref:o6})});Ft2.displayName=Ke6;var ie5="SelectItem";var[Ut2,Ge5]=ne4(ie5);var $e5=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,value:c5,disabled:l2=false,textValue:u6,...s2}=e7;const a3=Y3(ie5,t3);const i5=q3(ie5,t3);const p2=a3.value===c5;const[x2,y4]=z.useState(u6??"");const[E7,P4]=z.useState(false);const I3=on(o6,m4=>i5.itemRefCallback?.(m4,c5,l2));const d2=gS();const h3=z.useRef("touch");const S4=v(()=>{if(!l2){a3.onValueChange(c5);a3.onOpenChange(false)}},"handleSelect");if(c5===""){throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.")}return Ht.jsx(Ut2,{scope:t3,value:c5,disabled:l2,textId:d2,isSelected:p2,onItemTextChange:z.useCallback(m4=>{y4(g=>g||(m4?.textContent??"").trim())},[]),children:Ht.jsx(de5.ItemSlot,{scope:t3,value:c5,disabled:l2,textValue:x2,children:Ht.jsx(sn.div,{role:"option","aria-labelledby":d2,"data-highlighted":E7?"":void 0,"aria-selected":p2&&E7,"data-state":p2?"checked":"unchecked","aria-disabled":l2||void 0,"data-disabled":l2?"":void 0,tabIndex:l2?void 0:-1,...s2,ref:I3,onFocus:go(s2.onFocus,()=>P4(true)),onBlur:go(s2.onBlur,()=>P4(false)),onClick:go(s2.onClick,()=>{if(h3.current!=="mouse")S4()}),onPointerUp:go(s2.onPointerUp,()=>{if(h3.current==="mouse")S4()}),onPointerDown:go(s2.onPointerDown,m4=>{h3.current=m4.pointerType}),onPointerMove:go(s2.onPointerMove,m4=>{h3.current=m4.pointerType;if(l2){i5.onItemLeave?.()}else if(h3.current==="mouse"){m4.currentTarget.focus({preventScroll:true})}}),onPointerLeave:go(s2.onPointerLeave,m4=>{if(m4.currentTarget===document.activeElement){i5.onItemLeave?.()}}),onKeyDown:go(s2.onKeyDown,m4=>{const g=i5.searchRef?.current!=="";if(g&&m4.key===" ")return;if(Pt2.includes(m4.key))S4();if(m4.key===" ")m4.preventDefault()})})})})});$e5.displayName=ie5;var ae5="SelectItemText";var Ye4=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,className:c5,style:l2,...u6}=e7;const s2=Y3(ae5,t3);const a3=q3(ae5,t3);const i5=Ge5(ae5,t3);const p2=Rt3(ae5,t3);const[x2,y4]=z.useState(null);const E7=on(o6,S4=>y4(S4),i5.onItemTextChange,S4=>a3.itemTextRefCallback?.(S4,i5.value,i5.disabled));const P4=x2?.textContent;const I3=z.useMemo(()=>Ht.jsx("option",{value:i5.value,disabled:i5.disabled,children:P4},i5.value),[i5.disabled,i5.value,P4]);const{onNativeOptionAdd:d2,onNativeOptionRemove:h3}=p2;na(()=>{d2(I3);return()=>h3(I3)},[d2,h3,I3]);return Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(sn.span,{id:i5.textId,...u6,ref:E7}),i5.isSelected&&s2.valueNode&&!s2.valueNodeHasChildren?Bo.createPortal(u6.children,s2.valueNode):null]})});Ye4.displayName=ae5;var qe4="SelectItemIndicator";var Xe4=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,...c5}=e7;const l2=Ge5(qe4,t3);return l2.isSelected?Ht.jsx(sn.span,{"aria-hidden":true,...c5,ref:o6}):null});Xe4.displayName=qe4;var Ce3="SelectScrollUpButton";var Ze5=z.forwardRef((e7,o6)=>{const t3=q3(Ce3,e7.__scopeSelect);const c5=Te3(Ce3,e7.__scopeSelect);const[l2,u6]=z.useState(false);const s2=on(o6,c5.onScrollButtonChange);na(()=>{if(t3.viewport&&t3.isPositioned){let a3=v(function(){const p2=i5.scrollTop>0;u6(p2)},"handleScroll2");const i5=t3.viewport;a3();i5.addEventListener("scroll",a3);return()=>i5.removeEventListener("scroll",a3)}},[t3.viewport,t3.isPositioned]);return l2?Ht.jsx(Qe6,{...e7,ref:s2,onAutoScroll:v(()=>{const{viewport:a3,selectedItem:i5}=t3;if(a3&&i5){a3.scrollTop=a3.scrollTop-i5.offsetHeight}},"onAutoScroll")}):null});Ze5.displayName=Ce3;var ye5="SelectScrollDownButton";var Je6=z.forwardRef((e7,o6)=>{const t3=q3(ye5,e7.__scopeSelect);const c5=Te3(ye5,e7.__scopeSelect);const[l2,u6]=z.useState(false);const s2=on(o6,c5.onScrollButtonChange);na(()=>{if(t3.viewport&&t3.isPositioned){let a3=v(function(){const p2=i5.scrollHeight-i5.clientHeight;const x2=Math.ceil(i5.scrollTop)i5.removeEventListener("scroll",a3)}},[t3.viewport,t3.isPositioned]);return l2?Ht.jsx(Qe6,{...e7,ref:s2,onAutoScroll:v(()=>{const{viewport:a3,selectedItem:i5}=t3;if(a3&&i5){a3.scrollTop=a3.scrollTop+i5.offsetHeight}},"onAutoScroll")}):null});Je6.displayName=ye5;var Qe6=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,onAutoScroll:c5,...l2}=e7;const u6=q3("SelectScrollButton",t3);const s2=z.useRef(null);const a3=ue4(t3);const i5=z.useCallback(()=>{if(s2.current!==null){window.clearInterval(s2.current);s2.current=null}},[]);z.useEffect(()=>{return()=>i5()},[i5]);na(()=>{const p2=a3().find(x2=>x2.ref.current===document.activeElement);p2?.ref.current?.scrollIntoView({block:"nearest"})},[a3]);return Ht.jsx(sn.div,{"aria-hidden":true,...l2,ref:o6,style:{flexShrink:0,...l2.style},onPointerDown:go(l2.onPointerDown,()=>{if(s2.current===null){s2.current=window.setInterval(c5,50)}}),onPointerMove:go(l2.onPointerMove,()=>{u6.onItemLeave?.();if(s2.current===null){s2.current=window.setInterval(c5,50)}}),onPointerLeave:go(l2.onPointerLeave,()=>{i5()})})});var zt3="SelectSeparator";var Wt3=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,...c5}=e7;return Ht.jsx(sn.div,{"aria-hidden":true,...c5,ref:o6})});Wt3.displayName=zt3;var Ie4="SelectArrow";var Kt2=z.forwardRef((e7,o6)=>{const{__scopeSelect:t3,...c5}=e7;const l2=pe4(t3);const u6=Y3(Ie4,t3);const s2=q3(Ie4,t3);return u6.open&&s2.position==="popper"?Ht.jsx(ES,{...l2,...c5,ref:o6}):null});Kt2.displayName=Ie4;var Gt2="SelectBubbleInput";var et4=z.forwardRef(({__scopeSelect:e7,value:o6,...t3},c5)=>{const l2=z.useRef(null);const u6=on(c5,l2);const s2=yt3(o6);z.useEffect(()=>{const a3=l2.current;if(!a3)return;const i5=window.HTMLSelectElement.prototype;const p2=Object.getOwnPropertyDescriptor(i5,"value");const x2=p2.set;if(s2!==o6&&x2){const y4=new Event("change",{bubbles:true});x2.call(a3,o6);a3.dispatchEvent(y4)}},[s2,o6]);return Ht.jsx(sn.select,{...t3,style:{...je4,...t3.style},ref:u6,defaultValue:o6})});et4.displayName=Gt2;function tt5(e7){return e7===""||e7===void 0}__name(tt5,"tt");v(tt5,"shouldShowPlaceholder");function ot6(e7){const o6=aa(e7);const t3=z.useRef("");const c5=z.useRef(0);const l2=z.useCallback(s2=>{const a3=t3.current+s2;o6(a3);v(__name(function i5(p2){t3.current=p2;window.clearTimeout(c5.current);if(p2!=="")c5.current=window.setTimeout(()=>i5(""),1e3)},"i"),"updateSearch")(a3)},[o6]);const u6=z.useCallback(()=>{t3.current="";window.clearTimeout(c5.current)},[]);z.useEffect(()=>{return()=>window.clearTimeout(c5.current)},[]);return[t3,l2,u6]}__name(ot6,"ot");v(ot6,"useTypeaheadSearch");function nt5(e7,o6,t3){const c5=o6.length>1&&Array.from(o6).every(p2=>p2===o6[0]);const l2=c5?o6[0]:o6;const u6=t3?e7.indexOf(t3):-1;let s2=$t2(e7,Math.max(u6,0));const a3=l2.length===1;if(a3)s2=s2.filter(p2=>p2!==t3);const i5=s2.find(p2=>p2.textValue.toLowerCase().startsWith(l2.toLowerCase()));return i5!==t3?i5:void 0}__name(nt5,"nt");v(nt5,"findNextItem");function $t2(e7,o6){return e7.map((t3,c5)=>e7[(o6+c5)%e7.length])}__name($t2,"$t");v($t2,"wrapArray");var Yt3=Me4;var qt3=Oe3;var Xt3=ke5;var Zt4=Le5;var Jt3=Be5;var Qt3=Ve5;var eo3=ze5;var to2=$e5;var oo4=Ye4;var no3=Xe4;var ro4=Ze5;var so4=Je6;function fo4({...e7}){return Ht.jsx(Yt3,{"data-slot":"select",...e7})}__name(fo4,"fo");v(fo4,"Select");function mo4({...e7}){return Ht.jsx(Xt3,{"data-slot":"select-value",...e7})}__name(mo4,"mo");v(mo4,"SelectValue");function ho4({className:e7,size:o6="default",children:t3,...c5}){return Ht.jsxs(qt3,{"data-slot":"select-trigger","data-size":o6,className:nv("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e7),...c5,children:[t3,Ht.jsx(Zt4,{asChild:true,children:Ht.jsx(AS,{className:"size-4 opacity-50"})})]})}__name(ho4,"ho");v(ho4,"SelectTrigger");function vo4({className:e7,children:o6,position:t3="popper",...c5}){return Ht.jsx(Jt3,{children:Ht.jsxs(Qt3,{"data-slot":"select-content",className:nv("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",t3==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e7),position:t3,...c5,children:[Ht.jsx(ao3,{}),Ht.jsx(eo3,{className:nv("p-1",t3==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:o6}),Ht.jsx(lo3,{})]})})}__name(vo4,"vo");v(vo4,"SelectContent");function go4({className:e7,children:o6,...t3}){return Ht.jsxs(to2,{"data-slot":"select-item",className:nv("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e7),...t3,children:[Ht.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:Ht.jsx(no3,{children:Ht.jsx(t2,{className:"size-4"})})}),Ht.jsx(oo4,{children:o6})]})}__name(go4,"go");v(go4,"SelectItem");function ao3({className:e7,...o6}){return Ht.jsx(ro4,{"data-slot":"select-scroll-up-button",className:nv("flex cursor-default items-center justify-center py-1",e7),...o6,children:Ht.jsx(TS,{className:"size-4"})})}__name(ao3,"ao");v(ao3,"SelectScrollUpButton");function lo3({className:e7,...o6}){return Ht.jsx(so4,{"data-slot":"select-scroll-down-button",className:nv("flex cursor-default items-center justify-center py-1",e7),...o6,children:Ht.jsx(AS,{className:"size-4"})})}__name(lo3,"lo");v(lo3,"SelectScrollDownButton");var de6=Object.defineProperty;var u5=__name((e7,t3)=>de6(e7,"name",{value:t3,configurable:true}),"u");var N="Collapsible";var[xe2,q4]=av(N);var[Ce4,$3]=xe2(N);var J3=z.forwardRef((e7,t3)=>{const{__scopeCollapsible:o6,open:a3,defaultOpen:s2,disabled:n2,onOpenChange:i5,...l2}=e7;const[d2,p2]=dS({prop:a3,defaultProp:s2??false,onChange:i5,caller:N});return Ht.jsx(Ce4,{scope:o6,disabled:n2,contentId:gS(),open:d2,onOpenToggle:z.useCallback(()=>p2(m4=>!m4),[p2]),children:Ht.jsx(sn.div,{"data-state":H2(d2),"data-disabled":n2?"":void 0,...l2,ref:t3})})});J3.displayName=N;var Y4="CollapsibleTrigger";var Q5=z.forwardRef((e7,t3)=>{const{__scopeCollapsible:o6,...a3}=e7;const s2=$3(Y4,o6);return Ht.jsx(sn.button,{type:"button","aria-controls":s2.contentId,"aria-expanded":s2.open||false,"data-state":H2(s2.open),"data-disabled":s2.disabled?"":void 0,disabled:s2.disabled,...a3,ref:t3,onClick:go(e7.onClick,s2.onOpenToggle)})});Q5.displayName=Y4;var V="CollapsibleContent";var W4=z.forwardRef((e7,t3)=>{const{forceMount:o6,...a3}=e7;const s2=$3(V,e7.__scopeCollapsible);return Ht.jsx(j,{present:o6||s2.open,children:u5(({present:n2})=>Ht.jsx(be3,{...a3,ref:t3,present:n2}),"children")})});W4.displayName=V;var be3=z.forwardRef((e7,t3)=>{const{__scopeCollapsible:o6,present:a3,children:s2,...n2}=e7;const i5=$3(V,o6);const[l2,d2]=z.useState(a3);const p2=z.useRef(null);const m4=on(t3,p2);const x2=z.useRef(0);const I3=x2.current;const b=z.useRef(0);const w3=b.current;const g=i5.open||l2;const A=z.useRef(g);const h3=z.useRef(void 0);z.useEffect(()=>{const c5=requestAnimationFrame(()=>A.current=false);return()=>cancelAnimationFrame(c5)},[]);na(()=>{const c5=p2.current;if(c5){h3.current=h3.current||{transitionDuration:c5.style.transitionDuration,animationName:c5.style.animationName};c5.style.transitionDuration="0s";c5.style.animationName="none";const R4=c5.getBoundingClientRect();x2.current=R4.height;b.current=R4.width;if(!A.current){c5.style.transitionDuration=h3.current.transitionDuration;c5.style.animationName=h3.current.animationName}d2(a3)}},[i5.open,a3]);return Ht.jsx(sn.div,{"data-state":H2(i5.open),"data-disabled":i5.disabled?"":void 0,id:i5.contentId,hidden:!g,...n2,ref:m4,style:{[`--radix-collapsible-content-height`]:I3?`${I3}px`:void 0,[`--radix-collapsible-content-width`]:w3?`${w3}px`:void 0,...e7.style},children:g&&s2})});function H2(e7){return e7?"open":"closed"}__name(H2,"H");u5(H2,"getState$1");var ge4=J3;var Ae4=Q5;var he3=W4;var C2="Accordion";var Ie5=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"];var[L,Re2,_e3]=mS(C2);var[P2,He6]=av(C2,[_e3,q4]);var z4=q4();var X4=sl.forwardRef((e7,t3)=>{const{type:o6,...a3}=e7;const s2=a3;const n2=a3;return Ht.jsx(L.Provider,{scope:e7.__scopeAccordion,children:o6==="multiple"?Ht.jsx(Pe2,{...n2,ref:t3}):Ht.jsx(Ne5,{...s2,ref:t3})})});X4.displayName=C2;var[Z3,we4]=P2(C2);var[ee5,je5]=P2(C2,{collapsible:false});var Ne5=sl.forwardRef((e7,t3)=>{const{value:o6,defaultValue:a3,onValueChange:s2=u5(()=>{},"onValueChange"),collapsible:n2=false,...i5}=e7;const[l2,d2]=dS({prop:o6,defaultProp:a3??"",onChange:s2,caller:C2});return Ht.jsx(Z3,{scope:e7.__scopeAccordion,value:sl.useMemo(()=>l2?[l2]:[],[l2]),onItemOpen:d2,onItemClose:sl.useCallback(()=>n2&&d2(""),[n2,d2]),children:Ht.jsx(ee5,{scope:e7.__scopeAccordion,collapsible:n2,children:Ht.jsx(oe4,{...i5,ref:t3})})})});var Pe2=sl.forwardRef((e7,t3)=>{const{value:o6,defaultValue:a3,onValueChange:s2=u5(()=>{},"onValueChange"),...n2}=e7;const[i5,l2]=dS({prop:o6,defaultProp:a3??[],onChange:s2,caller:C2});const d2=sl.useCallback(m4=>l2((x2=[])=>[...x2,m4]),[l2]);const p2=sl.useCallback(m4=>l2((x2=[])=>x2.filter(I3=>I3!==m4)),[l2]);return Ht.jsx(Z3,{scope:e7.__scopeAccordion,value:i5,onItemOpen:d2,onItemClose:p2,children:Ht.jsx(ee5,{scope:e7.__scopeAccordion,collapsible:true,children:Ht.jsx(oe4,{...n2,ref:t3})})})});var[ye6,y3]=P2(C2);var oe4=sl.forwardRef((e7,t3)=>{const{__scopeAccordion:o6,disabled:a3,dir:s2,orientation:n2="vertical",...i5}=e7;const l2=sl.useRef(null);const d2=on(l2,t3);const p2=Re2(o6);const m4=hS(s2);const x2=m4==="ltr";const I3=go(e7.onKeyDown,b=>{if(!Ie5.includes(b.key))return;const w3=b.target;const g=p2().filter(D3=>!D3.ref.current?.disabled);const A=g.findIndex(D3=>D3.ref.current===w3);const h3=g.length;if(A===-1)return;b.preventDefault();let c5=A;const R4=0;const E7=h3-1;const S4=u5(()=>{c5=A+1;if(c5>E7){c5=R4}},"moveNext");const O4=u5(()=>{c5=A-1;if(c5{const{__scopeAccordion:o6,value:a3,...s2}=e7;const n2=y3(j3,o6);const i5=we4(j3,o6);const l2=z4(o6);const d2=gS();const p2=a3&&i5.value.includes(a3)||false;const m4=n2.disabled||e7.disabled;return Ht.jsx(Ee2,{scope:o6,open:p2,disabled:m4,triggerId:d2,children:Ht.jsx(ge4,{"data-orientation":n2.orientation,"data-state":ce4(p2),...l2,...s2,ref:t3,disabled:m4,open:p2,onOpenChange:u5(x2=>{if(x2){i5.onItemOpen(a3)}else{i5.onItemClose(a3)}},"onOpenChange")})})});te3.displayName=j3;var ne5="AccordionHeader";var re5=sl.forwardRef((e7,t3)=>{const{__scopeAccordion:o6,...a3}=e7;const s2=y3(C2,o6);const n2=G4(ne5,o6);return Ht.jsx(sn.h3,{"data-orientation":s2.orientation,"data-state":ce4(n2.open),"data-disabled":n2.disabled?"":void 0,...a3,ref:t3})});re5.displayName=ne5;var T2="AccordionTrigger";var ae6=sl.forwardRef((e7,t3)=>{const{__scopeAccordion:o6,...a3}=e7;const s2=y3(C2,o6);const n2=G4(T2,o6);const i5=je5(T2,o6);const l2=z4(o6);return Ht.jsx(L.ItemSlot,{scope:o6,children:Ht.jsx(Ae4,{"aria-disabled":n2.open&&!i5.collapsible||void 0,"data-orientation":s2.orientation,id:n2.triggerId,...l2,...a3,ref:t3})})});ae6.displayName=T2;var se5="AccordionContent";var ie6=sl.forwardRef((e7,t3)=>{const{__scopeAccordion:o6,...a3}=e7;const s2=y3(C2,o6);const n2=G4(se5,o6);const i5=z4(o6);return Ht.jsx(he3,{role:"region","aria-labelledby":n2.triggerId,"data-orientation":s2.orientation,...i5,...a3,ref:t3,style:{["--radix-accordion-content-height"]:"var(--radix-collapsible-content-height)",["--radix-accordion-content-width"]:"var(--radix-collapsible-content-width)",...e7.style}})});ie6.displayName=se5;function ce4(e7){return e7?"open":"closed"}__name(ce4,"ce");u5(ce4,"getState");var Se3=X4;var Oe4=te3;var De5=re5;var Te4=ae6;var ke6=ie6;function Le6({...e7}){return Ht.jsx(Se3,{"data-slot":"accordion",...e7})}__name(Le6,"Le");u5(Le6,"Accordion");function ze6({className:e7,...t3}){return Ht.jsx(Oe4,{"data-slot":"accordion-item",className:nv("border-b last:border-b-0",e7),...t3})}__name(ze6,"ze");u5(ze6,"AccordionItem");function Ge6({className:e7,children:t3,...o6}){return Ht.jsx(De5,{className:"flex",children:Ht.jsxs(Te4,{"data-slot":"accordion-trigger",className:nv("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e7),...o6,children:[t3,Ht.jsx(AS,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}__name(Ge6,"Ge");u5(Ge6,"AccordionTrigger");function Ke7({className:e7,children:t3,...o6}){return Ht.jsx(ke6,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...o6,children:Ht.jsx("div",{className:nv("pt-0 pb-4",e7),children:t3})})}__name(Ke7,"Ke");u5(Ke7,"AccordionContent");var Qe7=Object.defineProperty;var m2=__name((t3,a3)=>Qe7(t3,"name",{value:a3,configurable:true}),"m");var lt3=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]];var er2=qv("chevron-left",lt3);var ut4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]];var dt5=qv("circle",ut4);var ft3=[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["path",{d:"m17 13 5 5m-5 0 5-5",key:"im3w4b"}]];var tr2=qv("package-x",ft3);var mt3=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]];var rr2=qv("sliders-horizontal",mt3);var Y5=[{value:"featured",label:"Featured",orderby:"menu_order",order:"asc"},{value:"new_arrivals",label:"New arrivals",orderby:"date",order:"desc"},{value:"price_asc",label:"Price low to high",orderby:"price",order:"asc"},{value:"price_desc",label:"Price high to low",orderby:"price",order:"desc"},{value:"top_sellers",label:"Top sellers",orderby:"popularity",order:"desc"}];function pt3(t3,a3){const o6=(a3??"asc").toLowerCase();const n2=(t3??"menu_order").toLowerCase();const c5=Y5.find(r3=>r3.orderby.toLowerCase()===n2&&r3.order===o6);return c5?.value??"featured"}__name(pt3,"pt");m2(pt3,"getSortOptionFromQuery");var nr2=m2(({label:t3,placeholder:a3="Sort by",className:o6,...n2})=>{const{query:c5,setSorting:r3}=it4();const l2=c5?.orderby;const i5=c5?.order;const s2=pt3(l2,i5);const u6=m2(p2=>{const h3=Y5.find(v2=>v2.value===p2);if(!h3)return;r3(h3.orderby,h3.order)},"handleValueChange");return Ht.jsxs("div",{className:nv("flex items-center justify-end gap-2",o6),"data-wvc-dynamic":"ProductSortDropdown",...n2,children:[t3!=null&&Ht.jsx("span",{className:"text-sm text-muted-foreground",children:t3}),Ht.jsxs(fo4,{value:s2,onValueChange:m2(p2=>u6(p2),"onValueChange"),children:[Ht.jsx(ho4,{className:"w-[180px]",children:Ht.jsx(mo4,{placeholder:a3})}),Ht.jsx(vo4,{children:Y5.map(p2=>Ht.jsx(go4,{value:p2.value,children:p2.label},p2.value))})]})]})},"ProductSortDropdown");var J4="Checkbox";var[ht2,sr2]=av(J4);var[vt2,re6]=ht2(J4);function bt5(t3){const{__scopeCheckbox:a3,checked:o6,children:n2,defaultChecked:c5,disabled:r3,form:l2,name:i5,onCheckedChange:s2,required:u6,value:p2="on",internal_do_not_use_render:h3}=t3;const[v2,x2]=dS({prop:o6,defaultProp:c5??false,onChange:s2,caller:J4});const[y4,k3]=z.useState(null);const[j4,w3]=z.useState(null);const _2=z.useRef(false);const O4=y4?!!l2||!!y4.closest("form"):true;const I3={checked:v2,disabled:r3,setChecked:x2,control:y4,setControl:k3,name:i5,form:l2,value:p2,hasConsumerStoppedPropagationRef:_2,required:u6,defaultChecked:F3(c5)?false:c5,isFormControl:O4,bubbleInput:j4,setBubbleInput:w3};return Ht.jsx(vt2,{scope:a3,...I3,children:xt3(h3)?h3(I3):n2})}__name(bt5,"bt");m2(bt5,"CheckboxProvider");var Re3="CheckboxTrigger";var Ce5=z.forwardRef(({__scopeCheckbox:t3,onKeyDown:a3,onClick:o6,...n2},c5)=>{const{control:r3,value:l2,disabled:i5,checked:s2,required:u6,setControl:p2,setChecked:h3,hasConsumerStoppedPropagationRef:v2,isFormControl:x2,bubbleInput:y4}=re6(Re3,t3);const k3=on(c5,p2);const j4=z.useRef(s2);z.useEffect(()=>{const w3=r3?.form;if(w3){const _2=m2(()=>h3(j4.current),"reset");w3.addEventListener("reset",_2);return()=>w3.removeEventListener("reset",_2)}},[r3,h3]);return Ht.jsx(sn.button,{type:"button",role:"checkbox","aria-checked":F3(s2)?"mixed":s2,"aria-required":u6,"data-state":Pe3(s2),"data-disabled":i5?"":void 0,disabled:i5,value:l2,...n2,ref:k3,onKeyDown:go(a3,w3=>{if(w3.key==="Enter")w3.preventDefault()}),onClick:go(o6,w3=>{h3(_2=>F3(_2)?true:!_2);if(y4&&x2){v2.current=w3.isPropagationStopped();if(!v2.current)w3.stopPropagation()}})})});Ce5.displayName=Re3;var we5=z.forwardRef((t3,a3)=>{const{__scopeCheckbox:o6,name:n2,checked:c5,defaultChecked:r3,required:l2,disabled:i5,value:s2,onCheckedChange:u6,form:p2,...h3}=t3;return Ht.jsx(bt5,{__scopeCheckbox:o6,checked:c5,defaultChecked:r3,disabled:i5,required:l2,onCheckedChange:u6,name:n2,form:p2,value:s2,internal_do_not_use_render:m2(({isFormControl:v2})=>Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(Ce5,{...h3,ref:a3,__scopeCheckbox:o6}),v2&&Ht.jsx(Ie6,{__scopeCheckbox:o6})]}),"internal_do_not_use_render")})});we5.displayName=J4;var Se4="CheckboxIndicator";var Ne6=z.forwardRef((t3,a3)=>{const{__scopeCheckbox:o6,forceMount:n2,...c5}=t3;const r3=re6(Se4,o6);return Ht.jsx(j,{present:n2||F3(r3.checked)||r3.checked===true,children:Ht.jsx(sn.span,{"data-state":Pe3(r3.checked),"data-disabled":r3.disabled?"":void 0,...c5,ref:a3,style:{pointerEvents:"none",...t3.style}})})});Ne6.displayName=Se4;var Ee3="CheckboxBubbleInput";var Ie6=z.forwardRef(({__scopeCheckbox:t3,...a3},o6)=>{const{control:n2,hasConsumerStoppedPropagationRef:c5,checked:r3,defaultChecked:l2,required:i5,disabled:s2,name:u6,value:p2,form:h3,bubbleInput:v2,setBubbleInput:x2}=re6(Ee3,t3);const y4=on(o6,x2);const k3=yt3(r3);const j4=e1(n2);z.useEffect(()=>{const _2=v2;if(!_2)return;const O4=window.HTMLInputElement.prototype;const I3=Object.getOwnPropertyDescriptor(O4,"checked");const P4=I3.set;const H3=!c5.current;if(k3!==r3&&P4){const A=new Event("click",{bubbles:H3});_2.indeterminate=F3(r3);P4.call(_2,F3(r3)?false:r3);_2.dispatchEvent(A)}},[v2,k3,r3,c5]);const w3=z.useRef(F3(r3)?false:r3);return Ht.jsx(sn.input,{type:"checkbox","aria-hidden":true,defaultChecked:l2??w3.current,required:i5,disabled:s2,name:u6,value:p2,form:h3,...a3,tabIndex:-1,ref:y4,style:{...a3.style,...j4,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});Ie6.displayName=Ee3;function xt3(t3){return typeof t3==="function"}__name(xt3,"xt");m2(xt3,"isFunction");function F3(t3){return t3==="indeterminate"}__name(F3,"F");m2(F3,"isIndeterminate");function Pe3(t3){return F3(t3)?"indeterminate":t3?"checked":"unchecked"}__name(Pe3,"Pe");m2(Pe3,"getState$1");function yt4({className:t3,...a3}){return Ht.jsx(we5,{"data-slot":"checkbox",className:nv("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t3),...a3,children:Ht.jsx(Ne6,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:Ht.jsx(t2,{className:"size-3.5"})})})}__name(yt4,"yt");m2(yt4,"Checkbox");var ne6="Radio";var[gt3,Te5]=av(ne6);var[kt3,jt3]=gt3(ne6);var Fe3=z.forwardRef((t3,a3)=>{const{__scopeRadio:o6,name:n2,checked:c5=false,required:r3,disabled:l2,value:i5="on",onCheck:s2,form:u6,...p2}=t3;const[h3,v2]=z.useState(null);const x2=on(a3,j4=>v2(j4));const y4=z.useRef(false);const k3=h3?u6||!!h3.closest("form"):true;return Ht.jsxs(kt3,{scope:o6,checked:c5,disabled:l2,children:[Ht.jsx(sn.button,{type:"button",role:"radio","aria-checked":c5,"data-state":qe5(c5),"data-disabled":l2?"":void 0,disabled:l2,value:i5,...p2,ref:x2,onClick:go(t3.onClick,j4=>{if(!c5)s2?.();if(k3){y4.current=j4.isPropagationStopped();if(!y4.current)j4.stopPropagation()}})}),k3&&Ht.jsx(Oe5,{control:h3,bubbles:!y4.current,name:n2,value:i5,checked:c5,required:r3,disabled:l2,form:u6,style:{transform:"translateX(-100%)"}})]})});Fe3.displayName=ne6;var Me5="RadioIndicator";var Le7=z.forwardRef((t3,a3)=>{const{__scopeRadio:o6,forceMount:n2,...c5}=t3;const r3=jt3(Me5,o6);return Ht.jsx(j,{present:n2||r3.checked,children:Ht.jsx(sn.span,{"data-state":qe5(r3.checked),"data-disabled":r3.disabled?"":void 0,...c5,ref:a3})})});Le7.displayName=Me5;var _t4="RadioBubbleInput";var Oe5=z.forwardRef(({__scopeRadio:t3,control:a3,checked:o6,bubbles:n2=true,...c5},r3)=>{const l2=z.useRef(null);const i5=on(l2,r3);const s2=yt3(o6);const u6=e1(a3);z.useEffect(()=>{const p2=l2.current;if(!p2)return;const h3=window.HTMLInputElement.prototype;const v2=Object.getOwnPropertyDescriptor(h3,"checked");const x2=v2.set;if(s2!==o6&&x2){const y4=new Event("click",{bubbles:n2});x2.call(p2,o6);p2.dispatchEvent(y4)}},[s2,o6,n2]);return Ht.jsx(sn.input,{type:"radio","aria-hidden":true,defaultChecked:o6,...c5,tabIndex:-1,ref:i5,style:{...c5.style,...u6,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Oe5.displayName=_t4;function qe5(t3){return t3?"checked":"unchecked"}__name(qe5,"qe");m2(qe5,"getState");var Rt4=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"];var V2="RadioGroup";var[Ct3,or2]=av(V2,[xt,Te5]);var Ae5=xt();var De6=Te5();var[wt3,St2]=Ct3(V2);var Ge7=z.forwardRef((t3,a3)=>{const{__scopeRadioGroup:o6,name:n2,defaultValue:c5,value:r3,required:l2=false,disabled:i5=false,orientation:s2,dir:u6,loop:p2=true,onValueChange:h3,...v2}=t3;const x2=Ae5(o6);const y4=hS(u6);const[k3,j4]=dS({prop:r3,defaultProp:c5??null,onChange:h3,caller:V2});return Ht.jsx(wt3,{scope:o6,name:n2,required:l2,disabled:i5,value:k3,onValueChange:j4,children:Ht.jsx(bt,{asChild:true,...x2,orientation:s2,dir:y4,loop:p2,children:Ht.jsx(sn.div,{role:"radiogroup","aria-required":l2,"aria-orientation":s2,"data-disabled":i5?"":void 0,dir:y4,...v2,ref:a3})})})});Ge7.displayName=V2;var He7="RadioGroupItem";var Be6=z.forwardRef((t3,a3)=>{const{__scopeRadioGroup:o6,disabled:n2,...c5}=t3;const r3=St2(He7,o6);const l2=r3.disabled||n2;const i5=Ae5(o6);const s2=De6(o6);const u6=z.useRef(null);const p2=on(a3,u6);const h3=r3.value===c5.value;const v2=z.useRef(false);z.useEffect(()=>{const x2=m2(k3=>{if(Rt4.includes(k3.key)){v2.current=true}},"handleKeyDown");const y4=m2(()=>v2.current=false,"handleKeyUp");document.addEventListener("keydown",x2);document.addEventListener("keyup",y4);return()=>{document.removeEventListener("keydown",x2);document.removeEventListener("keyup",y4)}},[]);return Ht.jsx(Rt,{asChild:true,...i5,focusable:!l2,active:h3,children:Ht.jsx(Fe3,{disabled:l2,required:r3.required,checked:h3,...s2,...c5,name:r3.name,ref:p2,onCheck:m2(()=>r3.onValueChange(c5.value),"onCheck"),onKeyDown:go(x2=>{if(x2.key==="Enter")x2.preventDefault()}),onFocus:go(c5.onFocus,()=>{if(v2.current)u6.current?.click()})})})});Be6.displayName=He7;var Nt4="RadioGroupIndicator";var $e6=z.forwardRef((t3,a3)=>{const{__scopeRadioGroup:o6,...n2}=t3;const c5=De6(o6);return Ht.jsx(Le7,{...c5,...n2,ref:a3})});$e6.displayName=Nt4;var Et4=Ge7;var It4=Be6;var Pt3=$e6;function Tt4({className:t3,...a3}){return Ht.jsx(Et4,{"data-slot":"radio-group",className:nv("grid gap-3",t3),...a3})}__name(Tt4,"Tt");m2(Tt4,"RadioGroup");function Ft3({className:t3,...a3}){return Ht.jsx(It4,{"data-slot":"radio-group-item",className:nv("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t3),...a3,children:Ht.jsx(Pt3,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:Ht.jsx(dt5,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})})})}__name(Ft3,"Ft");m2(Ft3,"RadioGroupItem");var $4=null;function E6(t3){if(!t3||typeof document==="undefined")return t3;if(!$4){$4=document.createElement("textarea")}$4.innerHTML=t3;return $4.value}__name(E6,"E");m2(E6,"decodeHtmlEntities");var Mt3={layout:["filters"],activeFilters:["tags"],activeFilterTag:["label","remove_button"],param:["label","control"],dropdown:["control"],checkboxes:["items"],checkboxItem:["checkbox","label"],radio:["items"],radioItem:["input","label"],colorSwatches:["items"],colorSwatchItem:["button"],range:["min_input","max_input"]};function S3(t3,a3){if(!t3||typeof t3!=="string"||t3.trim().length===0){return false}const o6=Mt3[a3]??[];for(const n2 of o6){if(!t3.includes(`{{${n2}}}`))return false}if(/
Direct factory formulations Waterproofing products built for harsh weather
Find high-grade membranes, sealants, and primers engineered to seal roofs, walls, and concrete foundations.
Extreme UV & rain protection Tested for South African conditions Long-lasting surface sealers 
U-Proof Standard
Heavy-duty protective sealants
View allLiquid Rubber
High-performance liquid rubber sealant in a 5-L bucket, ideal for roofs, decks and terraces.
R790