",G=G.removeChild(G.firstChild);break;case"select":G=typeof X.is==="string"?J.createElement("select",{is:X.is}):J.createElement("select"),X.multiple?G.multiple=!0:X.size&&(G.size=X.size);break;default:G=typeof X.is==="string"?J.createElement(Z,{is:X.is}):J.createElement(Z)}}G[U0]=z,G[V0]=X;w:for(J=z.child;J!==null;){if(J.tag===5||J.tag===6)G.appendChild(J.stateNode);else if(J.tag!==4&&J.tag!==27&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===z)break w;for(;J.sibling===null;){if(J.return===null||J.return===z)break w;J=J.return}J.sibling.return=J.return,J=J.sibling}z.stateNode=G;w:switch(W0(G,Z,X),Z){case"button":case"input":case"select":case"textarea":X=!!X.autoFocus;break w;case"img":X=!0;break w;default:X=!1}X&&Yw(z)}}return l(z),L7(z,z.type,w===null?null:w.memoizedProps,z.pendingProps,Y),null;case 6:if(w&&z.stateNode!=null)w.memoizedProps!==X&&Yw(z);else{if(typeof X!=="string"&&z.stateNode===null)throw Error(D(166));if(w=Pw.current,I6(z)){if(w=z.stateNode,Y=z.memoizedProps,X=null,Z=B0,Z!==null)switch(Z.tag){case 27:case 5:X=Z.memoizedProps}w[U0]=z,w=w.nodeValue===Y||X!==null&&X.suppressHydrationWarning===!0||IG(w.nodeValue,Y)?!0:!1,w||pw(z,!0)}else w=y8(w).createTextNode(X),w[U0]=z,z.stateNode=w}return l(z),null;case 31:if(Y=z.memoizedState,w===null||w.memoizedState!==null){if(X=I6(z),Y!==null){if(w===null){if(!X)throw Error(D(318));if(w=z.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(D(557));w[U0]=z}else H6(),(z.flags&128)===0&&(z.memoizedState=null),z.flags|=4;l(z),w=!1}else Y=G7(),w!==null&&w.memoizedState!==null&&(w.memoizedState.hydrationErrors=Y),w=!0;if(!w){if(z.flags&256)return f0(z),z;return f0(z),null}if((z.flags&128)!==0)throw Error(D(558))}return l(z),null;case 13:if(X=z.memoizedState,w===null||w.memoizedState!==null&&w.memoizedState.dehydrated!==null){if(Z=I6(z),X!==null&&X.dehydrated!==null){if(w===null){if(!Z)throw Error(D(318));if(Z=z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error(D(317));Z[U0]=z}else H6(),(z.flags&128)===0&&(z.memoizedState=null),z.flags|=4;l(z),Z=!1}else Z=G7(),w!==null&&w.memoizedState!==null&&(w.memoizedState.hydrationErrors=Z),Z=!0;if(!Z){if(z.flags&256)return f0(z),z;return f0(z),null}}if(f0(z),(z.flags&128)!==0)return z.lanes=Y,z;return Y=X!==null,w=w!==null&&w.memoizedState!==null,Y&&(X=z.child,Z=null,X.alternate!==null&&X.alternate.memoizedState!==null&&X.alternate.memoizedState.cachePool!==null&&(Z=X.alternate.memoizedState.cachePool.pool),G=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(G=X.memoizedState.cachePool.pool),G!==Z&&(X.flags|=2048)),Y!==w&&Y&&(z.child.flags|=8192),a1(z,z.updateQueue),l(z),null;case 4:return n6(),w===null&&Wz(z.stateNode.containerInfo),l(z),null;case 10:return xw(z.type),l(z),null;case 19:if(J0(a),X=z.memoizedState,X===null)return l(z),null;if(Z=(z.flags&128)!==0,G=X.rendering,G===null)if(Z)K4(X,!1);else{if(o!==0||w!==null&&(w.flags&128)!==0)for(w=z.child;w!==null;){if(G=N8(w),G!==null){z.flags|=128,K4(X,!1),w=G.updateQueue,z.updateQueue=w,a1(z,w),z.subtreeFlags=0,w=Y;for(Y=z.child;Y!==null;)cX(Y,w),Y=Y.sibling;return u(a,a.current&1|2),h&&Jw(z,X.treeForkCount),z.child}w=w.sibling}X.tail!==null&&T0()>h8&&(z.flags|=128,Z=!0,K4(X,!1),z.lanes=4194304)}else{if(!Z)if(w=N8(G),w!==null){if(z.flags|=128,Z=!0,w=w.updateQueue,z.updateQueue=w,a1(z,w),K4(X,!0),X.tail===null&&X.tailMode==="hidden"&&!G.alternate&&!h)return l(z),null}else 2*T0()-X.renderingStartTime>h8&&Y!==536870912&&(z.flags|=128,Z=!0,K4(X,!1),z.lanes=4194304);X.isBackwards?(G.sibling=z.child,z.child=G):(w=X.last,w!==null?w.sibling=G:z.child=G,X.last=G)}if(X.tail!==null)return w=X.tail,X.rendering=w,X.tail=w.sibling,X.renderingStartTime=T0(),w.sibling=null,Y=a.current,u(a,Z?Y&1|2:Y&1),h&&Jw(z,X.treeForkCount),w;return l(z),null;case 22:case 23:return f0(z),u5(),X=z.memoizedState!==null,w!==null?w.memoizedState!==null!==X&&(z.flags|=8192):X&&(z.flags|=8192),X?(Y&536870912)!==0&&(z.flags&128)===0&&(l(z),z.subtreeFlags&6&&(z.flags|=8192)):l(z),Y=z.updateQueue,Y!==null&&a1(z,Y.retryQueue),Y=null,w!==null&&w.memoizedState!==null&&w.memoizedState.cachePool!==null&&(Y=w.memoizedState.cachePool.pool),X=null,z.memoizedState!==null&&z.memoizedState.cachePool!==null&&(X=z.memoizedState.cachePool.pool),X!==Y&&(z.flags|=2048),w!==null&&J0(A6),null;case 24:return Y=null,w!==null&&(Y=w.memoizedState.cache),z.memoizedState.cache!==Y&&(z.flags|=2048),xw(z0),l(z),null;case 25:return null;case 30:return null}throw Error(D(156,z.tag))}function kU(w,z){switch(v5(z),z.tag){case 1:return w=z.flags,w&65536?(z.flags=w&-65537|128,z):null;case 3:return xw(z0),n6(),w=z.flags,(w&65536)!==0&&(w&128)===0?(z.flags=w&-65537|128,z):null;case 26:case 27:case 5:return D8(z),null;case 31:if(z.memoizedState!==null){if(f0(z),z.alternate===null)throw Error(D(340));H6()}return w=z.flags,w&65536?(z.flags=w&-65537|128,z):null;case 13:if(f0(z),w=z.memoizedState,w!==null&&w.dehydrated!==null){if(z.alternate===null)throw Error(D(340));H6()}return w=z.flags,w&65536?(z.flags=w&-65537|128,z):null;case 19:return J0(a),null;case 4:return n6(),null;case 10:return xw(z.type),null;case 22:case 23:return f0(z),u5(),w!==null&&J0(A6),w=z.flags,w&65536?(z.flags=w&-65537|128,z):null;case 24:return xw(z0),null;case 25:return null;default:return null}}function cZ(w,z){switch(v5(z),z.tag){case 3:xw(z0),n6();break;case 26:case 27:case 5:D8(z);break;case 4:n6();break;case 31:z.memoizedState!==null&&f0(z);break;case 13:f0(z);break;case 19:J0(a);break;case 10:xw(z.type);break;case 22:case 23:f0(z),u5(),w!==null&&J0(A6);break;case 24:xw(z0)}}function O1(w,z){try{var Y=z.updateQueue,X=Y!==null?Y.lastEffect:null;if(X!==null){var Z=X.next;Y=Z;do{if((Y.tag&w)===w){X=void 0;var{create:G,inst:J}=Y;X=G(),J.destroy=X}Y=Y.next}while(Y!==Z)}}catch(A){d(z,z.return,A)}}function rw(w,z,Y){try{var X=z.updateQueue,Z=X!==null?X.lastEffect:null;if(Z!==null){var G=Z.next;X=G;do{if((X.tag&w)===w){var J=X.inst,A=J.destroy;if(A!==void 0){J.destroy=void 0,Z=z;var U=Y,W=A;try{W()}catch(Q){d(Z,U,Q)}}}X=X.next}while(X!==G)}}catch(Q){d(z,z.return,Q)}}function uZ(w){var z=w.updateQueue;if(z!==null){var Y=w.stateNode;try{tX(z,Y)}catch(X){d(w,w.return,X)}}}function lZ(w,z,Y){Y.props=L6(w.type,w.memoizedProps),Y.state=w.memoizedState;try{Y.componentWillUnmount()}catch(X){d(w,z,X)}}function o4(w,z){try{var Y=w.ref;if(Y!==null){switch(w.tag){case 26:case 27:case 5:var X=w.stateNode;break;case 30:X=w.stateNode;break;default:X=w.stateNode}typeof Y==="function"?w.refCleanup=Y(X):Y.current=X}}catch(Z){d(w,z,Z)}}function a0(w,z){var{ref:Y,refCleanup:X}=w;if(Y!==null)if(typeof X==="function")try{X()}catch(Z){d(w,z,Z)}finally{w.refCleanup=null,w=w.alternate,w!=null&&(w.refCleanup=null)}else if(typeof Y==="function")try{Y(null)}catch(Z){d(w,z,Z)}else Y.current=null}function iZ(w){var{type:z,memoizedProps:Y,stateNode:X}=w;try{w:switch(z){case"button":case"input":case"select":case"textarea":Y.autoFocus&&X.focus();break w;case"img":Y.src?X.src=Y.src:Y.srcSet&&(X.srcset=Y.srcSet)}}catch(Z){d(w,w.return,Z)}}function Q7(w,z,Y){try{var X=w.stateNode;iU(X,w.type,Y,z),X[V0]=z}catch(Z){d(w,w.return,Z)}}function pZ(w){return w.tag===5||w.tag===3||w.tag===26||w.tag===27&&aw(w.type)||w.tag===4}function b7(w){w:for(;;){for(;w.sibling===null;){if(w.return===null||pZ(w.return))return null;w=w.return}w.sibling.return=w.return;for(w=w.sibling;w.tag!==5&&w.tag!==6&&w.tag!==18;){if(w.tag===27&&aw(w.type))continue w;if(w.flags&2)continue w;if(w.child===null||w.tag===4)continue w;else w.child.return=w,w=w.child}if(!(w.flags&2))return w.stateNode}}function Z5(w,z,Y){var X=w.tag;if(X===5||X===6)w=w.stateNode,z?(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(w,z):(z=Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y,z.appendChild(w),Y=Y._reactRootContainer,Y!==null&&Y!==void 0||z.onclick!==null||(z.onclick=Bw));else if(X!==4&&(X===27&&aw(w.type)&&(Y=w.stateNode,z=null),w=w.child,w!==null))for(Z5(w,z,Y),w=w.sibling;w!==null;)Z5(w,z,Y),w=w.sibling}function g8(w,z,Y){var X=w.tag;if(X===5||X===6)w=w.stateNode,z?Y.insertBefore(w,z):Y.appendChild(w);else if(X!==4&&(X===27&&aw(w.type)&&(Y=w.stateNode),w=w.child,w!==null))for(g8(w,z,Y),w=w.sibling;w!==null;)g8(w,z,Y),w=w.sibling}function rZ(w){var{stateNode:z,memoizedProps:Y}=w;try{for(var X=w.type,Z=z.attributes;Z.length;)z.removeAttributeNode(Z[0]);W0(z,X,Y),z[U0]=w,z[V0]=Y}catch(G){d(w,w.return,G)}}function TU(w,z){if(w=w.containerInfo,_5=l8,w=hX(w),g5(w)){if("selectionStart"in w)var Y={start:w.selectionStart,end:w.selectionEnd};else w:{Y=(Y=w.ownerDocument)&&Y.defaultView||window;var X=Y.getSelection&&Y.getSelection();if(X&&X.rangeCount!==0){Y=X.anchorNode;var{anchorOffset:Z,focusNode:G}=X;X=X.focusOffset;try{Y.nodeType,G.nodeType}catch(O){Y=null;break w}var J=0,A=-1,U=-1,W=0,Q=0,F=w,x=null;z:for(;;){for(var L;;){if(F!==Y||Z!==0&&F.nodeType!==3||(A=J+Z),F!==G||X!==0&&F.nodeType!==3||(U=J+X),F.nodeType===3&&(J+=F.nodeValue.length),(L=F.firstChild)===null)break;x=F,F=L}for(;;){if(F===w)break z;if(x===Y&&++W===Z&&(A=J),x===G&&++Q===X&&(U=J),(L=F.nextSibling)!==null)break;F=x,x=F.parentNode}F=L}Y=A===-1||U===-1?null:{start:A,end:U}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;L5={focusedElem:w,selectionRange:Y},l8=!1;for(Z0=z;Z0!==null;)if(z=Z0,w=z.child,(z.subtreeFlags&1028)!==0&&w!==null)w.return=z,Z0=w;else for(;Z0!==null;){switch(z=Z0,G=z.alternate,w=z.flags,z.tag){case 0:if((w&4)!==0&&(w=z.updateQueue,w=w!==null?w.events:null,w!==null))for(Y=0;Y title"));W0(G,X,Y),G[U0]=w,G0(G),X=G;break w;case"link":var J=s9("link","href",Z).get(X+(Y.href||""));if(J){for(var A=0;AI&&(J=I,I=O,O=J);var H=eY(A,O),B=eY(A,I);if(H&&B&&(L.rangeCount!==1||L.anchorNode!==H.node||L.anchorOffset!==H.offset||L.focusNode!==B.node||L.focusOffset!==B.offset)){var _=F.createRange();_.setStart(H.node,H.offset),L.removeAllRanges(),O>I?(L.addRange(_),L.extend(B.node,B.offset)):(_.setEnd(B.node,B.offset),L.addRange(_))}}}}F=[];for(L=A;L=L.parentNode;)L.nodeType===1&&F.push({element:L,left:L.scrollLeft,top:L.scrollTop});typeof A.focus==="function"&&A.focus();for(A=0;AY?32:Y,k.T=null,Y=A5,A5=null;var G=mw,J=_w;if(X0=0,Z4=mw=null,_w=0,(P&6)!==0)throw Error(D(331));var A=P;if(P|=4,ZG(G.current),zG(G,G.current,J,Y),P=A,f1(0,!1),I0&&typeof I0.onPostCommitFiberRoot==="function")try{I0.onPostCommitFiberRoot(Q1,G)}catch(U){}return!0}finally{E.p=Z,k.T=X,DG(w,z)}}function S9(w,z,Y){z=v0(Y,z),z=z5(w.stateNode,z,2),w=dw(w,z,2),w!==null&&(F1(w,2),e0(w))}function d(w,z,Y){if(w.tag===3)S9(w,w,Y);else for(;z!==null;){if(z.tag===3){S9(z,w,Y);break}else if(z.tag===1){var X=z.stateNode;if(typeof z.type.getDerivedStateFromError==="function"||typeof X.componentDidCatch==="function"&&(yw===null||!yw.has(X))){w=v0(Y,w),Y=CZ(2),X=dw(z,Y,2),X!==null&&(PZ(Y,X,z,w),F1(X,2),e0(X));break}}z=z.return}}function D7(w,z,Y){var X=w.pingCache;if(X===null){X=w.pingCache=new KU;var Z=new Set;X.set(z,Z)}else Z=X.get(z),Z===void 0&&(Z=new Set,X.set(z,Z));Z.has(Y)||(Az=!0,Z.add(Y),w=hU.bind(null,w,z,Y),z.then(w,w))}function hU(w,z,Y){var X=w.pingCache;X!==null&&X.delete(z),w.pingedLanes|=w.suspendedLanes&Y,w.warmLanes&=~Y,c===w&&(S&Y)===Y&&(o===4||o===3&&(S&62914560)===S&&300>T0()-X2?(P&2)===0&&G4(w,0):Uz|=Y,X4===S&&(X4=0)),e0(w)}function MG(w,z){z===0&&(z=xX()),w=R6(w,z),w!==null&&(F1(w,z),e0(w))}function CU(w){var z=w.memoizedState,Y=0;z!==null&&(Y=z.retryLane),MG(w,Y)}function PU(w,z){var Y=0;switch(w.tag){case 31:case 13:var{stateNode:X,memoizedState:Z}=w;Z!==null&&(Y=Z.retryLane);break;case 19:X=w.stateNode;break;case 22:X=w.stateNode._retryCache;break;default:throw Error(D(314))}X!==null&&X.delete(z),MG(w,Y)}function EU(w,z){return q5(w,z)}function e0(w){w!==$6&&w.next===null&&($6===null?E8=$6=w:$6=$6.next=w),v8=!0,B5||(B5=!0,dU())}function f1(w,z){if(!V7&&v8){V7=!0;do{var Y=!1;for(var X=E8;X!==null;){if(!z)if(w!==0){var Z=X.pendingLanes;if(Z===0)var G=0;else{var{suspendedLanes:J,pingedLanes:A}=X;G=(1<<31-N0(42|w)+1)-1,G&=Z&~(J&~A),G=G&201326741?G&201326741|1:G?G|2:0}G!==0&&(Y=!0,g9(X,G))}else G=S,G=p8(X,X===c?G:0,X.cancelPendingCommit!==null||X.timeoutHandle!==-1),(G&3)===0||b1(X,G)||(Y=!0,g9(X,G));X=X.next}}while(Y);V7=!1}}function vU(){OG()}function OG(){v8=B5=!1;var w=0;Cw!==0&&rU()&&(w=Cw);for(var z=T0(),Y=null,X=E8;X!==null;){var Z=X.next,G=fG(X,z);if(G===0)X.next=null,Y===null?E8=Z:Y.next=Z,Z===null&&($6=Y);else if(Y=X,w!==0||(G&3)!==0)v8=!0;X=Z}X0!==0&&X0!==5||f1(w,!1),Cw!==0&&(Cw=0)}function fG(w,z){for(var{suspendedLanes:Y,pingedLanes:X,expirationTimes:Z}=w,G=w.pendingLanes&-62914561;0A)break;var{transferSize:Q,initiatorType:F}=U;Q&&v9(F)&&(U=U.responseEnd,J+=Q*(U title"):null)}function HB(w,z,Y){if(Y===1||z.itemProp!=null)return!1;switch(w){case"meta":case"title":return!0;case"style":if(typeof z.precedence!=="string"||typeof z.href!=="string"||z.href==="")break;return!0;case"link":if(typeof z.rel!=="string"||typeof z.href!=="string"||z.href===""||z.onLoad||z.onError)break;switch(z.rel){case"stylesheet":return w=z.disabled,typeof z.precedence==="string"&&w==null;default:return!0}case"script":if(z.async&&typeof z.async!=="function"&&typeof z.async!=="symbol"&&!z.onLoad&&!z.onError&&z.src&&typeof z.src==="string")return!0}return!1}function hG(w){return w.type==="stylesheet"&&(w.state.loading&3)===0?!1:!0}function WB(w,z,Y,X){if(Y.type==="stylesheet"&&(typeof X.media!=="string"||matchMedia(X.media).matches!==!1)&&(Y.state.loading&4)===0){if(Y.instance===null){var Z=J4(X.href),G=z.querySelector(q1(Z));if(G){z=G._p,z!==null&&typeof z==="object"&&typeof z.then==="function"&&(w.count++,w=c8.bind(w),z.then(w,w)),Y.state.loading|=4,Y.instance=G,G0(G);return}G=z.ownerDocument||z,X=gG(X),(Z=c0.get(Z))&&xz(X,Z),G=G.createElement("link"),G0(G);var J=G;J._p=new Promise(function(A,U){J.onload=A,J.onerror=U}),W0(G,"link",X),Y.instance=G}w.stylesheets===null&&(w.stylesheets=new Map),w.stylesheets.set(Y,z),(z=Y.state.preload)&&(Y.state.loading&3)===0&&(w.count++,Y=c8.bind(w),z.addEventListener("load",Y),z.addEventListener("error",Y))}}function xB(w,z){return w.stylesheets&&w.count===0&&Q8(w,w.stylesheets),0q7?50:800)+z);return w.unsuspend=Y,function(){w.unsuspend=null,clearTimeout(X),clearTimeout(Z)}}:null}function c8(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Q8(this,this.stylesheets);else if(this.unsuspend){var w=this.unsuspend;this.unsuspend=null,w()}}}function Q8(w,z){w.stylesheets=null,w.unsuspend!==null&&(w.count++,u8=new Map,z.forEach(_B,w),u8=null,c8.call(w))}function _B(w,z){if(!(z.state.loading&4)){var Y=u8.get(w);if(Y)var X=Y.get(null);else{Y=new Map,u8.set(w,Y);for(var Z=w.querySelectorAll("link[data-precedence],style[data-precedence]"),G=0;G{_Y();tw();YX=Vz(SY(),1);p=Object.assign,tJ=Symbol.for("react.element"),m1=Symbol.for("react.transitional.element"),S4=Symbol.for("react.portal"),S6=Symbol.for("react.fragment"),AX=Symbol.for("react.strict_mode"),k7=Symbol.for("react.profiler"),UX=Symbol.for("react.consumer"),Uw=Symbol.for("react.context"),O5=Symbol.for("react.forward_ref"),T7=Symbol.for("react.suspense"),I7=Symbol.for("react.suspense_list"),f5=Symbol.for("react.memo"),kw=Symbol.for("react.lazy"),N7=Symbol.for("react.activity"),eJ=Symbol.for("react.memo_cache_sentinel"),hY=Symbol.iterator;wA=Symbol.for("react.client.reference");g4=Array.isArray,k=V4,E=YX.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G6={pending:!1,data:null,method:null,action:null},$7=[];n0=t0(null),w1=t0(null),Pw=t0(null),F8=t0(null);S7=Object.prototype.hasOwnProperty,q5=T6,a2=c2,YA=i2,XA=l2,T0=r0,ZA=u2,BX=d2,HX=m2,V8=k6,GA=y2,WX=v2,JA=void 0,AA=void 0;N0=Math.clz32?Math.clz32:HA,UA=Math.log,BA=Math.LN2;ow=Math.random().toString(36).slice(2),U0="__reactFiber$"+ow,V0="__reactProps$"+ow,U4="__reactContainer$"+ow,g7="__reactEvents$"+ow,_A="__reactListeners$"+ow,LA="__reactHandles$"+ow,vY="__reactResources$"+ow,R1="__reactMarker$"+ow;FX=new Set,RX={};QA=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),dY={},yY={};RA=/[\n"\\]/g;DA=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));VA=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),MA=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;Lw=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u");if(Lw)try{Y6={},Object.defineProperty(Y6,"passive",{get:function(){v7=!0}}),window.addEventListener("test",Y6,Y6),window.removeEventListener("test",Y6,Y6)}catch(w){v7=!1}b6={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(w){return w.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},r8=M0(b6),D1=p({},b6,{view:0,detail:0}),OA=M0(D1),s8=p({},D1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:j5,button:0,buttons:0,relatedTarget:function(w){return w.relatedTarget===void 0?w.fromElement===w.srcElement?w.toElement:w.fromElement:w.relatedTarget},movementX:function(w){if("movementX"in w)return w.movementX;return w!==I4&&(I4&&w.type==="mousemove"?(e2=w.screenX-I4.screenX,w7=w.screenY-I4.screenY):w7=e2=0,I4=w),e2},movementY:function(w){return"movementY"in w?w.movementY:w7}}),lY=M0(s8),fA=p({},s8,{dataTransfer:0}),qA=M0(fA),kA=p({},D1,{relatedTarget:0}),z7=M0(kA),TA=p({},b6,{animationName:0,elapsedTime:0,pseudoElement:0}),IA=M0(TA),NA=p({},b6,{clipboardData:function(w){return"clipboardData"in w?w.clipboardData:window.clipboardData}}),KA=M0(NA),$A=p({},b6,{data:0}),iY=M0($A),jA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},SA={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},gA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};CA=p({},D1,{key:function(w){if(w.key){var z=jA[w.key]||w.key;if(z!=="Unidentified")return z}return w.type==="keypress"?(w=Z8(w),w===13?"Enter":String.fromCharCode(w)):w.type==="keydown"||w.type==="keyup"?SA[w.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:j5,charCode:function(w){return w.type==="keypress"?Z8(w):0},keyCode:function(w){return w.type==="keydown"||w.type==="keyup"?w.keyCode:0},which:function(w){return w.type==="keypress"?Z8(w):w.type==="keydown"||w.type==="keyup"?w.keyCode:0}}),PA=M0(CA),EA=p({},s8,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pY=M0(EA),vA=p({},D1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:j5}),dA=M0(vA),yA=p({},b6,{propertyName:0,elapsedTime:0,pseudoElement:0}),mA=M0(yA),cA=p({},s8,{deltaX:function(w){return"deltaX"in w?w.deltaX:("wheelDeltaX"in w)?-w.wheelDeltaX:0},deltaY:function(w){return"deltaY"in w?w.deltaY:("wheelDeltaY"in w)?-w.wheelDeltaY:("wheelDelta"in w)?-w.wheelDelta:0},deltaZ:0,deltaMode:0}),uA=M0(cA),lA=p({},b6,{newState:0,oldState:0}),iA=M0(lA),pA=[9,13,27,32],S5=Lw&&"CompositionEvent"in window;Lw&&"documentMode"in document&&(m4=document.documentMode);rA=Lw&&"TextEvent"in window&&!m4,IX=Lw&&(!S5||m4&&8=m4),rY=String.fromCharCode(32);aA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};if(Lw){if(Lw){if(P4="oninput"in document,!P4)G8=document.createElement("div"),G8.setAttribute("oninput","return;"),P4=typeof G8.oninput==="function";C4=P4}else C4=!1;jX=C4&&(!document.documentMode||9=document.documentMode;v6={animationend:ew("Animation","AnimationEnd"),animationiteration:ew("Animation","AnimationIteration"),animationstart:ew("Animation","AnimationStart"),transitionrun:ew("Transition","TransitionRun"),transitionstart:ew("Transition","TransitionStart"),transitioncancel:ew("Transition","TransitionCancel"),transitionend:ew("Transition","TransitionEnd")},Y7={},CX={};Lw&&(CX=document.createElement("div").style,("AnimationEvent"in window)||(delete v6.animationend.animation,delete v6.animationiteration.animation,delete v6.animationstart.animation),("TransitionEvent"in window)||delete v6.transitionend.transition);PX=F6("animationend"),EX=F6("animationiteration"),vX=F6("animationstart"),ZU=F6("transitionrun"),GU=F6("transitionstart"),JU=F6("transitioncancel"),dX=F6("transitionend"),yX=new Map,m7="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");m7.push("scrollEnd");O8=typeof reportError==="function"?reportError:function(w){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(z))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",w);return}console.error(w)},g0=[];y6={};z9=new WeakMap;m6=[],C0=[];c7=Error(D(519));u7=t0(null);UU=typeof AbortController<"u"?AbortController:function(){var w=[],z=this.signal={aborted:!1,addEventListener:function(Y,X){w.push(X)}};this.abort=function(){z.aborted=!0,w.forEach(function(Y){return Y()})}},BU=T6,HU=k6,z0={$$typeof:Uw,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};G9=k.S;k.S=function(w,z){JG=T0(),typeof z==="object"&&z!==null&&typeof z.then==="function"&&WU(w,z),G9!==null&&G9(w,z)};A6=t0(null);W4=Error(D(460)),m5=Error(D(474)),t8=Error(D(542)),T8={then:function(){}};x6=oX(!0),aX=oX(!1);z4=t0(null),I8=t0(0);j0=t0(null);a=t0(0);U1={readContext:H0,use:w2,useCallback:s,useContext:s,useEffect:s,useImperativeHandle:s,useLayoutEffect:s,useInsertionEffect:s,useMemo:s,useReducer:s,useRef:s,useState:s,useDebugValue:s,useDeferredValue:s,useTransition:s,useSyncExternalStore:s,useId:s,useHostTransitionStatus:s,useFormState:s,useActionState:s,useOptimistic:s,useMemoCache:s,useCacheRefresh:s};U1.useEffectEvent=s;$Z={readContext:H0,use:w2,useCallback:function(w,z){return _0().memoizedState=[w,z===void 0?null:z],w},useContext:H0,useEffect:Q9,useImperativeHandle:function(w,z,Y){Y=Y!==null&&Y!==void 0?Y.concat([w]):null,B8(4194308,4,FZ.bind(null,z,w),Y)},useLayoutEffect:function(w,z){return B8(4194308,4,w,z)},useInsertionEffect:function(w,z){B8(4,2,w,z)},useMemo:function(w,z){var Y=_0();z=z===void 0?null:z;var X=w();if(_6){jw(!0);try{w()}finally{jw(!1)}}return Y.memoizedState=[X,z],X},useReducer:function(w,z,Y){var X=_0();if(Y!==void 0){var Z=Y(z);if(_6){jw(!0);try{Y(z)}finally{jw(!1)}}}else Z=z;return X.memoizedState=X.baseState=Z,w={pending:null,lanes:0,dispatch:null,lastRenderedReducer:w,lastRenderedState:Z},X.queue=w,w=w.dispatch=VU.bind(null,T,w),[X.memoizedState,w]},useRef:function(w){var z=_0();return w={current:w},z.memoizedState=w},useState:function(w){w=n7(w);var z=w.queue,Y=IZ.bind(null,T,z);return z.dispatch=Y,[w.memoizedState,Y]},useDebugValue:t5,useDeferredValue:function(w,z){var Y=_0();return e5(Y,w,z)},useTransition:function(){var w=n7(!1);return w=OZ.bind(null,T,w.queue,!0,!1),_0().memoizedState=w,[!1,w]},useSyncExternalStore:function(w,z,Y){var X=T,Z=_0();if(h){if(Y===void 0)throw Error(D(407));Y=Y()}else{if(Y=z(),c===null)throw Error(D(349));(S&127)!==0||XZ(X,z,Y)}Z.memoizedState=Y;var G={value:Y,getSnapshot:z};return Z.queue=G,Q9(GZ.bind(null,X,G,w),[w]),X.flags|=2048,Y4(9,{destroy:void 0},ZZ.bind(null,X,G,Y,z),null),Y},useId:function(){var w=_0(),z=c.identifierPrefix;if(h){var Y=o0,X=s0;Y=(X&~(1<<32-N0(X)-1)).toString(32)+Y,z="_"+z+"R_"+Y,Y=$8++,0"u"?null:document;W1={$$typeof:Uw,Provider:null,Consumer:null,_currentValue:G6,_currentValue2:G6,_threadCount:0};x1=new Map,_1=new Map,$w=[],FB="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");A2.prototype.render=Fz.prototype.render=function(w){var z=this._internalRoot;if(z===null)throw Error(D(409));var Y=z.current,X=K0();EG(Y,X,w,z,null,null)};A2.prototype.unmount=Fz.prototype.unmount=function(){var w=this._internalRoot;if(w!==null){this._internalRoot=null;var z=w.containerInfo;EG(w.current,2,null,w,null,null),Z2(),z[U4]=null}};A2.prototype.unstable_scheduleHydration=function(w){if(w){var z=bX();w={blockedOn:null,target:w,priority:z};for(var Y=0;Y<$w.length&&z!==0&&z<$w[Y].priority;Y++);$w.splice(Y,0,w),Y===0&&yG(w)}};zX=O2;if(zX!=="19.2.5")throw Error(D(527,zX,"19.2.5"));E.findDOMNode=function(w){var z=w._reactInternals;if(z===void 0){if(typeof w.render==="function")throw Error(D(188));throw w=Object.keys(w).join(","),Error(D(268,w))}return w=nJ(z),w=w!==null?JX(w):null,w=w===null?null:w.stateNode,w};VB={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(j6=__REACT_DEVTOOLS_GLOBAL_HOOK__,!j6.isDisabled&&j6.supportsFiber)try{Q1=j6.inject(VB),I0=j6}catch(w){}}});var sG=Mz((pW,rG)=>{iG();function pG(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pG)}catch(w){console.error(w)}}pG(),rG.exports=Rz});var Mw=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(w){return this.listeners.add(w),this.onSubscribe(),()=>{this.listeners.delete(w),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};var UJ=class extends Mw{#w;#z;#Y;constructor(){super();this.#Y=(w)=>{if(typeof window<"u"&&window.addEventListener){let z=()=>w();return window.addEventListener("visibilitychange",z,!1),()=>{window.removeEventListener("visibilitychange",z)}}return}}onSubscribe(){if(!this.#z)this.setEventListener(this.#Y)}onUnsubscribe(){if(!this.hasListeners())this.#z?.(),this.#z=void 0}setEventListener(w){this.#Y=w,this.#z?.(),this.#z=w((z)=>{if(typeof z==="boolean")this.setFocused(z);else this.onFocus()})}setFocused(w){if(this.#w!==w)this.#w=w,this.onFocus()}onFocus(){let w=this.isFocused();this.listeners.forEach((z)=>{z(w)})}isFocused(){if(typeof this.#w==="boolean")return this.#w;return globalThis.document?.visibilityState!=="hidden"}},I1=new UJ;var BJ={setTimeout:(w,z)=>setTimeout(w,z),clearTimeout:(w)=>clearTimeout(w),setInterval:(w,z)=>setInterval(w,z),clearInterval:(w)=>clearInterval(w)},HJ=class{#w=BJ;#z=!1;setTimeoutProvider(w){this.#w=w}setTimeout(w,z){return this.#w.setTimeout(w,z)}clearTimeout(w){this.#w.clearTimeout(w)}setInterval(w,z){return this.#w.setInterval(w,z)}clearInterval(w){this.#w.clearInterval(w)}},Q4=new HJ;function fz(w){setTimeout(w,0)}var Tz=typeof window>"u"||"Deno"in globalThis;function L0(){}function Iz(w,z){return typeof w==="function"?w(z):w}function Nz(w){return typeof w==="number"&&w>=0&&w!==1/0}function Kz(w,z){return Math.max(w+(z||0)-Date.now(),0)}function b4(w,z){return typeof w==="function"?w(z):w}function $z(w,z){return typeof w==="function"?w(z):w}function H2(w,z){let{type:Y="all",exact:X,fetchStatus:Z,predicate:G,queryKey:J,stale:A}=w;if(J){if(X){if(z.queryHash!==F4(J,z.options))return!1}else if(!M6(z.queryKey,J))return!1}if(Y!=="all"){let U=z.isActive();if(Y==="active"&&!U)return!1;if(Y==="inactive"&&U)return!1}if(typeof A==="boolean"&&z.isStale()!==A)return!1;if(Z&&Z!==z.state.fetchStatus)return!1;if(G&&!G(z))return!1;return!0}function W2(w,z){let{exact:Y,status:X,predicate:Z,mutationKey:G}=w;if(G){if(!z.options.mutationKey)return!1;if(Y){if(V6(z.options.mutationKey)!==V6(G))return!1}else if(!M6(z.options.mutationKey,G))return!1}if(X&&z.state.status!==X)return!1;if(Z&&!Z(z))return!1;return!0}function F4(w,z){return(z?.queryKeyHashFn||V6)(w)}function V6(w){return JSON.stringify(w,(z,Y)=>B2(Y)?Object.keys(Y).sort().reduce((X,Z)=>{return X[Z]=Y[Z],X},{}):Y)}function M6(w,z){if(w===z)return!0;if(typeof w!==typeof z)return!1;if(w&&z&&typeof w==="object"&&typeof z==="object")return Object.keys(z).every((Y)=>M6(w[Y],z[Y]));return!1}var WJ=Object.prototype.hasOwnProperty;function jz(w,z,Y=0){if(w===z)return w;if(Y>500)return z;let X=qz(w)&&qz(z);if(!X&&!(B2(w)&&B2(z)))return z;let G=(X?w:Object.keys(w)).length,J=X?z:Object.keys(z),A=J.length,U=X?Array(A):{},W=0;for(let Q=0;Q{Q4.setTimeout(z,w)})}function gz(w,z,Y){if(typeof Y.structuralSharing==="function")return Y.structuralSharing(w,z);else if(Y.structuralSharing!==!1)return jz(w,z);return z}function hz(w,z,Y=0){let X=[...w,z];return Y&&X.length>Y?X.slice(1):X}function Cz(w,z,Y=0){let X=[z,...w];return Y&&X.length>Y?X.slice(0,-1):X}var R4=Symbol();function N1(w,z){if(!w.queryFn&&z?.initialPromise)return()=>z.initialPromise;if(!w.queryFn||w.queryFn===R4)return()=>Promise.reject(Error(`Missing queryFn: '${w.queryHash}'`));return w.queryFn}function Pz(w,z,Y){let X=!1,Z;return Object.defineProperty(w,"signal",{enumerable:!0,get:()=>{if(Z??=z(),X)return Z;if(X=!0,Z.aborted)Y();else Z.addEventListener("abort",Y,{once:!0});return Z}}),w}var K1=(()=>{let w=()=>Tz;return{isServer(){return w()},setIsServer(z){w=z}}})();function Ez(){let w,z,Y=new Promise((Z,G)=>{w=Z,z=G});Y.status="pending",Y.catch(()=>{});function X(Z){Object.assign(Y,Z),delete Y.resolve,delete Y.reject}return Y.resolve=(Z)=>{X({status:"fulfilled",value:Z}),w(Z)},Y.reject=(Z)=>{X({status:"rejected",reason:Z}),z(Z)},Y}var xJ=fz;function _J(){let w=[],z=0,Y=(A)=>{A()},X=(A)=>{A()},Z=xJ,G=(A)=>{if(z)w.push(A);else Z(()=>{Y(A)})},J=()=>{let A=w;if(w=[],A.length)Z(()=>{X(()=>{A.forEach((U)=>{Y(U)})})})};return{batch:(A)=>{let U;z++;try{U=A()}finally{if(z--,!z)J()}return U},batchCalls:(A)=>{return(...U)=>{G(()=>{A(...U)})}},schedule:G,setNotifyFunction:(A)=>{Y=A},setBatchNotifyFunction:(A)=>{X=A},setScheduler:(A)=>{Z=A}}}var t=_J();var LJ=class extends Mw{#w=!0;#z;#Y;constructor(){super();this.#Y=(w)=>{if(typeof window<"u"&&window.addEventListener){let z=()=>w(!0),Y=()=>w(!1);return window.addEventListener("online",z,!1),window.addEventListener("offline",Y,!1),()=>{window.removeEventListener("online",z),window.removeEventListener("offline",Y)}}return}}onSubscribe(){if(!this.#z)this.setEventListener(this.#Y)}onUnsubscribe(){if(!this.hasListeners())this.#z?.(),this.#z=void 0}setEventListener(w){this.#Y=w,this.#z?.(),this.#z=w(this.setOnline.bind(this))}setOnline(w){if(this.#w!==w)this.#w=w,this.listeners.forEach((Y)=>{Y(w)})}isOnline(){return this.#w}},O6=new LJ;function QJ(w){return Math.min(1000*2**w,30000)}function x2(w){return(w??"online")==="online"?O6.isOnline():!0}var $1=class extends Error{constructor(w){super("CancelledError");this.revert=w?.revert,this.silent=w?.silent}};function j1(w){let z=!1,Y=0,X,Z=Ez(),G=()=>Z.status!=="pending",J=(O)=>{if(!G()){let I=new $1(O);x(I),w.onCancel?.(I)}},A=()=>{z=!0},U=()=>{z=!1},W=()=>I1.isFocused()&&(w.networkMode==="always"||O6.isOnline())&&w.canRun(),Q=()=>x2(w.networkMode)&&w.canRun(),F=(O)=>{if(!G())X?.(),Z.resolve(O)},x=(O)=>{if(!G())X?.(),Z.reject(O)},L=()=>{return new Promise((O)=>{X=(I)=>{if(G()||W())O(I)},w.onPause?.()}).then(()=>{if(X=void 0,!G())w.onContinue?.()})},V=()=>{if(G())return;let O,I=Y===0?w.initialPromise:void 0;try{O=I??w.fn()}catch(H){O=Promise.reject(H)}Promise.resolve(O).then(F).catch((H)=>{if(G())return;let B=w.retry??(K1.isServer()?0:3),_=w.retryDelay??QJ,R=typeof _==="function"?_(Y,H):_,q=B===!0||typeof B==="number"&&Y{return W()?void 0:L()}).then(()=>{if(z)x(H);else V()})})};return{promise:Z,status:()=>Z.status,cancel:J,continue:()=>{return X?.(),Z},cancelRetry:A,continueRetry:U,canStart:Q,start:()=>{if(Q())V();else L().then(V);return Z}}}var S1=class{#w;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),Nz(this.gcTime))this.#w=Q4.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(w){this.gcTime=Math.max(this.gcTime||0,w??(K1.isServer()?1/0:300000))}clearGcTimeout(){if(this.#w!==void 0)Q4.clearTimeout(this.#w),this.#w=void 0}};function dz(w){return{onFetch:(z,Y)=>{let X=z.options,Z=z.fetchOptions?.meta?.fetchMore?.direction,G=z.state.data?.pages||[],J=z.state.data?.pageParams||[],A={pages:[],pageParams:[]},U=0,W=async()=>{let Q=!1,F=(V)=>{Pz(V,()=>z.signal,()=>Q=!0)},x=N1(z.options,z.fetchOptions),L=async(V,O,I)=>{if(Q)return Promise.reject(z.signal.reason);if(O==null&&V.pages.length)return Promise.resolve(V);let B=(()=>{let g={client:z.client,queryKey:z.queryKey,pageParam:O,direction:I?"backward":"forward",meta:z.options.meta};return F(g),g})(),_=await x(B),{maxPages:R}=z.options,q=I?Cz:hz;return{pages:q(V.pages,_,R),pageParams:q(V.pageParams,O,R)}};if(Z&&G.length){let V=Z==="backward",O=V?bJ:vz,I={pages:G,pageParams:J},H=O(X,I);A=await L(I,H,V)}else{let V=w??G.length;do{let O=U===0?J[0]??X.initialPageParam:vz(X,A);if(U>0&&O==null)break;A=await L(A,O),U++}while(U{return z.options.persister?.(W,{client:z.client,queryKey:z.queryKey,meta:z.options.meta,signal:z.signal},Y)};else z.fetchFn=W}}}function vz(w,{pages:z,pageParams:Y}){let X=z.length-1;return z.length>0?w.getNextPageParam(z[X],z,Y[X],Y):void 0}function bJ(w,{pages:z,pageParams:Y}){return z.length>0?w.getPreviousPageParam?.(z[0],z,Y[0],Y):void 0}var cz=class extends S1{#w;#z;#Y;#Z;#G;#X;#U;#J;constructor(w){super();this.#J=!1,this.#U=w.defaultOptions,this.setOptions(w.options),this.observers=[],this.#G=w.client,this.#Z=this.#G.getQueryCache(),this.queryKey=w.queryKey,this.queryHash=w.queryHash,this.#z=mz(this.options),this.state=w.state??this.#z,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#w}get promise(){return this.#X?.promise}setOptions(w){if(this.options={...this.#U,...w},w?._type)this.#w=w._type;if(this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let z=mz(this.options);if(z.data!==void 0)this.setState(yz(z.data,z.dataUpdatedAt)),this.#z=z}}optionalRemove(){if(!this.observers.length&&this.state.fetchStatus==="idle")this.#Z.remove(this)}setData(w,z){let Y=gz(this.state.data,w,this.options);return this.#A({data:Y,type:"success",dataUpdatedAt:z?.updatedAt,manual:z?.manual}),Y}setState(w){this.#A({type:"setState",state:w})}cancel(w){let z=this.#X?.promise;return this.#X?.cancel(w),z?z.then(L0).catch(L0):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#z}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some((w)=>$z(w.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===R4||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((w)=>b4(w.options.staleTime,this)==="static");return!1}isStale(){if(this.getObserversCount()>0)return this.observers.some((w)=>w.getCurrentResult().isStale);return this.state.data===void 0||this.state.isInvalidated}isStaleByTime(w=0){if(this.state.data===void 0)return!0;if(w==="static")return!1;if(this.state.isInvalidated)return!0;return!Kz(this.state.dataUpdatedAt,w)}onFocus(){this.observers.find((z)=>z.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#X?.continue()}onOnline(){this.observers.find((z)=>z.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#X?.continue()}addObserver(w){if(!this.observers.includes(w))this.observers.push(w),this.clearGcTimeout(),this.#Z.notify({type:"observerAdded",query:this,observer:w})}removeObserver(w){if(this.observers.includes(w)){if(this.observers=this.observers.filter((z)=>z!==w),!this.observers.length){if(this.#X)if(this.#J||this.#B())this.#X.cancel({revert:!0});else this.#X.cancelRetry();this.scheduleGc()}this.#Z.notify({type:"observerRemoved",query:this,observer:w})}}getObserversCount(){return this.observers.length}#B(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){if(!this.state.isInvalidated)this.#A({type:"invalidate"})}async fetch(w,z){if(this.state.fetchStatus!=="idle"&&this.#X?.status()!=="rejected"){if(this.state.data!==void 0&&z?.cancelRefetch)this.cancel({silent:!0});else if(this.#X)return this.#X.continueRetry(),this.#X.promise}if(w)this.setOptions(w);if(!this.options.queryFn){let U=this.observers.find((W)=>W.options.queryFn);if(U)this.setOptions(U.options)}let Y=new AbortController,X=(U)=>{Object.defineProperty(U,"signal",{enumerable:!0,get:()=>{return this.#J=!0,Y.signal}})},Z=()=>{let U=N1(this.options,z),Q=(()=>{let F={client:this.#G,queryKey:this.queryKey,meta:this.meta};return X(F),F})();if(this.#J=!1,this.options.persister)return this.options.persister(U,Q,this);return U(Q)},J=(()=>{let U={fetchOptions:z,options:this.options,queryKey:this.queryKey,client:this.#G,state:this.state,fetchFn:Z};return X(U),U})();if((this.#w==="infinite"?dz(this.options.pages):this.options.behavior)?.onFetch(J,this),this.#Y=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==J.fetchOptions?.meta)this.#A({type:"fetch",meta:J.fetchOptions?.meta});this.#X=j1({initialPromise:z?.initialPromise,fn:J.fetchFn,onCancel:(U)=>{if(U instanceof $1&&U.revert)this.setState({...this.#Y,fetchStatus:"idle"});Y.abort()},onFail:(U,W)=>{this.#A({type:"failed",failureCount:U,error:W})},onPause:()=>{this.#A({type:"pause"})},onContinue:()=>{this.#A({type:"continue"})},retry:J.options.retry,retryDelay:J.options.retryDelay,networkMode:J.options.networkMode,canRun:()=>!0});try{let U=await this.#X.start();if(U===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(U),this.#Z.config.onSuccess?.(U,this),this.#Z.config.onSettled?.(U,this.state.error,this),U}catch(U){if(U instanceof $1){if(U.silent)return this.#X.promise;else if(U.revert){if(this.state.data===void 0)throw U;return this.state.data}}throw this.#A({type:"error",error:U}),this.#Z.config.onError?.(U,this),this.#Z.config.onSettled?.(this.state.data,U,this),U}finally{this.scheduleGc()}}#A(w){let z=(Y)=>{switch(w.type){case"failed":return{...Y,fetchFailureCount:w.failureCount,fetchFailureReason:w.error};case"pause":return{...Y,fetchStatus:"paused"};case"continue":return{...Y,fetchStatus:"fetching"};case"fetch":return{...Y,...FJ(Y.data,this.options),fetchMeta:w.meta??null};case"success":let X={...Y,...yz(w.data,w.dataUpdatedAt),dataUpdateCount:Y.dataUpdateCount+1,...!w.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#Y=w.manual?X:void 0,X;case"error":let Z=w.error;return{...Y,error:Z,errorUpdateCount:Y.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:Y.fetchFailureCount+1,fetchFailureReason:Z,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...Y,isInvalidated:!0};case"setState":return{...Y,...w.state}}};this.state=z(this.state),t.batch(()=>{this.observers.forEach((Y)=>{Y.onQueryUpdate()}),this.#Z.notify({query:this,type:"updated",action:w})})}};function FJ(w,z){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:x2(z.networkMode)?"fetching":"paused",...w===void 0&&{error:null,status:"pending"}}}function yz(w,z){return{data:w,dataUpdatedAt:z??Date.now(),error:null,isInvalidated:!1,status:"success"}}function mz(w){let z=typeof w.initialData==="function"?w.initialData():w.initialData,Y=z!==void 0,X=Y?typeof w.initialDataUpdatedAt==="function"?w.initialDataUpdatedAt():w.initialDataUpdatedAt:0;return{data:z,dataUpdateCount:0,dataUpdatedAt:Y?X??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:Y?"success":"pending",fetchStatus:"idle"}}var uz=class extends S1{#w;#z;#Y;#Z;constructor(w){super();this.#w=w.client,this.mutationId=w.mutationId,this.#Y=w.mutationCache,this.#z=[],this.state=w.state||RJ(),this.setOptions(w.options),this.scheduleGc()}setOptions(w){this.options=w,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(w){if(!this.#z.includes(w))this.#z.push(w),this.clearGcTimeout(),this.#Y.notify({type:"observerAdded",mutation:this,observer:w})}removeObserver(w){this.#z=this.#z.filter((z)=>z!==w),this.scheduleGc(),this.#Y.notify({type:"observerRemoved",mutation:this,observer:w})}optionalRemove(){if(!this.#z.length)if(this.state.status==="pending")this.scheduleGc();else this.#Y.remove(this)}continue(){return this.#Z?.continue()??this.execute(this.state.variables)}async execute(w){let z=()=>{this.#G({type:"continue"})},Y={client:this.#w,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#Z=j1({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(w,Y)},onFail:(G,J)=>{this.#G({type:"failed",failureCount:G,error:J})},onPause:()=>{this.#G({type:"pause"})},onContinue:z,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#Y.canRun(this)});let X=this.state.status==="pending",Z=!this.#Z.canStart();try{if(X)z();else{if(this.#G({type:"pending",variables:w,isPaused:Z}),this.#Y.config.onMutate)await this.#Y.config.onMutate(w,this,Y);let J=await this.options.onMutate?.(w,Y);if(J!==this.state.context)this.#G({type:"pending",context:J,variables:w,isPaused:Z})}let G=await this.#Z.start();return await this.#Y.config.onSuccess?.(G,w,this.state.context,this,Y),await this.options.onSuccess?.(G,w,this.state.context,Y),await this.#Y.config.onSettled?.(G,null,this.state.variables,this.state.context,this,Y),await this.options.onSettled?.(G,null,w,this.state.context,Y),this.#G({type:"success",data:G}),G}catch(G){try{await this.#Y.config.onError?.(G,w,this.state.context,this,Y)}catch(J){Promise.reject(J)}try{await this.options.onError?.(G,w,this.state.context,Y)}catch(J){Promise.reject(J)}try{await this.#Y.config.onSettled?.(void 0,G,this.state.variables,this.state.context,this,Y)}catch(J){Promise.reject(J)}try{await this.options.onSettled?.(void 0,G,w,this.state.context,Y)}catch(J){Promise.reject(J)}throw this.#G({type:"error",error:G}),G}finally{this.#Y.runNext(this)}}#G(w){let z=(Y)=>{switch(w.type){case"failed":return{...Y,failureCount:w.failureCount,failureReason:w.error};case"pause":return{...Y,isPaused:!0};case"continue":return{...Y,isPaused:!1};case"pending":return{...Y,context:w.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:w.isPaused,status:"pending",variables:w.variables,submittedAt:Date.now()};case"success":return{...Y,data:w.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...Y,data:void 0,error:w.error,failureCount:Y.failureCount+1,failureReason:w.error,isPaused:!1,status:"error"}}};this.state=z(this.state),t.batch(()=>{this.#z.forEach((Y)=>{Y.onMutationUpdate(w)}),this.#Y.notify({mutation:this,type:"updated",action:w})})}};function RJ(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var lz=class extends Mw{constructor(w={}){super();this.config=w,this.#w=new Set,this.#z=new Map,this.#Y=0}#w;#z;#Y;build(w,z,Y){let X=new uz({client:w,mutationCache:this,mutationId:++this.#Y,options:w.defaultMutationOptions(z),state:Y});return this.add(X),X}add(w){this.#w.add(w);let z=g1(w);if(typeof z==="string"){let Y=this.#z.get(z);if(Y)Y.push(w);else this.#z.set(z,[w])}this.notify({type:"added",mutation:w})}remove(w){if(this.#w.delete(w)){let z=g1(w);if(typeof z==="string"){let Y=this.#z.get(z);if(Y){if(Y.length>1){let X=Y.indexOf(w);if(X!==-1)Y.splice(X,1)}else if(Y[0]===w)this.#z.delete(z)}}}this.notify({type:"removed",mutation:w})}canRun(w){let z=g1(w);if(typeof z==="string"){let X=this.#z.get(z)?.find((Z)=>Z.state.status==="pending");return!X||X===w}else return!0}runNext(w){let z=g1(w);if(typeof z==="string")return this.#z.get(z)?.find((X)=>X!==w&&X.state.isPaused)?.continue()??Promise.resolve();else return Promise.resolve()}clear(){t.batch(()=>{this.#w.forEach((w)=>{this.notify({type:"removed",mutation:w})}),this.#w.clear(),this.#z.clear()})}getAll(){return Array.from(this.#w)}find(w){let z={exact:!0,...w};return this.getAll().find((Y)=>W2(z,Y))}findAll(w={}){return this.getAll().filter((z)=>W2(w,z))}notify(w){t.batch(()=>{this.listeners.forEach((z)=>{z(w)})})}resumePausedMutations(){let w=this.getAll().filter((z)=>z.state.isPaused);return t.batch(()=>Promise.all(w.map((z)=>z.continue().catch(L0))))}};function g1(w){return w.options.scope?.id}var iz=class extends Mw{constructor(w={}){super();this.config=w,this.#w=new Map}#w;build(w,z,Y){let X=z.queryKey,Z=z.queryHash??F4(X,z),G=this.get(Z);if(!G)G=new cz({client:w,queryKey:X,queryHash:Z,options:w.defaultQueryOptions(z),state:Y,defaultOptions:w.getQueryDefaults(X)}),this.add(G);return G}add(w){if(!this.#w.has(w.queryHash))this.#w.set(w.queryHash,w),this.notify({type:"added",query:w})}remove(w){let z=this.#w.get(w.queryHash);if(z){if(w.destroy(),z===w)this.#w.delete(w.queryHash);this.notify({type:"removed",query:w})}}clear(){t.batch(()=>{this.getAll().forEach((w)=>{this.remove(w)})})}get(w){return this.#w.get(w)}getAll(){return[...this.#w.values()]}find(w){let z={exact:!0,...w};return this.getAll().find((Y)=>H2(z,Y))}findAll(w={}){let z=this.getAll();return Object.keys(w).length>0?z.filter((Y)=>H2(w,Y)):z}notify(w){t.batch(()=>{this.listeners.forEach((z)=>{z(w)})})}onFocus(){t.batch(()=>{this.getAll().forEach((w)=>{w.onFocus()})})}onOnline(){t.batch(()=>{this.getAll().forEach((w)=>{w.onOnline()})})}};var _2=class{#w;#z;#Y;#Z;#G;#X;#U;#J;constructor(w={}){this.#w=w.queryCache||new iz,this.#z=w.mutationCache||new lz,this.#Y=w.defaultOptions||{},this.#Z=new Map,this.#G=new Map,this.#X=0}mount(){if(this.#X++,this.#X!==1)return;this.#U=I1.subscribe(async(w)=>{if(w)await this.resumePausedMutations(),this.#w.onFocus()}),this.#J=O6.subscribe(async(w)=>{if(w)await this.resumePausedMutations(),this.#w.onOnline()})}unmount(){if(this.#X--,this.#X!==0)return;this.#U?.(),this.#U=void 0,this.#J?.(),this.#J=void 0}isFetching(w){return this.#w.findAll({...w,fetchStatus:"fetching"}).length}isMutating(w){return this.#z.findAll({...w,status:"pending"}).length}getQueryData(w){let z=this.defaultQueryOptions({queryKey:w});return this.#w.get(z.queryHash)?.state.data}ensureQueryData(w){let z=this.defaultQueryOptions(w),Y=this.#w.build(this,z),X=Y.state.data;if(X===void 0)return this.fetchQuery(w);if(w.revalidateIfStale&&Y.isStaleByTime(b4(z.staleTime,Y)))this.prefetchQuery(z);return Promise.resolve(X)}getQueriesData(w){return this.#w.findAll(w).map(({queryKey:z,state:Y})=>{let X=Y.data;return[z,X]})}setQueryData(w,z,Y){let X=this.defaultQueryOptions({queryKey:w}),G=this.#w.get(X.queryHash)?.state.data,J=Iz(z,G);if(J===void 0)return;return this.#w.build(this,X).setData(J,{...Y,manual:!0})}setQueriesData(w,z,Y){return t.batch(()=>this.#w.findAll(w).map(({queryKey:X})=>[X,this.setQueryData(X,z,Y)]))}getQueryState(w){let z=this.defaultQueryOptions({queryKey:w});return this.#w.get(z.queryHash)?.state}removeQueries(w){let z=this.#w;t.batch(()=>{z.findAll(w).forEach((Y)=>{z.remove(Y)})})}resetQueries(w,z){let Y=this.#w;return t.batch(()=>{return Y.findAll(w).forEach((X)=>{X.reset()}),this.refetchQueries({type:"active",...w},z)})}cancelQueries(w,z={}){let Y={revert:!0,...z},X=t.batch(()=>this.#w.findAll(w).map((Z)=>Z.cancel(Y)));return Promise.all(X).then(L0).catch(L0)}invalidateQueries(w,z={}){return t.batch(()=>{if(this.#w.findAll(w).forEach((Y)=>{Y.invalidate()}),w?.refetchType==="none")return Promise.resolve();return this.refetchQueries({...w,type:w?.refetchType??w?.type??"active"},z)})}refetchQueries(w,z={}){let Y={...z,cancelRefetch:z.cancelRefetch??!0},X=t.batch(()=>this.#w.findAll(w).filter((Z)=>!Z.isDisabled()&&!Z.isStatic()).map((Z)=>{let G=Z.fetch(void 0,Y);if(!Y.throwOnError)G=G.catch(L0);return Z.state.fetchStatus==="paused"?Promise.resolve():G}));return Promise.all(X).then(L0)}fetchQuery(w){let z=this.defaultQueryOptions(w);if(z.retry===void 0)z.retry=!1;let Y=this.#w.build(this,z);return Y.isStaleByTime(b4(z.staleTime,Y))?Y.fetch(z):Promise.resolve(Y.state.data)}prefetchQuery(w){return this.fetchQuery(w).then(L0).catch(L0)}fetchInfiniteQuery(w){return w._type="infinite",this.fetchQuery(w)}prefetchInfiniteQuery(w){return this.fetchInfiniteQuery(w).then(L0).catch(L0)}ensureInfiniteQueryData(w){return w._type="infinite",this.ensureQueryData(w)}resumePausedMutations(){if(O6.isOnline())return this.#z.resumePausedMutations();return Promise.resolve()}getQueryCache(){return this.#w}getMutationCache(){return this.#z}getDefaultOptions(){return this.#Y}setDefaultOptions(w){this.#Y=w}setQueryDefaults(w,z){this.#Z.set(V6(w),{queryKey:w,defaultOptions:z})}getQueryDefaults(w){let z=[...this.#Z.values()],Y={};return z.forEach((X)=>{if(M6(w,X.queryKey))Object.assign(Y,X.defaultOptions)}),Y}setMutationDefaults(w,z){this.#G.set(V6(w),{mutationKey:w,defaultOptions:z})}getMutationDefaults(w){let z=[...this.#G.values()],Y={};return z.forEach((X)=>{if(M6(w,X.mutationKey))Object.assign(Y,X.defaultOptions)}),Y}defaultQueryOptions(w){if(w._defaulted)return w;let z={...this.#Y.queries,...this.getQueryDefaults(w.queryKey),...w,_defaulted:!0};if(!z.queryHash)z.queryHash=F4(z.queryKey,z);if(z.refetchOnReconnect===void 0)z.refetchOnReconnect=z.networkMode!=="always";if(z.throwOnError===void 0)z.throwOnError=!!z.suspense;if(!z.networkMode&&z.persister)z.networkMode="offlineFirst";if(z.queryFn===R4)z.enabled=!1;return z}defaultMutationOptions(w){if(w?._defaulted)return w;return{...this.#Y.mutations,...w?.mutationKey&&this.getMutationDefaults(w.mutationKey),...w,_defaulted:!0}}clear(){this.#w.clear(),this.#z.clear()}};tw();var TJ=Symbol.for("react.transitional.element");function az(w,z,Y){var X=null;if(Y!==void 0&&(X=""+Y),z.key!==void 0&&(X=""+z.key),"key"in z){Y={};for(var Z in z)Z!=="key"&&(Y[Z]=z[Z])}else Y=z;return z=Y.ref,{$$typeof:TJ,type:w,key:X,ref:z!==void 0?z:null,props:Y}}var b=az,M=az;var nz=R2(void 0);var f2=({client:w,children:z})=>{return V2(()=>{return w.mount(),()=>{w.unmount()}},[w]),b(nz.Provider,{value:w,children:z})};tw();var IJ="calc(var(--twsa-safe-area-inset-top) + min(2rem, var(--twsa-safe-area-inset-top)))",NJ="var(--twsa-safe-area-inset-top)",tz="linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.99) 10%, rgba(0, 0, 0, 0.96) 20%, rgba(0, 0, 0, 0.90) 30%, rgba(0, 0, 0, 0.80) 40%, rgba(0, 0, 0, 0.67) 50%, rgba(0, 0, 0, 0.52) 60%, rgba(0, 0, 0, 0.36) 70%, rgba(0, 0, 0, 0.20) 80%, rgba(0, 0, 0, 0.08) 90%, rgba(0, 0, 0, 0) 100%)";function q2({variant:w="gradient",backgroundColor:z,zIndex:Y=40,className:X,style:Z,...G}){let J=z??Z?.backgroundColor??"var(--bg)",A={...Z,position:"fixed",top:0,left:0,right:0,zIndex:Y,pointerEvents:"none",height:w==="gradient"?IJ:NJ,backgroundColor:J};if(w==="gradient")A.maskImage=tz,A.WebkitMaskImage=tz;else if(w==="blur")A.backdropFilter=Z?.backdropFilter??"blur(12px)",A.WebkitBackdropFilter=Z?.WebkitBackdropFilter??"blur(12px)";return D2("div",{...G,"aria-hidden":G["aria-hidden"]??!0,className:X,style:A})}class k2 extends Error{status;retryAfterMs;constructor(w,z,Y){super(w);this.status=z,this.retryAfterMs=Y,this.name="SpaceActionError"}}var KJ=new Set([400,401,403,404,422]),$J=3,jJ=1000,ez=30000;function SJ(w,z){if(z instanceof k2&&KJ.has(z.status))return!1;return w<$J}function gJ(w,z){let Y=Math.min(ez,jJ*2**w);return(z instanceof k2&&z.retryAfterMs!=null?Math.min(ez,Math.max(0,z.retryAfterMs)):0)+Math.random()*Y}var Ow=new _2({defaultOptions:{queries:{retry:SJ,retryDelay:gJ,staleTime:30000,refetchOnWindowFocus:!1}}}),hJ="hatch:space:query-invalidated";var JY=1000;var CJ=30000;function PJ(w){return typeof w==="object"&&w!=null&&w.type===hJ}function EJ(w){let z=w.payload?.queryKeys;if(!Array.isArray(z))return null;return z.filter((Y)=>Array.isArray(Y))}var AY=new Map;var M4=[];function T2(){return Date.now()}function I2(w){let z=w-CJ;while(!0){let Y=M4[0];if(Y==null||Y.tsMs>=z)break;M4.shift()}}function vJ(w,z){if(Object.is(w,z))return!0;try{return JSON.stringify(w)===JSON.stringify(z)}catch{return!1}}function wY(w,z){if(z.length>w.length)return!1;return z.every((Y,X)=>vJ(Y,w[X]))}function dJ(w,z){return wY(w,z)||wY(z,w)}function yJ(w){let[z]=w;if(z==null)return"all";if(Array.isArray(z))return z;if(typeof z==="object"&&z!=null&&"queryKey"in z&&Array.isArray(z.queryKey))return z.queryKey;return"all"}function mJ(w){let z=T2();I2(z),M4.push({target:w,tsMs:z})}function zY(w,z){let Y=T2();return I2(Y),M4.some((X)=>X.tsMs>=z&&(X.target==="all"||dJ(w,X.target)))}function YY(w){let z=T2();return I2(z),M4.some((Y)=>Y.tsMs>=w)}function cJ(w){let z=w.payload?.originActionCallId;return typeof z==="string"&&z.length>0?z:null}function uJ(w,z,Y){let X=Y==null?void 0:AY.get(Y);if(X==null){XY(w,z);return}if(zY(z,X))return;window.setTimeout(()=>{if(zY(z,X))return;XY(w,z)},JY)}function lJ(w,z){let Y=z==null?void 0:AY.get(z);if(Y==null){ZY(w);return}if(YY(Y))return;window.setTimeout(()=>{if(YY(Y))return;ZY(w)},JY)}var N2=Ow.invalidateQueries.bind(Ow);Ow.invalidateQueries=(...w)=>{let z=yJ(w);if(z!=null)mJ(z);return N2(...w)};function XY(w,z){if(w===Ow)return N2({queryKey:z});return w.invalidateQueries({queryKey:z})}function ZY(w){if(w===Ow)return N2();return w.invalidateQueries()}var GY=!1;function iJ(w=Ow){if(GY||typeof window>"u")return;GY=!0,window.addEventListener("message",(z)=>{if(window.parent!==window){if(z.source!==window.parent)return}else if(z.origin!==window.location.origin)return;if(!PJ(z.data))return;let Y=cJ(z.data),X=EJ(z.data);if(X==null)return;if(X.length===0){lJ(w,Y);return}for(let Z of X)uJ(w,Z,Y)})}iJ();tw();var aG=Vz(sG(),1);tw();var fB=typeof import.meta<"u"&&import.meta.env?.VITE_BILLING_URL||"https://billing.pivatt.com",nw={baseUrl:fB,endpoints:{health:"/health",prices:"/prices",createCheckout:"/create-checkout-session",createPortal:"/create-portal-session",webhook:"/webhook"}};function Dz({className:w=""}){return M("div",{className:`flex items-center gap-[7px] ${w}`,children:[b("div",{className:"w-[28px] h-[28px] rounded-[9px] bg-[var(--text)] grid place-items-center",children:b("div",{className:"w-[8px] h-[8px] rounded-full bg-[var(--bg)]"})}),b("span",{className:"display text-[20px] font-[600] tracking-[-0.02em] leading-none",children:"pivatt"})]})}function qB({onCta:w}){return b("header",{className:"sticky top-0 z-30 border-b border-[var(--border)]/80 bg-[var(--bg)]/90 backdrop-blur-[12px]",children:b("div",{className:"mx-auto max-w-[1120px] px-5 md:px-6",children:M("div",{className:"flex items-center justify-between py-[18px] md:py-[22px]",children:[b(Dz,{}),M("nav",{className:"hidden md:flex items-center gap-7 mono text-[11px] uppercase tracking-[0.08em] text-[var(--text-2)]",children:[b("a",{href:"#how",className:"hover:text-[var(--text)] transition",children:"How it works"}),b("a",{href:"#pricing",className:"hover:text-[var(--text)] transition",children:"Pricing"}),b("a",{href:"#faq",className:"hover:text-[var(--text)] transition",children:"FAQ"})]}),b("div",{className:"flex items-center gap-2.5",children:b("button",{onClick:w,className:"h-[36px] md:h-[40px] px-[16px] md:px-[18px] rounded-full bg-[var(--text)] text-[var(--bg)] mono text-[12px] font-[600] tracking-[0.01em] hover:opacity-[0.92] active:scale-[0.98] transition",children:"Get started"})})]})})})}function kB({onCta:w}){return b("section",{className:"mx-auto max-w-[1120px] px-5 md:px-6",children:M("div",{className:"pt-[52px] md:pt-[84px] pb-[36px] md:pb-[56px]",children:[b("div",{className:"flex justify-center",children:M("span",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-[var(--surface)] border border-[var(--border)] mono text-[10.5px] uppercase tracking-[0.10em] text-[var(--text-2)]",children:[b("span",{className:"w-1 h-1 rounded-full bg-[#6BAE75] animate-pulse"})," Text reminders that run themselves"]})}),M("div",{className:"mx-auto max-w-[720px] text-center mt-7 md:mt-8",children:[M("h1",{className:"display text-[36px] sm:text-[44px] md:text-[62px] font-[650] leading-[0.98] tracking-[-0.03em] text-[var(--text)]",children:["Fewer no-shows.",b("br",{}),b("span",{className:"font-[400] italic tracking-[-0.02em]",children:"No extra work."})]}),b("p",{className:"mt-[18px] md:mt-[20px] mx-auto max-w-[500px] text-[16px] md:text-[17px] leading-[1.55] text-[var(--text-2)]",children:"Pivatt sends appointment reminders by text, so clients show up and you don’t have to chase them. No apps to install. No extra steps."}),M("div",{className:"mt-8 flex flex-col sm:flex-row items-center justify-center gap-3",children:[M("button",{onClick:()=>w("text-only"),className:"w-full sm:w-auto h-[48px] px-[28px] rounded-full bg-[var(--text)] text-[var(--bg)] text-[15px] font-[600] tracking-[-0.01em] hover:opacity-[0.92] active:scale-[0.98] transition flex items-center justify-center gap-2",children:["Start with text reminders",b("span",{className:"text-[13px] opacity-80",children:"→"})]}),b("a",{href:"#how",className:"w-full sm:w-auto h-[48px] px-[24px] rounded-full bg-[var(--surface)] border border-[var(--border)] text-[var(--text)] text-[14px] font-[500] hover:border-[var(--border-strong)] transition flex items-center justify-center",children:"See how it works"})]}),M("div",{className:"mt-[22px] flex flex-wrap items-center justify-center gap-2 mono text-[11px] text-[var(--dim)]",children:[M("span",{className:"inline-flex items-center gap-1.5",children:[b("span",{className:"w-3 h-3 rounded-full bg-[var(--surface)] border border-[var(--border)] grid place-items-center",children:b("span",{className:"w-1 h-1 rounded-full bg-[var(--text)]"})}),"Starts at $79/mo text-only"]}),b("span",{className:"opacity-40",children:"·"}),b("span",{children:"$104/mo with calendar"}),b("span",{className:"hidden sm:inline opacity-40",children:"·"}),b("span",{className:"hidden sm:inline",children:"Cancel anytime"})]})]}),M("div",{className:"mx-auto mt-[44px] md:mt-[56px] max-w-[720px]",children:[M("div",{className:"rounded-[20px] md:rounded-[24px] bg-[var(--surface)] border border-[var(--border)] shadow-[0_20px_60px_rgba(18,18,16,0.06),0_1px_0_rgba(255,255,255,0.8)_inset] overflow-hidden",children:[M("div",{className:"flex items-center justify-between px-5 py-3 border-b border-[var(--border)]/70 bg-[var(--surface-2)]/50",children:[M("div",{className:"flex items-center gap-2",children:[b("div",{className:"w-2.5 h-2.5 rounded-full bg-[#DCCFC2]"}),b("div",{className:"w-2.5 h-2.5 rounded-full bg-[#D9D5CC]"}),b("div",{className:"w-2.5 h-2.5 rounded-full bg-[#C5D0C2]"})]}),b("span",{className:"mono text-[10px] uppercase tracking-[0.08em] text-[var(--dim)]",children:"Preview — what your client sees"})]}),b("div",{className:"p-4 md:p-6 bg-[#FBF8F4] dark:bg-[var(--surface-2)]",children:M("div",{className:"space-y-3 max-w-[460px] mx-auto",children:[M("div",{className:"flex gap-2.5 justify-start",children:[b("div",{className:"w-7 h-7 rounded-full bg-[var(--text)] grid place-items-center text-[11px] text-white font-bold shrink-0",children:"P"}),M("div",{className:"rounded-[16px] rounded-tl-[4px] bg-white border border-[var(--border)] px-4 py-3 text-[13.5px] leading-[1.45] text-[#2A2826] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:["Hi Maria, quick reminder: your appointment is tomorrow Tue 3:30pm at Alma Tax. Reply YES to confirm.",b("div",{className:"mt-1.5 mono text-[10px] text-[var(--dim-2)]",children:"Pivatt · Alma Tax Services"})]})]}),b("div",{className:"flex gap-2.5 justify-end",children:b("div",{className:"rounded-[16px] rounded-tr-[4px] bg-[var(--text)] text-white px-4 py-2.5 text-[13.5px]",children:"YES"})}),M("div",{className:"flex gap-2.5 justify-start",children:[b("div",{className:"w-7 h-7 rounded-full bg-[var(--text)] grid place-items-center text-[11px] text-white font-bold shrink-0",children:"P"}),b("div",{className:"rounded-[16px] rounded-tl-[4px] bg-white border border-[var(--border)] px-4 py-2.5 text-[13.5px] text-[#2A2826] shadow-[0_2px_8px_rgba(0,0,0,0.04)]",children:"Perfect — you’re all set. See you tomorrow!"})]})]})})]}),b("p",{className:"mt-3 text-center mono text-[11px] text-[var(--dim-2)]",children:"Plain text. No links to tap. Clients reply YES, NO, or STOP — just like a normal text."})]})]})})}function TB(){return b("section",{id:"how",className:"border-t border-[var(--border)]/70 bg-[var(--surface)]/60",children:M("div",{className:"mx-auto max-w-[1120px] px-5 md:px-6 py-[48px] md:py-[72px]",children:[M("div",{className:"flex flex-col md:flex-row md:items-end justify-between gap-6 mb-10",children:[M("div",{children:[b("p",{className:"mono text-[11px] uppercase tracking-[0.12em] text-[var(--dim)] mb-3",children:"How it works"}),M("h2",{className:"display text-[28px] md:text-[36px] font-[620] leading-[0.98] tracking-[-0.02em] max-w-[420px]",children:["Set it once. It runs",b("br",{})," in the background."]})]}),b("p",{className:"text-[14px] leading-[1.5] text-[var(--text-2)] max-w-[320px]",children:"Built for busy practices. If you can send a text, you can use Pivatt. No extra apps or new habits."})]}),b("div",{className:"grid md:grid-cols-3 gap-[14px]",children:[{n:"01",title:"Add your appointments",desc:"Type them in, paste from your calendar, or connect once and Pivatt pulls them in. You stay in charge.",meta:"1 minute to start"},{n:"02",title:"Pivatt texts reminders",desc:"Automatic, friendly reminders. The day before and morning-of. No chasing, no copy-paste.",meta:"Runs by itself"},{n:"03",title:"Clients confirm with YES",desc:"You see who’s coming, who needs to reschedule, in one calm list. Fewer no-shows, less phone tag.",meta:"You stay in control"}].map((z)=>M("div",{className:"rounded-[16px] bg-[var(--surface)] border border-[var(--border)] p-[22px] md:p-[24px] hover:border-[var(--border-strong)] transition",children:[M("div",{className:"flex items-center justify-between mb-4",children:[b("span",{className:"mono text-[11px] tracking-[0.08em] text-[var(--dim)]",children:z.n}),b("span",{className:"mono text-[10px] px-2 py-1 rounded-full bg-[var(--bg)] border border-[var(--border)] text-[var(--dim)]",children:z.meta})]}),b("h3",{className:"text-[16px] font-[650] tracking-[-0.01em] leading-[1.25]",children:z.title}),b("p",{className:"mt-2 text-[13.5px] leading-[1.5] text-[var(--text-2)]",children:z.desc})]},z.n))})]})})}function IB({onSelect:w}){return b("section",{id:"pricing",className:"mx-auto max-w-[1120px] px-5 md:px-6 py-[48px] md:py-[72px]",children:M("div",{className:"mx-auto max-w-[760px]",children:[M("div",{className:"text-center mb-10",children:[b("p",{className:"mono text-[11px] uppercase tracking-[0.12em] text-[var(--dim)] mb-3",children:"Pricing"}),b("h2",{className:"display text-[28px] md:text-[38px] font-[620] tracking-[-0.03em] leading-[0.98]",children:"Simple, flat monthly pricing."}),b("p",{className:"mt-3 text-[14.5px] text-[var(--text-2)] leading-[1.5] mx-auto max-w-[440px]",children:"No hidden fees. No per-text charges. One price, unlimited reminders for your practice."})]}),M("div",{className:"grid md:grid-cols-2 gap-[14px]",children:[M("div",{className:"rounded-[20px] bg-[var(--surface)] border border-[var(--border)] p-[26px] md:p-[28px] flex flex-col",children:[M("div",{className:"flex items-center justify-between mb-1",children:[b("h3",{className:"text-[16px] font-[650]",children:"Text-only"}),b("span",{className:"mono text-[10px] px-2 py-1 rounded-full bg-[var(--bg)] border border-[var(--border)]",children:"Most pop."})]}),M("div",{className:"mt-2 flex items-baseline gap-1.5",children:[b("span",{className:"display text-[36px] font-[700] tracking-[-0.02em]",children:"$79"}),b("span",{className:"text-[14px] text-[var(--dim)]",children:"/ month"})]}),b("p",{className:"mt-3 text-[13.5px] leading-[1.5] text-[var(--text-2)]",children:"For practices that already track appointments and just want reminders handled."}),b("ul",{className:"mt-5 space-y-2.5 text-[13.5px] leading-[1.4]",children:["Unlimited text reminders","Automatic YES / NO / STOP handling","Daily list of who’s confirmed","Your own business text number","Help when you need it — real人"].map((z)=>M("li",{className:"flex gap-2.5",children:[b("span",{className:"mt-[2px] w-[16px] h-[16px] rounded-full bg-[#EAF0E6] grid place-items-center text-[10px] text-[#5A7A5E]",children:"✓"}),b("span",{className:"text-[var(--text-2)]",children:z})]},z))}),b("button",{onClick:()=>w("text-only"),className:"mt-7 w-full h-[46px] rounded-full bg-[var(--text)] text-[var(--bg)] text-[14px] font-[600] hover:opacity-[0.92] active:scale-[0.99] transition",children:"Choose text-only — $79/mo"}),b("p",{className:"mt-2.5 text-center mono text-[11px] text-[var(--dim-2)]",children:"Ready to point at POST /create-checkout-session"})]}),M("div",{className:"rounded-[20px] bg-[#1E1B16] text-[#F6F4F0] p-[26px] md:p-[28px] flex flex-col relative overflow-hidden",children:[b("div",{className:"absolute -top-16 -right-16 w-[200px] h-[200px] rounded-full bg-white/[0.06] blur-[20px]"}),M("div",{className:"relative",children:[M("div",{className:"flex items-center justify-between mb-1",children:[b("h3",{className:"text-[16px] font-[650] text-white",children:"With calendar"}),b("span",{className:"mono text-[10px] px-2 py-1 rounded-full bg-white/10 border border-white/10 text-white/70",children:"Best for busy"})]}),M("div",{className:"mt-2 flex items-baseline gap-1.5",children:[b("span",{className:"display text-[36px] font-[700] tracking-[-0.02em] text-white",children:"$104"}),b("span",{className:"text-[14px] text-white/60",children:"/ month"})]}),b("p",{className:"mt-3 text-[13.5px] leading-[1.5] text-white/70",children:"Everything in text-only, plus calendar sync so reminders stay in step automatically."}),b("ul",{className:"mt-5 space-y-2.5 text-[13.5px] leading-[1.4]",children:["All text-only features","Calendar sync (Google / Apple / Outlook)","Reschedule links that actually work","No double-booking reminders","Priority help"].map((z)=>M("li",{className:"flex gap-2.5",children:[b("span",{className:"mt-[2px] w-[16px] h-[16px] rounded-full bg-white/15 grid place-items-center text-[10px] text-white",children:"✓"}),b("span",{className:"text-white/80",children:z})]},z))}),b("button",{onClick:()=>w("calendar"),className:"mt-7 w-full h-[46px] rounded-full bg-white text-[#1E1B16] text-[14px] font-[650] hover:bg-[#F6F4F0] active:scale-[0.99] transition",children:"Choose calendar — $104/mo"}),b("p",{className:"mt-2.5 text-center mono text-[11px] text-white/40",children:"Includes /create-portal-session for self-serve"})]})]})]}),M("div",{className:"mt-6 rounded-[14px] bg-[var(--surface)] border border-dashed border-[var(--border)] px-4 py-3 flex items-center justify-between gap-3",children:[M("p",{className:"mono text-[11px] leading-[1.4] text-[var(--dim)]",children:["Billing hooks ready: ",M("code",{className:"px-1.5 py-0.5 rounded bg-[var(--bg)] border border-[var(--border)]",children:[nw.baseUrl,nw.endpoints.health]})," ·"," ",b("code",{className:"px-1.5 py-0.5 rounded bg-[var(--bg)] border border-[var(--border)]",children:nw.endpoints.prices})]}),b("span",{className:"hidden md:inline-flex mono text-[10px] px-2 py-1 rounded-full bg-emerald-50 text-emerald-700 border border-emerald-200",children:"/health OK (placeholder)"})]})]})})}function NB(){return b("section",{className:"border-y border-[var(--border)]/70 bg-[var(--bg)]",children:M("div",{className:"mx-auto max-w-[1120px] px-5 md:px-6 py-[28px] md:py-[32px] flex flex-col md:flex-row items-start md:items-center justify-between gap-6",children:[M("div",{className:"flex items-center gap-3",children:[b("div",{className:"w-[36px] h-[36px] rounded-full bg-[var(--surface)] border border-[var(--border)] grid place-items-center mono text-[12px]",children:"A"}),M("div",{children:[b("p",{className:"text-[13.5px] font-[600] leading-[1.2]",children:"“We went from 5 no-shows a week to maybe one.”"}),b("p",{className:"mono text-[11px] text-[var(--dim)] mt-0.5",children:"Alma · Alma Tax Services · Las Vegas"})]})]}),M("div",{className:"flex flex-wrap gap-2 mono text-[11px] text-[var(--dim)]",children:[b("span",{className:"px-2.5 py-1 rounded-full bg-[var(--surface)] border border-[var(--border)]",children:"No extra apps"}),b("span",{className:"px-2.5 py-1 rounded-full bg-[var(--surface)] border border-[var(--border)]",children:"Clients reply YES/NO/STOP"}),b("span",{className:"px-2.5 py-1 rounded-full bg-[var(--surface)] border border-[var(--border)]",children:"You keep your number"})]})]})})}function KB(){return b("section",{id:"faq",className:"mx-auto max-w-[1120px] px-5 md:px-6 py-[48px] md:py-[64px]",children:M("div",{className:"max-w-[760px] mx-auto",children:[M("div",{className:"flex items-baseline justify-between mb-8",children:[b("h2",{className:"display text-[24px] md:text-[30px] font-[620] tracking-[-0.02em]",children:"Questions, in plain English."}),b("span",{className:"hidden md:inline mono text-[11px] text-[var(--dim)]",children:"No jargon. We promise."})]}),b("div",{className:"divide-y divide-[var(--border)] border border-[var(--border)] rounded-[16px] overflow-hidden bg-[var(--surface)]",children:[{q:"Do my clients need to download anything?",a:"No. It’s a normal text message. They reply YES, NO, or STOP — just like texting a person. Nothing to install."},{q:"Will it text people at odd hours?",a:"No. Reminders go out at respectful hours you choose. Day-before and morning-of. You stay in control of the timing."},{q:"What if a client says STOP?",a:"Pivatt stops texting them automatically and shows you who opted out, so you can follow up another way if needed."},{q:"I already use a calendar. Will it work with it?",a:"Yes. The $104 plan syncs with Google, Apple, or Outlook. The $79 plan works great if you just want to type or paste appointments."},{q:"What happens if I want to cancel?",a:"Cancel anytime from your billing page. No contracts. You’re billed month-to-month. (That page is wired to /create-portal-session in your billing worker.)"}].map((z)=>M("details",{className:"group open:bg-[var(--bg)]/50",children:[M("summary",{className:"list-none px-[20px] py-[16px] flex items-center justify-between cursor-pointer text-[14.5px] font-[550] leading-[1.3] hover:bg-[var(--bg)]/30 transition",children:[z.q,b("span",{className:"ml-4 w-6 h-6 rounded-full border border-[var(--border)] grid place-items-center text-[12px] text-[var(--dim)] group-open:rotate-45 transition",children:"+"})]}),b("div",{className:"px-[20px] pb-[16px] text-[13.5px] leading-[1.6] text-[var(--text-2)] max-w-[60ch]",children:z.a})]},z.q))})]})})}function $B(){return b("footer",{className:"border-t border-[var(--border)] bg-[var(--surface)]/70",children:M("div",{className:"mx-auto max-w-[1120px] px-5 md:px-6 py-[32px] md:py-[40px]",children:[M("div",{className:"flex flex-col md:flex-row justify-between gap-8",children:[M("div",{children:[b(Dz,{}),b("p",{className:"mt-3 text-[13px] leading-[1.5] text-[var(--dim)] max-w-[320px]",children:"Appointment reminders over text for small practices. Quiet, reliable, no extra work. Built with the same structure as mojaveassets.com."}),M("p",{className:"mt-4 mono text-[11px] text-[var(--dim-2)]",children:["Billing worker: ",nw.baseUrl," ",b("br",{}),"health / prices / create-checkout-session / create-portal-session / webhook"]})]}),M("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-8 mono text-[12px]",children:[M("div",{children:[b("p",{className:"uppercase tracking-[0.08em] text-[var(--dim)] mb-3",children:"Product"}),M("div",{className:"space-y-2 text-[var(--text-2)]",children:[b("a",{href:"#how",className:"block hover:text-[var(--text)]",children:"How it works"}),b("a",{href:"#pricing",className:"block hover:text-[var(--text)]",children:"Pricing"}),b("a",{href:"#faq",className:"block hover:text-[var(--text)]",children:"FAQ"})]})]}),M("div",{children:[b("p",{className:"uppercase tracking-[0.08em] text-[var(--dim)] mb-3",children:"Company"}),M("div",{className:"space-y-2 text-[var(--text-2)]",children:[b("a",{href:"#",className:"block hover:text-[var(--text)]",children:"About"}),b("a",{href:"#",className:"block hover:text-[var(--text)]",children:"Contact"}),b("span",{className:"block text-[var(--dim-2)]",children:"Privacy (soon)"})]})]}),M("div",{className:"hidden md:block",children:[b("p",{className:"uppercase tracking-[0.08em] text-[var(--dim)] mb-3",children:"Endpoints"}),M("div",{className:"space-y-1.5 text-[var(--dim)]",children:[b("code",{className:"block",children:"GET /health"}),b("code",{className:"block",children:"GET /prices"}),b("code",{className:"block",children:"POST /checkout"}),b("code",{className:"block",children:"POST /portal"})]})]})]})]}),M("div",{className:"mt-10 pt-6 border-t border-[var(--border)]/70 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3 mono text-[11px] text-[var(--dim-2)]",children:[M("span",{children:["© ",new Date().getFullYear()," Pivatt · pivatt.com · neutral .ai — like nuro / luma"]}),M("span",{className:"inline-flex items-center gap-2",children:[b("span",{className:"w-1.5 h-1.5 rounded-full bg-[#8A9A8E]"})," Modular, reusable — same bones as mojaveassets.com"]})]})]})})}function jB({plan:w,onClose:z}){if(!w)return null;let Y=w==="calendar",X=Y?"$104":"$79",Z=`${nw.baseUrl}${nw.endpoints.createCheckout}`;return M("div",{className:"fixed inset-0 z-50 flex items-end sm:items-center justify-center p-3 sm:p-6",children:[b("button",{"aria-label":"Close",onClick:z,className:"absolute inset-0 bg-[#121210]/35 backdrop-blur-[2px]"}),M("div",{className:"relative w-full max-w-[440px] rounded-[20px] bg-[var(--surface)] border border-[var(--border)] shadow-[0_24px_80px_rgba(0,0,0,0.20)] p-[22px] md:p-[26px]",children:[M("div",{className:"flex items-center justify-between mb-4",children:[M("div",{className:"flex items-center gap-2",children:[b(Dz,{}),b("span",{className:"mono text-[10px] px-2 py-0.5 rounded-full bg-[var(--bg)] border border-[var(--border)] text-[var(--dim)]",children:"checkout preview"})]}),b("button",{onClick:z,className:"w-8 h-8 rounded-full bg-[var(--bg)] border border-[var(--border)] grid place-items-center hover:border-[var(--border-strong)]",children:"✕"})]}),M("h3",{className:"display text-[20px] font-[620] tracking-[-0.02em]",children:["You picked ",Y?"with calendar":"text-only"," — ",X,"/mo"]}),M("p",{className:"mt-2 text-[13.5px] leading-[1.5] text-[var(--text-2)]",children:["This button will call ",M("code",{className:"px-1.5 py-0.5 rounded bg-[var(--bg)] border border-[var(--border)] text-[11px]",children:["POST ",Z]})," from your billing worker (Cloudflare Worker at ",b("code",{className:"text-[11px]",children:"monorepo/workers/billing"}),"). That worker already handles /health, /prices, /create-checkout-session, /create-portal-session, /webhook."]}),M("div",{className:"mt-4 rounded-[12px] bg-[var(--bg)] border border-[var(--border)] p-3 mono text-[11px] leading-[1.5] text-[var(--text-2)]",children:[M("div",{children:["base: ",nw.baseUrl]}),M("div",{children:["plan: ",w," (",X,"/mo)"]}),M("div",{children:["endpoint: ",nw.endpoints.createCheckout]}),b("div",{className:"mt-2 text-[var(--dim-2)]",children:"Replace VITE_BILLING_URL with your real worker URL to go live. No jargon changes needed."})]}),M("div",{className:"mt-5 flex gap-2.5",children:[M("button",{onClick:()=>{window.open(Z,"_blank"),z()},className:"flex-1 h-[44px] rounded-full bg-[var(--text)] text-[var(--bg)] text-[13.5px] font-[600]",children:["Open ",Y?"$104":"$79"," checkout (stub)"]}),b("button",{onClick:z,className:"h-[44px] px-5 rounded-full bg-[var(--surface-2)] border border-[var(--border)] text-[13.5px] font-[500]",children:"Not yet"})]}),b("p",{className:"mt-3 text-center mono text-[11px] text-[var(--dim-2)]",children:"Plain English: you click once, pick a card, you’re set. We handle receipts via /webhook."})]})]})}function oG(){let[w,z]=M2(null);return M("div",{className:"min-h-screen bg-[var(--bg)] text-[var(--text)] selection:bg-[var(--accent)] selection:text-white",children:[b(q2,{backgroundColor:"var(--bg)"}),b(qB,{onCta:()=>z("text-only")}),b(kB,{onCta:(Y)=>z(Y??"text-only")}),b(TB,{}),b(IB,{onSelect:(Y)=>z(Y)}),b(NB,{}),b(KB,{}),b($B,{}),b(jB,{plan:w,onClose:()=>z(null)}),b("style",{children:` @import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400&family=Sora:wght@400;500;600&family=Fragment+Mono&display=swap'); `})]})}var nG=document.querySelector("[data-generated-space-root]");if(!nG)throw Error("missing generated space root element");aG.createRoot(nG).render(b(F2,{children:b(f2,{client:Ow,children:b("div",{className:"hatch-space-root","data-hatch-space-root":!0,children:b(oG,{})})})}));